]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update gethostbyname2_r documentation. Fixes bug #156.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b86835ca
YC
12013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2
3 [BZ #156]
4 * manual/socket.texi: Added statement about buffer
5 for gethostbyname2_r.
6
e7044ea7
OB
72013-10-08 Ondřej Bílka <neleai@seznam.cz>
8
9 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10 Use .p2align directive instead, throughout.
11 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17 * sysdeps/x86_64/strchr.S: Likewise.
18 * sysdeps/x86_64/strrchr.S: Likewise.
19
09544cbc
SP
202013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21
88576635
SP
22 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23
e7b2d1dd
SP
24 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
25
09544cbc
SP
26 * sysdeps/generic/math_private.h (__mpsin1): Remove
27 declaration.
28 (__mpcos1): Likewise.
29 (__mpsin): New argument __range_reduce.
30 (__mpcos): Likewise.
31 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32 (slow): Use __mpsin and __mpcos.
33 (slow1): Likewise.
34 (slow2): Likewise.
35 (sloww): Likewise.
36 (sloww1): Likewise.
37 (sloww2): Likewise.
38 (bsloww): Likewise.
39 (bsloww1): Likewise.
40 (bsloww2): Likewise.
41 (cslow2): Likewise.
42 (csloww): Likewise.
43 (csloww1): Likewise.
44 (csloww2): Likewise.
45 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46 range_reduce. Merge in __mpsin1.
47 (__mpcos): Likewise.
48 (__mpsin1): Remove.
49 (__mpcos1): Likewise.
50
7602d070
JM
512013-10-07 Joseph Myers <joseph@codesourcery.com>
52
53 * locale/loadlocale.c (_nl_intern_locale_data): Use
54 LOCFILE_ALIGNED_P.
55 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
56 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
57 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
58 obstack data is appropriately aligned.
59 (obstack_int32_grow_fast): Likewise.
60 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
61 * locale/programs/locfile.c (add_locale_uint32): Likewise.
62 (add_locale_uint32_array): Likewise.
63
a357259b
SP
642013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
65
66 * benchtests/Makefile: Remove ARGLIST and RET variables.
67 ($(objpfx)bench-%.c): Pass only function name to the script.
68 * benchtests/README: Update documentation.
69 * benchtests/acos-inputs: Add new directives.
70 * benchtests/acosh-inputs: Likewise.
71 * benchtests/asin-inputs: Likewise.
72 * benchtests/asinh-inputs: Likewise.
73 * benchtests/atan-inputs: Likewise.
74 * benchtests/atanh-inputs: Likewise.
75 * benchtests/cos-inputs: Likewise.
76 * benchtests/cosh-inputs: Likewise.
77 * benchtests/exp-inputs: Likewise.
78 * benchtests/log-inputs: Likewise.
79 * benchtests/pow-inputs: Likewise.
80 * benchtests/rint-inputs: Likewise.
81 * benchtests/sin-inputs: Likewise.
82 * benchtests/sinh-inputs: Likewise.
83 * benchtests/tan-inputs: Likewise.
84 * benchtests/tanh-inputs: Likewise.
85 * scripts/bench.pl: Add support for new directives.
86
9ec1b13d
AM
872013-10-07 Alan Modra <amodra@gmail.com>
88
89 * README: Fix careless merge.
90
8b7d57cd
AM
912013-10-05 Alan Modra <amodra@gmail.com>
92
93 * NEWS: Mention powerpc64le support and bugs fixed.
94 * README: Both big-endian and little-endian powerpc64 supported.
95
7b7bab13
ST
962013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
97
98 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
99 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
100 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
101 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
102
d39baad1
RA
1032013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
104
105 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
106 match prototype.
107
cd78f7e7
JM
1082013-10-04 Joseph Myers <joseph@codesourcery.com>
109
29d73d86
JM
110 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
111 Move -mhard-float appending from
112 ports/sysdeps/powerpc/powerpc32/Makefile.
113 [$(with-fp) = yes] (ASFLAGS): Likewise.
114 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
115 * sysdeps/powerpc/nofpu: Move directory from
116 ports/sysdeps/powerpc/nofpu.
117 * sysdeps/powerpc/soft-fp: Move directory from
118 ports/sysdeps/powerpc/soft-fp.
119 * sysdeps/powerpc/powerpc32/405: Move directory from
120 ports/sysdeps/powerpc/powerpc32/405.
121 * sysdeps/powerpc/powerpc32/440: Move directory from
122 ports/sysdeps/powerpc/powerpc32/440.
123 * sysdeps/powerpc/powerpc32/464: Move directory from
124 ports/sysdeps/powerpc/powerpc32/464.
125 * sysdeps/powerpc/powerpc32/476: Move directory from
126 ports/sysdeps/powerpc/powerpc32/476.
127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
128 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
130 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
132 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
134 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
136 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
137 * README: Update for powerpc-*-linux-gnu software floating point
138 support in libc.
139
e246b347
JM
140 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
141 case to powerpc/powerpc32*.
142 * sysdeps/unix/sysv/linux/configure: Regenerated.
143
89c2003e
JM
144 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
145 (_FPU_MASK_OM): Define as 0x04.
146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
148 0x00c10080.
149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
150 0x0000003c.
151 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
152
cd78f7e7
JM
153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
154 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
155 getcontext_e500.
156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
157 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
158 setcontext_e500.
159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
160 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
161 and setcontext_e500.
162
c755294d
CL
1632013-10-04 Chris Leonard <cjl@sugarlabs,.org>
164
165 * locale/iso-3166.def: Update iso-1366.def and related occurrences
166
e16d221c
SP
1672013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
168
169 * manual/threads.texi (Default Thread Attributes): Fix typo.
170
215c7d43
WN
1712013-10-04 Will Newton <will.newton@linaro.org>
172
173 * malloc/Makefile: Add tst-memalign.
174 * malloc/tst-memalign.c: New file.
175
27d0461b
WN
176 * malloc/tst-posix_memalign.c: Add comments.
177 (do_test): Add comments and call free on all potentially
178 allocated pointers. Add space after cast.
179
1bc92709
WN
180 * malloc/tst-pvalloc.c: Add comments.
181 (do_test): Add comments and call free on all potentially
182 allocated pointers. Remove duplicate check for NULL pointer.
183 Add space after cast.
184
66a9be9d
WN
185 * malloc/tst-valloc.c: Add comments.
186 (do_test): Add comments and call free on all potentially
187 allocated pointers. Remove duplicate check for NULL pointer.
188 Add space after cast.
189
4cb81307
AM
1902013-10-04 Alan Modra <amodra@gmail.com>
191
192 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
193 Use stdint types in rather than __attribute__((mode())).
194 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
195
f8e3e9f3
AM
1962013-10-04 Alan Modra <amodra@gmail.com>
197
198 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
199 Correct handling of unaligned relocs for little-endian.
200 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
201
8f9ebb08
AM
2022013-10-04 Alan Modra <amodra@gmail.com>
203
204 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
205 * configure: Regenerate.
206 * nptl/shlib-versions: Powerpc*le starts at 2.18.
207 * shlib-versions: Likewise.
208
0edf96c2
AM
2092013-10-04 Alan Modra <amodra@gmail.com>
210
211 * string/tester.c (test_memrchr): Increment reported test cycle.
212
e0f7a380
AM
2132013-10-04 Alan Modra <amodra@gmail.com>
214
215 * string/test-memcpy.c (do_one_test): When reporting errors, print
216 string address and don't overrun end of string.
217
466b0393
AM
2182013-10-04 Alan Modra <amodra@gmail.com>
219
220 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
221 insrdi. Make better use of reg selection to speed exit slightly.
222 Schedule entry path a little better. Remove useless "are we done"
223 checks on entry to main loop. Handle wrapping around zero address.
224 Correct main loop count. Handle single left-over word from main
225 loop inline rather than by using loop_small. Remove extra word
226 case in loop_small caused by wrong loop count. Add little-endian
227 support.
228 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
229 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
230 cache hint.
231 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
232 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
233 support. Avoid rlwimi.
234 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
235
3be87c77
AM
2362013-10-04 Alan Modra <amodra@gmail.com>
237
238 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 239 insrdi. Formatting.
3be87c77
AM
240 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
241 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
242 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
243 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
244 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
245 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
246
759cfef3
AM
2472013-10-04 Alan Modra <amodra@gmail.com>
248
249 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
250 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
251 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
252 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
253 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
254 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
255 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
256 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
257 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
258 use of regs. Use power7 mtocrf. Tidy function tails.
259
fe6e95d7
AM
2602013-10-04 Alan Modra <amodra@gmail.com>
261
262 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
263 Formatting. Consistently use rXXX register defines or rN defines.
264 Use early exit labels that avoid restoring unused non-volatile regs.
265 Make cr field use more consistent with rWORDn compares. Rename
266 regs used as shift registers for unaligned loop, using rN defines
267 for short lifetime/multiple use regs.
268 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
269 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
270 addi 1,1,64 to pop stack frame. Simplify return value code.
271 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
272
664318c3
AM
2732013-10-04 Alan Modra <amodra@gmail.com>
274
275 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
276 support. Correct typos, formatting. Optimize tail. Use insrdi
277 rather than rlwimi.
278 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
279 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
280 little-endian support. Correct typos.
281 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
282 rather than rlwimi.
283 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
284 in loop and entry code to keep "and." results.
285 (strchr): Add little-endian support. Comment. Move cntlzd
286 earlier in tail.
287 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
288
43b84013
AM
2892013-10-04 Alan Modra <amodra@gmail.com>
290
291 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
292 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
293 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
294 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
295
8a7413f9
AM
2962013-10-04 Alan Modra <amodra@gmail.com>
297
298 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
299 (rTMP): Define as r11.
300 (strcmp): Add little-endian support. Optimise tail.
301 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
302 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
303 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
304 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
305 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
306 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
307 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
308
33ee81de
AM
3092013-10-04 Alan Modra <amodra@gmail.com>
310
311 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
312 little-endian support. Remove unnecessary "are we done" tests.
313 Handle "s" wrapping around zero and extremely large "size".
314 Correct main loop count. Handle single left-over word from main
315 loop inline rather than by using small_loop. Correct comments.
316 Delete "zero" tail, use "end_max" instead.
317 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
318
db9b4570
AM
3192013-10-04 Alan Modra <amodra@gmail.com>
320
321 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
322 support. Don't branch over align.
323 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
324 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
325 support. Rearrange tmp reg use to suit. Comment.
326 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
327
f7c399cf
AM
3282013-10-04 Alan Modra <amodra@gmail.com>
329
330 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
331
0b2c2ace
AM
3322013-10-04 Alan Modra <amodra@gmail.com>
333
334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
335 conditional form of branch and link when obtaining pc.
336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
337
02f04a6c
AM
3382013-10-04 Alan Modra <amodra@gmail.com>
339
340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
341 HIWORD/LOWORD.
342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
344
9b874b2f
AM
3452013-10-04 Alan Modra <amodra@gmail.com>
346
347 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
348 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
349 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
350 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
351 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
352 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
353 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
354 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
355 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
356 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
357
be1e5d31
AB
3582013-10-04 Anton Blanchard <anton@au1.ibm.com>
359 Alistair Popple <alistair@ozlabs.au.ibm.com>
360 Alan Modra <amodra@gmail.com>
361
362 [BZ #15723]
363 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
364 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
365 _dl_hwcap access for little-endian.
366 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
367 destroy vmx regs when saving unaligned.
368 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
369 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
370 destroy vmx regs when saving unaligned.
371
fef13a78
AM
3722013-10-04 Alan Modra <amodra@gmail.com>
373
374 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
375 Don't use a union to pack hi/low value.
376
76a66d51
AB
3772013-10-04 Anton Blanchard <anton@au1.ibm.com>
378
379 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
380 for little-endian.
381 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
382 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
383 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
384 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
385 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
386
6a31fe7f
AM
3872013-10-04 Alan Modra <amodra@gmail.com>
388
389 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
390 constants to usual value for .cst8 section, and remove redundant
391 high address load.
392 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
393 constant for 0x1p52. Load little-endian words of double from
394 correct stack offsets.
395
7b88401f
AM
3962013-10-04 Alan Modra <amodra@gmail.com>
397
398 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
399 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
400 words of double from correct stack offsets.
401 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
402 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
403 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
404 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
405 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
406 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
407 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
408 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
409 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
410 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
411 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
412 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
413 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
414 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
415 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
416 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
417 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
418
9c008155
AM
4192013-10-04 Alan Modra <amodra@gmail.com>
420
421 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
422 64-bit int/double union.
423 (_FPU_SETCW): Likewise.
424 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
425 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
426
da13146d
AM
4272013-10-04 Alan Modra <amodra@gmail.com>
428
429 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
430 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
431
603e8410
AM
4322013-10-04 Alan Modra <amodra@gmail.com>
433
434 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
435 use vector int constants.
436 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
437
4a28b3ca
AB
4382013-10-04 Anton Blanchard <anton@au1.ibm.com>
439
440 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
441 array with long long.
442 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
443 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
444 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
445 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
446 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
447 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
448 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
449 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
450 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
451 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
452 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
453 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
454 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
455
2ca85d2b
AB
4562013-10-04 Anton Blanchard <anton@au1.ibm.com>
457
458 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
459 (__signbit): Likewise. Correct for little-endian.
460 (__signbitl): Call __signbit.
461 (lrint): Correct for little-endian.
462 (lrintf): Call lrint.
463
62a728ae
AM
4642013-10-04 Alan Modra <amodra@gmail.com>
465
466 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
467 union 32-bit int array member with 64-bit int array.
468 (t515, tm256): Double rather than long double.
469 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
470
32c301df
AM
4712013-10-04 Alan Modra <amodra@gmail.com>
472
473 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
474 Delete.
475 (IEEE854_LONG_DOUBLE_BIAS): Delete.
476 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
477 version of math_ldbl.h.
478
650ef4bd
AM
4792013-10-04 Alan Modra <amodra@gmail.com>
480
481 [BZ #15734], [BZ #15735]
482 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
483 all uses of ieee875 long double macros and unions. Simplify test
484 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
485 ldbl_extract_mantissa value for ix,iy exponents. Properly
486 normalize after ldbl_extract_mantissa, and don't add hidden bit
487 already handled. Don't treat low word of ieee854 mantissa like
488 low word of IBM long double and mask off bit when testing for
489 zero.
490 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
491 all uses of ieee875 long double macros and unions. Simplify tests
492 for 0.0L and inf. Correct double adjustment of k. Delete dead code
493 adjusting ha,hb. Simplify code setting kld. Delete two600 and
494 two1022, instead use their values. Recognise that tests for large
495 "a" and small "b" are mutually exclusive. Rename vars. Comment.
496 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
497 Rewrite all uses of ieee875 long double macros and unions. Simplify
498 test for 0.0L and nan. Correct negation.
499 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
500 ieee875 long double macros and unions. Correct output for large
501 magnitude x. Correct absolute value calculation.
502 (__erfcl): Likewise.
503 * math/libm-test.inc: Add tests for errors discovered in IBM long
504 double versions of fmodl, remainderl, erfl and erfcl.
505
765714ca
AM
5062013-10-04 Alan Modra <amodra@gmail.com>
507
508 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
509 all uses of ieee854 long double macros and unions. Simplify tests
510 for long doubles that are fully specified by the high double.
511 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
512 Likewise.
513 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
514 Remove dead code too.
515 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
516 (__ieee754_ynl): Likewise.
517 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
518 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
519 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
520 Remove dead code too.
521 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
522 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
523 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
524 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
525 Simplify.
526 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
527 Simplify.
528 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
529 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
530 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
531 Comment on variable precision.
532 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
533 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
534 Likewise.
535 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
536 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
537 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
538 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
539 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
540
4ebd120c
AM
5412013-10-04 Alan Modra <amodra@gmail.com>
542
543 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
544 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
545 all uses of ieee854 long double macros and unions.
546 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
547 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
548 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
549 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
550 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
551 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
552 Likewise.
553 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
554 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
555 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
556 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
557 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
558 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
559 Simplify sign and nan test too.
560 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
561 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
562 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
563 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
564 Likewise.
565 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
566 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
567 Likewise.
568 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
569 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
570 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
571 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
572 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
573 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
574
1b6adf88
AM
5752013-10-04 Alan Modra <amodra@gmail.com>
576
577 * stdio-common/printf_size.c (__printf_size): Don't use
578 union ieee854_long_double in fpnum union.
579 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
580 signbit macro to retrieve sign from long double.
581 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
582 retrieve sign from long double.
583 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
584 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
585 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
586 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
587 * math/test-misc.c (main): Don't use union ieee854_long_double.
588
4cf69995
AM
5892013-10-04 Alan Modra <amodra@gmail.com>
590
591 [BZ #15680]
592 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
593 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
594 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
595 calculation. Remove unnecessary test for denormal exponent.
596 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
597 Correct handling of denormals. Avoid undefined shift behaviour.
598 Correct normalisation of low mantissa when low double is denormal.
599 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
600 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
601 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
602 Correct normalisation of low mantissa. Test for overflow of high
603 mantissa and normalise.
604 (ldbl_nearbyint): Use more readable constant for two52.
605 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
606 (__mpn_construct_long_double): Fix test for overflow of high
607 mantissa and correct normalisation. Avoid undefined shift.
608
9605ca6c
AM
6092013-10-04 Alan Modra <amodra@gmail.com>
610
611 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
612 (union ibm_extended_long_double): Define as an array of ieee754_double.
613 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
614 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
615 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
616 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
617 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
618 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
619 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
620 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
621 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
622 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
623 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
624
975569d0
JM
6252013-10-03 Joseph Myers <joseph@codesourcery.com>
626
d3d23756
JM
627 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
628 page size instead of calling getpagesize.
629
975569d0
JM
630 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
631 (LOCFILE_ALIGN_MASK): Likewise.
632 (LOCFILE_ALIGN_UP): Likewise.
633 (LOCFILE_ALIGNED_P): Likewise.
634 * locale/programs/ld-collate.c (collate_output): Use the new
635 macros instead of __alignof__ (int32_t).
636 * locale/weight.h (findidx): Likewise.
637
b1fe1f2b
OB
6382013-10-03 Ondřej Bílka <neleai@seznam.cz>
639
640 [BZ #431]
641 * manual/string.texi: Fix strncat and wcsncat.
642
5f855e35
BM
6432013-10-03 Brooks Moses <bmoses@google.com>
644
645 [BZ #15915]
646 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
647 * Makerules: ...here, and adjust associated comments.
648
3cef6009
WN
6492013-10-02 Will Newton <will.newton@linaro.org>
650
651 * malloc/Makefile: Add tst-pvalloc.
652 * malloc/tst-pvalloc.c: New file.
653
7815420b
WN
6542013-10-02 Will Newton <will.newton@linaro.org>
655
656 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
657 improve test coverage.
658
4868b204
WN
6592013-10-02 Will Newton <will.newton@linaro.org>
660
661 * malloc/Makefile: Add tst-posix_memalign.
662 * malloc/tst-posix_memalign.c: New file.
663
29c793b3
EB
6642013-10-01 Eric Blake <eblake@redhat.com>
665
666 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
667 Use __THROWNL rather than __THROW on static functions.
668
fd967522
PM
6692013-09-30 Petr Machata <pmachata@redhat.com>
670
671 * elf/elf.h (R_AARCH64_ABS16): New macro.
672 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
673 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
674 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
675 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
676 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
677 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
678 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
679 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
680 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
681 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
682 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
683 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
684 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
685 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
686 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
687 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
688 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
689 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
690 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
691 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
692 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
693 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
694 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
695 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
696 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
697 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
698 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
699 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
700 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
701 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
702 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
703 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
704 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
705 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
706 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
707 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
708 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
709 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
710 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
711 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
712 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
713 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
714 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
715 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
716 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
717 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
718 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
719 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
720 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
721 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
722 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
723 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
724 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
725 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
726 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
727 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
728 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
729 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
730 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
731 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
732 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
733 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
734 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
735 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
736 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
737 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
738 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
739 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
740 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
741 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
742 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
743 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
744 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
745 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
746 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
747 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
748 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
749 (R_AARCH64_TLSDESC_LDR): Likewise.
750 (R_AARCH64_TLSDESC_ADD): Likewise.
751 (R_AARCH64_TLSDESC_CALL): Likewise.
752
b2179107
AS
7532013-09-30 Andreas Schwab <schwab@suse.de>
754
755 [BZ #15048]
756 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
757 the nss database lookup.
758 * nscd/initgrcache.c (addinitgroupsX): Likewise.
759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
760
47f28d0a
MF
7612013-09-28 Mike Frysinger <vapier@gentoo.org>
762
763 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
764
7652013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
766
767 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
768 ${Bash-specific parameter/pattern/string} parameter expansion.
769 * sysdeps/unix/make-syscalls.sh: Likewise.
770
f4518a17
KK
7712013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
772
773 * sysdeps/sh/stackguard-macros.h: New file.
774
dc1a95c7
OB
7752013-09-26 Ondřej Bílka <neleai@seznam.cz>
776
777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
778 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
779 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
780 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
781 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
782 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
783
5ebbff8f
AZ
7842013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
785
786 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
787 Fix thread ID register.
788
4fd2cf9f
JM
7892013-09-25 Joseph Myers <joseph@codesourcery.com>
790
791 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
792 [POSIX || UNIX98]: Require rather than permitting all symbols from
793 <time.h>.
794 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
795 element of struct sched_param.
796 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
797 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
798 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
799 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
800 constant.
801
12c22bc4
OL
8022013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
803
804 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
805 argument calculation.
806
a03d8ea7
JM
8072013-09-24 Joseph Myers <joseph@codesourcery.com>
808
809 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
810 Expect macro.
811 [POSIX] (pthread_attr_t): Do not require type.
812 [POSIX] (pthread_cond_t): Likewise.
813 [POSIX] (pthread_condattr_t): Likewise.
814 [POSIX] (pthread_key_t): Likewise.
815 [POSIX] (pthread_mutex_t): Likewise.
816 [POSIX] (pthread_mutexattr_t): Likewise.
817 [POSIX] (pthread_once_t): Likewise.
818 [POSIX] (pthread_t): Likewise.
819 [POSIX-based standards] (pthread_atfork): Expect function.
820
6055173a
JM
8212013-09-24 Joseph Myers <joseph@codesourcery.com>
822 Richard Sandiford <richard@codesourcery.com>
823
824 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
825 (swap_endianness_p): New extern variable.
826 (set_big_endian): New inline function.
827 (maybe_swap_uint32): Likewise.
828 (maybe_swap_uint32_array): Likewise.
829 (maybe_swap_uint32_obstack): Likewise.
830 * locale/programs/locfile.c: Include <stdbool.h>.
831 (swap_endianness_p): New variable.
832 (add_locale_uint32): Call maybe_swap_uint32.
833 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
834 (write_locale_data): Call maybe_swap_uint32_array.
835 * locale/programs/ld-collate.c (obstack_int32_grow): Call
836 maybe_swap_uint32.
837 (obstack_int32_grow_fast): Likewise.
838 (output_weightwc): Call maybe_swap_uint32_obstack.
839 (collate_output): Likewise.
840 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
841 (OPT_LITTLE_ENDIAN): Likewise.
842 (options): Add --little-endian and --big-endian options.
843 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
844 * locale/programs/locarchive.c: Include "locfile.h".
845 (GET): New macro.
846 (SET): Likewise.
847 (INC): Likewise.
848 (create_archive): Use the new macros to access fields of
849 structures directly mapped from or written to locale archives.
850 (oldlocrecentcmp): Likewise.
851 (enlarge_archive): Likewise.
852 (insert_name): Likewise.
853 (add_alias): Likewise.
854 (add_locale): Likewise.
855 (delete_locales_from_archive): Likewise.
856 (show_archive_content): Likewise.
857 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
858 locale data.
859
39bf0bb4
RM
8602013-09-24 Roland McGrath <roland@hack.frob.com>
861
862 * manual/freemanuals.texi: Updated from (newly) canonical copy at
863 http://www.gnu.org/doc/freemanuals.texi.
864 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
865
f02eed10
WN
8662013-09-24 Will Newton <will.newton@linaro.org>
867
868 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
869 macro.
870
a3a6c312
JM
8712013-09-23 Joseph Myers <joseph@codesourcery.com>
872
873 * locale/hashval.h (compute_hashval): Interpret bytes of key as
874 unsigned char.
875
107375ac
MR
8762013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
877
878 * manual/threads.texi (POSIX Threads): Fix a typo.
879
141f3a77
SP
8802013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
881
303e567a
SP
882 [BZ #14547]
883 * string/tst-strcoll-overflow.c: New test case.
884 * string/Makefile (xtests): Add tst-strcoll-overflow.
885 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
886 cache if string sizes may cause integer overflow.
887
141f3a77
SP
888 [BZ #14547]
889 * string/strcoll_l.c (coll_seq): New members rule, idx,
890 save_idx and back_us.
891 (get_next_seq_nocache): New function.
892 (do_compare_nocache): New function.
893 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
894 when malloc fails.
895
c61b4d41
CD
8962013-09-23 Carlos O'Donell <carlos@redhat.com>
897
0b1f8e35
CD
898 [BZ #15754]
899 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
900 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
901 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
902
c61b4d41
CD
903 [BZ #15754]
904 * elf/Makefile (tests): Add tst-ptrguard1.
905 (tests-static): Add tst-ptrguard1-static.
906 (tst-ptrguard1-ARGS): Define.
907 (tst-ptrguard1-static-ARGS): Define.
908 * elf/tst-ptrguard1.c: New file.
909 * elf/tst-ptrguard1-static.c: New file.
910 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
911 * sysdeps/i386/stackguard-macros.h: Likewise.
912 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
913 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
914 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
915 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
916 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
917 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
918
9192013-09-23 Hector Marco <hecmargi@upv.es>
920 Ismael Ripoll <iripoll@disca.upv.es>
921 Carlos O'Donell <carlos@redhat.com>
922
923 [BZ #15754]
924 * sysdeps/generic/stackguard-macros.h: Define
925 __pointer_chk_guard_local and POINTER_CHK_GUARD.
926 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
927 Define __pointer_chk_guard_local.
928 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
929 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
930
f5f4e7b4
VV
9312013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
932
933 [BZ #15859]
934 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
935
5bb43a43
AS
9362013-09-20 Andreas Schwab <schwab@linux-m68k.org>
937
938 * include/string.h (__ffs): Declare as hidden.
939 * string/ffs.c (__ffs): Define as hidden.
940 * sysdeps/i386/ffs.c (__ffs): Likewise.
941 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
942 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
943 * sysdeps/s390/ffs.c (__ffs): Likewise.
944 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
945
3ea5be54
AO
9462013-09-20 Alexandre Oliva <aoliva@redhat.com>
947
ffb89e53
AO
948 * NEWS: Mention malloc probes.
949
322dea08
AO
950 * malloc/arena.c (new_heap): New memory_heap_new probe.
951 (grow_heap): New memory_heap_more probe.
952 (shrink_heap): New memory_heap_less probe.
953 (heap_trim): New memory_heap_free probe.
954 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
955 (systrim): New memory_sbrk_less probe.
956 * manual/probes.texi: Document them.
957
655673f3
AO
958 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
959 * manual/probes.texi: Document it.
960
35fed6f1
AO
961 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
962 (__libc_realloc): Add memory_realloc_retry probe.
963 (__libc_memalign): Add memory_memalign_retry probe.
964 (__libc_valloc): Add memory_valloc_retry probe.
965 (__libc_pvalloc): Add memory_pvalloc_retry probe.
966 (__libc_calloc): Add memory_calloc_retry probe.
967 * manual/probes.texi: Document them.
968
6999d38c
AO
969 * malloc/arena.c (get_free_list): Add probe
970 memory_arena_reuse_free_list.
971 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
972 and memory_arena_reuse.
973 (arena_get2) [!PER_THREAD]: Likewise.
974 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
975 memory_arena_reuse_realloc.
976 * manual/probes.texi: Document them.
977
0653427f
AO
978 * malloc/malloc.c (__libc_free): Add
979 memory_mallopt_free_dyn_thresholds probe.
980 (__libc_mallopt): Add multiple memory_mallopt probes.
981 * manual/probes.texi: Document them.
982
3ea5be54
AO
983 * malloc/malloc.c: Include stap-probe.h.
984 (__libc_mallopt): Add memory_mallopt probe.
985 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
986 * manual/probes.texi: New.
987 * manual/Makefile (chapters): Add probes.
988 * manual/threads.texi: Set next node.
989
e35696c3 9902013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 991
e35696c3
CL
992 [BZ #15963, #13985]
993 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
994 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
995 Add `Chinese' to `nan' entry name.
996
4aafb73c
SP
9972013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
998
999 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1000 (POLYNOMIAL): Likewise.
1001 (TAYLOR_SINCOS): Likewise.
1002 (TAYLOR_SLOW): Likewise.
1003 (__sin): Use TAYLOR_SINCOS.
1004 (__cos): Likewise.
1005 (slow): Use TAYLOR_SLOW.
1006 (sloww): Likewise.
1007 (bsloww): Likewise.
1008 (csloww): Likewise.
1009
d84f25c7
LD
10102013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1011
1012 * stdlib/strtod_l.c: Fix buffer overrun.
1013
5eea0404
SP
10142013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1015
7849ff93
SP
1016 * benchtests/Makefile (bench): Add sincos.
1017 * benchtests/bench-sincos.c: New file.
1018
cfa3c886
SP
1019 * math/libm-test.inc (cos_test_data): New test inputs.
1020 (sin_test_data): Likewise.
1021
b348e1e3
SP
1022 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1023 macro.
1024 (__sin): Use it.
1025 (__cos): Likewise.
1026 (slow1): Likewise.
1027 (slow2): Likewise.
1028 (sloww1): Likewise.
1029 (sloww2): Likewise.
1030 (bsloww1): Likewise.
1031 (bsloww2): Likewise.
1032 (cslow2): Likewise.
1033 (csloww1): Likewise.
1034 (csloww2): Likewise.
1035
6cce25f8
SP
1036 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1037 function.
1038 (__sin): Use it.
1039 (__cos): Likewise.
1040
5eea0404
SP
1041 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1042 gotos.
1043 (__cos): Likewise.
1044
9c21573c
MR
10452013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1046
1047 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1048 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1049 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1050 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1051 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1052 * elf/cache.c (print_entry): Handle the new cache flags.
1053
24d22e65
JM
10542013-09-18 Joseph Myers <joseph@codesourcery.com>
1055 Aldy Hernandez <aldyh@redhat.com>
1056
1057 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1058 Change condition to [_SOFT_FLOAT].
1059 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1060 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1061 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1062 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1071 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1074 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1075 declaration.
1076
d13ef066
JM
10772013-09-18 Joseph Myers <joseph@codesourcery.com>
1078
2e071de0
JM
1079 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1080 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1081 (__longjmp): Use LOAD_GP to load saved GPRs.
1082 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1083 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1084 (__sigsetjmp): Use SAVE_GP to save GPRs.
1085
d13ef066
JM
1086 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1087 Do not append -msoft-float.
1088 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1089
97a0650b
SP
10902013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1091
1092 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1093
11ca09e9
JM
10942013-09-17 Joseph Myers <joseph@codesourcery.com>
1095
1096 [BZ #15966]
1097 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1098 (_FPU_GETCW): Use initial "__" on variable and field names but not
1099 on macro parameter name.
1100 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1101 parentheses around reference to macro parameter.
1102
08ffcf34
RS
11032013-09-13 Richard Sandiford <richard@codesourcery.com>
1104
1105 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1106 prototype.
1107 (ctype_startup): Use uint32_t in cast and sizeof for
1108 ctype->charnames.
1109
ae7080d3
JL
11102013-09-11 Jia Liu <proljc@gmail.com>
1111
1112 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1113 __daddr_t_defined.
1114 [__FreeBSD__]: Likewise.
1115
5905e7b3
OB
11162013-09-11 Ondřej Bílka <neleai@seznam.cz>
1117
1118 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1119 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1120 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1121 (strchr): Remove __strchr_sse42 ifunc selection.
1122 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1123 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1124
b987c776
WN
11252013-09-11 Will Newton <will.newton@linaro.org>
1126
1127 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1128 parameter to RES. Remove hardcoded 1000 value.
1129 * benchtests/bench-skeleton.c (main): Pass RES parameter
1130 to TIMING_INIT and multiply result by 1000.
1131
ddf985af
AZ
11322013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1133
1134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1135
ffdd3181
AS
11362013-09-11 Andreas Schwab <schwab@suse.de>
1137
1138 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1139 if not defined.
1140 (O_TMPFILE) [__USE_GNU]: Define.
1141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1142 Define.
1143
b73ed247
WN
11442013-09-11 Will Newton <will.newton@linaro.org>
1145
1146 [BZ #15857]
1147 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1148 does not overflow.
1149
55e17aad
WN
11502013-09-11 Will Newton <will.newton@linaro.org>
1151
1152 [BZ #15856]
1153 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1154 does not overflow.
1155
1159a193
WN
11562013-09-11 Will Newton <will.newton@linaro.org>
1157
1158 [BZ #15855]
1159 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1160 does not overflow.
1161
5905e7b3 11622013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
1163
1164 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1165 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1166 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1167 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1168 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1169
cdfc721b
AM
11702013-09-10 Allan McRae <allan@archlinux.org>
1171
aa04af00
AM
1172 [BZ #15748]
1173 * manual/arith.texi (Parsing of Floats): Clarify
1174 cross-reference.
1175
cdfc721b
AM
1176 [BZ #15849]
1177 * manual/install.texi (Running make install): Mention
1178 --enable-pt-chown.
1179 * INSTALL: Regenerated.
1180
95e7cf29
MR
11812013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1182
1183 * csu/init-first.c (_init): Remove the !SHARED condition around
1184 FPU control word initialization.
1185 * elf/dl-support.c (_dl_fpu_control): New variable.
1186 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1187 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1188 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1189 * math/test-fpucw-static.c: New file.
1190 * math/test-fpucw-ieee.c: New file.
1191 * math/test-fpucw-ieee-static.c: New file.
1192 * math/Makefile (tests): Add `test-fpucw-ieee' and
1193 `$(tests-static)'.
1194 (tests-static): New variable.
1195 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1196 dependency to...
1197 [($(build-shared),yes)]
1198 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1199 ... this.
1200 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1201 New dependency.
1202
83e43bf0
AM
12032013-09-09 Allan McRae <allan@archlinux.org>
1204
a9f5ce09
AM
1205 [BZ #15939]
1206 * manual/string.texi (Collation Functions): Fix typo in
1207 strcoll example.
1208 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1209
34829bc2
AM
1210 [BZ #15893]
1211 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1212
3932737d
AM
1213 [BZ #15892]
1214 * libio/memstream.c (open_memstream): Fix memory leak.
1215 * libio/wmemstream.c (open_wmemstream): Likewise.
1216
83e43bf0
AM
1217 [BZ #15895]
1218 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1219
0c66b8e9
WN
12202013-09-09 Will Newton <will.newton@linaro.org>
1221
1222 * malloc/Makefile: Add tst-realloc to tests.
1223 * malloc/tst-realloc.c: New file.
1224
f6b00fd1
AM
12252013-09-09 Allan McRae <allan@archlinux.org>
1226
1227 [BZ #15844]
1228 * COPYING: Update from GNU website to fix FSF address.
1229 * COPYING.LIB: Likewise.
1230
eec55e16
DM
12312013-09-06 David S. Miller <davem@davemloft.net>
1232
1233 * po/zh_TW.po: Update Chinese (traditional) translation from
1234 translation project.
1235
1ecbb381
RS
12362013-09-06 Richard Sandiford <richard@codesourcery.com>
1237 Joseph Myers <joseph@codesourcery.com>
1238
1239 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1240 "localeinfo.h".
1241 (obstack_chunk_alloc): New macro.
1242 (obstack_chunk_free): Likewise.
1243 (record_offset): New function.
1244 (init_locale_data): Likewise.
1245 (align_locale_data): Likewise.
1246 (add_locale_empty): Likewise.
1247 (add_locale_raw_data): Likewise.
1248 (add_locale_raw_obstack): Likewise.
1249 (add_locale_string): Likewise.
1250 (add_locale_wstring): Likewise.
1251 (add_locale_uint32): Likewise.
1252 (add_locale_uint32_array): Likewise.
1253 (add_locale_char): Likewise.
1254 (start_locale_structure): Likewise.
1255 (end_locale_structure): Likewise.
1256 (start_locale_prelude): Likewise.
1257 (end_locale_prelude): Likewise.
1258 (write_locale_data): Take locale_file structure rather than an
1259 iovec.
1260 * locale/programs/locfile.h: Include "obstack.h".
1261 (struct locale_file): Change to store locale file contents instead
1262 of header.
1263 (init_locale_data): New prototype.
1264 (align_locale_data): Likewise.
1265 (add_locale_empty): Likewise.
1266 (add_locale_raw_data): Likewise.
1267 (add_locale_raw_obstack): Likewise.
1268 (add_locale_string): Likewise.
1269 (add_locale_wstring): Likewise.
1270 (add_locale_uint32): Likewise.
1271 (add_locale_uint32_array): Likewise.
1272 (add_locale_char): Likewise.
1273 (start_locale_structure): Likewise.
1274 (end_locale_structure): Likewise.
1275 (start_locale_prelude): Likewise.
1276 (end_locale_prelude): Likewise.
1277 (write_locale_data): Update prototype.
1278 * locale/programs/3level.h (struct TABLE): Remove result field.
1279 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1280 Use new locale_file interface.
1281 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1282 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1283 * locale/programs/ld-address.c (address_output): Use new
1284 locale_file interface.
1285 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1286 NO_ADD_LOCALE.
1287 (collate_finish): Don't call collseq_table_finalize.
1288 (collate_output): Use new locale_file interface.
1289 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1290 in file.
1291 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1292 (TABLE): Move defines earlier in file.
1293 (ELEMENT): Likewise.
1294 (DEFAULT): Likewise.
1295 (wctrans_table_add): Move macro and inline function earlier in
1296 file.
1297 (struct wctype_table): Move type earlier in file.
1298 (add_locale_wctype_table): New static prototype.
1299 (struct locale_ctype_t): Use logical types instead of struct iovec
1300 pointers for members.
1301 (ctype_output): Use new locale_file interface.
1302 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1303 new locale_file interface.
1304 (allocate_arrays): Update for use of new locale_file interface.
1305 * locale/programs/ld-identification.c (identification_output): Use
1306 new locale_file interface.
1307 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1308 * locale/programs/ld-messages.c (messages_output): Likewise.
1309 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1310 * locale/programs/ld-name.c (name_output): Likewise.
1311 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1312 * locale/programs/ld-paper.c (paper_output): Likewise.
1313 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1314 * locale/programs/ld-time.c (time_output): Likewise.
1315
e029e2e5
AZ
13162013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1317
1318 * benchtests/Makefile: Add memrchr benchmark.
1319 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1320 benchmark as memrchr.
1321 * benchtests/bench-memrchr-ifunc.c: New file.
1322 * benchtests/bench-memrchr.c: New file.
1323
bbf6e8e4
WN
13242013-09-06 Will Newton <will.newton@linaro.org>
1325
1326 * benchtests/Makefile (string-bench): Add memcpy.
1327
6c82a2f8
CD
13282013-09-05 Carlos O'Donell <carlos@redhat.com>
1329 Cong Wang <amwang@redhat.com>
1330
1331 * sysdeps/unix/sysv/linux/bits/in.h
1332 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1333 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1334 before __USE_KERNEL_IPV6_DEFS uses.
1335 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1336 IPPROTO_BEETPH.
1337 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1338 sockaddr_in6, or ipv6_mreq.
1339
5430fc65
AZ
13402013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1341
1342 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1343 memory access for final bytes in some large inputs.
1344 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1345
4660856c
AZ
13462013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1347
1348 * string/test-memrchr.c: New file.
1349 * string/test-memrchr-ifunc.c: New file.
1350 * string/Makefile: Add new memrchr testcase.
1351
bb8ea713
MF
13522013-09-05 Mike Frysinger <vapier@gentoo.org>
1353
1354 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1355 fanotify_init returns EPERM.
1356
b92a20b5
JM
13572013-09-04 Joseph Myers <joseph@codesourcery.com>
1358
1359 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1360 errors.
1361 (top level): Treat second token from macro or constant entries for
1362 allowed headers as allowed.
1363 * include/complex.h: Condition internal declarations on
1364 [!_ISOMAC].
1365 * include/fenv.h: Condition include of <stdbool.h> and internal
1366 declarations on [!_ISOMAC].
7447ccd9
CL
1367
13682013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1369
3e181dda 1370 [BZ #15923]
7447ccd9
CL
1371 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1372
3f2e46a4
JM
13732013-09-04 Joseph Myers <joseph@codesourcery.com>
1374
1375 * configure.in (--enable-versioning): Remove configure option.
1376 (libc_cv_asm_symver_directive): Remove configure test.
1377 (libc_cv_ld_version_script_option): Likewise.
1378 (VERSIONING): Remove variable and AC_SUBST.
1379 (DO_VERSIONING): Remove AC_DEFINE.
1380 * configure: Regenerated.
1381 * config.h.in (DO_VERSIONING): Remove macro.
1382 * Makerules [$(versioning) = yes]: Change conditionals to
1383 [$(build-shared) = yes].
1384 * config.make.in (versioning): Remove variable.
1385 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1386 [$(build-shared) = yes].
1387 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1388 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1389 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1390 [$(build-shared) = yes].
1391 * extra-lib.mk [$(versioning) = yes]: Likewise.
1392 * hurd/Makefile [$(versioning) = yes]: Likewise.
1393 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1394 [SHARED].
1395 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1396 [SHARED].
1397 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1398 [SHARED && !NO_HIDDEN].
1399 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1400 [SHARED].
1401 [SHARED && DO_VERSIONING]: Likewise..
1402 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1403 [$(build-shared) = yes].
1404 * manual/install.texi (--disable-versioning): Remove
1405 documentation.
1406 * INSTALL: Regenerated.
1407 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1408 to [SHARED].
1409 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1410 [$(build-shared) = yes].
1411 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1412 * sysdeps/i386/i686/multiarch/strstr-c.c
1413 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1414 [SHARED && !NO_HIDDEN].
1415 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1416 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1417 * sysdeps/powerpc/powerpc32/dl-machine.c
1418 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1419 * sysdeps/powerpc/powerpc32/sysdep.h
1420 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1421 to [SHARED && PIC && !NO_HIDDEN].
1422 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1423 conditional to [SHARED].
1424
44558701
WN
14252013-09-04 Will Newton <will.newton@linaro.org>
1426
1427 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1428 * benchtests/bench-string.h: Include bench-timing.h instead
1429 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1430 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1431 call to HP_TIMING_DIFF_INIT.
1432 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1433 instead of hp-timing.h macros.
1434 * benchtests/bench-memchr.c: Likewise.
1435 * benchtests/bench-memcmp.c: Likewise.
1436 * benchtests/bench-memcpy.c: Likewise.
1437 * benchtests/bench-memmem.c: Likewise.
1438 * benchtests/bench-memmove.c: Likewise.
1439 * benchtests/bench-memset.c: Likewise.
1440 * benchtests/bench-rawmemchr.c: Likewise.
1441 * benchtests/bench-strcasecmp.c: Likewise.
1442 * benchtests/bench-strcasestr.c: Likewise.
1443 * benchtests/bench-strcat.c: Likewise.
1444 * benchtests/bench-strchr.c: Likewise.
1445 * benchtests/bench-strcmp.c: Likewise.
1446 * benchtests/bench-strcpy.c: Likewise.
1447 * benchtests/bench-strcpy_chk.c: Likewise.
1448 * benchtests/bench-strlen.c: Likewise.
1449 * benchtests/bench-strncasecmp.c: Likewise.
1450 * benchtests/bench-strncat.c: Likewise.
1451 * benchtests/bench-strncmp.c: Likewise.
1452 * benchtests/bench-strncpy.c: Likewise.
1453 * benchtests/bench-strnlen.c: Likewise.
1454 * benchtests/bench-strpbrk.c: Likewise.
1455 * benchtests/bench-strrchr.c: Likewise.
1456 * benchtests/bench-strspn.c: Likewise.
1457 * benchtests/bench-strstr.c: Likewise.
1458
cae16d66
WN
14592013-09-04 Will Newton <will.newton@linaro.org>
1460
1461 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1462
ffa3cd7f
JM
14632013-09-03 Joseph Myers <joseph@codesourcery.com>
1464
1465 [BZ #15427]
1466 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1467 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1468 * math/libm-test.inc (lgamma_test_data): Add more tests.
1469 * sysdeps/i386/fpu/libm-test-ulps: Update.
1470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1471
8f02859f
OB
14722013-09-03 Ondřej Bílka <neleai@seznam.cz>
1473
1474 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1475 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1476 Add ifunc.
1477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1478 Add strcmp-sse2-unaligned
1479 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1480
18d43716
MF
14812013-09-02 Mike Frysinger <vapier@gentoo.org>
1482
1483 * Versions.def (libc): Add GLIBC_2.19.
1484
ac444012
MF
14852013-09-02 Mike Frysinger <vapier@gentoo.org>
1486
1487 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1488 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1489
b7835e32
JM
14902013-09-02 Joseph Myers <joseph@codesourcery.com>
1491
1492 [BZ #14155]
1493 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1494 intermediate calculations in recurrence.
1495 (__ieee754_ynf): Likewise.
1496 * math/libm-test.inc (jn_test_data): Do not allow spurious
1497 underflow exception. Add more tests.
1498 (yn_test_data): Add more tests.
1499 * sysdeps/i386/fpu/libm-test-ulps: Update.
1500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1501
8220f4f0
OB
15022013-09-02 Ondřej Bílka <neleai@seznam.cz>
1503
1504 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1505
f24a6d08
OB
15062013-08-30 Ondřej Bílka <neleai@seznam.cz>
1507
1508 * csu/init-first.c: Fix then/than typos.
1509 * locale/programs/ld-collate.c: Likewise.
1510 * locale/programs/linereader.h: Likewise.
1511 * manual/charset.texi: Likewise.
1512 * manual/filesys.texi: Likewise.
1513 * manual/stdio.texi: Likewise.
1514 * manual/string.texi: Likewise.
1515 * stdlib/fmtmsg.c: Likewise.
1516 * sysdeps/i386/stpncpy.S: Likewise.
1517 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1518 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1519 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1520 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1521
382466e0
OB
15222013-08-30 Ondřej Bílka <neleai@seznam.cz>
1523
1524 * elf/dl-open.c: Fix typos.
1525 * iconvdata/gbbig5.c: Likewise.
1526 * iconvdata/iso-2022-jp.c: Likewise.
1527 * iconv/gconv_int.h: Likewise.
1528 * iconv/loop.c: Likewise.
1529 * nis/rpcsvc/nis.h: Likewise.
1530 * resolv/ns_name.c: Likewise.
1531 * stdio-common/vfscanf.c: Likewise.
1532 * streams/stropts.h: Likewise.
1533 * sunrpc/rpc_thread.c: Likewise.
1534 * sysdeps/i386/strpbrk.S: Likewise.
1535 * sysdeps/ieee754/k_standard.c: Likewise.
1536 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1537 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1538 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1539 * sysdeps/mach/hurd/profil.c: Likewise.
1540 * sysdeps/s390/dl-procinfo.h: Likewise.
1541 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1542 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1543 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1544 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1545 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1546
0186c6e9
OB
15472013-08-30 Ondřej Bílka <neleai@seznam.cz>
1548
1549 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1550 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1551
d4e16af1
OB
15522013-08-29 Ondřej Bílka <neleai@seznam.cz>
1553
1554 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1555 aix specific files.
1556 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1557 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1558 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1559 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1560 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1561 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1562 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1563 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1564
88335980
TS
15652013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1566 Roland McGrath <roland@hack.frob.com>
1567
1568 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1569 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1570
ed479b02
ST
15712013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1572
1573 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1574 __executable_start symbol instead of _start.
1575
f1cc4c86
TS
15762013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1577
d821f07c
TS
1578 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1579 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1580 Move macros to...
1581 * sysdeps/gnu/ldsodefs.h: ... this new file.
1582
c54290cf
TS
1583 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1584 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1585 instead of ELFOSABI_LINUX.
1586
0007fc9b 1587 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1588 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1589 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1590 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1591 Likewise.
1592 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1593 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1594 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1595 Likewise.
1596 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1597 (ibm_extended_long_double): Add ieee_nan member.
1598 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1599 (do_test): New function.
1600
f1cc4c86
TS
1601 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1602 TEST_TRUNC.
1603 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1604 functions, renamed from truncdfsf_test, trunctfsf_test,
1605 trunctfdf_test.
1606 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1607 functions.
1608 (do_test): Run all these.
1609
6f65e668
OB
16102013-08-29 Ondřej Bílka <neleai@seznam.cz>
1611
1612 * argp/argp-help.c: Fix typos.
1613 * argp/argp-parse.c: Likewise.
1614 * debug/backtracesyms.c: Likewise.
1615 * elf/elf.h: Likewise.
1616 * malloc/malloc.c: Likewise.
1617 * nis/nis_print.c: Likewise.
1618 * resolv/res_comp.c: Likewise.
1619 * stdlib/stdlib.h: Likewise.
1620 * sunrpc/clnt_tcp.c: Likewise.
1621 * sunrpc/clnt_udp.c: Likewise.
1622 * sunrpc/clnt_unix.c: Likewise.
1623 * sysdeps/unix/bsd/ptsname.c: Likewise.
1624 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1625 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1627 Likewise.
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1629 Likewise.
1630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1631 Likewise.
6f65e668
OB
1632 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1633
3a309239
SP
16342013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1635
1636 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1638
3b813b29
MF
16392013-08-27 Mike Frysinger <vapier@gentoo.org>
1640
1641 [BZ #15897]
1642 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1643 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1644 ($(objpfx)bug-dl-leaf): New rule.
1645 ($(objpfx)bug-dl-leaf.so): Likewise.
1646 ($(objpfx)bug-dl-leaf.out): Likewise.
1647 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1648 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1649 * dlfcn/bug-dl-leaf.c: New test.
1650 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1651 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1652 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1653 (dlclose): Likewise.
1654 (dlmopen): Likewise.
1655
8cc3269f
RM
16562013-08-27 Roland McGrath <roland@hack.frob.com>
1657
7f9d0034
RM
1658 * include/netdb.h [!_ISOMAC]:
1659 Don't include <tls.h>.
1660 (h_errno, __libc_h_errno): Move declaration and macros out of
1661 [_LIBC_REENTRANT].
1662
fb431262
RM
1663 * include/resolv.h [_RESOLV_H_]:
1664 Don't include <tls.h>.
1665 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1666 * resolv/res_libc.c: Don't include <tls.h>.
1667 (_res): Use __attribute__ ((nocommon)) in place of
1668 __attribute__ ((section (".bss"))).
1669
bd81123a
RM
1670 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1671 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1672
c4e42566
RM
1673 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1674
f890a59b
RM
1675 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1676 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1677
1678 * resolv/res_mkquery.c: Include <sys/time.h>.
1679
5d1f0a09
RM
1680 * inet/ifreq.c: Moved to ...
1681 * sysdeps/unix/ifreq.c: ... here.
1682 * inet/ifreq.c: New file, true stub version.
1683
6fcf28b3
RM
1684 * socket/sa_len.c: New file.
1685 * socket/Makefile (aux): Add it.
1686 * sysdeps/unix/sysv/linux/Makefile
1687 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1688 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1689 and #include <socket/sa_len.c>.
1690 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1691 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1692
e041fb8b
RM
1693 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1694 * bits/socket.h: ... here.
1695
8cc3269f
RM
1696 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1697 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1698 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1699
5d228a43
AS
17002013-08-27 Andreas Schwab <schwab@suse.de>
1701
45b8accc
AS
1702 [BZ #15736]
1703 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1704 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1705 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1706 * string/test-strcasecmp.c (test_main): Run tests in several
1707 locales.
1708 * string/test-strncasecmp.c (test_main): Likewise.
1709
5d228a43
AS
1710 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1711 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1712 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1713 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1714 (__strncasecmp_ssse3) [PIC]: Likewise.
1715
59d112a4
RM
17162013-08-26 Roland McGrath <roland@hack.frob.com>
1717
53234cc3
RM
1718 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1719
59d112a4
RM
1720 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1721 instead of explicitly declaring xdecrypt.
1722 * nis/nss_nis/nis-publickey.c: Likewise.
1723
595aba70
SP
17242013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1725
1726 [BZ #15890]
1727 * nscd/aicache.c: Include res_hconf.h.
1728 (addhstaiX): Initialize res_hconf.
1729
ffabd393
AS
17302013-08-26 Andreas Schwab <schwab@suse.de>
1731
1732 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1733 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1734
e0a69f5c
SP
17352013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1736
1737 * nscd/aicache.c (addhstaiX): Fix indentation.
1738
8c12f01d
MF
17392013-08-25 Mike Frysinger <vapier@gentoo.org>
1740
1741 * configure.ac: Quote $build_pt_chown test.
1742 * configure: Regenerated.
1743
8fe89494
JM
17442013-08-23 Joseph Myers <joseph@codesourcery.com>
1745
1746 [BZ #15532]
1747 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1748 * math/s_cexpf.c (__cexpf): Likewise.
1749 * math/s_cexpl.c (__cexpl): Likewise.
1750 * math/libm-test.inc (cexp_test_data): Correct expected return
1751 value for NaN + i0. Add another test.
1752
75b181d6
DM
17532013-08-22 David S. Miller <davem@davemloft.net>
1754
1755 * po/ca.po: Update Catalan translation from translation project.
936241e4 1756 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1757
acd06bb1
JM
17582013-08-21 Joseph Myers <joseph@codesourcery.com>
1759
1760 [BZ #15797]
1761 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1762 is infinite, not alongside NaN test.
1763 * math/s_fdimf.c (__fdimf): Likewise.
1764 * math/s_fdiml.c (__fdiml): Likewise.
1765 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1766 errno is unchanged.
1767
c0c3f78a
OB
17682013-08-21 Ondřej Bílka <neleai@seznam.cz>
1769
1770 * argp/argp-help.c: Fix typos.
1771 * crypt/speeds.c: Likewise.
1772 * csu/check_fds.c: Likewise.
1773 * elf/dl-load.c: Likewise.
1774 * elf/dl-open.c: Likewise.
1775 * elf/reldep3.c: Likewise.
1776 * elf/reldep.c: Likewise.
1777 * elf/sprof.c: Likewise.
1778 * iconv/iconv_charmap.c: Likewise.
1779 * iconv/skeleton.c: Likewise.
1780 * iconv/strtab.c: Likewise.
1781 * io/lockf64.c: Likewise.
1782 * libio/libioP.h: Likewise.
1783 * resolv/gai_notify.c: Likewise.
1784 * resolv/ns_name.c: Likewise.
1785 * resolv/ns_samedomain.c: Likewise.
1786 * resolv/res_send.c: Likewise.
1787 * stdlib/random.c: Likewise.
1788 * sunrpc/rpc/xdr.h: Likewise.
1789 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1790 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1791 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1792 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1793 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1794 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1795 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1796 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1797 * sysdeps/mach/hurd/check_fds.c: Likewise.
1798 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1799 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1800 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1801 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1802 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1803 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1804 * sysdeps/pthread/aio_notify.c: Likewise.
1805 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1806 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1807 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1808 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1809 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1810
46ed1038
LD
18112013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1812
1813 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1814 version if bit_Slow_SSE4_2 is set.
1815 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1816 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1817
d400dcac
AZ
18182013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1819
1820 [BZ #15867]
1821 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1822 trampoline stack frame information.
1823 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1824 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1825 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1826 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1827 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1828 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1829 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1830 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1831 sa_flags value.
1832 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1833 interrupting a syscall and set with option SA_SIGINFO.
1834
42c8fdd8
JM
18352013-08-20 Joseph Myers <joseph@codesourcery.com>
1836
c980f2f4
JM
1837 [BZ #15531]
1838 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1839 argument is infinite.
1840 * math/s_cprojf.c (__cprojf): Likewise.
1841 * math/s_cprojl.c (__cprojl): Likewise.
1842 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1843 * math/libm-test.inc (cproj_test_data): Add more tests.
1844
0716c4fc
JM
1845 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1846
42c8fdd8
JM
1847 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1848 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1849 size. Use __ffs to determine corresponding shift.
1850
b31469d0
JM
18512013-08-20 Joseph Myers <joseph@codesourcery.com>
1852 Roland McGrath <roland@hack.frob.com>
1853
1854 * Makefile (INSTALL): Remove trailing blank lines from output of
1855 makeinfo.
1856
4e39af6e
AK
18572013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1858
1859 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1860 Align 32 bit compat elf_greg to 8 bytes.
1861
f315524e
AA
18622013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1863
1864 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1865
1326ba1a
SP
18662013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1867
1868 * string/strcoll_l.c (coll_seq): New structure.
1869 (get_next_seq_cached): New function.
1870 (get_next_seq): New function.
1871 (do_compare): New function.
1872 (STRCOLL): Use GNU style definition. Simplify implementation
1873 by using get_next_seq, get_next_seq_cached and do_compare.
1874
91ce4085
FW
18752013-08-16 Florian Weimer <fweimer@redhat.com>
1876
1877 [BZ #14699]
1878 CVE-2013-4237
1879 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1880 member.
1881 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1882 member.
1883 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1884 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1885 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1886 conditional.
1887 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1888 GETDENTS_64BIT_ALIGNED.
1889 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1890 * manual/filesys.texi (Reading/Closing Directory): Document
1891 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1892 strongly.
1893 * manual/conf.texi (Limits for Files): Add portability note to
1894 NAME_MAX, PATH_MAX.
1895 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1896
ca0a6bc4
AS
18972013-08-13 Andreas Schwab <schwab@suse.de>
1898
1899 [BZ #15749]
1900 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1901 of fabs.
1902 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1903 LDBL_MAX_EXP >= 16384]: Add tests for it.
1904
6c1fd795
DM
19052013-08-12 David S. Miller <davem@davemloft.net>
1906
1907 * version.h (RELEASE): Set to "development".
1908 (VERSION): Set to "2.18.90".
1909 * NEWS: Add 2.19 section.
1910
31ad488d
DM
19112013-08-03 David S. Miller <davem@davemloft.net>
1912
1913 * po/ko.po: Update Korean translation from translation project.
1914
db24e684
DM
19152013-08-01 David S. Miller <davem@davemloft.net>
1916
1917 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1918 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1919 Bilka.
1920
f723285b
DM
19212013-07-30 David S. Miller <davem@davemloft.net>
1922
1923 * po/fr.po: Update French translation from translation project.
1924
3cbc52db
DM
19252013-07-28 David S. Miller <davem@davemloft.net>
1926
30bbc0cc
DM
1927 * po/cs.po: Update Czech translation from translation project.
1928
3cbc52db
DM
1929 * po/sv.po: Update Swedish translation from translation project.
1930
d492e6d0
DM
19312013-07-27 David S. Miller <davem@davemloft.net>
1932
f1a7f492
DM
1933 * po/eo.po: Update Esperanto translation from translation project.
1934
90e62a4a
DM
1935 * po/vi.po: Update Vietnamese translation from translation project.
1936
d492e6d0
DM
1937 * po/de.po: Update German translation from translation project.
1938
d4baa62d
DM
19392013-07-26 David S. Miller <davem@davemloft.net>
1940
641aa7b4
DM
1941 * po/bg.po: Update Bulgarian translation from translation project.
1942
d4baa62d
DM
1943 * po/nl.po: Update Dutch translation from translation project.
1944 * po/pl.po: Update Polish translation from translation project.
1945 * po/ru.po: Update Russian translation from translation project.
1946
61a9dcb9
DM
19472013-07-24 David S. Miller <davem@davemloft.net>
1948
1949 * po/libc.pot: Update.
1950
7b1f8b58
AZ
19512013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1952
1953 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1954 variable page size.
1955 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1956 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1957 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1958
a8fc7a03
AK
19592013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1960
1961 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1962
e4608715
CD
19632013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1964 Andreas Schwab <schwab@suse.de>
1965 Roland McGrath <roland@hack.frob.com>
1966 Joseph Myers <joseph@codesourcery.com>
1967 Carlos O'Donell <carlos@redhat.com>
1968
1969 [BZ #15755]
1970 * config.h.in: Define HAVE_PT_CHOWN.
1971 * config.make.in (build-pt-chown): New variable.
1972 * configure.in (--enable-pt_chown): New configure option.
1973 * configure: Regenerate.
1974 * login/Makefile: Include Makeconfig. Build pt_chown only if
1975 build-pt-chown is enabled.
1976 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1977 pt_chown to fix pty ownership.
1978 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1979 CLOSE_ALL_FDS.
1980 * manual/install.texi (Configuring and compiling): Mention
1981 --enable-pt_chown. Add @findex for grantpt.
1982 * INSTALL: Regenerate.
1983
da2d62df
DM
19842013-07-20 David S. Miller <davem@davemloft.net>
1985
1986 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1987 difference between 32-bit and 64-bit.
1988
d7e06450
CD
19892013-07-15 Carlos O'Donell <carlos@redhat.com>
1990
1991 [BZ #15711]
1992 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1993 Avoid system header dependency with -ffreestanding.
1994 ($(objpfx)bits/syscall%d): Likewise.
1995
f959cfd7
DM
19962013-07-13 David S. Miller <davem@davemloft.net>
1997
1998 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1999 underflows from atanl/atan2l due to bug 15319.
2000 (casinh_test_data): Likewise.
2001
c61f8513
DM
20022013-07-07 David S. Miller <davem@davemloft.net>
2003
2004 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2005
72c90ed0
JA
20062013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2007
2008 * sysdeps/i386/fpu/libm-test-ulps: Update.
2009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2010
52dfbe13
SP
20112013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2012
2013 * configure.in (--enable-lock-elision): Fix message text.
2014 * INSTALL: Regenerate.
2015 * configure: Regenerate.
2016
3f169543
AZ
20172013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2018
2019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2020
521c6785
AJ
20212013-07-03 Andreas Jaeger <aj@suse.de>
2022
2023 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2024 define.
2025 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2026 (ptrace_peeksiginfo_args): Add.
2027 (__ptrace_peeksiginfo_flags): Add.
2028 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2029 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2030 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2031
d2cc15cb
AM
20322013-07-03 Allan McRae <allan@archlinux.org>
2033
2034 * sysdeps/i386/fpu/libm-test-ulps: Update.
2035
3aaeeca7
DM
20362013-07-02 David S. Miller <davem@davemloft.net>
2037
2038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2039
5314ed1a
MT
20402013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2041
2042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2043
67338156
JM
20442013-07-02 Joseph Myers <joseph@codesourcery.com>
2045
2046 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2048
1717da59
AK
20492013-07-02 Andi Kleen <ak@linux.intel.com>
2050
2051 * config.h.in (ENABLE_LOCK_ELISION): Add.
2052 * configure.in (--enable-lock-elision): Add option.
2053 * manual/install.texi: Document --enable lock elision.
2054 * configure: Regenerate
2055 * INSTALL: Regenerate.
2056
1c81621c
L
20572013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2058
2059 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2060 SSE4.2 strcasecmp for libc.a.
2061 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2062
77f01ab5
JM
20632013-07-02 Joseph Myers <joseph@codesourcery.com>
2064
2065 [BZ #13304]
2066 * soft-fp/op-common.h (_FP_FMA): New macro.
2067 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2068 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2069 (_FP_MUL_MEAT_1_imm): ... here.
2070 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2071 (_FP_MUL_MEAT_1_wide): ... here.
2072 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2073 (_FP_MUL_MEAT_1_hard): ... here.
2074 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2075 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2076 (_FP_MUL_MEAT_2_wide): ... here.
2077 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2078 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2079 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2080 (_FP_MUL_MEAT_2_gmp): ... here.
2081 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2082 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2083 (_FP_MUL_MEAT_4_wide): ... here.
2084 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2085 (_FP_MUL_MEAT_4_gmp): ... here.
2086 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2087 (_FP_WFRACBITS_DW_S): Likewise.
2088 (_FP_WFRACXBITS_DW_S): Likewise.
2089 (_FP_HIGHBIT_DW_S): Likewise.
2090 (FP_FMA_S): Likewise.
2091 (_FP_FRAC_HIGH_DW_S): Likewise.
2092 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2093 (_FP_WFRACBITS_DW_D): Likewise.
2094 (_FP_WFRACXBITS_DW_D): Likewise.
2095 (_FP_HIGHBIT_DW_D): Likewise.
2096 (FP_FMA_D): Likewise.
2097 (_FP_FRAC_HIGH_DW_D): Likewise.
2098 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2099 (_FP_WFRACBITS_DW_E): Likewise.
2100 (_FP_WFRACXBITS_DW_E): Likewise.
2101 (_FP_HIGHBIT_DW_E): Likewise.
2102 (FP_FMA_E): Likewise.
2103 (_FP_FRAC_HIGH_DW_E): Likewise.
2104 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2105 (_FP_WFRACBITS_DW_Q): Likewise.
2106 (_FP_WFRACXBITS_DW_Q): Likewise.
2107 (_FP_HIGHBIT_DW_Q): Likewise.
2108 (FP_FMA_Q): Likewise.
2109 (_FP_FRAC_HIGH_DW_Q): Likewise.
2110 * soft-fp/fmasf4.c: New file.
2111 * soft-fp/fmadf4.c: Likewise.
2112 * soft-fp/fmatf4.c: Likewise.
2113
6308fd9a
LD
21142013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2115
2116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2117 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2118 Silvermont.
2119 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2120 macro.
2121 (index_Slow_SSE4_2): Likewise.
2122 (index_Prefer_PMINUB_for_stringop): Likewise.
2123 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2124 bit_Slow_SSE4_2 is set.
2125 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2126 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2127
89cd9569
RA
21282013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2129
2130 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2131 rtld_global._dl_hwcap2.
2132 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2133 POWER8.
2134 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2135 POWER8 feature descriptions defined in _dl_hwcap2.
2136 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2137 string handling for POWER8 feature bits.
2138 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2139 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2140 _dl_powerpc_cap_flags.
2141 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2142 * sysdeps/powerpc/rtld-global-offsets.sym
2143 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2144 _dl_hwcap2 in the rtld_global_ro structure.
2145
1ae8bfe0
RA
21462013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2147
2148 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2149 hardware capabilities in support of AT_HWCAP2.
2150 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2151 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2152 GLRO(dl_hwcap2).
2153 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2154 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2155 explicitly the unknown a_type display mechanism is used.
2156 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2157 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2158 struct member.
2159 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2160 to macro prototype for AT_HWCAP2 support.
2161 * sysdeps/i386/dl-procinfo.h: Likewise.
2162 * sysdeps/s390/dl-procinfo.h: Likewise.
2163 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2164 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2165 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2166 return -1 for unknown a_type display fallback.
2167 * sysdeps/sparc/dl-procinfo.h: Likewise.
2168 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2169 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2170
8fbec010
JM
21712013-06-28 Joseph Myers <joseph@codesourcery.com>
2172
2173 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2174 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2175
0432680e
PY
21762013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2177
2178 [BZ #12492]
2179 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2180 mprotect making __stack_prot writable.
2181
ce61a2ad
NF
21822013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2183 Joseph Myers <joseph@codesourcery.com>
2184
2185 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2186 as being properly aligned.
2187
f91f1c0f
MR
21882013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2189
3d0f5d0c
MR
2190 * dlfcn/modstatic5.c: New file.
2191 * dlfcn/tststatic5.c: New file.
2192 * dlfcn/Makefile (tests): Add tststatic5.
2193 (tests-static): Likewise.
2194 (modules-names): Add modstatic5.
2195 (tststatic5-ENV): New variable.
2196 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2197
f91f1c0f
MR
2198 [BZ #15022]
2199 * elf/dl-support.c (_dl_main_map): New variable.
2200 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2201 (_dl_nns, _dl_load_adds): Set to 1.
2202 (_dl_initial_searchlist): Refer to _dl_main_map.
2203 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2204 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2205 call to _dl_get_origin.
2206 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2207 around call_map.
2208 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2209 * dlfcn/modstatic3.c: New file.
2210 * dlfcn/tststatic3.c: New file.
2211 * dlfcn/tststatic4.c: New file.
2212 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2213 (tests-static): Likewise.
2214 (modules-names): Add modstatic3.
2215 (tststatic3-ENV, tststatic4-ENV): New variables.
2216 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2217 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2218
cbe7d24b
JM
22192013-06-26 Joseph Myers <joseph@codesourcery.com>
2220
2221 * configure.in (CC): Require GCC version 4.4 or later.
2222 * configure: Regenerated.
2223 * manual/install.texi (Tools for Compilation): Update GCC version
2224 requirement.
2225 * INSTALL: Regenerated.
2226
11b8a0e1
LD
22272013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2228
2229 [BZ #15674]
bb5bb87c
L
2230 * string/test-memcmp.c (check2): New.
2231 (main): Call check2.
2232
11b8a0e1
LD
2233 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2234
b0037103
MR
22352013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2236
2237 [BZ #15022]
2238 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2239 over to...
2240 (dl_open_worker) [!SHARED]: ... here.
2241
c18c701d
RA
22422013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2243
2244 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2245
1d17fa5f
RH
22462013-06-25 Richard Henderson <rth@redhat.com>
2247
2248 * locale/programs/locarchive.c: Include <libc-internal.h>
2249
8fcb833a
JM
22502013-06-25 Joseph Myers <joseph@codesourcery.com>
2251
2252 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2253 trailing whitespace removed.
2254
17db6e8d
MF
22552013-06-24 Mike Frysinger <vapier@gentoo.org>
2256
2257 [BZ #10283]
17db6e8d
MF
2258 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2259 * locale/programs/locarchive.c: Include libc-mmap.h.
2260 (prepare_address_space): Take two new outputs (the mmap base and len).
2261 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2262 values.
2263 (create_archive): Declare new mmap base and len values for
2264 prepare_address_space, and store the result in ah.
2265 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2266 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2267 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2268 Declare new mmap base and len values for
2269 prepare_address_space, and store the result in new_ah.
2270 (open_archive): Declare new mmap base and len values for
2271 prepare_address_space, and store the result in ah.
2272 (close_archive): If ah->mmap_base is not NULL, use that and
2273 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2274 * sysdeps/generic/libc-mmap.h: New file.
2275
d605071e
MF
22762013-06-24 Mike Frysinger <vapier@gentoo.org>
2277
2278 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2279 (ALIGN_UP): Likewise.
2280 (PTR_ALIGN_DOWN): Likewise.
2281 (PTR_ALIGN_UP): Likewise.
2282
2f063a6e
RA
22832013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2284
2285 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2286 entry mapped to PPC_PLATFORM_POWER8.
2287 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2288 POWER8.
2289 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2290 (_dl_string_platform): Add case for exporting platform position for
2291 POWER8.
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2293 search path to sysdeps/powerpc/powerpc32/power8 directory.
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2295 search path to sysdeps/powerpc/powerpc64/power8 directory.
2296 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2297 power7 directories.
2298 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2299 power7 directories.
2300
a31ee4b3
SP
23012013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2302
a74ca98f
SP
2303 * INSTALL: Regenerate.
2304
a31ee4b3
SP
2305 * nscd/connections.c (nscd_init): Fix comment.
2306
695c378f
JM
23072013-06-22 Joseph Myers <joseph@codesourcery.com>
2308
d8412221
JM
2309 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2310
695c378f
JM
2311 [BZ #15667]
2312 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2313 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2314
d1d54715
MR
23152013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2316
2317 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2318 DL_DST_REQ_STATIC.
2319 (DL_DST_REQ_STATIC): Remove macro.
2320
8fdda7af
JM
23212013-06-21 Joseph Myers <joseph@codesourcery.com>
2322
2323 [BZ #7006]
2324 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2325 with a shift of 0 bits.
2326
f3bc5e5a
MR
23272013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2328
2329 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2330 $(tststatic-ENV).
2331
be09e8c9
KK
23322013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2333
2334 [BZ #15655]
2335 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2336
85c2e611
AZ
23372013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2338
2339 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2340 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2341 accepts -fno-tree-loop-distribute-patterns.
2342 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2343 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2344 recursive call.
2345 * string/memset.c (memset): Likewise.
2346 * string/test-memmove.c (simple_memmove): Disable loop transformation
2347 to library calls.
2348 * string/test-memset.c (simple_memset): Likewise.
2349 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2350 * benchtests/bench-memset.c (simple_memset): Likewise.
2351 * configure: Regenerated.
2352
c91e0825
JM
23532013-06-20 Joseph Myers <joseph@codesourcery.com>
2354
b8c792af
JM
2355 * math/test-misc.c (main): Ignore fesetround failure when failures
2356 of subsequent rounding tests would be ignored.
2357
c91e0825
JM
2358 [BZ #15654]
2359 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2360 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2361 * math/fegetenv.c (__fegetenv): Return 0.
2362 * math/fegetexcept.c (fegetexcept): Return 0.
2363 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2364 FE_TONEAREST.
2365 * math/feholdexcpt.c (feholdexcept): Return 0.
2366 * math/fesetenv.c (__fesetenv): Return 0.
2367 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2368 argument FE_TONEAREST.
2369 * math/feupdateenv.c (__feupdateenv): Return 0.
2370 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2371
bfcacbde
RM
23722013-06-18 Roland McGrath <roland@hack.frob.com>
2373
2374 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2375 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2376 ($(objpfx)rtld-%.os rules): Use them.
2377
e55a9b25
AZ
23782013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2379
2380 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2381 fields.
2382
346d65b3
RM
23832013-06-17 Roland McGrath <roland@hack.frob.com>
2384
12086fb4
RM
2385 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2386 length of target pattern, then descending length of dependency pattern.
2387 * configure.in (AWK): Require gawk 3.1.2 or newer.
2388 * manual/install.texi (Tools for Compilation): Say that we do.
2389 * configure: Regenerated.
2390
346d65b3
RM
2391 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2392 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2393 * scripts/sysd-rules.awk: ... this new script.
2394 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2395 than a glob-style pattern.
2396
1a846317
JM
23972013-06-17 Joseph Myers <joseph@codesourcery.com>
2398
2399 * math/test-misc.c (main): Do not treat incorrectly rounded
2400 conversions as failure unless ROUNDING_TESTS passes.
2401
8fc75e6f
JM
24022013-06-15 Joseph Myers <joseph@codesourcery.com>
2403
3711a167
JM
2404 [BZ #15631]
2405 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2406 restore exception state around main square root computation, then
2407 check for inexactness explicitly.
2408
8fc75e6f
JM
2409 * math/libm-test.inc (fma_test_data): Add another test.
2410
61dd6208
SP
24112013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2412
adf23d2c
SP
2413 * manual/threads.texi (Non-POSIX Extensions): New document
2414 node. Document pthread_getattr_default_np and
2415 pthread_setattr_default_np.
2416
61dd6208
SP
2417 * Versions.def (libpthread): Add GLIBC_2.18.
2418 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2420 Likewise.
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2422 Likewise.
2423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2424 Likewise.
2425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2426 Likewise.
2427 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2428 Likewise.
2429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2430 Likewise.
2431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2432 Likewise.
2433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2434 Likewise.
2435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2436 Likewise.
2437
d086fc7b
LD
24382013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2439
2440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2441 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2442
747ef469
SP
24432013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2444 H.J. Lu <hjl.tools@gmail.com>
2445
2446 [BZ #15627]
2447 * sysdeps/x86_64/rtld-memset.c: Remove file.
2448 * sysdeps/x86_64/rtld-memset.S: New file.
2449
1b2feed2
JM
24502013-06-14 Joseph Myers <joseph@codesourcery.com>
2451
2452 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2453 (test_in_one_mode): Take arguments for whether the rounding mode
2454 is supported for each floating-point type.
2455 (do_test): Pass new arguments to test_in_one_mode using
2456 ROUNDING_TESTS.
2457
a58ad3f8
RM
24582013-06-13 Roland McGrath <roland@hack.frob.com>
2459
2460 * posix/tst-waitid.c (do_test): Distinguish different instances of
2461 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2462 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2463 before entering the kernel for waitpid.
2464
c204ab28
SP
24652013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2466
2467 * NEWS: Fix note on clock function precision. Text by Roland
2468 McGrath.
2469
f4a29fba
RM
24702013-06-13 Roland McGrath <roland@hack.frob.com>
2471
2472 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2473 it into place only when and if the sanity check passes.
2474
1f24b9ad
JM
24752013-06-13 Joseph Myers <joseph@codesourcery.com>
2476
2477 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2478 output for whether conversion result is exact. Take argument
2479 indicating whether type is IBM long double.
2480 (round_for_all): Change need_exact field to ibm_ld.
2481 * stdlib/tst-strtod-round.c (struct exactness): New type.
2482 (struct test): Change bool ld_ok field to struct exactness exact.
2483 (TEST): Update all definitions for change to field.
2484 (tests): Regenerate array contents.
2485 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2486 field value. Check for IBM long double here.
2487 (do_test): Update calls to test_in_one_mode.
2488
58206c68
SP
24892013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2490
2491 [BZ #12515]
2492 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2493 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2494
2d6f4c5b 24952013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
2496
2497 [BZ #15605]
2498 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2499 generated by the compiler on loop optimizations.
2500 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2501 general definitions.
2502
94f2c076
JM
25032013-06-12 Joseph Myers <joseph@codesourcery.com>
2504
2505 * math/bug-nextafter.c: Include <math-tests.h>.
2506 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2507 the relevant type.
2508 * math/bug-nexttoward.c: Include <math-tests.h>.
2509 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2510 the relevant type.
2511 * math/test-misc.c: Include <math-tests.h>.
2512 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2513 the relevant type.
2514
e0e50a0a
AJ
25152013-06-12 Andreas Jaeger <aj@suse.de>
2516
2517 * po/ia.po: Update Interlingua translation from translation
2518 project.
2519
25061094
SP
25202013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2521
2522 * include/fenv.h: Include stdbool.h.
2523 (struct rm_ctx): New structure.
2524 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2525 Define macro.
2526 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2527 (SET_RESTORE_ROUNDF): Likewise.
2528 (SET_RESTORE_ROUNDL): Likewise.
2529 (SET_RESTORE_ROUND_NOEX): Likewise.
2530 (SET_RESTORE_ROUND_NOEXF): Likewise.
2531 (SET_RESTORE_ROUND_NOEXL): Likewise.
2532 (SET_RESTORE_ROUND_53BIT): Likewise.
2533 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2534 (libc_feresetround_noexf_ctx): Likewise.
2535 (libc_feresetround_noexl_ctx): Likewise.
2536 (libc_feholdsetround_53bit_ctx): Likewise.
2537 (libc_feresetround_53bit_ctx): Likewise.
2538 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2539 (libc_feholdexcept_setround_sse_ctx): New function.
2540 (libc_fesetenv_sse_ctx): Likewise.
2541 (libc_feupdateenv_sse_ctx): Likewise.
2542 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2543 (libc_feholdexcept_setround_387_ctx): Likewise.
2544 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2545 (libc_feholdsetround_387_prec_ctx): Likewise.
2546 (libc_feholdsetround_387_ctx): Likewise.
2547 (libc_feholdsetround_387_53bit_ctx): Likewise.
2548 (libc_feholdsetround_sse_ctx): Likewise.
2549 (libc_feresetround_sse_ctx): Likewise.
2550 (libc_feresetround_387_ctx): Likewise.
2551 (libc_feupdateenv_387_ctx): Likewise.
2552 (libc_feholdexcept_setroundf_ctx): Define macro.
2553 (libc_fesetenvf_ctx): Likewise.
2554 (libc_feupdateenvf_ctx): Likewise.
2555 (libc_feholdsetroundf_ctx): Likewise.
2556 (libc_feresetroundf_ctx): Likewise.
2557 (libc_feholdexcept_setround_ctx): Likewise.
2558 (libc_fesetenv_ctx): Likewise.
2559 (libc_feupdateenv_ctx): Likewise.
2560 (libc_feholdsetround_ctx): Likewise.
2561 (libc_feresetround_ctx): Likewise.
2562 (libc_feholdexcept_setroundl_ctx): Likewise.
2563 (libc_feupdateenvl_ctx): Likewise.
2564 (libc_feholdsetroundl_ctx): Likewise.
2565 (libc_feresetroundl_ctx): Likewise.
2566 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2567 (libc_feresetround_53bit_ctx): Likewise.
2568
59b30555
SP
25692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2570
2571 * locale/iso-639.def: Convert to UTF-8.
2572
f1d73d30
JM
25732013-06-11 Joseph Myers <joseph@codesourcery.com>
2574
2575 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2576 (EXCEPTION_TESTS_double): Likewise.
2577 (EXCEPTION_TESTS_long_double): Likewise.
2578 (EXCEPTION_TESTS): Likewise.
2579 * math/libm-test.inc (test_exceptions): Only test exceptions if
2580 EXCEPTION_TESTS (FLOAT).
2581
94aca5e7
SP
25822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2583
2584 * benchtests/Makefile (string-bench): Add strcpy_chk and
2585 stpcpy_chk.
2586 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2587 * benchtests/bench-stpcpy_chk.c: New file.
2588 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2589 * benchtests/bench-strcpy_chk.c: New file.
2590 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2591 code.
2592 (do_test): Likewise.
2593
fac0c5f2
RA
25942013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2595
2596 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2597 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2598 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2599 with tabs where appropriate.
2600 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2601 dl-procinfo.h.
2602 [PPC_PLATFORM_PPC440]: Likewise.
2603 [PPC_PLATFORM_PPC464]: Likewise.
2604 [PPC_PLATFORM_PPC476]: Likewise.
2605 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2606 ppc464, and ppc476 platform strings merging from ports/
2607 dl-procinfo.h.
2608
f22bc486
AS
26092013-06-11 Andreas Schwab <schwab@suse.de>
2610
2611 [BZ #14991]
2612 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2613 (from_ucs4_idx): Regenerate.
2614 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2615 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2616 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2617 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2618 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2619 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2620 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2621 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2622 from FROM_LOOP and TO_LOOP specific macros.
2623 (BODY): Handle combining characters.
2624 * iconvdata/BIG5HKSCS.irreversible: Update.
2625 * iconvdata/BIG5HKSCS.precomposed: New file.
2626 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2627 characters.
2628 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2629
c1f75dc3
SP
26302013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2631
4eacded2
SP
2632 * include/sys/time.h: Fix indentation and add copyright header.
2633
fec799f8
SP
2634 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2635 (do_test): Likewise.
2636 * string/test-memchr.c (do_one_test): Likewise.
2637 (do_test): Likewise.
2638 * string/test-memcmp.c (do_one_test): Likewise.
2639 (do_test): Likewise.
2640 * string/test-memcpy.c (do_one_test): Likewise.
2641 (do_test): Likewise.
2642 * string/test-memmem.c (do_one_test): Likewise.
2643 (do_test): Likewise.
2644 (do_random_tests): Likewise.
2645 * string/test-memmove.c (do_one_test): Likewise.
2646 (do_test): Likewise.
2647 * string/test-memset.c (do_one_test): Likewise.
2648 (do_test): Likewise.
2649 * string/test-rawmemchr.c (do_one_test): Likewise.
2650 (do_test): Likewise.
2651 * string/test-strcasecmp.c (do_one_test): Likewise.
2652 (do_test): Likewise.
2653 * string/test-strcasestr.c (do_one_test): Likewise.
2654 (do_test): Likewise.
2655 * string/test-strcat.c (do_one_test): Likewise.
2656 (do_test): Likewise.
2657 * string/test-strchr.c (do_one_test): Likewise.
2658 (do_test): Likewise.
2659 * string/test-strcmp.c (do_one_test): Likewise.
2660 (do_test): Likewise.
2661 * string/test-strcpy.c (do_one_test): Likewise.
2662 (do_test): Likewise.
2663 * string/test-string.h: Likewise.
2664 (test_init): Likewise.
2665 * string/test-strlen.c (do_one_test): Likewise.
2666 (do_test): Likewise.
2667 * string/test-strncasecmp.c (do_one_test): Likewise.
2668 (do_test): Likewise.
2669 * string/test-strncat.c (do_one_test): Likewise.
2670 (do_test): Likewise.
2671 * string/test-strncmp.c (do_one_test): Likewise.
2672 (do_test_limit): Likewise.
2673 (do_test): Likewise.
2674 * string/test-strncpy.c (do_one_test): Likewise.
2675 (do_test): Likewise.
2676 * string/test-strnlen.c (do_one_test): Likewise.
2677 (do_test): Likewise.
2678 * string/test-strpbrk.c (do_one_test): Likewise.
2679 (do_test): Likewise.
2680 * string/test-strrchr.c (do_one_test): Likewise.
2681 (do_test): Likewise.
2682 * string/test-strspn.c (do_one_test): Likewise.
2683 (do_test): Likewise.
2684 * string/test-strstr.c (do_one_test): Likewise.
2685 (do_test): Likewise.
2686
97020474
SP
2687 * benchtests/Makefile (string-bench): Add string benchmarks.
2688 * benchtests/bench-bcopy-ifunc.c: New file.
2689 * benchtests/bench-bcopy.c: New file.
2690 * benchtests/bench-bzero-ifunc.c: New file.
2691 * benchtests/bench-bzero.c: New file.
2692 * benchtests/bench-memccpy-ifunc.c: New file.
2693 * benchtests/bench-memccpy.c: New file.
2694 * benchtests/bench-memchr-ifunc.c: New file.
2695 * benchtests/bench-memchr.c: New file.
2696 * benchtests/bench-memcmp-ifunc.c: New file.
2697 * benchtests/bench-memcmp.c: New file.
2698 * benchtests/bench-memmem-ifunc.c: New file.
2699 * benchtests/bench-memmem.c: New file.
2700 * benchtests/bench-memmove-ifunc.c: New file.
2701 * benchtests/bench-memmove.c: New file.
2702 * benchtests/bench-mempcpy-ifunc.c: New file.
2703 * benchtests/bench-mempcpy.c: New file.
2704 * benchtests/bench-memset-ifunc.c: New file.
2705 * benchtests/bench-memset.c: New file.
2706 * benchtests/bench-rawmemchr-ifunc.c: New file.
2707 * benchtests/bench-rawmemchr.c: New file.
2708 * benchtests/bench-stpcpy-ifunc.c: New file.
2709 * benchtests/bench-stpcpy.c: New file.
2710 * benchtests/bench-stpncpy-ifunc.c: New file.
2711 * benchtests/bench-stpncpy.c: New file.
2712 * benchtests/bench-strcasecmp-ifunc.c: New file.
2713 * benchtests/bench-strcasecmp.c: New file.
2714 * benchtests/bench-strcasestr-ifunc.c: New file.
2715 * benchtests/bench-strcasestr.c: New file.
2716 * benchtests/bench-strcat-ifunc.c: New file.
2717 * benchtests/bench-strcat.c: New file.
2718 * benchtests/bench-strchr-ifunc.c: New file.
2719 * benchtests/bench-strchr.c: New file.
2720 * benchtests/bench-strchrnul-ifunc.c: New file.
2721 * benchtests/bench-strchrnul.c: New file.
2722 * benchtests/bench-strcmp-ifunc.c: New file.
2723 * benchtests/bench-strcmp.c: New file.
2724 * benchtests/bench-strcpy-ifunc.c: New file.
2725 * benchtests/bench-strcpy.c: New file.
2726 * benchtests/bench-strcspn-ifunc.c: New file.
2727 * benchtests/bench-strcspn.c: New file.
2728 * benchtests/bench-strlen-ifunc.c: New file.
2729 * benchtests/bench-strlen.c: New file.
2730 * benchtests/bench-strncasecmp-ifunc.c: New file.
2731 * benchtests/bench-strncasecmp.c: New file.
2732 * benchtests/bench-strncat-ifunc.c: New file.
2733 * benchtests/bench-strncat.c: New file.
2734 * benchtests/bench-strncmp-ifunc.c: New file.
2735 * benchtests/bench-strncmp.c: New file.
2736 * benchtests/bench-strncpy-ifunc.c: New file.
2737 * benchtests/bench-strncpy.c: New file.
2738 * benchtests/bench-strnlen-ifunc.c: New file.
2739 * benchtests/bench-strnlen.c: New file.
2740 * benchtests/bench-strpbrk-ifunc.c: New file.
2741 * benchtests/bench-strpbrk.c: New file.
2742 * benchtests/bench-strrchr-ifunc.c: New file.
2743 * benchtests/bench-strrchr.c: New file.
2744 * benchtests/bench-strspn-ifunc.c: New file.
2745 * benchtests/bench-strspn.c: New file.
2746 * benchtests/bench-strstr-ifunc.c: New file.
2747 * benchtests/bench-strstr.c: New file.
2748
c1f75dc3
SP
2749 * benchtests/Makefile: Disable parallel execution of targets.
2750 (string-bench): Add memcpy.
2751 (benchset): New variable to store a list of benchmark sets.
2752 (bench-func): Renamed from bench.
2753 (bench-set): New target.
2754 (bench): Depend on bench-func and bench-set.
2755 * benchtests/README: Add section on benchmark sets.
2756 * benchtests/bench-memcpy-ifunc.c: New file.
2757 * benchtests/bench-memcpy.c: New file.
2758 * benchtests/bench-string.h: New file.
2759
50fd745b
AS
27602013-06-11 Andreas Schwab <schwab@suse.de>
2761
2762 [BZ #15577]
2763 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2764 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2765 values in the triple.
2766 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2767 terminator in the group key.
2768
3ee7e9fe
AJ
27692013-06-11 Andreas Jaeger <aj@suse.de>
2770
2771 * po/zh_TW.po: Update Chinese (traditional) translation from
2772 translation project.
2773
89fb6835
SP
27742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2775
2776 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2777 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2778 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2779 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2780 (clock_getcpuclockid): Likewise.
2781 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2782 Add weak_alias and libc_hidden_def.
2783 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2784 * rt/clock_gettime.c (clock_gettime): Rename to
2785 __clock_gettime. Add weak_alias and libc_hidden_def.
2786 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2787 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2788 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2789 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2790 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2791 Likewise.
2792 * rt/clock_settime.c (clock_settime): Rename to
2793 __clock_settime. Add weak_alias and libc_hidden_def.
2794 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2795
0efa6f8b
JM
27962013-06-10 Joseph Myers <joseph@codesourcery.com>
2797
b8c61b4b
JM
2798 * mach/err_boot.sub: Remove trailing whitespace.
2799 * mach/err_ipc.sub: Likewise.
2800 * mach/err_mach.sub: Likewise.
2801
0efa6f8b
JM
2802 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2803 (ROUNDING_TESTS_double): Likewise.
2804 (ROUNDING_TESTS_long_double): Likewise.
2805 (ROUNDING_TESTS): Likewise.
2806 * math/libm-test.inc: Include <math-tests.h>.
2807 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2808 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2809 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2810 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2811
50b818bf
SP
28122013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2813
2814 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2815 of assigning.
2816
60d2f8f3
JM
28172013-06-08 Joseph Myers <joseph@codesourcery.com>
2818
4902d2c3
JM
2819 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2820 otherwise empty TRANS lines.
2821 * sysdeps/gnu/errlist.c: Regenerated.
2822
60d2f8f3
JM
2823 * catgets/gencat.c (error_print): Use (void) in function
2824 definition.
2825 * crypt/crypt_util.c (__init_des): Likewise.
2826 * crypt/speeds.c (Stop): Likewise.
2827 (main): Likewise.
2828 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2829 * inet/ruserpass.c (token): Likewise.
2830 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2831 * intl/localealias.c (extend_alias_table): Likewise.
2832 * intl/plural-exp.c (init_germanic_plural): Likewise.
2833 * libio/fcloseall.c (__fcloseall): Likewise.
2834 * libio/genops.c (_IO_flush_all): Likewise.
2835 (_IO_flush_all_linebuffered): Likewise.
2836 (_IO_cleanup): Likewise.
2837 (_IO_iter_begin): Likewise.
2838 (_IO_iter_end): Likewise.
2839 (_IO_list_lock): Likewise.
2840 (_IO_list_unlock): Likewise.
2841 (_IO_list_resetlock): Likewise.
2842 * libio/getchar.c (getchar): Likewise.
2843 * libio/getchar_u.c (getchar_unlocked): Likewise.
2844 * libio/getwchar.c (getwchar): Likewise.
2845 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2846 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2847 * login/getpt.c (__getpt): Likewise.
2848 * login/tst-utmp.c (main): Likewise.
2849 * malloc/hooks.c (__malloc_check_init): Likewise.
2850 * malloc/malloc.c (__malloc_stats): Likewise.
2851 * malloc/mtrace.c (tr_break): Likewise.
2852 (mtrace): Likewise.
2853 (muntrace): Likewise.
2854 * misc/fstab.c (endfsent): Likewise.
2855 * misc/getclktck.c (__getclktck): Likewise.
2856 * misc/getdtsz.c (__getdtablesize): Likewise.
2857 * misc/gethostid.c (gethostid): Likewise.
2858 * misc/getpagesize.c (__getpagesize): Likewise.
2859 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2860 (__get_nprocs): Likewise.
2861 (__get_phys_pages): Likewise.
2862 (__get_avphys_pages): Likewise.
2863 * misc/getttyent.c (getttyent): Likewise.
2864 (setttyent): Likewise.
2865 (endttyent): Likewise.
2866 * misc/getusershell.c (getusershell): Likewise.
2867 (endusershell): Likewise.
2868 (setusershell): Likewise.
2869 (initshells): Likewise.
2870 * misc/hsearch.c (__hdestroy): Likewise.
2871 * misc/sync.c (sync): Likewise.
2872 * misc/syslog.c (closelog_internal): Likewise.
2873 (closelog): Likewise.
2874 * misc/ttyslot.c (ttyslot): Likewise.
2875 * misc/vhangup.c (vhangup): Likewise.
2876 * posix/fork.c (__fork): Likewise.
2877 * posix/getegid.c (__getegid): Likewise.
2878 * posix/geteuid.c (__geteuid): Likewise.
2879 * posix/getgid.c (__getgid): Likewise.
2880 * posix/getpid.c (__getpid): Likewise.
2881 * posix/getppid.c (__getppid): Likewise.
2882 * posix/getuid.c (__getuid): Likewise.
2883 * posix/pause.c (pause): Likewise.
2884 * posix/setpgrp.c (setpgrp): Likewise.
2885 * posix/setsid.c (__setsid): Likewise.
2886 * posix/test-vfork.c (noop): Likewise.
2887 * resolv/gethnamaddr.c (_endhtent): Likewise.
2888 (_gethtent): Likewise.
2889 (ht_endhostent): Likewise.
2890 (gethostent): Likewise.
2891 (dns_service): Likewise.
2892 * stdlib/drand48.c (drand48): Likewise.
2893 * stdlib/lrand48.c (lrand48): Likewise.
2894 * stdlib/mrand48.c (mrand48): Likewise.
2895 * stdlib/rand.c (rand): Likewise.
2896 * stdlib/random.c (__random): Likewise.
2897 * stdlib/setenv.c (clearenv): Likewise.
2898 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2899 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2900 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2901 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2902 (__get_nprocs): Likewise.
2903 (__get_phys_pages): Likewise.
2904 (__get_avphys_pages): Likewise.
2905 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2906 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2907 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2908 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2909 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2910 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2911 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2912 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2913 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2914 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2915 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2916 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2917 * sysdeps/posix/clock.c (clock): Likewise.
2918 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2919 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2920 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2921 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2922 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2923 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2924 (__get_nprocs_conf): Likewise.
2925 (__get_phys_pages): Likewise.
2926 (__get_avphys_pages): Likewise.
2927 * time/clock.c (clock): Likewise.
2928 * time/tzset.c (__tzname_max): Likewise.
2929
2e09a79a
JM
29302013-06-07 Joseph Myers <joseph@codesourcery.com>
2931
2932 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2933 (__bswap_32): Do not use "register".
2934 * crypt/crypt.c (_ufc_doit_r): Likewise.
2935 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2936 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2937 * gmon/gmon.c (__monstartup): Likewise.
2938 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2939 * hurd/hurdmalloc.c (more_memory): Likewise.
2940 (malloc): Likewise.
2941 (free): Likewise.
2942 (realloc): Likewise.
2943 (malloc_fork_prepare): Likewise.
2944 (malloc_fork_parent): Likewise.
2945 (malloc_fork_child): Likewise.
2946 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2947 (_svcauth_des): Likewise.
2948 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2949 * inet/inet_net.c (inet_network): Likewise.
2950 * inet/inet_netof.c (inet_netof): Likewise.
2951 * inet/rcmd.c (__validuser2_sa): Likewise.
2952 * io/fts.c (fts_open): Likewise.
2953 (fts_load): Likewise.
2954 (fts_close): Likewise.
2955 (fts_read): Likewise.
2956 (fts_children): Likewise.
2957 (fts_build): Likewise.
2958 (fts_stat): Likewise.
2959 (fts_sort): Likewise.
2960 (fts_alloc): Likewise.
2961 (fts_lfree): Likewise.
2962 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2963 (_IO_file_xsgetn): Likewise.
2964 (_IO_file_xsgetn_mmap): Likewise.
2965 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2966 (_IO_cookie_write): Likewise.
2967 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2968 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2969 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2970 * malloc/obstack.c (_obstack_begin): Likewise.
2971 (_obstack_begin_1): Likewise.
2972 (_obstack_newchunk): Likewise.
2973 (_obstack_allocated_p): Likewise.
2974 (obstack_free): Likewise.
2975 (_obstack_memory_used): Likewise.
2976 * misc/getttyent.c (getttynam): Likewise.
2977 (getttyent): Likewise.
2978 (skip): Likewise.
2979 (value): Likewise.
2980 * misc/getusershell.c (initshells): Likewise.
2981 * misc/syslog.c (__vsyslog_chk): Likewise.
2982 * misc/ttyslot.c (ttyslot): Likewise.
2983 * nis/nis_hash.c (__nis_hash): Likewise.
2984 * posix/fnmatch_loop.c (FCT): Likewise.
2985 * posix/getconf.c (print_all): Likewise.
2986 (main): Likewise.
2987 * posix/getopt.c (exchange): Likewise.
2988 * posix/glob.c (globfree): Likewise.
2989 (prefix_array): Likewise.
2990 (__glob_pattern_type): Likewise.
2991 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2992 (NS_GET32): Likewise.
2993 (NS_PUT16): Likewise.
2994 (NS_PUT32): Likewise.
2995 * resolv/gethnamaddr.c (getanswer): Likewise.
2996 (gethostbyname2): Likewise.
2997 (gethostbyaddr): Likewise.
2998 (_gethtent): Likewise.
2999 (_gethtbyname2): Likewise.
3000 (_gethtbyaddr): Likewise.
3001 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3002 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3003 * resolv/res_init.c (__res_vinit): Likewise.
3004 (net_mask): Likewise.
3005 * resolv/res_mkquery.c (outchar): Likewise.
3006 (PRINT): Likewise.
3007 * stdio-common/printf_fp.c (outchar): Likewise.
3008 (PRINT): Likewise.
3009 * stdio-common/printf_fphex.c (outchar): Likewise.
3010 (PRINT): Likewise.
3011 * stdio-common/printf_size.c (outchar): Likewise.
3012 (PRINT): Likewise.
3013 * stdio-common/test_rdwr.c (main): Likewise.
3014 * stdio-common/tfformat.c (matches): Likewise.
3015 * stdio-common/vfprintf.c (outchar): Likewise.
3016 (printf_unknown): Likewise.
3017 (buffered_vfprintf): Likewise.
3018 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3019 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3020 (ReadFile): Likewise.
3021 * stdlib/qsort.c (SWAP): Likewise.
3022 (_quicksort): Likewise.
3023 * stdlib/setenv.c (__add_to_environ): Likewise.
3024 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3025 * stdlib/strtol_l.c (__strtol_l): Likewise.
3026 * stdlib/tst-strtod.c (main): Likewise.
3027 * stdlib/tst-strtol.c (main): Likewise.
3028 * stdlib/tst-strtoll.c (main): Likewise.
3029 * string/bits/string2.h (__strcmp_cc): Likewise.
3030 (__strcmp_cg): Likewise.
3031 (__strcspn_c1): Likewise.
3032 (__strcspn_c2): Likewise.
3033 (__strcspn_c3): Likewise.
3034 (__strspn_c1): Likewise.
3035 (__strspn_c2): Likewise.
3036 (__strspn_c3): Likewise.
3037 (__strsep_1c): Likewise.
3038 (__strsep_2c): Likewise.
3039 (__strsep_3c): Likewise.
3040 * string/memccpy.c (__memccpy): Likewise.
3041 * string/stpcpy.c (__stpcpy): Likewise.
3042 * string/strcmp.c (strcmp): Likewise.
3043 * string/strrchr.c (strrchr): Likewise.
3044 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3045 Likewise.
3046 * sysdeps/mach/hurd/getcwd.c
3047 (_hurd_canonicalize_directory_name_internal): Likewise.
3048 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3049 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3050 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3051 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3052 Likewise, in both definitions.
3053 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3054 definitions.
3055 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3056 64] (__bswap_64): Likewise.
3057 * time/test_time.c (main): Likewise.
3058 * time/tzfile.c (__tzfile_read): Likewise.
3059 (__tzfile_compute): Likewise.
3060 * time/tzset.c (__tzset_parse_tz): Likewise.
3061 (tzset_internal): Likewise.
3062 (compute_change): Likewise.
3063 * wcsmbs/wcscat.c (__wcscat): Likewise.
3064 * wcsmbs/wcschr.c (wcschr): Likewise.
3065 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3066 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3067 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3068 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3069 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3070 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3071 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3072 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3073 * wcsmbs/wmemset.c (wmemset): Likewise.
3074
9e54314b
JM
30752013-06-06 Joseph Myers <joseph@codesourcery.com>
3076
3077 * scripts/config.guess: Update to version 2013-05-16.
3078 * scripts/config.sub: Update to version 2013-04-24.
3079 * scripts/install-sh: Update to version 2011-11-20.07.
3080 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3081 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3082
350635a5
OB
30832013-06-06 Ondřej Bílka <neleai@seznam.cz>
3084
3085 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3086 * elf/sln.c: Likewise.
3087 * hurd/hurd/ioctl.h: Likewise.
3088 * hurd/hurdmalloc.c: Likewise.
3089 * hurd/xattr.c: Likewise.
3090 * include/shlib-compat.h: Likewise.
3091 * inet/ruserpass.c: Likewise.
3092 * libio/iofgets_u.c: Likewise.
3093 * libio/iofgetws_u.c: Likewise.
3094 * locale/programs/ld-identification.c: Likewise.
3095 * locale/programs/ld-time.c: Likewise.
3096 * mach/msg-destroy.c: Likewise.
3097 * nss/nss_files/files-netgrp.c: Likewise.
3098 * resolv/res_data.c: Likewise.
3099 * soft-fp/op-1.h: Likewise.
3100 * soft-fp/op-2.h: Likewise.
3101 * soft-fp/op-4.h: Likewise.
3102 * soft-fp/op-common.h: Likewise.
3103 * stdio-common/printf_fphex.c: Likewise.
3104 * stdlib/strtod_l.c: Likewise.
3105 * sunrpc/rpc/clnt.h: Likewise.
3106 * sysdeps/generic/framestate.c: Likewise.
3107 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3108 * sysdeps/i386/bsd-setjmp.S: Likewise.
3109 * sysdeps/i386/__longjmp.S: Likewise.
3110 * sysdeps/i386/setjmp.S: Likewise.
3111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3112 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3113 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3114 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3115 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3116 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3117 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3118 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3119 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3120 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3121 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3122 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3123 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3124 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3125 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3126 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3127 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3128 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3129 * sysdeps/ieee754/support.c: Likewise.
3130 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3131 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3132 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3133 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3134 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3135 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3136 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3137 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3138 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3139 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3140 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3141 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3142 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3143 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3144 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3145 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3146 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3148
44a988af
OB
31492013-06-05 Ondřej Bílka <neleai@seznam.cz>
3150
25506f09 3151 * posix/transbug.c: Remove executable mode.
44a988af 3152
9c84384c
JM
31532013-06-05 Joseph Myers <joseph@codesourcery.com>
3154
3155 * crypt/speeds.c: Remove trailing whitespace.
3156 * dlfcn/default.c: Likewise.
3157 * elf/ifuncdep2.c: Likewise.
3158 * elf/ifuncmain1.c: Likewise.
3159 * elf/ifuncmain1vis.c: Likewise.
3160 * elf/testobj.h: Likewise.
3161 * elf/tst-stackguard1.c: Likewise.
3162 * gmon/sys/gmon.h: Likewise.
3163 * hurd/hurdmsg.c: Likewise.
3164 * hurd/new-fd.c: Likewise.
3165 * hurd/ports-get.c: Likewise.
3166 * iconvdata/ibm1008_420.c: Likewise.
3167 * inet/tst-getni1.c: Likewise.
3168 * inet/tst-getni2.c: Likewise.
3169 * libio/ioungetc.c: Likewise.
3170 * libio/wfiledoalloc.c: Likewise.
3171 * manual/libm-err-tab.pl: Likewise.
3172 * math/w_dremf.c: Likewise.
3173 * misc/ftruncate.c: Likewise.
3174 * posix/bug-glob2.c: Likewise.
3175 * posix/tst-pcre.c: Likewise.
3176 * posix/wait4.c: Likewise.
3177 * resolv/README: Likewise.
3178 * resolv/res_debug.h: Likewise.
3179 * resolv/tst-inet_ntop.c: Likewise.
3180 * setjmp/bug269-setjmp.c: Likewise.
3181 * soft-fp/extended.h: Likewise.
3182 * soft-fp/op-1.h: Likewise.
3183 * soft-fp/op-2.h: Likewise.
3184 * soft-fp/op-4.h: Likewise.
3185 * soft-fp/op-8.h: Likewise.
3186 * soft-fp/testit.c: Likewise.
3187 * stdio-common/bug16.c: Likewise.
3188 * stdlib/random.c: Likewise.
3189 * sunrpc/rpcsvc/rquota.x: Likewise.
3190 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3191 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3192 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3193 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3194 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3195 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3196 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3197 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3198 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3199 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3200 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3201 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3202 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3203 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3204 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3205 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3206 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3207 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3208 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3209 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3210 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3211 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3212 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3213 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3214 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3215 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3216 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3217 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3218 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3219 * sysdeps/ieee754/s_lib_version.c: Likewise.
3220 * sysdeps/mach/hurd/check_fds.c: Likewise.
3221 * sysdeps/mach/hurd/getsockname.c: Likewise.
3222 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3223 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3224 * sysdeps/powerpc/bits/link.h: Likewise.
3225 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3226 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3227 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3228 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3229 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3230 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3231 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3232 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3233 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3234 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3235 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3236 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3237 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3238 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3239 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3240 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3241 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3242 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3243 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3244 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3245 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3246 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3247 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3248 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3249 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3250 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3251 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3252 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3253 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3254 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3255 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3256 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3257 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3258 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3259 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3260 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3261 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3262 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3263 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3264 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3265 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3266 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3267 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3268 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3269 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3270 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3271 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3272 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3273 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3274 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3275 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3277 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3278 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3279 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3280 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3281 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3282 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3283 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3284 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3285 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3286 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3287 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3288 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3289 * sysdeps/powerpc/sysdep.h: Likewise.
3290 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3291 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3292 * sysdeps/sh/dl-trampoline.S: Likewise.
3293 * sysdeps/sh/memset.S: Likewise.
3294 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3295 * sysdeps/sh/strlen.S: Likewise.
3296 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3297 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3298 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3299 * sysdeps/sparc/sparc32/rem.S: Likewise.
3300 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3301 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3302 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3303 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3304 * sysdeps/sparc/sparc32/urem.S: Likewise.
3305 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3306 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3307 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3308 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3309 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3310 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3311 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3312 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3313 * sysdeps/unix/bsd/times.c: Likewise.
3314 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3315 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3319 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3320 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3321 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3322 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3323 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3324 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3325 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3326 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3327 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3328 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3329 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3330 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3331 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3332 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3333 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3334 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3335 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3336 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3337 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3338 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3339 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3340 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3341 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3342 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3343 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3344 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3345 * sysdeps/x86_64/strcspn.S: Likewise.
3346
869378a5
RA
33472013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3348
3349 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3350 generated file. Regenerate properly from gen-translit.pl.
3351 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3352 locale/C-translit.h.
3353
840e2943
AS
33542013-06-05 Andreas Schwab <schwab@suse.de>
3355
3356 [BZ #15100]
3357 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3358 week as 6 instead of -1.
3359 * time/tst-strptime.c (day_tests): Add test case.
3360
4c60cb0c
SP
33612013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3362
3363 * sysdeps/generic/math_private.h
3364 (libc_feholdexcept_setround_53bit): Replace with
3365 libc_feholdsetround_53bit.
3366 (libc_feupdateenv_53bit): Replace with
3367 libc_feresetround_53bit.
3368 (SET_RESTORE_ROUND_53BIT): Adjust.
3369
d180203e
SP
33702013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3371
96df079a
SP
3372 * string/test-strchrnul.c: Add copyright header.
3373
d180203e
SP
3374 * posix/tst-getaddrinfo4.c: Increase test timeout.
3375
8b0ccb2d
CD
33762013-06-03 Carlos O'Donell <carlos@redhat.com>
3377
3378 [BZ #15536]
3379 * math/libm-test.inc (MAX_EXP): Remove
3380 (MIN_EXP): Define.
3381 (ulp): Use MIN_EXP - MANT_DIG.
3382 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3383
3b3c4d40
CD
33842013-05-31 Carlos O'Donell <carlos@redhat.com>
3385
3386 * po/be.po: Revert last change.
3387 * po/zh_CN.po: Likewise.
3388 * po/header.pot: Likewise.
3389
fab7ce3f
JM
33902013-05-31 Joseph Myers <joseph@codesourcery.com>
3391
3392 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3393 link-libc-deps to empty as target-specific variable.
3394 * Makerules (link-libc-args): New variable.
3395 (libc-for-link): Likewise.
3396 (link-libc-deps): Likewise.
3397 (lib%.so): Depend on $(link-libc-deps). Link with
3398 $(link-libc-args).
3399 (build-module): Link with $(link-libc-args).
3400 (build-module-asneeded): Likewise.
3401 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3402 list of objects.
3403 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3404 target-specific variable.
3405 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3406 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3407 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3408 libc.
3409 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3410 libc and ld.so.
3411 ($(objpfx)libpcprofile.so): Likewise.
3412 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3413 libc_nonshared.a.
3414 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3415 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3416 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3417 $(link-libc-deps).
3418 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3419 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3420 * login/Makefile ($(objpfx)libutil.so): Likewise.
3421 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3422 * math/Makefile ($(objpfx)libm.so): Likewise.
3423 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3424 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3425 variable instead of depending directly on libc.
3426 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3427 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3428 $(link-libc-deps).
3429 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3430 libc.
3431 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3432 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3433 ($(objpfx)libanl.so): Likewise.
3434 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3435 ld.so.
3436 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3437 $(link-libc-deps).
3438 * sysdeps/i386/fpu/Makefile: Remove file.
3439 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3440 ($(objpfx)libm.so): Remove dependency on ld.so.
3441
eca5920c
PF
34422013-05-30 Patsy Franklin <pfrankli@redhat.com>
3443
3444 [BZ # 15553]
3445 * nis/yp_xdr.c (XDRMAXNAME): Define.
3446 (XDRMAXRECORD): Define.
3447 (xdr_domainname): Use XDRMAXNAME.
3448 (xdr_mapname): Likewise.
3449 (xdr_peername): Likewise.
3450 (xdr_keydat): Use XDRMAXRECORD.
3451 (xdr_valdat): Likewise.
3452
34532013-05-30 Jeff Law <law@redhat.com>
96945714
JL
3454
3455 [BZ #14256]
3456 * manual/errno.texi (ESTALE): Update to account for more than
3457 just NFS file systems.
3458 * sysdeps/gnu/errlist.c: Regenerated.
3459
b9375348
SP
34602013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3461
3462 [BZ #15465]
3463 * elf/Makefile (tests): Add tst-null-argv.
3464 (modules-names): Add tst-null-argv-lib.
3465 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3466 (tst-null-argv-ENV): Set environment for tst-null-argv.
3467 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3468 (RTLD_PROGNAME): New macro.
3469 * elf/tst-null-argv.c: New test case.
3470 * elf/tst-null-argv-lib.c: Library for test case.
3471 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3472 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3473 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3474 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3475 * elf/dl-init.c (call_init): Likewise.
3476 (_dl_init): Likewise.
3477 * elf/dl-load.c (print_search_path): Likewise.
3478 (_dl_map_object): Likewise.
3479 * elf/dl-lookup.c (do_lookup_x): Likewise.
3480 (add_dependency): Likewise.
3481 (_dl_lookup_symbol_x): Likewise.
3482 (_dl_debug_bindings): Likewise.
3483 * elf/dl-open.c (_dl_show_scope): Likewise.
3484 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3485 * elf/dl-version.c (match_symbol): Likewise.
3486 (_dl_check_map_versions): Likewise.
3487 * elf/rtld.c (dl_main): Likewise.
3488 (print_unresolved): Use RTLD_PROGNAME.
3489 (print_missing_version): Likewise.
3490 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3491 (elf_machine_rela): Likewise.
3492 * sysdeps/powerpc/powerpc32/dl-machine.c
3493 (__process_machine_rela): Likewise.
3494 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3495 Likewise.
3496 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3497 Likewise.
3498 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3499 Likewise.
3500 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3501 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3502 Likewise.
3503 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3504 Likewise.
3505 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3506
8a9f20c8
CD
35072013-05-28 Carlos O'Donell <carlos@redhat.com>
3508
3509 * po/be.po: Add descriptive title.
3510 * po/zh_CN.po: Likewise.
3511 * po/header.pot: Likewise.
3512
0e60d68e
MF
35132013-05-28 Mike Frysinger <vapier@gentoo.org>
3514
3515 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3516 error message.
3517 (enlarge_archive): Likewise.
3518
56b672e9
BN
35192013-05-28 Ben North <ben@redfrontdoor.org>
3520
3521 * manual/arith.texi (frexp): It is the magnitude of the return
3522 value which lies in [0.5, 1), not the return value itself.
3523
5e056687
AZ
35242013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3525
3526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3527
2b66ef5d
TS
35282013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3529
528c2405
TS
3530 * stdio-common/bug26.c (main): Correct fscanf template.
3531
07b4c13d
TS
3532 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3533 declare _dl_skip_args.
3534
ec9dd97c
TS
3535 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3536 Don't declare.
3537
2b66ef5d
TS
3538 * manual/platform.texi: Add missing @end deftypefun.
3539
4f8dfe27
JM
35402013-05-24 Joseph Myers <joseph@codesourcery.com>
3541
0323d086
JM
3542 [BZ #15529]
3543 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3544 bit of mantissa of 2^16382.
3545 * math/libm-test.inc (hypot_test_data): Add more tests.
3546
dd4259b9
JM
3547 * math/libm-test.inc: Add drem and pow10 to list of tested
3548 functions.
3549 (pow10_test): New function.
3550 (drem_test): Likewise.
3551 (drem_test_tonearest): Likewise.
3552 (drem_test_towardzero): Likewise.
3553 (drem_test_downward): Likewise.
3554 (drem_test_upward): Likewise.
3555 (main): Call the new functions.
3556
4f8dfe27
JM
3557 * math/libm-test.inc (finite_test_data): Remove.
3558 (finite_test): Run tests from isfinite_test_data.
3559 (gamma_test_data): Remove.
3560 (gamma_test): Run tests from lgamma_test_data.
3561 * sysdeps/i386/fpu/libm-test-ulps: Update.
3562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3563
d116b7c4
AZ
35642013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3565
3566 * manual/platform.texi: Add PowerPC PPR function set documentation.
3567 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3568 implementation.
3569
e96e3767
CD
35702013-05-24 Carlos O'Donell <carlos@redhat.com>
3571
3572 * math/libm-test.inc (MAX_EXP): Define.
3573 (ULPDIFF): Define.
3574 (ulp): New function.
3575 (check_float_internal): Use ULPDIFF.
3576 (cpow_test): Disable failing test.
3577 (check_ulp): Test ulp() implemetnation.
3578 (main): Call check_ulp before starting tests.
3579
b679a606
JM
35802013-05-24 Joseph Myers <joseph@codesourcery.com>
3581
e8bdba36
JM
3582 * math/gen-libm-test.pl (generate_testfile): Do not handle
3583 START_DATA and END_DATA.
3584 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3585 END_DATA.
3586 (acos_tonearest_test_data): Likewise.
3587 (acos_towardzero_test_data): Likewise.
3588 (acos_downward_test_data): Likewise.
3589 (acos_upward_test_data): Likewise.
3590 (acosh_test_data): Likewise.
3591 (asin_test_data): Likewise.
3592 (asin_tonearest_test_data): Likewise.
3593 (asin_towardzero_test_data): Likewise.
3594 (asin_downward_test_data): Likewise.
3595 (asin_upward_test_data): Likewise.
3596 (asinh_test_data): Likewise.
3597 (atan_test_data): Likewise.
3598 (atanh_test_data): Likewise.
3599 (atan2_test_data): Likewise.
3600 (cabs_test_data): Likewise.
3601 (cacos_test_data): Likewise.
3602 (cacosh_test_data): Likewise.
3603 (carg_test_data): Likewise.
3604 (casin_test_data): Likewise.
3605 (casinh_test_data): Likewise.
3606 (catan_test_data): Likewise.
3607 (catanh_test_data): Likewise.
3608 (cbrt_test_data): Likewise.
3609 (ccos_test_data): Likewise.
3610 (ccosh_test_data): Likewise.
3611 (ceil_test_data): Likewise.
3612 (cexp_test_data): Likewise.
3613 (cimag_test_data): Likewise.
3614 (clog_test_data): Likewise.
3615 (clog10_test_data): Likewise.
3616 (conj_test_data): Likewise.
3617 (copysign_test_data): Likewise.
3618 (cos_test_data): Likewise.
3619 (cos_tonearest_test_data): Likewise.
3620 (cos_towardzero_test_data): Likewise.
3621 (cos_downward_test_data): Likewise.
3622 (cos_upward_test_data): Likewise.
3623 (cosh_test_data): Likewise.
3624 (cosh_tonearest_test_data): Likewise.
3625 (cosh_towardzero_test_data): Likewise.
3626 (cosh_downward_test_data): Likewise.
3627 (cosh_upward_test_data): Likewise.
3628 (cpow_test_data): Likewise.
3629 (cproj_test_data): Likewise.
3630 (creal_test_data): Likewise.
3631 (csin_test_data): Likewise.
3632 (csinh_test_data): Likewise.
3633 (csqrt_test_data): Likewise.
3634 (ctan_test_data): Likewise.
3635 (ctan_tonearest_test_data): Likewise.
3636 (ctan_towardzero_test_data): Likewise.
3637 (ctan_downward_test_data): Likewise.
3638 (ctan_upward_test_data): Likewise.
3639 (ctanh_test_data): Likewise.
3640 (ctanh_tonearest_test_data): Likewise.
3641 (ctanh_towardzero_test_data): Likewise.
3642 (ctanh_downward_test_data): Likewise.
3643 (ctanh_upward_test_data): Likewise.
3644 (erf_test_data): Likewise.
3645 (erfc_test_data): Likewise.
3646 (exp_test_data): Likewise.
3647 (exp_tonearest_test_data): Likewise.
3648 (exp_towardzero_test_data): Likewise.
3649 (exp_downward_test_data): Likewise.
3650 (exp_upward_test_data): Likewise.
3651 (exp10_test_data): Likewise.
3652 (exp2_test_data): Likewise.
3653 (expm1_test_data): Likewise.
3654 (fabs_test_data): Likewise.
3655 (fdim_test_data): Likewise.
3656 (finite_test_data): Likewise.
3657 (floor_test_data): Likewise.
3658 (fma_test_data): Likewise.
3659 (fma_towardzero_test_data): Likewise.
3660 (fma_downward_test_data): Likewise.
3661 (fma_upward_test_data): Likewise.
3662 (fmax_test_data): Likewise.
3663 (fmin_test_data): Likewise.
3664 (fmod_test_data): Likewise.
3665 (fpclassify_test_data): Likewise.
3666 (frexp_test_data): Likewise.
3667 (gamma_test_data): Likewise.
3668 (hypot_test_data): Likewise.
3669 (ilogb_test_data): Likewise.
3670 (isfinite_test_data): Likewise.
3671 (isgreater_test_data): Likewise.
3672 (isgreaterequal_test_data): Likewise.
3673 (isinf_test_data): Likewise.
3674 (isless_test_data): Likewise.
3675 (islessequal_test_data): Likewise.
3676 (islessgreater_test_data): Likewise.
3677 (isnan_test_data): Likewise.
3678 (isnormal_test_data): Likewise.
3679 (issignaling_test_data): Likewise.
3680 (isunordered_test_data): Likewise.
3681 (j0_test_data): Likewise.
3682 (j1_test_data): Likewise.
3683 (jn_test_data): Likewise.
3684 (ldexp_test_data): Likewise.
3685 (lgamma_test_data): Likewise.
3686 (lrint_test_data): Likewise.
3687 (lrint_tonearest_test_data): Likewise.
3688 (lrint_towardzero_test_data): Likewise.
3689 (lrint_downward_test_data): Likewise.
3690 (lrint_upward_test_data): Likewise.
3691 (llrint_test_data): Likewise.
3692 (llrint_tonearest_test_data): Likewise.
3693 (llrint_towardzero_test_data): Likewise.
3694 (llrint_downward_test_data): Likewise.
3695 (llrint_upward_test_data): Likewise.
3696 (log_test_data): Likewise.
3697 (log10_test_data): Likewise.
3698 (log1p_test_data): Likewise.
3699 (log2_test_data): Likewise.
3700 (logb_test_data): Likewise.
3701 (logb_downward_test_data): Likewise.
3702 (lround_test_data): Likewise.
3703 (llround_test_data): Likewise.
3704 (modf_test_data): Likewise.
3705 (nearbyint_test_data): Likewise.
3706 (nextafter_test_data): Likewise.
3707 (nexttoward_test_data): Likewise.
3708 (pow_test_data): Likewise.
3709 (pow_tonearest_test_data): Likewise.
3710 (pow_towardzero_test_data): Likewise.
3711 (pow_downward_test_data): Likewise.
3712 (pow_upward_test_data): Likewise.
3713 (remainder_test_data): Likewise.
3714 (remainder_tonearest_test_data): Likewise.
3715 (remainder_towardzero_test_data): Likewise.
3716 (remainder_downward_test_data): Likewise.
3717 (remainder_upward_test_data): Likewise.
3718 (remquo_test_data): Likewise.
3719 (rint_test_data): Likewise.
3720 (rint_tonearest_test_data): Likewise.
3721 (rint_towardzero_test_data): Likewise.
3722 (rint_downward_test_data): Likewise.
3723 (rint_upward_test_data): Likewise.
3724 (round_test_data): Likewise.
3725 (scalb_test_data): Likewise.
3726 (scalbn_test_data): Likewise.
3727 (scalbln_test_data): Likewise.
3728 (signbit_test_data): Likewise.
3729 (sin_test_data): Likewise.
3730 (sin_tonearest_test_data): Likewise.
3731 (sin_towardzero_test_data): Likewise.
3732 (sin_downward_test_data): Likewise.
3733 (sin_upward_test_data): Likewise.
3734 (sincos_test_data): Likewise.
3735 (sinh_test_data): Likewise.
3736 (sinh_tonearest_test_data): Likewise.
3737 (sinh_towardzero_test_data): Likewise.
3738 (sinh_downward_test_data): Likewise.
3739 (sinh_upward_test_data): Likewise.
3740 (sqrt_test_data): Likewise.
3741 (tan_test_data): Likewise.
3742 (tan_tonearest_test_data): Likewise.
3743 (tan_towardzero_test_data): Likewise.
3744 (tan_downward_test_data): Likewise.
3745 (tan_upward_test_data): Likewise.
3746 (tanh_test_data): Likewise.
3747 (tgamma_test_data): Likewise.
3748 (trunc_test_data): Likewise.
3749 (y0_test_data): Likewise.
3750 (y1_test_data): Likewise.
3751 (yn_test_data): Likewise.
3752 (significand_test_data): Likewise.
3753
b679a606
JM
3754 * math/gen-libm-test.pl (@functions): Remove variable.
3755 (generate_testfile): Don't handle START and END lines.
3756 * math/libm-test.inc (START): New macro.
3757 (END): Likewise.
3758 (END_COMPLEX): Likewise.
3759 (acos_test): Use END macro without arguments.
3760 (acos_test_tonearest): Likewise.
3761 (acos_test_towardzero): Likewise.
3762 (acos_test_downward): Likewise.
3763 (acos_test_upward): Likewise.
3764 (acosh_test): Likewise.
3765 (asin_test): Likewise.
3766 (asin_test_tonearest): Likewise.
3767 (asin_test_towardzero): Likewise.
3768 (asin_test_downward): Likewise.
3769 (asin_test_upward): Likewise.
3770 (asinh_test): Likewise.
3771 (atan_test): Likewise.
3772 (atanh_test): Likewise.
3773 (atan2_test): Likewise.
3774 (cabs_test): Likewise.
3775 (cacos_test): Use END_COMPLEX macro without arguments.
3776 (cacosh_test): Likewise.
3777 (carg_test): Use END macro without arguments.
3778 (casin_test): Use END_COMPLEX macro without arguments.
3779 (casinh_test): Likewise.
3780 (catan_test): Likewise.
3781 (catanh_test): Likewise.
3782 (cbrt_test): Use END macro without arguments.
3783 (ccos_test): Use END_COMPLEX macro without arguments.
3784 (ccosh_test): Likewise.
3785 (ceil_test): Use END macro without arguments.
3786 (cexp_test): Use END_COMPLEX macro without arguments.
3787 (cimag_test): Use END macro without arguments.
3788 (clog_test): Use END_COMPLEX macro without arguments.
3789 (clog10_test): Likewise.
3790 (conj_test): Likewise.
3791 (copysign_test): Use END macro without arguments.
3792 (cos_test): Likewise.
3793 (cos_test_tonearest): Likewise.
3794 (cos_test_towardzero): Likewise.
3795 (cos_test_downward): Likewise.
3796 (cos_test_upward): Likewise.
3797 (cosh_test): Likewise.
3798 (cosh_test_tonearest): Likewise.
3799 (cosh_test_towardzero): Likewise.
3800 (cosh_test_downward): Likewise.
3801 (cosh_test_upward): Likewise.
3802 (cpow_test): Use END_COMPLEX macro without arguments.
3803 (cproj_test): Likewise.
3804 (creal_test): Use END macro without arguments.
3805 (csin_test): Use END_COMPLEX macro without arguments.
3806 (csinh_test): Likewise.
3807 (csqrt_test): Likewise.
3808 (ctan_test): Likewise.
3809 (ctan_test_tonearest): Likewise.
3810 (ctan_test_towardzero): Likewise.
3811 (ctan_test_downward): Likewise.
3812 (ctan_test_upward): Likewise.
3813 (ctanh_test): Likewise.
3814 (ctanh_test_tonearest): Likewise.
3815 (ctanh_test_towardzero): Likewise.
3816 (ctanh_test_downward): Likewise.
3817 (ctanh_test_upward): Likewise.
3818 (erf_test): Use END macro without arguments.
3819 (erfc_test): Likewise.
3820 (exp_test): Likewise.
3821 (exp_test_tonearest): Likewise.
3822 (exp_test_towardzero): Likewise.
3823 (exp_test_downward): Likewise.
3824 (exp_test_upward): Likewise.
3825 (exp10_test): Likewise.
3826 (exp2_test): Likewise.
3827 (expm1_test): Likewise.
3828 (fabs_test): Likewise.
3829 (fdim_test): Likewise.
3830 (finite_test): Likewise.
3831 (floor_test): Likewise.
3832 (fma_test): Likewise.
3833 (fma_test_towardzero): Likewise.
3834 (fma_test_downward): Likewise.
3835 (fma_test_upward): Likewise.
3836 (fmax_test): Likewise.
3837 (fmin_test): Likewise.
3838 (fmod_test): Likewise.
3839 (fpclassify_test): Likewise.
3840 (frexp_test): Likewise.
3841 (gamma_test): Likewise.
3842 (hypot_test): Likewise.
3843 (ilogb_test): Likewise.
3844 (isfinite_test): Likewise.
3845 (isgreater_test): Likewise.
3846 (isgreaterequal_test): Likewise.
3847 (isinf_test): Likewise.
3848 (isless_test): Likewise.
3849 (islessequal_test): Likewise.
3850 (islessgreater_test): Likewise.
3851 (isnan_test): Likewise.
3852 (isnormal_test): Likewise.
3853 (issignaling_test): Likewise.
3854 (isunordered_test): Likewise.
3855 (j0_test): Likewise.
3856 (j1_test): Likewise.
3857 (jn_test): Likewise.
3858 (ldexp_test): Likewise.
3859 (lgamma_test): Likewise.
3860 (lrint_test): Likewise.
3861 (lrint_test_tonearest): Likewise.
3862 (lrint_test_towardzero): Likewise.
3863 (lrint_test_downward): Likewise.
3864 (lrint_test_upward): Likewise.
3865 (llrint_test): Likewise.
3866 (llrint_test_tonearest): Likewise.
3867 (llrint_test_towardzero): Likewise.
3868 (llrint_test_downward): Likewise.
3869 (llrint_test_upward): Likewise.
3870 (log_test): Likewise.
3871 (log10_test): Likewise.
3872 (log1p_test): Likewise.
3873 (log2_test): Likewise.
3874 (logb_test): Likewise.
3875 (logb_test_downward): Likewise.
3876 (lround_test): Likewise.
3877 (llround_test): Likewise.
3878 (modf_test): Likewise.
3879 (nearbyint_test): Likewise.
3880 (nextafter_test): Likewise.
3881 (nexttoward_test): Likewise.
3882 (pow_test): Likewise.
3883 (pow_test_tonearest): Likewise.
3884 (pow_test_towardzero): Likewise.
3885 (pow_test_downward): Likewise.
3886 (pow_test_upward): Likewise.
3887 (remainder_test): Likewise.
3888 (remainder_test_tonearest): Likewise.
3889 (remainder_test_towardzero): Likewise.
3890 (remainder_test_downward): Likewise.
3891 (remainder_test_upward): Likewise.
3892 (remquo_test): Likewise.
3893 (rint_test): Likewise.
3894 (rint_test_tonearest): Likewise.
3895 (rint_test_towardzero): Likewise.
3896 (rint_test_downward): Likewise.
3897 (rint_test_upward): Likewise.
3898 (round_test): Likewise.
3899 (scalb_test): Likewise.
3900 (scalbn_test): Likewise.
3901 (scalbln_test): Likewise.
3902 (signbit_test): Likewise.
3903 (sin_test): Likewise.
3904 (sin_test_tonearest): Likewise.
3905 (sin_test_towardzero): Likewise.
3906 (sin_test_downward): Likewise.
3907 (sin_test_upward): Likewise.
3908 (sincos_test): Likewise.
3909 (sinh_test): Likewise.
3910 (sinh_test_tonearest): Likewise.
3911 (sinh_test_towardzero): Likewise.
3912 (sinh_test_downward): Likewise.
3913 (sinh_test_upward): Likewise.
3914 (sqrt_test): Likewise.
3915 (tan_test): Likewise.
3916 (tan_test_tonearest): Likewise.
3917 (tan_test_towardzero): Likewise.
3918 (tan_test_downward): Likewise.
3919 (tan_test_upward): Likewise.
3920 (tanh_test): Likewise.
3921 (tgamma_test): Likewise.
3922 (trunc_test): Likewise.
3923 (y0_test): Likewise.
3924 (y1_test): Likewise.
3925 (yn_test): Likewise.
3926 (significand_test): Likewise.
3927
bae143d2
OB
39282013-05-24 Ondřej Bílka <neleai@seznam.cz>
3929
3930 [BZ #15381]
3931 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3932
9323d39b
EM
39332013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3934
d4ea44a0 3935 [BZ #14894]
9323d39b
EM
3936 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3937 __ppc_mdoio and __ppc_mdoom.
3938 * manual/platform.texi: Document new functions __ppc_yield,
3939 __ppc_mdoio and __ppc_mdoom.
3940
13e23af7
CD
39412013-05-22 Carlos O'Donell <carlos@redhat.com>
3942
3943 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3944 (main): Mention "tls" pseudo-hwcap is legacy.
3945 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3946
351fe550
JM
39472013-05-22 Joseph Myers <joseph@codesourcery.com>
3948
3949 * math/gen-libm-test.pl (parse_args): Output only string of
3950 arguments as text for test name, not full call or descriptions of
3951 tests for extra outputs.
3952 (generate_testfile): Do not pass function name to parse_args.
3953 Generate this_func variable from START.
3954 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3955 field to arg_str.
3956 (struct test_ff_f_data): Likewise.
3957 (test_ff_f_data_nexttoward): Likewise.
3958 (struct test_fi_f_data): Likewise.
3959 (struct test_fl_f_data): Likewise.
3960 (struct test_if_f_data): Likewise.
3961 (struct test_fff_f_data): Likewise.
3962 (struct test_c_f_data): Likewise.
3963 (struct test_f_f1_data): Likewise. Remove field extra_name.
3964 (struct test_fF_f1_data): Likewise.
3965 (struct test_ffI_f1_data): Likewise.
3966 (struct test_c_c_data): Rename test_name field to arg_str.
3967 (struct test_cc_c_data): Likewise.
3968 (struct test_f_i_data): Likewise.
3969 (struct test_ff_i_data): Likewise.
3970 (struct test_f_l_data): Likewise.
3971 (struct test_f_L_data): Likewise.
3972 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3973 and extra2_name.
3974 (COMMON_TEST_SETUP): New macro.
3975 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3976 (COMMON_TEST_CLEANUP): Likewise.
3977 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3978 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3979 macros.
3980 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3981 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3982 macros.
3983 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3984 (RUN_TEST_fff_f): Take argument string. Call new setup and
3985 cleanup macros.
3986 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3987 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3988 macros.
3989 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3990 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3991 macros.
3992 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3993 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3994 cleanup macros.
3995 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3996 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3997 cleanup macros.
3998 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3999 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4000 cleanup macros.
4001 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4002 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4003 macros.
4004 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4005 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4006 macros.
4007 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4008 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4009 macros.
4010 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4011 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4012 cleanup macros.
4013 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4014 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4015 cleanup macros.
4016 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4017 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4018 macros.
4019 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4020 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4021 cleanup macros.
4022 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4023 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4024 macros.
4025 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4026 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4027 macros.
4028 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4029 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4030 cleanup macros.
4031 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4032
85118d4d
EBM
40332013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4034
4035 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4036 to _sifields.sigfault.
4037 (si_addr_lsb): Define new macro.
4038 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4039 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4040 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4041
7a44c18f
CD
40422013-05-03 Carlos O'Donell <carlos at redhat.com>
4043
4044 [BZ #15441]
4045 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4046 returns -1.
4047 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4048 null return -1.
4049 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4050 loading the domain.
4051
b50a7181
JM
40522013-05-22 Joseph Myers <joseph@codesourcery.com>
4053
4054 * math/gen-libm-test.pl (parse_args): Do not include expected
4055 result in test name.
4056 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4057 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4058 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4059 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4060 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4062
051063c8
SP
40632013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4064
3ce9e010
SP
4065 * benchtests/Makefile: Sort function entries.
4066
051063c8
SP
4067 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4068 tanh, asinh, acosh, atanh.
4069 * benchtests/acos-inputs: New file.
4070 * benchtests/acosh-inputs: New file.
4071 * benchtests/asin-inputs: New file.
4072 * benchtests/asinh-inputs: New file.
4073 * benchtests/atanh-inputs: New file.
4074 * benchtests/cosh-inputs: New file.
4075 * benchtests/log-inputs: New file.
4076 * benchtests/sinh-inputs: New file.
4077 * benchtests/tanh-inputs: New file.
4078
47c22455
DL
40792013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4080
4081 [BZ #15339]
4082 * posix/tst-getaddrinfo4.c: New test.
4083 * posix/Makefile (tests): Add it.
4084
3d04f5db
SP
40852013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4086
4087 [BZ #15339]
4088 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4089 when no services were used.
4090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4091 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4092
d5dd6189
AS
40932013-05-21 Andreas Schwab <schwab@suse.de>
4094
4095 [BZ #15014]
4096 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4097 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4098 successful.
4099 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4100 redundant variable declarations and reallocation of buffer when
4101 parsing as IPv6 address. Always set NSS status when called from
4102 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4103 buffer too small. Correct computation of needed size.
4104 * nss/Makefile (tests): Add test-digits-dots.
4105 * nss/test-digits-dots.c: New test.
4106
fef94eab
SP
41072013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4108
4109 * benchtests/Makefile: Remove instructions for adding
4110 benchmark tests.
4111 * benchtests/README: New file to explain how to execute and
4112 enhance the benchmark tests.
4113
e39adf43
AS
41142013-05-21 Andreas Schwab <schwab@suse.de>
4115
4116 [BZ #15493]
4117 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4118 * setjmp/tst-sigsetjmp.c: New test.
4119
b2b671b6
OB
41202013-05-20 Ondřej Bílka <neleai@seznam.cz>
4121
4122 * sysdeps/x86_64/memset.S (memset): New implementation.
4123 (__bzero): Likewise.
4124 (__memset_tail): New function.
4125
2d48b41c
OB
41262013-05-20 Ondřej Bílka <neleai@seznam.cz>
4127
4128 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4129 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4130 __memcpy_sse2_unaligned ifunc selection.
4131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4132 Add memcpy-sse2-unaligned.S.
4133 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4134 Add: __memcpy_sse2_unaligned.
4135
f16cc3eb
JM
41362013-05-19 Joseph Myers <joseph@codesourcery.com>
4137
3e694268
JM
4138 [BZ #15490]
4139 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4140 math_force_eval before restoring floating-point envrionment.
4141 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4142 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4143 Likewise.
4144 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4145 <math_private.h>.
4146 (__nearbyintl): Use math_force_eval before restoring
4147 floating-point environment.
4148 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4149
db62a907
JM
4150 * math/gen-libm-test.pl (special_functions): Remove.
4151 (parse_args): Don't handle TEST_extra. Handle functions with no
4152 return value.
4153 * math/libm-test.inc (struct test_sincos_data): Replace with
4154 struct test_fFF_11_data.
4155 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4156 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4157 (sincos_test_data): Change element type to struct
4158 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4159 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4160 RUN_TEST_LOOP_sincos.
4161 * math/README.libm-test: Don't mention special handling of
4162 individual functions.
4163 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4164 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4165 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4166 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4167 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4169
f16cc3eb
JM
4170 * math/gen-libm-test.pl (get_variable): Remove function.
4171 (parse_args): Don't show pointer parameters to call in test
4172 names. Use "extra output N" in test names for extra outputs
4173 rather than naming variables.
4174
3779b5b6
JM
41752013-05-18 Joseph Myers <joseph@codesourcery.com>
4176
2ee094ff
JM
4177 [BZ #15488]
4178 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4179 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4180 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4181 double tests.
4182 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4183 disable.
4184 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4185 check_long_double.
4186
3779b5b6
JM
4187 * math/gen-libm-test.pl (@tests): Remove variable.
4188 ($count): Likewise.
4189 (new_test): Remove function.
4190 (show_exceptions): New function.
4191 (special_functions): Use show_exceptions instead of new_test.
4192 (parse_args): Likewise.
4193 (generate_testfile): Pass only function name in generated call to
4194 print_max_error or print_complex_max_error.
4195 (get_ulps): Do not handle complex tests specially.
4196 (output_test): Rename to ...
4197 (get_all_ulps_for_test): ... this. Return a string rather than
4198 printing to a file. Require ulps to be present.
4199 (output_ulps): Generate arrays rather than #defines.
4200 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4201 (struct ulp_data): New type.
4202 (BUILD_COMPLEX_ULP): Remove macro.
4203 (compare_ulp_data): New function.
4204 (find_ulps): Likewise.
4205 (find_test_ulps): Likewise.
4206 (find_function_ulps): Likewise.
4207 (find_complex_function_ulps): Likewise.
4208 (print_max_error): Determine allowed ulps using
4209 find_function_ulps.
4210 (print_complex_max_error): Determine allowed ulps using
4211 find_complex_function_ulps.
4212 (check_float_internal): Determine max ulps using find_test_ulps.
4213 (check_float): Do not take max_ulp parameter. Update call to
4214 check_float_internal.
4215 (check_complex): Likewise.
4216 (check_int): Do not take max_ulp parameter.
4217 (check_long): Likewise.
4218 (check_bool): Likewise.
4219 (check_longlong): Likewise.
4220 (struct test_f_f_data): Remove max_ulp field.
4221 (struct test_ff_f_data): Likewise.
4222 (struct test_ff_f_data_nexttoward): Likewise.
4223 (struct test_fi_f_data): Likewise.
4224 (struct test_fl_f_data): Likewise.
4225 (struct test_if_f_data): Likewise.
4226 (struct test_fff_f_data): Likewise.
4227 (struct test_c_f_data): Likewise.
4228 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4229 (struct test_fF_f1_data): Likewise.
4230 (struct test_ffI_f1_data): Likewise.
4231 (struct test_c_c_data): Remove max_ulp field.
4232 (struct test_cc_c_data): Likewise.
4233 (struct test_f_i_data): Likewise.
4234 (struct test_ff_i_data): Likewise.
4235 (struct test_f_l_data): Likewise.
4236 (struct test_f_L_data): Likewise.
4237 (struct test_sincos_data): Likewise.
4238 (RUN_TEST_f_f): Do not handle ulps.
4239 (RUN_TEST_LOOP_f_f): Likewise.
4240 (RUN_TEST_2_f): Likewise.
4241 (RUN_TEST_LOOP_2_f): Likewise.
4242 (RUN_TEST_fff_f): Likewise.
4243 (RUN_TEST_LOOP_fff_f): Likewise.
4244 (RUN_TEST_c_f): Likewise.
4245 (RUN_TEST_LOOP_c_f): Likewise.
4246 (RUN_TEST_f_f1): Likewise.
4247 (RUN_TEST_LOOP_f_f1): Likewise.
4248 (RUN_TEST_fF_f1): Likewise.
4249 (RUN_TEST_LOOP_fF_f1): Likewise.
4250 (RUN_TEST_fI_f1): Likewise.
4251 (RUN_TEST_LOOP_fI_f1): Likewise.
4252 (RUN_TEST_ffI_f1): Likewise.
4253 (RUN_TEST_LOOP_ffI_f1): Likewise.
4254 (RUN_TEST_c_c): Likewise.
4255 (RUN_TEST_LOOP_c_c): Likewise.
4256 (RUN_TEST_cc_c): Likewise.
4257 (RUN_TEST_LOOP_cc_c): Likewise.
4258 (RUN_TEST_f_i): Likewise.
4259 (RUN_TEST_LOOP_f_i): Likewise.
4260 (RUN_TEST_f_i_tg): Likewise.
4261 (RUN_TEST_LOOP_f_i_tg): Likewise.
4262 (RUN_TEST_ff_i_tg): Likewise.
4263 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4264 (RUN_TEST_f_b): Likewise.
4265 (RUN_TEST_LOOP_f_b): Likewise.
4266 (RUN_TEST_f_b_tg): Likewise.
4267 (RUN_TEST_LOOP_f_b_tg): Likewise.
4268 (RUN_TEST_f_l): Likewise.
4269 (RUN_TEST_LOOP_f_l): Likewise.
4270 (RUN_TEST_f_L): Likewise.
4271 (RUN_TEST_LOOP_f_L): Likewise.
4272 (RUN_TEST_sincos): Likewise.
4273 (RUN_TEST_LOOP_sincos): Likewise.
4274
8269107f
JM
42752013-05-17 Joseph Myers <joseph@codesourcery.com>
4276
bb38759d
JM
4277 [BZ #15480]
4278 [BZ #15485]
4279 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4280 main case of finite arguments, set rounding mode to FE_TONEAREST
4281 and discard exceptions.
4282 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4283 exceptions.
4284 (remainder_tonearest_test_data): New variable.
4285 (remainder_test_tonearest): New function.
4286 (remainder_towardzero_test_data): New variable.
4287 (remainder_test_towardzero): New function.
4288 (remainder_downward_test_data): New variable.
4289 (remainder_test_downward): New function.
4290 (remainder_upward_test_data): New variable.
4291 (remainder_test_upward): New function.
4292 (main): Call the new test functions.
4293
a00bdcf0
JM
4294 * math/libm-test.inc (struct test_f_f1_data): Remove field
4295 extra_init.
4296 (struct test_fF_f1_data): Likewise.
4297 (struct test_ffI_f1_data): Likewise.
4298 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4299 based on value of EXTRA_EXPECTED.
4300 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4301 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4302 EXTRA_VAR based on value of EXTRA_EXPECTED.
4303 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4304 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4305 EXTRA_VAR based on value of EXTRA_EXPECTED.
4306 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4307 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4308 EXTRA_VAR based on value of EXTRA_EXPECTED.
4309 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4310 * math/gen-libm-test.pl (parse_args): Don't output initializers
4311 for extra output values.
4312
de407f79
JM
4313 * math/libm-test.inc (check_int): Expect result to be exactly
4314 equal to expected value and do not handle ulps.
4315 (check_long): Likewise.
4316 (check_longlong): Likewise.
4317
8269107f
JM
4318 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4319 exceptions.
4320 (cimag_test_data): Likewise.
4321 (conj_test_data): Likewise.
4322 (copysign_test_data): Likewise.
4323 (cproj_test_data): Likewise.
4324 (creal_test_data): Likewise.
4325 (fabs_test_data): Likewise.
4326 (fdim_test_data): Likewise.
4327 (finite_test_data): Likewise.
4328 (floor_test_data): Likewise.
4329 (fmax_test_data): Likewise.
4330 (fmin_test_data): Likewise.
4331 (fmod_test_data): Likewise.
4332 (fpclassify_test_data): Likewise.
4333 (frexp_test_data): Likewise.
4334 (ilogb_test_data): Likewise.
4335 (isfinite_test_data): Likewise.
4336 (isgreater_test_data): Likewise.
4337 (isgreaterequal_test_data): Likewise.
4338 (isinf_test_data): Likewise.
4339 (isless_test_data): Likewise.
4340 (islessequal_test_data): Likewise.
4341 (islessgreater_test_data): Likewise.
4342 (isnan_test_data): Likewise.
4343 (isnormal_test_data): Likewise.
4344 (issignaling_test_data): Likewise.
4345 (isunordered_test_data): Likewise.
4346 (ldexp_test_data): Likewise.
4347 (lrint_test_data): Likewise.
4348 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4349 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4350 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4351 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4352 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4353 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4354 test input.
4355 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4356 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4357 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4358 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4359 that test input.
4360 (lrint_downward_test_data): Test for "inexact" exceptions.
4361 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4362 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4363 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4364 test input.
4365 (lrint_upward_test_data): Test for "inexact" exceptions.
4366 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4367 test input.
4368 (llrint_test_data): Test for "inexact" exceptions.
4369 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4370 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4371 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4372 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4373 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4374 (llrint_downward_test_data): Test for "inexact" exceptions.
4375 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4376 (llrint_upward_test_data): Test for "inexact" exceptions.
4377 (logb_test_data): Likewise.
4378 (logb_downward_test_data): Likewise.
4379 (nextafter_test_data): Likewise.
4380 (nexttoward_test_data): Likewise.
4381 (remainder_test_data): Likewise.
4382 (remquo_test_data): Likewise.
4383 (scalbn_test_data): Likewise.
4384 (scalbln_test_data): Likewise.
4385 (signbit_test_data): Likewise.
4386 (sqrt_test_data): Likewise.
4387 (significand_test_data): Likewise.
4388
48a18de1
SP
43892013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4390
4391 [BZ #15424]
4392 * benchtests/bench-modf.c (struct args): Mark arg0 as
4393 volatile.
4394 * scripts/bench.pl: Mark members of struct args as volatile.
4395
13d3b41a
AZ
43962013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4397
68191c1d 4398 [BZ # 15497]
13d3b41a
AZ
4399 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4400 negative infinity on POWER6 or lower.
4401 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4402
2848b105
MR
44032013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4404
4405 [BZ #15442]
4406 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4407 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4408 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4409 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4410 (_FP_SETQNAN): New macro.
4411 (_FP_SETQNAN_SEMIRAW): Likewise.
4412 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4413 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4414 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4415 (FP_EXTEND): Use _FP_FRAC_SNANP.
4416 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4417 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4418 into account.
4419 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4420 New macro.
4421 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4422 Likewise.
4423
323e5cb7
JM
44242013-05-16 Joseph Myers <joseph@codesourcery.com>
4425
c58b274f
JM
4426 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4427 with DIVIDE_BY_ZERO_EXCEPTION.
4428 (gamma_test_data): Likewise.
4429 (lgamma_test_data): Likewise.
4430 (log_test_data): Likewise.
4431 (log10_test_data): Likewise.
4432 (log2_test_data): Likewise.
4433 (tgamma_test_data): Likewise.
4434
0ab34904
JM
4435 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4436 (acos_test_tonearest): Likewise.
4437 (acos_test_towardzero): Likewise.
4438 (acos_test_downward): Likewise.
4439 (acos_test_upward): Likewise.
4440 (acosh_test): Likewise.
4441 (asin_test): Likewise.
4442 (asin_test_tonearest): Likewise.
4443 (asin_test_towardzero): Likewise.
4444 (asin_test_downward): Likewise.
4445 (asin_test_upward): Likewise.
4446 (asinh_test): Likewise.
4447 (atan_test): Likewise.
4448 (atanh_test): Likewise.
4449 (atan2_test): Likewise.
4450 (cabs_test): Likewise.
4451 (cacos_test): Likewise.
4452 (cacosh_test): Likewise.
4453 (casin_test): Likewise.
4454 (casinh_test): Likewise.
4455 (catan_test): Likewise.
4456 (catanh_test): Likewise.
4457 (cbrt_test): Likewise.
4458 (ccos_test): Likewise.
4459 (ccosh_test): Likewise.
4460 (cexp_test): Likewise.
4461 (clog_test): Likewise.
4462 (clog10_test): Likewise.
4463 (cos_test): Likewise.
4464 (cos_test_tonearest): Likewise.
4465 (cos_test_towardzero): Likewise.
4466 (cos_test_downward): Likewise.
4467 (cos_test_upward): Likewise.
4468 (cosh_test): Likewise.
4469 (cosh_test_tonearest): Likewise.
4470 (cosh_test_towardzero): Likewise.
4471 (cosh_test_downward): Likewise.
4472 (cosh_test_upward): Likewise.
4473 (cpow_test): Likewise.
4474 (csin_test): Likewise.
4475 (csinh_test): Likewise.
4476 (csqrt_test): Likewise.
4477 (ctan_test): Likewise.
4478 (ctan_test_tonearest): Likewise.
4479 (ctan_test_towardzero): Likewise.
4480 (ctan_test_downward): Likewise.
4481 (ctan_test_upward): Likewise.
4482 (ctanh_test): Likewise.
4483 (ctanh_test_tonearest): Likewise.
4484 (ctanh_test_towardzero): Likewise.
4485 (ctanh_test_downward): Likewise.
4486 (ctanh_test_upward): Likewise.
4487 (erf_test): Likewise.
4488 (erfc_test): Likewise.
4489 (exp_test): Likewise.
4490 (exp_test_tonearest): Likewise.
4491 (exp_test_towardzero): Likewise.
4492 (exp_test_downward): Likewise.
4493 (exp_test_upward): Likewise.
4494 (exp10_test): Likewise.
4495 (exp2_test): Likewise.
4496 (expm1_test): Likewise.
4497 (fmod_test): Likewise.
4498 (gamma_test): Likewise.
4499 (hypot_test): Likewise.
4500 (j0_test): Likewise.
4501 (j1_test): Likewise.
4502 (jn_test): Likewise.
4503 (lgamma_test): Likewise.
4504 (log_test): Likewise.
4505 (log10_test): Likewise.
4506 (log1p_test): Likewise.
4507 (log2_test): Likewise.
4508 (logb_test_downward): Likewise.
4509 (pow_test): Likewise.
4510 (pow_test_tonearest): Likewise.
4511 (pow_test_towardzero): Likewise.
4512 (pow_test_downward): Likewise.
4513 (pow_test_upward): Likewise.
4514 (remainder_test): Likewise.
4515 (remquo_test): Likewise.
4516 (sin_test): Likewise.
4517 (sin_test_tonearest): Likewise.
4518 (sin_test_towardzero): Likewise.
4519 (sin_test_downward): Likewise.
4520 (sin_test_upward): Likewise.
4521 (sincos_test): Likewise.
4522 (sinh_test): Likewise.
4523 (sinh_test_tonearest): Likewise.
4524 (sinh_test_towardzero): Likewise.
4525 (sinh_test_downward): Likewise.
4526 (sinh_test_upward): Likewise.
4527 (sqrt_test): Likewise.
4528 (tan_test): Likewise.
4529 (tan_test_tonearest): Likewise.
4530 (tan_test_towardzero): Likewise.
4531 (tan_test_downward): Likewise.
4532 (tan_test_upward): Likewise.
4533 (tanh_test): Likewise.
4534 (tgamma_test): Likewise.
4535 (y0_test): Likewise.
4536 (y1_test): Likewise.
4537 (yn_test): Likewise.
4538
323e5cb7
JM
4539 * math/gen-libm-test.pl (adjust_arg): Remove function.
4540 (special_function): Remove argument $in_func. Only handle
4541 generating output for tables of tests, not inside functions.
4542 (parse_args): Likewise.
4543 (generate_testfile): Remove variable $in_func. Update call to
4544 parse_args.
4545 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4546 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4547 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4548 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4549 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4550 (MAX_VALUE_INIT): Rename macro to max_value.
4551 (MIN_VALUE_INIT): Rename macro to min_value.
4552 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4553 (plus_zero): Remove variable.
4554 (minus_zero): Likewise.
4555 (plus_infty): Likewise.
4556 (minus_infty): Likewise.
4557 (qnan_value): Likewise.
4558 (max_value): Likewise.
4559 (min_value): Likewise.
4560 (min_subnorm_value): Likewise.
4561
e054f494
RA
45622013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4563
4564 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4565 uint64_t or uint32_t usage.
4566 * crypt/sha256-block.c: Likewise.
4567 * crypt/sha256-crypt.c: Likewise.
4568 * crypt/sha256.c: Likewise.
4569 * crypt/sha512-block.c: Likewise.
4570 * crypt/sha512-crypt.c: Likewise.
4571 * crypt/sha512.c: Likewise.
4572 * debug/backtrace-tst.c: Likewise.
4573 * debug/pcprofiledump.c: Likewise.
4574 * elf/cache.c: Likewise.
4575 * elf/dl-cache.c: Likewise.
4576 * elf/dl-misc.c: Likewise.
4577 * elf/dl-profile.c: Likewise.
4578 * elf/dl-support.c: Likewise.
4579 * elf/ldconfig.c: Likewise.
4580 * elf/sprof.c: Likewise.
4581 * iconv/dummy-repertoire.c: Likewise.
4582 * iconv/iconv_charmap.c: Likewise.
4583 * iconv/skeleton.c: Likewise.
4584 * iconvdata/8bit-generic.c: Likewise.
4585 * iconvdata/cp737.h: Likewise.
4586 * iconvdata/cp775.h: Likewise.
4587 * iconvdata/ibm1008.h: Likewise.
4588 * iconvdata/ibm1025.h: Likewise.
4589 * iconvdata/ibm1046.h: Likewise.
4590 * iconvdata/ibm1097.h: Likewise.
4591 * iconvdata/ibm1112.h: Likewise.
4592 * iconvdata/ibm1122.h: Likewise.
4593 * iconvdata/ibm1123.h: Likewise.
4594 * iconvdata/ibm1124.h: Likewise.
4595 * iconvdata/ibm1129.h: Likewise.
4596 * iconvdata/ibm1130.h: Likewise.
4597 * iconvdata/ibm1132.h: Likewise.
4598 * iconvdata/ibm1133.h: Likewise.
4599 * iconvdata/ibm1137.h: Likewise.
4600 * iconvdata/ibm1140.h: Likewise.
4601 * iconvdata/ibm1141.h: Likewise.
4602 * iconvdata/ibm1142.h: Likewise.
4603 * iconvdata/ibm1143.h: Likewise.
4604 * iconvdata/ibm1144.h: Likewise.
4605 * iconvdata/ibm1145.h: Likewise.
4606 * iconvdata/ibm1146.h: Likewise.
4607 * iconvdata/ibm1147.h: Likewise.
4608 * iconvdata/ibm1148.h: Likewise.
4609 * iconvdata/ibm1149.h: Likewise.
4610 * iconvdata/ibm1153.h: Likewise.
4611 * iconvdata/ibm1154.h: Likewise.
4612 * iconvdata/ibm1155.h: Likewise.
4613 * iconvdata/ibm1156.h: Likewise.
4614 * iconvdata/ibm1157.h: Likewise.
4615 * iconvdata/ibm1158.h: Likewise.
4616 * iconvdata/ibm1160.h: Likewise.
4617 * iconvdata/ibm1161.h: Likewise.
4618 * iconvdata/ibm1162.h: Likewise.
4619 * iconvdata/ibm1163.h: Likewise.
4620 * iconvdata/ibm1164.h: Likewise.
4621 * iconvdata/ibm1166.h: Likewise.
4622 * iconvdata/ibm1167.h: Likewise.
4623 * iconvdata/ibm12712.h: Likewise.
4624 * iconvdata/ibm1390.h: Likewise.
4625 * iconvdata/ibm1399.h: Likewise.
4626 * iconvdata/ibm16804.h: Likewise.
4627 * iconvdata/ibm4517.h: Likewise.
4628 * iconvdata/ibm4899.h: Likewise.
4629 * iconvdata/ibm4909.h: Likewise.
4630 * iconvdata/ibm4971.h: Likewise.
4631 * iconvdata/ibm5347.h: Likewise.
4632 * iconvdata/ibm803.h: Likewise.
4633 * iconvdata/ibm856.h: Likewise.
4634 * iconvdata/ibm901.h: Likewise.
4635 * iconvdata/ibm902.h: Likewise.
4636 * iconvdata/ibm9030.h: Likewise.
4637 * iconvdata/ibm9066.h: Likewise.
4638 * iconvdata/ibm921.h: Likewise.
4639 * iconvdata/ibm922.h: Likewise.
4640 * iconvdata/ibm9448.h: Likewise.
4641 * iconvdata/isiri-3342.h: Likewise.
4642 * iconvdata/jis0201.h: Likewise.
4643 * include/link.h: Likewise.
4644 * include/netdb.h: Likewise.
4645 * inet/check_native.c: Likewise.
4646 * inet/check_pf.c: Likewise.
4647 * inet/getipv4sourcefilter.c: Likewise.
4648 * inet/getnameinfo.c: Likewise.
4649 * inet/getsourcefilter.c: Likewise.
4650 * inet/htonl.c: Likewise.
4651 * inet/setipv4sourcefilter.c: Likewise.
4652 * inet/setsourcefilter.c: Likewise.
4653 * inet/test-inet6_opt.c: Likewise.
4654 * inet/tst-network.c: Likewise.
4655 * locale/C-collate.c: Likewise.
4656 * locale/C-ctype.c: Likewise.
4657 * locale/C-time.c: Likewise.
4658 * locale/C-translit.h: Likewise.
4659 * locale/loadarchive.c: Likewise.
4660 * locale/programs/3level.h: Likewise.
4661 * locale/programs/charmap.c: Likewise.
4662 * locale/programs/charmap.h: Likewise.
4663 * locale/programs/ld-address.c: Likewise.
4664 * locale/programs/ld-collate.c: Likewise.
4665 * locale/programs/ld-ctype.c: Likewise.
4666 * locale/programs/ld-identification.c: Likewise.
4667 * locale/programs/ld-measurement.c: Likewise.
4668 * locale/programs/ld-messages.c: Likewise.
4669 * locale/programs/ld-monetary.c: Likewise.
4670 * locale/programs/ld-name.c: Likewise.
4671 * locale/programs/ld-numeric.c: Likewise.
4672 * locale/programs/ld-paper.c: Likewise.
4673 * locale/programs/ld-telephone.c: Likewise.
4674 * locale/programs/ld-time.c: Likewise.
4675 * locale/programs/linereader.c: Likewise.
4676 * locale/programs/locale.c: Likewise.
4677 * locale/programs/locarchive.c: Likewise.
4678 * locale/programs/locfile.h: Likewise.
4679 * locale/programs/repertoire.c: Likewise.
4680 * locale/programs/simple-hash.c: Likewise.
4681 * locale/programs/simple-hash.h: Likewise.
4682 * malloc/memusage.c: Likewise.
4683 * malloc/memusagestat.c: Likewise.
4684 * nis/nis_defaults.c: Likewise.
4685 * nis/nis_hash.c: Likewise.
4686 * nis/nis_print.c: Likewise.
4687 * nis/nis_xdr.c: Likewise.
4688 * nscd/connections.c: Likewise.
4689 * nscd/hstcache.c: Likewise.
4690 * nscd/nscd_gethst_r.c: Likewise.
4691 * nscd/nscd_getserv_r.c: Likewise.
4692 * nscd/nscd_helper.c: Likewise.
4693 * nscd/servicescache.c: Likewise.
4694 * nss/makedb.c: Likewise.
4695 * nss/nss_db/db-XXX.c: Likewise.
4696 * nss/nss_db/db-initgroups.c: Likewise.
4697 * nss/nss_db/db-netgrp.c: Likewise.
4698 * nss/nss_files/files-network.c: Likewise.
4699 * nss/nss_files/files-parse.c: Likewise.
4700 * posix/bug-regex5.c: Likewise.
4701 * posix/fnmatch_loop.c: Likewise.
4702 * posix/regcomp.c: Likewise.
4703 * posix/regexec.c: Likewise.
4704 * posix/tst-rfc3484-2.c: Likewise.
4705 * posix/tst-rfc3484-3.c: Likewise.
4706 * posix/tst-rfc3484.c: Likewise.
4707 * resolv/nss_dns/dns-canon.c: Likewise.
4708 * resolv/nss_dns/dns-network.c: Likewise.
4709 * resolv/res_init.c: Likewise.
4710 * resolv/res_mkquery.c: Likewise.
4711 * resolv/tst-aton.c: Likewise.
4712 * stdlib/cxa_atexit.c: Likewise.
4713 * stdlib/cxa_finalize.c: Likewise.
4714 * stdlib/gen-fpioconst.c: Likewise.
4715 * stdlib/strtol_l.c: Likewise.
4716 * string/tst-endian.c: Likewise.
4717 * sunrpc/auth_des.c: Likewise.
4718 * sunrpc/clnt_udp.c: Likewise.
4719 * sunrpc/rtime.c: Likewise.
4720 * sunrpc/svcauth_des.c: Likewise.
4721 * sunrpc/xdr.c: Likewise.
4722 * sunrpc/xdr_intXX_t.c: Likewise.
4723 * sunrpc/xdr_rec.c: Likewise.
4724 * sysdeps/generic/ldconfig.h: Likewise.
4725 * sysdeps/generic/ldsodefs.h: Likewise.
4726 * sysdeps/generic/memusage.h: Likewise.
4727 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4728 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4729 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4730 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4732 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4733 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4734 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4735 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4736 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4737 * sysdeps/posix/getaddrinfo.c: Likewise.
4738 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4739 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4740 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4741 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4742 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4743 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4744 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4745 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4746 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4747 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4748 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4749 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4750 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4751 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4752 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4753 * sysdeps/x86_64/dl-tls.h: Likewise.
4754 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4755 * time/alt_digit.c: Likewise.
4756 * time/era.c: Likewise.
4757 * wcsmbs/tst-c16c32-1.c: Likewise.
4758
8c75f674
JM
47592013-05-16 Joseph Myers <joseph@codesourcery.com>
4760
4761 * math/libm-test.inc (struct test_sincos_data): New type.
4762 (RUN_TEST_LOOP_sincos): New macro.
4763 (sincos_test_data): New variable.
4764 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4765
e6e49e59
RH
47662013-05-16 Richard Henderson <rth@redhat.com>
4767
4768 * math/atest-exp2.c (LIMB64): New macro.
4769 (CONSTSZ): New macro.
4770 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4771 (hexdig): Move ...
4772 (print_mpn_fp): ... to function scope.
4773 (read_mpn_hex): Remove.
4774 (get_log2): Remove.
4775 (exp2_mpn): Use mp_log2.
4776 (main): Use mp_exp1.
4777
15c7c18d
JM
47782013-05-16 Joseph Myers <joseph@codesourcery.com>
4779
105a07df
JM
4780 * math/libm-test.inc: Remove comment about not testing "inexact"
4781 exceptions.
4782 (INEXACT_EXCEPTION): New macro.
4783 (NO_INEXACT_EXCEPTION): Likewise.
4784 (INVALID_EXCEPTION_OK): Update value.
4785 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4786 (OVERFLOW_EXCEPTION_OK): Likewise.
4787 (UNDERFLOW_EXCEPTION_OK): Likewise.
4788 (IGNORE_ZERO_INF_SIGN): Likewise.
4789 (ERRNO_UNCHANGED): Likewise.
4790 (ERRNO_EDOM): Likewise.
4791 (ERRNO_ERANGE): Likewise.
4792 (test_exceptions): Handle testing "inexact" exceptions.
4793 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4794 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4795 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4796 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4797 INEXACT_EXCEPTION.
4798 (rint_towardzero_test_data): Likewise.
4799 (rint_downward_test_data): Likewise.
4800 (rint_upward_test_data): Likewise.
4801
e9eee333
JM
4802 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4803 with OVERFLOW_EXCEPTION.
4804 (exp10_test_data): Likewise.
4805 (exp2_test_data): Likewise.
4806 (expm1_test_data): Likewise.
4807 (lgamma_test_data): Likewise.
4808 (pow_test_data): Likewise.
4809 (tgamma_test_data): Likewise.
4810 (yn_test_data): Remove duplicate test of overflow.
4811
1c38ff73
JM
4812 * math/libm-test.inc (struct test_cc_c_data): New type.
4813 (RUN_TEST_LOOP_cc_c): New macro.
4814 (cpow_test_data): New variable.
4815 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4816
15c7c18d
JM
4817 * math/libm-test.inc (struct test_f_L_data): New type.
4818 (RUN_TEST_LOOP_f_L): New macro.
4819 (llrint_test_data): New variable.
4820 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4821 (llrint_tonearest_test_data): New variable.
4822 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4823 (llrint_towardzero_test_data): New variable.
4824 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4825 (llrint_downward_test_data): New variable.
4826 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4827 (llrint_upward_test_data): New variable.
4828 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4829 (llround_test_data): New variable.
4830 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4831
f137ff13
PC
48322013-05-13 Peter Collingbourne <pcc@google.com>
4833
4834 * math/atest-exp2.c (get_log2): Remove const attribute.
4835
3608cb24
JM
48362013-05-15 Joseph Myers <joseph@codesourcery.com>
4837
4838 * math/libm-test.inc (struct test_f_l_data): New type.
4839 (RUN_TEST_LOOP_f_l): New macro.
4840 (lrint_test_data): New variable.
4841 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4842 (lrint_tonearest_test_data): New variable.
4843 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4844 (lrint_towardzero_test_data): New variable.
4845 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4846 (lrint_downward_test_data): New variable.
4847 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4848 (lrint_upward_test_data): New variable.
4849 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4850 (lround_test_data): New variable.
4851 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4852
39b1f617
PC
48532013-05-15 Peter Collingbourne <pcc@google.com>
4854
1deff3dc
PC
4855 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4856 (EXTRACT_WORDS64) Use where appropriate.
4857 (INSERT_WORDS64) Likewise.
4858
791f3ba0
PC
4859 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4860 constraints with x constraints.
4861 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4862
39b1f617
PC
4863 * malloc/obstack.c (_obstack_compat): Add initializer.
4864
12fba011
EM
48652013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4866
4867 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4868 si_trapno and add si_addr_lsb to _sifields.sigfault.
4869 (si_trapno): Remove macro.
4870 (si_addr_lsb): Define new macro.
4871 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4872
d369f531
JM
48732013-05-15 Joseph Myers <joseph@codesourcery.com>
4874
b861c6c4
JM
4875 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4876 instead of TEST_f_l.
4877 (llrint_test_tonearest): Likewise.
4878 (llrint_test_towardzero): Likewise.
4879 (llrint_test_downward): Likewise.
4880 (llrint_test_upward): Likewise.
4881 (llround_test): Likewise.
4882
7abeee12
JM
4883 * math/libm-test.inc (struct test_f_i_data): Add comment.
4884 (RUN_TEST_LOOP_f_b): New macro.
4885 (RUN_TEST_LOOP_f_b_tg): Likewise.
4886 (finite_test_data): New variable.
4887 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4888 (isfinite_test_data): New variable.
4889 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4890 (isinf_test_data): New variable.
4891 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4892 (isnan_test_data): New variable.
4893 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4894 (isnormal_test_data): New variable.
4895 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4896 (issignaling_test_data): New variable.
4897 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4898 (signbit_test_data): New variable.
4899 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4900
cbe8c4d3
JM
4901 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4902 with INVALID_EXCEPTION.
4903 (acosh_test_data): Likewise.
4904 (asin_test_data): Likewise.
4905 (atanh_test_data): Likewise.
4906 (fmod_test_data): Likewise.
4907 (log_test_data): Likewise.
4908 (log10_test_data): Likewise.
4909 (log2_test_data): Likewise.
4910 (pow_test_data): Likewise.
4911 (sqrt_test_data): Likewise.
4912 (y0_test_data): Likewise.
4913 (y1_test_data): Likewise.
4914 (yn_test_data): Likewise.
4915
5575c0e5
JM
4916 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4917 function contents.
4918
d369f531
JM
4919 * math/libm-test.inc (struct test_ff_i_data): New type.
4920 (RUN_TEST_LOOP_ff_i_tg): New macro.
4921 (isgreater_test_data): New variable.
4922 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4923 (isgreaterequal_test_data): New variable.
4924 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4925 (isless_test_data): New variable.
4926 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4927 (islessequal_test_data): New variable.
4928 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4929 (islessgreater_test_data): New variable.
4930 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4931 (isunordered_test_data): New variable.
4932 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4933
781fd748
DM
49342013-05-14 David S. Miller <davem@davemloft.net>
4935
4936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4937
87aa21df
JM
49382013-05-14 Joseph Myers <joseph@codesourcery.com>
4939
5e908270
JM
4940 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4941
f71172e5
JM
4942 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4943 extra_test to int.
4944 (struct test_f_i_data): Change type of max_ulp to int.
4945
8cfa635a
JM
4946 * math/libm-test.inc (test_ffI_f1_data): New type.
4947 (RUN_TEST_LOOP_ffI_f1): New macro.
4948 (remquo_test_data): New variable.
4949 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4950
2bcb36b2
JM
4951 * setjmp/tst-setjmp-fp.c: New file.
4952 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4953 (link-libm): New variable.
4954 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4955
acbd839a
JM
4956 * math/libm-test.inc (struct test_f_i_data): New type.
4957 (RUN_TEST_LOOP_f_i): New macro.
4958 (RUN_TEST_LOOP_f_i_tg): Likewise.
4959 (fpclassify_test_data): New variable.
4960 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4961 (ilogb_test_data): New variable.
4962 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4963
e414d745
JM
4964 * math/libm-test.inc (scalbln_test): Correct function name in END
4965 call.
4966
d9c2a0fd
JM
4967 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4968 (RUN_TEST_LOOP_fI_f1): New macro.
4969 (frexp_test_data): New variable.
4970 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4971
9dc9095d
JM
4972 * math/libm-test.inc (struct test_fF_f1_data): New type.
4973 (RUN_TEST_LOOP_fF_f1): New macro.
4974 (modf_test_data): New variable.
4975 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4976
87aa21df
JM
4977 * math/libm-test.inc (struct test_f_f1_data): New type.
4978 (RUN_TEST_LOOP_f_f1): New macro.
4979 (gamma_test_data): New variable.
4980 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4981 (lgamma_test_data): New variable.
4982 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4983
141af660
CD
49842013-05-13 Carlos O'Donell <carlos@redhat.com>
4985
4986 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4987 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4988 (main): Comment "tls" pseudo-hwcap.
4989
6d33265c
JM
49902013-05-13 Joseph Myers <joseph@codesourcery.com>
4991
68fc074c
JM
4992 * math/libm-test.inc (struct test_fl_f_data): New type.
4993 (RUN_TEST_LOOP_fl_f): New variable.
4994 (scalbln_test_data): New variable.
4995 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4996
243216e1
JM
4997 * math/libm-test.inc (struct test_fi_f_data): New type.
4998 (RUN_TEST_LOOP_fi_f): New macro.
4999 (ldexp_test_data): New variable.
5000 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5001 (scalbn_test_data): New variable.
5002 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5003
6a1992e2
JM
5004 * math/libm-test.inc (struct test_c_f_data): New type.
5005 (RUN_TEST_LOOP_c_f): New macro.
5006 (cabs_test_data): New variable.
5007 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5008 (carg_test_data): New variable.
5009 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5010 (cimag_test_data): New variable.
5011 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5012 (creal_test_data): New variable.
5013 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5014
0e400df5
JM
5015 * math/libm-test.inc (struct test_if_f_data): New type.
5016 (RUN_TEST_LOOP_if_f): New macro.
5017 (jn_test_data): New variable.
5018 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5019 (yn_test_data): New variable.
5020 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5021
6d33265c
JM
5022 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5023
f98ece5f
AZ
50242013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5025
5026 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5027 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5028
0f7d347b
SP
50292013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5030
43fe811b
SP
5031 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5032 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5033 (bench-deps): Add bench-timing.h.
5034 * benchtests-bench-skeleton.c: Include bench-timing.h.
5035 (main): Use TIMING_* macros instead of clock_gettime.
5036 * benchtests/bench-timing.h: New file.
5037
0f7d347b
SP
5038 [BZ #14582]
5039 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5040 Renamed from _LIB_VERSION.
5041 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5042
601a3a5f
JM
50432013-05-12 Joseph Myers <joseph@codesourcery.com>
5044
4f184d30
JM
5045 * math/libm-test.inc (struct test_fff_f_data): New type.
5046 (RUN_TEST_LOOP_fff_f): New macro.
5047 (fma_test_data): New variable.
5048 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5049 (fma_towardzero_test_data): New variable.
5050 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5051 (fma_downward_test_data): New variable.
5052 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5053 (fma_upward_test_data): New variable.
5054 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5055
08198877
JM
5056 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5057 (struct test_c_c_data): New type.
5058 (RUN_TEST_LOOP_c_c): New macro.
5059 (cacos_test_data): New variable.
5060 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5061 (cacosh_test_data): New variable.
5062 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5063 (casin_test_data): New variable.
5064 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5065 (casinh_test_data): New variable.
5066 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5067 (catan_test_data): New variable.
5068 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5069 (catanh_test_data): New variable.
5070 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5071 (ccos_test_data): New variable.
5072 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5073 (ccosh_test_data): New variable.
5074 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5075 (cexp_test_data): New variable.
5076 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5077 (clog_test_data): New variable.
5078 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5079 (clog10_test_data): New variable.
5080 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5081 (conj_test_data): New variable.
5082 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5083 (cproj_test_data): New variable.
5084 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5085 (csin_test_data): New variable.
5086 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5087 (csinh_test_data): New variable.
5088 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5089 (csqrt_test_data): New variable.
5090 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5091 (ctan_test_data): New variable.
5092 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5093 (ctan_tonearest_test_data): New variable.
5094 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5095 (ctan_towardzero_test_data): New variable.
5096 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5097 (ctan_downward_test_data): New variable.
5098 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5099 (ctan_upward_test_data): New variable.
5100 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5101 (ctanh_test_data): New variable.
5102 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5103 (ctanh_tonearest_test_data): New variable.
5104 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5105 (ctanh_towardzero_test_data): New variable.
5106 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5107 (ctanh_downward_test_data): New variable.
5108 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5109 (ctanh_upward_test_data): New variable.
5110 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5111 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5112 of BUILD_COMPLEX.
5113
601a3a5f
JM
5114 * math/libm-test.inc (struct test_ff_f_data): New type.
5115 (struct test_ff_f_data_nexttoward): Likewise.
5116 (RUN_TEST_LOOP_2_f): New macro.
5117 (RUN_TEST_LOOP_ff_f): Likewise.
5118 (atan2_test_data): New variable.
5119 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5120 (copysign_test_data): New variable.
5121 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5122 (fdim_test_data): New variable.
5123 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5124 (fmax_test_data): New variable.
5125 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5126 (fmin_test_data): New variable.
5127 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5128 (fmod_test_data): New variable.
5129 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5130 (hypot_test_data): New variable.
5131 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5132 (nextafter_test_data): New variable.
5133 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5134 (nexttoward_test_data): New variable.
5135 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5136 (pow_test_data): New variable.
5137 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5138 (pow_tonearest_test_data): New variable.
5139 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5140 (pow_towardzero_test_data): New variable.
5141 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5142 (pow_downward_test_data): New variable.
5143 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5144 (pow_upward_test_data): New variable.
5145 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5146 (remainder_test_data): New variable.
5147 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5148 (scalb_test_data): New variable.
5149 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5150 * sysdeps/i386/fpu/libm-test-ulps: Update.
5151
74c57478
JM
51522013-05-11 Joseph Myers <joseph@codesourcery.com>
5153
8329e4da
JM
5154 * math/libm-test.inc (fma_test): Use max_value instead of local
5155 variable fltmax.
5156 (nextafter_test): Likewise.
5157
74c57478
JM
5158 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5159 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5160 (acos_downward_test_data): New variable.
5161 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5162 (acos_upward_test_data): New variable.
5163 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5164 (acosh_test_data): New variable.
5165 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5166 (asin_test_data): New variable.
5167 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5168 (asin_tonearest_test_data): New variable.
5169 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5170 (asin_towardzero_test_data): New variable.
5171 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5172 (asin_downward_test_data): New variable.
5173 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5174 (asin_upward_test_data): New variable.
5175 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5176 (asinh_test_data): New variable.
5177 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5178 (atan_test_data): New variable.
5179 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5180 (atanh_test_data): New variable.
5181 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5182 (cbrt_test_data): New variable.
5183 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5184 (ceil_test_data): New variable.
5185 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5186 (cos_test_data): New variable.
5187 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5188 (cos_tonearest_test_data): New variable.
5189 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5190 (cos_towardzero_test_data): New variable.
5191 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5192 (cos_downward_test_data): New variable.
5193 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5194 (cos_upward_test_data): New variable.
5195 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5196 (cosh_test_data): New variable.
5197 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5198 (cosh_tonearest_test_data): New variable.
5199 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5200 (cosh_towardzero_test_data): New variable.
5201 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5202 (cosh_downward_test_data): New variable.
5203 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5204 (cosh_upward_test_data): New variable.
5205 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5206 (erf_test_data): New variable.
5207 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5208 (erfc_test_data): New variable.
5209 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5210 (exp_test_data): New variable.
5211 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5212 (exp_tonearest_test_data): New variable.
5213 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5214 (exp_towardzero_test_data): New variable.
5215 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5216 (exp_downward_test_data): New variable.
5217 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5218 (exp_upward_test_data): New variable.
5219 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5220 (exp10_test_data): New variable.
5221 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5222 (exp2_test_data): New variable.
5223 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5224 (expm1_test_data): New variable.
5225 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5226 (fabs_test_data): New variable.
5227 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5228 (floor_test_data): New variable.
5229 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5230 (j0_test_data): New variable.
5231 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5232 (j1_test_data): New variable.
5233 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5234 (log_test_data): New variable.
5235 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5236 (log10_test_data): New variable.
5237 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5238 (log1p_test_data): New variable.
5239 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5240 (log2_test_data): New variable.
5241 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5242 (logb_test_data): New variable.
5243 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5244 (logb_downward_test_data): New variable.
5245 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5246 (nearbyint_test_data): New variable.
5247 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5248 (rint_test_data): New variable.
5249 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5250 (rint_tonearest_test_data): New variable.
5251 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5252 (rint_towardzero_test_data): New variable.
5253 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5254 (rint_downward_test_data): New variable.
5255 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5256 (rint_upward_test_data): New variable.
5257 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5258 (round_test_data): New variable.
5259 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5260 (sin_test_data): New variable.
5261 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5262 (sin_tonearest_test_data): New variable.
5263 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5264 (sin_towardzero_test_data): New variable.
5265 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5266 (sin_downward_test_data): New variable.
5267 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5268 (sin_upward_test_data): New variable.
5269 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5270 (sinh_test_data): New variable.
5271 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5272 (sinh_tonearest_test_data): New variable.
5273 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5274 (sinh_towardzero_test_data): New variable.
5275 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5276 (sinh_downward_test_data): New variable.
5277 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5278 (sinh_upward_test_data): New variable.
5279 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5280 (sqrt_test_data): New variable.
5281 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5282 (tan_test_data): New variable.
5283 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5284 (tan_tonearest_test_data): New variable.
5285 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5286 (tan_towardzero_test_data): New variable.
5287 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5288 (tan_downward_test_data): New variable.
5289 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5290 (tan_upward_test_data): New variable.
5291 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5292 (tanh_test_data): New variable.
5293 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5294 (tgamma_test_data): New variable.
5295 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5296 (trunc_test_data): New variable.
5297 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5298 (y0_test_data): New variable.
5299 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5300 (y1_test_data): New variable.
5301 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5302 (significand_test_data): New variable.
5303 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5304
7187d844
CG
53052013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5306
5307 [BZ #12387]
5308 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5309
f63fae73
PT
53102013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5311
5312 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5313
8a67a4b3
AJ
53142013-05-10 Andreas Jaeger <aj@suse.de>
5315
5316 [BZ #15448]
5317 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5318 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5319
51df539d
JM
53202013-05-10 Joseph Myers <joseph@codesourcery.com>
5321
5322 * math/gen-libm-test.pl (adjust_arg): New function.
5323 (special_functions): Handle generating output in both functions
5324 and arrays.
5325 (parse_args): Likewise.
5326 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5327 $in_func argument to parse_args.
5328 * math/libm-test.inc (struct test_f_f_data): New type.
5329 (IF_ROUND_INIT_): New macro.
5330 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5331 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5332 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5333 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5334 (ROUND_RESTORE_): Likewise.
5335 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5336 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5337 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5338 (ROUND_RESTORE_FE_UPWARD): Likewise.
5339 (RUN_TEST_LOOP_f_f): New macro.
5340 (acos_test_data): New variable.
5341 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5342 (acos_tonearest_test_data): New variable.
5343 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5344
5c637fe5
SP
53452013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5346
5347 * benchtests/bench-skeleton.c (startup): Fix coding style.
5348
ab2b9461
JM
53492013-05-10 Joseph Myers <joseph@codesourcery.com>
5350
5351 [BZ #6809]
5352 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5353 negative infinity argument.
5354 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5355 negative infinity argument.
5356 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5357 negative infinity argument.
5358 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5359 domain errors.
5360
4c0fe6fe
FW
53612013-05-10 Florian Weimer <fweimer@redhat.com>
5362
5363 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5364 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5365 * iconv/iconv_prog.c (main): Likewise.
5366 * locale/programs/charmap-dir.c (charmap_readdir)
5367 (fopen_uncompressed): Likewise.
5368 * locale/programs/locfile.c (siblings_uncached)
5369 (write_locale_data): Use lstat64 instead of lstat.
5370 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5371 stat.
5372
a3375d29
AJ
53732013-05-10 Andreas Jaeger <aj@suse.de>
5374
5375 [BZ #15395]
5376 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5377 localization.
5378 Include <locale.h>.
5379
36129722
CD
53802013-05-09 Carlos O'Donell <carlos@redhat.com>
5381
5382 * elf/dl-close.c (_dl_close_worker): Add comments.
5383
faa7f811
JM
53842013-05-09 Joseph Myers <joseph@codesourcery.com>
5385
ed41ffef
JM
5386 [BZ #15359]
5387 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5388 high part of pi/2.
5389 (__ieee754_rem_pio2l): Update comments.
5390
d0213cd0
JM
5391 [BZ #15429]
5392 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5393 high part of pi/2.
5394 (__ieee754_rem_pio2l): Update comments.
5395
0d3e777a
JM
5396 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5397 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5398
24f56066
JM
5399 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5400 M_PI_4l.
5401
faa7f811
JM
5402 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5403 (M_PI_34_LOG10El): Likewise.
5404 (M_PI2_LOG10El): Likewise.
5405 (M_PI4_LOG10El): Likewise.
5406 (M_PI_LOG10El): Likewise.
5407
e9a5e0fd
AZ
54082013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5409
5410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5411
d8cd06db
JM
54122013-05-08 Joseph Myers <joseph@codesourcery.com>
5413
a0d9f9d7
JM
5414 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5415 (MINUS_ZERO_INIT): Likewise.
5416 (PLUS_INFTY_INIT): Likewise.
5417 (MINUS_INFTY_INIT): Likewise.
5418 (QNAN_VALUE_INIT): Likewise.
5419 (MAX_VALUE_INIT): Likewise.
5420 (MIN_VALUE_INIT): Likewise.
5421 (MIN_SUBNORM_VALUE_INIT): Likewise.
5422 (plus_zero): Initialize with PLUS_ZERO_INIT.
5423 (minus_zero): Initialize with MINUS_ZERO_INIT.
5424 (plus_infty): Initialize with PLUS_INFTY_INIT.
5425 (minus_infty): Initialize with MINUS_INFTY_INIT.
5426 (qnan_value): Initialize with QNAN_VALUE_INIT.
5427 (max_value): Initialize with MAX_VALUE_INIT.
5428 (min_value): Initialize with MIN_VALUE_INIT.
5429 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5430
ae08db3b
JM
5431 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5432 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5433 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5434 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5435
f44bf14a
JM
5436 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5437 (RUN_TEST_2_f): Likewise.
5438 (RUN_TEST_ff_f): Likewise.
5439 (RUN_TEST_fi_f): Likewise.
5440 (RUN_TEST_fl_f): Likewise.
5441 (RUN_TEST_fff_f): Likewise.
5442 (RUN_TEST_c_f): Likewise.
5443 (RUN_TEST_f_f1): Likewise.
5444 (RUN_TEST_fF_f1): Likewise.
5445 (RUN_TEST_fI_f1): Likewise.
5446 (RUN_TEST_ffI_f1): Likewise.
5447 (RUN_TEST_c_c): Likewise.
5448 (RUN_TEST_cc_c): Likewise.
5449 (RUN_TEST_f_i): Likewise.
5450 (RUN_TEST_f_i_tg): Likewise.
5451 (RUN_TEST_ff_i_tg): Likewise.
5452 (RUN_TEST_f_b): Likewise.
5453 (RUN_TEST_f_b_tg): Likewise.
5454 (RUN_TEST_f_l): Likewise.
5455 (RUN_TEST_f_L): Likewise.
5456 (RUN_TEST_sincos): Likewise.
5457 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5458 whether to show exceptions. Do not include ");\n" in return
5459 value.
5460 (special_functions): Output call to RUN_TEST_sincos instead of
5461 check_float calls. Update calls to new_test.
5462 (parse_args): Output call to single RUN_TEST_* macro instead of
5463 check_* calls and other assignments. Update calls to new_test.
5464
d8cd06db
JM
5465 [BZ #2546]
5466 [BZ #2560]
5467 [BZ #5159]
5468 [BZ #15426]
5469 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5470 input to result for tgamma overflow.
5471 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5472 (gamma_coeff): New variable.
5473 (NCOEFF): New macro.
5474 (gamma_positive): New function.
5475 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5476 underflow here. Use gamma_positive instead of exp (lgamma) for
5477 other arguments.
5478 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5479 (gamma_coeff): New variable.
5480 (NCOEFF): New macro.
5481 (gammaf_positive): New function.
5482 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5483 underflow here. Use gamma_positive instead of exp (lgamma) for
5484 other arguments.
5485 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5486 (gamma_coeff): New variable.
5487 (NCOEFF): New macro.
5488 (gammal_positive): New function.
5489 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5490 underflow here. Use gamma_positive instead of exp (lgamma) for
5491 other arguments.
5492 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5493 (gamma_coeff): New variable.
5494 (NCOEFF): New macro.
5495 (gammal_positive): New function.
5496 (__ieee754_gammal_r): Handle positive infinity, overflow and
5497 underflow here. Handle NaN the same as positive infinity. Remove
5498 check x < 0xffffffff for negative integers. Use gamma_positive
5499 instead of exp (lgamma) for other arguments.
5500 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5501 (gamma_coeff): New variable.
5502 (NCOEFF): New macro.
5503 (gammal_positive): New function.
5504 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5505 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5507 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5508 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5509 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5510 * sysdeps/generic/math_private.h (__gamma_productf): New
5511 prototype.
5512 (__gamma_product): Likewise.
5513 (__gamma_productl): Likewise.
5514 * math/Makefile (libm-calls): Add gamma_product.
5515 * math/libm-test.inc (tgamma_test): Add more tests.
5516 * sysdeps/i386/fpu/libm-test-ulps: Update.
5517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5518
bb7cf681
OB
55192013-05-08 Ondřej Bílka <neleai@seznam.cz>
5520
5521 * benchtests/bench-skeleton.c (main): Preheat CPU.
5522
ba853947
AJ
55232013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5524
5525 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5526
8347c74c
RM
55272013-05-07 Roland McGrath <roland@hack.frob.com>
5528
5529 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5530 and _dl_skip_args_internal.
5531
e8dd4791
CD
55322013-05-07 Carlos O'Donell <carlos@redhat.com>
5533
5534 * manual/message.texi (Message Translation): Talk about users.
5535 Message to key mapping impacts design.
5536
c7405830
RM
55372013-05-06 Roland McGrath <roland@hack.frob.com>
5538
a9173057
RM
5539 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5540
976e2f03
RM
5541 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5542
9723ffc5
RM
5543 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5544 * sysdeps/wordsize-64/glob64.c: ... here.
5545
962e6658
RM
5546 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5547 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5548 New macros.
5549
ee586a6d
RM
5550 * debug/getlogin_r_chk.c: Moved to ...
5551 * login/getlogin_r_chk.c: ... here.
5552 * debug/Makefile (routines): Move getlogin_r_chk to ...
5553 * login/Makefile (routines): ... here.
5554 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5555 * login/Versions (libc: GLIBC_2.4): ... here.
5556
355f9165
RM
5557 * io/poll.c (__poll): Renamed from poll.
5558 Add libc_hidden_def.
5559 (poll): Define as weak alias.
5560
bd9ffde6
RM
5561 * debug/ptsname_r_chk.c: Moved to ...
5562 * login/ptsname_r_chk.c: ... here.
5563 * debug/Makefile (routines): Move ptsname_r_chk to ...
5564 * login/Makefile (routines): ... here.
5565 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5566 * login/Versions (libc: GLIBC_2.4): ... here.
5567
8fb16a04
RM
5568 * posix/getlogin.c: Moved to ...
5569 * login/getlogin.c: ... here.
5570 * posix/getlogin_r.c: Moved to ...
5571 * login/getlogin_r.c: ... here.
5572 * posix/getlogin_r.c: Moved to ...
5573 * login/getlogin_r.c: ... here.
5574 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5575 * login/Makefile (routines): ... here.
5576 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5577 * login/Versions (libc: GLIBC_2.0): ... here.
5578
b99b892f
RM
5579 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5580 (setrlimit): Define as weak alias.
5581
c7405830
RM
5582 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5583 Call __ names for open, ftruncate, and close.
5584 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5585 (truncate): Define as weak alias.
5586
5bf96de5
JM
55872013-05-06 Joseph Myers <joseph@codesourcery.com>
5588
9ea3513c
JM
5589 * math/gen-libm-test.pl (parse_args): Initialize x before each
5590 test of frexp, modf and remquo.
5591
5bf96de5
JM
5592 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5593 test signgam value.
5594
16e616a7
AZ
55952013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5596
5597 [BZ #15418]
5598 [BZ #15419]
5599 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5600 internal tests.
5601 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5602
d5e82754
RM
56032013-05-06 Roland McGrath <roland@hack.frob.com>
5604
5605 * elf/dl-writev.h: New file.
5606 * elf/dl-misc.c: Include it.
5607 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5608 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5609
a7548d41
JM
56102013-05-04 Joseph Myers <joseph@codesourcery.com>
5611
b7dab1e4
JM
5612 * math/libm-test.inc (noXFails): Remove variable.
5613 (noXPasses): Likewise.
5614 (BUILD_COMPLEX_INT): Remove macro.
5615 (print_screen): Remove xfail argument.
5616 (print_screen_max_error): Likewise.
5617 (update_stats): Likewise.
5618 (print_max_error): Likewise. Update calls to other affected
5619 functions.
5620 (print_complex_max_error): Likewise.
5621 (test_single_exception): Update calls to print_screen.
5622 (test_single_errno): Likewise.
5623 (check_float_internal): Remove xfail argument. Update calls to
5624 other affected functions.
5625 (check_float): Likewise.
5626 (check_complex): Likewise.
5627 (check_int): Likewise.
5628 (check_long): Likewise.
5629 (check_bool): Likewise.
5630 (check_longlong): Likewise.
5631 (main): Don't print noXFails and noXPasses.
5632 * math/gen-libm-test.pl (top level): Don't mention expected
5633 failure handling in comment.
5634 (new_test): Don't handle expected failures.
5635 (parse_args): Don't mention expected failure handling in comment.
5636 (generate_testfile): Don't handle expected failures.
5637 (parse_ulps): Likewise.
5638 (print_ulps_file): Likewise.
5639 (get_failure): Remove function.
5640 (output_test): Don't handle expected failures.
5641 * make/README.libm-test: Don't mention expected failure handling.
5642
a7548d41
JM
5643 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5644 (minus_zero): Likewise.
5645 (plus_infty): Likewise.
5646 (minus_infty): Likewise.
5647 (qnan_value): Likewise.
5648 (max_value): Likewise.
5649 (min_value): Likewise.
5650 (min_subnorm_value): Likewise.
5651 (initialize): Do not initialize those variables dynamically.
5652
60bfd54c
RM
56532013-05-03 Roland McGrath <roland@hack.frob.com>
5654
cc0e6ed8
RM
5655 * io/open.c (__open_2): Moved to ...
5656 * io/open_2.c: ... this new file.
5657 * io/open64.c (__open64_2): Moved to ...
5658 * io/open64_2.c: ... this new file.
5659 * io/openat.c (__openat_2): Moved to ...
5660 * io/openat_2.c: ... this new file.
5661 * io/openat64.c (__openat64_2): Moved to ...
5662 * io/openat64_2.c: ... this new file.
5663 * io/Makefile (routines): Add them.
5664 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5665 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5666 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5667 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5668 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5669 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5670 (__openat64): Add hidden_ver.
5671 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5672 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5673
60bfd54c
RM
5674 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5675 Separately conditionalize setting of GLRO(dl_sysinfo) so
5676 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5677 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5678
83e7640f
AZ
56792013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5680
5681 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5682 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5683 definition.
5684 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5685 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5686 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5687 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5688 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5689
d5dc2af3
JM
56902013-05-03 Joseph Myers <joseph@codesourcery.com>
5691
c31a5b1e
JM
5692 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5693 test signgam value.
5694
d5dc2af3
JM
5695 * math/libm-test.inc (hypot_test): Do not use
5696 IGNORE_ZERO_INF_SIGN.
5697
164fd39d
AJ
56982013-05-03 Andreas Jaeger <aj@suse.de>
5699
5700 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5701 Linux 3.9.
5702 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5703 (PF_MAX): Adjust for VSOCK change.
5704
8237f48c
AZ
57052013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5706
5707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5708
9df02941
CD
57092013-05-02 Carlos O'Donell <carlos@redhat.com>
5710
5711 [BZ #15264]
5712 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5713 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5714 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5715
d422395e
DM
57162013-05-02 David S. Miller <davem@davemloft.net>
5717
5718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5719
a07c5731
OB
57202013-05-01 Ondřej Bílka <neleai@seznam.cz>
5721
5722 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5723
1324e37f
RM
57242013-05-01 Roland McGrath <roland@hack.frob.com>
5725
5726 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5727
0695940b
RS
57282013-05-01 Richard Smith <richard@metafoo.co.uk>
5729
bb5f27ad 5730 [BZ #14952]
0695940b
RS
5731 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5732 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5733 Use __attribute__ ((__gnu_inline__)).
5734 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5735 Don't use __attribute__ ((__gnu_inline__)).
5736
10de07f5
JM
57372013-05-01 Joseph Myers <joseph@codesourcery.com>
5738
5739 [BZ #15423]
5740 * math/s_catan.c (__catan): Handle small real or imaginary part of
5741 input specially to avoid spurious underflow.
5742 * math/s_catanf.c (__catanf): Likewise.
5743 * math/s_catanh.c (__catanh): Likewise.
5744 * math/s_catanhf.c (__catanhf): Likewise.
5745 * math/s_catanhl.c (__catanhl): Likewise.
5746 * math/s_catanl.c (__catanl): Likewise.
5747 * math/libm-test.inc (catan_test): Add more tests.
5748 (catanh_test): Likewise.
5749 * sysdeps/i386/fpu/libm-test-ulps: Update.
5750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5751
cb4d5414
AZ
57522013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5753
5754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5755
caf84319
JM
57562013-04-30 Joseph Myers <joseph@codesourcery.com>
5757
5758 [BZ #15416]
5759 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5760 accurately for denominator in atan2.
5761 * math/s_catanf.c (__catanf): Likewise.
5762 * math/s_catanh.c (__catanh): Likewise.
5763 * math/s_catanhf.c (__catanhf): Likewise.
5764 * math/s_catanhl.c (__catanhl): Likewise.
5765 * math/s_catanl.c (__catanl): Likewise.
5766 * math/libm-test.inc (catan_test): Add more tests.
5767 (catanh_test): Likewise.
5768 * sysdeps/i386/fpu/libm-test-ulps: Update.
5769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5770
d569c6ee
SP
57712013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5772
6dbe713d
SP
5773 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5774
f0ee064b
SP
5775 * benchtests/Makefile (bench): Remove slow benchmarks.
5776 * benchtests/atan-inputs: Add slow benchmark inputs.
5777 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5778 (BENCH_FUNC): Accept variant offset.
5779 (VARIANT): Define.
5780 * benchtests/bench-skeleton.c (main): Run benchmark for each
5781 variant.
5782 * benchtests/cos-inputs: Add slow benchmark inputs.
5783 * benchtests/exp-inputs: Likewise.
5784 * benchtests/pow-inputs: Likewise.
5785 * benchtests/sin-inputs: Likewise.
5786 * benchtests/slowatan-inputs: Remove.
5787 * benchtests/slowatan.c: Remove.
5788 * benchtests/slowcos-inputs: Remove.
5789 * benchtests/slowcos.c: Remove.
5790 * benchtests/slowexp-inputs: Remove.
5791 * benchtests/slowexp.c: Remove.
5792 * benchtests/slowpow-inputs: Remove.
5793 * benchtests/slowpow.c: Remove.
5794 * benchtests/slowsin-inputs: Remove.
5795 * benchtests/slowsin.c: Remove.
5796 * benchtests/slowtan-inputs: Remove.
5797 * benchtests/slowtan.c: Remove.
5798 * benchtests/tan-inputs: Add slow benchmark inputs.
5799 * scripts/bench.pl: Parse comments and directives.
5800
d569c6ee
SP
5801 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5802 in CPPFLAGS.
5803 ($(objpfx)bench-%.c): Remove *-ITER.
5804 * benchtests/bench-modf.c: Remove definition of ITER.
5805 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5806 (main): Loop for DURATION seconds instead of fixed number of
5807 iterations.
5808 * scripts/bench.pl: Don't expect iterations in parameters.
5809
a6a242fe
RM
58102013-04-29 Roland McGrath <roland@hack.frob.com>
5811
5812 * io/fchdir.c (__fchdir): Renamed from fchdir.
5813 (fchdir): Define as weak alias.
5814
f2da7793
JM
58152013-04-29 Joseph Myers <joseph@codesourcery.com>
5816
5817 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5818 (ERRNO_EDOM): Likewise.
5819 (ERRNO_ERANGE): Likewise.
5820 (noErrnoTests): New variable.
5821 (init_max_error): Set errno to 0.
5822 (test_single_errno): New function.
5823 (test_errno): Likewise.
5824 (check_float_internal): Call test_errno. Set errno to 0.
5825 (check_complex): Refer to errno tests in comment.
5826 (check_int): Call test_errno. Set errno to 0.
5827 (check_long): Likewise.
5828 (check_bool): Likewise.
5829 (check_longlong): Likewise.
5830 (cos_test): Use ERRNO_* flags for errno tests instead of
5831 check_int.
5832 (expm1_test): Likewise.
5833 (fmod_test): Likewise.
5834 (ilogb_test): Likewise.
5835 (lgamma_test): Likewise.
5836 (pow_test): Likewise.
5837 (remainder_test): Likewise.
5838 (sin_test): Likewise.
5839 (tan_test): Likewise.
5840 (yn_test): Likewise.
5841 (initialize): Set errno to 0.
5842 (main): Print number of errno tests.
5843 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5844
b1a36ceb
AJ
58452013-04-29 Andreas Jaeger <aj@suse.de>
5846
c3ed8088
AJ
5847 [BZ #15084]
5848 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5849 and RES_USEVC.
5850
f1a24198
AJ
5851 [BZ #15085]
5852 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5853 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5854 unimplemented.
5855
9ce3b2cb
AJ
5856 [BZ #15380]
5857 * stdlib/random.c (__initstate): Return NULL if
5858 __initstate fails.
5859
f1a24198 5860 [BZ #15086]
b1a36ceb
AJ
5861 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5862 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5863 RES_SNGLKUPREOP.
5864
7e7b6f36
AZ
58652013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5866
5867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5868
4d14f449
JM
58692013-04-29 Joseph Myers <joseph@codesourcery.com>
5870
5871 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5872 of individual tests.
5873 (casin_test): Likewise.
5874 (casinh_test): Likewise.
5875
5b4217d7
JM
58762013-04-27 Joseph Myers <joseph@codesourcery.com>
5877
5878 [BZ #15409]
5879 * math/s_catan.c (__catan): Handle arguments with large real or
5880 imaginary part separately without squaring.
5881 * math/s_catanf.c (__catanf): Likewise.
5882 * math/s_catanh.c (__catanh): Likewise.
5883 * math/s_catanhf.c (__catanhf): Likewise.
5884 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5885 and redefine.
5886 (__catanhl): Handle arguments with large real or imaginary part
5887 separately without squaring.
5888 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5889 and redefine.
5890 (__catanl): Handle arguments with large real or imaginary part
5891 separately without squaring.
5892 * math/libm-test.inc (catan_test): Add more tests.
5893 (catanh_test): Likewise.
5894 * sysdeps/i386/fpu/libm-test-ulps: Update.
5895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5896
4220c3ef
AJ
58972013-04-27 Andreas Jaeger <aj@suse.de>
5898
5899 [BZ #15007]
5900 * stdlib/stdlib.h: Update guards for qecvt.
5901 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5902 <stdlib.h>.
5903
4721b2d1
AM
59042013-04-27 Allan McRae <allan@archlinux.org>
5905
5906 * sysdeps/i386/fpu/libm-test-ulps: Update.
5907
f0302940
JM
59082013-04-26 Joseph Myers <joseph@codesourcery.com>
5909
9457fd95
JM
5910 [BZ #15406]
5911 * math/s_catan.c: Include <float.h>.
5912 (__catan): Ensure underflow exception occurs for underflowed
5913 result.
5914 * math/s_catanf.c: Include <float.h>.
5915 (__catanf): Ensure underflow exception occurs for underflowed
5916 result.
5917 * math/s_catanh.c: Include <float.h>.
5918 (__catanh): Ensure underflow exception occurs for underflowed
5919 result.
5920 * math/s_catanhf.c: Include <float.h>.
5921 (__catanhf): Ensure underflow exception occurs for underflowed
5922 result.
5923 * math/s_catanhl.c: Include <float.h>.
5924 (__catanhl): Ensure underflow exception occurs for underflowed
5925 result.
5926 * math/s_catanl.c: Include <float.h>.
5927 (__catanl): Ensure underflow exception occurs for underflowed
5928 result.
5929 * math/libm-test.inc (catan_test): Add more tests.
5930 (catanh_test): Likewise.
5931
f0302940
JM
5932 [BZ #15405]
5933 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5934 underflowed result.
5935 * math/s_ccoshf.c (__ccoshf): Likewise.
5936 * math/s_ccoshl.c (__ccoshl): Likewise.
5937 * math/s_csin.c (__csin): Likewise.
5938 * math/s_csinf.c (__csinf): Likewise.
5939 * math/s_csinh.c (__csinh): Likewise.
5940 * math/s_csinhf.c (__csinhf): Likewise.
5941 * math/s_csinhl.c (__csinhl): Likewise.
5942 * math/s_csinl.c (__csinl): Likewise.
5943 * math/libm-test.inc (ccos_test): Add more tests.
5944 (ccosh_test): Likewise.
5945 (csin_test): Likewise.
5946 (csinh_test): Likewise.
5947
aa630f59
AZ
59482013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5949
5950 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5951 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5952 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5953 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5954 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5955 powerpc/power5+/fpu folders.
5956 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5957
5958
1b835983
MT
59592013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5960
5961 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5962
73709b26
JM
59632013-04-25 Joseph Myers <joseph@codesourcery.com>
5964
5965 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5966 additions to variable.
5967 [$(config-machine) = x86_64] (modules-names): Likewise.
5968 ($(objpfx)tst-audit3): Remove dependency.
5969 ($(objpfx)tst-audit3.out): Likewise.
5970 ($(objpfx)tst-audit4): Likewise.
5971 ($(objpfx)tst-audit4.out): Likewise.
5972 ($(objpfx)tst-audit5): Likewise.
5973 ($(objpfx)tst-audit5.out): Likewise.
5974 ($(objpfx)tst-audit6): Likewise.
5975 ($(objpfx)tst-audit6.out): Likewise.
5976 ($(objpfx)tst-audit7): Likewise.
5977 ($(objpfx)tst-audit7.out): Likewise.
5978 (tst-audit3-ENV): Remove variable.
5979 (tst-audit4-ENV): Likewise.
5980 (tst-audit5-ENV): Likewise.
5981 (tst-audit6-ENV): Likewise.
5982 (tst-audit7-ENV): Likewise.
5983 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5984 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5985 addition to variable.
5986 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5987 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5988 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5989 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5990 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5991 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5992 tst-audit3, tst-audit4 and tst-audit5.
5993 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5994 tst-audit6 and tst-audit7.
5995 [$(subdir) = elf] (modules-names): Add audit modules for those
5996 tests.
5997 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5998 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5999 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6000 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6001 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6002 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6003 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6004 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6005 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6006 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6007 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6008 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6009 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6010 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6011 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6012 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6013 Likewise.
6014 [$(subdir) = elf && $(config-cflags-avx) = yes]
6015 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6016 [$(subdir) = elf && $(config-cflags-avx) = yes]
6017 (CFLAGS-tst-auditmod4a.c): Likewise.
6018 [$(subdir) = elf && $(config-cflags-avx) = yes]
6019 (CFLAGS-tst-auditmod4b.c): Likewise.
6020 [$(subdir) = elf && $(config-cflags-avx) = yes]
6021 (CFLAGS-tst-auditmod6b.c): Likewise.
6022 [$(subdir) = elf && $(config-cflags-avx) = yes]
6023 (CFLAGS-tst-auditmod6c.c): Likewise.
6024 [$(subdir) = elf && $(config-cflags-avx) = yes]
6025 (CFLAGS-tst-auditmod7b.c): Likewise.
6026 * elf/tst-audit3.c: Move to ...
6027 * sysdeps/x86_64/tst-audit3.c: ... here.
6028 * elf/tst-audit4.c: Move to ...
6029 * sysdeps/x86_64/tst-audit4.c: ... here.
6030 * elf/tst-audit5.c: Move to ...
6031 * sysdeps/x86_64/tst-audit5.c: ... here.
6032 * elf/tst-audit6.c: Move to ...
6033 * sysdeps/x86_64/tst-audit6.c: ... here.
6034 * elf/tst-audit7.c: Move to ...
6035 * sysdeps/x86_64/tst-audit7.c: ... here.
6036 * elf/tst-auditmod3a.c: Move to ...
6037 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6038 * elf/tst-auditmod3b.c: Move to ...
6039 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6040 * elf/tst-auditmod4a.c: Move to ...
6041 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6042 * elf/tst-auditmod4b.c: Move to ...
6043 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6044 * elf/tst-auditmod5a.c: Move to ...
6045 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6046 * elf/tst-auditmod5b.c: Move to ...
6047 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6048 * elf/tst-auditmod6a.c: Move to ...
6049 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6050 * elf/tst-auditmod6b.c: Move to ...
6051 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6052 * elf/tst-auditmod6c.c: Move to ...
6053 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6054 * elf/tst-auditmod7a.c: Move to ...
6055 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6056 * elf/tst-auditmod7b.c: Move to ...
6057 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6058
1ef74943
PP
60592013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6060
6061 [BZ #15366]
6062 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6063 define unconditionally.
6064 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6065 define unconditionally.
6066 (INT8_C, INT16_C, etc.): Likewise.
6067
93fd48c5
MR
60682013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6069
ae9552cf
MR
6070 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6071 __ehdr_start with hidden visibility.
6072
93fd48c5
MR
6073 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6074
418601aa
CD
60752013-04-24 Carlos O'Donell <carlos@redhat.com>
6076
6077 * math/libm-test.inc (cos_test): Use accurate hex constants.
6078 (sincost_test): Likewise.
6079
2f38fbfe
JM
60802013-04-24 Joseph Myers <joseph@codesourcery.com>
6081
5e221800
JM
6082 * math/libm-test.inc (catan_test): Add more tests.
6083 (catanh_test): Likewise.
6084
77f143fd
JM
6085 * math/s_catanf.c (__catanf): Use suffixed floating-point
6086 constants.
6087 * math/s_catanhf.c (__catanhf): Likewise.
6088 * math/s_catanhl.c (__catanhl): Likewise.
6089 * math/s_catanl.c (__catanl): Likewise.
6090
2f38fbfe
JM
6091 [BZ #15394]
6092 * math/s_catan.c (__catan): Calculate imaginary part of result
6093 with log1p not log unless computing log of number close to 0.
6094 * math/s_catanf.c (__catanf): Likewise.
6095 * math/s_catanl.c (__catanl): Likewise.
6096 * math/s_catanh.c (__catanh): Calculate real part of result with
6097 log1p not log unless computing log of number close to 0.
6098 * math/s_catanhf.c (__catanhf): Likewise.
6099 * math/s_catanhl.c (__catanhl): Likewise.
6100 * math/libm-test.inc (catan_test): Add more tests.
6101 (catanh_test): Likewise.
6102 * sysdeps/i386/fpu/libm-test-ulps: Update.
6103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6104
45d69176
SP
61052013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6106
6107 * benchtests/Makefile: Mention files in which fast and slow
6108 paths of math functions are implemented.
6109
87f51853
RM
61102013-04-23 Roland McGrath <roland@hack.frob.com>
6111
6112 * sysdeps/posix/timespec_get.c: New file.
6113
3c026539
AZ
61142013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6115
6116 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6117 POWER.
6118 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6119 for POWER.
6120 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6121 powerpc/power5/fpu folders.
6122 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6123 * benchtests/Makefile: Add modf testcase.
6124 * benchtests/bench-modf.c: New file: Benchmark test for mo
6125
ff491d14
SP
61262013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6127
6128 [BZ #14888]
6129 * time/Makefile (tests): Add tst-strptime-whitespace.
6130 * time/strptime_l.c (get_number): Use ISSPACE.
6131 (__strptime_internal): Likewise.
6132 * time/tst-strptime-whitespace.c: New test case.
6133
7ed3f4e8
AS
61342013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6135
6136 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6137 member.
6138 (_nss_files_init): Set it here.
6139
5c95f7b6
HC
61402013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6141
6142 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6143 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6144 unsigned.
6145
d34c9158
JBG
61462013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6147
6148 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6149
2169712d
SP
61502013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6151
6152 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6153 size just once.
6154
29c5de99
DM
61552013-04-21 David S. Miller <davem@davemloft.net>
6156
6157 * po/ru.po: Update Russion translation from translation project.
6158
ccdad15d
AC
61592013-04-17 Adam Conrad <adconrad@0c3.net>
6160
6161 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6162 and setfsgid.
6163
0f122b8d
CD
61642013-04-17 Carlos O'Donell <carlos@redhat.com>
6165
5c5b07da 6166 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 6167 * configure: Regenerate.
5c5b07da 6168 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
6169 Add example to error message.
6170 * sysdeps/i386/configure: Regenerate.
6171
037714dd
SP
61722013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6173
6174 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6175 slowtan.
6176 * benchtests/cos-inputs: New file.
6177 * benchtests/slowcos-inputs: New file.
6178 * benchtests/slowcos.c: New file.
6179 * benchtests/slowtan-inputs: New file.
6180 * benchtests/slowtan.c: New file.
6181 * benchtests/tan-inputs: New file.
6182
e913141d
RM
61832013-04-16 Roland McGrath <roland@hack.frob.com>
6184
6185 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6186 considered kosher.
6187
a2964074
SP
61882013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6189
4856bcd2
SP
6190 * benchtests/Makefile: Include cppflags-iterator.mk to add
6191 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6192
a2964074
SP
6193 * Makefile.in (bench-clean): New target.
6194 * benchtests/Makefile (bench-clean): Likewise.
6195
9fbf9aca
DH
61962013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6197
6198 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6199
207d1e2a
TS
62002013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6201
6202 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6203
306dfba9
AS
62042013-04-15 Andreas Schwab <schwab@suse.de>
6205
6206 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6207 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6208 * nscd/pwdcache.c (cache_addpw): Likewise.
6209 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6210 more than recsize.
6211
206a6699
SP
62122013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6213
6214 * benchtests/Makefile (bench): Write all output to
6215 bench-out.tmp together.
6216
0582f6b3
AS
62172013-04-15 Andreas Schwab <schwab@suse.de>
6218
6219 * nscd/nscd.c (main): Don't fork again after closing files.
6220
acb4325f
SP
62212013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6222
5cb26d0a
SP
6223 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6224
acb4325f
SP
6225 * benchtests/Rules (bench-deps): Collect dependencies into a
6226 single variable. Add Makefile to dependencies.
6227 ($(objpfx)bench-%.c): Depend on bench-deps.
6228
47792506
RM
62292013-04-12 Roland McGrath <roland@hack.frob.com>
6230 Xavier Roche <roche+kml2@exalead.com>
6231
6232 [BZ #15361]
6233 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6234 just that it's a file descriptor.
6235 * manual/llio.texi (Synchronizing AIO Operations): Update description
6236 for EBADF error from aio_fsync.
6237
8fc1bee5
SP
62382013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6239
6240 * Rules (bench): Move target definition...
6241 * benchtests/Makefile: ... here.
6242
aba5e333
CD
62432013-04-11 Carlos O'Donell <carlos@redhat.com>
6244
6245 * math/libm-test.inc (cos_test): Fix PI/2 test.
6246 (sincos_test): Likewise.
6247 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6248 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6249
273cdee8
AS
62502013-04-11 Andreas Schwab <schwab@suse.de>
6251
6ecec3b6
AS
6252 [BZ #13988]
6253 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6254 accept exponent character only when digits were seen.
6255 * stdio-common/Makefile (tests): Add bug26.
6256 * stdio-common/bug26.c: New file.
6257
273cdee8
AS
6258 [BZ #14293]
6259 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6260 non-freeable.
6261
8da491f5
SP
62622013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6263
01dc6df9
SP
6264 * Makeconfig (rtld-prefix): Define built linker prefix.
6265 * Rules (run-bench): Use it.
6266 * math/Makefile (run-regen-ulps): Likewise.
6267
8da491f5
SP
6268 * Rules (bench): Remove eval.
6269
abe7f530
SP
62702013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6271 Roland McGrath <roland@hack.frob.com>
6272 Ondrej Bilka <neleai@seznam.cz>
6273
6274 [BZ #15346]
6275 * time/getdate.c: Include ctype.h and alloca.h.
6276 (__getdate_r): Trim leading and trailing spaces of input.
6277 * time/tst-getdate.c (tests): Add tests with leading and
6278 trailing spaces.
6279
61c23e62
RM
62802013-04-08 Roland McGrath <roland@hack.frob.com>
6281
6282 [BZ #14280]
6283 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6284 when computing value.
6285
7208a313
CD
62862013-04-06 Carlos O'Donell <carlos@redhat.com>
6287
085b2d41
CD
6288 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6289 Use testrun.sh to run libm tests.
6290
7208a313
CD
6291 [BZ #15309]
6292 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6293
872c0acd
MM
62942013-04-06 Marko Myllynen <myllynen@redhat.com>
6295
6296 [BZ #15264]
6297 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6298
26510bdd
CD
62992013-04-06 Carlos O'Donell <carlos@redhat.com>
6300
6301 * Makefile.in (regen-ulps): New target.
6302 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6303 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6304 [ifneq (no,$(PERL)] (regen-ulps): New target.
6305 [ifeq (no,$(PERL)] (regen-ulps): New target.
6306 * math/libm-test.inc (ulps_file_name): Define.
6307 (output_dir): New variable.
6308 (options): Add "output-dir" option.
6309 (parse_opt): Handle 'o' case.
6310 (main): If output_dir is non-NULL use it as a prefix
6311 otherwise use "".
6312 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6313
a01f19c8
CD
63142013-04-06 Carlos O'Donell <carlos@redhat.com>
6315
6316 [BZ #10060, #10062]
6317 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6318 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6319 fail configure if __sync_val_compare_and_swap is not inlined.
6320 * sysdeps/i386/configure: Regenerate.
6321 * configure.in: Build for i686 when configured for i386.
6322 * configure: Regenerate.
6323 * README: Remove i386 reference.
6324
b7a329a5
CD
63252013-04-06 Carlos O'Donell <carlos@redhat.com>
6326
6327 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6329
bf0f50df
TS
63302013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6331
ee091edf
TS
6332 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6333 (lmsnanval): New variables.
6334 (F): Add conversion tests.
6335 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6336 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6337
a8b792d6
TS
6338 * stdio-common/tstdiomisc.c (F): Properly collect individual
6339 tests' results.
6340
a1cbf437
TS
6341 [BZ #14686, #15336]
6342 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6343 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6344 Instead, use input NaN values or generate a qNaN by arithmetic
6345 operation. Also fix bugs to comply with the standard.
6346 * math/libm-test.inc (remainder_test): Add more tests.
6347
8b43a0c9
TS
6348 [BZ #15335, #15342]
6349 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6350 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6351 input NaN values or generate a qNaN by arithmetic operation.
6352
d91da4ce
TS
6353 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6354 unreachable code.
6355
bf0f50df
TS
6356 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6357 definitions.
6358
05e166c8
JM
63592013-04-03 Joseph Myers <joseph@codesourcery.com>
6360
6361 [BZ #14478]
6362 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6363 underflowed result.
6364 * math/s_cexpf.c (__cexpf): Likewise.
6365 * math/s_cexpl.c (__cexpl): Likewise.
6366 * math/libm-test.inc (cexp_test): Add more tests.
6367
1cef1b19
AS
63682013-04-03 Andreas Schwab <schwab@suse.de>
6369
6370 [BZ #15330]
6371 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6372 order arrays from heap if bigger than alloca cutoff.
6373
74d87055
TS
63742013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6375
6376 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6377 (SNAN_TESTS_double): Refer to GCC PR56831.
6378 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6379 GCC PR56828.
6380
d755bba4
SP
63812013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6382
90d5d5bb
SP
6383 * Rules (bench): Move bench.out after the run is complete.
6384
73e0cd5d
SP
6385 * Rules (bench): Echo currently running benchmark.
6386
64aabd4b
SP
6387 * benchtests/Makefile (bench): Add atan and slowatan.
6388 * benchtests/atan-inputs: New file.
6389 * benchtests/slowatan-inputs: New file.
6390 * benchtests/slowatan.c: New file.
6391
c871eccd
SP
6392 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6393 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6394 its value.
6395
d755bba4
SP
6396 [BZ #15305]
6397 * sysdeps/unix/sysv/linux/kernel-features.h
6398 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6399 __ASSUME_XFS_RESTRICTED_CHOWN.
6400 * sysdeps/unix/sysv/linux/pathconf.c
6401 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6402 Save and restore errno.
6403
52ce4860
JM
64042013-04-02 Joseph Myers <joseph@codesourcery.com>
6405
6406 [BZ #15327]
6407 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6408 arguments using __kernel_casinh.
6409 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6410 arguments using __kernel_casinhf.
6411 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6412 arguments using __kernel_casinhl.
6413 * math/libm-test.inc (cacosh_test): Add more tests.
6414 * sysdeps/i386/fpu/libm-test-ulps: Update.
6415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6416
81f311c2
SP
64172013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6418
e7906a47
SP
6419 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6421
92e3664b
SP
6422 * bench/Makefile (bench): Add sin and slowsin.
6423 * benchtests/sin-inputs: New file.
6424 * benchtests/slowsin-inputs: New file.
6425 * benchtests/slowsin.c: New file.
6426
81f311c2
SP
6427 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6428 (bench): Add slowexp and slowpow.
6429 (exp-ITER): Increase iterations.
6430 (pow-ITER): Likewise.
6431 * benchtests/exp-inputs: Change input.
6432 * benchtests/pow-inputs: Likewise.
6433 * benchtests/slowexp-inputs: New file.
6434 * benchtests/slowexp.c: New file.
6435 * benchtests/slowpow-inputs: New file.
6436 * benchtests/slowpow.c: New file.
6437
ab0f1aa9
AZ
64382013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6439
6440 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6441 instructions.
6442 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6443 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6444 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6445 * benchtests/Makefile: Add rint benchtest.
6446 * benchtests/rint-inputs: Input for rint benchtest.
6447
57267616
TS
64482013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6449
6450 * Versions.def (libm): Add GLIBC_2.18.
6451 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6452 hidden libm prototypes.
6453 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6454 * math/Makefile (libm-calls): Add s_issignaling.
6455 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6456 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6457 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6458 declaration.
6459 * math/math.h [__USE_GNU] (issignaling): New macro.
6460 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6461 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6462 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6463 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6466 * manual/arith.texi (issignaling): New section.
6467 * manual/libm-err-tab.pl (@all_functions): Update comment.
6468 * math/gen-libm-test.pl (parse_args): Apply special handling for
6469 issignaling.
6470 * math/libm-test.inc (print_float, issignaling_test): New
6471 functions.
6472 (check_float_internal): Add issignaling checks.
6473 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6474 default definition.
6475 * sysdeps/powerpc/math-tests.h: New file.
6476 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6477 tests.
6478 * math/test-snan.c (TEST_FUNC): Likewise.
6479
6142896d
DM
64802013-03-30 David S. Miller <davem@davemloft.net>
6481
6482 * po/de.po: Update from translation team.
6483
ccc8cadf
JM
64842013-03-30 Joseph Myers <joseph@codesourcery.com>
6485
6486 [BZ #10357]
6487 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6488 imaginary part less than 1.0 and real part less than 0.5
6489 specially.
6490 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6491 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6492 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6493 (cacos_test): Add more tests.
6494 (casin_test): Likewise.
6495 (casinh_test): Likewise.
6496 * sysdeps/i386/fpu/libm-test-ulps: Update.
6497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6498
0f6a8d4b
SP
64992013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6500
0d1029de
SP
6501 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6502 ONE with its value.
6503
c2d94018
SP
6504 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6505 (__pow_mp): Replace ONE and MONE with their values.
6506 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6507 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6508 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6509 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6510 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6511 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6512
27ec37f1
SP
6513 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6514
a64d7e0e
SP
6515 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6516 (__pow_mp): Replace ZERO and MZERO with their values.
6517 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6518 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6519 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6520 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6521 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6522 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6523 (__sqr): Likewise.
6524
d26dd3eb
SP
6525 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6526
0f6a8d4b
SP
6527 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6528
e57b0c61
RM
65292013-03-28 Roland McGrath <roland@hack.frob.com>
6530
6531 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6532 Declare with __attribute__ ((weak)).
6533 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6534 Call __call_tls_dtors only if it's not NULL.
6535
356b3480
RM
65362013-03-28 Roland McGrath <roland@hack.frob.com>
6537
288f7d79
RM
6538 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6539 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6540 magic __ehdr_start linker symbol if it's defined.
6541 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6542 them up here if it was already done.
6543
dc0a0263
RM
6544 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6545 (_dl_aux_init): Use const in cast when setting it.
6546 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6547 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6548 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6549
3d3436ae
RM
6550 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6551 Declare them here.
6552 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6553 * csu/libc-tls.c: Nor here.
6554 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6555
356b3480
RM
6556 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6557 (__libc_message): Never call vsyslog.
6558
b0f1246a
AM
65592013-03-28 Alan Modra <amodra@gmail.com>
6560
6561 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6562 Define as empty.
6563 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6564 Likewise.
6565
fbbe2b9a
AZ
65662013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6567
6568 [BZ #15214]
6569 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6570 underflow.
6571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6572
1728ab37
SP
65732013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6574
7a86be6e
SP
6575 [BZ #15304]
6576 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6577 Don't add gid passed as argument.
6578
1728ab37
SP
6579 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6580
3a7182a1
JM
65812013-03-27 Joseph Myers <joseph@codesourcery.com>
6582
6583 [BZ #15307]
6584 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6585 imaginary part between 1.0 and 1.5 and real part less than 0.5
6586 specially.
6587 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6588 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6589 * math/libm-test.inc (cacos_test): Add more tests.
6590 (casin_test): Likewise.
6591 (casinh_test): Likewise.
6592 * sysdeps/i386/fpu/libm-test-ulps: Update.
6593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6594
6f2e90e7
SP
65952013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6596
5739f705
SP
6597 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6598 constants.
6599 (norm): Likewise.
6600 (denorm): Likewise.
6601 (__dbl_mp): Likewise.
6602 (add_magnitudes): Likewise.
6603 (sub_magnitudes): Likewise.
6604 (__add): Likewise.
6605 (__sub): Likewise.
6606 (__mul): Likewise.
6607 (__sqr): Likewise.
6608 (__inv): Likewise.
6609 (__dvd): Likewise.
6610
e375e83d
SP
6611 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6612 commented code.
6613 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6614 (__dubcos): Likewise.
6615 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6616 (__ieee754_acos): Likewise.
6617 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6618 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6619 (__exp1): Likewise.
6620 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6621 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6622 (log1): Likewise.
6623 (my_log2): Likewise.
6624 (checkint): Likewise.
6625 * sysdeps/ieee754/dbl-64/e_remainder.c
6626 (__ieee754_remainder): Likewise.
6627 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6628 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6629 (bsloww): Likewise.
6630 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6631
6f2e90e7
SP
6632 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6633 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6634 MANTISSA_STORE_T to store computations on mantissa. Use
6635 macros for rounding and division.
6636 (denorm): Likewise.
6637 (__dbl_mp): Likewise.
6638 (add_magnitudes): Likewise.
6639 (sub_magnitudes): Likewise.
6640 (__mul): Likewise.
6641 (__sqr): Likewise.
6642 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6643 powers of two in terms of TWOPOW macro.
6644 (mp_no): Make type of mantissa as MANTISSA_T.
6645 [!RADIXI]: Define RADIXI.
6646 [!TWO52]: Define TWO52.
6647 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6648
fce14d4e
AZ
66492013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6650
6651 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6652 llroundl symbol when building for PPC32.
6653
9ad027fb
MW
66542013-03-24 Mark H Weaver <mhw@netris.org>
6655
6656 * manual/arith.texi (Normalization Functions): Fix prototypes for
6657 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6658
e42a38dd
AZ
66592013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6660
6661 [BZ #13889]
6662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6663 high value to check if expl overflow.
6664 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6665 to check for underflow and overflow.
6666 * math/libm-test.inc: Add exp test.
6667
2e0fb521
DL
66682013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6669
6670 [BZ #11120]
6671 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6672 with NOT_IN_libc.
6673
b5784d95
AZ
66742013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6675
6676 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6677 symbol.
6678
5aa4a1a1
TS
66792013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6680
bdef0be7
TS
6681 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6682 wrap blocks consisting of several statements.
6683
5aa4a1a1
TS
6684 * sysdeps/generic/math-tests.h: New file.
6685 * sysdeps/i386/fpu/math-tests.h: Likewise.
6686 * math/test-snan.c: Include it.
6687 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6688
98c48fe5
JM
66892013-03-21 Joseph Myers <joseph@codesourcery.com>
6690
6691 [BZ #15285]
6692 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6693 (__ieee754_j0l): Do not improve calculations using cos of twice
6694 input for inputs above LDBL_MAX / 2.0L.
6695 (__ieee754_y0l): Likewise.
6696 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6697 (__ieee754_j1l): Do not improve calculations using cos of twice
6698 input for inputs above LDBL_MAX / 2.0L.
6699 (__ieee754_y1l): Likewise.
6700 * math/libm-test.inc (j0_test): Add another test.
6701 (j1_test): Likewise.
6702 (y0_test): Likewise.
6703 (y1_test): Likewise.
6704 * sysdeps/i386/fpu/libm-test-ulps: Update.
6705
3775a8bc
SP
67062013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6707
6708 * Rules ($(objpfx)bench-%.c): Include code from a C source
6709 file.
6710
0a1b2ae6
JM
67112013-03-21 Joseph Myers <joseph@codesourcery.com>
6712
6713 [BZ #15287]
6714 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6715 imaginary part 1.0 and real part less than 0.5 specially.
6716 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6717 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6718 * math/libm-test.inc (cacos_test): Add more tests.
6719 (casin_test): Likewise.
6720 (casinh_test): Likewise.
6721 * sysdeps/i386/fpu/libm-test-ulps: Update.
6722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6723
b33d4ce4
SP
67242013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6725
6726 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6727 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6728
bef0b507
JM
67292013-03-20 Joseph Myers <joseph@codesourcery.com>
6730
6731 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6732 * config.make.in (config-cflags-sse4): Remove variable.
6733 (config-cflags-avx): Likewise.
6734 (config-cflags-sse2avx): Likewise.
6735 (config-cflags-novzeroupper): Likewise.
6736 (config-asflags-i686): Likewise.
6737 (have-mfma4): Likewise.
6738 (have-as-vis3): Likewise.
6739 (MIG): Likewise.
6740 * configure.in (MIG): Do not AC_SUBST.
6741 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6742 (libc_cv_cc_sse4): Do not AC_SUBST.
6743 (libc_cv_cc_avx): Likewise.
6744 (libc_cv_cc_sse2avx): Likewise.
6745 (libc_cv_cc_novzeroupper): Likewise.
6746 (libc_cv_cc_fma4): Likewise.
6747 (libc_cv_as_i686): Likewise.
6748 (libc_cv_sparc_as_vis3): Likewise.
6749 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6750 LIBC_CONFIG_VAR.
6751 (config-asflags-i686): Likewise.
6752 (config-cflags-avx): Likewise.
6753 (config-cflags-sse2avx): Likewise.
6754 (have-mfma4): Likewise.
6755 (config-cflags-novzeroupper): Likewise.
6756 * sysdeps/mach/configure.in (MIG): Likewise.
6757 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6758 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6759 LIBC_CONFIG_VAR.
6760 (config-cflags-avx): Likewise.
6761 (config-cflags-sse2avx): Likewise.
6762 (have-mfma4): Likewise.
6763 (config-cflags-novzeroupper): Likewise.
6764 * configure: Regenerated.
6765 * sysdeps/i386/configure: Likewise.
6766 * sysdeps/mach/configure: Likewise.
6767 * sysdeps/sparc/configure: Likewise.
6768 * sysdeps/x86_64/configure: Likewise.
6769
912cc4b3
RM
67702013-03-20 Roland McGrath <roland@hack.frob.com>
6771
6772 [BZ #14812]
6773 * locale/programs/localedef.c (options): Put N_ translation marker
6774 on argument names, not just descriptions.
6775
04eed2b0
MS
67762013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6777
6778 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6779
a065ceff
OB
67802013-03-20 Ondřej Bílka <neleai@seznam.cz>
6781
9bb2a810 6782 [BZ #14176]
a065ceff
OB
6783 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6784
a600e5ce
RM
67852013-03-19 Roland McGrath <roland@hack.frob.com>
6786
6787 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6788 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6789 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6790 [!BEFORE_ABORT] (before_abort): New function.
6791 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6792 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6793 (writev_for_fatal): New function.
6794 (WRITEV_FOR_FATAL): New macro; call that.
6795 (backtrace_and_maps): New function.
6796 (BEFORE_ABORT): New macro; call that.
6797 (struct str_list): Type removed.
6798 (__libc_message, __libc_fatal): Functions removed.
6799 Include <sysdeps/posix/libc_fatal.c> instead.
6800
6b18bea6
JM
68012013-03-19 Joseph Myers <joseph@codesourcery.com>
6802
6803 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6804 constants.
6805 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6806 double constants.
6807
aaa8cb4b
AS
68082013-03-19 Andreas Schwab <schwab@suse.de>
6809
44673770
AS
6810 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6811 * sysdeps/gnu/configure: Regenerate.
6812
aaa8cb4b
AS
6813 * configure.in: Substitute libc_cv_rtlddir.
6814 * configure: Regenerate.
6815 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6816 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6817 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6818 * elf/Makefile (install-others, CFLAGS-interp.c)
6819 (ldso_install, common-ldd-rewrite): Likewise.
6820 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6821 $(inst_slibdir)/$(rtld-installed-name).
6822 * scripts/rellns-sh: Add -p option.
6823 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6824 for source.
6825
d3cfc668
SP
68262013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6827
6828 * manual/nptl.texi: Renamed to ...
6829 * manual/threads.texi: ... this.
6830 * manual/Makefile (chapters): Update.
6831
0e2b9cdd
RM
68322013-03-18 Roland McGrath <roland@hack.frob.com>
6833
6834 [BZ #14812]
6835 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6836 on argument names, not just descriptions.
0e2b9cdd
RM
6837 * malloc/memusagestat.c (options): Likewise.
6838 * nss/getent.c (options): Likewise.
63270c24
RM
6839
68402013-03-18 Benno Schulenberg <bensberg@justemail.net>
6841
6842 [BZ #14812]
6843 * iconv/iconv_prog.c (options): Put N_ translation marker
6844 on argument names, not just descriptions.
6845 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6846
b2e1393c
OB
68472013-03-18 Ondrej Bilka <neleai@seznam.cz>
6848
6849 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6850 implementation which is faster on all x86_64 architectures.
6851 Tested on AMD, Intel Nehalem, SNB, IVB.
6852 * sysdeps/x86_64/strnlen.S: Likewise.
6853
6854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6855 Remove all multiarch strlen and strnlen versions.
6856 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6857 Remove strlen and strnlen related parts.
6858
6859 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6860 Inline strlen part.
6861 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6862
6863 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6864 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6865 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6866 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6867 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6868 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6869
ec4ff04d
CD
68702013-03-17 Carlos O'Donell <carlos@redhat.com>
6871
6872 * manual/memory.texi (Malloc Tunable Parameters):
6873 Sort parameters alphabetically. Add comments for missing entries.
6874
cd18e90a
DM
68752013-03-17 David S. Miller <davem@davemloft.net>
6876
6877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6878
2a185d32
JM
68792013-03-16 Joseph Myers <joseph@codesourcery.com>
6880
d2f9799e
JM
6881 [BZ #15283]
6882 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6883 for arguments at most half maximum finite value.
6884 * math/libm-test.inc (j0_test): Add more tests.
6885 (j1_test): Likewise.
6886 (y0_test): Likewise.
6887 (y1_test): Likewise.
6888 * sysdeps/i386/fpu/libm-test-ulps: Update.
6889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6890
2a185d32
JM
6891 [BZ #14155]
6892 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6893 1 / x and functions P and Q for arguments above 0x1p256L.
6894 (__ieee754_y0l): Likewise.
6895 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6896 (__ieee754_y1l): Likewise.
6897 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6898 (j1_test): Likewise.
6899 (y0_test): Likewise.
6900 (y1_test): Likewise.
6901
6cbec759
TS
69022013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6903
6904 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6905 variable.
6906
bc16e260
RM
69072013-03-15 Roland McGrath <roland@hack.frob.com>
6908
aefc9b8c
RM
6909 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6910 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6911 zero since it's initialized to EXEC_PAGESIZE.
6912
bc16e260
RM
6913 * sysdeps/unix/sysv/linux/ldsodefs.h
6914 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6915 * sysdeps/generic/ldsodefs.h: ... here.
6916
a57da955
TS
69172013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6918
af00a34d
TS
6919 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6920
495ded2c
TS
6921 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6922 math/test-snan.c.
6923 * math/test-snan.c: Renamed from
6924 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6925 * math/Makefile (tests): Add test-snan.
6926 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6927 test-powerpc-snan.
6928
777b0332
TS
6929 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6930 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6931 functions.
6932 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6933 __builtin_nan family of functions.
6934 * math/libm-test.inc (initialize): Initialize qnan_value with
6935 __builtin_nan family of functions.
6936 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6937 Remove variables.
6938 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6939 Remove functions.
6940 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6941 storage class. Initialize qNaN_var and sNaN_var with
6942 __builtin_nan and __builtin_nans families of functions,
6943 respectively.
6944
64d063b8
TS
6945 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6946 (sqrt_test): Remove duplicate test with qNaN input.
6947 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6948 (round_test, signbit_test, significand_test): Note missing +/-Inf
6949 as well as qNaN tests.
6950
67e971f1
TS
6951 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6952 qNaN_var. Fix a few strings, too.
6953 * math/libm-test.inc (nan_value): Rename to qnan_value.
6954 * math/gen-libm-test.pl (%beautify): Adjust to that.
6955 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6956 * math/test-misc.c (main): Likewise.
6957 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6958 to __qnan_bytes, and __qnan_union, respectively.
6959 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6960 Likewise.
6961 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6962 and lqnanval, respectively.
6963 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6964 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6965 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6966 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6967
64487e12
TS
6968 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6969 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6970 doubles.
6971
e015e27b
TS
6972 * math/test-misc.c (main): Fix copy'n'pastos.
6973 * misc/tst-efgcvt.c (special): Likewise.
6974
a57da955
TS
6975 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6976 Remove declarations.
6977
1e380345
SP
69782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6979
6980 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6981 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6982 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6983 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6984
ef26eece
AZ
69852013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6986
6987 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6988 macro to return vdso values correctly in IFUNC implementations.
6989 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6990 Optimization by using IFUNC.
6991
8cfdb7e0
SP
69922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6993 Richard Henderson <rth@redhat.com>
6994 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6995
6996 * Makefile.in (bench): New target.
6997 * NEWS: Mention the benchmark framework.
6998 * Rules (bench): Likewise.
6999 (binaries-bench): Generate binaries for functions to
7000 benchmark.
7001 * benchtests/Makefile: New makefile for benchmark tests.
7002 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7003 programs.
7004 * benchtests/exp-inputs: New input file for EXP function.
7005 * benchtests/pow-inputs: New input file for POW function.
7006 * scripts/bench.pl: New script to generate source files for
7007 benchmark programs.
7008
bcda9880
SP
70092013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7010
d22ca8cd
SP
7011 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7012 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7013 computations on mantissa. Use macros for rounding and
7014 division.
7015 (denorm): Likewise.
7016 (__dbl_mp): Likewise.
7017 (add_magnitudes): Likewise.
7018 (sub_magnitudes): Likewise.
7019 (__mul): Likewise.
7020 (__sqr): Likewise.
7021 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7022 powers of two in terms of TWOPOW macro.
7023 (mp_no): Make type of mantissa as MANTISSA_T.
7024 [!RADIXI]: Define RADIXI.
7025 [!TWO52]: Define TWO52.
7026 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7027
bcda9880
SP
7028 * manual/nptl.texi (cindex): Modify threads to pthreads.
7029
06d5adfb
JM
70302013-03-15 Joseph Myers <joseph@codesourcery.com>
7031
7032 * sysdeps/x86_64/preconfigure: Regenerated.
7033
41c7328e
JM
70342013-03-14 Joseph Myers <joseph@codesourcery.com>
7035
7036 [BZ #14155]
7037 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7038 0x1p28 and above.
7039 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7040 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7041 0x1p28 and above.
7042 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7043 * math/libm-test.inc (j0_test): Do not allow one spurious
7044 underflow exception.
7045 (y1_test): Likewise.
7046
e25cfa60
SP
70472013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7048
0409959c
SP
7049 * manual/Makefile (chapters): Add nptl.
7050 * manual/debug.texi (Debugging Support): Add link to Threads
7051 chapter.
7052 * manual/nptl.texi: New file.
7053
e25cfa60
SP
7054 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7055
58a1335e
PB
70562013-03-14 Petr Baudis <pasky@ucw.cz>
7057
7058 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7059 for non-NULL pointer before the memory validity test. Pointed
7060 out by Holger Brunck <holger.brunck@keymile.com>.
7061
9dc7c64f
AS
70622013-03-13 Andreas Schwab <schwab@suse.de>
7063
7064 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7065 instead of .os.
7066
54206aa6
JM
70672013-03-13 Joseph Myers <joseph@codesourcery.com>
7068
7069 * timezone/zic.c: Update from tzcode 2013b.
7070
e98cdb38
CD
70712013-03-12 Carlos O'Donell <carlos@redhat.com>
7072
7073 * manual/install.texi (Configuring and compiling):
7074 Mention i686 and i586.
7075 * INSTALL: Regenerate.
7076
9967e003
RM
70772013-03-12 Roland McGrath <roland@hack.frob.com>
7078
7079 * sysdeps/init_array/elf-init.c: New file.
7080 * csu/elf-init.c
7081 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7082 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7083
7084 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7085 __gmon_start__ as global, but as static with a .preinit_array pointer.
7086 * sysdeps/init_array/gmon-start.c: New file. Use that.
7087 * sysdeps/init_array/crti.S: New file, empty except for comments.
7088 * sysdeps/init_array/crtn.S: Likewise.
7089
e6b5a293 70902013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
7091
7092 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7093 definining bcopy.
80f844c9
OB
7094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7095 Remove Prefer_SSE_for_memop.
7096 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7097 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7098 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
7099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7100 memset-x86-64.
80f844c9 7101 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 7102 Remove bzero, memset ifunc support.
80f844c9
OB
7103 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7104 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7105 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7106 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7107
fb6b0fcb
AS
71082013-03-11 Andreas Schwab <schwab@suse.de>
7109
7110 [BZ #15234]
7111 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7112 by SHLIB_COMPAT.
7113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7114 (GLIBC_2.16): Remove pthread_atfork.
7115
3e6bd4b1
PP
71162013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7117
7118 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7119 (ptestcases.h): Likewise.
7120
222d7f00
RM
71212013-03-08 Roland McGrath <roland@hack.frob.com>
7122
7123 * Makeconfig ($(common-objpfx)config.status): Depend on
7124 sysdeps/*/preconfigure{,.in} too.
7125
1ba4f030
JM
71262013-03-08 Joseph Myers <joseph@codesourcery.com>
7127
a222d91a
JM
7128 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7129 (__free_hook): Use void * instead of __malloc_ptr_t.
7130 (__malloc_hook): Likewise.
7131 (__realloc_hook): Likewise.
7132 (__memalign_hook): Likewise.
7133 (__after_morecore_hook): Likewise.
7134 * malloc/arena.c (save_malloc_hook): Likewise.
7135 (save_free_hook): Likewise.
7136 * malloc/hooks.c (malloc_hook_ini): Likewise.
7137 (realloc_hook_ini): Likewise.
7138 (memalign_hook_ini): Likewise.
7139 * malloc/malloc.c (malloc_hook_ini): Likewise.
7140 (realloc_hook_ini): Likewise.
7141 (memalign_hook_ini): Likewise.
7142 (__free_hook): Likewise.
7143 (__malloc_hook): Likewise.
7144 (__realloc_hook): Likewise.
7145 (__memalign_hook): Likewise.
7146 (__libc_malloc): Likewise.
7147 (__libc_free): Likewise.
7148 (__libc_realloc): Likewise.
7149 (__libc_memalign): Likewise.
7150 (__libc_valloc): Likewise.
7151 (__libc_pvalloc): Likewise.
7152 (__libc_calloc): Likewise.
7153 (__posix_memalign): Likewise.
7154 * malloc/morecore.c (__sbrk): Likewise.
7155 (__default_morecore): Likewise.
7156
5cc45e10
JM
7157 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7158
dd54b864
JM
7159 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7160 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7161 __malloc_ptrdiff_t.
7162
1ba4f030
JM
7163 * malloc/malloc.h (__malloc_size_t): Remove macro.
7164 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7165 __malloc_size_t.
7166 (old_memalign_hook): Likewise.
7167 (old_realloc_hook): Likewise.
7168 (struct hdr): Likewise.
7169 (flood): Likewise.
7170 (mallochook): Likewise.
7171 (memalignhook): Likewise.
7172 (reallochook): Likewise.
7173 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7174 (tr_old_realloc_hook): Likewise.
7175 (tr_old_memalign_hook): Likewise.
7176 (tr_mallochook): Likewise.
7177 (tr_reallochook): Likewise.
7178 (tr_memalignhook): Likewise.
7179
edf66e57
AZ
71802013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7181
7182 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7183 default_ldbl_pack and using as default implementation.
7184 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7185 implementation.
7186 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7187 redundant definition.
7188 (ldbl_insert_mantissa): Likewise.
7189 (ldbl_canonicalize): Likewise.
7190 (ldbl_nearbyint): Likewise.
7191 (ldbl_pack): Rename to ldbl_pack_ppc.
7192 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7193 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7194 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7195
6d9145d8
SP
71962013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7197
7198 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7199 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7200 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7201 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7203 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7204 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7205 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7206
4dd4e157
AJ
72072013-03-07 Andreas Jaeger <aj@suse.de>
7208
7209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7210 bits/mman-linux.h.
7211
adbb8027
SP
72122013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7213
ce544b5b
SP
7214 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7215 Include mpa.h and declare __MPEXP.
7216 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7217 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7218 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7219 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7220 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7221 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7222 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7223
4cc149fd
SP
7224 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7225 (__slowpow): Use long double EXPL and LOGL functions to
7226 compute POW.
7227 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7228 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7229 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7230 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7231 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7232 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7233
e6ebd4a7
SP
7234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7235 intermediate variable to calculate exponent.
7236 (__sqr): Likewise.
7237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7238 Likewise.
7239 (__sqr): Likewise.
7240
82a9811d
SP
7241 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7242 [!NO__SQR]: Define __sqr.
7243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7244 and NO__SQR. Remove all code except __mul and __sqr. Include
7245 sysdeps/ieee754/dbl-64/mpa.c.
7246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7247
adbb8027
SP
7248 [BZ #12723]
7249 * posix/Makefile (tests): Add tst-pathconf.
7250 * posix/tst-pathconf.c: New test case.
7251 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7252 _PC_PIPE_BUF.
7253 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7254
39120df9
PF
72552013-03-06 Patsy Franklin <pfrankli@redhat.com>
7256
7257 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7258
67525cb8
AJ
72592013-03-06 Andreas Jaeger <aj@suse.de>
7260
664a9ce4
AJ
7261 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7262 definition via __MAP_ANONYMOUS.
7263
8e39047d
AJ
7264 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7265 it's not part of Linux headers.
7266
67525cb8
AJ
7267 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7268 (MAP_HUGE_MASK): Define.
7269
7270 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7271 Define.
7272 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7273 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7274 Define.
7275 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7276 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7277 Define.
7278 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7279 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7280 Define.
7281 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7282
7283 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7284 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7285 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7286 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7287 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7288 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7289
7290 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7291 Handle f2fs.
7292
7293 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7294 Handle f2fs and efivarfs.
7295
7296 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7297 f2fs.
7298
7299 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7300 (EFIVARFS_MAGIC): Add.
7301 (F2FS_LINK_MAX): Add.
7302
e1b42695
PP
73032013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7304
7305 * stdio-common/vfprintf.c: Replace __builtin_expect with
7306 __glibc_unlikely.
7307
2d67d91a
JM
73082013-03-06 Joseph Myers <joseph@codesourcery.com>
7309
7310 [BZ #13550]
7311 * sysdeps/generic/bp-sym.h: Remove file.
7312 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7313 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7314 <bp-sym.h> and <bp-asm.h>.
7315 (__longjmp): Don't use BP_SYM.
7316 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7317 and <bp-asm.h>.
7318 (memcpy): Don't use BP_SYM.
7319 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7320 <bp-sym.h> and <bp-asm.h>.
7321 (memcpy): Don't use BP_SYM.
7322 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7323 <bp-asm.h>.
7324 (memcpy): Don't use BP_SYM.
7325 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7326 <bp-asm.h>.
7327 (memset): Don't use BP_SYM.
7328 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7329 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7330 (__bzero): Don't use BP_SYM.
7331 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7332 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7333 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7334 <bp-sym.h> and <bp-asm.h>.
7335 (memcmp): Don't use BP_SYM. Remove comment about bounded
7336 pointers.
7337 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7338 <bp-sym.h> and <bp-asm.h>.
7339 (memcpy): Don't use BP_SYM.
7340 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7341 <bp-sym.h> and <bp-asm.h>.
7342 (memset): Don't use BP_SYM.
7343 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7344 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7345 (__bzero): Don't use BP_SYM.
7346 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7347 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7348 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7349 <bp-sym.h> and <bp-asm.h>.
7350 (strncmp): Don't use BP_SYM. Remove comment about bounded
7351 pointers.
7352 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7353 <bp-sym.h> and <bp-asm.h>.
7354 (memcpy): Don't use BP_SYM.
7355 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7356 <bp-sym.h> and <bp-asm.h>.
7357 (memset): Don't use BP_SYM.
7358 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7359 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7360 (__bzero): Don't use BP_SYM.
7361 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7362 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7363 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7364 <bp-sym.h> and <bp-asm.h>.
7365 (__memchr): Don't use BP_SYM.
7366 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7367 <bp-sym.h> and <bp-asm.h>.
7368 (memcmp): Don't use BP_SYM. Remove comment about bounded
7369 pointers.
7370 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7371 <bp-sym.h> and <bp-asm.h>.
7372 (memcpy): Don't use BP_SYM.
7373 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7374 <bp-sym.h> and <bp-asm.h>.
7375 (__mempcpy): Don't use BP_SYM.
7376 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7377 <bp-sym.h> and <bp-asm.h>.
7378 (__memrchr): Don't use BP_SYM.
7379 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7380 <bp-sym.h> and <bp-asm.h>.
7381 (memset): Don't use BP_SYM.
7382 (__bzero): Likewise.
7383 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7384 <bp-sym.h> and <bp-asm.h>.
7385 (__rawmemchr): Don't use BP_SYM.
7386 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7387 <bp-sym.h> and <bp-asm.h>.
7388 (__STRCMP): Don't use BP_SYM.
7389 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7390 <bp-sym.h> and <bp-asm.h>.
7391 (strchr): Don't use BP_SYM.
7392 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7393 <bp-sym.h> and <bp-asm.h>.
7394 (__strchrnul): Don't use BP_SYM.
7395 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7396 <bp-sym.h> and <bp-asm.h>.
7397 (strlen): Don't use BP_SYM.
7398 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7399 <bp-sym.h> and <bp-asm.h>.
7400 (strncmp): Don't use BP_SYM. Remove comment about bounded
7401 pointers.
7402 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7403 <bp-sym.h> and <bp-asm.h>.
7404 (__strnlen): Don't use BP_SYM.
7405 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7406 <bp-sym.h> and <bp-asm.h>.
7407 (__GI__setjmp): Don't use BP_SYM.
7408 (_setjmp): Likewise.
7409 (__sigsetjmp): Likewise.
7410 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7411 (L(start_addresses)): Don't use BP_SYM.
7412 (_start): Likewise.
7413 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7414 <bp-asm.h>.
7415 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7416 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7417 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7418 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7419 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7420 <bp-asm.h>.
7421 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7422 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7423 about bounded pointers.
7424 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7425 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7426 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7427 <bp-asm.h>.
7428 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7429 about bounded pointers. Remove GKM FIXME comments.
7430 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7431 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7432 <bp-asm.h>.
7433 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7434 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7435 Remove GKM FIXME comments.
7436 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7437 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7438 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7439 <bp-asm.h>.
7440 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7441 about bounded pointers. Remove GKM FIXME comment.
7442 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7443 and <bp-asm.h>.
7444 (strncmp): Don't use BP_SYM. Remove comment about bounded
7445 pointers.
7446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7447 <bp-sym.h> and <bp-asm.h>.
7448 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7450 <bp-sym.h> and <bp-asm.h>.
7451 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7452 comment.
7453
cdcf361f
PP
74542013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7455
7456 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7457 call free(NULL).
7458
3c4a2b15
DM
74592013-03-05 David S. Miller <davem@davemloft.net>
7460
7461 * po/es.po: Update from translation team.
7462
cdcf361f 74632013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
7464
7465 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7466 <bits/mman-linux.h>.
7467 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7468 is fine.
7469 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7470 <bits/mman-linux.h> to end of file.
7471 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7472 is fine.
7473 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7474 <bits/mman-linux.h> to end of file.
7475 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7476 is fine.
7477 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7478 <bits/mman-linux.h> to end of file.
7479
7480 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7481 (MCL_CURRENT, MCL_FUTURE): Define here.
7482
5f67c04f
AK
74832013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7484
8a4473cc 7485 [BZ #15232]
5f67c04f
AK
7486 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7487 attribute_hidden.
7488 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7489
c3e94a95
AK
74902013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7491
7492 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7493 fourth parameter needed for rt_sigprocmask syscall.
7494 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7495 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7496 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7497 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7498 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7499 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7500
cfb6382a
JM
75012013-03-04 Joseph Myers <joseph@codesourcery.com>
7502
7503 [BZ #13550]
7504 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7505 comment about bounded pointers.
7506 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7507 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7508
539d8e01
AJ
75092013-03-04 Andreas Jaeger <aj@suse.de>
7510
7511 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7512 common definitions.
7513
7514 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7515 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7516 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7517 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7518 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7519 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7520
2e167a70 75212013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7522
7523 [BZ #15055]
7524 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7525 __ieee754_sqrl instead of __sqrl.
7526
68508633
JM
75272013-03-01 Joseph Myers <joseph@codesourcery.com>
7528
7529 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7530 * sysdeps/powerpc/fpu_control.h: ... here.
7531 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7532 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7533 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7534 * sysdeps/powerpc/bits/mathinline.h: ... here.
7535
7775448e
RM
75362013-03-01 Roland McGrath <roland@hack.frob.com>
7537
7538 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7539 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7540 to just [NEED_DL_SYSINFO_DSO].
7541 * elf/dl-support.c: Likewise.
7542 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7543 * elf/rtld.c (dl_main): Likewise.
7544 * elf/setup-vdso.h (setup_vdso): Likewise.
7545 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7546 * sysdeps/unix/sysv/linux/dl-sysdep.c
7547 (_dl_discover_osversion): Likewise.
7548
4e9b5995
CD
75492013-03-01 Carlos O'Donell <carlos@redhat.com>
7550
7551 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7552 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7553
e23872c8
SP
75542013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7555
e5c74c63
SP
7556 * NEWS: Mention libm performance improvements and non-x86 PI
7557 futex support.
7558
e23872c8
SP
7559 * csu/libc-start.c (__pthread_initialize_minimal): Change
7560 function arguments.
7561 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7562
b5510883
JM
75632013-02-28 Joseph Myers <joseph@codesourcery.com>
7564
7565 [BZ #13550]
7566 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7567 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7568 <bp-sym.h> and <bp-asm.h>.
7569 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7570 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7571 and <bp-asm.h>.
7572 (memcpy): Don't use BP_SYM.
7573 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7574 <bp-asm.h>.
7575 (__mpn_add_n): Don't use BP_SYM.
7576 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7577 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7578 and <bp-asm.h>.
7579 (__mpn_addmul_1): Don't use BP_SYM.
7580 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7581 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7582 <bp-sym.h>.
7583 (_setjmp): Don't use BP_SYM.
7584 (__novmx_setjmp): Likewise.
7585 (__GI__setjmp): Likewise.
7586 (__vmx_setjmp): Likewise.
7587 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7588 <bp-sym.h>.
7589 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7590 (__bzero): Don't use BP_SYM.
7591 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7592 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7593 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7594 <bp-sym.h> and <bp-asm.h>.
7595 (memcpy): Don't use BP_SYM.
7596 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7597 <bp-sym.h> and <bp-asm.h>.
7598 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7599 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7600 <bp-sym.h> and <bp-asm.h>.
7601 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7602 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7603 <bp-asm.h>.
7604 (__mpn_lshift): Don't use BP_SYM.
7605 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7606 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7607 <bp-asm.h>.
7608 (memset): Don't use BP_SYM.
7609 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7610 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7611 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7612 <bp-asm.h>.
7613 (__mpn_mul_1): Don't use BP_SYM.
7614 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7615 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7616 <bp-sym.h> and <bp-asm.h>.
7617 (memcmp): Don't use BP_SYM.
7618 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7619 <bp-sym.h> and <bp-asm.h>.
7620 (memcpy): Don't use BP_SYM.
7621 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7622 <bp-sym.h> and <bp-asm.h>.
7623 (memset): Don't use BP_SYM.
7624 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7625 <bp-sym.h> and <bp-asm.h>.
7626 (strncmp): Don't use BP_SYM.
7627 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7628 <bp-sym.h> and <bp-asm.h>.
7629 (memcpy): Don't use BP_SYM.
7630 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7631 <bp-sym.h> and <bp-asm.h>.
7632 (memset): Don't use BP_SYM.
7633 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7634 <bp-sym.h> and <bp-asm.h>.
7635 (__memchr): Don't use BP_SYM.
7636 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7637 <bp-sym.h> and <bp-asm.h>.
7638 (memcmp): Don't use BP_SYM.
7639 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7640 <bp-sym.h> and <bp-asm.h>.
7641 (memcpy): Don't use BP_SYM.
7642 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7643 <bp-sym.h> and <bp-asm.h>.
7644 (__mempcpy): Don't use BP_SYM.
7645 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7646 <bp-sym.h> and <bp-asm.h>.
7647 (__memrchr): Don't use BP_SYM.
7648 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7649 <bp-sym.h> and <bp-asm.h>.
7650 (memset): Don't use BP_SYM.
7651 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7652 <bp-sym.h> and <bp-asm.h>.
7653 (__rawmemchr): Don't use BP_SYM.
7654 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7655 <bp-sym.h> and <bp-asm.h>.
7656 (__STRCMP): Don't use BP_SYM.
7657 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7658 <bp-sym.h> and <bp-asm.h>.
7659 (strchr): Don't use BP_SYM.
7660 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7661 <bp-sym.h> and <bp-asm.h>.
7662 (__strchrnul): Don't use BP_SYM.
7663 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7664 <bp-sym.h> and <bp-asm.h>.
7665 (strlen): Don't use BP_SYM.
7666 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7667 <bp-sym.h> and <bp-asm.h>.
7668 (strncmp): Don't use BP_SYM.
7669 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7670 <bp-sym.h> and <bp-asm.h>.
7671 (__strnlen): Don't use BP_SYM.
7672 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7673 <bp-asm.h>.
7674 (__mpn_rshift): Don't use BP_SYM.
7675 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7676 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7677 <bp-sym.h> and <bp-asm.h>.
7678 (__sigsetjmp): Don't use BP_SYM.
7679 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7680 (L(start_addresses)): Don't use BP_SYM.
7681 (_start): Likewise.
7682 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7683 <bp-asm.h>.
7684 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7685 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7686 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7687 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7688 <bp-asm.h>.
7689 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7690 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7691 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7692 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7693 <bp-asm.h>.
7694 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7695 comments.
7696 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7697 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7698 <bp-asm.h>.
7699 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7700 FIXME comments.
7701 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7702 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7703 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7704 <bp-asm.h>.
7705 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7706 comment.
7707 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7708 and <bp-asm.h>.
7709 (strncmp): Don't use BP_SYM,
7710 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7711 <bp-asm.h>.
7712 (__mpn_sub_n): Don't use BP_SYM.
7713 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7714 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7715 and <bp-asm.h>.
7716 (__mpn_submul_1): Don't use BP_SYM.
7717 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7719 <bp-sym.h> and <bp-asm.h>.
7720 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7722 <bp-sym.h> and <bp-asm.h>.
7723 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7724 comment.
7725
8d19fe64
SP
77262013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7727
7728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7729 Use ZK to minimize writes to Z.
7730 (sub_magnitudes): Simplify code a bit.
7731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7732 Use ZK to minimize writes to Z.
7733 (sub_magnitudes): Simplify code a bit.
7734
85bd816a
RM
77352013-02-27 Roland McGrath <roland@hack.frob.com>
7736
7737 * csu/gmon-start.c: Add special exception to license text.
7738
b5977bf2
RH
77392013-02-27 Richard Henderson <rth@redhat.com>
7740
7741 * scripts/config.guess: Update from config.git.
7742 * scripts/config.sub: Likewise.
7743
11d6e2f2
SP
77442013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7745
09c14ed2
SP
7746 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7747
a688864e
SP
7748 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7749
6295157a
SP
7750 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7751
b8de2202
SP
7752 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7753
11d6e2f2
SP
7754 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7755
7e80ddb8
RM
77562013-02-26 Roland McGrath <roland@hack.frob.com>
7757
7758 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7759 [$(build-shared = yes].
7e80ddb8 7760
7da6d9ed
SP
77612013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7762
45f05884
SP
7763 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7764 (__mul): Reduce iterations for calculating mantissa.
7765
2236d359
SP
7766 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7767 MPTWO.
7768 (__mpranred): Likewise.
7769
7da6d9ed
SP
7770 [BZ #15160]
7771 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7772 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7773
b7688c42
PE
77742013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7775
7776 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7777 Define __attribute__.
7778
53a5c423
SP
77792013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7780
7781 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7782 unused.
7783 * posix/regex_internal.h (__attribute): Remove.
7784 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7785 (re_string_context_at): Likewise.
7786 (bitset_not): Use __attribute__ and mark function as possibly
7787 unused.
7788 (bitset_merge): Likewise.
7789 (bitset_mask): Likewise.
7790 (re_string_char_size_at): Likewise.
7791 (re_string_wchar_at): Likewise.
7792 (re_string_elem_size_at): Likewise.
7793
60f5a8b5
SP
77942013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7795
2a983a2e
SP
7796 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7797 code.
7798 (cc32): Likewise.
7799
e69804d1
SP
7800 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7801 (__acr): Likewise.
7802 (__cpy): Likewise.
7803 (norm): Likewise.
7804 (denorm): Likewise.
7805 (__dbl_mp): Likewise.
7806 (add_magnitudes): Likewise.
7807 (sub_magnitudes): Likewise.
7808 (__mul): Likewise.
7809 (__inv): Likewise.
7810
2f22a1e8
SP
7811 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7812 style.
7813
8930ddc7
SP
7814 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7815 style.
7816
dc60cb11
SP
7817 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7818 code.
7819
60f5a8b5
SP
7820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7821 up changes with default code.
7822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7823 Likewise.
7824
b4d1fd33
AM
78252013-02-24 Allan McRae <allan@archlinux.org>
7826
faf6f8bc
AM
7827 * manual/socket.texi (The Internet Namespace): Order menu items
7828 to match that in the file.
7829
b4d1fd33
AM
7830 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7831 node listing of the info page menu.
7832
2366713d
JM
78332013-02-21 Joseph Myers <joseph@codesourcery.com>
7834
7835 [BZ #13550]
7836 * sysdeps/i386/bp-asm.h: Remove file.
7837 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7838 (PARMS): Do not use macros from bp-asm.h.
7839 (S1): Likewise.
7840 (S2): Likewise.
7841 (SIZE): Likewise.
7842 (__mpn_add_n): Do not use BP_SYM
7843 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7844 "bp-asm.h".
7845 (PARMS): Do not use macros from bp-asm.h.
7846 (S1): Likewise.
7847 (SIZE): Likewise.
7848 (__mpn_addmul_1): Do not use BP_SYM
7849 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7850 "bp-asm.h".
7851 (PARMS): Do not use macros from bp-asm.h.
7852 (SIGMSK): Likewise.
7853 (_setjmp): Likewise. Do not use BP_SYM.
7854 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7855 "bp-asm.h".
7856 (PARMS): Do not use macros from bp-asm.h.
7857 (SIGMSK): Likewise.
7858 (setjmp): Likewise. Do not use BP_SYM.
7859 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7860 "bp-asm.h".
7861 (PARMS): Do not use macros from bp-asm.h.
7862 (__frexp): Do not use BP_SYM.
7863 (frexp): Likewise.
7864 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7865 "bp-asm.h".
7866 (PARMS): Do not use macros from bp-asm.h.
7867 (__frexpf): Do not use BP_SYM.
7868 (frexpf): Likewise.
7869 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7870 "bp-asm.h".
7871 (PARMS): Do not use macros from bp-asm.h.
7872 (__frexpl): Do not use BP_SYM.
7873 (frexpl): Likewise.
7874 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7875 "bp-asm.h".
7876 (PARMS): Do not use macros from bp-asm.h.
7877 (__remquo): Do not use BP_SYM.
7878 (remquo): Likewise.
7879 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7880 "bp-asm.h".
7881 (PARMS): Do not use macros from bp-asm.h.
7882 (__remquof): Do not use BP_SYM.
7883 (remquof): Likewise.
7884 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7885 "bp-asm.h".
7886 (PARMS): Do not use macros from bp-asm.h.
7887 (__remquol): Do not use BP_SYM.
7888 (remquol): Likewise.
7889 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7890 "bp-asm.h".
7891 (PARMS): Do not use macros from bp-asm.h.
7892 (DEST): Likewise.
7893 (SRC): Likewise.
7894 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7895 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7896 "bp-asm.h".
7897 (PARMS): Do not use macros from bp-asm.h.
7898 (strlen): Do not use BP_SYM.
7899 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7900 "bp-asm.h".
7901 (PARMS): Do not use macros from bp-asm.h.
7902 (S1): Likewise.
7903 (S2): Likewise.
7904 (SIZE): Likewise.
7905 (__mpn_add_n): Do not use BP_SYM.
7906 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7907 "bp-asm.h".
7908 (PARMS): Do not use macros from bp-asm.h.
7909 (S1): Likewise.
7910 (SIZE): Likewise.
7911 (__mpn_addmul_1): Do not use BP_SYM.
7912 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7913 weak_alias.
7914 (bzero): Likewise.
7915 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7916 "bp-asm.h".
7917 (PARMS): Do not use macros from bp-asm.h.
7918 (S): Likewise.
7919 (SIZE): Likewise.
7920 (__mpn_lshift): Do not use BP_SYM.
7921 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7922 "bp-asm.h".
7923 (PARMS): Do not use macros from bp-asm.h.
7924 (DEST): Likewise.
7925 (SRC): Likewise.
7926 (LEN): Likewise.
7927 (memcpy): Likewise. Do not use BP_SYM.
7928 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7929 libc_hidden_def and weak_alias.
7930 (mempcpy): Do not use BP_SYM in weak_alias.
7931 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7932 "bp-asm.h".
7933 (PARMS): Do not use macros from bp-asm.h.
7934 (DEST): Likewise.
7935 (LEN): Likewise.
7936 [!BZERO_P] (CHR): Likewise.
7937 (memset): Likewise. Do not use BP_SYM.
7938 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7939 "bp-asm.h".
7940 (PARMS): Do not use macros from bp-asm.h.
7941 (S1): Likewise.
7942 (SIZE): Likewise.
7943 (__mpn_mul_1): Do not use BP_SYM.
7944 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7945 "bp-asm.h".
7946 (PARMS): Do not use macros from bp-asm.h.
7947 (S): Likewise.
7948 (SIZE): Likewise.
7949 (__mpn_rshift): Do not use BP_SYM.
7950 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7951 "bp-asm.h".
7952 (PARMS): Do not use macros from bp-asm.h.
7953 (STR): Likewise.
7954 (CHR): Likewise.
7955 (strchr): Likewise. Do not use BP_SYM.
7956 (index): Do not use BP_SYM in weak_alias.
7957 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7958 "bp-asm.h".
7959 (PARMS): Do not use macros from bp-asm.h.
7960 (DEST): Likewise.
7961 (SRC): Likewise.
7962 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7963 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7964 "bp-asm.h".
7965 (PARMS): Do not use macros from bp-asm.h.
7966 (strlen): Do not use BP_SYM.
7967 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7968 "bp-asm.h".
7969 (PARMS): Do not use macros from bp-asm.h.
7970 (S1): Likewise.
7971 (S2): Likewise.
7972 (SIZE): Likewise.
7973 (__mpn_sub_n): Do not use BP_SYM.
7974 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7975 "bp-asm.h".
7976 (PARMS): Do not use macros from bp-asm.h.
7977 (S1): Likewise.
7978 (SIZE): Likewise.
7979 (__mpn_submul_1): Do not use BP_SYM.
7980 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7981 "bp-asm.h".
7982 (PARMS): Do not use macros from bp-asm.h.
7983 (S1): Likewise.
7984 (S2): Likewise.
7985 (SIZE): Likewise.
7986 (__mpn_add_n): Do not use BP_SYM.
7987 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7988 weak_alias.
7989 (bzero): Likewise.
7990 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7991 "bp-asm.h".
7992 (PARMS): Do not use macros from bp-asm.h.
7993 (BLK2): Likewise.
7994 (LEN): Likewise.
7995 (memcmp): Do not use BP_SYM.
7996 (bcmp): Do not use BP_SYM in weak_alias.
7997 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7998 "bp-asm.h".
7999 (PARMS): Do not use macros from bp-asm.h.
8000 (DEST): Likewise.
8001 (SRC): Likewise.
8002 (LEN): Likewise.
8003 (memcpy): Likewise. Do not use BP_SYM.
8004 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8005 "bp-asm.h".
8006 (PARMS): Do not use macros from bp-asm.h.
8007 (DEST): Likewise.
8008 (SRC): Likewise.
8009 (LEN): Likewise.
8010 (memmove): Likewise. Do not use BP_SYM.
8011 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8012 "bp-asm.h".
8013 (PARMS): Do not use macros from bp-asm.h.
8014 (DEST): Likewise.
8015 (SRC): Likewise.
8016 (LEN): Likewise.
8017 (__mempcpy): Likewise. Do not use BP_SYM.
8018 (mempcpy): Do not use BP_SYM in weak_alias.
8019 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8020 "bp-asm.h".
8021 (PARMS): Do not use macros from bp-asm.h.
8022 (DEST): Likewise.
8023 (LEN): Likewise.
8024 [!BZERO_P] (CHR): Likewise.
8025 (memset): Likewise. Do not use BP_SYM.
8026 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8027 "bp-asm.h".
8028 (PARMS): Do not use macros from bp-asm.h.
8029 (STR2): Likewise.
8030 (strcmp): Do not use BP_SYM.
8031 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8032 "bp-asm.h".
8033 (PARMS): Do not use macros from bp-asm.h.
8034 (STR): Likewise.
8035 (DELIM): Likewise.
8036 [USE_AS_STRTOK_R] (SAVE): Likewise.
8037 (FUNCTION): Likewise. Do not use BP_SYM.
8038 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8039 aliases.
8040 (strtok_r): Likewise.
8041 (__GI___strtok_r): Likewise.
8042 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8043 (PARMS): Do not use macros from bp-asm.h.
8044 (S): Likewise.
8045 (SIZE): Likewise.
8046 (__mpn_lshift): Do not use BP_SYM.
8047 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8048 (PARMS): Do not use macros from bp-asm.h.
8049 (STR): Likewise.
8050 (CHR): Likewise.
8051 (__memchr): Do not use BP_SYM.
8052 (memchr): Do not use BP_SYM in weak_alias.
8053 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8054 (PARMS): Do not use macros from bp-asm.h.
8055 (BLK2): Likewise.
8056 (LEN): Likewise.
8057 (memcmp): Do not use BP_SYM.
8058 (bcmp): Do not use BP_SYM in weak_alias.
8059 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8060 (PARMS): Do not use macros from bp-asm.h.
8061 (S1): Likewise.
8062 (SIZE): Likewise.
8063 (__mpn_mul_1): Do not use BP_SYM.
8064 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8065 "bp-asm.h".
8066 (PARMS): Do not use macros from bp-asm.h.
8067 (STR): Likewise.
8068 (CHR): Likewise.
8069 (__rawmemchr): Do not use BP_SYM.
8070 (rawmemchr): Do not use BP_SYM in weak_alias.
8071 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8072 (PARMS): Do not use macros from bp-asm.h.
8073 (S): Likewise.
8074 (SIZE): Likewise.
8075 (__mpn_rshift): Do not use BP_SYM.
8076 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8077 (PARMS): Do not use macros from bp-asm.h.
8078 (SIGMSK): Likewise.
8079 (__sigsetjmp): Likewise. Do not use BP_SYM.
8080 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8081 (_start): Do not use BP_SYM.
8082 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8083 (PARMS): Do not use macros from bp-asm.h.
8084 (DEST): Likewise.
8085 (SRC): Likewise.
8086 (__stpcpy): Likewise. Do not use BP_SYM.
8087 (stpcpy): Do not use BP_SYM in weak_alias.
8088 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8089 "bp-asm.h".
8090 (PARMS): Do not use macros from bp-asm.h.
8091 (DEST): Likewise.
8092 (SRC): Likewise.
8093 (LEN): Likewise.
8094 (__stpncpy): Likewise. Do not use BP_SYM.
8095 (stpncpy): Do not use BP_SYM in weak_alias.
8096 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8097 (PARMS): Do not use macros from bp-asm.h.
8098 (STR): Likewise.
8099 (CHR): Likewise.
8100 (strchr): Likewise. Do not use BP_SYM.
8101 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8102 "bp-asm.h".
8103 (PARMS): Do not use macros from bp-asm.h.
8104 (STR): Likewise.
8105 (CHR): Likewise.
8106 (__strchrnul): Likewise. Do not use BP_SYM.
8107 (strchrnul): Do not use BP_SYM in weak_alias.
8108 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8109 "bp-asm.h".
8110 (PARMS): Do not use macros from bp-asm.h.
8111 (STOP): Likewise.
8112 (strcspn): Do not use BP_SYM.
8113 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8114 "bp-asm.h".
8115 (PARMS): Do not use macros from bp-asm.h.
8116 (STR): Likewise.
8117 (STOP): Likewise.
8118 (strpbrk): Likewise. Do not use BP_SYM.
8119 * sysdeps/i386/strrchr.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 (strrchr): Likewise. Do not use BP_SYM.
8125 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8126 (PARMS): Do not use macros from bp-asm.h.
8127 (SKIP): Likewise.
8128 (strspn): Do not use BP_SYM.
8129 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8130 (PARMS): Do not use macros from bp-asm.h.
8131 (STR): Likewise.
8132 (DELIM): Likewise.
8133 (SAVE): Likewise.
8134 (FUNCTION): Likewise. Do not use BP_SYM.
8135 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8136 aliases.
8137 (strtok_r): Likewise.
8138 (__GI___strtok_r): Likewise.
8139 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8140 (PARMS): Do not use macros from bp-asm.h.
8141 (S1): Likewise.
8142 (S2): Likewise.
8143 (SIZE): Likewise.
8144 (__mpn_sub_n): Do not use BP_SYM.
8145 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8146 "bp-asm.h".
8147 (PARMS): Do not use macros from bp-asm.h.
8148 (S1): Likewise.
8149 (SIZE): Likewise.
8150 (__mpn_submul_1): Do not use BP_SYM.
8151 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8152 <bp-sym.h>.
8153 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8154 and <bp-asm.h>.
8155 (PARMS): Do not use macros from bp-asm.h.
8156 (FLAGS): Likewise.
8157 (PTID): Likewise.
8158 (TLS): Likewise.
8159 (CTID): Likewise.
8160 (__clone): Do not use BP_SYM.
8161 (clone): Do not use BP_SYM in weak_alias.
8162 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8163 and <bp-asm.h>.
8164 (PARMS): Do not use macros from bp-asm.h.
8165 (LEN): Likewise.
8166 (__mmap64): Do not use BP_SYM.
8167 (mmap64): Do not use BP_SYM in weak_alias.
8168 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8169 <bp-sym.h> and <bp-asm.h>.
8170 (PARMS): Do not use macros from bp-asm.h.
8171 (__posix_fadvise64_l64): Do not use BP_SYM.
8172 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8173 (PARMS): Do not use macros from bp-asm.h.
8174 (NSOPS): Likewise.
8175 (semtimedop): Do not use BP_SYM.
8176 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8177 and <bp-asm.h>.
8178
582a3cff
AM
81792013-02-21 Allan McRae <allan@archlinux.org>
8180
8181 * manual/message.texi (Charset conversion in gettext):
8182 Move @end statement to beginning of line.
8183
bab8a695
SP
81842013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8185
80945231
SP
8186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8187 static.
8188 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8189 Likewise.
8190
bab8a695
SP
8191 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8192 (denorm): Likewise.
8193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8195
e21d7aa7
AK
81962013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8197
8198 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8199 tail-call to the resolved function if pltexit isn't needed.
8200
4c7a4263
SP
82012013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8202
8203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8204 or Y being zero as being unlikely.
8205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8206 Likewise.
8207
41f49342
CD
82082013-02-20 Carlos O'Donell <carlos@redhat.com>
8209
8210 * manual/nss.texi (System Databases and Name Service Switch):
8211 Remove frobnicate @pxref.
8212
50022a93
TS
82132013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8214
8215 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8216 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8217
08cbd996
PM
82182013-02-20 Petr Machata <pmachata@redhat.com>
8219
8220 * elf/elf.h (R_ARM_TARGET1): New macro.
8221 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8222 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8223 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8224 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8225 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8226 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8227 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8228 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8229 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8230 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8231 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8232 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8233 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8234 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8235 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8236 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8237 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8238 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8239 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8240 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8241 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8242 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8243 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8244 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8245 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8246 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8247 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8248 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8249 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8250 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8251 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8252 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8253 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8254 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8255 (R_ARM_THM_GOT_BREL12): Likewise.
8256 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8257 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8258 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8259 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8260 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8261 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8262 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8263 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8264 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8265
c7b275d6
TS
82662013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8267
8268 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8269 __attribute_used__ to __attribute__ ((unused)).
8270
20cd7fb3
SP
82712013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8272
8273 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8274 powerpc mpa.c.
8275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8276 comment formatting.
8277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8278
92945b52
JM
82792013-02-19 Joseph Myers <joseph@codesourcery.com>
8280
8281 [BZ #13550]
8282 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8283 Remove macro.
8284 (ENTER): Remove both macro definitions.
8285 (LEAVE): Likewise.
8286 (CHECK_BOUNDS_LOW): Likewise.
8287 (CHECK_BOUNDS_HIGH): Likewise.
8288 (CHECK_BOUNDS_BOTH): Likewise.
8289 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8290 (RETURN_BOUNDED_POINTER): Likewise.
8291 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8292 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8293 (POP_ERRNO_LOCATION_RETURN): Likewise.
8294 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8295 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8296 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8297 macros.
8298 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8299 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8300 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8301 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8302 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8303 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8304 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8305 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8306 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8307 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8308 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8309 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8310 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8311 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8312 removed macros.
8313 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8314 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8315 macros.
8316 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8317 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8318 * sysdeps/i386/i586/memset.S (memset): Likewise.
8319 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8320 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8321 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8322 macros.
8323 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8324 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8325 Change uses of L(2) to L(out).
8326 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8327 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8328 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8329 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8330 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8331 removed macros.
8332 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8333 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8334 macros.
8335 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8336 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8337 (RETURN): Do not use macro LEAVE.
8338 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8339 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8340 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8341 * sysdeps/i386/i686/memset.S (memset): Likewise.
8342 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8343 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8344 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8345 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8346 Likewise.
8347 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8348 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8349 L(1_2) and L(1_3) into L(1).
8350 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8351 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8352 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8353 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8354 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8355 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8356 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8357 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8358 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8359 macros.
8360 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8361 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8362 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8363 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8364 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8365 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8366 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8367 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8368 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8369 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8370 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8371 * sysdeps/i386/strspn.S (strspn): Likewise.
8372 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8373 conditional code.
8374 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8375 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8376 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8377 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8378 L(1_3) into L(1_1).
8379 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8380 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8381 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8382 macros.
8383 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8384
2389741a
JJ
83852013-02-19 Jakub Jelinek <jakub@redhat.com>
8386
8387 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8388 macro.
8389
2016b3cd
SP
83902013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8391
e4f22324
SP
8392 * math/atest-exp.c (exp_mpn): Remove ROUND.
8393 * math/atest-exp2.c (exp_mpn): Likewise.
8394 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8395
2016b3cd
SP
8396 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8397 * stdlib/tst-tls-atexit-lib.c: Likewise.
8398 * stdlib/tst-tls-atexit.c: Likewise.
8399
4be9b544
MF
84002013-02-18 Mike Frysinger <vapier@gentoo.org>
8401
8402 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8403 and __attribute_alloc_size__.
8404
2f62b9ee
MF
84052013-02-18 Mike Frysinger <vapier@gentoo.org>
8406
8407 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8408 __attribute_alloc_size__.
8409 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8410 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8411
6ff444c4
MF
84122013-02-18 Mike Frysinger <vapier@gentoo.org>
8413
8414 * include/programs/xmalloc.h: New file.
8415 * catgets/gencat.c: Include it.
8416 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8417 * elf/pldd.c: Likewise.
8418 * iconv/iconv_charmap.c: Likewise.
8419 * iconv/iconvconfig.c: Likewise.
8420 * iconv/strtab.c: Likewise.
8421 * locale/programs/locale.c: Likewise.
8422 * locale/programs/localedef.h: Likewise.
8423 * locale/programs/simple-hash.c: Likewise.
8424 * nscd/nscd.h: Likewise.
8425 * nss/makedb.c: Likewise.
8426 * sysdeps/generic/ldconfig.h: Likewise.
8427
be179c8a
SP
84282013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8429
ba384f6e
SP
8430 * Versions.def: Add GLIBC_2.18.
8431 * include/link.h (struct link_map): New member l_tls_dtor_count.
8432 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8433 (__call_tls_dtors): Likewise.
8434 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8435 __cxa_thread_atexit_impl.
8436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8437 Likewise.
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8439 Likewise.
8440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8441 Likewise.
8442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8443 Likewise.
8444 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8446 Likewise.
8447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8448 Likewise.
8449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8451 Likewise.
8452 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8453 (tests): Add test case tst-tls-atexit.
8454 (modules-names): Add shared library for tst-tls-atexit.
85891aca 8455 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
8456 (GLIBC_PRIVATE): Add __call_tls_dtors.
8457 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8458 for libstdc++.
8459 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8460 * stdlib/tst-tls-atexit.c: New test case.
8461 * stdlib/tst-tls-atexit-lib.c: New test case.
8462
ffaa74cf 8463 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 8464
be179c8a
SP
8465 * elf/Versions (ld): Add _dl_find_dso_for_object.
8466 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8467 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8468 (dl_open_worker): Use _dl_find_dso_for_object.
8469 * elf/dl-sym.c (do_sym): Likewise.
8470 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8471
f78b5caa
AK
84722013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8473
8474 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8475 Syntactic changes only.
8476 (_dl_runtime_profile): Do a tail-call to the resolved function.
8477
29691210
JM
84782013-02-17 Joseph Myers <joseph@codesourcery.com>
8479
8480 [BZ #13550]
8481 * sysdeps/x86_64/bp-asm.h: Remove file.
8482 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8483 <bp-sym.h> and <bp-asm.h>.
8484 (__clone): Do not use BP_SYM.
8485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8486 <bp-sym.h> and <bp-asm.h>.
8487 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8488 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8489 "bp-asm.h".
8490 (_setjmp): Do not use BP_SYM.
8491 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8492 "bp-asm.h".
8493 (setjmp): Do not use BP_SYM.
8494 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8495 libc_hidden_def.
8496 (mempcpy): Do not use BP_SYM in weak_alias.
8497 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8498 "bp-asm.h".
8499 (strchr): Do not use BP_SYM.
8500 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8501 "bp-asm.h".
8502 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8503 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8504 (_start): Do not use BP_SYM.
8505 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8506 "bp-asm.h".
8507 (strcat): Do not use BP_SYM.
8508 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8509 "bp-asm.h".
8510 (STRCMP): Do not use BP_SYM.
8511 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8512 "bp-asm.h".
8513 (STRCPY): Do not use BP_SYM.
8514 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8515 "bp-asm.h".
8516 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8517 "bp-asm.h".
8518 (FUNCTION): Do not use BP_SYM.
8519 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8520 weak_alias.
8521 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8522
f238fd19
AJ
85232013-02-17 Andreas Jaeger <aj@suse.de>
8524
8525 * time/Versions: Sort entries.
8526 * string/Versions: Likewise.
8527 * resolv/Versions: Likewise.
8528 * posix/Versions: Likewise.
8529 * iconv/Versions: Likewise.
8530 * elf/Versions: Likewise.
8531 * wcsmbs/Versions: Likewise.
8532
bd07f23c 85332013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8534
22af19f9
SP
8535 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8536 loop termination condition.
8537
4709fe76
SP
8538 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8539 variable to calculate EZ.
8540 (__sqr): Likewise.
2d0e0f29
SP
8541
8542 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8543 the lower precision input.
8544
daaa7713
JM
85452013-02-15 Joseph Myers <joseph@codesourcery.com>
8546
8547 [BZ #13550]
8548 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8549 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8550 (run-via-rtld-prefix): Do not handle %-bp tests.
8551 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8552 (all-object-suffixes): Remove .ob.
8553 (bppfx): Remove variable.
8554 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8555 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8556 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8557 [$(build-bounded) = yes] (libtype.ob): Likewise.
8558 * Makerules (elide-routines.ob): Remove variable.
8559 (do-tests-clean): Do not handle *-bp.out.
8560 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8561 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8562 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8563 (tests): Do not include $(tests-bp.out).
8564 (xtests): Do not include $(xtests-bp.out).
8565 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8566 [$(build-bounded) = yes] ($(addprefix
8567 $(objpfx),$(binaries-bounded))): Remove rule.
8568 ($(objpfx)%-bp.out): Remove rule.
8569 * config.make.in (build-bounded): Remove variable.
8570 * crypt/Makefile [$(build-bounded) = yes]
8571 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8572 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8573 append to variable.
8574 [$(build-bounded) = yes] (install-lib): Likewise.
8575 [$(build-bounded) = yes] (generated): Likewise.
8576 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8577 Remove rule.
8578 * intl/Makefile [$(build-bounded) = yes]
8579 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8580 * math/Makefile [$(build-bounded) = yes]
8581 ($(tests:%=$(objpfx)%-bp): Likewise.
8582 * misc/Makefile [$(build-bounded) = yes]
8583 ($(objpfx)tst-tsearch-bp): Likewise.
8584 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8585 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8586 Remove dependency.
8587 * string/Makefile (o-objects.ob): Remove variable.
8588 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8589 (CFLAGS-.ob): Remove variable.
8590 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8591 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8592 both definitions of variable.
8593 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8594 (ASFLAGS-.ob): Remove variable.
8595
e97ed6dd
JM
85962013-02-14 Joseph Myers <joseph@codesourcery.com>
8597
2bdd4ca6
JM
8598 [BZ #13550]
8599 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8600 Remove __BOUNDED_POINTERS__ from condition.
8601 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8602 * string/bits/string2.h [!__NO_STRING_INLINES &&
8603 !__BOUNDED_POINTERS__]: Likewise.
8604 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8605 Likewise.
8606 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8607 Remove conditional code.
8608 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8609 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8610 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8611 condition.
8612
e97ed6dd
JM
8613 [BZ #13550]
8614 * csu/libc-start.c: Do not include <bp-sym.h>.
8615 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8616 * elf/dl-open.c: Do not include <bp-sym.h>.
8617 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8618 * math/fegetenv.c: Do not include <bp-sym.h>.
8619 (fegetenv): Do not use BP_SYM in versioned symbols.
8620 * nptl/sysdeps/pthread/bits/libc-lockP.h
8621 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8622 <bp-sym.h>.
8623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8624 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8626 (__pthread_mutex_destroy): Likewise.
8627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8628 (__pthread_mutex_lock): Likewise.
8629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8630 (__pthread_mutex_trylock): Likewise.
8631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8632 (__pthread_mutex_unlock): Likewise.
8633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8634 (__pthread_mutexattr_init): Likewise.
8635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8636 (__pthread_mutexattr_destroy): Likewise.
8637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8638 (__pthread_mutexattr_settype): Likewise.
8639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8640 (__pthread_rwlock_init): Likewise.
8641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8642 (__pthread_rwlock_destroy): Likewise.
8643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8644 (__pthread_rwlock_rdlock): Likewise.
8645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8646 (__pthread_rwlock_tryrdlock): Likewise.
8647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8648 (__pthread_rwlock_wrlock): Likewise.
8649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8650 (__pthread_rwlock_trywrlock): Likewise.
8651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8652 (__pthread_rwlock_unlock): Likewise.
8653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8654 (__pthread_key_create): Likewise.
8655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8656 (__pthread_setspecific): Likewise.
8657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8658 (__pthread_getspecific): Likewise.
8659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8660 Likewise.
8661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8662 (_pthread_cleanup_push_defer): Likewise.
8663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8664 (_pthread_cleanup_pop_restore): Likewise.
8665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8666 (pthread_setcancelstate): Likewise.
8667 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8668 <bp-sym.h>.
8669 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8670 (memchr): Do not use BP_SYM in weak_alias.
8671 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8672 (fegetenv): Do not use BP_SYM in versioned symbols.
8673 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8674 (fesetenv): Do not use BP_SYM in versioned symbols.
8675 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8676 (feupdateenv): Do not use BP_SYM in versioned symbols.
8677 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8678 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8679 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8680 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8681 (open64): Do not use BP_SYM in weak_alias.
8682 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8683 (fegetenv): Do not use BP_SYM in versioned symbols.
8684 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8685 (fesetenv): Do not use BP_SYM in versioned symbols.
8686 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8687 (feupdateenv): Do not use BP_SYM in versioned symbols.
8688 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8689 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8690 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8691 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8692 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8693 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8694 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8695 <bp-sym.h>.
8696 (__libc_start_main): Do not use BP_SYM.
8697
d6752ccd
SP
86982013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8699
cb57ce60
SP
8700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8701 redundant return line.
8702 (norm): Likewise.
8703 (denorm): Likewise.
8704 (dbl_mp): Likewise.
8705 (sub_magnitudes): Likewise.
8706 (__add): Likewise.
8707 (__sub): Likewise.
8708 (__mul): Likewise.
8709 (__inv): Likewise.
8710 (__dvd): Likewise.
8711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8712 (norm): Likewise.
8713 (denorm): Likewise.
8714 (dbl_mp): Likewise.
8715 (sub_magnitudes): Likewise.
8716 (__add): Likewise.
8717 (__sub): Likewise.
8718 (__mul): Likewise.
8719 (__inv): Likewise.
8720 (__dvd): Likewise.
8721
f414520d
SP
8722 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8723 instead of __mul.
8724 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8725 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8726 (cc32): Likewise.
8727
d6752ccd
SP
8728 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8729 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8731 of __mul for squares.
8732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8733 function
8734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8735 Likewise.
8736 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8737 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8738
70d9946a
JM
87392013-02-13 Joseph Myers <joseph@codesourcery.com>
8740
8741 [BZ #13550]
8742 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8743 code.
8744 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8745 prototype or function definition. Rename ubp_* variables and
8746 parameters. Remove argv definitions conditional on
8747 [__BOUNDED_POINTERS__].
8748 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8749 * elf/dl-runtime.c (_dl_fixup): Likewise.
8750 * include/set-hooks.h (RUN_HOOK): Likewise.
8751 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8752 definition.
8753 * string/strcpy.c (strcpy): Do not use __unbounded.
8754 * sysdeps/generic/frame.h (struct layout): Likewise.
8755 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8756 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8757 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8758 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8759 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8760 (__backtrace): Likewise.
8761 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8762 use __ptrvalue.
8763 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8764 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8765 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8766 Likewise.
8767 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8768 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8769 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8770 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8771 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8772 Do not use __unbounded.
8773 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8774 Rename __unboundedrlimits parameter to rlimits in prototype.
8775 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8776 Do not use __unbounded.
8777 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8778 not use __ptrvalue.
8779 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8780 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8781 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8782 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8783 __ptrvalue or __unbounded.
8784 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8785 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8786 use __unbounded.
8787 (__new_msgctl): Do not use __ptrvalue.
8788 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8789 __unbounded.
8790 (__libc_msgrcv): Do not use __ptrvalue.
8791 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8792 startup_info): Do not use __unbounded.
8793 (__libc_start_main): Likewise. Rename ubp_* variables and
8794 parameters. Remove argv definitions conditional on
8795 [__BOUNDED_POINTERS__].
8796 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8797 __ptrvalue.
8798 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8799 use __unbounded.
8800 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8801 or __ptrvalue.
8802 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8803 use __unbounded.
8804 (__new_shmctl): Do not use __ptrvalue.
8805 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8806 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8807 Likewise.
8808 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8809 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8810 (__libc_sigaction): Likewise.
8811 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8812 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8813 Likewise.
8814 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8815
cc7834d6
OB
88162013-02-13 Ondřej Bílka <neleai@seznam.cz>
8817
ffb1ec7b 8818 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8819
8820 * string/mempcpy.c: Implement by calling memcpy.
8821
bdf02814
SP
88222013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8823
c2af38aa
SP
8824 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8825
4e92d59e
SP
8826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8827 evaluation.
8828
909279a5
SP
8829 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8830 values in the mantissa.
8831
bdf02814
SP
8832 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8833 minimize writes to Z.
8834 (sub_magnitudes): Simplify code a bit.
8835
cd525923
RM
88362013-02-12 Roland McGrath <roland@hack.frob.com>
8837
8838 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8839 from the message. The linker prefixes all warnings with that already.
8840
7e2f0d2d
AS
88412013-02-12 Andreas Schwab <schwab@suse.de>
8842
a445af0b
AS
8843 [BZ #15078]
8844 * posix/regexec.c (extend_buffers): Add parameter min_len.
8845 (check_matching): Pass minimum needed length.
8846 (clean_state_log_if_needed): Likewise.
8847 (get_subexp): Likewise.
8848 * posix/Makefile (tests): Add bug-regex34.
8849 (bug-regex34-ENV): Define.
8850 * posix/bug-regex34.c: New file.
8851
7e2f0d2d
AS
8852 [BZ #11561]
8853 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8854 elements compare against the byte sequence of it, not its name.
8855 * posix/Makefile (tests): Add bug-regex35.
8856 (bug-regex35-ENV): Define.
8857 * posix/bug-regex35.c: New file.
8858
a175b684
TV
88592013-02-11 Tom de Vries <tom@codesourcery.com>
8860
8861 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8862 comment.
8863 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8864 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8865 (CHECK_EOL): Add undef.
8866
310998fe 88672013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8868
8869 * bits/stdlib-bsearch.h: New file.
8870 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8871 * stdlib/stdlib.h: Likewise.
41eda41d 8872
8ded91fb
RM
88732013-02-11 Roland McGrath <roland@hack.frob.com>
8874
8875 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8876 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8877 declaration.
8878 * manual/search.texi (Array Search Function): Add missing const in
8879 lfind prototype.
8880 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8881 declaration to use rlim_t.
8882 (Basic Scheduling Functions): Remove erroneous const from
8883 sched_getparam prototype. Remove erroneous * from
8884 sched_get_priority_max and sched_get_priority_min prototypes.
8885 (Resource Usage): Fix summary @comment on vtimes to refer to
8886 sys/vtimes.h rather than vtimes.h.
8887 Add missing *s in vtimes prototype.
8888 (Limits on Resources): Fix ulimit prototype to return long int.
8889 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8890 prototypes to use long int rather than double.
8891 (BSD Random): Fix initstate and setstate to use char *, not void *.
8892 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8893 prototype to make second argument 'struct aiocb64 *const[]'.
8894 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8895 (Status of AIO Operations): Remove erroneous const in aio_return and
8896 aio_return64 prototypes.
8897 (Synchronizing I/O): Fix sync prototype to return void.
8898 * manual/startup.texi (Suboptions): Remove an erroneous const in
8899 getsubopt prototype.
8900 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8901 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8902 use size_t rather than int.
8903 (Scanning All Users): Likewise for getpwent_r.
8904 (Setting Groups): Add missing const to setgroups prototype.
8905 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8906 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8907 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8908 'const void *' rather than 'const char *'.
8909 (Host Address Functions): Likewise for inet_ntop.
8910 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8911 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8912 ssize_t for return value.
8913 (Sending Data): Likewise for send, sendto, sendmsg.
8914 (Socket Option Functions): Add a missing const in setsockopt prototype.
8915 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8916 use wchar_t for the argument.
8917 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8918 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8919 take no arguments.
8920 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8921 double/float/long double for second argument.
8922 Fix return types of significand, significandf, significandl.
8923 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8924 argument in fchmod prototype.
8925 (File Owner): Use uid_t and gid_t in fchown prototype.
8926 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8927 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8928 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8929 use 'const struct dirent **' as argument types to CMP function pointer
8930 argument.
8931 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8932 (File Times): Fix summary magic @comment for struct utimbuf and utime
8933 to refer to utime.h, not time.h.
8934 * manual/string.texi (Argz Functions): Add missing const in
8935 argz_extract and argz_next prototypes.
8936 (Finding Tokens in a String): Likewise for basename.
8937 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8938 (Copying and Concatenation): Fix typo in wmemmove prototype.
8939 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8940 (Signal Stack): Remove erroneous const in sigstack prototype.
8941 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8942 prototype.
8943 (Simple Calendar Time): Likewise for stime.
8944 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8945 prototype.
8946 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8947 say sys/sysctl.h instead.
8948 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8949 and vsyslog prototypes.
8950
fe77fe6d
TV
89512013-02-11 Tom de Vries <tom@codesourcery.com>
8952
8953 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8954 Remove.
8955
3a09b620
RM
89562013-02-11 Roland McGrath <roland@hack.frob.com>
8957
8958 * misc/sys/mman.h: Fix typo in mremap comment.
8959
550a0b89
RM
89602013-02-08 Roland McGrath <roland@hack.frob.com>
8961
8962 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8963 the '\0' terminator.
8964
a2da1673
JM
89652013-02-08 Joseph Myers <joseph@codesourcery.com>
8966
8967 [BZ #13550]
8968 * debug/segfault.c: Don't include <bp-checks.h>.
8969 * sysdeps/generic/bp-checks.h: Remove file.
8970 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8971 (__GETDENTS): Don't use CHECK_N.
8972 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8973 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8974 (__getgroups): Don't use CHECK_N.
8975 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8976 (setgroups): Don't use CHECK_N.
8977 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8978 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8979 (__libc_msgrcv): Don't use CHECK_N.
8980 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8981 (__libc_msgsnd): Don't use CHECK_N.
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8983 <bp-checks.h>.
8984 (__libc_pread): Don't use CHECK_N.
8985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8986 include <bp-checks.h>.
8987 (__libc_pread64): Don't use CHECK_N.
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8989 include <bp-checks.h>.
8990 (__libc_pwrite): Don't use CHECK_N.
8991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8992 include <bp-checks.h>.
8993 (__libc_pwrite64): Don't use CHECK_N.
8994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8995 <bp-checks.h>.
8996 (__libc_pread): Don't use CHECK_N.
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8998 include <bp-checks.h>.
8999 (__libc_pread64): Don't use CHECK_N.
9000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9001 include <bp-checks.h>.
9002 (__libc_pwrite): Don't use CHECK_N.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9004 include <bp-checks.h>.
9005 (__libc_pwrite64): Don't use CHECK_N.
9006 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9007 (do_pread): Don't use CHECK_N.
9008 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9009 (do_pread64): Don't use CHECK_N.
9010 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9011 (do_pwrite): Don't use CHECK_N.
9012 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9013 (do_pwrite64): Don't use CHECK_N.
9014 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9015 (__libc_readv): Don't use CHECK_N.
9016 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9017 (semop): Don't use CHECK_N.
9018 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9019 <bp-checks.h>.
9020 (semtimedop): Don't use CHECK_N.
9021 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9022 (__libc_pread): Don't use CHECK_N.
9023 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9024 <bp-checks.h>.
9025 (__libc_pread64): Don't use CHECK_N.
9026 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9027 <bp-checks.h>.
9028 (__libc_pwrite): Don't use CHECK_N.
9029 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9030 <bp-checks.h>.
9031 (__libc_pwrite64): Don't use CHECK_N.
9032 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9033 <bp-checks.h>.
9034 (__libc_msgrcv): Don't use CHECK_N.
9035 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9036 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9037 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9038 (__libc_writev): Don't use CHECK_N.
9039
b84660a8
RM
90402013-02-08 Roland McGrath <roland@hack.frob.com>
9041
7f3e75f8
RM
9042 * string/strcpy.c: Removed unused variable.
9043
b84660a8
RM
9044 * Makeconfig (+sysdep-includes): Define with := rather than =.
9045 Use an existing include/ subdir of each sysdeps dir before it.
9046
471514d3
CD
90472013-02-08 Carlos O'Donell <carlos@redhat.com>
9048
9049 * nscd/connection.c (register_traced_file): Comment function.
9050 [HAVE_INOTIFY] (union __inev): Define.
9051 [HAVE_INOTIFY] (inotify_check_files): New function.
9052 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9053 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9054 clear_db_cache.
9055 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9056
b2d3c3be
CD
90572013-02-08 Carlos O'Donell <carlos@redhat.com>
9058
9059 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9060 loaded if not already and that a failure is permanent.
9061
b39949d2
CD
90622013-02-08 Carlos O'Donell <carlos@redhat.com>
9063
ddacd1db 9064 [BZ #15006]
b39949d2
CD
9065 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9066 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9067
b2c9eff4
JM
90682013-02-08 Joseph Myers <joseph@codesourcery.com>
9069
f3aae3f3
JM
9070 [BZ #13550]
9071 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9072 (CHECK_1_NULL_OK): Likewise.
9073 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9074 (__fxstat): Do not use CHECK_1.
9075 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9076 <bp-checks.h>.
9077 (___fxstat64): Do not use CHECK_1.
9078 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9079 <bp-checks.h>.
9080 (__fxstatat): Do not use CHECK_1.
9081 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9082 <bp-checks.h>.
9083 (__fxstatat64): Do not use CHECK_1.
9084 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9085 <bp-checks.h>.
9086 (__fxstat): Do not use CHECK_1.
9087 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9088 <bp-checks.h>.
9089 (__fxstatat): Do not use CHECK_1.
9090 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9091 <bp-checks.h>.
9092 (__getresgid): Do not use CHECK_1.
9093 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9094 <bp-checks.h>.
9095 (__getresuid): Do not use CHECK_1.
9096 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9097 <bp-checks.h>.
9098 (__lxstat): Do not use CHECK_1.
9099 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9100 <bp-checks.h>.
9101 (__old_msgctl): Do not use CHECK_1.
9102 (__new_msgctl): Likewise.
9103 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9104 <bp-checks.h>.
9105 (__new_setrlimit): Do not use CHECK_1.
9106 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9107 <bp-checks.h>.
9108 (__old_shmctl): Do not use CHECK_1.
9109 (__new_shmctl): Likewise.
9110 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9111 <bp-checks.h>.
9112 (__xstat): Do not use CHECK_1.
9113 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9114 (__lxstat): Do not use CHECK_1.
9115 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9116 <bp-checks.h>.
9117 (___lxstat64): Do not use CHECK_1.
9118 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9119 (__old_msgctl): Do not use CHECK_1.
9120 (__new_msgctl): Likewise.
9121 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9122 <bp-checks.h>.
9123 (__gettimeofday): Do not use CHECK_1.
9124 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9125 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9126 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9127 <bp-checks.h>.
9128 (__gettimeofday): Do not use CHECK_1.
9129 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9130 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9131 (__new_shmctl): Do not use CHECK_1.
9132 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9133 <bp-checks.h>.
9134 (do_sigtimedwait): Do not use CHECK_1.
9135 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9136 <bp-checks.h>.
9137 (do_sigwaitinfo): Do not use CHECK_1.
9138 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9139 <bp-checks.h>.
9140 (msgctl): Do not use CHECK_1.
9141 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9142 <bp-checks.h>.
9143 (shmctl): Do not use CHECK_1.
9144 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9145 (ustat): Do not use CHECK_1.
9146 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9147 <bp-checks.h>.
9148 (__fxstat): Do not use CHECK_1.
9149 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9150 <bp-checks.h>.
9151 (__fxstatat): Do not use CHECK_1.
9152 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9153 <bp-checks.h>.
9154 (__lxstat): Do not use CHECK_1.
9155 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9156 <bp-checks.h>.
9157 (__xstat): Do not use CHECK_1.
9158 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9159 (__xstat): Do not use CHECK_1.
9160 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9161 (___xstat64): Do not use CHECK_1.
9162
b2c9eff4
JM
9163 [BZ #13550]
9164 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9165 definitions.
9166 (CHECK_BOUNDS_HIGH): Likewise.
9167 * string/strcpy.c: Do not include <bp-checks.h>.
9168 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9169
f1d70dad
RM
91702013-02-07 Roland McGrath <roland@hack.frob.com>
9171
9172 * nscd/nscd-client.h (__nscd_drop_map_ref):
9173 Add __attribute__ ((unused)).
9174 * nis/nss-nisplus.h (niserr2nss): Likewise.
9175
9176 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9177 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9178
9179 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9180 Remove inline keyword.
9181 * include/rounding-mode.h (round_away): Likewise.
9182 * libio/wfileops.c (adjust_wide_data): Likewise.
9183 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9184 (__m128i_strloadu_tolower): Likewise.
9185 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9186 (__m128i_strloadu_tolower): Likewise.
9187 * time/mktime.c (ydhms_diff): Likewise.
9188 * locale/elem-hash.h (elem_hash): Likewise.
9189 * locale/setlocale.c (setdata): Likewise.
9190 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9191 (re_string_wchar_at): Likewise.
9192 (bitset_not, bitset_merge, bitset_mask): Likewise.
9193 [!(__GNUC__ > 3)] (inline): Remove macro.
9194 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9195 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9196 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9197 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9198 * string/memcmp.c (memcmp_bytes): Likewise.
9199 * locale/programs/locarchive.c (compute_hashval): Likewise.
9200 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9201 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9202 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9203 * nss/getent.c (print_rpc, print_protocols): Likewise.
9204 (print_passwd, print_group, print_aliases): Likewise.
9205 * nis/nss-nisplus.h (niserr2nss): Likewise.
9206 * nscd/connections.c (restart_p): Likewise.
9207 Change return type to bool.
9208
eab55bfb
RM
92092013-02-05 Roland McGrath <roland@hack.frob.com>
9210
7bd642f5
RM
9211 * Makeconfig (all-Depend-files): Add existing
9212 $(sorted-subdirs:=/Depend) files.
9213 (all-subdirs): Remove nss.
9214 * sysdeps/unix/inet/Subdirs: Add it here instead.
9215 * hesiod/Depend: New file.
9216
573c29b2
RM
9217 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9218 instead of calling alloca.
9219
b2e25af0
RM
9220 * io/lseek.c (__lseek): Rename to __libc_lseek.
9221 Define __lseek as an alias.
9222
eab55bfb
RM
9223 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9224
9a0d1941
CD
92252013-02-04 Carlos O'Donell <carlos@redhat.com>
9226
9227 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9228 else clause and remove check for non-standard endianness.
9229
b83bbec4
DM
92302013-02-04 David S. Miller <davem@davemloft.net>
9231
9232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9233
6277fdab
JM
92342013-02-04 Joseph Myers <joseph@codesourcery.com>
9235
9236 [BZ #13550]
9237 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9238 (__ubp_memchr): Remove prototype.
9239 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9240 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9241 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9242 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9243 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9244 Remove alias.
9245 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9246 (__ubp_memchr): Likewise.
9247 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9248 (__ubp_memchr): Likewise.
9249 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9250 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9251 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9252 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9253 CHECK_STRING.
9254 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9255 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9256 (__getcwd): Do not use CHECK_STRING.
9257 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9258 <bp-checks.h>.
9259 (__real_chown): Do not use CHECK_STRING.
9260 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9261 <bp-checks.h>.
9262 (fchownat): Do not use CHECK_STRING.
9263 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9264 CHECK_STRING.
9265 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9266 <bp-checks.h>.
9267 (__lchown): Do not use CHECK_STRING.
9268 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9269 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9270 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9271 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9273 include <bp-checks.h>.
9274 (truncate64): Do not use CHECK_STRING.
9275 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9276 <bp-checks.h>.
9277 (__real_chown): Do not use CHECK_STRING.
9278 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9279 <bp-checks.h>.
9280 (__lchown): Do not use CHECK_STRING.
9281 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9282 <bp-checks.h>.
9283 (__chown): Do not use CHECK_STRING.
9284 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9285 <bp-checks.h>.
9286 (truncate64): Do not use CHECK_STRING.
9287 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9288 Likewise.
9289 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9290 (__xmknod): Do not use CHECK_STRING.
9291 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9292 <bp-checks.h>.
9293 (__xmknodat): Do not use CHECK_STRING.
9294 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9295 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9296
903ae060
AS
92972013-02-04 Andreas Schwab <schwab@suse.de>
9298
9299 [BZ #14142]
9300 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9301 * include/netdb.h: Likewise for h_errno.
9302 * elf/tst-stackguard1.c: Include <tls.h>.
9303
542f9466
JK
93042013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9305
9306 * elf/link.h (struct link_map): Extend the l_addr comment.
9307 * include/link.h (struct link_map): Likewise.
9308
e782a927
JM
93092013-02-01 Joseph Myers <joseph@codesourcery.com>
9310
9311 [BZ #13550]
9312 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9313 (BOUNDED_1): Remove macro.
9314 * debug/backtrace.c: Don't include <bp-checks.h>.
9315 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9316 (__backtrace): Likewise.
9317 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9318 <bp-checks.h>.
9319 (__backtrace): Don't use BOUNDED_1.
9320 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9321 <bp-checks.h>.
9322 (__backtrace): Don't use BOUNDED_1.
9323 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9324 (__backtrace): Don't use BOUNDED_1.
9325 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9326 (shmat): Don't use BOUNDED_N.
9327
8cf28c5e
JM
93282013-01-31 Joseph Myers <joseph@codesourcery.com>
9329
3a7ac8a0
JM
9330 [BZ #13550]
9331 * sysdeps/generic/bp-start.h: Remove file.
9332 * csu/libc-start.c: Don't include <bp-start.h>.
9333 (LIBC_START_MAIN): Set up __environ directly instead of using
9334 INIT_ARGV_and_ENVIRON.
9335 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9336 <bp-start.h>.
9337
f3499f95
JM
9338 [BZ #13550]
9339 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9340 definitions.
9341 (CHECK_FCNTL): Likewise.
9342 (CHECK_N_PAGES): Likewise.
9343
32a45bea
JM
9344 [BZ #13550]
9345 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9346 definitions.
9347 (CHECK_SIGSET_NULL_OK): Likewise.
9348 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9349 <bp-checks.h>.
9350 (sigpending): Don't use CHECK_SIGSET.
9351 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9352 <bp-checks.h>.
9353 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9354 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9355 <bp-checks.h>.
9356 (do_sigsuspend): Don't use CHECK_SIGSET.
9357 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9358 use CHECK_SIGSET.
9359 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9360 (do_sigwait): Don't use CHECK_SIGSET.
9361 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9362 use CHECK_SIGSET.
9363 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9364 include <bp-checks.h>.
9365 (sigpending): Don't use CHECK_SIGSET.
9366 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9367 include <bp-checks.h>.
9368 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9369 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9370 <bp-checks.h>.
9371 (sigpending): Don't use CHECK_SIGSET.
9372 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9373 <bp-checks.h>.
9374 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9375
2e8a5c8c
JM
9376 [BZ #13550]
9377 * sysdeps/generic/bp-semctl.h: Remove file.
9378 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9379 <bp-checks.h> and <bp-semctl.h>.
9380 (__old_semctl): Don't use CHECK_SEMCTL.
9381 (__new_semctl): Likewise.
9382 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9383 and <bp-semctl.h>.
9384 (__old_semctl): Don't use CHECK_SEMCTL.
9385 (__new_semctl): Likewise.
9386 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9387 <bp-checks.h> and <bp-semctl.h>.
9388 (__old_semctl): Don't use CHECK_SEMCTL.
9389 (__new_semctl): Likewise.
9390 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9391 <bp-checks.h> and <bp-semctl.h>.
9392 (semctl): Don't use CHECK_SEMCTL.
9393
c2d54929
JM
9394 [BZ #13550]
9395 * Makerules (elide-bp-thunks): Remove variable.
9396 (elide-routines.oS): Don't use $(elide-bp-thunks).
9397 (elide-routines.os): Likewise.
9398 (elide-routines.o): Likewise.
9399 (elide-routines.op): Likewise.
9400 (elide-routines.og): Likewise.
9401 (objects): Don't use $(bp-thunks).
9402 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9403 include.
9404 (common-generated): Do not add s-proto-bp.d.
9405 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9406 (int): Likewise.
9407 (typ): Likewise.
9408 Do not generate makefile rules for bounded-pointer thunks.
9409 * sysdeps/generic/bp-thunks.h: Remove file.
9410 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9411 * sysdeps/unix/s-proto-bp.S: Likewise.
9412
8cf28c5e
JM
9413 [BZ #15062]
9414 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9415 parts of result separately when argument is not close to line from
9416 -i to i and one part of argument is small.
9417 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9418 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9419 * math/libm-test.inc (cacos_test): Add more tests.
9420 (casin_test): Likewise.
9421 (casinh_test): Likewise.
9422 * sysdeps/i386/fpu/libm-test-ulps: Update.
9423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9424
c4e33b8d
DM
94252013-01-31 David S. Miller <davem@davemloft.net>
9426
9427 * po/de.po: Update from translation team.
9428
3b60b421
MK
94292013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9430
9431 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9432
bb931195
TS
94332013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9434
b5a5da23
TS
9435 * configure.in (_AC_PROG_CC_C89): New definition.
9436 * configure: Regenerate.
9437
bb931195
TS
9438 * configure.in (AC_PROG_CPP): New definition.
9439 * configure: Regenerate.
9440
8c53a12c
JM
94412013-01-23 Joseph Myers <joseph@codesourcery.com>
9442
9443 * debug/tst-backtrace.h: New file.
9444 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9445 (ret): Remove variable.
9446 (x): Likewise.
9447 (FAIL): Remove macro.
9448 (NO_INLINE): Likewise.
9449 (fn1): Use match function instead of strstr.
9450 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9451 (ret): Remove variable.
9452 (x): Likewise.
9453 (FAIL): Remove macro.
9454 (NO_INLINE): Likewise.
9455 (fn): Use match function instead of strstr.
9456 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9457 (ret): Remove variable.
9458 (x): Likewise.
9459 (FAIL): Remove macro.
9460 (NO_INLINE): Likewise.
9461 (handle_signal): Use match function instead of strstr.
9462 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9463 (ret): Remove variable.
9464 (x): Likewise.
9465 (FAIL): Remove macro.
9466 (NO_INLINE): Likewise.
9467 (handle_signal): Use match function instead of strstr.
9468
4858fa2a
RM
94692013-01-23 Roland McGrath <roland@hack.frob.com>
9470
9471 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9472
bae8e7f5
DM
94732013-01-23 David S. Miller <davem@davemloft.net>
9474
9475 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9476 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9477 argument of CAS if possible.
9478 * sysdeps/sparc/sparc64/bits/atomic.h
9479 (__arch_compare_and_exchange_val_32_acq): Likewise.
9480 (__arch_compare_and_exchange_val_64_acq): Likewise.
9481
9cbbc4ae
PT
94822013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9483
9484 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9485 * sysdeps/posix/ulimit.c: ... this.
92a601b8 9486 Include <limits.h>.
67b3f58c 9487 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 9488
5655a0b5
AC
94892013-01-23 Adam Conrad <adconrad@0c3.net>
9490
9491 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9492 (LDFLAGS-tst-array5): Likewise.
9493
052aff95
JM
94942013-01-23 Joseph Myers <joseph@codesourcery.com>
9495
9496 [BZ #15036]
9497 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9498 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9499 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9500 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9501
7c1e01aa
DM
95022013-01-21 David S. Miller <davem@davemloft.net>
9503
9504 * sysdeps/sparc/backtrace.c: New file.
9505 * sysdeps/sparc/sparc32/backtrace.h: New file.
9506 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9507 * sysdeps/sparc/sparc64/backtrace.h: New file.
9508 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9509 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9510 -funwind-tables.
9511
ab087e0a
AS
95122013-01-21 Andreas Schwab <schwab@suse.de>
9513
9514 [BZ #15020]
9515 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9516 closed its stdout.
9517
ed689c2f
AS
95182013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9519
9520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9521 "mpa2.h".
9522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9523
31d470ac
JM
95242013-01-18 Joseph Myers <joseph@codesourcery.com>
9525 Mark Mitchell <mark@codesourcery.com>
9526 Tom de Vries <tom@codesourcery.com>
9527 Paul Pluzhnikov <ppluzhnikov@google.com>
9528
9529 * debug/tst-backtrace2.c: New file.
9530 * debug/tst-backtrace3.c: Likewise.
9531 * debug/tst-backtrace4.c: Likewise.
9532 * debug/tst-backtrace5.c: Likewise.
9533 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9534 (CFLAGS-tst-backtrace3.c): Likewise.
9535 (CFLAGS-tst-backtrace4.c): Likewise.
9536 (CFLAGS-tst-backtrace5.c): Likewise.
9537 (LDFLAGS-tst-backtrace2): Likewise.
9538 (LDFLAGS-tst-backtrace3): Likewise.
9539 (LDFLAGS-tst-backtrace4): Likewise.
9540 (LDFLAGS-tst-backtrace5): Likewise.
9541 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9542 tst-backtrace4 and tst-backtrace5.
9543
90567f30 95442013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9545 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9546
9547 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9548 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9549 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9550 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9552 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9553 "+r" and remove output regs list as redundant. Add explicit inline
9554 asm to specify register of return val to work around compiler codegen
9555 bug. Remove (int) cast on return value. Add return type parameter to
9556 use in macro so that this macro does not truncate return value for
9557 64-bit values.
9558 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9559 pass to INTERNAL_VSYSCALL_NCS.
9560 (INLINE_VSYSCALL): Add 'long int' as return type to
9561 INTERNAL_VSYSCALL_NCS macro invocation.
9562 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9563 INTERNAL_VSYSCALL_NCS macro invocation.
9564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9565
d3b9ea61
SP
95662013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9567
0b57daeb
SP
9568 [BZ #14496]
9569 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9570 Fix application of SIMD FP exception mask.
9571
caa99d06
SP
9572 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9573 mp_no from a power of two.
9574 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9575 __mpexp_twomm1. Use __pow_mp.
9576
d3b9ea61
SP
9577 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9578 multiplication.
9579
1dbaee3c
DM
95802013-01-17 David S. Miller <davem@davemloft.net>
9581
9582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9583
728d7b43
JM
95842013-01-17 Joseph Myers <joseph@codesourcery.com>
9585
9586 [BZ #15023]
9587 * include/complex.h: Condition contents on [!_COMPLEX_H].
9588 (__kernel_casinhf): New prototype.
9589 (__kernel_casinh): Likewise.
9590 (__kernel_casinhl): Likewise.
9591 * math/Makefile (libm_calls): Add k_casinh.
9592 * math/k_casinh.c: New file.
9593 * math/k_casinhf.c: Likewise.
9594 * math/k_casinhl.c: Likewise.
9595 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9596 finite nonzero arguments.
9597 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9598 finite nonzero arguments.
9599 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9600 finite nonzero arguments.
9601 * math/s_casinh.c: Do not include <float.h>.
9602 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9603 * math/s_casinhf.c: Do not include <float.h>.
9604 (__casinhf): Move code for finite nonzero arguments to
9605 k_casinhf.c.
9606 * math/s_casinhl.c: Do not include <float.h>.
9607 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9608 redefine.
9609 (__casinhl): Move code for finite nonzero arguments to
9610 k_casinhl.c.
9611 * math/libm-test.inc (cacos_test): Add more tests.
9612 * sysdeps/i386/fpu/libm-test-ulps: Update.
9613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9614
2a26ef3a
PT
96152013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9616
9617 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9618 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9619 [!HAVE_MREMAP]: Remove [defined linux] case.
9620 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9621
a897655d
SP
96222013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9623
9624 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9625
881ebe89 96262013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9627
9628 * elf/elf.h (R_386_SIZE32): New relocation.
9629 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9630 R_386_SIZE32.
9631 (elf_machine_rela): Likewise.
9632 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9633 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9634
59981e9b
JM
96352013-01-17 Joseph Myers <joseph@codesourcery.com>
9636
9637 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9638 (FP_FAST_FMA): Do not define.
9639 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9640 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9641 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9642 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9643 !_SOFT_FLOAT]: Likewise.
9644 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9645 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9646 value.
9647 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9648 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9649 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9650 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9651 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9652 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9653 file.
9654
cfa8054f
AS
96552013-01-16 Andreas Schwab <schwab@suse.de>
9656
9657 [BZ #14327]
9658 * include/stdlib.h (__mktemp): Add declaration.
9659 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9660 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9661
dd930cc5
SP
96622013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9663
881ebe89
SP
9664 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9665 definitions.
9666 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9667 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9668 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9669 definitions here.
9670 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9671 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9672 definitions.
9673 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9674 and ONE.
9675 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9676 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9677 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9678 definitions.
9679 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9680 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9681 definitions.
9682 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9683
dd930cc5
SP
9684 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9685
c19a9f89
DM
96862013-01-15 David S. Miller <davem@davemloft.net>
9687
1aa61767
DM
9688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9689 trunc{,f} to libm-sysdep_routes.
9690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9692 file.
9693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9695 file.
9696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9697 file.
9698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9700 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9701 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9702 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9703 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9704 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9705 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9706
c42d5e98
DM
9707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9708 nearbyint{,f} to libm-sysdep_routes.
9709 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9711 New file.
9712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9713 file.
9714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9715 New file.
9716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9717 file.
9718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9720 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9721 file.
9722 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9723 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9724 file.
9725 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9726 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9727 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9728
c19a9f89
DM
9729 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9730 libc_feholdexcept and libc_fesetenv.
9731
357679d2
MF
97322013-01-15 Mike Frysinger <vapier@gentoo.org>
9733
9734 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9735
65a82e3d
DM
97362013-01-14 David S. Miller <davem@davemloft.net>
9737
8b954ab9
DM
9738 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9739 (SPARC_ASM_VIS2_IFUNC): Likewise.
9740 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9742 use of 'siam' instruction.
9743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9744 Likewise.
9745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9746 Likewise.
9747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9748 Likewise.
9749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9754 file.
9755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9756 file.
9757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9758 file.
9759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9760 file.
9761 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9762 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9766 new VIS2 routines.
9767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9770 Likewise.
9771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9776 routines to libm-sysdep_routines.
9777 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9778
65a82e3d
DM
9779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9780 fdim/fdimf to libm-sysdep_routines.
9781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9782 file.
9783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9785 file.
9786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9789 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9790 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9791 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9792 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9793
e34ab705
SP
97942013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9795
2a91b573
SP
9796 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9797 to optimize copies.
9798
1066a534
SP
9799 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9802
e34ab705
SP
9803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9804 local variable MPTWO.
9805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9806 Likewise.
9807
aba5e596
MF
98082013-01-13 Mike Frysinger <vapier@gentoo.org>
9809
9810 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9811 GLOB_NOESCAPE.
9812
e557e9e5
MF
98132013-01-13 Mike Frysinger <vapier@gentoo.org>
9814
9815 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9816
0428cec9
MF
98172013-01-13 Mike Frysinger <vapier@gentoo.org>
9818
9819 * manual/pattern.texi (glob_t): Document gl_flags.
9820 (glob64_t): Likewise.
9821
8794a964
DM
98222013-01-11 David S. Miller <davem@davemloft.net>
9823
66438c3f
RM
9824 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9825 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9826 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9827 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9828 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9829 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9830 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9831 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9832 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9833 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9834 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9835 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9836 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9837
4ae4244d
DM
9838 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9839 sparc V9 rather than using V8 code.
9840 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9841 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9842
8794a964
DM
9843 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9844 Move to...
9845 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9846 Here.
9847
6270516e
RM
98482013-01-11 Roland McGrath <roland@hack.frob.com>
9849
9850 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9851 not in the main loop.
9852 * configure: Regenerated.
9853
6a57d931
JM
98542013-01-11 Joseph Myers <joseph@codesourcery.com>
9855
9856 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9857 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9858 to just #else.
9859 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9860 [!__GLIBC_HAVE_LONG_LONG] case.
9861 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9862 condition to just #else.
9863 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9864 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9865 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9866 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9867 unconditional.
9868 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9869 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9870 #elif condition to just #else.
9871 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9872 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9873 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9874 #elif condition to just #else.
9875
0e8529e9
SE
98762013-01-11 Steve Ellcey <sellcey@mips.com>
9877
9878 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9879 (EF_MIPS_ARCH_64): Fix value.
9880 (EF_MIPS_ARCH_32R2): New.
9881 (EF_MIPS_ARCH_64R2): New.
9882
740b3dbe
L
98832013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9884
9885 * Makeconfig (+link-pie-before-libc): New.
9886 (+link-pie-after-libc): Likewise.
9887 (+link-pie-tests): Likewise.
9888 (+link-pie): Rewritten.
9889 (link-before-libc): Remove $(config-LDFLAGS).
9890 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9891 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9892 (config-LDFLAGS): Renamed to ...
9893 (rtld-LDFLAGS): This.
9894 (rtld-tests-LDFLAGS): New macro.
9895 (link-libc-rpath-link): Likewise.
9896 (link-libc-tests-rpath-link): Likewise.
9897 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9898 (link-libc): Prepand $(link-libc-rpath-link).
9899 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9900 (test-program-prefix): New macro.
9901 (test-via-rtld-prefix): Likewise.
9902 (test-program-cmd): Likewise.
9903 (host-test-program-cmd): Likewise.
9904 * Makefile ($(common-objpfx)testrun.sh): Replace
9905 $(run-program-prefix) with $(test-program-prefix).
9906 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9907 $(rtld-LDFLAGS).
9908 ($(common-objpfx)shlib.lds): Likewise.
9909 (build-module-helper): Likewise.
9910 ($(common-objpfx)format.lds): Likewise.
9911 * Rules (binaries-pie-tests): New.
9912 (binaries-pie-notests): Likewise.
9913 (binaries-pie): Rewritten.
9914 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9915 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9916 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9917 (make-test-out): Replace $(host-built-program-cmd) with
9918 $(host-test-program-cmd).
9919 * config.make.in (build-hardcoded-path-in-tests): New variable.
9920 * configure.in (--enable-hardcoded-path-in-tests): New configure
9921 option.
9922 (hardcoded_path_in_tests): New AC_SUBST.
9923 * configure: Regenerated.
9924 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9925 $(built-program-cmd) with $(test-program-cmd).
9926 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9927 (test_program_cmd): This.
9928 * elf/Makefile ($(objpfx)order.out): Run test with
9929 $(test-program-prefix).
9930 ($(objpfx)order2.out): Likewise.
9931 ($(objpfx)tst-initorder.out): Likewise.
9932 ($(objpfx)tst-initorder2.out): Likewise.
9933 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9934 $(test-program-cmd).
9935 ($(objpfx)tst-array1-static.out): Likewise.
9936 ($(objpfx)tst-array2.out): Likewise.
9937 ($(objpfx)tst-array3.out): Likewise.
9938 ($(objpfx)tst-array4.out): Likewise.
9939 ($(objpfx)tst-array5.out): Likewise.
9940 ($(objpfx)tst-array5-static.out): Likewise.
9941 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9942 $(test-program-cmd).
9943 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9944 $(run-program-prefix) with $(test-program-prefix).
9945 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9946 (test_program_prefix): This.
9947 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9948 $(run-program-prefix) with $(test-program-prefix).
9949 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9950 (test_program_prefix): This.
9951 * iconvdata/tst-tables.sh: Likewise.
9952 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9953 $(run-program-prefix) with $(test-program-prefix).
9954 ($(objpfx)tst-translit.out): Likewise.
9955 ($(objpfx)tst-gettext2.out): Likewise.
9956 ($(objpfx)tst-gettext4.out): Likewise.
9957 ($(objpfx)tst-gettext6.out): Likewise.
9958 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9959 (test_program_prefix): This.
9960 * intl/tst-gettext2.sh: Likewise.
9961 * intl/tst-gettext4.sh Likewise.
9962 * intl/tst-gettext6.sh: Likewise.
9963 * intl/tst-translit.sh: Likewise.
9964 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9965 with $(test-program-cmd).
9966 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9967 $(run-program-prefix) with $(test-program-prefix).
9968 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9969 (test_program_prefix): This.
9970 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9971 $(run-program-prefix) with $(test-program-prefix).
9972 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9973 (test_program_prefix): This.
9974 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9975 * posix/Makefile ($(objpfx)globtest.out): Replace
9976 $(run-via-rtld-prefix) and $(test-wrapper) with
9977 $(test-program-prefix) and $(test-via-rtld-prefix).
9978 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9979 $(test-program-prefix).
9980 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9981 $(host-test-program-cmd).
9982 (tst-spawn-ARGS): Likewise.
9983 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9984 $(test-program-prefix).
9985 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9986 (test_via_rtld_prefix): This.
9987 (test_wrapper): Renamed to ...
9988 (test_program_prefix): This.
9989 (run_program_prefix): Replaced by test_program_prefix.
9990 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9991 (test_program_prefix): This.
9992 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9993 with $(host-test-program-cmd).
9994 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9995 $(run-program-prefix) with $(test-program-prefix).
9996 ($(objpfx)tst-printf.out): Likewise.
9997 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9998 $(test-program-cmd).
9999 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10000 (test_program_prefix): This.
10001 * stdio-common/tst-unbputc.sh: Likewise.
10002 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10003 $(run-program-prefix) with $(test-program-prefix).
10004 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10005 (test_program_prefix): This.
10006 * string/Makefile ($(objpfx)tst-svc.out): Replace
10007 $(built-program-cmd) with $(test-program-cmd).
10008
c6fe55cf
AJ
100092013-01-11 Andreas Jaeger <aj@suse.de>
10010
10011 [BZ #15003]
10012 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10013 value. Sync with Linux 3.7.
10014
9e6919c8
DM
100152013-01-10 David S. Miller <davem@davemloft.net>
10016
10017 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10018 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10019 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10020
1c9f1a02
RM
100212013-01-10 Roland McGrath <roland@hack.frob.com>
10022
10023 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10024 never set.
10025 * configure: Regenerated.
10026
b9de2dde
DM
100272013-01-10 David S. Miller <davem@davemloft.net>
10028
10029 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10030 sparc V9 rather than using V8 code.
10031 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10032 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10033
e7f68ef4
RM
100342013-01-10 Roland McGrath <roland@hack.frob.com>
10035
10036 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10037 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10038 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10039 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10040 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10041 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10042 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10043 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10044 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10045 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10046 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10047 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10048 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10049 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10050 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10051 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10052 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10053 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10054 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10055 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10056 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10057 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10058 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10059 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10060 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10061 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10062 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10063
5a47cc9c
DM
100642013-01-10 David S. Miller <davem@davemloft.net>
10065
10066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10067
4cf8f209
L
100682013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10069
10070 * posix/Makefile (tests-static): New variable.
10071 (tests): Add $(tests-static).
10072 (tst-exec-static-ARGS): New variable.
10073 (tst-spawn-static-ARGS): Likewise.
10074 * posix/tst-exec-static.c: New file.
10075 * posix/tst-spawn-static.c: Likewise.
10076 * posix/tst-exec.c: Support run directly.
10077 * posix/tst-spawn.c: Likewise.
10078
fed0faa1
JM
100792013-01-10 Joseph Myers <joseph@codesourcery.com>
10080
828beb13
JM
10081 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10082 long.
10083 * math/bits/mathcalls.h (llrint): Likewise.
10084 (llround): Likewise.
10085 * stdlib/stdlib.h (struct drand48_data): Likewise.
10086 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10087 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10088 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10089 Likewise.
10090 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10091 Likewise.
10092 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10093 (elf_greg_t): Likewise.
10094 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10095 (__jmp_buf): Likewise.
10096 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10097 definitions.
10098 (llrint): Likewise, for all definitions.
10099 (llrintl): Likewise.
10100
fed0faa1
JM
10101 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10102 Remove [__GNUC__] condition.
10103 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10104 condition to just [__USE_ISOC99].
10105 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10106
1a20cb20
L
101072013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10108
10109 [BZ #14200]
10110 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10111 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10112 defined.
10113 (_POSIX_V6_ILP32_OFF32): Likewise.
10114 (_XBS5_ILP32_OFF32): Likewise.
10115 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10116 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10117
751b85f7
SP
101182013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10119
7490eb81
SP
10120 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10121
751b85f7
SP
10122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10123 doubles __mpexp_twomm1. Adjust usage.
10124 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10125 Remove.
10126
988197f0
AS
101272013-01-10 Andreas Schwab <schwab@suse.de>
10128
10129 [BZ #14964]
10130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10131 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10132
e83d7298
DM
101332013-01-09 David S. Miller <davem@davemloft.net>
10134
034ed64b 10135 [BZ #15003]
e83d7298
DM
10136 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10137 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10138 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10139 TCP_FASTOPEN): Define.
10140 (tcp_repair_opt): New structure.
10141 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10142 enum values.
10143 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10144 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10145 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10146 (tcp_cookie_transactions): New structure.
10147
d5e0b9bd
AB
101482013-01-09 Anton Blanchard <anton@samba.org>
10149
10150 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10151 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10152 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10153 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10154
0c07e3ea
JM
101552013-01-09 Joseph Myers <joseph@codesourcery.com>
10156
10157 * include/features.h (__USE_ANSI): Remove.
10158
232f7002
RM
101592013-01-09 Roland McGrath <roland@hack.frob.com>
10160
ad98e30c
RM
10161 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10162
232f7002
RM
10163 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10164
950c99ca
SP
101652013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10166
b5792741
SP
10167 * sysdeps/s390/fpu/libm-test-ulps: Update.
10168
47cf2278
SP
10169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10170
950c99ca
SP
10171 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10172 (__acr): Likewise.
10173 (__cpy): Likewise.
10174 (norm): Likewise.
10175 (denorm): Likewise.
10176 (__mp_dbl): Likewise.
10177 (__dbl_mp): Likewise.
10178 (add_magnitudes): Likewise.
10179 (sub_magnitudes): Likewise.
10180 (__add): Likewise.
10181 (__sub): Likewise.
10182 (__mul): Likewise.
10183 (__inv): Likewise.
10184 (__dvd): Likewise.
10185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10186 (__acr): Likewise.
10187 (__cpy): Likewise.
10188 (norm): Likewise.
10189 (denorm): Likewise.
10190 (__mp_dbl): Likewise.
10191 (__dbl_mp): Likewise.
10192 (add_magnitudes): Likewise.
10193 (sub_magnitudes): Likewise.
10194 (__add): Likewise.
10195 (__sub): Likewise.
10196 (__mul): Likewise.
10197 (__inv): Likewise.
10198 (__dvd): Likewise.
10199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10200 (__acr): Likewise.
10201 (__cpy): Likewise.
10202 (norm): Likewise.
10203 (denorm): Likewise.
10204 (__mp_dbl): Likewise.
10205 (__dbl_mp): Likewise.
10206 (add_magnitudes): Likewise.
10207 (sub_magnitudes): Likewise.
10208 (__add): Likewise.
10209 (__sub): Likewise.
10210 (__mul): Likewise.
10211 (__inv): Likewise.
10212 (__dvd): Likewise.
10213
eede9df9
JM
102142013-01-08 Joseph Myers <joseph@codesourcery.com>
10215
10216 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10217 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10218 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10219 2 && __USE_EXTERN_INLINES]: Likewise.
10220
c40ea3d9
AJ
102212013-01-08 Andreas Jaeger <aj@suse.de>
10222
10223 [BZ# 14985]
10224 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10225 Remove.
10226 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10227 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10228
2ccdea26
AB
102292013-01-07 Anton Blanchard <anton@samba.org>
10230
10231 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10232 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10233 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10234 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10235 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10236 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10237 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10238 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10240 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10241 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10242 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10243 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10244 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10245 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10246 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10247 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10248 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10249 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10250 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10251 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10252 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10253 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10254 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10255 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10256 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10257 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10258 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10259 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10260 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10261 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10263 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10264 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10265 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10266 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10267 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10268 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10269 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10270 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10271 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10272 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10273 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10274
a9708fed
JM
102752013-01-07 Joseph Myers <joseph@codesourcery.com>
10276
375607b9
JM
10277 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10278 (__MALLOC_PMT): Likewise.
10279 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10280 [__GNUC__], only on [_LIBC].
10281 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10282 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10283 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10284 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10285 forward declaration.
10286 (realloc_hook_ini): Likewise.
10287 (memalign_hook_ini): Likewise.
10288 (__libc_memalign): Do not use __MALLOC_PMT in variable
10289 declaration.
10290 (__libc_valloc): Likewise.
10291 (__libc_pvalloc): Likewise.
10292 (__libc_calloc): Likewise.
10293 (__posix_memalign): Likewise.
10294
a9708fed
JM
10295 [BZ #14996]
10296 * math/s_casinh.c: Include <float.h>.
10297 (__casinh): Do not do computation with squaring and square root
10298 for large arguments.
10299 * math/s_casinhf.c: Include <float.h>.
10300 (__casinhf): Do not do computation with squaring and square root
10301 for large arguments.
10302 * math/s_casinhl.c: Include <float.h>.
10303 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10304 (__casinhl): Do not do computation with squaring and square root
10305 for large arguments.
10306 * math/libm-test.inc (casin_test): Add more tests.
10307 (casinh_test): Likewise.
10308 * sysdeps/i386/fpu/libm-test-ulps: Update.
10309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10310
afec409a
L
103112013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10312
10313 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10314 (__x86_64_raw_data_cache_size): Likewise.
10315 (__x86_64_data_cache_size_half): Likewise.
10316 (__x86_64_raw_data_cache_size_half): Likewise.
10317 (__x86_64_shared_cache_size): Likewise.
10318 (__x86_64_raw_shared_cache_size): Likewise.
10319 (__x86_64_shared_cache_size_half): Likewise.
10320 (__x86_64_raw_shared_cache_size_half): Likewise.
10321 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10322 to ...
10323 (__x86_data_cache_size): This.
10324 (__x86_64_raw_data_cache_size): Renamed to ...
10325 (__x86_raw_data_cache_size): This.
10326 (__x86_64_data_cache_size_half): Renamed to ...
10327 (__x86_data_cache_size_half): This.
10328 (__x86_64_raw_data_cache_size_half): Renamed to ...
10329 (__x86_raw_data_cache_size_half): This.
10330 (__x86_64_shared_cache_size): Renamed to ...
10331 (__x86_shared_cache_size): This.
10332 (__x86_64_raw_shared_cache_size): Renamed to ...
10333 (__x86_raw_shared_cache_size): This.
10334 (__x86_64_shared_cache_size_half): Renamed to ...
10335 (__x86_shared_cache_size_half): This.
10336 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10337 (__x86_raw_shared_cache_size_half): This.
10338 * sysdeps/x86_64/memcpy.S: Updated.
10339 * sysdeps/x86_64/memset.S: Likewise.
10340 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10341 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10342 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10343
0b3986d0
DM
103442013-01-04 David S. Miller <davem@davemloft.net>
10345
10346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10347
e47686e9
AS
103482013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10349
d643bac1
AS
10350 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10351 1 to avoid redefinition warning.
10352 (__USE_GNU): Don't define.
10353 (init_signaling_nan): Protoize.
10354
e47686e9
AS
10355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10356
b18decba
SP
103572013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10358
fffb407f
SP
10359 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10361 (__cpymn): Likewise.
10362 (norm): Remove commented code.
10363 (denorm): Likewise.
10364 (__mp_dbl): Likewise.
10365 (__inv): Likewise.
10366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10367 (__cpymn): Likewise.
10368 (norm): Remove commented code.
10369 (denorm): Likewise.
10370 (__mp_dbl): Likewise.
10371 (__inv): Likewise.
10372
b18decba
SP
10373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10374 mp_no value for 1.0 and 2.0.
10375 (norm): Use RADIXI instead of radixi.d.
10376 (denorm): Likewise.
10377 (__mul): Use 0.0 instead of zero.d.
10378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10379 mp_no value for 1.0 and 2.0.
10380 (norm): Use RADIXI instead of radixi.d.
10381 (denorm): Likewise.
10382 (__mul): Use 0.0 instead of zero.d.
10383
cdc1c96f
JM
103842013-01-04 Joseph Myers <joseph@codesourcery.com>
10385
10386 [BZ #14994]
10387 * math/s_casinh.c (__casinh): Reduce finite argument to first
10388 quadrant then set signs of results at the end.
10389 * math/s_casinhf.c (__casinhf): Likewise.
10390 * math/s_casinhl.c (__casinhl): Likewise.
10391 * math/libm-test.inc (casin_test): Add more tests.
10392 (casinh_test): Likewise.
10393 * sysdeps/i386/fpu/libm-test-ulps: Update.
10394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10395
302913e1
SP
103962013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10397
6420d207
SP
10398 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10399
a9e48ab4
SP
10400 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10401
b7837264
SP
10402 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10403 declarations.
10404 (denorm): Likewise.
10405 (__mp_dbl): Likewise.
10406 (__inv): Likewise.
10407
f8af25d2
SP
10408 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10409 and adjust the header comment.
10410
302913e1
SP
10411 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10412 variable name from declaration.
10413
5d7dd1ca
L
104142013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10415
10416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10417 Initialize COMMON_CPUID_INDEX_7 element.
10418 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10419 (CPUID_RTM): Likewise.
10420 (HAS_RTM): Likewise.
10421 (COMMON_CPUID_INDEX_7): New enum.
10422
2f5f40f4
AS
104232013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10424
10425 [BZ #14981]
10426 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10427 size is zero, record memory as freed.
10428
4056f4a0
AJ
104292013-01-03 Andreas Jaeger <aj@suse.de>
10430
10431 * po/ia.po: Add new Interlingua translation.
10432
ab15736f 104332012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
10434
10435 * locale/programs/localedef.c: Fix description of '--posix' flag.
10436
568035b7
JM
104372013-01-02 Joseph Myers <joseph@codesourcery.com>
10438
e6898b8d
JM
10439 * NEWS: Update dates in second copyright notice.
10440 * README: Update copyright dates in example.
10441 * manual/libc.texinfo: Update copyright dates.
10442 * scripts/test-installation.pl: Update copyright date in --version
10443 output.
10444
0e2f9562
JM
10445 * hurd/ctty-input.c: Fix copyright notice formatting.
10446 * hurd/ctty-output.c: Likewise.
10447 * hurd/dtable.c: Likewise.
10448 * hurd/hurd-raise.c: Likewise.
10449 * hurd/hurdprio.c: Likewise.
10450 * hurd/msgportdemux.c: Likewise.
10451 * misc/sys/file.h: Likewise.
10452 * misc/sys/ioctl.h: Likewise.
10453 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10454 * sysdeps/mach/hurd/chdir.c: Likewise.
10455 * sysdeps/mach/hurd/fchdir.c: Likewise.
10456 * sysdeps/mach/hurd/rename.c: Likewise.
10457 * sysdeps/mach/hurd/rmdir.c: Likewise.
10458 * sysdeps/mach/hurd/seekdir.c: Likewise.
10459 * sysdeps/mach/hurd/setsid.c: Likewise.
10460 * sysdeps/posix/wait3.c: Likewise.
10461
568035b7
JM
10462 * All files with FSF copyright notices: Update copyright dates
10463 using scripts/update-copyrights.
10464 * intl/plural.c: Regenerated.
10465 * locale/programs/charmap-kw.h: Likewise.
10466 * locale/programs/locfile-kw.h: Likewise.
10467
da08f647
SP
104682013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10469
0f5477af
SP
10470 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10471 four values.
10472
44e0d4c2
SP
10473 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10474 calculation loop and add branch prediction.
10475
4d55b4e5
SP
10476 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10477 check access beyond bounds of m1np.
10478
da08f647
SP
10479 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10480 MPTWO.
10481 (__inv): Remove local variable MPTWO to use the global
10482 constant.
10483 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10484 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10485 variable MPTWO.
10486 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10487 MP3HALFS static const.
10488
8e051029
DM
104892013-01-01 David S. Miller <davem@davemloft.net>
10490
10491 * po/ca.po: Update from translation team.
10492
f4cf5f2d
JM
104932013-01-01 Joseph Myers <joseph@codesourcery.com>
10494
10495 * scripts/update-copyrights: New file.
10496 * Makeconfig: Reformat copyright notice.
10497 * ctype/ctype.h: Likewise.
10498 * debug/swprintf_chk.c: Likewise.
10499 * elf/dl-cache.c: Likewise.
10500 * elf/dl-debug.c: Likewise.
10501 * elf/dl-object.c: Likewise.
10502 * grp/initgroups.c: Likewise.
10503 * hurd/Makefile: Likewise.
10504 * hurd/hurd/signal.h: Likewise.
10505 * hurd/hurdfault.c: Likewise.
10506 * hurd/hurdioctl.c: Likewise.
10507 * hurd/hurdlookup.c: Likewise.
10508 * hurd/intr-msg.c: Likewise.
10509 * iconv/gconv_open.c: Likewise.
10510 * libio/swprintf.c: Likewise.
10511 * locale/lc-ctype.c: Likewise.
10512 * locale/nl_langinfo.c: Likewise.
10513 * mach/Machrules: Likewise.
10514 * mach/Makefile: Likewise.
10515 * malloc/obstack.h: Likewise.
10516 * manual/Makefile: Likewise.
10517 * manual/tsort.awk: Likewise.
10518 * misc/bits/stab.def: Likewise.
10519 * nis/nis_print_group_entry.c: Likewise.
10520 * nis/nis_table.c: Likewise.
10521 * nis/nss_compat/compat-pwd.c: Likewise.
10522 * nis/nss_compat/compat-spwd.c: Likewise.
10523 * po/Makefile: Likewise.
10524 * posix/fnmatch.c: Likewise.
10525 * posix/regex.h: Likewise.
10526 * resolv/Makefile: Likewise.
10527 * resolv/nss_dns/dns-network.c: Likewise.
10528 * resolv/res_hconf.c: Likewise.
10529 * scripts/gen-sorted.awk: Likewise.
10530 * soft-fp/soft-fp.h: Likewise.
10531 * stdio-common/printf.h: Likewise.
10532 * stdlib/monetary.h: Likewise.
10533 * stdlib/random.c: Likewise.
10534 * stdlib/random_r.c: Likewise.
10535 * sysdeps/generic/Makefile: Likewise.
10536 * sysdeps/gnu/Makefile: Likewise.
10537 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10539 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10540 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10541 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10545 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10546 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10547 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10548 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10549 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10550 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10551 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10552 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10553 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10554 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10555 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10557 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10558 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10559 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10560 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10561 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10562 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10563 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10564 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10565 * sysdeps/mach/hurd/errnos.awk: Likewise.
10566 * sysdeps/mach/hurd/fork.c: Likewise.
10567 * sysdeps/mach/hurd/getcwd.c: Likewise.
10568 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10569 * sysdeps/mach/hurd/mmap.c: Likewise.
10570 * sysdeps/mach/hurd/utimes.c: Likewise.
10571 * sysdeps/mach/hurd/xmknod.c: Likewise.
10572 * sysdeps/posix/profil.c: Likewise.
10573 * sysdeps/posix/readdir_r.c: Likewise.
10574 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10575 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10576 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10577 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10579 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10580 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10581 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10583 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10584 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10585 * sysdeps/pthread/lio_listio.c: Likewise.
10586 * sysdeps/sparc/dl-procinfo.h: Likewise.
10587 * sysdeps/unix/i386/sysdep.S: Likewise.
10588 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10589 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10590 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10591 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10593 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10594 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10595 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10596 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10597 * sysdeps/wordsize-32/divdi3.c: Likewise.
10598 * time/sys/time.h: Likewise.
10599 * wcsmbs/Makefile: Likewise.
10600
0549fbba
DM
106012013-01-01 David S. Miller <davem@davemloft.net>
10602
a141f1a7
DM
10603 * po/fr.po: Update from translation team.
10604
0549fbba
DM
10605 * catgets/gencat.c: Update copyright year.
10606 * csu/version.c: Likewise.
10607 * debug/catchsegv.sh: Likewise.
10608 * debug/pcprofiledump.c: Likewise.
10609 * debug/xtrace.sh: Likewise.
10610 * elf/ldconfig.c: Likewise.
10611 * elf/ldd.bash.in: Likewise.
10612 * elf/pldd.c: Likewise.
10613 * elf/sotruss.ksh: Likewise.
10614 * elf/sprof.c: Likewise.
10615 * iconv/iconv_prog.c: Likewise.
10616 * iconv/iconvconfig.c: Likewise.
10617 * locale/programs/locale.c: Likewise.
10618 * locale/programs/localedef.c: Likewise.
10619 * login/programs/pt_chown.c: Likewise.
10620 * malloc/memusage.sh: Likewise.
10621 * malloc/memusagestat.c: Likewise.
10622 * malloc/mtrace.pl: Likewise.
10623 * nscd/nscd.c: Likewise.
10624 * nss/getent.c: Likewise.
10625 * nss/makedb.c: Likewise.
10626 * posix/getconf.c: Likewise.
10627
18ea052c
SP
106282012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10629
10630 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10631 numbers.
10632
9c89fca6
MF
106332012-12-30 Mike Frysinger <vapier@gentoo.org>
10634
10635 * math/bits/mathcalls.h (modf): Use __nonnull.
10636
085ec079
SP
106372012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10638
10639 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10640 (split): Use macro CN instead of the bare value.
10641 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10642 could be used.
10643 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10644 instead of the bare value.
10645 (power1): Likewise.
10646
6d9f97e1
SP
106472012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10648
d63f73be
SP
10649 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10650 __ATAN_TWOM.
10651 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10652
6d9f97e1
SP
10653 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10654 their values.
10655 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10656 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10657 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10658 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10659
4c4febf5
AJ
106602012-12-28 Andreas Jaeger <aj@suse.de>
10661
af5843ef
AJ
10662 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10663 values are from Linux 3.7.
10664
4c4febf5
AJ
10665 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10666 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10667
99136f82
SP
106682012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10669
2f216c3c 10670 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10671 TRUE case.
10672
99136f82
SP
10673 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10674 (norm): Likewise.
10675 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10676 variables with preprocessor constants.
10677 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10678 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10679 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10680
7fffbdff
BH
106812012-12-27 Bruno Haible <bruno@clisp.org>
10682
10683 [BZ #14317]
10684 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10685 only if needed.
10686
b76eb5f0
SP
106872012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10688
31a7fe5c
SP
10689 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10690 and use variable directly.
10691 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10692
b76eb5f0
SP
10693 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10694 MPONE.
10695 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10696 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10697 variable MPONE.
10698 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10699 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10700 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10701 include directive. Remove local variable MPONE.
10702 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10703 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10704 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10705
2c8bfe7d
DM
107062012-12-25 David S. Miller <davem@davemloft.net>
10707
10708 * version.h (RELEASE): Set to "development".
10709 (VERSION): Set to "2.17.90".
10710 * NEWS: Add 2.18 section.
10711
147d03b0
DM
107122012-12-21 David S. Miller <davem@davemloft.net>
10713
10714 * po/hr.po: Update from translation team.
10715
a8ebb2b9
AK
107162012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10717
10718 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10719
95b4f1b6
SE
107202012-12-19 Steve Ellcey <sellcey@mips.com>
10721
b2d94007 10722 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10723
cedb2a90
MS
107242012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10725
10726 * manual/contrib.texi (Contributors): Spelling correction.
10727
bbf527d6
DM
107282012-12-15 David S. Miller <davem@davemloft.net>
10729
10730 * po/ru.po: Update from translation team.
10731
bc38c906
DM
107322012-12-13 David S. Miller <davem@davemloft.net>
10733
85429b1a
DM
10734 * NEWS: Mention IFUNC testsuite enhancements.
10735
d283e353
DM
10736 * po/pl.po: Update from translation team.
10737 * po/bg.po: Likewise.
10738
bc38c906
DM
10739 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10740 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10741
a181b0d7
DM
107422012-12-11 David S. Miller <davem@davemloft.net>
10743
4641d57e
DM
10744 * po/sv.po: Update from translation team.
10745
f7bc6495
DM
10746 * po/vi.po: Update from translation team.
10747
6fc9048f
DM
10748 * po/cs.po: Update from translation team.
10749
a181b0d7
DM
10750 * po/de.po: Update from translation team.
10751 * po/eo.po: Likewise.
10752 * po/nl.po: Likewise.
10753
f70bfe80
SP
107542012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10755
3c8b4190
SP
10756 [BZ #14246]
10757 * manual/argp.texi (Argp Helper Functions): Move node to follow
10758 Argp Parsing State.
10759
f70bfe80
SP
10760 [BZ #14872]
10761 * manual/conf.texi (Limits on File System Capacity): Mention if
10762 terminating null is included in the max size.
10763
188f0adf
AJ
107642012-12-10 Andreas Jaeger <aj@suse.de>
10765
10766 * po/cs.po: Update from translation team.
10767
56e7d3ad
SP
107682012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10769
10770 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10771 void pointer and cast to uintptr_t.
10772 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10773 path.
10774 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10775 * sysdeps/s390/s390-64/memset.S: Likewise.
10776
76f2d2ea 107772012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10778
10779 [BZ #14833]
10780 * menual/message.texi (Message Translation): Fix typos.
10781 (Helper programs for gettext): Likewise.
10782
67cbf9a2
AS
107832012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10784
10785 [BZ #14898]
10786 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10787 Change to -1.
10788
682d0e9a
DM
107892012-12-07 David S. Miller <davem@davemloft.net>
10790
10791 * po/libc.pot: Update.
10792
573cd484
RH
107932012-12-07 Richard Henderson <rth@redhat.com>
10794
7e9da188 10795 [BZ #10114]
573cd484
RH
10796 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10797 normal/normal case to before the switch.
10798 (_FP_DIV): Likewise.
10799
e933a943
MF
108002012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10801 Mike Frysinger <vapier@gentoo.org>
10802
10803 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10804 check for __NR_fadvise64_64.
10805
82123268
CM
108062012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10807
10808 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10809 0, not just to plain "0" as a statement.
10810 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10811 with cw.
10812
d9814526
JM
108132012-12-06 Joseph Myers <joseph@codesourcery.com>
10814
10815 * NEWS: Use sourceware.org in Bugzilla URL.
10816
7728c574
SP
108172012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10818
f16946dd
SP
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10820 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10821
5704bbcb
SP
10822 * stdio-common/tst-put-error.c (do_test): Add newline to the
10823 padded test to ensure flush.
10824
17aa0516
JL
108252012-12-05 Jeff Law <law@redhat.com>
10826
10827 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10828
363313b5
JM
108292012-12-05 Joseph Myers <joseph@codesourcery.com>
10830
effbd42a
JM
10831 * README: Don't refer to ports add-on as distributed separately.
10832 Mention AArch64 in list of systems supported in the ports add-on.
10833
87600365
JM
10834 * LICENSES: Add more non-FSF copyright and license notices.
10835
a0d7066a
JM
10836 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10837 ((unused)).
10838
66ca5a5b
JM
10839 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10840
363313b5
JM
10841 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10842 10000 as width of padded output.
10843
b37984ad
JM
108442012-12-04 Joseph Myers <joseph@codesourcery.com>
10845
9003570a
JM
10846 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10847
b37984ad
JM
10848 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10849 variable LX with __attribute__ ((unused)).
10850 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10851 Likewise.
10852 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10853 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10854 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10855 with __attribute__ ((unused)).
10856
c8df52ec
DM
108572012-12-04 David S. Miller <davem@abraco.davemloft.net>
10858
10859 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10860
b3b099af
JM
108612012-12-04 Joseph Myers <joseph@codesourcery.com>
10862
c33aa6e3
JM
10863 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10864 (CFLAGS-nldbl-acos.c): New variable.
10865 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10866 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10867 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10868 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10869 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10870 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10871 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10872 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10873 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10874 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10875 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10876 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10877 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10878 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10879 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10880 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10881 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10882 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10883 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10884 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10885 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10886 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10887 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10888 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10889 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10890 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10891 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10892 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10893 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10894 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10895 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10896 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10897 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10898 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10899 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10900 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10901 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10902 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10903 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10904 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10905 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10906 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10907 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10908 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10909 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10910 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10911 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10912 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10913 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10914 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10915 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10916 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10917 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10918 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10919 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10920 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10921 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10922 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10923 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10924 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10925 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10926 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10927 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10928 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10929 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10930 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10931 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10932 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10933 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10934 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10935 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10936 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10937 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10938 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10939 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10940 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10941 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10942 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10943 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10944 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10945 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10946 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10947 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10948 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10949 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10950 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10951 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10952 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10953 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10954 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10955 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10956 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10957 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10958 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10959 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10960 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10961 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10962
20f0018d
JM
10963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10964 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10965
b3b099af
JM
10966 [BZ #14914]
10967 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10968 whole low double instead of just low 47 bits when splitting values
10969 into two parts.
10970
029264d1
AM
109712012-12-03 Allan McRae <allan@archlinux.org>
10972
10973 * manual/stdio.texi (Predefined Printf Handlers): Remove
10974 @hsep and @vsep usage.
10975
c9d6789e
MF
109762012-12-03 Mike Frysinger <vapier@gentoo.org>
10977
10978 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10979 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10980
4b7634a5
JL
109812012-12-03 Jeff Law <law@redhat.com>
10982
10983 * time/sys/time.h (settimeofday): Do not mark TV argument
10984 as __nonnull.
10985
eb6cbd24
MF
109862012-12-01 Mike Frysinger <vapier@gentoo.org>
10987
10988 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10989 when currently writing and seek to current position when not.
10990 * libio/Makefile (tests): Remove bug-fclose1.
10991 * libio/bug-fclose1.c: Delete.
10992
f638872a
JM
109932012-12-01 Joseph Myers <joseph@codesourcery.com>
10994
10995 * manual/arith.texi (feenableexcept): Fix typo.
10996 (fedisableexcept): Likewise.
10997
48085d14
RM
109982012-11-30 Roland McGrath <roland@hack.frob.com>
10999
11000 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11001 second, differently-typed declaration, rather than a cast.
11002
1a538b9f
SP
110032012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11004
11005 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11006 * include/rpc/svc.h: ... here.
11007
d07f2ff1 110082012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
11009
11010 [BZ #13013]
11011 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11012 depending n and resplen2 to catch cases where answer
11013 equals answerp2.
11014
c93ec1f0
CD
110152012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11016
11017 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11018 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11019
37db69de
MF
110202012-11-29 Mike Frysinger <vapier@gentoo.org>
11021
11022 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11023
e10c4e4f
RM
110242012-11-29 Roland McGrath <roland@hack.frob.com>
11025
11026 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11027
2af1b328
JL
110282012-11-28 Jeff Law <law@redhat.com>
11029
11030 [BZ #13761]
11031 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11032 dataset_temporary. Track alloca usage into alloca_used.
11033 If dataset is large allocate and release it via malloc/free.
11034
111db5b1
FW
110352012-06-04 Florian Weimer <fweimer@redhat.com>
11036
f06cc227 11037 [BZ #14197]
111db5b1
FW
11038 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11039
dd694abd
DM
110402012-11-28 David S. Miller <davem@davemloft.net>
11041
11042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11043
9984dd01
JM
110442012-11-28 Joseph Myers <joseph@codesourcery.com>
11045
11046 [BZ #14803]
11047 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11048 of pi/2 rounded to nearest to 64 bits.
11049 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11050 nearest to 64 bits.
11051 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11052 bits.
11053
14bc93a9
JL
110542012-11-28 Jeff Law <law@redhat.com>
11055 Martin Osvald <mosvald@redhat.com>
11056
11057 [BZ #14889]
11058 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11059 * sunrpc/svc.c: Include time.h.
11060 (__svc_accept_failed): New function.
11061 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11062 any reason other than EINTR, call __svc_accept_failed.
11063 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11064 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11065
e3c6aa3a
AS
110662012-11-28 Andreas Schwab <schwab@suse.de>
11067
11068 * scripts/abilist.awk: Also handle indirect functions in .opd
11069 section.
11070
1bead169
JM
110712012-11-28 Joseph Myers <joseph@codesourcery.com>
11072
11073 [BZ #13881]
11074 * sysdeps/x86/fpu/powl_helper.c: New file.
11075 * sysdeps/x86/fpu/Makefile: Likewise.
11076 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11077 (p3): New object.
11078 (__ieee754_powl): Use __powl_helper for finite arguments except
11079 integer exponents below 8.
11080 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11081 (p3): New object.
11082 (__ieee754_powl): Use __powl_helper for finite arguments except
11083 integer exponents below 8.
11084 * math/libm-test.inc (pow_test): Add more tests and enable some
11085 previously disabled tests.
11086 * sysdeps/i386/fpu/libm-test-ulps: Update.
11087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11088
0817d63d
SP
110892012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11090 Carlos O'Donell <carlos_odonell@mentor.com>
11091
11092 * nss/makedb.c (is_prime): Assert that input is odd and greater
11093 than 4. Note that fact in a comment too.
11094 (next_prime): Add 4 to input.
11095
de2fd463
SP
110962012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11097
11098 [BZ #11741]
11099 * libio/Makefile (tests): Add test case tst-fwrite-error.
11100 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11101 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11102 * libio/tst-fwrite-error.c: New test case.
11103
c515fb51
L
111042012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11105
11106 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11107 before casting to void *.
11108 * include/libc-internal.h (__pointer_type): New macro.
11109 (__integer_if_pointer_type_sub): Likewise.
11110 (__integer_if_pointer_type): Likewise.
11111 (cast_to_integer): Likewise.
11112 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11113 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11114 before casting to atomic64_t.
11115 (atomic_exchange_acq): Likewise.
11116 (__arch_exchange_and_add_body): Likewise.
11117 (__arch_add_body): Likewise.
11118 (atomic_add_negative): Likewise.
11119 (atomic_add_zero): Likewise.
11120
4cf77aa9
JM
111212012-11-26 Joseph Myers <joseph@codesourcery.com>
11122
11123 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11124 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11125 (add_fdes): Likewise.
11126 (linear_search_fdes): Likewise.
11127 (binary_search_unencoded_fdes): Likewise.
11128
d260b3b4
AS
111292012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11130
11131 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11132
67060746
AC
111332012-11-24 Adam Conrad <adconrad@0c3.net>
11134
11135 * configure.in: Autodetect C++ header directories.
11136 * configure: Regenerated.
11137
800938a1
MF
111382012-11-23 Mike Frysinger <vapier@gentoo.org>
11139
11140 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11141
4e6e34e6
AS
111422012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11143
11144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11145
7c7feb47
JM
111462012-11-22 Joseph Myers <joseph@codesourcery.com>
11147
7184dcdf
JM
11148 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11149 LDBL_MANT_DIG == 106]: Disable some tests.
11150 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11151 Likewise.
11152 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11153 Likewise.
11154
0a42601f
JM
11155 [BZ #14871]
11156 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11157 input for small inputs. Return +/- pi/2 for large inputs.
11158 * math/libm-test.inc (atan_test): Add more tests.
11159
79c9b9fe
JM
11160 * sysdeps/generic/unwind-dw2-fde-glibc.c
11161 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11162 __attribute__ ((unused)).
11163
c60d3bf2
JM
11164 [BZ #14645]
11165 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11166 x * y if x and y are nonzero and z is zero.
11167
ef1e0867
JM
11168 [BZ #14811]
11169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11170 nonzero exponents with absolute value below 0x1p-117 to +/-
11171 0x1p-117.
11172
1468ded3
JM
11173 [BZ #14869]
11174 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11175 up arguments below 2**-450, not just those below 2**-500.
11176 * math/libm-test.inc (hypot_test): Add another test.
11177
8e27e3cc
JM
11178 [BZ #14868]
11179 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11180 Return a+b for ratio over 2**120, not 2**60.
11181 * math/libm-test.inc (hypot_test): Add another test.
11182
c9c0279b
JM
11183 * math/libm-test.inc (clog_test): Use
11184 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11185 (clog10_test): Likewise.
11186
7c7feb47
JM
11187 [BZ #6778]
11188 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11189
fff1530e
AS
111902012-11-22 Andreas Schwab <schwab@suse.de>
11191
11192 * sysdeps/i386/fpu/libm-test-ulps: Update.
11193
94558d30
PT
111942012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11195
11196 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11197 printf output with newline.
11198
7e1be741
L
111992012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11200
6bfea974
L
11201 [BZ #14865]
11202 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11203 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11204 -z nodlopen, -z initfirst and -z execstack support.
11205 * configure: Regenerated.
11206
7e1be741
L
11207 * elf/elf.h (DF_1_NODIRECT): New macro.
11208 (DF_1_IGNMULDEF): Likewise.
11209 (DF_1_NOKSYMS): Likewise.
11210 (DF_1_NOHDR): Likewise.
11211 (DF_1_EDITED): Likewise.
11212 (DF_1_NORELOC): Likewise.
11213 (DF_1_SYMINTPOSE): Likewise.
11214 (DF_1_GLOBAUDIT): Likewise.
11215 (DF_1_SINGLETON): Likewise.
11216 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11217 DT_1_SUPPORTED_MASK bits.
11218 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11219
105ce2ce
CD
112202012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11221
11222 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11223
123be9de
TS
112242012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11225
d072f3f7
TS
11226 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11227 macro.
11228
123be9de
TS
11229 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11230 (sendmmsg): Move declarations...
11231 * socket/sys/socket.h: ... here.
11232 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11233 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11234 include it from...
11235 * socket/recvmmsg.c: ... this new file.
11236 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11237 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11238 definition of __sendmmsg hidden.
11239 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11240 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11241 Move ENOSYS stub into and include it from...
11242 * socket/sendmmsg.c: ... this new file.
11243 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11244 (sysdep_routines): Move recvmmsg and sendmmsg...
11245 * socket/Makefile (routines): ... here.
11246 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11247 (GLIBC_PRIVATE): Add __sendmmsg.
11248 * include/sys/socket.h (__sendmmsg): Add declarations.
11249 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11250 sendmmsg.
11251
cf9a5d18
JM
112522012-11-20 Joseph Myers <joseph@codesourcery.com>
11253
11254 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11255 variable I1 with __attribute__ ((unused)).
11256 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11257
ecd4caf9
JM
112582012-11-19 Joseph Myers <joseph@codesourcery.com>
11259
be14d48f
JM
11260 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11261 DUMMY variables with __attribute__ ((unused)).
11262
ecd4caf9
JM
11263 * bits/byteswap.h: Include <bits/types.h>.
11264 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11265
986cab95
PT
112662012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11267
11268 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11269 string_t. Do not manually set errno.
11270 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11271 length with __strnlen. Make sure to both set errno and return it on
11272 failure.
11273
6d33cc9d
DM
112742012-11-19 David S. Miller <davem@davemloft.net>
11275
11276 With help from Joseph Myers.
11277 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11278 very large arguments properly.
11279 * math/libm-test.inc (atan_test): New tests.
11280 (atan2_test): New tests.
11281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11283
ee663277
JM
112842012-11-19 Joseph Myers <joseph@codesourcery.com>
11285
877f2d8e
JM
11286 [BZ #14856]
11287 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11288 Define to 3.
11289
116fc08a
JM
11290 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11291 [POSIX] (EADDRNOTAVAIL): Likewise.
11292 [POSIX] (EAFNOSUPPORT): Likewise.
11293 [POSIX] (EALREADY): Likewise.
11294 [POSIX] (ECONNABORTED): Likewise.
11295 [POSIX] (ECONNREFUSED): Likewise.
11296 [POSIX] (ECONNRESET): Likewise.
11297 [POSIX] (EDESTADDRREQ): Likewise.
11298 [POSIX] (EDQUOT): Likewise.
11299 [POSIX] (EHOSTUNREACH): Likewise.
11300 [POSIX] (EIDRM): Likewise.
11301 [POSIX] (EISCONN): Likewise.
11302 [POSIX] (ELOOP): Likewise.
11303 [POSIX] (EMULTIHOP): Likewise.
11304 [POSIX] (ENETDOWN): Likewise.
11305 [POSIX] (ENETUNREACH): Likewise.
11306 [POSIX] (ENOBUFS): Likewise.
11307 [POSIX] (ENODATA): Likewise.
11308 [POSIX] (ENOLINK): Likewise.
11309 [POSIX] (ENOMSG): Likewise.
11310 [POSIX] (ENOPROTOOPT): Likewise.
11311 [POSIX] (ENOSR): Likewise.
11312 [POSIX] (ENOSTR): Likewise.
11313 [POSIX] (ENOTCONN): Likewise.
11314 [POSIX] (ENOTSOCK): Likewise.
11315 [POSIX] (EOPNOTSUPP): Likewise.
11316 [POSIX] (EOVERFLOW): Likewise.
11317 [POSIX] (EPROTO): Likewise.
11318 [POSIX] (EPROTONOSUPPORT): Likewise.
11319 [POSIX] (EPROTOTYPE): Likewise.
11320 [POSIX] (ESTALE): Likewise.
11321 [POSIX] (ETIME): Likewise.
11322 [POSIX] (ETXTBSY): Likewise.
11323 [POSIX] (EWOULDBLOCK): Likewise.
11324 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11325 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11326 [POSIX] (SEEK_CUR): Likewise.
11327 [POSIX] (SEEK_END): Likewise.
11328 [POSIX || UNIX98] (mode_t): Do not require.
11329 [POSIX] (off_t): Likewise.
11330 [POSIX] (pid_t): Likewise.
11331 [POSIX] (sys/stat.h): Do not allow header.
11332 [POSIX] (unistd.h): Likewise.
11333 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11334 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11335 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11336 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11337 require.
11338 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11339 sigevent): Specify elements.
11340 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11341 entry.
11342 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11343 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11344
a483863f
JM
11345 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11346 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11347 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11348 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11349 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11350 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11351 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11352 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11353 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11354 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11355 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11356 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11357 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11358 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11359 Likewise.
11360 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11361 Likewise.
11362 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11363 Likewise.
11364 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11365 Likewise.
11366 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11367 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11368 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11369 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11370 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11371 Specify lower bound on value.
11372 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11373 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11374 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11375 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11376 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11377 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11378 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11379 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11380 value.
11381 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11382 as optional.
11383 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11384 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11385 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11386 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11387 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11388 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11389 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11390 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11391 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11392 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11393 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11394 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11395 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11396 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11397 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11398 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11399 entry.
11400 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11401 optional.
11402 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11403 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11404 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11405 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11406 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11407 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11408 Likewise.
11409 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11410 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11411 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11412 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11413 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11414 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11415 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11416 as optional.
11417 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11418 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11419 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11420 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11421 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11422 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11423 specify as optional.
11424 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11425 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11426 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11427 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11428 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11429 [XPG3] (NL_LANGMAX): Likewise.
11430 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11431 [POSIX || XPG3] (NL_NMAX): Likewise.
11432 [POSIX || XPG3] (NL_SETMAX): Likewise.
11433 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11434 [XPG3] (NZERO): Likewise.
11435 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11436 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11437 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11438 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11439 (REG_ERANGE): Expect.
11440 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11441 optional-constant.
11442 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11443 Use (void) in prototype.
11444 [POSIX] (*_t): Allow.
11445 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11446 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11447 (WRDE_BADVAL): Expect.
11448
5ba924e3
JM
11449 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11450 expect.
11451 [XPG3 || XPG4] (O_RSYNC): Likewise.
11452 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11453 Likewise.
11454 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11455 [XPG3 || XPG4] (sigqueue): Likewise.
11456 [XPG3 || XPG4] (sigtimedwait): Likewise.
11457 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11458 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11459 [XPG3 || XPG4] (vsnprintf): Likewise.
11460 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11461 Likewise.
11462 [XPG3 || XPG4] (blksize_t): Likewise.
11463 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11464 Likewise.
11465 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11466 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11467 [XPG3 || XPG4] (struct itimerspec): Likewise.
11468 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11469 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11470 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11471 [XPG3 || XPG4] (clockid_t): Likewise.
11472 [XPG3 || XPG4] (timer_t): Likewise.
11473 [XPG3 || XPG4] (clock_getres): Likewise.
11474 [XPG3 || XPG4] (clock_gettime): Likewise.
11475 [XPG3 || XPG4] (clock_settime): Likewise.
11476 [XPG3 || XPG4] (nanosleep): Likewise.
11477 [XPG3 || XPG4] (timer_create): Likewise.
11478 [XPG3 || XPG4] (timer_delete): Likewise.
11479 [XPG3 || XPG4] (timer_gettime): Likewise.
11480 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11481 [XPG3 || XPG4] (timer_settime): Likewise.
11482 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11483 [XPG3 || XPG4] (getlogin_r): Likewise.
11484 [XPG3 || XPG4] (pread): Likewise.
11485 [XPG3 || XPG4] (pthread_atfork): Likewise.
11486 [XPG3 || XPG4] (pwrite): Likewise.
11487
ee663277
JM
11488 [BZ #14835]
11489 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11490 <bits/siginfo.h>.
11491
942caa16
PT
114922012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11493
e19af380
PT
11494 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11495 finalizing MALLSTREAM.
11496
942caa16
PT
11497 * sysdeps/mach/hurd/syncfs.c: New file.
11498
cfde9b46
SP
114992012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11500
11501 [BZ #14719]
11502 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11503 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11504 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11505 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11506 (_nss_dns_gethostbyname4_r): Likewise.
11507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11508 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11509
f6da27e5
PH
115102012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11511
11512 [BZ #13763]
11513 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11514
6665d4a2
SM
115152012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11516
1f51ee92
SM
11517 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11518 * elf/cache.c (print_entry): Print ",AArch64" for
11519 FLAG_AARCH64_LIB64
11520
6665d4a2
SM
11521 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11522 * elf/cache.c (print_entry): Print ",hard-float" for
11523 FLAG_ARM_LIBHF.
11524
05b227bd
DM
115252012-11-18 David S. Miller <davem@davemloft.net>
11526
11527 With help from Joseph Myers.
11528 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11529 cutoff to 2**-13.
11530 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11531 cutoff to 2**-25.
11532 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11533 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11534 small.
11535 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11536 * math/libm-test.inc (y0_test): New tests.
11537 (y1_test): New tests.
11538 * sysdeps/i386/fpu/libm-test-ulps: Update.
11539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11541
786b0b67
AS
115422012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11543
11544 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11545 64-bit targets.
11546 * configure: Regenerated.
11547
8e18b86d
DM
115482012-11-17 David S. Miller <davem@davemloft.net>
11549
11550 [BZ #14811]
11551 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11552 nonzero exponents with absolute value below 0x1p-128 to +/-
11553 0x1p-128.
11554
531f1ae0
JM
115552012-11-17 Joseph Myers <joseph@codesourcery.com>
11556
12df29e2
JM
11557 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11558
150dc1a0
JM
11559 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11560
531f1ae0
JM
11561 * posix/getconf-speclist.c: New file.
11562 * posix/posix-envs.def: Likewise.
11563 * posix/confstr.c (START_ENV_GROUP): New macro.
11564 (END_ENV_GROUP): Likewise.
11565 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11566 (KNOWN_PRESENT_ENV_STRING): Likewise.
11567 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11568 (UNKNOWN_ENVIRONMENT): Likewise.
11569 (confstr): Include posix-envs.def instead of handling
11570 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11571 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11572 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11573 (END_ENV_GROUP): Likewise.
11574 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11575 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11576 (UNKNOWN_ENVIRONMENT): Likewise.
11577 (__sysconf): Include posix-envs.def instead of handling associated
11578 cases directly here.
11579 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11580 preprocessing getconf-speclist.c rather than running getconf or
11581 generating empty file.
11582
a93f9cbc
PT
115832012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11584
11585 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11586
d64d9f87
AL
115872012-11-16 Andrej Lajovic <natrij@gmail.com>
11588
11589 [BZ #14672]
11590 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11591
447885eb
DM
115922012-11-16 David S. Miller <davem@davemloft.net>
11593
11594 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11595 smaller than LDBL_EPSILON/2.0L, just return xm1.
11596
bcbf9830
L
115972012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11598
11599 * elf/tst-array1.c (init): Set constructor priority to 1000.
11600 (fini): Set destructor priority to 1000.
11601 * elf/tst-array2dep.c: Likewise.
11602
2b766585
SP
116032012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11604
11605 [BZ #11741]
11606 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11607 (_IO_new_file_xsputn): Also return EOF if none of the input
11608 data was written when overflow failed.
11609 * libio/iopadn.c (_IO_padn): Likewise.
11610 * libio/iowpadn.c (_IO_wpadn): Likewise.
11611 * stdio-common/tst-put-error.c: Add copyright notice.
11612 (do_test): Add case for printing padded string.
11613 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11614 _IO_padn returned error.
11615 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11616 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11617 return EOF.
11618
b1848fde
SP
116192012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11620
11621 * libio/libioP.h: Add comment note that the references to C++
11622 bits are now obsolete.
11623
2fd89785
MS
116242012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11625
11626 * math/libm-test.inc (check_complex): Use asprintf.
11627
e3ea5409
JM
116282012-11-14 Joseph Myers <joseph@codesourcery.com>
11629
11630 * debug/pcprofiledump.c (print_version): Update copyright year.
11631 * malloc/memusagestat.c (print_version): Likewise.
11632
2e64d265
L
116332012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11634
11635 [BZ #14831]
11636 * elf/Makefile (tests): Add tst-audit8.
11637 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11638 ($(objpfx)tst-audit8.out): New target.
11639 (tst-audit8-ENV): New variable.
11640 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11641 audit if l_reloc_result is NULL.
11642 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11643 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11644 * elf/tst-audit8.c: New file.
11645
c485e4d2
MS
116462012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11647
11648 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11649 * misc/Makefile (CFLAGS-select.c): Define.
11650 * posix/Makefile (CFLAGS-pause.c): Define.
11651
3a0d900a
DM
116522012-11-13 David S. Miller <davem@davemloft.net>
11653
11654 * crypt/Makefile: Move test targets after toplevel Rules
11655 inclusion. Grab any necessary sysdep routines when linking.
11656 * crypt/md5.c (md5_process_block): Remove define, we will always
11657 name it __md5_process_block.
11658 (md5_finish_ctx): Update md5_process_block call.
11659 (md5_stream): Likewise.
11660 (md5_process_bytes): Likewise.
11661 (md5_process_block): Rename to __md5_process_block and move to ...
11662 * crypt/md5-block.c: ... here.
11663 * crypt/sha256.c (sha256_process_block): Move to ...
11664 * crypt/sha256-block.c: ... here.
11665 * crypt/sha512.c (sha512_process_block): Move to ...
11666 * crypt/sha512-block.c: ... here.
11667 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11668 path.
11669 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11670 * sysdeps/sparc/sparc64/multiarch/Makefile
11671 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11672 crypt subdir.
11673 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11674 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11675 multiarch changes.
11676 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11677 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11678 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11679 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11680 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11681 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11682 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11683 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11684 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11685 file.
11686 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11687 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11688 file.
11689 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11690
8ca89318
JM
116912012-11-13 Joseph Myers <joseph@codesourcery.com>
11692
e27d476a
JM
11693 * timezone/tzselect.ksh: Update from tzcode git revision
11694 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11695 * timezone/zdump.c: Likewise.
11696 * timezone/zic.c: Likewise.
11697 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11698 in TZVERSION setting, not $(PKGVERSION).
11699 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11700 REPORT_BUGS_TO settings.
11701
8ca89318
JM
11702 [BZ #14838]
11703 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11704 macro.
11705
47594329
MS
117062012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11707
11708 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11709 detection to immediately after _FP_ROUND().
11710 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11711 bits are 0.
11712
640ac3f1
DM
117132012-11-11 David S. Miller <davem@davemloft.net>
11714
11715 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11716 inttypes.h
11717 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11718 __close rather than their public counterparts.
11719
3d2577bb
JM
117202012-11-10 Joseph Myers <joseph@codesourcery.com>
11721
11722 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11723 file.
11724 [UNIX98] (sem_timedwait): Do not expect.
11725 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11726 [XPG4 || UNIX98] (sockatmark): Do not expect.
11727 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11728 (clock_getcpuclockid): Do not expect.
11729 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11730 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11731 Do not expect.
11732 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11733 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11734 [UNIX98] (vwscanf): Likewise.
11735 [UNIX98] (vswscanf): Likewise.
11736
fb1ae1ee
JM
117372012-11-09 Joseph Myers <joseph@codesourcery.com>
11738
9ec6f8bd
JM
11739 * timezone/version.h: Remove file.
11740 * timezone/README: Do not refer to version.h.
11741 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11742 $(objpfx)version.h.
11743 ($(objpfx)zdump.o): Likewise.
c3f81911 11744 ($(objpfx)version.h): New target.
9ec6f8bd 11745
0aa8f8a1
JM
11746 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11747 2012i.
11748 * timezone/README: Don't mention modification to tzselect.ksh.
11749 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11750 work on unmodified tzselect.ksh. Substitute version numbers in
11751 tzselect.ksh.
11752
4e87147f
JM
11753 * Makefile (format-me): Remove.
11754 (INSTALL): Adjust indentation. Use commands directly instead of
11755 using $(format-me).
11756
8b748aed
JM
11757 * aclocal.m4 (ACX_PKGVERSION): New macro.
11758 (ACX_BUGURL): Likewise.
11759 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11760 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11761 (REPORT_BUGS_TO): Likewise.
11762 * configure: Regenerated.
11763 * config.h.in (PKGVERSION): New macro.
11764 (REPORT_BUGS_TO): Likewise.
11765 * config.make.in (PKGVERSION): New variable.
11766 (PKGVERSION_TEXI): Likewise.
11767 (REPORT_BUGS_TO): Likewise.
11768 (REPORT_BUGS_TEXI): Likewise.
11769 * Makefile (format-me): Use -I$(common-objpfx)manual.
11770 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11771 ($(common-objpfx)manual/%): New target.
11772 (manual/%): Remove target.
11773 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11774 (print_version): Use PKGVERSION.
11775 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11776 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11777 and REPORT_BUGS_TO.
11778 ($(objpfx)xtrace): Likewise.
11779 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11780 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11781 (print_version): Use PKGVERSION.
11782 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11783 (do_version): Use PKGVERSION.
11784 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11785 REPORT_BUGS_TO.
11786 (common-ldd-rewrite): Likewise.
11787 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11788 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11789 (print_version): Use PKGVERSION.
11790 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11791 * elf/pldd.c (argp_program_bug_address): Remove variable.
11792 (more_help): New function.
11793 (argp): Use more_help.
11794 (print_version): Use PKGVERSION.
11795 * elf/sln.c (main): Use PKGVERSION.
11796 (usage): Use REPORT_BUGS_TO.
11797 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11798 (top level): Use PKGVERSION.
11799 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11800 (print_version): Use PKGVERSION.
11801 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11802 (print_version): Use PKGVERSION.
11803 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11804 (print_version): Use PKGVERSION.
11805 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11806 (print_version): Use PKGVERSION.
11807 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11808 (print_version): Use PKGVERSION.
11809 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11810 (print_version): Use PKGVERSION.
11811 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11812 and BUGURL.
11813 ($(objpfx)memusage): Likewise.
11814 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11815 (do_version): Use PKGVERSION.
11816 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11817 (print_version): Use PKGVERSION.
11818 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11819 ($PKGVERSION): New variable.
11820 ($REPORT_BUGS_TO): Likewise.
11821 (usage): Use $REPORT_BUGS_TO.
11822 (top level): Use $PKGVERSION.
11823 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11824 ($(objpfx)pkgvers.texi): New rule.
11825 ($(objpfx)stamp-pkgvers): Likewise.
11826 * manual/install.texi: Include pkgvers.texi.
11827 (--with-pkgversion): Document new configure option.
11828 (--with-bugurl): Likewise.
11829 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11830 than necessarily for this particular distribution. Use
11831 REPORT_BUGS_TO for where to report bugs.
11832 * INSTALL: Regenerated.
11833 * manual/libc.texinfo: Include pkgvers.texi.
11834 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11835 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11836 (print_version): Use PKGVERSION.
11837 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11838 (print_version): Use PKGVERSION.
11839 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11840 (print_version): Use PKGVERSION.
11841 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11842 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11843 macro.
11844 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11845 (print_version): Use PKGVERSION.
11846 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11847 (print_version): Use PKGVERSION.
11848 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11849 and PKGVERSION.
11850
92e4b6a9
JM
11851 * timezone/checktab.awk: Update from tzcode 2012i.
11852 * timezone/ialloc.c: Likewise.
11853 * timezone/private.h: Likewise.
11854 * timezone/scheck.c: Likewise.
11855 * timezone/tzfile.h: Likewise.
11856 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11857 (TZVERSION): Hardcode tzcode version number.
11858 * timezone/zdump.c: Update from tzcode 2012i.
11859 * timezone/zic.c: Likewise.
11860 * timezone/version.h: New file.
11861 * timezone/README: Describe version.h. Update upstream location.
11862
9bde902c
JM
11863 [BZ #14824]
11864 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11865 (mktemp): Enable declaration.
11866 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11867 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11868 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11869 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11870 Likewise.
11871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11872 Likewise.
11873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11874 Likewise.
11875 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11876 Likewise.
11877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11878 Likewise.
11879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11880 Likewise.
11881
fb1ae1ee
JM
11882 [BZ #14821]
11883 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11884 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11885 for copies of such integer values.
11886 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11887 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11888
2c1adbcb
AJ
118892012-11-09 Andreas Jaeger <aj@suse.de>
11890
11891 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11892 definitions and declarations that are provided by
11893 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11894
d0f8457e
AK
118952012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11896
3a235abb 11897 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11898 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11899 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11900 definition.
11901
57241e26
MS
119022012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11903
11904 * elf/elf.h: Update comment before AArch64 relocations.
11905
60e8270d
DM
119062012-11-07 David S. Miller <davem@davemloft.net>
11907
11908 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11909 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11910 (__start_context): Declare.
11911 (__makecontext_ret): Delete.
11912 (__makecontext): Hook up __start_context instead of
11913 __makecontext_ret.
11914 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11915 (sysdep_routines): Add __start_context when in stdlib.
11916
0fbb0fbc
JM
119172012-11-07 Joseph Myers <joseph@codesourcery.com>
11918
11919 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11920 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11921 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11922 hardcoded "nm".
11923 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11924 (READELF): New variable. Use it instead of hardcoded "readelf".
11925
eb48db7e
L
119262012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11927
11928 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11929 * sysdeps/x86/Makefile: Here.
11930 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11931 * sysdeps/x86/tst-xmmymm.sh: This.
11932
05bcf62a
JM
119332012-11-07 Joseph Myers <joseph@codesourcery.com>
11934
c4b6cf53
JM
11935 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11936 expectations.
11937 [UNIX98] (pthread_barrier_t): Do not expect.
11938 [UNIX98] (pthread_barrierattr_t): Likewise.
11939 [UNIX98] (pthread_spinlock_t): Likewise.
11940 [UNIX98] (pthread_barrier_destroy): Likewise.
11941 [UNIX98] (pthread_barrier_init): Likewise.
11942 [UNIX98] (pthread_barrier_wait): Likewise.
11943 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11944 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11945 [UNIX98] (pthread_barrierattr_init): Likewise.
11946 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11947 [UNIX98] (pthread_getcpuclockid): Likewise.
11948 [UNIX98] (pthread_mutex_timedlock): Likewise.
11949 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11950 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11951 [UNIX98] (pthread_sigmask): Likewise.
11952 [UNIX98] (pthread_spin_destroy): Likewise.
11953 [UNIX98] (pthread_spin_init): Likewise.
11954 [UNIX98] (pthread_spin_lock): Likewise.
11955 [UNIX98] (pthread_spin_trylock): Likewise.
11956 [UNIX98] (pthread_spin_unlock): Likewise.
11957 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11958 Do not expect.
11959 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11960 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11961 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11962 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11963 [XPG3 || XPG4] (pthread_key_t): Likewise.
11964 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11965 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11966 [XPG3 || XPG4] (pthread_once_t): Likewise.
11967 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11968 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11969 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11970 [XPG3 || XPG4] (pthread_t): Likewise.
11971
cbe6e120
JM
11972 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11973 not expect.
11974 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11975
1b126443
JM
11976 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11977 Change function return type to int.
11978
b961a573
JM
11979 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11980 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11981 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11982 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11983 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11984 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11985 [!POSIX] (posix_madvise): Likewise.
11986 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11987 && !UNIX98].
11988 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11989 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11990 (mode_t): Likewise.
11991 (posix_mem_offset): Likewise.
11992 (posix_typed_mem_get_info): Likewise.
11993 (posix_typed_mem_open): Likewise.
11994
9e188909
JM
11995 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11996 Change condition to [XOPEN2K8].
11997
05bcf62a
JM
11998 * conform/conformtest.pl: Preprocess allow-header data with -x c
11999 instead of from stdin.
12000 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12001 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12002 [C99-based standards] (cerfc): Likewise.
12003 [C99-based standards] (cexp2): Likewise.
12004 [C99-based standards] (cexpm1): Likewise.
12005 [C99-based standards] (clog10): Likewise.
12006 [C99-based standards] (clog1p): Likewise.
12007 [C99-based standards] (clog2): Likewise.
12008 [C99-based standards] (clgamma): Likewise.
12009 [C99-based standards] (ctgamma): Likewise.
12010 [C99-based standards] (cerff): Likewise.
12011 [C99-based standards] (cerfcf): Likewise.
12012 [C99-based standards] (cexp2f): Likewise.
12013 [C99-based standards] (cexpm1f): Likewise.
12014 [C99-based standards] (clog10f): Likewise.
12015 [C99-based standards] (clog1pf): Likewise.
12016 [C99-based standards] (clog2f): Likewise.
12017 [C99-based standards] (clgammaf): Likewise.
12018 [C99-based standards] (ctgammaf): Likewise.
12019 [C99-based standards] (cerfl): Likewise.
12020 [C99-based standards] (cerfcl): Likewise.
12021 [C99-based standards] (cexp2l): Likewise.
12022 [C99-based standards] (cexpm1l): Likewise.
12023 [C99-based standards] (clog10l): Likewise.
12024 [C99-based standards] (clog1pl): Likewise.
12025 [C99-based standards] (clog2l): Likewise.
12026 [C99-based standards] (clgammal): Likewise.
12027 [C99-based standards] (ctgammal): Likewise.
12028 * conform/data/inttypes.h-data [C99-based standards]: Include
12029 stdint.h-data. Remove all expectations for stdint.h contents.
12030 [C99-based standards] (PRI*): Do not allow.
12031 [C99-based standards] (SCN*): Likewise.
12032 [C99-based standards] (*_t): Likewise.
12033 [C99-based-standards] (PRId8): Expect macro.
12034 [C99-based-standards] (PRIi8): Likewise.
12035 [C99-based-standards] (PRIo8): Likewise.
12036 [C99-based-standards] (PRIu8): Likewise.
12037 [C99-based-standards] (PRIx8): Likewise.
12038 [C99-based-standards] (PRIX8): Likewise.
12039 [C99-based-standards] (SCNd8): Likewise.
12040 [C99-based-standards] (SCNi8): Likewise.
12041 [C99-based-standards] (SCNo8): Likewise.
12042 [C99-based-standards] (SCNu8): Likewise.
12043 [C99-based-standards] (SCNx8): Likewise.
12044 [C99-based-standards] (PRIdLEAST8): Likewise.
12045 [C99-based-standards] (PRIiLEAST8): Likewise.
12046 [C99-based-standards] (PRIoLEAST8): Likewise.
12047 [C99-based-standards] (PRIuLEAST8): Likewise.
12048 [C99-based-standards] (PRIxLEAST8): Likewise.
12049 [C99-based-standards] (PRIXLEAST8): Likewise.
12050 [C99-based-standards] (SCNdLEAST8): Likewise.
12051 [C99-based-standards] (SCNiLEAST8): Likewise.
12052 [C99-based-standards] (SCNoLEAST8): Likewise.
12053 [C99-based-standards] (SCNuLEAST8): Likewise.
12054 [C99-based-standards] (SCNxLEAST8): Likewise.
12055 [C99-based-standards] (PRIdFAST8): Likewise.
12056 [C99-based-standards] (PRIiFAST8): Likewise.
12057 [C99-based-standards] (PRIoFAST8): Likewise.
12058 [C99-based-standards] (PRIuFAST8): Likewise.
12059 [C99-based-standards] (PRIxFAST8): Likewise.
12060 [C99-based-standards] (PRIXFAST8): Likewise.
12061 [C99-based-standards] (SCNdFAST8): Likewise.
12062 [C99-based-standards] (SCNiFAST8): Likewise.
12063 [C99-based-standards] (SCNoFAST8): Likewise.
12064 [C99-based-standards] (SCNuFAST8): Likewise.
12065 [C99-based-standards] (SCNxFAST8): Likewise.
12066 [C99-based-standards] (PRId16): Likewise.
12067 [C99-based-standards] (PRIi16): Likewise.
12068 [C99-based-standards] (PRIo16): Likewise.
12069 [C99-based-standards] (PRIu16): Likewise.
12070 [C99-based-standards] (PRIx16): Likewise.
12071 [C99-based-standards] (PRIX16): Likewise.
12072 [C99-based-standards] (SCNd16): Likewise.
12073 [C99-based-standards] (SCNi16): Likewise.
12074 [C99-based-standards] (SCNo16): Likewise.
12075 [C99-based-standards] (SCNu16): Likewise.
12076 [C99-based-standards] (SCNx16): Likewise.
12077 [C99-based-standards] (PRIdLEAST16): Likewise.
12078 [C99-based-standards] (PRIiLEAST16): Likewise.
12079 [C99-based-standards] (PRIoLEAST16): Likewise.
12080 [C99-based-standards] (PRIuLEAST16): Likewise.
12081 [C99-based-standards] (PRIxLEAST16): Likewise.
12082 [C99-based-standards] (PRIXLEAST16): Likewise.
12083 [C99-based-standards] (SCNdLEAST16): Likewise.
12084 [C99-based-standards] (SCNiLEAST16): Likewise.
12085 [C99-based-standards] (SCNoLEAST16): Likewise.
12086 [C99-based-standards] (SCNuLEAST16): Likewise.
12087 [C99-based-standards] (SCNxLEAST16): Likewise.
12088 [C99-based-standards] (PRIdFAST16): Likewise.
12089 [C99-based-standards] (PRIiFAST16): Likewise.
12090 [C99-based-standards] (PRIoFAST16): Likewise.
12091 [C99-based-standards] (PRIuFAST16): Likewise.
12092 [C99-based-standards] (PRIxFAST16): Likewise.
12093 [C99-based-standards] (PRIXFAST16): Likewise.
12094 [C99-based-standards] (SCNdFAST16): Likewise.
12095 [C99-based-standards] (SCNiFAST16): Likewise.
12096 [C99-based-standards] (SCNoFAST16): Likewise.
12097 [C99-based-standards] (SCNuFAST16): Likewise.
12098 [C99-based-standards] (SCNxFAST16): Likewise.
12099 [C99-based-standards] (PRId32): Likewise.
12100 [C99-based-standards] (PRIi32): Likewise.
12101 [C99-based-standards] (PRIo32): Likewise.
12102 [C99-based-standards] (PRIu32): Likewise.
12103 [C99-based-standards] (PRIx32): Likewise.
12104 [C99-based-standards] (PRIX32): Likewise.
12105 [C99-based-standards] (SCNd32): Likewise.
12106 [C99-based-standards] (SCNi32): Likewise.
12107 [C99-based-standards] (SCNo32): Likewise.
12108 [C99-based-standards] (SCNu32): Likewise.
12109 [C99-based-standards] (SCNx32): Likewise.
12110 [C99-based-standards] (PRIdLEAST32): Likewise.
12111 [C99-based-standards] (PRIiLEAST32): Likewise.
12112 [C99-based-standards] (PRIoLEAST32): Likewise.
12113 [C99-based-standards] (PRIuLEAST32): Likewise.
12114 [C99-based-standards] (PRIxLEAST32): Likewise.
12115 [C99-based-standards] (PRIXLEAST32): Likewise.
12116 [C99-based-standards] (SCNdLEAST32): Likewise.
12117 [C99-based-standards] (SCNiLEAST32): Likewise.
12118 [C99-based-standards] (SCNoLEAST32): Likewise.
12119 [C99-based-standards] (SCNuLEAST32): Likewise.
12120 [C99-based-standards] (SCNxLEAST32): Likewise.
12121 [C99-based-standards] (PRIdFAST32): Likewise.
12122 [C99-based-standards] (PRIiFAST32): Likewise.
12123 [C99-based-standards] (PRIoFAST32): Likewise.
12124 [C99-based-standards] (PRIuFAST32): Likewise.
12125 [C99-based-standards] (PRIxFAST32): Likewise.
12126 [C99-based-standards] (PRIXFAST32): Likewise.
12127 [C99-based-standards] (SCNdFAST32): Likewise.
12128 [C99-based-standards] (SCNiFAST32): Likewise.
12129 [C99-based-standards] (SCNoFAST32): Likewise.
12130 [C99-based-standards] (SCNuFAST32): Likewise.
12131 [C99-based-standards] (SCNxFAST32): Likewise.
12132 [C99-based-standards] (PRId64): Likewise.
12133 [C99-based-standards] (PRIi64): Likewise.
12134 [C99-based-standards] (PRIo64): Likewise.
12135 [C99-based-standards] (PRIu64): Likewise.
12136 [C99-based-standards] (PRIx64): Likewise.
12137 [C99-based-standards] (PRIX64): Likewise.
12138 [C99-based-standards] (SCNd64): Likewise.
12139 [C99-based-standards] (SCNi64): Likewise.
12140 [C99-based-standards] (SCNo64): Likewise.
12141 [C99-based-standards] (SCNu64): Likewise.
12142 [C99-based-standards] (SCNx64): Likewise.
12143 [C99-based-standards] (PRIdLEAST64): Likewise.
12144 [C99-based-standards] (PRIiLEAST64): Likewise.
12145 [C99-based-standards] (PRIoLEAST64): Likewise.
12146 [C99-based-standards] (PRIuLEAST64): Likewise.
12147 [C99-based-standards] (PRIxLEAST64): Likewise.
12148 [C99-based-standards] (PRIXLEAST64): Likewise.
12149 [C99-based-standards] (SCNdLEAST64): Likewise.
12150 [C99-based-standards] (SCNiLEAST64): Likewise.
12151 [C99-based-standards] (SCNoLEAST64): Likewise.
12152 [C99-based-standards] (SCNuLEAST64): Likewise.
12153 [C99-based-standards] (SCNxLEAST64): Likewise.
12154 [C99-based-standards] (PRIdFAST64): Likewise.
12155 [C99-based-standards] (PRIiFAST64): Likewise.
12156 [C99-based-standards] (PRIoFAST64): Likewise.
12157 [C99-based-standards] (PRIuFAST64): Likewise.
12158 [C99-based-standards] (PRIxFAST64): Likewise.
12159 [C99-based-standards] (PRIXFAST64): Likewise.
12160 [C99-based-standards] (SCNdFAST64): Likewise.
12161 [C99-based-standards] (SCNiFAST64): Likewise.
12162 [C99-based-standards] (SCNoFAST64): Likewise.
12163 [C99-based-standards] (SCNuFAST64): Likewise.
12164 [C99-based-standards] (SCNxFAST64): Likewise.
12165 [C99-based-standards] (PRIdMAX): Likewise.
12166 [C99-based-standards] (PRIiMAX): Likewise.
12167 [C99-based-standards] (PRIoMAX): Likewise.
12168 [C99-based-standards] (PRIuMAX): Likewise.
12169 [C99-based-standards] (PRIxMAX): Likewise.
12170 [C99-based-standards] (PRIXMAX): Likewise.
12171 [C99-based-standards] (SCNdMAX): Likewise.
12172 [C99-based-standards] (SCNiMAX): Likewise.
12173 [C99-based-standards] (SCNoMAX): Likewise.
12174 [C99-based-standards] (SCNuMAX): Likewise.
12175 [C99-based-standards] (SCNxMAX): Likewise.
12176 [C99-based-standards] (PRIdPTR): Likewise.
12177 [C99-based-standards] (PRIiPTR): Likewise.
12178 [C99-based-standards] (PRIoPTR): Likewise.
12179 [C99-based-standards] (PRIuPTR): Likewise.
12180 [C99-based-standards] (PRIxPTR): Likewise.
12181 [C99-based-standards] (PRIXPTR): Likewise.
12182 [C99-based-standards] (SCNdPTR): Likewise.
12183 [C99-based-standards] (SCNiPTR): Likewise.
12184 [C99-based-standards] (SCNoPTR): Likewise.
12185 [C99-based-standards] (SCNuPTR): Likewise.
12186 [C99-based-standards] (SCNxPTR): Likewise.
12187 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12188 allow.
12189 * conform/data/stdint.h-data: Update comments to clarify
12190 requirements.
12191 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12192 type.
12193 [C99-based standards] (INT8_MAX): Likewise.
12194 [C99-based standards] (INT16_MIN): Likewise.
12195 [C99-based standards] (INT16_MAX): Likewise.
12196 [C99-based standards] (INT32_MIN): Likewise.
12197 [C99-based standards] (INT32_MAX): Likewise.
12198 [C99-based standards] (INT64_MIN): Likewise.
12199 [C99-based standards] (INT64_MAX): Likewise.
12200 [C99-based standards] (UINT8_MAX): Likewise.
12201 [C99-based standards] (UINT16_MAX): Likewise.
12202 [C99-based standards] (UINT32_MAX): Likewise.
12203 [C99-based standards] (UINT64_MAX): Likewise.
12204 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12205 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12206 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12207 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12208 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12209 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12210 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12211 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12212 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12213 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12214 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12215 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12216 [C99-based standards] (INT_FAST8_MIN): Likewise.
12217 [C99-based standards] (INT_FAST8_MAX): Likewise.
12218 [C99-based standards] (INT_FAST16_MIN): Likewise.
12219 [C99-based standards] (INT_FAST16_MAX): Likewise.
12220 [C99-based standards] (INT_FAST32_MIN): Likewise.
12221 [C99-based standards] (INT_FAST32_MAX): Likewise.
12222 [C99-based standards] (INT_FAST64_MIN): Likewise.
12223 [C99-based standards] (INT_FAST64_MAX): Likewise.
12224 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12225 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12226 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12227 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12228 [C99-based standards] (INTPTR_MIN): Likewise.
12229 [C99-based standards] (INTPTR_MAX): Likewise.
12230 [C99-based standards] (UINTPTR_MAX): Likewise.
12231 [C99-based standards] (INTMAX_MIN): Likewise.
12232 [C99-based standards] (INTMAX_MAX): Likewise.
12233 [C99-based standards] (UINTMAX_MAX): Likewise.
12234 [C99-based standards] (PTRDIFF_MIN): Likewise.
12235 [C99-based standards] (PTRDIFF_MAX): Likewise.
12236 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12237 [C99-based standards] (SIZE_MAX): Likewise.
12238 [C99-based standards] (WCHAR_MAX): Likewise.
12239 [C99-based standards] (WINT_MAX): Likewise.
12240 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12241 constraint on value.
12242 [C99-based standards] (WCHAR_MIN): Likewise.
12243 [C99-based standards] (WINT_MIN): Likewise.
12244 [C99-based standards] (*_t): Allow.
12245 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12246 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12247 Include math.h-data and complex.h-data. Remove all expectations
12248 of math.h and complex.h contents.
12249 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12250 at end of line.
12251 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12252 (struct tm): Expect tag.
12253 [C99-based-standards] (wcstof): Expect function.
12254 [C99-based-standards] (wcstold): Likewise.
12255 [C99-based-standards] (wcstoll): Likewise.
12256 [C99-based-standards] (wcstoull): Likewise.
12257 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12258 macro-int-constant. Specify type.
12259 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12260 constraint on value.
12261 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12262 Specify type.
12263 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12264 Specify value.
12265 [ISO C standards]: Do not allow headers.
12266 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12267 wcs[abcdefghijklmnopqrstuvwxyz]*.
12268 [ISO C standards] (*_t): Do not allow.
12269 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12270 Expect function.
12271 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12272 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12273 Specify type.
12274 [ISO C standards]: Do not allow headers.
12275 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12276 is[abcdefghijklmnopqrstuvwxyz]*.
12277 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12278 to[abcdefghijklmnopqrstuvwxyz]*.
12279 [ISO C standards] (*_t): Do not allow.
12280 * conform/data/stdalign.h-data: New file.
12281 * conform/data/stdbool.h-data: Likewise.
12282 * conform/data/stdnoreturn.h-data: Likewise.
12283
7514feb8
RM
122842012-11-07 Roland McGrath <roland@hack.frob.com>
12285
12286 [BZ #14815]
12287 * manual/filesys.texi (Directory Entries): Typo fix.
12288 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12289
19b2ecfc
MS
122902012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12291
12292 * elf/elf.h (EM_AARCH64): New macro.
12293 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12294 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12295 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12296 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12297 (R_AARCH64_TLSDESC): Likewise.
12298 (NT_ARM_TLS): Likewise.
12299 (NT_ARM_HW_BREAK): Likewise.
12300 (NT_ARM_HW_WATCH): Likewise.
12301
60e235ee
JM
123022012-11-07 Joseph Myers <joseph@codesourcery.com>
12303
12304 [BZ #14811]
12305 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12306 (__ieee754_powl): Saturate nonzero exponents with absolute value
12307 below 0x1p-79 to +/- 0x1p-79.
12308 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12309 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12310 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12311 nonzero exponents with absolute value below 0x1p-32 to +/-
12312 0x1p-32.
12313 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12314 (__ieee754_powl): Saturate nonzero exponents with absolute value
12315 below 0x1p-79 to +/- 0x1p-79.
12316 * math/libm-test.inc (pow_test): Add more tests.
12317
0ab234b7
AK
123182012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12319
12320 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12321 _dl_s390_cap_flags with kernel. Increase string length.
12322 (_dl_s390_platforms): Add z196 and zEC12.
12323
45832f74
JM
123242012-11-07 Joseph Myers <joseph@codesourcery.com>
12325
12326 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12327 Change XOPEN21K to XOPEN2K.
12328
19218757
MK
123292012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12330
12331 * string/memmove.c: Use memcpy when possible.
12332
c5f45721
AJ
123332012-11-06 Andreas Jaeger <aj@suse.de>
12334
12335 * po/eo.po: Update from translation team.
12336
82477c28
JM
123372012-11-06 Joseph Myers <joseph@codesourcery.com>
12338
12339 [BZ #14793]
12340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12341 exponent and small x and y exponents, scale x or y up. Increase
12342 by 2 the exponent used in scaling up.
12343 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12344 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12345 * math/libm-test.inc (fma_test): Add more tests.
12346 (fma_test_towardzero): Likewise.
12347 (fma_test_downward): Likewise.
12348 (fma_test_upward): Likewise.
12349
99252c8c
JM
123502012-11-05 Joseph Myers <joseph@codesourcery.com>
12351
acfa885f
JM
12352 [BZ #14805]
12353 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12354 fenv_t *.
12355
99252c8c
JM
12356 [BZ #14801]
12357 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12358 namespace for names of struct fields.
12359 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12360 fenv_t fields.
12361 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12362 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12363
d6d98dea
ST
123642012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12365
12366 [BZ #3665]
12367 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12368
e10bb107
TS
123692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12370
12371 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12372 PTR_DEMANGLE.
12373
12374 [BZ #5246]
12375 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12376 PTR_DEMANGLE.
12377
a0c2940d
JM
123782012-11-04 Joseph Myers <joseph@codesourcery.com>
12379
12380 [BZ #14797]
12381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12382 definitely overflow as x * y not x * y + z.
12383 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12384 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12385 * math/libm-test.inc (fma_test): Add more tests.
12386 (fma_test_towardzero): Likewise.
12387 (fma_test_downward): Likewise.
12388 (fma_test_upward): Likewise.
12389
b830319d
TS
123902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12391
12392 [BZ #157]
12393
12394 * include/stub-tag.h: Remove file.
12395 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12396 '#include' of it.
12397 * manual/maint.texi (Porting): Don't reference it.
12398 * Makerules ($(objpfx)stubs): Likewise.
12399 * dirent/closedir.c: Don't include <stub-tag.h>.
12400 * dirent/dirfd.c: Likewise.
12401 * dirent/fdopendir.c: Likewise.
12402 * dirent/getdents.c: Likewise.
12403 * dirent/getdents64.c: Likewise.
12404 * dirent/opendir.c: Likewise.
12405 * dirent/readdir.c: Likewise.
12406 * dirent/readdir64.c: Likewise.
12407 * dirent/readdir64_r.c: Likewise.
12408 * dirent/readdir_r.c: Likewise.
12409 * dirent/rewinddir.c: Likewise.
12410 * dirent/seekdir.c: Likewise.
12411 * dirent/telldir.c: Likewise.
12412 * gmon/profil.c: Likewise.
12413 * grp/setgroups.c: Likewise.
12414 * inet/if_index.c: Likewise.
12415 * io/access.c: Likewise.
12416 * io/chdir.c: Likewise.
12417 * io/chmod.c: Likewise.
12418 * io/chown.c: Likewise.
12419 * io/close.c: Likewise.
12420 * io/dup.c: Likewise.
12421 * io/dup2.c: Likewise.
12422 * io/dup3.c: Likewise.
12423 * io/euidaccess.c: Likewise.
12424 * io/faccessat.c: Likewise.
12425 * io/fchdir.c: Likewise.
12426 * io/fchmod.c: Likewise.
12427 * io/fchmodat.c: Likewise.
12428 * io/fchown.c: Likewise.
12429 * io/fchownat.c: Likewise.
12430 * io/fcntl.c: Likewise.
12431 * io/flock.c: Likewise.
12432 * io/fstatfs.c: Likewise.
12433 * io/fstatfs64.c: Likewise.
12434 * io/fstatvfs.c: Likewise.
12435 * io/fstatvfs64.c: Likewise.
12436 * io/futimens.c: Likewise.
12437 * io/fxstat.c: Likewise.
12438 * io/fxstat64.c: Likewise.
12439 * io/fxstatat.c: Likewise.
12440 * io/fxstatat64.c: Likewise.
12441 * io/getcwd.c: Likewise.
12442 * io/isatty.c: Likewise.
12443 * io/lchmod.c: Likewise.
12444 * io/lchown.c: Likewise.
12445 * io/link.c: Likewise.
12446 * io/linkat.c: Likewise.
12447 * io/lseek.c: Likewise.
12448 * io/lseek64.c: Likewise.
12449 * io/lxstat64.c: Likewise.
12450 * io/mkdir.c: Likewise.
12451 * io/mkdirat.c: Likewise.
12452 * io/mkfifo.c: Likewise.
12453 * io/mkfifoat.c: Likewise.
12454 * io/open.c: Likewise.
12455 * io/open64.c: Likewise.
12456 * io/openat.c: Likewise.
12457 * io/openat64.c: Likewise.
12458 * io/pipe.c: Likewise.
12459 * io/pipe2.c: Likewise.
12460 * io/poll.c: Likewise.
12461 * io/posix_fadvise.c: Likewise.
12462 * io/posix_fadvise64.c: Likewise.
12463 * io/posix_fallocate.c: Likewise.
12464 * io/posix_fallocate64.c: Likewise.
12465 * io/read.c: Likewise.
12466 * io/readlink.c: Likewise.
12467 * io/readlinkat.c: Likewise.
12468 * io/rmdir.c: Likewise.
12469 * io/sendfile.c: Likewise.
12470 * io/sendfile64.c: Likewise.
12471 * io/statfs.c: Likewise.
12472 * io/statfs64.c: Likewise.
12473 * io/statvfs.c: Likewise.
12474 * io/statvfs64.c: Likewise.
12475 * io/symlink.c: Likewise.
12476 * io/symlinkat.c: Likewise.
12477 * io/ttyname.c: Likewise.
12478 * io/ttyname_r.c: Likewise.
12479 * io/umask.c: Likewise.
12480 * io/unlink.c: Likewise.
12481 * io/unlinkat.c: Likewise.
12482 * io/utime.c: Likewise.
12483 * io/utimensat.c: Likewise.
12484 * io/write.c: Likewise.
12485 * io/xmknod.c: Likewise.
12486 * io/xmknodat.c: Likewise.
12487 * io/xstat.c: Likewise.
12488 * io/xstat64.c: Likewise.
12489 * login/getpt.c: Likewise.
12490 * login/grantpt.c: Likewise.
12491 * login/unlockpt.c: Likewise.
12492 * math/e_acoshl.c: Likewise.
12493 * math/e_acosl.c: Likewise.
12494 * math/e_asinl.c: Likewise.
12495 * math/e_atan2l.c: Likewise.
12496 * math/e_atanhl.c: Likewise.
12497 * math/e_coshl.c: Likewise.
12498 * math/e_expl.c: Likewise.
12499 * math/e_fmodl.c: Likewise.
12500 * math/e_gammal_r.c: Likewise.
12501 * math/e_hypotl.c: Likewise.
12502 * math/e_j0l.c: Likewise.
12503 * math/e_j1l.c: Likewise.
12504 * math/e_jnl.c: Likewise.
12505 * math/e_lgammal_r.c: Likewise.
12506 * math/e_log10l.c: Likewise.
12507 * math/e_log2l.c: Likewise.
12508 * math/e_logl.c: Likewise.
12509 * math/e_powl.c: Likewise.
12510 * math/e_rem_pio2l.c: Likewise.
12511 * math/e_sinhl.c: Likewise.
12512 * math/e_sqrtl.c: Likewise.
12513 * math/fclrexcpt.c: Likewise.
12514 * math/fedisblxcpt.c: Likewise.
12515 * math/feenablxcpt.c: Likewise.
12516 * math/fegetenv.c: Likewise.
12517 * math/fegetexcept.c: Likewise.
12518 * math/fegetround.c: Likewise.
12519 * math/feholdexcpt.c: Likewise.
12520 * math/fesetenv.c: Likewise.
12521 * math/fesetround.c: Likewise.
12522 * math/feupdateenv.c: Likewise.
12523 * math/fgetexcptflg.c: Likewise.
12524 * math/fraiseexcpt.c: Likewise.
12525 * math/fsetexcptflg.c: Likewise.
12526 * math/ftestexcept.c: Likewise.
12527 * math/k_cosl.c: Likewise.
12528 * math/k_rem_pio2l.c: Likewise.
12529 * math/k_sinl.c: Likewise.
12530 * math/k_tanl.c: Likewise.
12531 * math/s_asinhl.c: Likewise.
12532 * math/s_atanl.c: Likewise.
12533 * math/s_cbrtl.c: Likewise.
12534 * math/s_erfl.c: Likewise.
12535 * math/s_expm1l.c: Likewise.
12536 * math/s_log1pl.c: Likewise.
12537 * math/s_tanhl.c: Likewise.
12538 * misc/acct.c: Likewise.
12539 * misc/brk.c: Likewise.
12540 * misc/chflags.c: Likewise.
12541 * misc/chroot.c: Likewise.
12542 * misc/fchflags.c: Likewise.
12543 * misc/fgetxattr.c: Likewise.
12544 * misc/flistxattr.c: Likewise.
12545 * misc/fremovexattr.c: Likewise.
12546 * misc/fsetxattr.c: Likewise.
12547 * misc/fsync.c: Likewise.
12548 * misc/ftruncate.c: Likewise.
12549 * misc/futimes.c: Likewise.
12550 * misc/futimesat.c: Likewise.
12551 * misc/getdomain.c: Likewise.
12552 * misc/getdtsz.c: Likewise.
12553 * misc/gethostid.c: Likewise.
12554 * misc/gethostname.c: Likewise.
12555 * misc/getloadavg.c: Likewise.
12556 * misc/getpagesize.c: Likewise.
12557 * misc/getsysstats.c: Likewise.
12558 * misc/getxattr.c: Likewise.
12559 * misc/gtty.c: Likewise.
12560 * misc/ioctl.c: Likewise.
12561 * misc/lgetxattr.c: Likewise.
12562 * misc/listxattr.c: Likewise.
12563 * misc/llistxattr.c: Likewise.
12564 * misc/lremovexattr.c: Likewise.
12565 * misc/lsetxattr.c: Likewise.
12566 * misc/lutimes.c: Likewise.
12567 * misc/madvise.c: Likewise.
12568 * misc/mincore.c: Likewise.
12569 * misc/mlock.c: Likewise.
12570 * misc/mlockall.c: Likewise.
12571 * misc/mmap.c: Likewise.
12572 * misc/mprotect.c: Likewise.
12573 * misc/msync.c: Likewise.
12574 * misc/munlock.c: Likewise.
12575 * misc/munlockall.c: Likewise.
12576 * misc/munmap.c: Likewise.
12577 * misc/preadv.c: Likewise.
12578 * misc/preadv64.c: Likewise.
12579 * misc/ptrace.c: Likewise.
12580 * misc/pwritev.c: Likewise.
12581 * misc/pwritev64.c: Likewise.
12582 * misc/readv.c: Likewise.
12583 * misc/reboot.c: Likewise.
12584 * misc/remap_file_pages.c: Likewise.
12585 * misc/removexattr.c: Likewise.
12586 * misc/revoke.c: Likewise.
12587 * misc/select.c: Likewise.
12588 * misc/setdomain.c: Likewise.
12589 * misc/setegid.c: Likewise.
12590 * misc/seteuid.c: Likewise.
12591 * misc/sethostid.c: Likewise.
12592 * misc/sethostname.c: Likewise.
12593 * misc/setregid.c: Likewise.
12594 * misc/setreuid.c: Likewise.
12595 * misc/setxattr.c: Likewise.
12596 * misc/sstk.c: Likewise.
12597 * misc/stty.c: Likewise.
12598 * misc/swapoff.c: Likewise.
12599 * misc/swapon.c: Likewise.
12600 * misc/sync.c: Likewise.
12601 * misc/syncfs.c: Likewise.
12602 * misc/syscall.c: Likewise.
12603 * misc/truncate.c: Likewise.
12604 * misc/ualarm.c: Likewise.
12605 * misc/usleep.c: Likewise.
12606 * misc/ustat.c: Likewise.
12607 * misc/utimes.c: Likewise.
12608 * misc/vhangup.c: Likewise.
12609 * misc/writev.c: Likewise.
12610 * posix/_exit.c: Likewise.
12611 * posix/alarm.c: Likewise.
12612 * posix/execve.c: Likewise.
12613 * posix/fexecve.c: Likewise.
12614 * posix/fork.c: Likewise.
12615 * posix/fpathconf.c: Likewise.
12616 * posix/getaddrinfo.c: Likewise.
12617 * posix/getegid.c: Likewise.
12618 * posix/geteuid.c: Likewise.
12619 * posix/getgid.c: Likewise.
12620 * posix/getgroups.c: Likewise.
12621 * posix/getlogin.c: Likewise.
12622 * posix/getlogin_r.c: Likewise.
12623 * posix/getpgid.c: Likewise.
12624 * posix/getpid.c: Likewise.
12625 * posix/getppid.c: Likewise.
12626 * posix/getresgid.c: Likewise.
12627 * posix/getresuid.c: Likewise.
12628 * posix/getsid.c: Likewise.
12629 * posix/getuid.c: Likewise.
12630 * posix/glob64.c: Likewise.
12631 * posix/nanosleep.c: Likewise.
12632 * posix/pathconf.c: Likewise.
12633 * posix/pause.c: Likewise.
12634 * posix/posix_madvise.c: Likewise.
12635 * posix/pread.c: Likewise.
12636 * posix/pread64.c: Likewise.
12637 * posix/pwrite.c: Likewise.
12638 * posix/pwrite64.c: Likewise.
12639 * posix/sched_getaffinity.c: Likewise.
12640 * posix/sched_getp.c: Likewise.
12641 * posix/sched_gets.c: Likewise.
12642 * posix/sched_primax.c: Likewise.
12643 * posix/sched_primin.c: Likewise.
12644 * posix/sched_rr_gi.c: Likewise.
12645 * posix/sched_setaffinity.c: Likewise.
12646 * posix/sched_setp.c: Likewise.
12647 * posix/sched_sets.c: Likewise.
12648 * posix/sched_yield.c: Likewise.
12649 * posix/setgid.c: Likewise.
12650 * posix/setlogin.c: Likewise.
12651 * posix/setpgid.c: Likewise.
12652 * posix/setresgid.c: Likewise.
12653 * posix/setresuid.c: Likewise.
12654 * posix/setsid.c: Likewise.
12655 * posix/setuid.c: Likewise.
12656 * posix/sleep.c: Likewise.
12657 * posix/spawni.c: Likewise.
12658 * posix/sysconf.c: Likewise.
12659 * posix/times.c: Likewise.
12660 * posix/wait.c: Likewise.
12661 * posix/wait3.c: Likewise.
12662 * posix/wait4.c: Likewise.
12663 * posix/waitpid.c: Likewise.
12664 * resolv/gai_sigqueue.c: Likewise.
12665 * resource/getpriority.c: Likewise.
12666 * resource/getrlimit.c: Likewise.
12667 * resource/getrusage.c: Likewise.
12668 * resource/nice.c: Likewise.
12669 * resource/setpriority.c: Likewise.
12670 * resource/setrlimit.c: Likewise.
12671 * resource/ulimit.c: Likewise.
12672 * rt/aio_cancel.c: Likewise.
12673 * rt/aio_fsync.c: Likewise.
12674 * rt/aio_read.c: Likewise.
12675 * rt/aio_sigqueue.c: Likewise.
12676 * rt/aio_suspend.c: Likewise.
12677 * rt/aio_write.c: Likewise.
12678 * rt/clock_getres.c: Likewise.
12679 * rt/clock_gettime.c: Likewise.
12680 * rt/clock_nanosleep.c: Likewise.
12681 * rt/clock_settime.c: Likewise.
12682 * rt/lio_listio.c: Likewise.
12683 * rt/mq_close.c: Likewise.
12684 * rt/mq_getattr.c: Likewise.
12685 * rt/mq_notify.c: Likewise.
12686 * rt/mq_open.c: Likewise.
12687 * rt/mq_receive.c: Likewise.
12688 * rt/mq_send.c: Likewise.
12689 * rt/mq_setattr.c: Likewise.
12690 * rt/mq_timedreceive.c: Likewise.
12691 * rt/mq_timedsend.c: Likewise.
12692 * rt/mq_unlink.c: Likewise.
12693 * rt/shm_open.c: Likewise.
12694 * rt/shm_unlink.c: Likewise.
12695 * rt/timer_create.c: Likewise.
12696 * rt/timer_delete.c: Likewise.
12697 * rt/timer_getoverr.c: Likewise.
12698 * rt/timer_gettime.c: Likewise.
12699 * rt/timer_settime.c: Likewise.
12700 * setjmp/__longjmp.c: Likewise.
12701 * setjmp/setjmp.c: Likewise.
12702 * signal/kill.c: Likewise.
12703 * signal/killpg.c: Likewise.
12704 * signal/raise.c: Likewise.
12705 * signal/sigaction.c: Likewise.
12706 * signal/sigaltstack.c: Likewise.
12707 * signal/sigblock.c: Likewise.
12708 * signal/sigignore.c: Likewise.
12709 * signal/sigintr.c: Likewise.
12710 * signal/signal.c: Likewise.
12711 * signal/sigpause.c: Likewise.
12712 * signal/sigpending.c: Likewise.
12713 * signal/sigqueue.c: Likewise.
12714 * signal/sigreturn.c: Likewise.
12715 * signal/sigset.c: Likewise.
12716 * signal/sigsetmask.c: Likewise.
12717 * signal/sigstack.c: Likewise.
12718 * signal/sigsuspend.c: Likewise.
12719 * signal/sigtimedwait.c: Likewise.
12720 * signal/sigvec.c: Likewise.
12721 * signal/sigwait.c: Likewise.
12722 * signal/sigwaitinfo.c: Likewise.
12723 * signal/sysv_signal.c: Likewise.
12724 * socket/accept.c: Likewise.
12725 * socket/accept4.c: Likewise.
12726 * socket/bind.c: Likewise.
12727 * socket/connect.c: Likewise.
12728 * socket/getpeername.c: Likewise.
12729 * socket/getsockname.c: Likewise.
12730 * socket/getsockopt.c: Likewise.
12731 * socket/isfdtype.c: Likewise.
12732 * socket/listen.c: Likewise.
12733 * socket/recv.c: Likewise.
12734 * socket/recvfrom.c: Likewise.
12735 * socket/recvmsg.c: Likewise.
12736 * socket/send.c: Likewise.
12737 * socket/sendmsg.c: Likewise.
12738 * socket/sendto.c: Likewise.
12739 * socket/setsockopt.c: Likewise.
12740 * socket/shutdown.c: Likewise.
12741 * socket/sockatmark.c: Likewise.
12742 * socket/socket.c: Likewise.
12743 * socket/socketpair.c: Likewise.
12744 * stdio-common/ctermid.c: Likewise.
12745 * stdio-common/cuserid.c: Likewise.
12746 * stdio-common/remove.c: Likewise.
12747 * stdio-common/rename.c: Likewise.
12748 * stdio-common/renameat.c: Likewise.
12749 * stdio-common/tempname.c: Likewise.
12750 * stdlib/getcontext.c: Likewise.
12751 * stdlib/makecontext.c: Likewise.
12752 * stdlib/setcontext.c: Likewise.
12753 * stdlib/swapcontext.c: Likewise.
12754 * stdlib/system.c: Likewise.
12755 * streams/fattach.c: Likewise.
12756 * streams/fdetach.c: Likewise.
12757 * streams/getmsg.c: Likewise.
12758 * streams/getpmsg.c: Likewise.
12759 * streams/putmsg.c: Likewise.
12760 * streams/putpmsg.c: Likewise.
12761 * sysdeps/unix/bsd/getpt.c: Likewise.
12762 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12763 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12764 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12766 Likewise.
12767 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12768 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12769 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12770 * sysvipc/msgctl.c: Likewise.
12771 * sysvipc/msgget.c: Likewise.
12772 * sysvipc/msgrcv.c: Likewise.
12773 * sysvipc/msgsnd.c: Likewise.
12774 * sysvipc/semctl.c: Likewise.
12775 * sysvipc/semget.c: Likewise.
12776 * sysvipc/semop.c: Likewise.
12777 * sysvipc/semtimedop.c: Likewise.
12778 * sysvipc/shmat.c: Likewise.
12779 * sysvipc/shmctl.c: Likewise.
12780 * sysvipc/shmdt.c: Likewise.
12781 * sysvipc/shmget.c: Likewise.
12782 * termios/tcdrain.c: Likewise.
12783 * termios/tcflow.c: Likewise.
12784 * termios/tcflush.c: Likewise.
12785 * termios/tcgetattr.c: Likewise.
12786 * termios/tcgetpgrp.c: Likewise.
12787 * termios/tcsendbrk.c: Likewise.
12788 * termios/tcsetattr.c: Likewise.
12789 * termios/tcsetpgrp.c: Likewise.
12790 * time/adjtime.c: Likewise.
12791 * time/clock.c: Likewise.
12792 * time/getitimer.c: Likewise.
12793 * time/gettimeofday.c: Likewise.
12794 * time/setitimer.c: Likewise.
12795 * time/settimeofday.c: Likewise.
12796 * time/stime.c: Likewise.
12797 * time/time.c: Likewise.
12798
127992012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12800
a20492cf
PT
12801 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12802 /usr/old/bin.
12803
72e182e3
PT
12804 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12805 instead of spaces.
12806 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12807
fbeafede
JM
128082012-11-03 Joseph Myers <joseph@codesourcery.com>
12809
5b5b04d6
JM
12810 [BZ #14796]
12811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12812 FE_TONEAREST before applying Dekker multiplication and Knuth
12813 addition. Clear inexact exceptions and check for exact zero
12814 results afterwards.
12815 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12816 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12817 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12818 * math/libm-test.inc (fma_test): Add more tests.
12819 (fma_test_towardzero): Likewise.
12820 (fma_test_downward): Likewise.
12821 (fma_test_upward): Likewise.
12822 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12823 function.
12824 (libc_fesetround): New macro.
12825 (libc_fesetroundf): Likewise.
12826 (libc_fesetroundl): Likewise.
12827 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12828 function.
12829 (libc_fesetround_387): Likewise.
12830 (libc_fesetroundf): New macro.
12831 (libc_fesetround): Likewise.
12832 (libc_fesetroundl): Likewise.
12833 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12834 function.
12835 (libc_fesetroundf): New macro.
12836 (libc_fesetround): Likewise.
12837 (libc_fesetroundl): Likewise.
12838 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12839 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12840 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12841 libm_hidden_ver.
12842 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12843 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12844 libm_hidden_def.
12845 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12846 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12847 libm_hidden_ver.
12848 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12849 libm_hidden_def.
12850
fbeafede
JM
12851 [BZ #3439]
12852 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12853 integer constant usable in #if and use that to give value to enum
12854 constant.
12855 (FE_DIVBYZERO): Likewise.
12856 (FE_UNDERFLOW): Likewise.
12857 (FE_OVERFLOW): Likewise.
12858 (FE_INVALID): Likewise.
12859 (FE_INVALID_SNAN): Likewise.
12860 (FE_INVALID_ISI): Likewise.
12861 (FE_INVALID_IDI): Likewise.
12862 (FE_INVALID_ZDZ): Likewise.
12863 (FE_INVALID_IMZ): Likewise.
12864 (FE_INVALID_COMPARE): Likewise.
12865 (FE_INVALID_SOFTWARE): Likewise.
12866 (FE_INVALID_SQRT): Likewise.
12867 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12868 (FE_TONEAREST): Likewise.
12869 (FE_TOWARDZERO): Likewise.
12870 (FE_UPWARD): Likewise.
12871 (FE_DOWNWARD): Likewise.
12872 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12873 (FE_DIVBYZERO): Likewise.
12874 (FE_OVERFLOW): Likewise.
12875 (FE_UNDERFLOW): Likewise.
12876 (FE_INEXACT): Likewise.
12877 (FE_TONEAREST): Likewise.
12878 (FE_DOWNWARD): Likewise.
12879 (FE_UPWARD): Likewise.
12880 (FE_TOWARDZERO): Likewise.
12881 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12882 (FE_UNDERFLOW): Likewise.
12883 (FE_OVERFLOW): Likewise.
12884 (FE_DIVBYZERO): Likewise.
12885 (FE_INVALID): Likewise.
12886 (FE_TONEAREST): Likewise.
12887 (FE_TOWARDZERO): Likewise.
12888 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12889 (FE_OVERFLOW): Likewise.
12890 (FE_UNDERFLOW): Likewise.
12891 (FE_DIVBYZERO): Likewise.
12892 (FE_INEXACT): Likewise.
12893 (FE_TONEAREST): Likewise.
12894 (FE_TOWARDZERO): Likewise.
12895 (FE_UPWARD): Likewise.
12896 (FE_DOWNWARD): Likewise.
12897 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12898 (FE_DIVBYZERO): Likewise.
12899 (FE_OVERFLOW): Likewise.
12900 (FE_UNDERFLOW): Likewise.
12901 (FE_INEXACT): Likewise.
12902 (FE_TONEAREST): Likewise.
12903 (FE_DOWNWARD): Likewise.
12904 (FE_UPWARD): Likewise.
12905 (FE_TOWARDZERO): Likewise.
12906
105ca950
CM
129072012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12908
12909 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12910
a542b389
AS
129112012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12912
12913 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12914 commands. Quote $PWD.
12915 (blacklist_exports): Don't use remove_newlines. Replace "declare
12916 -x" by "export".
12917 (remove_newlines): Remove.
12918
f62c8abc
L
129192012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12920
12921 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12922 * stdlib/stdlib.h (atof): Moved to ...
12923 * include/bits/stdlib-float.h: Here. New file.
12924 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12925 * stdlib/bits/stdlib-float.h: New file.
12926 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12927 -mno-sse -mno-mmx.
12928 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12929 <xmmintrin.h>.
12930
0155d5b2
JM
129312012-11-02 Joseph Myers <joseph@codesourcery.com>
12932
a68d0680
JM
12933 * conform/conformtest.pl (@headers): Add fenv.h.
12934 * conform/data/fenv.h-data: New file.
12935 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12936 include of <math/fenv.h>.
12937
caf7f573
JM
12938 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12939 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12940 && !UNIX98]. Enables tests for XOPEN2K8.
12941 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12942 POSIX2008]: Likewise.
12943
6c073ad6
JM
12944 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12945 (struct rusage): Do not expect type or its members.
12946
0155d5b2
JM
12947 [BZ #3439]
12948 * math/math.h (FP_NAN): Define macro to integer constant usable in
12949 #if and use that to give value to enum constant.
12950 (FP_INFINITE): Likewise.
12951 (FP_ZERO): Likewise.
12952 (FP_SUBNORMAL): Likewise.
12953 (FP_NORMAL): Likewise.
12954
b5dcacb4
AS
129552012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12956
12957 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12958 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12959 arguments.
12960
f7934be8
RM
129612012-11-02 Roland McGrath <roland@hack.frob.com>
12962
12963 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12964 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12965 autoconf-time if not.
12966 * configure.in: Remove AC_PREREQ.
12967
d7d08bde
TMQMF
129682012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12969
12970 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12971 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12972 of the internal implementation.
12973
dcdae19a
JM
129742012-11-02 Joseph Myers <joseph@codesourcery.com>
12975
12976 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12977 except include of <misc/sys/syslog.h>.
12978
d6cffd3e
AS
129792012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12980
12981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12982 function returns with a NULL context exit with zero.
12983
b3563932
TMQMF
129842012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12985
12986 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12987
b288a93d
L
129882012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12989
12990 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12991 (run_program_cmd): This.
12992 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12993 (tst_langinfo): New variable. Use it.
12994
a2421a68
SAS
129952012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12996
12997 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12998 floating point opcodes.
12999
6f796e1b
TS
130002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13001
7402596b
TS
13002 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13003 variable.
13004
d0d4f868
TS
13005 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13006
6f796e1b
TS
13007 * sysdeps/mach/hurd/powerpc: Remove directory.
13008 * sysdeps/mach/powerpc: Likewise.
13009
4da224a2
AS
130102012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13011
13012 * scripts/check-local-headers.sh: Ignore c++ headers.
13013
341dd673
TS
130142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13015
13016 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13017 __libc_cleanup_region_start argument.
13018
473611b2
JM
130192012-11-01 Joseph Myers <joseph@codesourcery.com>
13020
13021 [BZ #14784]
13022 [BZ #14785]
13023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13024 x * y using scaling, not as x * y + z.
13025 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13026 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13027 * math/libm-test.inc (fma_test): Add more tests.
13028 (fma_test_towardzero): Likewise.
13029 (fma_test_downward): Likewise.
13030 (fma_test_upward): Likewise.
13031
4078da3d
TS
130322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13033
13034 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13035
903252aa
JM
130362012-10-31 Joseph Myers <joseph@codesourcery.com>
13037
13038 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13039 New variable.
13040
cbc818d0
TS
130412012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13042
13043 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13044
5a03cb1e
AS
130452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13046
13047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13048 Fix sort order.
13049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13050 Likewise.
13051
90aff2ff
TMQMF
130522012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13053
13054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13055 Fix the order of the list for glibc 2.17.
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13057 Likewise.
13058
1818fcb7
AS
130592012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13060
13061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13062
ef82f4da
JM
130632012-10-31 Joseph Myers <joseph@codesourcery.com>
13064
16a0e2ec
JM
13065 [BZ #14610]
13066 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13067 for low part of x being zero before using __atanl (y).
13068 * math/libm-test.inc (atan2_test): Add another test.
13069
0eb69512
JM
13070 * manual/install.texi (Configuring and compiling): Document
13071 general use of test-wrapper and test-wrapper-env.
13072 * INSTALL: Regenerated.
13073
ef82f4da
JM
13074 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13075 (__fma): Do not extract and scale down low bits on after-rounding
13076 systems when result rounded to normal precision would have normal
13077 exponent.
13078 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13079 (__fmal): Do not extract and scale down low bits on after-rounding
13080 systems when result rounded to normal precision would have normal
13081 exponent.
13082 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13083 (__fmal): Do not extract and scale down low bits on after-rounding
13084 systems when result rounded to normal precision would have normal
13085 exponent.
13086 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13087 macro.
13088 (fma_test): Add more tests.
13089 (fma_test_towardzero): Likewise.
13090 (fma_test_downward): Likewise.
13091 (fma_test_upward): Likewise.
13092
954ef0d9
L
130932012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13094
13095 * sysdeps/i386/tininess.h: Renamed to ...
13096 * sysdeps/x86/tininess.h: This.
13097 * sysdeps/x86_64/tininess.h: Removed.
13098
df61ffb2
JM
130992012-10-30 Joseph Myers <joseph@codesourcery.com>
13100
13101 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13102 input. Use $(build-program-cmd).
13103 ($(objpfx)tst-array1-static.out): Likewise.
13104 ($(objpfx)tst-array2.out): Likewise.
13105 ($(objpfx)tst-array3.out): Likewise.
13106 ($(objpfx)tst-array4.out): Likewise.
13107 ($(objpfx)tst-array5.out): Likewise.
13108 ($(objpfx)tst-array5-static.out): Likewise.
13109
01767843
CM
131102012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13111
47cc1490
CM
13112 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13113 if defined.
13114
01767843
CM
13115 * nss/nsswitch.h (nss_interface_function): Provide new
13116 macro for use with NSS functions.
13117 * grp/initgroups.c: Use new macro.
13118 * nss/getXXbyYY.c: Likewise.
13119 * nss/getXXbyYY_r.c: Likewise.
13120 * nss/getXXent.c: Likewise.
13121 * nss/getXXent_r.c: Likewise.
13122 * sysdeps/posix/getaddrinfo.c: Likewise.
13123
8321aa97
AJ
131242012-10-30 Andreas Jaeger <aj@suse.de>
13125
13126 * po/ru.po: Update Russion translation from translation project.
13127
2a27fd6d
JM
131282012-10-30 Joseph Myers <joseph@codesourcery.com>
13129
8627a232
JM
13130 [BZ #14152]
13131 [BZ #14783]
13132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13133 result and shift together with sticky bit instead of replicating
13134 round-to-nearest rounding.
13135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13136 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13137 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13138 missing underflow exceptions.
13139 (fma_test_towardzero): Add more tests.
13140 (fma_test_downward): Likewise.
13141 (fma_test_upward): Likewise.
13142
2a27fd6d
JM
13143 [BZ #14047]
13144 * sysdeps/generic/tininess.h: New file.
13145 * sysdeps/i386/tininess.h: Likewise.
13146 * sysdeps/sh/tininess.h: Likewise.
13147 * sysdeps/x86_64/tininess.h: Likewise.
13148 * stdlib/tst-strtod-underflow.c: Likewise.
13149 * stdlib/tst-tininess.c: Likewise.
13150 * stdlib/strtod_l.c: Include <tininess.h>.
13151 (round_and_return): Do not set errno for exact underflow cases.
13152 Force an underflow exception when setting errno for underflow.
13153 Determine underflow based on rounding to normal precision if
13154 TININESS_AFTER_ROUNDING.
13155 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13156 ERANGE for exact underflow cases.
13157 * stdlib/Makefile (tests): Add tst-tininess and
13158 tst-strtod-underflow.
13159 ($(objpfx)tst-tininess): Use $(link-libm).
13160 ($(objpfx)tst-strtod-underflow): Likewise.
13161
e7170363
AJ
131622012-10-30 Andreas Jaeger <aj@suse.de>
13163
e5088dc6
AJ
13164 [BZ#14767]
13165 * elf/Makefile (tests): Remove conditional for have-initfini-array
13166 since this is now always required and the variable does not exist
13167 anymore.
13168 (tests-static): Likewise.
13169 (modules-names): Likewise.
13170
e7170363 13171 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
13172
13173 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13174 merged with constructor/destructor.
13175 (init_array): Likewise.
13176 * elf/tst-array2dep.c (fini_array): Likewise.
13177 (init_array): Likewise.
13178
60457d8a
MF
131792012-10-29 Mike Frysinger <vapier@gentoo.org>
13180
13181 * manual/message.texi: Delete @cartouche tags.
13182
8bece752
PT
131832012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13184
94ce799f
PT
13185 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13186 EOPNOTSUPP.
13187 * sysdeps/mach/hurd/fsync.c: Likewise.
13188
8bece752
PT
13189 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13190 [_POSIX_REALTIME_SIGNALS]: Change condition to
13191 [_POSIX_REALTIME_SIGNALS > 0].
13192
86ebe6b1
AJ
131932012-10-27 Andreas Jaeger <aj@suse.de>
13194
13195 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13196 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13197 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13198 [__WORDSIZE != 64]: Likewise.
13199
54399c08
L
132002012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13201
13202 * iconvdata/tst-table.sh: Remove ${SHELL}.
13203 * iconvdata/tst-tables.sh: Likewise.
13204
e2211bed
DM
132052012-10-25 David S. Miller <davem@davemloft.net>
13206
13207 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13208 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13209 of strtoull.
13210
f303f97c
DM
13211 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13212 ifunc-impl-list.c
13213 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13214 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13215 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13216 file.
13217
1e9d84cd
RM
132182012-10-25 Roland McGrath <roland@hack.frob.com>
13219
13220 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13221 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13222 __getdirentries.
13223
df381762
JM
132242012-10-25 Joseph Myers <joseph@codesourcery.com>
13225 Jim Blandy <jimb@codesourcery.com>
13226
13227 * scripts/cross-test-ssh.sh: New file.
13228 * manual/install.texi (Configuring and compiling): Document use of
13229 cross-test-ssh.sh.
13230 * INSTALL: Regenerated.
13231
bff64913
PT
132322012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13233
13234 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13235 EOPNOTSUPP.
13236
25fe8932
JM
132372012-10-25 Joseph Myers <joseph@codesourcery.com>
13238
13239 * Makeconfig (run-program-prefix): Fix comment.
13240
cc1290d0
JM
132412012-10-24 Joseph Myers <joseph@codesourcery.com>
13242 Jim Blandy <jimb@codesourcery.com>
13243
13244 * Makeconfig (test-wrapper): New variable,
13245 (test-wrapper-env): Likewise.
13246 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13247 (run-built-tests): Define to yes.
13248 (run-program-prefix): Use $(test-wrapper).
13249 (built-program-cmd): Likewise.
13250 * Rules (make-test-out): Use $(test-wrapper-env) and
13251 $(host-built-program-cmd).
13252 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13253 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13254 tst-pathopt.sh.
13255 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13256 $(test-wrapper-env) to tst-rtld-load-self.sh.
13257 ($(objpfx)order2.out): Use $(test-wrapper).
13258 ($(objpfx)tst-initorder.out): Likewise.
13259 ($(objpfx)tst-initorder2.out): Likewise.
13260 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13261 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13262 (test_wrapper_env): New variable. Use it to run ld.so.
13263 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13264 Use it to run ld.so.
13265 (test_wrapper_env): Likewise.
13266 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13267 $(test-wrapper) to run-iconv-test.sh.
13268 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13269 (ICONV): Use $test_wrapper.
13270 * posix/Makefile ($(objpfx)globtest.out): Pass
13271 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13272 globtest.sh, not $(run-program-prefix).
13273 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13274 (test_wrapper): Likewise.
13275 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13276 set together with run_via_rtld_prefix.
13277 (run_program_prefix): Define in terms of test_wrapper and
13278 run_via_rtld_prefix.
13279
6e6249d0
RM
132802012-10-24 Roland McGrath <roland@hack.frob.com>
13281
13282 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13283 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13284 Targets removed.
13285
13286 [BZ #14743]
13287 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13288 Declare __clock_getres, __clock_gettime, __clock_settime,
13289 __clock_nanosleep, and __clock_getcpuclockid.
13290 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13291 Remove librt_hidden_def (clock_gettime).
13292 * sysdeps/unix/clock_gettime.c: Likewise.
13293 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13294 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13295 * rt/clock_getres.c: Define __clock_getres as an alias.
13296 * sysdeps/posix/clock_getres.c: Likewise.
13297 * rt/clock_settime.c: Define __clock_settime as an alias.
13298 * sysdeps/unix/clock_settime.c: Likewise.
13299 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13300 * sysdeps/unix/clock_nanosleep.c: Likewise.
13301 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13302 * rt/clock-compat.c: New file.
13303 * rt/Makefile (librt-routines): Add clock-compat and move
13304 $(clock-routines) to ...
13305 (routines): ... here, new variable.
13306 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13307 Don't add get_clockfreq here.
13308 * rt/Versions (libc: GLIBC_2.17): New version set.
13309 Add clock_* symbols here.
13310 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13311 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13312 (GLIBC_2.17): Add clock_* symbols.
13313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13315 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13317 Likewise.
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13319 Likewise.
13320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13324 * NEWS: Mention the move.
13325
13326 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13327 Use __open, __read, __close rather than their public counterparts.
13328 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13329 (__get_clockfreq_via_cpuinfo): Likewise.
13330 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13331 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13332
13333 * config.h.in (HAVE_IFUNC): New #undef.
13334 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13335 was successful.
13336 * configure: Regenerated.
13337
0cae3f4b
MF
133382012-10-24 Mike Frysinger <vapier@gentoo.org>
13339
13340 * configure.in: Move READELF check to start of file.
13341 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13342 libc_cv_asm_gnu_indirect_function in the process.
13343 * configure: Regenerated.
13344
8175a253
MF
133452012-10-24 Mike Frysinger <vapier@gentoo.org>
13346
13347 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13348 send the output to /dev/null.
13349 (libc_cv_cc_with_libunwind): Likewise.
13350 (libc_cv_as_noexecstack): Likewise.
13351 * configure: Regenerate.
13352
0708a7d1
JM
133532012-10-24 Joseph Myers <joseph@codesourcery.com>
13354
10b40d85
JM
13355 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13356
0708a7d1
JM
13357 * posix/globtest.sh (TMPDIR): Do not set.
13358 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13359 (testout): Likewise.
13360
9fddec1a
AJ
133612012-10-24 Andreas Jaeger <aj@suse.de>
13362
3a8db22f
AJ
13363 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13364 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13365 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13366 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13367 posix_fadvise64, posix_fallocate64.
13368
9fddec1a
AJ
13369 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13370 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13371 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13372 Likewise.
13373 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13374 Likewise.
13375 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13376
13377 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13378 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13379 <bits/fcntl-linux.h>.
13380 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13381
13382 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13383 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13384 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13385 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13386 [__WORDSIZE != 64]: Likewise.
13387
ebfd1bbd
JM
133882012-10-23 Joseph Myers <joseph@codesourcery.com>
13389
03ac099f
JM
13390 * Makeconfig (run-built-tests): New variable.
13391 * Rules [$(cross-compiling) = yes]: Change condition to
13392 [$(run-built-tests) = no].
13393 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13394 to [$(run-built-tests) = yes].
13395 * elf/Makefile [$(cross-compiling) = no]: Likewise
13396 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13397 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13398 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13399 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13400 * io/Makefile [$(cross-compiling) = no]: Likewise.
13401 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13402 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13403 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13404 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13405 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13406 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13407 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13408 * string/Makefile [$(cross-compiling) = no]: Likewise.
13409
ebfd1bbd
JM
13410 * posix/Makefile ($(objpfx)globtest.out): Pass
13411 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13412 $(rtld-installed-name).
13413 * posix/globtest.sh (elf_objpfx): Remove variable.
13414 (rtld_installed_name): Likewise.
13415 (library_path): Likewise.
13416 (run_program_prefix): New variable. Use for running globtest
13417 binary.
13418
166bca24
JB
134192012-10-23 Jim Blandy <jimb@codesourcery.com>
13420 Joseph Myers <joseph@codesourcery.com>
13421
13422 * Makeconfig (host-built-program-cmd): New variable.
13423 * elf/Makefile (tst-stackguard1-ARGS): Use
13424 $(host-built-program-cmd).
13425 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13426 (tst-spawn-ARGS): Likewise.
13427 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13428
88866099
JM
134292012-10-23 Joseph Myers <joseph@codesourcery.com>
13430 Jim Blandy <jimb@codesourcery.com>
13431
13432 * Makeconfig (run-via-rtld-prefix): New variable.
13433 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13434 (built-program-cmd): Likewise.
13435
b4b4c296
AJ
134362012-10-22 Andreas Jaeger <aj@suse.de>
13437
13438 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13439 __O_RSYNC if it exists, otherwise to O_SYNC.
13440
6fb54a22
JB
134412012-10-22 Jim Blandy <jimb@codesourcery.com>
13442 Joseph Myers <joseph@codesourcery.com>
13443
13444 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13445 /dev/null.
13446 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13447 from /dev/null
13448 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13449 /dev/null.
13450
481b90b9
AJ
134512012-10-22 Andreas Jaeger <aj@suse.de>
13452
2a0e2669
AJ
13453 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13454 Define always.
13455 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13456
76e38f9a
AJ
13457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13458 bits/fcntl-linux.h.
13459
7cd37b43
AJ
13460 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13461 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13462
481b90b9
AJ
13463 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13464 to __O_LARGEFILE.
13465 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13466 to __O_LARGEFILE.
13467
aba75984
JB
134682012-10-21 Jim Blandy <jimb@codesourcery.com>
13469 Joseph Myers <joseph@codesourcery.com>
13470
13471 * config.make.in (NM): New variable.
13472
88d4247f
AJ
134732012-10-21 Andreas Jaeger <aj@suse.de>
13474
13475 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13476 definitions and declarations that are provided by
13477 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13478
f2eed205
L
134792012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13480
13481 [BZ #14683]
13482 * elf/Makefile (tests-static): Add tst-leaks1-static.
13483 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13484 ($(objpfx)tst-leaks1-static): New rule.
13485 ($(objpfx)tst-leaks1-static-mem): Likewise.
13486 (tst-leaks1-static-ENV): New macro.
13487 * elf/dl-open.c (dl_open_worker): Check the main application
13488 only if SHARED is defined.
13489 * elf/tst-leaks1-static.c: New file.
13490
335e6931
AJ
134912012-10-20 Andreas Jaeger <aj@suse.de>
13492
13493 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13494 generic values for Linux.
13495 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13496 and declarations that are provided by <bits/fcntl-linux.h> and
13497 include <bits/fcntl-linux.h>.
13498 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13499 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13500
ac5c94d3
RM
135012012-10-20 Roland McGrath <roland@hack.frob.com>
13502
13503 * io/fcntl.h: Move include of <bits/types.h> to the top and
13504 include it unconditionally.
13505
de54b33a
L
135062012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13507
228cfb01
L
13508 * wcsmbs/Makefile (tests-ifunc): New variable.
13509 (tests): Add $(tests-ifunc).
13510 * wcsmbs/test-wcschr-ifunc.c: New file.
13511 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13512 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13513 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13514 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13515 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13516
69f07e5f
L
13517 * string/Makefile (tests-ifunc): New variable.
13518 (tests): Add $(tests-ifunc).
13519 * string/test-memccpy.c (TEST_NAME): New macro.
13520 * string/test-memchr.c (TEST_NAME): Likewise.
13521 * string/test-memcmp.c (TEST_NAME): Likewise.
13522 * string/test-memcpy.c (TEST_NAME): Likewise.
13523 * string/test-memmem.c (TEST_NAME): Likewise.
13524 * string/test-memmove.c (TEST_NAME): Likewise.
13525 * string/test-memset.c (TEST_NAME): Likewise.
13526 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13527 * string/test-stpcpy.c (TEST_NAME): Likewise.
13528 * string/test-stpncpy.c (TEST_NAME): Likewise.
13529 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13530 * string/test-strcasestr.c (TEST_NAME): Likewise.
13531 * string/test-strcat.c (TEST_NAME): Likewise.
13532 * string/test-strchr.c (TEST_NAME): Likewise.
13533 * string/test-strcmp.c(TEST_NAME): Likewise.
13534 * string/test-strcpy.c (TEST_NAME): Likewise.
13535 * string/test-strcspn.c (TEST_NAME): Likewise.
13536 * string/test-strlen.c (TEST_NAME): Likewise.
13537 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13538 * string/test-strncmp.c (TEST_NAME): Likewise.
13539 * string/test-strncpy.c (TEST_NAME): Likewise.
13540 * string/test-strnlen.c (TEST_NAME): Likewise.
13541 * string/test-strpbrk.c (TEST_NAME): Likewise.
13542 * string/test-strrchr.c (TEST_NAME): Likewise.
13543 * string/test-strspn.c (TEST_NAME): Likewise.
13544 * string/test-strstr.c (TEST_NAME): Likewise.
13545 * string/test-bcopy-ifunc.c: New file.
13546 * string/test-bzero-ifunc.c: Likewise.
13547 * string/test-memccpy-ifunc.c: Likewise.
13548 * string/test-memchr-ifunc.c: Likewise.
13549 * string/test-memcmp-ifunc.c: Likewise.
13550 * string/test-memcpy-ifunc.c: Likewise.
13551 * string/test-memmem-ifunc.c: Likewise.
13552 * string/test-memmove-ifunc.c: Likewise.
13553 * string/test-mempcpy-ifunc.c: Likewise.
13554 * string/test-memset-ifunc.c: Likewise.
13555 * string/test-rawmemchr-ifunc.c: Likewise.
13556 * string/test-stpcpy-ifunc.c: Likewise.
13557 * string/test-stpncpy-ifunc.c: Likewise.
13558 * string/test-strcasecmp-ifunc.c: Likewise.
13559 * string/test-strcasestr-ifunc.c: Likewise.
13560 * string/test-strcat-ifunc.c: Likewise.
13561 * string/test-strchr-ifunc.c: Likewise.
13562 * string/test-strchrnul-ifunc.c: Likewise.
13563 * string/test-strcmp-ifunc.c: Likewise.
13564 * string/test-strcpy-ifunc.c: Likewise.
13565 * string/test-strcspn-ifunc.c: Likewise.
13566 * string/test-strlen-ifunc.c: Likewise.
13567 * string/test-strncasecmp-ifunc.c: Likewise.
13568 * string/test-strncat-ifunc.c: Likewise.
13569 * string/test-strncmp-ifunc.c: Likewise.
13570 * string/test-strncpy-ifunc.c: Likewise.
13571 * string/test-strnlen-ifunc.c: Likewise.
13572 * string/test-strpbrk-ifunc.c: Likewise.
13573 * string/test-strrchr-ifunc.c: Likewise.
13574 * string/test-strspn-ifunc.c: Likewise.
13575 * string/test-strstr-ifunc.c: Likewise.
13576
de54b33a
L
13577 * debug/Makefile (tests-ifunc): New variable.
13578 (tests): Add $(tests-ifunc).
13579 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13580 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13581 * debug/test-stpcpy_chk-ifunc.c: New file.
13582 * debug/test-strcpy_chk-ifunc.c: Likewise.
13583
88481c16
SP
135842012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13585
13586 [BZ #13601]
13587 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13588 header is not read in.
13589
135948bd
JM
135902012-10-19 Joseph Myers <joseph@codesourcery.com>
13591
89f1c388
JM
13592 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13593 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13594 directly. Pass built executable to script as
13595 $(built-program-cmd).
13596 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13597 $testprogram without using LD_LIBRARY_PATH and $ldso.
13598
e40a0d21
JM
13599 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13600 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13601 $(rtld-installed-name).
13602 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13603 (rtld_installed_name): Likewise.
13604 (library_path): Likewise.
13605 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13606 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13607 $(run-program-prefix) to tst-tables.sh.
13608 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13609 it to run tst-table-from and tst-table-to.
13610 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13611 Pass it to tst-table.sh.
13612 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13613 $(run-program-prefix) to tst-gettext.sh.
13614 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13615 tst-translit.sh.
13616 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13617 tst-gettext2.sh.
13618 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13619 to run tst-gettext.
13620 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13621 to run tst-gettext2.
13622 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13623 to run tst-translit.
13624 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13625 $(run-program-prefix) to tst-mtrace.sh.
13626 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13627 to run tst-mtrace.
13628 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13629 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13630 $(rtld-installed-name).
13631 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13632 (rtld_installed_name): Likewise.
13633 (run_program_prefix): New variable. Use it to run wordexp-test.
13634
728e272a
JM
13635 * Makeconfig (ARCH): Remove all definitions.
13636 (machine): Likewise.
13637 [ARCH]: Remove conditional code.
13638 [!objdir]: Give error.
13639 [!objdir] (objpfx): Remove.
13640 [!objdir] (common-objpfx): Likewise.
13641 [!objdir] (common-objdir): Likewise.
13642 * configure.in (config_makefile): Remove. Hardcode Makefile in
13643 AC_CONFIG_FILES call.
13644 * configure: Regenerated.
13645
d528cdcf
JM
13646 [BZ #13888]
13647 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13648 or TMPDIR.
13649 (testout): Likewise.
13650
135948bd
JM
13651 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13652 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13653 $(rtld-installed-name).
13654 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13655 (rtld_installed_name): Likwise.
13656 (runit): Remove function.
13657 (run_getconf): New variable, Use it for running getconf binary.
13658
38c78296
L
136592012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13660
13661 [BZ #14716]
13662 * string/test-memmem.c (check_result): New function.
13663 (do_one_test): Use it.
13664 (check1): New function.
13665 (test_main): Use it.
13666
d077f65f
MT
136672012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13668
13669 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13670
ced52c71
JM
136712012-10-18 Joseph Myers <joseph@codesourcery.com>
13672
13673 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13674 (_G_LSEEK64): Likewise.
13675 (_G_MMAP64): Likewise.
13676 (_G_FSTAT64): Likewise.
13677 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13678 (_G_LSEEK64): Likewise.
13679 (_G_MMAP64): Likewise.
13680 (_G_FSTAT64): Likewise.
13681 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13682 unconditional. Call __mmap64 directly.
13683 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13684 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13685 __lseek64 directly.
13686 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13687 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13688 __mmap64 directly.
13689 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13690 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13691 __lseek64 directly.
13692 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13693 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13694 __lseek64 directly.
13695 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13696 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13697 __lseek64 directly.
13698 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13699 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13700 __fxstat64 directly.
13701 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13702 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13703 unconditional.
13704 (freopen64) [!_G_OPEN64]: Remove conditional code.
13705 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13706 unconditional.
13707 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13708 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13709 unconditional.
13710 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13711 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13712 unconditional.
13713 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13714 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13715 unconditional.
13716 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13717 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13718 unconditional.
13719 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13720 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13721 unconditional.
13722 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13723 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13724 unconditional.
13725 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13726
b741de23
SP
137272012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13728
13729 [BZ #12140]
13730 * manual/memory.texi (Malloc Tunable Parameters): Add note
13731 about free list pointers overwriting some perturb bytes.
13732 Wording suggested by Roland McGrath.
13733
f9b9d9c9
JM
137342012-10-17 Joseph Myers <joseph@codesourcery.com>
13735
13736 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13737 (lgamma_test): Likewise.
13738 (tgamma_test): Likewise.
13739
172a631a
FW
137402012-10-16 Florian Weimer <fweimer@redhat.com>
13741
13742 [BZ #14700]
13743 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13744 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13745
e9f37252
MK
137462012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13747
13748 * NEWS: Mention BZ #14716.
13749 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13750 when removing AVAILABLE1_USES_J macro.
13751
d394eb74
L
137522012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13753
13754 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13755 (__bswap_64): __uint64_t for unsigned 64-bit int.
13756
ca38dc17
AS
137572012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13758
13759 * include/string.h (memmem): Declare libc hidden alias.
13760 * string/memmem.c (memmem): Define libc hidden alias.
13761 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13762 __read, __close instead of open, read, close.
13763
9a387d1f
L
137642012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13765
ac49ecaf
L
13766 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13767 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13768 global and hidden.
13769 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13770 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13771 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13772 Likewise.
13773 (__rawmemchr_sse2): Likewise.
13774 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13775 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13776 (__strchr_sse2): Likewise.
13777 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13778 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13779 (__strcasecmp_sse2): Likewise.
13780 (__strncasecmp_sse2): Likewise.
13781 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13782 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13783 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13784 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13785 (__strrchr_sse2): Likewise.
13786 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13787 ifunc-impl-list.c.
13788 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13789 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13790 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13791 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13792 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13793 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13794 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13795 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13796 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13797 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13798 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13799 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13800 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13801 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13802 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13803 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13804 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13805 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13806 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13807 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13808 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13809 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13810 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13811 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13812 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13813 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13814 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13815 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13816 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13817 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13818
b090e8ea
L
13819 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13820 global and hidden.
13821 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13822 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13823 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13824 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13825 Likewise.
13826 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13827 Likewise.
13828 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13829 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13830 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13831 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13832 ifunc-impl-list.c.
13833 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13834 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13835 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13836 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13837 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13838 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13839 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13840 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13841 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13842 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13843 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13844 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13845 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13846 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13847 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13848 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13849 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13850 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13851 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13852 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13853 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13854 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13855 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13856 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13857 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13858 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13859 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13860 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13861 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13862 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13863 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13864 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13865 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13866 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13867 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13868 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13869 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13870 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13871 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13872 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13873 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13874
11dd4af6
L
13875 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13876 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13877 * include/ifunc-impl-list.h: New file.
13878 * misc/ifunc-impl-list.c: Likewise.
13879 * misc/Makefile (routines): Add ifunc-impl-list.
13880 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13881 * string/test-string.h: Include <ifunc-impl-list.h>.
13882 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13883 impl_array): New variables.
13884 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13885 are defined.
13886 (test_init): Call __libc_ifunc_impl_list to initialize
13887 func_list if TEST_IFUNC and TEST_NAME are defined.
13888
9a387d1f
L
13889 * string/Makefile (strop-tests): Add bcopy and bzero.
13890 * string/test-bcopy.c: New file.
13891 * string/test-bzero.c: Likewise.
13892 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13893 defined.
13894 * string/test-memset.c: Support bzero test if TEST_BZERO is
13895 defined.
13896 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13897 __libc_memmove.
13898 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13899 __libc_memset.
13900 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13901 of memset.
13902
472371b9
JM
139032012-10-10 Joseph Myers <joseph@codesourcery.com>
13904
1e4a9536
JM
13905 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13906 * configure: Regenerated.
13907
d173d12e
JM
13908 * Makeconfig (+link-static-before-libc): Don't include
13909 $(link-static-libc).
13910
472371b9
JM
13911 * libio/libio.h (_IO_pos_t): Remove.
13912
89a3ad0b
AO
139132012-10-10 Alexandre Oliva <aoliva@redhat.com>
13914
13915 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13916 McGrath.
13917
e7451425
AO
139182012-10-10 Alexandre Oliva <aoliva@redhat.com>
13919
13920 * crypt/crypt-entry.c: Include fips-private.h.
13921 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13922 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13923 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13924 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13925
4ba74a35
AO
139262012-10-10 Alexandre Oliva <aoliva@redhat.com>
13927
13928 * crypt/crypt-private.h: Include stdbool.h.
13929 (_ufc_setup_salt_r): Return bool.
13930 * crypt/crypt-entry.c: Include errno.h.
13931 (__crypt_r): Return NULL with EINVAL for bad salt.
13932 * crypt/crypt_util.c (bad_for_salt): New.
13933 (_ufc_setup_salt_r): Check that salt is long enough and within
13934 the specified alphabet.
13935 * crypt/badsalttest.c: New file.
13936 * crypt/Makefile (tests): Add it.
13937 ($(objpfx)badsalttest): New.
13938
f96f1242
MK
139392012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13940
13941 * NEWS: Add entry for BZ #14602.
13942
0e8e0c1c
JM
139432012-10-09 Joseph Myers <joseph@codesourcery.com>
13944
13945 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13946 type-generic.
13947 * math/libm-test.inc: Update comment listing what functions and
13948 macros are tested.
13949 (isgreater_test): New function.
13950 (isgreaterequal_test): Likewise.
13951 (isless_test): Likewise.
13952 (islessequal_test): Likewise.
13953 (islessgreater_test): Likewise.
13954 (isunordered_test): Likewise.
13955 (main): Call the new functions.
13956
273edc5e
RM
139572012-10-09 Roland McGrath <roland@hack.frob.com>
13958
b8493de0
RM
13959 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13960 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13961 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13962 * sysdeps/i386/configure: Regenerated.
13963 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13964 * sysdeps/mach/configure: Regenerated.
13965 * sysdeps/mach/hurd/configure: Regenerated.
13966 * sysdeps/powerpc/configure: Regenerated.
13967 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13968 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13969 * sysdeps/s390/s390-32/configure: Regenerated.
13970 * sysdeps/s390/s390-64/configure: Regenerated.
13971 * sysdeps/sh/configure: Regenerated.
13972 * sysdeps/sparc/configure: Regenerated.
13973 * sysdeps/unix/sysv/linux/configure: Regenerated.
13974 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13975 * sysdeps/x86_64/configure: Regenerated.
13976
273edc5e
RM
13977 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13978 defined. Don't check if MAP is NULL.
13979
c8450f70
JM
139802012-10-09 Joseph Myers <joseph@codesourcery.com>
13981
13982 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13983 (_G_stat64): Likewise.
13984 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13985 (_G_stat64): Likewise.
13986 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13987 instead of struct _G_stat64.
13988 * libio/fileops.c (mmap_remap_check): Likewise.
13989 (decide_maybe_mmap): Likewise.
13990 (_IO_new_file_seekoff): Likewise.
13991 (_IO_file_stat): Likewise.
13992 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13993 _G_off64_t.
13994 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13995 instead of struct _G_stat64.
13996 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13997
57e605ba
MK
139982012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13999
14000 [BZ #14602]
14001 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14002 Replace with ...
14003 (CHECK_EOL): New macro.
14004 (two_way_short_needle): Check beginning of haystack for EOL. Use
14005 CHECK_EOL.
14006 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14007 Replace with CHECK_EOL.
14008 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14009 Replace with CHECK_EOL.
14010
ef1bb361
JM
140112012-10-08 Joseph Myers <joseph@codesourcery.com>
14012
14013 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14014 type-generic.
14015 * math/libm-test.inc: Update comment listing what functions and
14016 macros are tested.
14017 (finite_test): New function.
14018 (isinf_test): Likewise.
14019 (isnan_test): Likewise.
14020 (fpclassify_test): Test subnormal input.
14021 (isfinite_test): Likewise.
14022 (isnormal_test): Likewise.
14023 (main): Call the new functions.
14024
55f11534
JN
140252012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14026
14027 [BZ #14660]
14028 * Makerules (%.dynsym): Force C locale when running
14029 $(OBJDUMP) --dynamic-syms.
14030
1ab29350
AS
140312012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14032
14033 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14034 <stdint.h>.
14035
f1ecb7ef
DM
140362012-10-06 David S. Miller <davem@davemloft.net>
14037
14038 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14039 upper 32-bits of the length value in %o2 since we use branch-on-register
14040 tests which consider the entire 64-bit register.
14041
5d41d91a
L
140422012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14043
14044 * string/test-strstr.c (check2): Add a test for page boundary.
14045
3baddb72
DM
140462012-10-05 David S. Miller <davem@davemloft.net>
14047
14048 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14049 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14050 file.
14051 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14052 sysdep_routines.
14053 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14054 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14055 and bzero when HWCAP_SPARC_CRYPTO is present.
14056
9cee5585
L
140572012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14058
d7e0dab9
L
14059 [BZ #14602]
14060 * string/test-strstr.c (check2): New function.
14061 (test_main): Call check2.
14062
03759f47
L
14063 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14064 and bug-strchr1.
14065 * string/bug-strcasestr1.c (do_test): Moved to ...
14066 * string/test-strcasestr.c (check1): Here. New function.
14067 (do_one_test): Break out result checking code into ...
14068 (check_result): This. New function.
14069 (do_one_test): Call check_result.
14070 (test_main): Call check1.
14071 * string/bug-strchr1.c (do_test): Moved to ...
14072 * string/test-strchr.c (check1): Here. New function.
14073 (do_one_test): Break out result checking code into ...
14074 (check_result): This. New function.
14075 (do_one_test): Call check_result.
14076 (test_main): Call check1.
14077 * string/bug-strstr1.c (main): Moved to ...
046f153e 14078 * string/test-strstr.c (check1): Here. New function.
03759f47
L
14079 (do_one_test): Break out result checking code into ...
14080 (check_result): This. New function.
14081 (do_one_test): Call check_result.
14082 (test_main): Call check1.
14083 * string/bug-strcasestr1.c: Removed.
14084 * string/bug-strchr1.c: Likewise.
14085 * string/bug-strstr1.c: Likewise.
14086
53cea63e
L
14087 * elf/Makefile (dl-routines): Add hwcaps.
14088 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14089 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14090 (_dl_important_hwcaps): Moved to ...
14091 * elf/dl-hwcaps.c: Here. New file.
14092 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14093
9cee5585 14094 [BZ #14557]
bb859b06
L
14095 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14096 if IS_IN_rtld isn't defined.
14097
9cee5585
L
14098 * elf/dl-support.c (_dl_sysinfo_map): New.
14099 Include "get-dynamic-info.h" and "setup-vdso.h".
14100 (_dl_non_dynamic_init): Call setup_vdso.
14101 * elf/dynamic-link.h: Don't include <assert.h>.
14102 (elf_get_dynamic_info): Moved to ...
14103 * elf/get-dynamic-info.h: Here. New file.
14104 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14105 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14106 * elf/setup-vdso.h: Here. New file.
14107 * elf/rtld.c: Include "setup-vdso.h".
14108 (dl_main): Call setup_vdso.
14109
23c31b76
JM
141102012-10-05 Joseph Myers <joseph@codesourcery.com>
14111
28234b07
JM
14112 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14113 creal in comment listing functions tested. List finite, isinf,
14114 isnan, isless, islessequal, isgreater, isgreaterequal,
14115 islessgreater, isunordered, lgamma_r and pow10 as functions and
14116 macros not tested. Mention which functions not tested are aliases
14117 for other functions. Fix typo. Note that signs of NaNs are not
14118 tested.
14119
23c31b76
JM
14120 * scripts/config.guess: Update from config.git.
14121 * scripts/config.sub: Likewise.
14122
9043e228
RM
141232012-10-04 Roland McGrath <roland@hack.frob.com>
14124
14125 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14126 * misc/madvise.c (madvise): Renamed to __madvise.
14127 Make madvise a weak alias.
14128 * include/sys/mman.h: Declare __madvise.
14129 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14130 * sysdeps/unix/syscalls.list
14131 (madvise): Make __madvise the strong name, and madvise a weak alias.
14132 * sysdeps/unix/sysv/linux/syscalls.list
14133 (madvise, mmap): Remove redundant entries.
14134 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14135 * malloc/malloc.c (mtrim): Likewise.
14136 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14137
f57f8055
RM
141382012-10-03 Roland McGrath <roland@hack.frob.com>
14139
14140 * sysdeps/mach/hurd/dl-cache.c: File removed.
14141 * config.h.in (USE_LDCONFIG): New #undef.
14142 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14143 * configure: Regenerated.
14144 * elf/Makefile (dl-routines): Add dl-cache only under
14145 [$(use-ldconfig) = yes].
14146 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14147 cache on [USE_LDCONFIG].
14148 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14149 [USE_LDCONFIG].
14150 * elf/rtld.c (dl_main): Likewise.
14151
5bb0c10a
PT
141522012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14153
14154 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14155 _SC_LEVEL4_CACHE_LINESIZE.
14156
010188c6
RM
141572012-10-03 Roland McGrath <roland@hack.frob.com>
14158
14159 * sysdeps/unix/bsd/confstr.h: File removed.
14160
b6c5ec07
AO
141612012-10-02 Alexandre Oliva <aoliva@redhat.com>
14162
14163 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14164 sys/sdt-config.h.
14165
408223d4
RM
141662012-10-02 Roland McGrath <roland@hack.frob.com>
14167
14168 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14169 Make 'mapoff' field ElfW(Off) rather than off_t.
14170
bb9510dc
DL
141712012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14172
fc997c6e
DL
14173 * nscd/Makefile: Remove nscd-cflags and all its users.
14174 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14175 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14176
bb9510dc
DL
14177 [BZ #10631]
14178 * malloc.c (malloc_printerr): Clarify error message.
14179
05699367
L
141802012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14181
14182 [BZ #14648]
14183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14184 Set bit_FMA_Usable if FMA is supported.
14185 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14186 macro.
14187 (bit_FMA4_Usable): Updated.
14188 (index_FMA_Usable): New macro.
14189 (CPUID_FMA): Likewise
14190 (HAS_FMA): Defined with bit_FMA_Usable.
14191
51367701
RM
141922012-10-01 Roland McGrath <roland@hack.frob.com>
14193
14194 * bits/types.h (__swblk_t): Type removed.
14195 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14196 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14197 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14198 (__SWBLK_T_TYPE): Likewise.
14199 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14200 (__SWBLK_T_TYPE): Likewise.
14201 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14202 (__SWBLK_T_TYPE): Likewise.
14203 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14204 (__SWBLK_T_TYPE): Likewise.
14205
4d57bf63 142062012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 14207 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
14208
14209 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14210 (xdr_mapname): Use YPMAXMAP as maxsize.
14211 (xdr_peername): Use YPMAXPEER as maxsize.
14212 (xdr_keydat): Use YPAXRECORD as maxsize.
14213 (xdr_valdat): Use YPMAXRECORD as maxsize.
14214
93c65d43
RM
142152012-10-01 Roland McGrath <roland@hack.frob.com>
14216
497a03d6
RM
14217 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14218
93c65d43
RM
14219 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14220 * csu/init-first.c: ... here.
14221 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14222 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14223 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14224 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14225 * sysdeps/i386/init-first.c: File removed.
14226 * sysdeps/sh/init-first.c: File removed.
14227
bec749fd
JM
142282012-10-01 Joseph Myers <joseph@codesourcery.com>
14229
14230 [BZ #14645]
14231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14232 if x * y might underflow to zero and z is zero.
14233 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14234 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14235 * math/libm-test.inc (min_subnorm_value): New variable.
14236 (fma_test): Add more tests.
14237 (fma_test_towardzero): Likewise.
14238 (fma_test_downward): Likewise
14239 (fma_test_upward): Likewise.
14240 (initialize): Set min_subnorm_value.
14241
8ec5b013
JM
142422012-09-29 Joseph Myers <joseph@codesourcery.com>
14243
14244 [BZ #14638]
14245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14246 0 + 0.
14247 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14248 mode for addition resulting in exact zero.
14249 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14251 exact 0 + 0.
14252 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14253 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14254 * math/libm-test.inc (fma_test): Add more tests.
14255 (fma_test_towardzero): New function.
14256 (fma_test_downward): Likewise.
14257 (fma_test_upward): Likewise.
14258 (main): Call the new functions.
14259
b1fa802e
DM
142602012-09-28 David S. Miller <davem@davemloft.net>
14261
14262 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14263
d3b9fd9e
RM
142642012-09-28 Roland McGrath <roland@hack.frob.com>
14265
ea4d37b3
RM
14266 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14267 instead of SIGALRM.
14268
ac51c949
RM
14269 * sysdeps/gnu/_G_config.h: Moved to ...
14270 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14271 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14272 * sysdeps/generic/_G_config.h: ... here.
14273
28c195f7
RM
14274 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14275
848917f9
RM
14276 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14277
6bacf05b
RM
14278 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14279 Conditionalize target on [libnss_test1.so-version].
14280
91363dbb
RM
14281 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14282
cc87f7d8
RM
14283 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14284 (elfobjdir): Move out of conditionals.
14285
b1c608fe
RM
14286 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14287 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14288 (__nss_lookup_function): Conditionalize label remove_from_tree on
14289 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 14290
1d9a6d96
DM
142912012-09-28 David S. Miller <davem@davemloft.net>
14292
14293 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14294 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14295 file.
14296 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14297 sysdep_routines.
14298 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14299 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14300 when HWCAP_SPARC_CRYPTO is present.
14301
72581615
PT
143022012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14303
14304 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14305
715a900c
JL
143062012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14307
14308 [BZ #6530]
14309 * stdio-common/vfprintf.c (process_string_arg): Revert
14310 2000-07-22 change.
14311
143122011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14313
14314 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14315 for testcase.
14316 * stdio-common/tst-sprintf.c: Include <locale.h>
14317 (main): Test sprintf's handling of incomplete multibyte
14318 characters.
14319
9bac1d86
L
143202012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14321
14322 * elf/dl-runtime.c (VERSYMIDX): Removed.
14323 * elf/dl-version.c (VERSYMIDX): Likewise.
14324 * elf/do-rel.h (VERSYMIDX): Likewise.
14325 (VALIDX): Likewise.
14326 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14327 * elf/rtld.c (VALIDX): Likewise.
14328 (ADDRIDX): Likewise.
9bac1d86
L
14329 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14330 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14331 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
14332 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14333 (VALIDX): Likewise.
14334 (ADDRIDX): Likewise.
9bac1d86 14335
b31606c0
PT
143362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14337
14338 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14339
11541177
JL
143402012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14341
14342 [BZ #11438]
14343 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14344 to global scope.
14345 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14346 addresses are in the same scope as 192.0.2/24.
14347 * posix/gai.conf: Document new scope table defaults.
14348
adb26fae
SP
143492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14350
14351 [BZ #5298]
14352 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14353 for ftell. Compute offsets from write pointers instead.
14354 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14355
4573c6b0
SP
143562012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14357
14358 [BZ #14543]
14359 * libio/Makefile (tests): New test case tst-fseek.
14360 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14361 combination works in wide mode.
14362 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14363 state when the external buffer state changes.
14364
aa9bbfe6
DM
143652012-09-27 David S. Miller <davem@davemloft.net>
14366
14367 [BZ #14376]
14368 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14369 pass reloc->r_addend in as the 'high' argument to
14370 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14371
784421e7
DM
14372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14373
c39bc8b8
PT
143742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14375
14376 * rt/tst-aio2.c: Include <pthread.h>.
14377 * rt/tst-aio3.c: Likewise.
14378
1ccc2399
SE
143792012-09-27 Steve Ellcey <sellcey@mips.com>
14380
14381 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14382
31ed4153
L
143832012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14384
25f5f885
L
14385 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14386 contents on [SHARED].
31ed4153 14387
b7bfe116
MP
143882012-09-26 Marek Polacek <polacek@redhat.com>
14389
14390 [BZ #14530]
14391 [BZ #13741]
14392 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14393 for C++ and GCC <4.3 as well as for non GCC compilers.
14394
43c4edba
MT
143952012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14396
14397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14398
6a1bf82f
RM
143992012-09-25 Roland McGrath <roland@hack.frob.com>
14400
14401 * Makefile.in (all, install): Declare with .PHONY.
14402 Reported by Michael Hope <michael.hope@linaro.org>.
14403
8ad11b9a
TMQMF
144042012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14405
14406 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14407 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14408 system header.
14409 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14410 Likewise.
14411 (sydep_routines): Add the new and the internal functions.
14412 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14413 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14415 (GLIBC_2.17): Add the new function.
14416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14417 (GLIBC_2.17): Likewise.
14418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14419 (GLIBC_2.17): Likewise.
14420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14421 (GLIBC_2.17): Likewise.
14422 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14423
7e2fca8d
AM
144242012-09-25 Alan Modra <amodra@gmail.com>
14425
14426 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14427 Add release barrier before setting once_control to say
14428 initialisation is done. Add hints on lwarx. Use macro in
14429 place of isync.
14430 (clear_once_control): Add release barrier.
14431
b87c4b24
JM
144322012-09-25 Joseph Myers <joseph@codesourcery.com>
14433
d032e0d2
JM
14434 [BZ #13629]
14435 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14436 specially.
14437 * math/s_clog10.c (__clog10): Likewise.
14438 * math/s_clog10f.c (__clog10f): Likewise.
14439 * math/s_clog10l.c (__clog10l): Likewise.
14440 * math/s_clogf.c (__clogf): Likewise.
14441 * math/s_clogl.c (__clogl): Likewise.
14442 * math/Makefile (libm-calls): Add x2y2m1.
14443 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14444 (__x2y2m1): Likewise.
14445 (__x2y2m1l): Likewise.
14446 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14447 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14448 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14449 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14450 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14451 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14452 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14453 * sysdeps/i386/fpu/libm-test-ulps: Update.
14454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14455
b87c4b24
JM
14456 [BZ #14621]
14457 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14458 int as type of variable DEPTH.
14459 (glob): Use size_t instead of int as type of variables NEWCOUNT
14460 and OLD_PATHC.
14461
6d3bf199
LD
144622012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14463
22bf5c17
LD
14464 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14465 Add s_sincosf-sse2.
14466 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14467 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14468 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14469 macros for using routine as __sincosf_ia32.
14470 Use macro for function declaration and weak_alias.
14471 * sysdeps/i386/fpu/libm-test-ulps: Update.
14472
14473 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14475
14476 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
14477 subnormal argument.
14478 * math/s_cexpf.c (__cexpf): Likewise.
14479 * math/s_csinf.c (__csinf): Likewise.
14480 * math/s_csinhf.c (__csinhf): Likewise.
14481 * math/s_ctanf.c (__ctanf): Likewise.
14482 * math/s_ctanhf.c (__ctanhf): Likewise.
14483 * math/s_ccosh.c (__ccoshf): Likewise.
14484 * math/s_cexp.c (__cexpl): Likewise.
14485 * math/s_csin.c (__csin): Likewise.
14486 * math/s_csinh.c (__csinh): Likewise.
14487 * math/s_ctan.c (__ctan): Likewise.
14488 * math/s_ctanh.c (ctanh): Likewise.
14489 * math/s_ccoshl.c (__ccoshl): Likewise.
14490 * math/s_cexpl.c (__cexpl): Likewise.
14491 * math/s_csinl.c (__csinl): Likewise.
14492 * math/s_csinhl.c (__csinhl): Likewise.
14493 * math/s_ctanl.c (__ctanl): Likewise.
14494 * math/s_ctanhl.c (__ctanhl): Likewise.
14495
203e5603
JM
144962012-09-25 Joseph Myers <joseph@codesourcery.com>
14497
14498 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14499 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14500 (_IO_off_t): Define to __off_t, not _G_off_t.
14501 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14502 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14503 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14504 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14505 type of __dummy and __dummy2 fields.
14506 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14507 (_G_ssize_t): Likewise.
14508 (_G_off_t): Likewise.
14509 (_G_pid_t): Likewise.
14510 (_G_uid_t): Likewise.
14511 (_G_wchar_t): Likewise.
14512 (_G_wint_t): Likewise.
14513 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14514 (_G_ssize_t): Likewise.
14515 (_G_off_t): Likewise.
14516 (_G_pid_t): Likewise.
14517 (_G_uid_t): Likewise.
14518 (_G_wchar_t): Likewise.
14519 (_G_wint_t): Likewise.
14520 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14521 (_G_ssize_t): Likewise.
14522 (_G_off_t): Likewise.
14523 (_G_pid_t): Likewise.
14524 (_G_uid_t): Likewise.
14525 (_G_wchar_t): Likewise.
14526 (_G_wint_t): Likewise.
14527
9fab36eb
SP
145282012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14529
14530 * malloc/arena.c: Include malloc-sysdep.h.
14531 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14532 is sufficient to shrink the heap or an unmap is needed.
14533 * sysdeps/generic/malloc-sysdep.h: New file. Define
14534 new function check_may_shrink_heap.
14535 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14536 new function check_may_shrink_heap.
14537
2b4f00d1
SP
145382012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14539
14540 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14541 comments.
14542
9a9028b1
DL
145432012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14544
57c69bef
DL
14545 * catgets/test-gencat.sh: Add "set -e".
14546 * elf/tst-pathopt.sh: Likewise.
14547 * grp/tst_fgetgrent.sh: Likewise.
14548 * iconvdata/run-iconv-test.sh: Likewise.
14549 * intl/tst-gettext.sh: Likewise.
14550 * intl/tst-gettext2.sh: Likewise.
14551 * intl/tst-gettext4.sh: Likewise.
14552 * intl/tst-gettext6.sh: Likewise.
14553 * intl/tst-translit.sh: Likewise.
14554 * io/ftwtest-sh: Likewise.
14555 * libio/test-freopen.sh: Likewise.
14556 * malloc/tst-mtrace.sh: Likewise.
14557 * posix/globtest.sh: Likewise.
14558 * posix/tst-getconf.sh: Likewise.
14559 * posix/wordexp-tst.sh: Likewise.
14560 * stdio-common/tst-printf.sh: Likewise.
14561 * stdio-common/tst-unbputc.sh: Likewise.
14562 * stdlib/tst-fmtmsg.sh: Likewise.
14563 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14564 * catgets/Makefile: Do not specify -e option when running
14565 testsuite shell scripts.
14566 * elf/Makefile: Likewise.
14567 * grp/Makefile: Likewise.
14568 * iconvdata/Makefile: Likewise.
14569 * intl/Makefile: Likewise.
14570 * io/Makefile: Likewise.
14571 * libio/Makefile: Likewise.
14572 * malloc/Makefile: Likewise.
14573 * posix/Makefile: Likewise.
14574 * stdio-common/Makefile: Likewise.
14575 * stdlib/Makefile: Likewise.
14576 * sysdeps/x86_64/Makefile: Likewise.
14577
9a9028b1
DL
14578 * io/ftwtest-sh: Add copyright header.
14579 * posix/globtest.sh: Likewise.
14580 * posix/tst-getconf.sh: Likewise.
14581 * posix/wordexp-tst.sh: Likewise.
14582 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14583
ced6f16e
L
145842012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14585
94b32c39
L
14586 [BZ #13679]
14587 * Makeconfig (+link): Defined as $(+link-static) if
14588 $(build-shared) isn't yes.
14589 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14590 isn't yes.
14591 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14592
189e935b
L
14593 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14594
ced6f16e
L
14595 [BZ #14562]
14596 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14597 new chunk size with MALLOC_ALIGN_MASK.
14598
a9f8e53a
JM
145992012-09-24 Joseph Myers <joseph@codesourcery.com>
14600
14601 [BZ #5044]
14602 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14603 <rounding-mode.h>.
14604 (__printf_fphex): Determine rounding using get_rounding_mode and
14605 round_away.
14606 * stdio-common/tst-printf-round.c (struct hex_test): New
14607 structure.
14608 (hex_tests): New variable.
14609 (test_hex_in_one_mode): New function.
14610 (do_test): Also run tests for hex float output.
14611
43153109
JM
146122012-09-21 Joseph Myers <joseph@codesourcery.com>
14613
14614 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14615 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14616 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14617 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14618 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14619 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14620 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14621 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14622
8a26625d
JM
146232012-09-20 Joseph Myers <joseph@codesourcery.com>
14624
14625 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14626 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14627 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14628 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14629
f3fd569c
DL
146302012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14631
14632 [BZ #14579]
14633 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14634 mode only.
14635 * elf/tst-rtld-load-self.sh: New test.
14636 * elf/Makefile: Run it.
14637
63bbedd4
JM
146382012-09-18 Joseph Myers <joseph@codesourcery.com>
14639
14640 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14641 (tst-writev-ENV): Remove.
14642 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14643
626f8b6a
CM
146442012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14645
14646 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14647
b7aaa4d6
JM
146482012-09-17 Joseph Myers <joseph@codesourcery.com>
14649
14650 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14651 unconditional.
14652 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14653 Likewise.
14654 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14655 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14656 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14657 Likewise.
14658
65513990
L
146592012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14660
14661 [BZ #14587]
14662 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14663 * config.make.in (have-cpp-asm-debuginfo): Removed.
14664 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14665 * configure: Regenerated.
14666
784761be
JM
146672012-09-14 Joseph Myers <joseph@codesourcery.com>
14668
14669 [BZ #5044]
14670 * stdio-common/printf_fp.c: Include <stdbool.h> and
14671 <rounding-mode.h>.
14672 (___printf_fp): Determine rounding using get_rounding_mode and
14673 round_away.
14674 * stdio-common/tst-printf-round.c: New file.
14675 * stdio-common/Makefile (tests): Add tst-printf-round.
14676 (link-libm): New variable.
14677 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14678
9503345f
L
146792012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14680
14681 [BZ #14576]
14682 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14683 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14684 Likewise.
14685 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14686 Likewise.
14687
ad35fc00
JM
146882012-09-13 Joseph Myers <joseph@codesourcery.com>
14689
14690 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14691 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14692 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14693 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14694
6c9b0f68
JM
146952012-09-12 Joseph Myers <joseph@codesourcery.com>
14696
14697 [BZ #14518]
14698 * include/rounding-mode.h: New file.
14699 * sysdeps/generic/get-rounding-mode.h: Likewise.
14700 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14701 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14702 (MAX_VALUE): New macro.
14703 (MIN_VALUE): Likewise.
14704 (overflow_value): New function.
14705 (underflow_value): Likewise.
14706 (round_and_return): Use overflow_value and underflow_value to
14707 determine return values in overflow and underflow cases. Use
14708 round_away to determine rounding depending on rounding mode.
14709 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14710 determine return values in overflow and underflow cases.
14711 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14712 (struct test_results): New structure.
14713 (struct test): Use struct test_results to store expected results
14714 for all rounding modes.
14715 (TEST): Include expected results for all rounding modes.
14716 (test_in_one_mode): New function.
14717 (do_test): Use test_in_one_mode to compute and check results.
14718 Check results for all rounding modes.
14719 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14720 $(link-libm).
14721
19fcedd5
AM
147222012-12-09 Allan McRae <allan@archlinux.org>
14723
1e9d84cd 14724 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14725
8bbfd2f1
JM
147262012-09-11 Joseph Myers <joseph@codesourcery.com>
14727
14728 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14729 (_G_int32_t): Likewise.
14730 (_G_uint16_t): Likewise.
14731 (_G_uint32_t): Likewise.
14732 (_G_HAVE_BOOL): Likewise.
14733 (_G_HAVE_ATEXIT): Likewise.
14734 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14735 (_G_HAVE_IO_FILE_OPEN): Likewise.
14736 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14737 (_G_int32_t): Likewise.
14738 (_G_uint16_t): Likewise.
14739 (_G_uint32_t): Likewise.
14740 (_G_HAVE_BOOL): Likewise.
14741 (_G_HAVE_ATEXIT): Likewise.
14742 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14743 (_G_HAVE_IO_FILE_OPEN): Likewise.
14744 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14745 (_G_int32_t): Likewise.
14746 (_G_uint16_t): Likewise.
14747 (_G_uint32_t): Likewise.
14748 (_G_HAVE_BOOL): Likewise.
14749 (_G_HAVE_ATEXIT): Likewise.
14750 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14751 (_G_HAVE_IO_FILE_OPEN): Likewise.
14752
b1dc5912
L
147532012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14754
14755 * csu/libc-tls.c: Update copyright years.
14756
0e886ef9
JM
147572012-09-10 Joseph Myers <joseph@codesourcery.com>
14758
28361c5e
JM
14759 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14760 [!_G_USING_THUNKS]: Remove conditional code.
14761 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14762 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14763
0e886ef9
JM
14764 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14765 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14766 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14767 (_G_VTABLE_LABEL_PREFIX): Likewise.
14768 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14769 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14770 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14771 (_G_VTABLE_LABEL_PREFIX): Likewise.
14772 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14773 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14774 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14775 (_G_VTABLE_LABEL_PREFIX): Likewise.
14776 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14777
bcba7aa2
L
147782012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14779
14780 * libio/Makefile: Include ../Makeconfig before tests.
14781 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14782 only if $(build-shared) is yes.
14783
06585ee8
L
14784 * iconv/gconv_db.c: Update copyright years.
14785
80ccd52c
LD
147862012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14787
14788 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14789 unwind info if defined PIC. Fix special cases description.
14790 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14791
14792 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14793 DP_HI_MASK entry.
14794 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14795
691bc9c1
L
147962012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14797
3d9b46b3
L
14798 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14799
de2139a9
L
14800 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14801 is NULL.
14802
5ca78dd0
L
14803 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14804 (LDLIBS-tst-chk4): This.
14805 (LDFLAGS-tst-chk5): Renamed to ...
14806 (LDLIBS-tst-chk5): This.
14807 (LDFLAGS-tst-chk6): Renamed to ...
14808 (LDLIBS-tst-chk6): This.
14809 (LDFLAGS-tst-lfschk4): Renamed to ...
14810 (LDLIBS-tst-lfschk4): This.
14811 (LDFLAGS-tst-lfschk5): Renamed to ...
14812 (LDLIBS-tst-lfschk5): This.
14813 (LDFLAGS-tst-lfschk6): Renamed to ...
14814 (LDLIBS-tst-lfschk6): This.
14815
691bc9c1
L
14816 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14817 on $(common-objpfx)soversions.mk.
14818
65cafb1c
JM
148192012-09-07 Joseph Myers <joseph@codesourcery.com>
14820
14821 [BZ #10014]
14822 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14823 example host name.
14824
c78ab094
SP
148252012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14826
14827 * malloc/arena.c (arena_get_retry): New function that gets
14828 another arena for the caller to try its request on.
14829 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14830 current arena cannot fulfill the request.
14831 (__libc_memalign): Likewise.
14832 (__libc_memalign): Likewise.
14833 (__libc_pvalloc): Likewise.
14834 (__libc_calloc): Likewise.
14835
01f49f59
JT
148362012-09-05 John Tobey <john.tobey@gmail.com>
14837
14838 [BZ #13542]
14839 * manual/arith.texi (Operations on Complex): Fix description
14840 of carg branch cut.
14841
4c23fed5
JM
148422012-09-06 Joseph Myers <joseph@codesourcery.com>
14843
1d3c8572
JM
14844 [BZ #10014]
14845 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14846 host name.
14847
4c23fed5
JM
14848 [BZ #10038]
14849 * manual/memory.texi (Memory): Make order of menu items match
14850 order of sections.
14851
04570aaa
L
148522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14853
14854 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14855 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14856 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14857
b80af2f4
L
148582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14859
14860 * csu/libc-tls.c (static_dtv): Renamed to ...
14861 (_dl_static_dtv): This. Make it global.
14862 (_dl_initial_dtv): Removed.
14863 (__libc_setup_tls): Updated.
14864 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14865 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14866 DL_INITIAL_DTV.
14867
2abe9f15
PM
148682012-09-06 Petr Machata <pmachata@redhat.com>
14869
14870 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14871 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14872 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14873 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14874
0948c3af
L
148752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14876
14877 [BZ #14545]
14878 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14879 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14880 freeing dtv[-1].
14881
a5055ad1
L
148822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14883
14884 [BZ #14544]
14885 * Makeconfig (link-static-before-libc): Replace $(+prector)
14886 with $(+prectorT).
14887 (link-static-after-libc): Replace $(+postctor) with
14888 $(+postctorT).
14889 (link-bounded): Replace $(+prector)/$(+postctor) with
14890 $(+prectorT)/$(+postctorT).
14891 (+prectorT): New macro.
14892 (+postctorT): Likewise.
14893
ed8c2ecd
JM
148942012-09-06 Joseph Myers <joseph@codesourcery.com>
14895
14896 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14897 (round_str): Handle values above the maximum for IBM long double
14898 as inexact.
14899 * stdlib/tst-strtod-round.c (tests): Regenerated.
14900
14c996c8
AK
149012012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14902
14903 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14904 assembler flag.
14905 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14906 zarch_nohighgprs around the zarch optimized routines.
14907 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14908 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14909 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14910 for zarch.
14911
430d6ce6
DM
149122012-09-05 David S. Miller <davem@davemloft.net>
14913
14914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14915
ff04dda4
DM
14916 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14917 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14918 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14919 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14920 entries.
14921
24d4e01b
AO
149222012-09-05 Alexandre Oliva <aoliva@redhat.com>
14923
14924 * malloc/arena.c: Fold copyright years.
14925 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14926
61d58174
AO
149272012-09-05 Alexandre Oliva <aoliva@redhat.com>
14928
14929 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14930
20196a5e
AO
149312012-09-05 Alexandre Oliva <aoliva@redhat.com>
14932
14933 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14934
5c447383
AO
149352012-09-05 Alexandre Oliva <aoliva@redhat.com>
14936
14937 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14938 change internal state upon failure.
14939
fad64255
AO
149402012-09-05 Alexandre Oliva <aoliva@redhat.com>
14941
14942 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14943 * malloc/memusage.c (mmap): Likewise.
14944 (mmap64, mremap): Likewise. Adjust name in comment.
14945
1ffb8c90
SP
149462012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14947
14948 * libio/fileops.c: Fix typos in comments.
14949 * libio/oldfileops.c: Likewise.
14950 * libio/wfileops.c: Likewise.
14951
6ef9cc37
SP
149522012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14953
14954 [BZ #1349]
14955 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14956 (tst-malloc-usable-ENV): Set environment for test case.
14957 * malloc/hooks.c (malloc_check_get_size): New function to get
14958 requested size.
14959 * malloc/malloc.c (musable): Use malloc_check_get_size.
14960 * malloc/tst-malloc-usable.c: New test case.
14961
4d038ae3
AS
149622012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14963
14964 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14965
c4e85184
AM
149662012-09-05 Allan McRae <allan@archlinux.org>
14967
b9dafc56 14968 [BZ #13966]
c4e85184
AM
14969 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14970 determine header location.
14971 * configure: Regenerated.
14972
e1343020
AS
149732012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14974
14975 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14976 float format.
14977 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14978 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14979 format.
e1343020
AS
14980 (test): Regenerate.
14981
0a9f1987
DM
149822012-09-04 David S. Miller <davem@davemloft.net>
14983
14984 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14985 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14986 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14987
29237804
FW
149882012-09-04 Florian Weimer <fweimer@redhat.com>
14989
14990 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14991 failures.
14992
edb3cb88
FW
14993 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14994
60160d83
JM
149952012-09-04 Joseph Myers <joseph@codesourcery.com>
14996
14997 [BZ #9914]
14998 * libio/iogetdelim.c: Include <limits.h>.
14999 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15000 + len + 1 would overflow.
15001
bcd6c8dc
AJ
150022012-09-03 Andreas Jaeger <aj@suse.de>
15003
15004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15005 * sysdeps/i386/fpu/libm-test-ulps: Update.
15006
4ffffbd2
LD
150072012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15008
15009 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15010 Add s_sinf-sse2, s_conf-sse2.
15011
15012 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15013 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15014 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15015 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15016
15017 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15018 for using routine as __sinf_ia32.
15019 Use macro for function declaration and weak_alias.
15020 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15021 for using routine as __cosf_ia32.
15022 Use macro for function declaration and weak_alias.
15023
15024 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15025 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15026
15027 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15028 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15030
15031 * math/libm-test.inc (cos_test): Add more test cases.
15032 (sin_test): Likewise.
15033 (sincos_test): Likewise.
15034
511fa286
AK
150352012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15036
15037 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15038 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15039 hidden.
15040 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15041
5f30cfec
L
150422012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15043
15044 [BZ #14538]
15045 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15046 first element of the GOT.
15047 (elf_machine_load_address): Return the difference between
15048 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15049
0786794f
AM
150502012-09-01 Allan McRae <allan@archlinux.org>
15051
5f30cfec
L
15052 [BZ #13412]
15053 * configure.in (AWK): Require gawk version 3.0 or later.
15054 * configure: Regenerated.
0786794f 15055
26889eac
JM
150562012-09-01 Joseph Myers <joseph@codesourcery.com>
15057
15058 * sysdeps/unix/sysv/linux/kernel-features.h
15059 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15060 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15061 [__NR_clock_getres]: Make code unconditional.
15062 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15063 (clock_getcpuclockid): Remove code left unreachable by removal of
15064 conditionals.
15065 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15066 code unconditional.
15067 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15068 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15069 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15070 Make code unconditional.
15071 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15072 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15073 * sysdeps/unix/sysv/linux/clock_settime.c
15074 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15075 conditional code.
15076 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15077 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15078
d22e28b0
L
150792012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15080
15081 [BZ #14476]
15082 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15083 scripts/test-installation.pl.
15084
15085 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15086 and $ld_so_version if it is set.
15087
050af9c4
SP
150882012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15089
15090 [BZ #14516]
15091 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15092 failure if reading from procfs failed.
15093 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15094
ad845c0b
JM
150952012-08-27 Joseph Myers <joseph@codesourcery.com>
15096
15097 * sysdeps/unix/sysv/linux/kernel-features.h
15098 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15099 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15100 Remove conditional code.
15101 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15102 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15103 Remove conditional code.
15104 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15105 * sysdeps/unix/sysv/linux/i386/fxstat.c
15106 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15107 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15108 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15109 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15110 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15111 * sysdeps/unix/sysv/linux/i386/lxstat.c
15112 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15113 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15114 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15115 Remove conditional code.
15116 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15117 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15118 Remove conditional code.
15119 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15120 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15121 <kernel-features.h>.
15122 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15123 Remove.
15124 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15125 Remove conditional code.
15126 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15127 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15128 Remove conditional.
15129
5dbf56af
MF
151302012-08-27 Mike Frysinger <vapier@gentoo.org>
15131
15132 [BZ #5400]
15133 * NEWS: Add fixed bug number.
15134
d6e70f43
JM
151352012-08-27 Joseph Myers <joseph@codesourcery.com>
15136
7efb4737
JM
15137 [BZ #14519]
15138 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15139 underflowing exponent in case of negative sign.
15140 * stdlib/tst-strtod-round-data: Add more tests.
15141 * stdlib/tst-strtod-round.c (tests): Regenerated.
15142
af92131a
JM
15143 [BZ #3479]
15144 * stdlib/strtod_l.c (NDIG): Remove.
15145 (HEXNDIG): Likewise.
15146 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15147 smallest representable value.
15148 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15149 lie within an exact representation of 1/2 ulp of the result.
15150 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15151 unconditionally.
15152 (TENS_P9_IDX): Define unconditionally.
15153 (TENS_P9_SIZE): Likewise.
15154 (TENS_P10_IDX): Likewise.
15155 (TENS_P10_SIZE): Likewise.
15156 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15157 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15158 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15159 entries for 10^2^13 and 10^2^14.
15160 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15161 (TENS_P13_IDX): Define.
15162 (TENS_P13_SIZE): Likewise.
15163 (TENS_P14_IDX): Likewise.
15164 (TENS_P14_SIZE): Likewise.
15165 (_fpioconst_pow10): Change array size to
15166 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15167 unconditional.
15168 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15169 1024]: Add entries for 10^2^13 and 10^2^14.
15170 [LAST_POW10 > _LAST_POW10]: Remove #error.
15171 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15172 (_fpioconst_pow10): Change array size to
15173 FPIOCONST_POW10_ARRAY_SIZE.
15174 * stdlib/gen-fpioconst.c: New file.
15175 * stdlib/gen-tst-strtod-round.c: Likewise.
15176 * stdlib/tst-strtod-round-data: Likewise.
15177 * stdlib/tst-strtod-round.c: Likewise.
15178 * stdlib/Makefile (tests): Add tst-strtod-round.
15179
d6e70f43
JM
15180 [BZ #14459]
15181 * stdlib/strtod_l.c: Include <stdint.h>.
15182 (NDEBUG): Do not define.
15183 (round_and_return): Change EXPONENT parameter to type intmax_t.
15184 Rearrange calculations to avoid internal overflow possibilities.
15185 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15186 Rearrange calculations to avoid internal overflow possibilities.
15187 Assert that number fits inside MPNSIZE limbs.
15188 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15189 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15190 calculations and add assertions to avoid internal overflow
15191 possibilities. Add casts to avoid signed/unsigned operations.
15192 * stdlib/tst-strtod-overflow.c: New file.
15193 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15194
1f529f7d
MP
151952012-08-25 Marek Polacek <polacek@redhat.com>
15196
15197 * time/time.h: Fix some typos in comments.
15198
59a629f1
RM
151992012-08-23 Roland McGrath <roland@hack.frob.com>
15200
15201 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15202 * posix/tst-rfc3484-2.c: Likewise.
15203 * posix/tst-rfc3484-3.c: Likewise.
15204
d3bafbc9
SM
152052012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15206
15207 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15208 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15209
4efcc022
JM
152102012-08-23 Joseph Myers <joseph@codesourcery.com>
15211
15212 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15213 #include of fxstatat64.c.
15214
3cc3ef96
RM
152152012-08-22 Roland McGrath <roland@hack.frob.com>
15216
f04e2132
RM
15217 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15218 * shadow/getspent_r.c: Likewise.
15219 * shadow/getspnam.c: Likewise.
15220 * shadow/getspnam_r.c: Likewise.
15221 * gshadow/getsgent.c: Likewise.
15222 * gshadow/getsgent_r.c: Likewise.
15223 * gshadow/getsgnam.c: Likewise.
15224 * gshadow/getsgnam_r.c: Likewise.
15225 * inet/getnetbyad.c: Likewise.
15226 * inet/getnetbyad_r.c: Likewise.
15227 * inet/getnetbynm.c: Likewise.
15228 * inet/getnetbynm_r.c: Likewise.
15229 * inet/getnetent.c: Likewise.
15230 * inet/getnetent_r.c: Likewise.
15231 * inet/getproto.c: Likewise.
15232 * inet/getproto_r.c: Likewise.
15233 * inet/getprtent.c: Likewise.
15234 * inet/getprtent_r.c: Likewise.
15235 * inet/getprtname.c: Likewise.
15236 * inet/getprtname_r.c: Likewise.
15237 * inet/getrpcbyname.c: Likewise.
15238 * inet/getrpcbyname_r.c: Likewise.
15239 * inet/getrpcbynumber.c: Likewise.
15240 * inet/getrpcbynumber_r.c: Likewise.
15241 * inet/getrpcent.c: Likewise.
15242 * inet/getrpcent_r.c: Likewise.
15243 * inet/getaliasent.c: Likewise.
15244 * inet/getaliasent_r.c: Likewise.
15245 * inet/getaliasname.c: Likewise.
15246 * inet/getaliasname_r.c: Likewise.
15247 * nscd/getgrgid_r.c: Likewise.
15248 * nscd/getgrnam_r.c: Likewise.
15249 * nscd/gethstbyad_r.c: Likewise.
15250 * nscd/gethstbynm3_r.c: Likewise.
15251 * nscd/getpwnam_r.c: Likewise.
15252 * nscd/getpwuid_r.c: Likewise.
15253 * nscd/getsrvbynm_r.c: Likewise.
15254 * nscd/getsrvbypt_r.c: Likewise.
15255 * nscd/gai.c: Likewise.
15256
c53d909c
RM
15257 * configure.in (build_nscd): New substituted variable, set
15258 by --disable-build-nscd and defaults to $use_nscd.
15259 * configure: Regenerated.
15260 * config.make.in (build-nscd): New substituted variable.
15261 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15262 Change conditional to require [$(build-nscd) = yes] as well.
15263 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15264
3cc3ef96
RM
15265 [BZ# 13696]
15266 * configure.in (use_nscd): New substituted variable, set by
15267 --disable-nscd. If enabled, define USE_NSCD.
15268 * configure: Regenerated.
15269 * config.h.in: Add USE_NSCD.
15270 * config.make.in (use-nscd): New substituted variable.
15271 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15272 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15273 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15274 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15275 (CFLAGS-getgrnam_r.c): Likewise.
15276 (CFLAGS-initgroups.c): Likewise.
15277 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15278 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15279 Variables removed.
15280 * inet/getnetgrent_r.c
15281 (nscd_setnetgrent): New function, broken out of ...
15282 (setnetgrent): ... here. Call it.
15283 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15284 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15285 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15286 * nscd/Makefile (routines, aux): Move definitions after include of
15287 Makeconfig. Conditionalize on [$(use-nscd) != no].
15288 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15289 Conditionalize on [USE_NSCD].
15290 (is_nscd, nscd_init_cb): Likewise.
15291 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15292 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15293 * nss/nss_db/db-init.c: Likewise.
15294 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15295 [USE_NSCD].
15296 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15297 (make_request): Use it.
15298 (cache_valid_p): New function.
15299 (__check_pf): Use it.
15300 * NEWS: Add item for --disable-nscd.
15301
07e51550
DL
153022012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15303
15304 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15305 to support sed >= 4.2.1-20-ga9bf076.
15306 * configure: Regenerated.
15307
35a5b08b
RM
153082012-08-22 Roland McGrath <roland@hack.frob.com>
15309
15310 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15311 Conditionalize whole body on [IREL].
15312
8479f23a
JL
153132012-08-22 Jeff Law <law@redhat.com>
15314
15315 [BZ #14505]
15316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15317 if the family is PF_UNSPEC.
15318
48da0b21
MF
153192012-08-22 Mike Frysinger <vapier@gentoo.org>
15320
15321 * Makerules (lib-version): Rename from V.
15322 (install-lib-nosubdir): Change V to lib-version.
15323
15d0da8c
WS
153242012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15325
15326 [BZ #14252]
15327 * powerpc32/power6/wcschr.c: New file.
15328 * powerpc32/power6/wcscpy.c: New file.
15329 * powerpc32/power6/wcsrchr.c: New file.
15330 * powerpc64/power6/wcschr.c: New file.
15331 * powerpc64/power6/wcscpy.c: New file.
15332 * powerpc64/power6/wcsrchr.c: New file.
15333
bcca0895
MK
153342012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15335
15336 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15337 (two_way_short_needle): Use it.
5a4aaa33
RM
15338 * string/strstr.c (AVAILABLE1_USES_J): Define.
15339 * string/strcasestr.c: Likewise.
99677e57
MK
15340
15341 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15342 array references.
15343 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15344
400726de
MK
15345 [BZ #11607]
15346 * NEWS: Add an entry.
15347 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15348 define their defaults.
15349 (two_way_short_needle): Detect end-of-string on-the-fly.
15350 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15351 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15352 * string/bug-strcasestr1.c: New test.
15353 * string/Makefile: Run it.
15354
20a71f2c
MK
153552012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15356
15357 [BZ #11607]
15358 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15359 the first character.
15360
21ad0558
RM
153612012-08-21 Roland McGrath <roland@hack.frob.com>
15362
15363 * csu/elf-init.c (__libc_csu_irel): Function removed.
15364 * csu/libc-start.c (apply_irel): New function.
15365 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15366
0e1d9911
JM
153672012-08-21 Joseph Myers <joseph@codesourcery.com>
15368
15369 * sysdeps/unix/sysv/linux/kernel-features.h
15370 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15371 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15372 <kernel-features.h>.
15373 [__NR_fadvise64_64]: Make code unconditional.
15374 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15375 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15376 !__NR_fadvise64_64)]: Likewise.
15377 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15378 !__NR_fadvise64_64))]: Likewise.
15379 [__NR_fadvise64]: Make code unconditional.
15380 [!__NR_fadvise64]: Remove conditional code.
15381 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15382 <kernel-features.h>.
15383 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15384 unconditional.
15385 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15386 conditional code.
15387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15388 not include <kernel-features.h>.
15389 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15390 unconditional.
15391 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15392 conditional code.
15393 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15394 include <kernel-features.h>.
15395 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15396 unconditional.
15397 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15398 conditional code.
15399
14a50c9d
WS
154002012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15401
15402 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15403 slight instruction rearrangements per scrollpipe analysis.
15404 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15405
c0f4faf0
RM
154062012-08-20 Roland McGrath <roland@hack.frob.com>
15407
696da859
RM
15408 * manual/syslog.texi (syslog; vsyslog, closelog):
15409 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15410 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15411
c0f4faf0
RM
15412 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15413 DSOCAPS to match condition on defining it.
15414
348363b2
JM
154152012-08-20 Joseph Myers <joseph@codesourcery.com>
15416
a35cbf28
JM
15417 * sysdeps/unix/sysv/linux/kernel-features.h
15418 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15420 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15421 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15423 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15424 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15426 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15427 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15428
445f7ecd
JM
15429 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15430 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15431
348363b2
JM
15432 * sysdeps/unix/sysv/linux/kernel-features.h
15433 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15434 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15435 unconditional.
15436 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15437 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15438 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15439 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15440 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15441 Make code unconditional.
15442 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15443 (__mmap64) [!__NR_mmap2]: Likewise.
15444 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15445 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15446 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15447 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15448 [__NR_mmap2]: Make code unconditional.
15449 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15450 (__mmap64) [!__NR_mmap2]: Likewise.
15451
bc5bc0e5
AK
154522012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15453
15454 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15455
88d506de
AJ
154562012-08-18 Andreas Jaeger <aj@suse.de>
15457
15458 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15459
493387d2
MF
154602012-08-18 Mike Frysinger <vapier@gentoo.org>
15461
15462 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15463 * include/unistd.h (__have_sock_cloexec): Likewise.
15464 (__have_pipe2): Likewise.
15465 (__have_dup3): Likewise.
15466
a277af22
MF
154672012-08-18 Mike Frysinger <vapier@gentoo.org>
15468
15469 [BZ #9685]
15470 * include/unistd.h (__have_pipe2): Change define into an extern int.
15471 (__have_dup3): Likewise.
15472 * socket/have_sock_cloexec.c: Include fcntl.h.
15473 (__have_pipe2): New variable.
15474 (__have_dup3): Likewise.
15475
fdab8fd3
MF
154762012-08-17 Mike Frysinger <vapier@gentoo.org>
15477
15478 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15479
31035e80
MP
154802012-08-17 Marek Polacek <polacek@redhat.com>
15481
15482 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15483 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15484
3bd9e993
RM
154852012-08-17 Roland McGrath <roland@hack.frob.com>
15486
c91c505f
RM
15487 * configure.in: Add AC_SUBST for sysheaders.
15488 * configure: Regenerated.
15489 * config.make.in (sysheaders): New substituted variable.
15490
7c6f9d53
RM
15491 * sysdeps/unix/mkfifo.c: Moved ...
15492 * sysdeps/posix/mkfifo.c: ... here.
15493 * sysdeps/unix/mkfifoat.c: Moved ...
15494 * sysdeps/posix/mkfifoat.c: ... here.
15495
15496 * sysdeps/unix/utime.c: Moved ...
15497 * sysdeps/posix/utime.c: ... here.
15498
15499 * sysdeps/unix/time.c: Moved ...
15500 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
15501 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15502 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
15503
15504 * sysdeps/unix/nice.c: Moved ...
15505 * sysdeps/posix/nice.c: ... here.
15506
15507 * sysdeps/unix/alarm.c: Moved ...
15508 * sysdeps/posix/alarm.c: ... here.
15509
3bd9e993
RM
15510 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15511
d1f09384
JL
155122012-08-17 Jeff Law <law@redhat.com>
15513
15514 * intl/Makefile (codeset_mo): New variable.
15515 ($(codeset_mo)): New target.
15516 (tst-codeset.out): Depend on that. Remove explicit rule.
15517 (tst-gettext3.out, tst-gettext5.out): Likewise.
15518 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15519 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15520 * intl/tst-codeset.sh: Remove.
15521 * intl/tst-gettext3.sh: Likewise.
15522 * intl/tst-gettext5.sh: Likewise.
15523
2ae1ae5c
RM
155242012-08-17 Roland McGrath <roland@hack.frob.com>
15525
c31fdb83
RM
15526 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15527 * sysdeps/unix/syscalls.list: ... here.
15528
a0844057
RM
15529 * sysdeps/posix/getaddrinfo.c
15530 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15531 (gaiconf_init, gaiconf_reload): Use them.
15532 [!_STATBUF_ST_NSEC]
15533 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15534 Define using time_t rather than struct timespec.
15535
750c1f2a
RM
15536 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15537 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15538 Macros removed.
15539 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15540 [!NO_THREADS].
15541 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15542 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15543 Likewise.
15544
2ae1ae5c
RM
15545 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15546 __libc_cleanup_push argument.
15547
e66a42f5
RM
15548 * bits/param.h: New file.
15549 * misc/sys/param.h: New file.
15550 * include/sys/param.h: New file.
15551 * misc/Makefile (headers): Add bits/param.h.
15552 * sysdeps/generic/sys/param.h: File removed.
15553 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15554 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15555 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15556 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15557
b7c08a66
RM
15558 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15559 last change.
15560
b2e1c562
RM
15561 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15562 [_IO_MTSAFE_IO].
15563 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15564 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15565 New macros.
15566
c75ccd4c
RM
15567 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15568 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15569 rather than -D_IO_MTSAFE_IO conditionally.
15570 * stdio-common/Makefile (CPPFLAGS): Likewise.
15571 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15572 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15573 Use $(libio-mtsafe).
15574 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15575 of -D_IO_MTSAFE_IO.
15576 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15577 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15578 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15579 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15580 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15581 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15582 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15583 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15584 (CFLAGS-fread_u_chk.c): Likewise.
15585 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15586 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15587 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15588 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15589 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15590 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15591 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15592 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15593 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15594
15595 * libio/Makefile: Test [$(libc-reentrant) = yes]
15596 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15597
15598 * Makeconfig
15599 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15600 * sysdeps/pthread/configure: File removed.
15601 * sysdeps/pthread/Makeconfig: New file.
15602 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15603 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15604
d9195db8
GB
156052012-08-16 Gary Benson <gbenson@redhat.com>
15606
15607 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15608 unmapping the first object in a namespace.
15609
86466cd9
RM
156102012-08-16 Roland McGrath <roland@hack.frob.com>
15611
15612 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15613 (__internal_setnetgrent): ... this. Add internal_function to
15614 definition. Add libc_hidden_def.
15615 (setnetgrent): Update caller.
15616 (internal_endnetgrent): Renamed to ...
15617 (__internal_endnetgrent): ... this. Add internal_function to
15618 definition. Add libc_hidden_def.
15619 (endnetgrent): Update caller.
15620 (internal_getnetgrent_r): Renamed to ...
15621 (__internal_getnetgrent_r): ... this. Add internal_function to
15622 definition. Add libc_hidden_def.
15623 (__getnetgrent_r): Update caller.
15624 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15625
c3c8283c
JM
156262012-08-16 Joseph Myers <joseph@codesourcery.com>
15627
15628 * stdlib/longlong.h: Update from GCC.
15629
db1ee0a8
RM
156302012-08-16 Roland McGrath <roland@hack.frob.com>
15631
15632 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15633 on _QL, which is set by umul_ppmm but never used.
15634 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15635 variables, which are set by GMP macros but never used.
15636 * stdio-common/_itowa.c (_itowa): Likewise.
15637 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15638 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15639
30f69637
CD
156402012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15641
15642 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15643 struct La_sh_regs is not constant.
15644 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15645 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15646 and struct La_sparc64_regs are not constant.
15647
93a78ac4
JM
156482012-08-16 Joseph Myers <joseph@codesourcery.com>
15649
15650 * sysdeps/unix/sysv/linux/kernel-features.h
15651 (__ASSUME_POSIX_TIMERS): Remove.
15652 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15653 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15654 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15655 Make code unconditional.
15656 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15657 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15658 Make code unconditional.
15659 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15660 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15661 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15662 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15663 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15664 Make code unconditional.
15665 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15666 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15667 (__libc_missing_posix_timers): Remove.
15668
dd924cd7
RM
156692012-08-15 Roland McGrath <roland@hack.frob.com>
15670
4b4f2771
RM
15671 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15672 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15673
601c888b
RM
15674 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15675
176790a7
RM
15676 * elf/dl-sym.c: Include <stdlib.h>.
15677
329bc018
RM
15678 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15679 constants, which avoids warnings in 32-bit builds.
15680
e04e272d
RM
15681 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15682 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15683
952bf94a
RM
15684 * misc/lseek.c: File moved to ...
15685 * io/lseek.c: ... here.
15686
7c99b50a
RM
15687 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15688
dd924cd7
RM
15689 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15690 shifting LEN more than 31 bits at once.
15691
b3f479a8
LD
156922012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15693
15694 [BZ #14195]
8c4ae0d4
RM
15695 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15696 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15697 * string/test-strncasecmp.c (check1): Renamed to...
15698 (bz12205): ...this.
15699 (bz14195): Add new testcase for two empty input strings and N > 0.
15700 (test_main): Call new testcase, adapt for renamed function.
15701
9c55864e
AJ
157022012-08-15 Andreas Jaeger <aj@suse.de>
15703
15704 [BZ #14090]
15705 * crypt/md5test2.c: New test, based on test supplied by Serge
15706 Belyshev <belyshev@depni.sinp.msu.ru>.
15707 * crypt/Makefile (xtests): Add md5test-giant..
15708 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15709
02dcb6c5
PE
157102012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15711
15712 [BZ #14090]
15713 * crypt/md5.c (md5_process_block): Don't assume the buffer
15714 length is less than 2**32.
15715 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15716 length is less than 2**64.
15717
a3f95dcc
RM
157182012-08-15 Roland McGrath <roland@hack.frob.com>
15719
be75d758
RM
15720 * string/str-two-way.h: Include <sys/param.h>.
15721 (MAX): Macro removed.
15722
7312ca90
RM
15723 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15724 Move #define and #undef of memmove to just before and after
15725 including <string.h>.
15726
9a0a5486
RM
15727 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15728 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15729 and after including <string.h>. Move declarations of
15730 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15731 to before #include "string/memmove.c".
15732
67cc348d
RM
15733 * include/dirent.h: Declare __getdirentries.
15734
a3f95dcc
RM
15735 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15736 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15737
ca98e171
MF
157382012-08-14 Mike Frysinger <vapier@gentoo.org>
15739
15740 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15741 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15742 * sysdeps/i386/configure: Regenerated.
15743 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15744 STABS_CURRENT_FILE, and STABS_FUN.
15745 (END): Remove call to STABS_FUN_END.
15746 (STABS_CURRENT_FILE1): Delete.
15747 (STABS_CURRENT_FILE): Likewise.
15748 (STABS_FUN): Likewise.
15749 (STABS_FUN_END): Likewise.
15750 (STABS_FUN2): Likewise.
15751 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15752 * sysdeps/x86_64/configure: Regenerated.
15753
5908bf46
RM
157542012-08-14 Roland McGrath <roland@hack.frob.com>
15755
15756 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15757 * elf/dl-lookup.c: Likewise.
5908bf46 15758
f2c05b9e
JM
157592012-08-14 Joseph Myers <joseph@codesourcery.com>
15760
15761 * sysdeps/unix/sysv/linux/kernel-features.h
15762 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15763 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15764 unconditionally.
15765 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15766 unconditionally.
15767 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15768 condition on __ASSUME_CLONE_THREAD_FLAGS.
15769
e11f5155
AJ
157702012-08-14 Andreas Jaeger <aj@suse.de>
15771
15772 * sysdeps/i386/fpu/libm-test-ulps: Update.
15773
51a9ba86
MK
157742012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15775
2fdd4f78
AJ
15776 * include/atomic.h (atomic_exchange_and_add): Split into ...
15777 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15778 New atomic macros.
51a9ba86 15779
ba6cba9e
MT
157802012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15781
15782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15783
42443a47
JL
157842012-08-13 Jeff Law <law@redhat.com>
15785
15786 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15787 null byte in the output string.
15788
121dce05
JM
157892012-08-10 Joseph Myers <joseph@codesourcery.com>
15790
15791 * sysdeps/unix/sysv/linux/kernel-features.h
15792 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15793 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15794 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15795 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15796 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15797 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15798 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15799
bf51f568
JL
158002012-08-09 Jeff Law <law@redhat.com>
15801
15802 [BZ #13939]
15803 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15804 When avoid_arena is set, don't retry in the that arena. Pick the
15805 next one, whatever it might be.
15806 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15807 (arena_lock): Pass in new parameter to arena_get2.
15808 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15809 arena_get2.
15810 (__libc_malloc): Unify retrying after main arena failure with
15811 __libc_memalign version.
15812 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15813
f85fa270
L
158142012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15815
15816 [BZ #14166]
15817 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15818 to __redirect_strstr.
15819 (__strstr_sse42): Use typeof __redirect_strstr.
15820 (__strstr_ia32): Likewise.
15821 (__libc_strstr): New prototype.
15822 (strstr): Renamed to ...
15823 (__libc_strstr): This.
15824 (strstr): New strong alias of __libc_strstr.
15825 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15826 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15827 __redirect_time.
15828 Include <time.h>.
15829 (__libc_time): New prototype.
15830 (time_ifunc): Replace time with __libc_time.
15831 (time): New strong alias and hidden definition of __libc_time.
15832 (__GI_time): Remove strong alias.
15833 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15834 Include <stddef.h>.
15835 (memmove): Redefined to __redirect_memmove.
15836 (__memmove_sse2): Use typeof __redirect_memmove.
15837 (__memmove_ssse3): Likewise.
15838 (__memmove_ssse3_back): Likewise.
15839 (__libc_memmove): New prototype.
15840 (memmove): Renamed to ...
15841 (__libc_memmove): This.
15842 (memmove): New strong alias of __libc_memmove.
15843
33b4a91e
MS
158442012-08-08 Mark Salter <msalter@redhat.com>
15845
15846 * elf/elf.h
15847 (R_MN10300_TLS_GD): Define.
15848 (R_MN10300_TLS_LD): Likewise.
15849 (R_MN10300_TLS_LDO): Likewise.
15850 (R_MN10300_TLS_GOTIE): Likewise.
15851 (R_MN10300_TLS_IE): Likewise.
15852 (R_MN10300_TLS_LE): Likewise.
15853 (R_MN10300_TLS_DTPMOD): Likewise.
15854 (R_MN10300_TLS_DTPOFF): Likewise.
15855 (R_MN10300_TLS_TPOFF): Likewise.
15856 (R_MN10300_SYM_DIFF): Likewise.
15857 (R_MN10300_ALIGN): Likewise.
15858 (R_MN10300_NUM): Update.
15859
b36137f1
JM
158602012-08-08 Joseph Myers <joseph@codesourcery.com>
15861
15862 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15863 Remove.
15864
cdd915fd
RM
158652012-08-08 Roland McGrath <roland@hack.frob.com>
15866
a2433aac
RM
15867 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15868
cdd915fd
RM
15869 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15870 sysdeps/unix -> sysdeps/posix move.
15871 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15872
bf9b740a
AM
158732012-08-07 Allan McRae <allan@archlinux.org>
15874
15875 [BZ #14303]
15876 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15877 (SUNOS_CPP): Likewise.
15878 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15879 not found.
15880 (open_input): Call CPP using execvp.
15881
93df14ee
JM
158822012-08-07 Joseph Myers <joseph@codesourcery.com>
15883
15884 * sysdeps/unix/sysv/linux/kernel-features.h
15885 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15886 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15887 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15888 (__ASSUME_WAITID_SYSCALL): Likewise.
15889 * sysdeps/unix/sysv/linux/dl-execstack.c
15890 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15891 code unconditional.
15892 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15893 conditional code.
15894 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15895 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15896 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15897 code.
15898 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15899 unconditional.
15900 [__ASSUME_WAITID_SYSCALL]: Likewise.
15901 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15902
d34689de
RM
159032012-08-07 Roland McGrath <roland@hack.frob.com>
15904
a281decc
RM
15905 * sysdeps/unix/closedir.c: Renamed to ...
15906 * sysdeps/posix/closedir.c: ... here.
15907 * sysdeps/unix/dirfd.c: Renamed to ...
15908 * sysdeps/posix/dirfd.c: ... here.
15909 * sysdeps/unix/dirstream.h: Renamed to ...
15910 * sysdeps/posix/dirstream.h: ... here.
15911 * sysdeps/unix/fdopendir.c: Renamed to ...
15912 * sysdeps/posix/fdopendir.c: ... here.
15913 * sysdeps/unix/opendir.c: Renamed to ...
15914 * sysdeps/posix/opendir.c: ... here.
15915 * sysdeps/unix/readdir.c: Renamed to ...
15916 * sysdeps/posix/readdir.c: ... here.
15917 * sysdeps/unix/readdir_r.c: Renamed to ...
15918 * sysdeps/posix/readdir_r.c: ... here.
15919 * sysdeps/unix/rewinddir.c: Renamed to ...
15920 * sysdeps/posix/rewinddir.c: ... here.
15921 * sysdeps/unix/seekdir.c: Renamed to ...
15922 * sysdeps/posix/seekdir.c: ... here.
15923 * sysdeps/unix/telldir.c: Renamed to ...
15924 * sysdeps/posix/telldir.c: ... here.
15925 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15926 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15927 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15928 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15929
22895b47
RM
15930 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15931 * bits/fcntl.h: ... here.
15932
707a53b6
RM
15933 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15934 not 0.
15935 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15936 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15937 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15938 (struct flock): Move l_start, l_len to the beginning.
15939 Use __pid_t for l_pid.
15940 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15941 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15942 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15943 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15944 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15945 [__USE_LARGEFILE64] (struct flock64): New type.
15946 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15947
f0bd3e25
RM
15948 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15949 * bits/dirent.h: ... here.
15950
d34689de
RM
15951 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15952 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15953
6dad2c06
JM
159542012-08-07 Joseph Myers <joseph@codesourcery.com>
15955
15956 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15957 Change from 2.6.0 to 2.6.16.
15958 * sysdeps/unix/sysv/linux/configure: Regenerated.
15959 * sysdeps/unix/sysv/linux/kernel-features.h
15960 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15961 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15962 version.
15963 (__ASSUME_UTIMES): Likewise.
15964 (__ASSUME_CLONE_STOPPED): Remove.
15965 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15966 architectures, not kernel version.
15967 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15968 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15969 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15970 (__ASSUME_WAITID_SYSCALL): Likewise.
15971 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15972 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15973 * README: State 2.6.16 as minimum Linux kernel version. Do not
15974 refer to older versions.
15975
03af9520
RM
159762012-08-06 Roland McGrath <roland@hack.frob.com>
15977
8e49df1d
RM
15978 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15979 Define alphasort64 as an alias.
15980 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15981 Define versionsort64 as an alias.
15982 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15983 Define scandir64 as an alias.
15984 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15985 Define scandirat64 as an alias.
15986 * dirent/alphasort64.c (alphasort64):
15987 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15988 * dirent/versionsort64.c: Likewise.
15989 * dirent/scandir64.c: Likewise.
15990 * dirent/scandirat64.c: Likewise.
15991 * sysdeps/wordsize-64/alphasort.c: File removed.
15992 * sysdeps/wordsize-64/alphasort64.c: File removed.
15993 * sysdeps/wordsize-64/scandir.c: File removed.
15994 * sysdeps/wordsize-64/scandir64.c: File removed.
15995 * sysdeps/wordsize-64/scandirat.c: File removed.
15996 * sysdeps/wordsize-64/scandirat64.c: File removed.
15997 * sysdeps/wordsize-64/versionsort.c: File removed.
15998 * sysdeps/wordsize-64/versionsort64.c: File removed.
15999 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16000 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16001 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16002 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16003 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16004 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16005 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16006 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16007
16008 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16009 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16010 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16011 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16012 [defined __arch64__ || defined __sparcv9]
16013 (__INO_T_MATCHES_INO64_T): New macro.
16014 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16015 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16016 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16017 * sysdeps/unix/sysv/linux/bits/dirent.h
16018 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16019 (_DIRENT_MATCHES_DIRENT64): New macro.
16020
03af9520
RM
16021 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16022 Define lockf64 as an alias.
16023 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16024 Define fseeko64 as an alias.
16025 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16026 Define ftello64 as an alias.
16027 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16028 Define _IO_fgetpos64 and fgetpos64 as aliases.
16029 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16030 Define _IO_fsetpos64 and fsetpos64 as aliases.
16031 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16032 Conditionalize body on this.
16033 * libio/fseeko64.c: Likewise.
16034 * libio/ftello64.c: Likewise.
16035 * libio/iofgetpos64.c: Likewise.
16036 * libio/iofsetpos64.c: Likewise.
16037 * sysdeps/wordsize-64/lockf.c: File removed.
16038 * sysdeps/wordsize-64/lockf64.c: File removed.
16039 * sysdeps/wordsize-64/fseeko.c: File removed.
16040 * sysdeps/wordsize-64/fseeko64.c: File removed.
16041 * sysdeps/wordsize-64/ftello.c: File removed.
16042 * sysdeps/wordsize-64/ftello64.c: File removed.
16043 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16044 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16045 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16046 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16047 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16048 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16049 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16050 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16051 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16052 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16053 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16054 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16055 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16056 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16057
16058 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16059 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16060 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16061 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16062 [defined __arch64__ || defined __sparcv9]
16063 (__OFF_T_MATCHES_OFF64_T): New macro.
16064 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16065 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16066 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16067 (__OFF_T_MATCHES_OFF64_T): New macro.
16068
c5757acd
L
160692012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16070
16071 * stdlib/secure-getenv.c (__secure_getenv): Replace
16072 GLIBC_2_16 with GLIBC_2_17.
16073
3a31811e
L
160742012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16075
16076 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16077 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16078
faa2bccb
DM
160792012-08-03 David S. Miller <davem@davemloft.net>
16080
16081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16082
85fe1997
JM
160832012-08-03 Joseph Myers <joseph@codesourcery.com>
16084
16085 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16086 Remove.
16087 (__ASSUME_CORRECT_SI_PID): Likewise.
16088 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16089 (__ASSUME_TMPFS_NAME): Likewise.
16090 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16091 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16092 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16093 (HAVE_AUX_SECURE): Make definition unconditional.
16094 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16095 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16096
4f75b7a0
RM
160972012-08-03 Roland McGrath <roland@hack.frob.com>
16098
16099 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16100 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16101 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16102 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16103 __eloop_threshold instead of SYMLOOP_MAX.
16104
16105 * sysdeps/generic/eloop-threshold.h: New file.
16106 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16107 of MAXSYMLINKS.
16108 * elf/chroot_canon.c (chroot_canon): Likewise.
16109
7aab07e4
JM
161102012-08-03 Joseph Myers <joseph@codesourcery.com>
16111
16112 [BZ #13717]
16113 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16114 Change to 2.6.0 everywhere.
16115 * sysdeps/unix/sysv/linux/configure: Regenerated.
16116 * sysdeps/unix/sysv/linux/kernel-features.h
16117 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16118 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16119 kernel versions.
16120 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16121 (__ASSUME_FUTEX_REQUEUE): Remove.
16122 (__ASSUME_STATFS64): Define unconditionally.
16123 (__ASSUME_AT_SECURE): Likewise.
16124 (__ASSUME_CORRECT_SI_PID): Likewise.
16125 (__ASSUME_TGKILL): Define without depending on kernel version for
16126 i386.
16127 (__ASSUME_UTIMES): Likewise.
16128 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16129 kernel version.
16130 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16131 (__ASSUME_TMPFS_NAME): Likewise.
16132 * README: Update reference to Linux kernel versions.
16133
b67e9372
MP
161342012-08-02 Marek Polacek <polacek@redhat.com>
16135
1f529f7d 16136 [BZ# 14150]
b67e9372
MP
16137 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16138 libc_cv_asm_type_prefix with %.
16139 * configure: Regenerated.
d2441631
RM
16140 * include/libc-symbols.h: Remove comment about
16141 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
16142 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16143 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16144 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16145 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16146 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16147 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16148 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16149 * elf/tst-unique2mod1.c: Likewise.
16150 * elf/tst-unique1mod2.c: Likewise.
16151 * elf/tst-unique1mod1.c: Likewise.
16152 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16153 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16154 Replace ASM_TYPE_DIRECTIVE with .type.
16155 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16156 * sysdeps/i386/sysdep.h: Likewise.
16157 * sysdeps/x86_64/sysdep.h: Likewise.
16158 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
16159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16160 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 16161 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
16162 * sysdeps/powerpc/powerpc32/sysdep.h:
16163 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
16164 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16165 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16166 * sysdeps/i386/fpu/e_powf.S: Likewise.
16167 * sysdeps/i386/fpu/e_expl.S: Likewise.
16168 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16169 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16170 * sysdeps/i386/fpu/e_pow.S: Likewise.
16171 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16172 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16173 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16174 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16175 * sysdeps/i386/fpu/e_log2.S: Likewise.
16176 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16177 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16178 * sysdeps/i386/fpu/e_powl.S: Likewise.
16179 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16180 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16181 * sysdeps/i386/fpu/e_logl.S: Likewise.
16182 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16183 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16184 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16185 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16186 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16187 * sysdeps/i386/fpu/e_log.S: Likewise.
16188 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16189 * sysdeps/i386/fpu/e_logf.S: Likewise.
16190 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16191 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16192 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16193 * sysdeps/i386/fpu/e_log10.S: Likewise.
16194 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16195 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16196 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16197 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16198 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16199 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16200 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16201 * sysdeps/i386/i686/strtok.S: Likewise.
16202 * sysdeps/i386/i386-mcount.S: Likewise.
16203 * sysdeps/i386/strtok.S: Likewise.
16204 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16205 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16206 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16207 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16208 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16209 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16210 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16211 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16212 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16213 * sysdeps/x86_64/_mcount.S: Likewise.
16214 * sysdeps/x86_64/strtok.S: Likewise.
16215 * sysdeps/sh/_mcount.S: Likewise.
16216
2747bf9a
RM
162172012-08-01 Roland McGrath <roland@hack.frob.com>
16218
16219 * libio/iofopen.c: Include <fcntl.h>.
16220 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16221 (_IO_fopen64, fopen64): Define as aliases.
16222 * libio/iofopen64.c: Include <fcntl.h>.
16223 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16224 Conditionalize body on this.
16225 * sysdeps/wordsize-64/iofopen.c: File removed.
16226 * sysdeps/wordsize-64/iofopen64.c: File removed.
16227
3fb791b8
MP
162282012-08-01 Marek Polacek <polacek@redhat.com>
16229
16230 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16231 Use dlfcn directly instead of a variable.
16232 (binfmt-subdir): Do not define.
16233 (dlfcn): Likewise.
16234
a9f1039f
JM
162352012-08-01 Joseph Myers <joseph@codesourcery.com>
16236
23bddc06
JM
16237 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16238 Remove all definitions.
16239 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16240 <kernel-features.h>.
16241 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16242 (miss_F_GETOWN_EX): Remove all definitions.
16243 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16244 macro definition.
16245 [!__ASSUME_FCNTL64]: Remove conditional code.
16246 [__ASSUME_FCNTL64]: Make code unconditional.
16247 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16248 <kernel-features.h>.
16249 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16250 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16251 (lockf64) [__NR_fcntl64]: Make code unconditional.
16252 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16253
a9f1039f
JM
16254 * sysdeps/unix/sysv/linux/kernel-features.h
16255 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16256 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16257 Make code unconditional.
16258 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16259 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16261 [__NR_vfork]: Make code unconditional.
16262 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16263 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16265 [__NR_vfork]: Make code unconditional.
16266 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16267 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16268
09c0ee5f
RM
162692012-08-01 Roland McGrath <roland@hack.frob.com>
16270
48aec5b9
RM
16271 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16272 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16273
cd97c966
RM
16274 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16275 Define mkstemp64 as an alias.
3f55550c
RM
16276 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16277 Define mkstemps64 as an alias.
cd97c966
RM
16278 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16279 Define mkostemp64 as an alias.
b8625cfc
RM
16280 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16281 Define mkostemps64 as an alias.
cd97c966
RM
16282 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16283 Conditionalize body on this.
16284 * misc/mkostemp64.c: Likewise.
b8625cfc 16285 * misc/mkostemps64.c: Likewise.
3f55550c 16286 * misc/mkstemps64.c: Likewise.
cd97c966
RM
16287 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16288 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16289 * sysdeps/wordsize-64/mkostemp.c: File removed.
16290 * sysdeps/wordsize-64/mkstemp.c: File removed.
16291 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16292 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16293 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16294 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16295
09c0ee5f
RM
16296 [BZ #14138]
16297 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16298 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16299 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16300 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16301
16302 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16303 compat_symbol macros from <shlib-compat.h> rather than the underlying
16304 default_symbol_version and symbol_version macros, so that DEFAULT
16305 lines in shlib-versions are respected.
16306 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16307
7e66ee51
FW
163082012-08-01 Florian Weimer <fweimer@redhat.com>
16309
16310 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16311 Declare with warn_unused_result.
16312 (setgid, setregid, setegid, setresgid): Likewise.
16313 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16314 Likewise.
16315 * WUR-REPORT: Remove set*id functions.
16316
d2a54255
PT
163172012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16318
16319 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16320
7ecdb005
RM
163212012-07-31 Roland McGrath <roland@hack.frob.com>
16322
b4180a5e 16323 [BZ #10191]
789bd351
RM
16324 * include/sys/socket.h (__libc_accept, __libc_accept4):
16325 Add attribute_hidden.
16326 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16327
40ce302d
RM
16328 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16329 use of PTR_MANGLE.
16330 * inet/getnetgrent_r.c (setup): Likewise.
16331
7ecdb005
RM
16332 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16333
e2eabb2c
DM
163342012-07-31 David S. Miller <davem@davemloft.net>
16335
16336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16337
d0419dbf
JM
163382012-07-31 Joseph Myers <joseph@codesourcery.com>
16339
16340 [BZ #13629]
16341 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16342 value between 1.0 and 2.0 and smaller part has absolute value less
16343 than 1.0.
16344 * math/s_clog10.c (__clog10): Likewise.
16345 * math/s_clog10f.c (__clog10f): Likewise.
16346 * math/s_clog10l.c (__clog10l): Likewise.
16347 * math/s_clogf.c (__clogf): Likewise.
16348 * math/s_clogl.c (__clogl): Likewise.
16349 * math/libm-test.inc (clog_test): Add more tests.
16350 (clog10_test): Likewise.
16351 * sysdeps/i386/fpu/libm-test-ulps: Update.
16352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16353
2bc13872
FW
163542012-07-31 Florian Weimer <fweimer@redhat.com>
16355
16356 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16357 Exit with zero in case no suitable GID is found, and write a
16358 message to standard error.
16359
bea9b193
RM
163602012-07-30 Roland McGrath <roland@hack.frob.com>
16361
16362 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16363 rather than to 1.
16364 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16365 (MAXPATHLEN): Removed.
16366 (NOGROUP, NODEV): New macros.
16367 (setbit, clrbit, isset, isclr): New macros.
16368 (howmany, roundup, powerof2): New macros.
16369 (DEV_BSIZE): New macro.
16370
16371 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16372 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16373
16374 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16375 definition on [!__NO_LONG_DOUBLE_MATH].
16376
16377 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16378 PTR_MANGLE and PTR_DEMANGLE.
16379
16380 * socket/accept4.c (accept4): Rename to __libc_accept4.
16381 Define accept4 as a weak alias.
16382
16383 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16384 on [_DIRENT_HAVE_D_TYPE].
16385 * io/ftw.c (ftw_dir): Likewise.
16386
16387 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16388
16389 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16390
16391 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16392 Use the BSD numbers rather than the arbitrary ones we had.
16393 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16394 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16395 (SIGXCPU, SIGXFSZ): New macros.
16396 (_NSIG): Now 32.
16397
16398 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16399 initializer on [_LIBC_REENTRANT].
16400
16401 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16402 definitions inside [_POSIX_MAPPED_FILES].
16403
16404 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16405
16406 * dirent/opendir.c: Include <fcntl.h>.
16407
16408 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16409 (__libc_getspecific): Likewise.
16410 (__libc_key_create): Likewise.
16411
16412 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16413 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16414 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16415 (tmpfile64): Define as alias.
16416 * sysdeps/wordsize-64/tmpfile.c: File removed.
16417 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16418 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16419 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16420
16421 * stdio-common/vfscanf.c: Include <stdbool.h>.
16422 * nss/makedb.c: Likewise.
16423 * stdio-common/_i18n_number.h: Likewise.
16424 * argp/argp-help.c: Likewise.
16425 * posix/wordexp.c: Likewise.
16426 * sysdeps/posix/spawni.c: Likewise.
16427 * nss/nss_files/files-initgroups.c: Likewise.
16428 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16429 * nss/nss_files/files-initgroups.c: Likewise.
16430 * nss/nss_db/db-netgrp.c: Likewise.
16431 * nss/nss_db/db-initgroups.c: Likewise.
16432 * io/fchmodat.c: Include <sys/stat.h>.
16433
16434 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16435 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16436
16437 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16438 [HAVE_MMAP].
16439
16440 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16441 Add multiple inclusion protection.
16442
e5abc686
DM
164432012-07-27 David S. Miller <davem@davemloft.net>
16444
16445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16446
815e6fa3
GB
164472012-07-27 Gary Benson <gbenson@redhat.com>
16448
16449 [BZ #14298]
16450 * elf/rtld.c: Include <stap-probe.h>.
16451 (dl_main): Added static probes "init_start" and "init_complete".
16452 * elf/dl-load.c: Include <stap-probe.h>.
16453 (lose): Take new parameter "nsid".
16454 Added static probe "map_failed".
16455 (_dl_map_object_from_fd): Pass namespace id to lose.
16456 Added static probe "map_start".
16457 (open_verify): Pass namespace id to lose.
16458 * elf/dl-open.c: Include <stap-probe.h>.
16459 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16460 and "reloc_complete".
16461 * elf/dl-close.c: Include <stap-probe.h>.
16462 (_dl_close_worker): Added static probes "unmap_start" and
16463 "unmap_complete".
16464 * elf/rtld-debugger-interface.txt: New file documenting the above.
16465
9f98c16c
RM
164662012-07-26 Roland McGrath <roland@hack.frob.com>
16467
16468 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16469 rather than a string variable.
16470 * sunrpc/rpc_main.c (h_output): Likewise.
16471 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16472
f3c22df3
PT
164732012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16474
16475 * inet/check_native.c: New file.
16476
3129cfc6
JM
164772012-07-26 Joseph Myers <joseph@codesourcery.com>
16478
da865e95
JM
16479 [BZ #13629]
16480 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16481 if larger part has absolute value 1.0.
16482 * math/s_clog10.c (__clog10): Likewise.
16483 * math/s_clog10f.c (__clog10f): Likewise.
16484 * math/s_clog10l.c (__clog10l): Likewise.
16485 * math/s_clogf.c (__clogf): Likewise.
16486 * math/s_clogl.c (__clogl): Likewise.
16487 * math/libm-test.inc (clog_test): Add more tests.
16488 (clog10_test): Likewise.
16489 * sysdeps/i386/fpu/libm-test-ulps: Update.
16490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16491
3129cfc6
JM
16492 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16493 (pltexit): Likewise.
16494 (La_regs): Likewise.
16495 (La_retval): Likewise.
16496 (int_retval): Likewise.
16497 Update #error for removed macros to refer only to definitions in
16498 tst-audit.h.
16499 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16500 macro.
16501 (pltexit): Likewise.
16502 (La_regs): Likewise.
16503 (La_retval): Likewise.
16504 (int_retval): Likewise.
16505 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16506 macro.
16507 (pltexit): Likewise.
16508 (La_regs): Likewise.
16509 (La_retval): Likewise.
16510 (int_retval): Likewise.
16511 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16512 macro.
16513 (pltexit): Likewise.
16514 (La_regs): Likewise.
16515 (La_retval): Likewise.
16516 (int_retval): Likewise.
16517 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16518 macro.
16519 (pltexit): Likewise.
16520 (La_regs): Likewise.
16521 (La_retval): Likewise.
16522 (int_retval): Likewise.
16523 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16524 macro.
16525 (pltexit): Likewise.
16526 (La_regs): Likewise.
16527 (La_retval): Likewise.
16528 (int_retval): Likewise.
16529 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16530 macro.
16531 (pltexit): Likewise.
16532 (La_regs): Likewise.
16533 (La_retval): Likewise.
16534 (int_retval): Likewise.
16535 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16536 macro definitions in tst-audit.h.
16537 * sysdeps/i386/tst-audit.h: New file.
16538 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16539 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16540 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16541 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16542 * sysdeps/sh/tst-audit.h: Likewise.
16543 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16544 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16545 * sysdeps/x86_64/tst-audit.h: Likewise.
16546
bfc07087
AJ
165472012-07-26 Andreas Jaeger <aj@suse.de>
16548
b1b2aaf8
AJ
16549 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16550 ptrace.
16551
16552 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16553 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16554 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16555 PTRACE_O_MASK.
16556 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16557 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16558 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16559
bfc07087
AJ
16560 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16561 value.
16562
16563 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16564 _sigsys.
16565 (si_call_addr, si_syscall, si_arch): Define new macro.
16566 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16567 _sigsys.
16568 (si_call_addr, si_syscall, si_arch): Define new marcro.
16569 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16570 _sigsys.
16571 (si_call_addr, si_syscall, si_arch): Define new macro.
16572 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16573 _sigsys.
16574 (si_call_addr, si_syscall, si_arch): Define new macro.
16575
89b4b02f
JM
165762012-07-25 Joseph Myers <joseph@codesourcery.com>
16577
16578 [BZ #13717]
16579 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16580 Change to 2.4.21 where previously 2.4.1.
16581 * sysdeps/unix/sysv/linux/configure: Regenerated.
16582 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16583 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16584 Linux kernel version.
16585 (__ASSUME_STD_AUXV): Remove.
16586 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16587 kernel version.
16588 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16589 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16590 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16591 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16592 (__ASSUME_NETLINK_SUPPORT): Likewise.
16593 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16594 (__no_netlink_support): Remove conditional definition.
16595 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16596 Remove.
16597 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16598 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16599 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16600 (if_nameindex_ioctl): Remove.
16601 (if_nameindex_netlink): Do not handle __no_netlink_support.
16602 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16603 code.
16604 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16605 Remove conditional code.
16606 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16607 code.
16608 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16609 unconditional.
16610 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16611 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16612 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16613 Remove.
16614 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16615 [!__ASSUME_STD_AUXV]: Remove conditional code.
16616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16617 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16618 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16620 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16621 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16622 code.
16623 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16625 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16626 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16627 conditional code.
16628 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16630 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16631 code.
16632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16633 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16634 conditional code.
16635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16636 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16637 code unconditional.
16638 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16639 conditional code.
16640 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16641 unconditional.
16642 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16643 conditional code.
16644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16645 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16646 unconditional.
16647 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16648 conditional code.
16649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16650 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16651 code unconditional.
16652 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16653 conditional code.
16654 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16655 unconditional.
16656 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16657 conditional code.
16658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16659 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16660 code unconditional.
16661 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16662 conditional code.
16663 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16664 unconditional.
16665 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16666 conditional code.
16667
842a39cd
AS
166682012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16669
16670 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16671 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16672 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16673 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16674 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16675 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16676 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16677 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16678 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16679 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16680 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16681 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16682 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16683 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16684 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16685 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16686 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16687 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16688 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16689 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16690 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16691 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16692 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16693
84b3fd84
FW
166942012-07-25 Florian Weimer <fweimer@redhat.com>
16695
16696 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16697 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16698 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16699 Introduce __libc_secure_getenv.
0c7936d5
FW
16700 * stdlib/Versions (2.17): Add secure_getenv
16701 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16702 * stdlib/secure-getenv.c: Rename __secure_getenv to
16703 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16704 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16705 * stdlib/tst-secure-getenv.c: New.
16706 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16707 * manual/startup.texi (Environment Access): Document
16708 secure_getenv.
84b3fd84
FW
16709 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16710 __libc_secure_getenv.
16711 * inet/ruserpass.c (ruserpass): Likewise.
16712 * malloc/mtrace.c (mtrace): Likewise.
16713 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16714 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16715 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16716 * sysdeps/posix/tempname.c: Likewise. Evaluate
16717 HAVE_SECURE_GETENV.
16718 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16719 __secure_getenv to __libc_secure_getenv.
84b3fd84 16720 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16722 Likewise.
16723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16724 Likewise.
16725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16727 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16732
56e49b71
JM
167332012-07-25 Joseph Myers <joseph@codesourcery.com>
16734
16735 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16736 (struct La_i86_retval): Likewise.
16737 (struct La_x86_64_regs): Likewise.
16738 (struct La_x86_64_retval): Likewise.
16739 (struct La_x32_regs): Likewise.
16740 (struct La_x32_retval): Likewise.
16741 (struct La_ppc32_regs): Likewise.
16742 (struct La_ppc32_retval): Likewise.
16743 (struct La_ppc64_regs): Likewise.
16744 (struct La_ppc64_retval): Likewise.
16745 (struct La_sh_regs): Likewise.
16746 (struct La_sh_retval): Likewise.
16747 (struct La_s390_32_regs): Likewise.
16748 (struct La_s390_32_retval): Likewise.
16749 (struct La_s390_64_regs): Likewise.
16750 (struct La_s390_64_retval): Likewise.
16751 (struct La_sparc32_regs): Likewise.
16752 (struct La_sparc32_retval): Likewise.
16753 (struct La_sparc64_regs): Likewise.
16754 (struct La_sparc64_retval): Likewise.
16755 (struct audit_ifaces): Remove architecture-specific pltenter and
16756 pltexit members.
16757 * sysdeps/i386/ldsodefs.h: New file.
16758 * sysdeps/powerpc/ldsodefs.h: Likewise.
16759 * sysdeps/s390/ldsodefs.h: Likewise.
16760 * sysdeps/sh/ldsodefs.h: Likewise.
16761 * sysdeps/sparc/ldsodefs.h: Likewise.
16762 * sysdeps/x86_64/ldsodefs.h: Likewise.
16763
354691b7
MP
167642012-07-25 Marek Polacek <polacek@redhat.com>
16765
16766 [BZ #6808]
16767 * math/libm-test.inc (yn_test): Add another test.
16768 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16769 to ERANGE when the result is +-Inf.
16770 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16771 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16772 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16773 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16774
bf9e2071
JM
167752012-07-24 Joseph Myers <joseph@codesourcery.com>
16776
16777 * conform/data/time.h-data (NULL): Use macro-constant. Require
16778 equal to 0.
16779 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16780 clock_t.
16781 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16782
57633811
TS
167832012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16784
16785 * configure.in <sysdeps resolving>: Correct printing
16786 Implies_before.
16787 * configure: Regenerate.
16788
c23c33b0
TS
167892012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16790
16791 * math/w_ilogb.c: Include <limits.h>.
16792 * math/w_ilogbl.c: Likewise.
16793
b5982523
JM
167942012-07-20 Joseph Myers <joseph@codesourcery.com>
16795
16796 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16797 va_copy. Document allowing for unavailable va_copy only as
16798 pre-C99 compatibility.
16799 * manual/string.texi (Copying and Concatenation): Use va_copy
16800 instead of __va_copy in concat example.
16801
ac4ea442
PT
168022012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16803
16804 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16805 (__sendto): Use create_address_port. Initialize APORT and deallocate
16806 it if not null.
16807
f98eafbd
PT
16808 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16809 with O_NOLINK passed to __file_name_lookup.
16810
898c7aab
PT
16811 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16812 with O_NOLINK passed to __file_name_lookup.
16813
0ced335a
PT
16814 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16815 negative N or less than NGIDS.
16816
b3404dbd
PT
16817 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16818 type to string_t. Set ERANGE as errno and return it if NAME is not big
16819 enough. Use memcpy instead of strncpy.
16820
0f48659e
JM
168212012-07-20 Joseph Myers <joseph@codesourcery.com>
16822
16823 * elf/Makefile (check-data): Remove.
16824 (localplt.data): New vpath directive.
16825 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16826 instead of $(check-data).
16827 * scripts/data/localplt-generic.data: Move to ...
16828 * sysdeps/generic/localplt.data: ... here.
16829 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16830 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16831 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16833 ... here.
16834 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16836 ... here.
16837 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16839 ... here.
16840 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16842 ... here.
16843 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16845 ... here.
16846 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16848 ... here.
16849
d37cbdaa
AZ
168502012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16851
16852 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16853 PPC32 and PPC64 files.
16854 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16855 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16856
46f85fc2
AK
168572012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16858
16859 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16860 __makecontext_ret to ...
16861 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16862 ... here and call exit if uc_link is NULL. New file.
16863 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16864 __makecontext_ret.S.
16865 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16866 __makecontext_ret to ...
16867 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16868 ... here and call exit if uc_link is NULL. New file.
16869 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16870 __makecontext_ret.S.
16871
08f43f9b
AK
168722012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16873
16874 * elf/elf.h (R_390_IRELATIVE): New definition.
16875 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16876 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16877 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16878 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16879 (elf_machine_lazy_rel): Likewise.
16880 * sysdeps/s390/dl-irel.h: New file.
16881 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16882 * sysdeps/s390/s390-64/memset.S: New asm code.
16883 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16884 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16885 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16886 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16887 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16888 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16889 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16890 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16891 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16892 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16893 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16894 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16895 * sysdeps/s390/s390-32/memset.S: New asm code.
16896 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16897
3b05db33
MP
168982012-07-17 Marek Polacek <polacek@redhat.com>
16899
16900 [BZ #14349]
16901 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16902 * sysdeps/s390/s390-64/configure.in: Likewise.
16903 * sysdeps/sparc/configure.in: Likewise.
16904 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16905 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16906 * sysdeps/i386/configure.in: Likewise.
16907 * sysdeps/x86_64/configure.in: Likewise.
16908 * sysdeps/sh/configure.in: Likewise.
16909 * sysdeps/s390/s390-32/configure: Regenerated.
16910 * sysdeps/s390/s390-64/configure: Likewise.
16911 * sysdeps/x86_64/configure: Likewise.
16912 * sysdeps/sh/configure: Likewise.
16913 * sysdeps/powerpc/powerpc64/configure: Likewise.
16914 * sysdeps/powerpc/powerpc32/configure: Likewise.
16915 * sysdeps/sparc/configure: Likwise.
16916 * sysdeps/i386/configure: Likewise.
16917
a66877c6
MP
16918 * elf/dl-open.c: Comment fixes.
16919
cfc82fd8
JM
169202012-07-17 Joseph Myers <joseph@codesourcery.com>
16921
bd29910a
JM
16922 * Makefile [CXX] (check-data): Remove.
16923 [CXX] (c++-types.data): New vpath directive.
16924 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16925 vpath. Do not allow for C++ type data being missing.
16926 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16927 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16928 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16929 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16930 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16931 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16932 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16934 ... here.
16935 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16937 ... here.
16938 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16940 ... here.
16941 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16943 ... here.
16944 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16946 ... here.
16947 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16949 ... here.
16950 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16952 ... here.
16953 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16955
cfc82fd8
JM
16956 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16957 definitions to architecture-specific files.
16958 (TLS_IE): Likewise.
16959 (TLS_LD): Likewise.
16960 (TLS_GD): Likewise.
16961 * sysdeps/i386/tls-macros.h: New file.
16962 * sysdeps/powerpc/tls-macros.h: Likewise.
16963 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16964 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16965 * sysdeps/sh/tls-macros.h: Likewise.
16966 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16967 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16968 * sysdeps/x86_64/tls-macros.h: Likewise.
16969
f7db3170
TS
169702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16971
07cbfc23
TS
16972 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16973 zero value for regular exit case.
16974
f7db3170
TS
16975 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16976 (__start_context): Preserve zero value for regular exit case.
16977
dc97c227
TS
169782012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16979 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16980
16981 * manual/setjmp.texi (setcontext): Clarify normal process
16982 termination when uc_link is the null pointer.
16983 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16984 exit call.
16985
d0cd7d02
AS
169862012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16987
16988 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16989 preprocessor. Test for each exception mask separately.
16990
dd318934
AJ
169912012-07-16 Andreas Jaeger <aj@suse.de>
16992
16993 * po/ru.po: Update from translation team.
16994
8048311a
JM
169952012-07-15 Joseph Myers <joseph@codesourcery.com>
16996
16997 * conform/data/string.h-data (NULL): Use macro-constant. Require
16998 equal to 0.
16999 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17000 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17001 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17002 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17003 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17004
b637d46e
AJ
170052012-07-13 Andreas Jaeger <aj@suse.de>
17006
17007 * po/fr.po: Update from translation team.
17008
541428fe
MP
170092012-07-12 Marek Polacek <polacek@redhat.com>
17010
17011 [BZ #14173]
17012 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17013 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17014 loop condition.
17015
ec332e94
JM
170162012-07-12 Joseph Myers <joseph@codesourcery.com>
17017
17018 [BZ #13717]
17019 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17020 Change to 2.4.1 where previously 2.4.0.
17021 * sysdeps/unix/sysv/linux/configure: Regenerated.
17022 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17023 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17024 version.
17025 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17026 (__ASSUME_AT_CLKTCK): Remove.
17027 (__ASSUME_AT_PAGESIZE): Likewise.
17028 (__ASSUME_AT_XID): Likewise.
17029 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17030 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17031 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17032 unconditionally.
17033 (HAVE_AUX_PAGESIZE): Likewise.
17034 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17035 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17036 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17037
7b6e99be
JB
170382012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17039
17040 [BZ #14307]
17041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17042 the temporary buffer used to invoke __gethostbyname2_r,
17043 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17044 host_data / struct gaih_addrtuple.
17045 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17046 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17047 header file nss/nsswitch.h.
17048 * nss/nsswitch.h (global scope): Add definition of implementation
17049 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17050 resolv/nss_dns/dns-host.c).
17051
608404eb
AJ
170522012-07-11 Andreas Jaeger <aj@suse.de>
17053
17054 * po/fr.po: Update from translation team.
17055
71220aca
AJ
17056 * po/sv.po: Update from translation team
17057 * po/fr.po: Another update from translation team.
17058
28cfe843
AZ
170592012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17060
17061 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17062 for subnormals or multiply small sinh result by itself.
17063 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17065
6b90f981
DM
170662012-07-11 David S. Miller <davem@davemloft.net>
17067
17068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17069
c6825772
AS
170702012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17071
17072 [BZ #14347]
17073 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17074 (INTERNAL_MARK): Shift it here.
17075
7b8e0d49
MP
170762012-07-10 Marek Polacek <polacek@redhat.com>
17077
17078 [BZ #14151]
17079 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17080 libc_cv_asm_global_directive with .globl.
17081 * configure: Regenerated.
17082 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17083 with .globl.
17084 * sysdeps/i386/configure: Regenerated.
17085 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17086 with .globl.
17087 * sysdeps/x86_64/configure: Regenerated.
17088 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17089 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17090 * elf/tst-unique2mod2.c: Likewise.
17091 * elf/tst-unique2mod1.c: Likewise.
17092 * elf/tst-unique1mod2.c: Likewise.
17093 * elf/tst-unique1mod1.c: Likewise.
17094 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17095 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17096 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17097 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17098 * sysdeps/mach/sysdep.h: Likewise.
17099 * sysdeps/i386/sysdep.h: Likewise.
17100 * sysdeps/i386/i386-mcount.S: Likewise.
17101 * sysdeps/x86_64/_mcount.S: Likewise.
17102 * sysdeps/x86_64/sysdep.h: Likewise.
17103 * sysdeps/sh/_mcount.S: Likewise.
17104 * sysdeps/sh/sysdep.h: Likewise.
17105 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17106 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17107 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17108 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17109 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17110 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17111 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17112 * locale/localeinfo.h: Likewise.
17113 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17114 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17115
6c55cda3
RM
171162012-07-09 Roland McGrath <roland@hack.frob.com>
17117
17118 [BZ #14336]
17119 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17120 system".
17121 * manual/message.texi (The Uniforum approach): Likewise.
17122 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17123 (glibc iconv Implementation): Likewise.
17124
638a572e
JM
171252012-07-09 Joseph Myers <joseph@codesourcery.com>
17126
17127 [BZ #14337]
17128 * math/s_clog.c (__clog): Avoid scaling a value down where that
17129 could result in underflow.
17130 * math/s_clog10.c (__clog10): Likewise.
17131 * math/s_clog10f.c (__clog10f): Likewise.
17132 * math/s_clog10l.c (__clog10l): Likewise.
17133 * math/s_clogf.c (__clogf): Likewise.
17134 * math/s_clogl.c (__clogl): Likewise.
17135 * math/libm-test.inc (clog_test): Add more tests.
17136 (clog10_test): Likewise.
17137 * sysdeps/i386/fpu/libm-test-ulps: Update.
17138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17139
261f4859
AS
171402012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17141
0abaf3e4
AS
17142 [BZ #14283]
17143 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17144 by 7 not 8 to examine high bit of fractional part.
17145
261f4859
AS
17146 [BZ #14042]
17147 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17148 for call to __mcount_internal.
17149 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17150 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17151 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17152
f17ac40d
JM
171532012-07-06 Joseph Myers <joseph@codesourcery.com>
17154
9ad63c23
JM
17155 [BZ #14154]
17156 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17157 approximation for values within 0x1p-13f of an odd multiple of
17158 pi/4.
17159 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17160 exception. Add more tests.
17161 * sysdeps/i386/fpu/libm-test-ulps: Update.
17162
f17ac40d
JM
17163 [BZ #6778]
17164 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17165 inputs and return -1 for them. Do not check for +Inf in case not
17166 reachable for +Inf.
17167 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17168 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17169 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17170 and return -1 for them. Do not check for +Inf in case not
17171 reachable for +Inf.
17172 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17173 define.
17174 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17175 and return -1 for them. Do not check for +Inf in case not
17176 reachable for +Inf.
17177 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17178 spurious underflow.
17179 * sysdeps/i386/fpu/libm-test-ulps: Update.
17180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17181
fb21f89b
MF
171822012-07-06 Mike Frysinger <vapier@gentoo.org>
17183
17184 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17185
cdfe2c5e
JM
171862012-07-05 Joseph Myers <joseph@codesourcery.com>
17187
17188 [BZ #14157]
17189 [BZ #14331]
17190 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17191 could result in spurious underflow. Scale down values above
17192 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17193 * math/s_csqrtf.c (__csqrtf): Likewise.
17194 * math/s_csqrtl.c (__csqrtl): Likewise.
17195 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17196 spurious underflow.
17197 * sysdeps/i386/fpu/libm-test-ulps: Update.
17198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17199
70d35b67
AS
172002012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17201
704bc459
AS
17202 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17203 xopen-msg.sed.
17204 * catgets/xopen-msg.awk: New file.
17205 * catgets/xopen-msg.sed: Removed.
17206
70d35b67
AS
17207 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17208 po2text.sed.
17209 * intl/po2test.awk: New file.
17210 * intl/po2test.sed: Removed.
17211
ca61cf32
JM
172122012-07-04 Joseph Myers <joseph@codesourcery.com>
17213
17214 [BZ #14328]
17215 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17216 or multiply small sinh result by itself.
17217 * math/s_ctanf.c (__ctanf): Likewise.
17218 * math/s_ctanh.c (__ctanh): Likewise.
17219 * math/s_ctanhf.c (__ctanhf): Likewise.
17220 * math/s_ctanhl.c (__ctanhl): Likewise.
17221 * math/s_ctanl.c (__ctanl): Likewise.
17222 * math/libm-test.inc (ctan_test_tonearest): New function.
17223 (ctan_test_towardzero): Likewise.
17224 (ctan_test_downward): Likewise.
17225 (ctan_test_upward): Likewise.
17226 (ctanh_test_tonearest): Likewise.
17227 (ctanh_test_towardzero): Likewise.
17228 (ctanh_test_downward): Likewise.
17229 (ctanh_test_upward): Likewise.
17230 (main): Call these new functions.
17231 * sysdeps/i386/fpu/libm-test-ulps: Update.
17232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17233
ca48a46a
MF
172342012-07-03 Mike Frysinger <vapier@gentoo.org>
17235
17236 * .gitignore: Delete /ports entry.
17237
9d63d37d
AJ
172382012-07-03 Andreas Jaeger <aj@suse.de>
17239
17240 * po/bg.po: Update from translation team.
17241 * po/cs.po: Likewise.
17242 * po/de.po: Likewise.
17243 * po/hr.po: Likewise.
17244 * po/nl.pl: Likewise.
17245 * po/pl.po: Likewise.
17246 * po/vi.po: Likewise.
17247
370ca3d2
JM
172482012-07-03 Joseph Myers <joseph@codesourcery.com>
17249
95f5a9a8
JM
17250 * Makeconfig [!+link] (+link-before-libc): New variable.
17251 [!+link] (+link-after-libc): Likewise.
17252 [!+link] (+link-tests): Likewise.
17253 [!+link] (+link): Define in terms of $(+link-before-libc) and
17254 $(+link-after-libc).
17255 [!+link-static] (+link-static-before-libc): New variable.
17256 [!+link-static] (+link-static-after-libc): Likewise.
17257 [!+link-static] (+link-static-tests): Likewise.
17258 [!+link-static] (+link-static): Define in terms of
17259 $(+link-static-before-libc) and $(+link-static-after-libc).
17260 [build-shared] (link-libc-before-gnulib): New variable.
17261 [build-shared] (link-libc-tests): Likewise.
17262 [build-shared] (link-libc): Define in terms of
17263 $(link-libc-before-gnulib).
17264 [!build-shared] (link-libc-tests): New variable.
17265 (link-libc-static-tests): New variable.
17266 [!gnulib] (gnulib-arch): New variable.
17267 [!gnulib] (gnulib-tests): Likewise.
17268 [!gnulib] (static-gnulib-arch): Likewise.
17269 [!gnulib] (static-gnulib-tests): Likewise.
17270 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17271 Define with "=" instead of ":=".
17272 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17273 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17274 * Rules (binaries-all-notests): New variable.
17275 (binaries-all-tests): Likewise.
17276 (binaries-static-notests): Likewise.
17277 (binaries-static-tests): Likewise.
17278 (binaries-all): Define using $(binaries-all-notests) and
17279 $(binaries-all-tests).
17280 (binaries-static): Define using $(binaries-static-notests) and
17281 $(binaries-static-tests).
17282 (binaries-shared-tests): New variable.
17283 (binaries-shared-notests): Likewise.
17284 (binaries-shared): Remove variable.
17285 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17286 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17287 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17288 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17289 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17290 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17291 * elf/Makefile (sln-modules): New variable.
17292 (extra-objs): Add $(sln-modules:=.o).
17293 (ldconfig-modules): Add static-stubs.
17294 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17295 * elf/static-stubs.c: New file.
17296
7a845b2c
JM
17297 [BZ #14283]
17298 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17299 by 7 not 8 to examine high bit of fractional part. Use volatile
17300 variables when splitting into final array of floats if
17301 __FLT_EVAL_METHOD__ != 0.
17302 * math/libm-test.inc (cos_test): Add another test.
17303 (sin_test): Likewise.
17304 * sysdeps/i386/fpu/libm-test-ulps: Update.
17305
e2283f38
JM
17306 [BZ #14273]
17307 * math/libm-test.inc (cosh_test): Add more tests.
17308
370ca3d2
JM
17309 * version.h (RELEASE): Set to "development".
17310 (VERSION): Set to "2.16.90".
17311
ee9247c3
CD
173122012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17313
17314 * NEWS: Update copyright. Remove last-updated date.
17315 Mention math library bug fixes and timezone data changes.
17316 * README: Mention GNU/Hurd, x32, and HPPA support status.
17317
4648c381
TS
173182012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17319
17320 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17321
aac78a43
AJ
173222012-06-27 Andreas Jaeger <aj@suse.de>
17323
17324 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17325
ed3dbfad
AJ
173262012-06-25 Andreas Jaeger <aj@suse.de>
17327
17328 * sysdeps/s390/fpu/libm-test-ulps: Update.
17329
4d0ee855
AS
173302012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17331 Thomas Schwinge <thomas@codesourcery.com>
17332
17333 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17334 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17335 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17336 fanotify_mark.
17337
af1bce34
TS
173382012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17339
a9fa33ba
TS
17340 * sysdeps/mach/start.c: Remove file.
17341 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17342 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17343 * sysdeps/sh/init-first.c: Likewise.
17344
58f902b8
TS
17345 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17346 registers for frame unwinding purposes, add CFI directives.
17347 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17348 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17349 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17350 Likewise.
17351
1518f58b
TS
17352 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17353 __fortify_fail returning.
17354 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17355
db9b5059
TS
17356 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17357 sysdeps/sh/____longjmp_chk.S.
17358 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17359 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17360 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17361 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17362
967705fe
TS
17363 * sysdeps/sh/abort-instr.h: New file.
17364 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17365 process in case exit returns.
17366
a9def8c4
TS
17367 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17368 initialize the GOT register before use.
17369
2a649725
TS
17370 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17371 calculation of ARGC > 4.
17372
af1bce34
TS
17373 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17374 meaningful names to some local labels.
17375
d230f50a
KK
173762012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17377 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17378
17379 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17380 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17381 (__arch_compare_and_exchange_val_16_acq): Likewise.
17382 (__arch_compare_and_exchange_val_32_acq): Likewise.
17383 (atomic_exchange_and_add): Fix gUSA sequence.
17384 (atomic_add): Likewise.
17385 (atomic_add_negative): Likewise.
17386 (atomic_add_zero): Likewise.
17387 (atomic_bit_test_set): Likewise.
17388
0479b305
AS
173892012-06-22 Andreas Schwab <schwab@redhat.com>
17390
17391 [BZ #13579]
17392 * include/link.h (struct link_map): Add l_free_initfini.
17393 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17394 l_initfini.
17395 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17396 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17397 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17398 set.
17399
0e3933b9
CD
174002012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17401
17402 * configure.in: Use AC_LANG_SOURCE.
17403 * configure: Regenerate.
17404
4248b1b1
RM
174052012-06-22 Roland McGrath <roland@hack.frob.com>
17406
17407 * configure.in (libc_cv_localstatedir): New substituted variable.
17408 * configure: Regenerated.
17409 * config.make.in (localstatedir): New variable, substituted from
17410 libc_cv_localstatedir.
17411 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17412 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17413 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17414 * sysdeps/gnu/configure: Regenerated.
17415
006dd861
JL
174162012-06-21 Jeff Law <law@redhat.com>
17417
17418 [BZ #14277]
17419 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17420 free. Simplify list management for _LIBC case.
17421
79662d42
JM
174222012-06-21 Joseph Myers <joseph@codesourcery.com>
17423
b7abb4bf
JM
17424 [BZ #14273]
17425 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17426 Clear sign bit of 64-bit integer value before comparing against
17427 overflow value.
17428
79662d42
JM
17429 * sysdeps/mach/configure: Regenerated.
17430
1f150908
L
174312012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17432
17433 [BZ #14278]
17434 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17435
28363bbf
JL
174362012-06-21 Jeff Law <law@redhat.com>
17437
17438 [BZ #13882]
17439 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17440 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 17441 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
17442 * elf/dl-open.c (dl_open_worker): Likewise.
17443
09615db4
CD
174442012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17445
17446 * scripts/list-sources.sh: Scan PORTS for translations.
17447 * po/libc.pot: Regenerated.
17448
2174c6dd
AJ
174492012-06-21 Andreas Jaeger <aj@suse.de>
17450
17451 [BZ #12194]
17452 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17453 warning.
17454 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17455 * bits/byteswap-16.h (__bswap_16): Likewise.
17456 * bits/byteswap.h (__bswap_constant_16): Likewise.
17457
3ee947b1
L
174582012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17459
17460 [BZ #14117]
a2f34833
L
17461 * sysdeps/i386/fpu_control.h: Removed.
17462 * sysdeps/x86_64/fpu_control.h: Moved to ...
17463 * sysdeps/x86/fpu_control.h: Here.
17464
3ee947b1
L
17465 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17466 (_FPU_SETCW): Likewise.
17467
ed1825f8
L
174682012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17469
25f1282a
L
17470 [BZ #14117]
17471 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17472 * sysdeps/x86/fpu/bits/mathinline.h: This.
17473 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17474
ed1825f8
L
17475 [BZ #14050]
17476 [BZ #14117]
17477 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17478 functions if __x86_64__ is defined.
17479
36d54b74
CLT
174802012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17481
17482 * string/endian.h: Add !__ASSEMBLER__ condition for including
17483 conversion interfaces.
17484
10285c21
JM
174852012-06-15 Joseph Myers <joseph@codesourcery.com>
17486
17487 [BZ #14241]
17488 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17489 of ABS(x) in calculating zero to negative powers other than odd
17490 integers.
17491 * math/libm-test.inc (pow_test): Add more tests.
17492
06c5abbd
AJ
174932012-06-15 Andreas Jaeger <aj@suse.de>
17494
17495 * manual/contrib.texi (Contributors): Update entry of Liubov
17496 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17497 Machado Filho.
17498
a3aeac40
CH
174992012-06-15 Cyril Hrubis <metan@ucw.cz>
17500
17501 * string/string.h: Add __wur to GNU version of strerror_r.
17502
49bdf4c1
L
175032012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17504
17505 [BZ #14229]
17506 * string/Makefile (tests): Add tst-strtok_r.
17507 * string/tst-strtok_r.c: New file.
17508 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17509 RAX_LP/RDX_LP on SAVE_PTR.
17510
834f9b8d
RM
175112012-06-14 Roland McGrath <roland@hack.frob.com>
17512
17513 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17514
75fa1921
JM
175152012-06-14 Joseph Myers <joseph@codesourcery.com>
17516
17517 * libm_test.inc (csqrt_test): Allow more spurious underflow
17518 exceptions.
17519 (j0_test): Likewise.
17520 (j1_test): Likewise.
17521 (y0_test): Likewise.
17522 (y1_test): Likewise.
17523
771766df
CD
175242012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17525
17526 * po/Makefile (libc.pot): Use UTF-8 charset.
17527
ceb9e56b
PP
175282012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17529
17530 [BZ #14210]
17531 Suppress sign-conversion warning from FD_SET.
17532 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17533 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17534 not unsigned long int.
17535 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17536
ddb28975
L
175372012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17538
17539 [BZ #14050]
17540 [BZ #14117]
17541 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17542 __extern_always_inline instead of __extern_inline.
17543 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17544 (__signbit): Likewise.
17545 (__signbitl): Support C++ namespace.
17546 (lrintf): New inline function.
17547 (lrint): Likewise.
17548 (llrintf): Likewise.
17549 (llrint): Likewise.
17550 (fmaxf): Likewise.
17551 (fmax): Likewise.
17552 (fminf): Likewise.
17553 (fmin): Likewise.
17554 (rint): Likewise.
17555 (rintf): Likewise.
17556 (ceil): Likewise.
17557 (ceilf): Likewise.
17558 (floor): Likewise.
17559 (floorf): Likewise.
17560 (nearbyint): Likewise.
17561 (nearbyintf): Likewise.
17562
d7b4fb26
TS
175632012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17564
17565 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17566 non-default versions.
17567
eb55f5c2
RM
175682012-06-11 Roland McGrath <roland@hack.frob.com>
17569
17570 [BZ #14218]
17571 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17572
366af02c
TS
175732012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17574
99ff6e5c
TS
17575 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17576 (FE_UPWARD, FE_DOWNWARD): Don't define.
17577 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17578 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17579
366af02c
TS
17580 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17581 reading it.
17582 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17583 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17584
793ea851
KK
175852012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17586
17587 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17588 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17589 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17590 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17591
a728a38f
L
175922012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17593
17594 [BZ #14117]
c08010c7
L
17595 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17596 * sysdeps/i386/fpu/Implies: New file.
17597 * sysdeps/x86_64/fpu/Implies: Likewise.
17598 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17599 * sysdeps/x86/fpu/bits/fenv.h: This.
17600
a728a38f
L
17601 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17602 __SSE_MATH__.
17603
6e230d11
SP
176042012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17605
17606 [BZ #14134]
17607 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17608 character 0xffff that matches the last element of the
17609 conversion table.
17610
1b671feb
AZ
176112012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17612
17613 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17614 fmodl commit.
17615
6043738b
AZ
176162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17617
17618 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17619 values higher than 25.6283.
17620
34ae0b32
AZ
176212012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17622
17623 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17624 subnormal exponent extraction and add some __builtin_expect.
17625 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17626 Fix for subnormal mantissa calculation.
17627
1214ec8f
MF
176282012-06-04 Mike Frysinger <vapier@gentoo.org>
17629
17630 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17631 cpu2 is -1 and errno is not ENOSYS.
17632
f3d1f93c
L
176332012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17634
17635 [BZ #14117]
0e4a3cd7
L
17636 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17637 * sysdeps/x86/bits/string.h: This.
17638 * sysdeps/x86_64/bits/string.h: Removed.
17639
6704c645
L
17640 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17641 if not compiling for x86-64, but compiling for >= i486.
17642
48495318
L
17643 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17644 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17645
14adcbfc
L
17646 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17647 New macro from Linux kernel 3.4.0.
17648 (FP_XSTATE_MAGIC2): Likewise.
17649 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17650 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17651 (struct _fpx_sw_bytes): New struct.
17652 (struct _xsave_hdr): Likewise.
17653 (struct _ymmh_state): Likewise.
17654 (struct _xstate): Likewise.
17655
68e408ab
L
17656 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17657 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17658 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17659 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17660 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17661 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17662
f3d1f93c
L
17663 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17664 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17665 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17666 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17667 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17668 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17669
d9dc34cd
TMQMF
176702012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17671
17672 [BZ #13743]
17673 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17674 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17675 (sysdep_headers): Include sys/platform/ppc.h.
17676 * sysdeps/powerpc/test-gettimebase.c: Test for
17677 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17678 * manual/Makefile (appendices): Include platform.texi.
17679 * manual/contrib.texi (Contributors): Update @node pointers.
17680 * manual/maint.texi (Maintenance): Likewise.
17681 (Platform): New node.
17682 * manual/platform.texi: New file. Document the new features.
17683
4af3879c
SP
176842012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17685 Jakub Jelinek <jakub@redhat.com>
17686
17687 [BZ #14188]
17688 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17689 where __builtin_expect is unavailable.
17690
2fd6ff13
DM
176912012-06-03 David S. Miller <davem@davemloft.net>
17692
17693 * stdlib/longlong.h: Updated from GCC.
17694
173f7220
AS
176952012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17696
17697 [BZ #14042]
17698 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17699 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17700 __mcount_internal.
17701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17702 (GLIBC_2.16): Likewise.
17703
f34a1c6f
L
177042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17705
17706 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17707
88a4576f
JM
177082012-06-01 Joseph Myers <joseph@codesourcery.com>
17709
ea32bcdd
JM
17710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17711 (default-abi): New variable.
17712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17713 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17714 variable.
17715 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17716 Likewise.
17717 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17718 Likewise.
17719 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17720 Likewise.
17721
88a4576f
JM
17722 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17723 definition. Document in comment.
17724
402fe938
DM
177252012-06-01 David S. Miller <davem@davemloft.net>
17726
17727 * stdlib/longlong.h: Updated from GCC.
17728
3553723f
L
177292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17730
17731 [BZ #14117]
3bd872c4
L
17732 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17733 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17734 sys/debugreg.h sys/io.h here.
17735 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17736 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17737 sys/io.h.
17738 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17739 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17740 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17741 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17742 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17743 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17744
3553723f
L
17745 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17746 Define only if __x86_64__ is defined.
17747
4842e4fe
JM
177482012-06-01 Joseph Myers <joseph@codesourcery.com>
17749
c5bfe3d5
JM
17750 [BZ #14048]
17751 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17752 Use int64_t for variable i.
17753 * math/libm-test.inc (fmod_test): Add more tests.
17754
4842e4fe
JM
17755 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17756 z computation is not scheduled after fetestexcept.
17757 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17758 Use math_force_eval instead of asm to ensure calculation scheduled
17759 before exception test.
17760 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17761 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17762
efb73488
AJ
177632012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17764
17765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17766 computation is not scheduled after fetestexcept.
17767
29bcce7c
L
177682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17769
17770 [BZ #14117]
17771 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17772 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17773
73a68f94
AZ
177742012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17775
17776 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17777 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17778
67b6df78
L
177792012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17780
edf2933a 17781 [BZ #14117]
ebc64a18
L
17782 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17783 <bits/wordsize.h>.
17784 (__WCHAR_MIN): Support __WORDSIZE == 64.
17785 (__WCHAR_MAX): Likewise.
17786
edf2933a
L
17787 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17788 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17789
57c6cf40
L
17790 [BZ #14183]
17791 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17792 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17793
67b6df78 17794 [BZ #14117]
8eb6281e
L
17795 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17796 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17797
aac639f4
L
17798 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17799 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17800
67b6df78
L
17801 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17802 Defined to 1 if __x86_64__ isn't defined.
17803 (_STAT_VER_LINUX_OLD): New.
17804 (st_atime): Remove duplicate.
17805 (st_mtime): Likewise.
17806 (st_ctime): Likewise.
17807
1c2cfe81
DM
178082012-05-31 David S. Miller <davem@davemloft.net>
17809
17810 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17811 entries.
17812
5be8418c
AS
178132012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17814
e7725326
AS
17815 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17816 gen-libm-test.pl.
17817
5be8418c
AS
17818 [BZ #14132]
17819 * elf/dl-reloc.c: Include <_itoa.h>.
17820 (_dl_reloc_bad_type): Remove use of INTUSE.
17821 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17822 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17823 * stdio-common/psiginfo.c (psiginfo): Likewise.
17824 * stdio-common/psignal.c (psignal): Likewise.
17825 * string/strsignal.c (strsignal): Likewise.
17826 * include/signal.h (_sys_siglist): Declare hidden proto.
17827 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17828 INTVARDEF with libc_hidden_data_def.
17829 * stdio-common/itoa-udigits.c: Likewise.
17830 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17831 (_itoa_lower_digits_internal): Remove declaration.
17832 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17833 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17834 (_sys_sigabbrev_internal): Remove aliases.
17835 (_sys_siglist): Define hidden alias.
17836
507352f1
MT
178372012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17838
17839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17840 bits/sysctl.h.
17841
42bbb1c3
L
178422012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17843
17844 [BZ #14117]
6bd784b6
L
17845 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17846 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17847
8bca20f0
L
17848 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17849 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17850 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17851 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17852 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17853 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17854
f9e890a9
L
17855 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17856 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17857 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17858
471101a1
L
17859 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17860 with __addr.
17861 (insw): Likewise.
17862 (insl): Likewise.
17863 (outsb): Likewise.
17864 (outsw): Likewise.
17865 (outsl): Likewise.
17866
6451c862
L
17867 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17868 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17869 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17870
a254b8c9
L
17871 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17872 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17873 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17874 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17875 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17876 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17877
b8dfdd92
L
17878 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17879 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17880
578cd270
L
17881 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17882 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17883
de662f5f
L
17884 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17885 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17886 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17887
25653439
L
17888 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17889 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17890 to ...
17891 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17892
6bad24a0
L
17893 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17894 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17895 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17896
42bbb1c3
L
17897 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17898 for x86-64.
17899 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17900
2d10d547
JM
179012012-05-31 Joseph Myers <joseph@codesourcery.com>
17902
17903 * math/math.h (M_El): Use two more decimal places.
17904 (M_LOG2El): Likewise.
17905 (M_LOG10El): Likewise.
17906 (M_LN2l): Likewise.
17907 (M_LN10l): Likewise.
17908 (M_PIl): Likewise.
17909 (M_PI_2l): Likewise.
17910 (M_PI_4l): Likewise.
17911 (M_1_PIl): Likewise.
17912 (M_2_PIl): Likewise.
17913 (M_2_SQRTPIl): Likewise.
17914 (M_SQRT2l): Likewise.
17915 (M_SQRT1_2l): Likewise.
17916
f230c29b
DM
179172012-05-31 David S. Miller <davem@davemloft.net>
17918
17919 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17920 values between float registers.
17921 * sysdeps/sparc/sparc64/memset.S: Likewise.
17922 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17923
fed806c3
MF
179242012-05-31 Mike Frysinger <vapier@gentoo.org>
17925
17926 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17927 -D_FORTIFY_SOURCE=1.
17928 (CPPFLAGS-tst-longjmp_chk.c): Define.
17929 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17930 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17931 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17932 CFLAGS-tst-wchar-h.c.
17933
30917259
MP
179342012-05-31 Marek Polacek <polacek@redhat.com>
17935
17936 [BZ #14132]
17937 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17938 __endmntent_internal): Remove declaration.
17939 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17940 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17941 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17942
1c58d5dc
DM
179432012-05-30 David S. Miller <davem@davemloft.net>
17944
17945 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17946 (___Q_simulate_exceptions): Use real FP ops rather than writing
17947 into the %fsr.
17948 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17949 Likewise.
17950
7dc00e0d
L
179512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17952
17953 [BZ #14117]
0bd53985
L
17954 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17955 * sysdeps/x86/bits/xtitypes.h: This.
17956
3a257e66
L
17957 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17958 * sysdeps/x86/bits/wordsize.h: This.
17959
62f62904
L
17960 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17961 * sysdeps/x86/bits/huge_vall.h: This.
17962
404fe9d9
L
17963 * sysdeps/i386/bits/select.h: Removed.
17964 * sysdeps/x86_64/bits/select.h: Renamed to ...
17965 * sysdeps/x86/bits/select.h: This.
17966
d48d0446
L
17967 * sysdeps/i386/bits/setjmp.h: Removed.
17968 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17969 * sysdeps/x86/bits/setjmp.h: This.
17970
7dc00e0d
L
17971 * sysdeps/i386/bits/mathdef.h: Removed.
17972 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17973 * sysdeps/x86/bits/mathdef.h: This.
17974
03277f8f
AS
179752012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17976
17977 [BZ #14132]
17978 * include/sys/socket.h (__connect_internal)
17979 (__libc_sa_len_internal): Remove declaration.
17980 (__connect, __libc_sa_len): Declare hidden_proto.
17981 (SA_LEN): Remove use of INTUSE.
17982 * socket/connect.c: Add libc_hidden_def.
17983 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17984 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17985 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17986 alias.
17987 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17988 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17989 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17990 of adding _internal alias.
17991
13764867
L
179922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17993
17994 [BZ #14117]
6bd97696
L
17995 * sysdeps/i386/bits/link.h: Removed.
17996 * sysdeps/i386/bits/linkmap.h: Likewise.
17997 * sysdeps/x86_64/bits/link.h: Renamed to ...
17998 * sysdeps/x86/bits/link.h: This.
17999 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18000 * sysdeps/x86/bits/linkmap.h: This.
18001
f726f0bb
L
18002 * sysdeps/i386/bits/endian.h: Removed.
18003 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18004 * sysdeps/x86/bits/endian.h: This.
18005
13764867
L
18006 * sysdeps/i386/bits/byteswap.h: Removed.
18007 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18008 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18009 * sysdeps/x86/bits/byteswap.h: This.
18010 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18011 * sysdeps/x86/bits/byteswap-16.h: This.
18012 * sysdeps/i386/Implies: Add x86.
18013 * sysdeps/x86_64/Implies: Likewise.
18014
ae251b0b
DM
180152012-05-30 David S. Miller <davem@davemloft.net>
18016
18017 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18018 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18019 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18020 (FP_TRAPPING_EXCEPTIONS): Define.
18021 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18022 (FP_TRAPPING_EXCEPTIONS): Define.
18023 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18024 subnormals only when inexact has been signalled or underflow
18025 exceptions are enabled.
18026 (_FP_PACK_CANONICAL): Likewise.
18027
d5c90867
L
180282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18029
18030 [BZ #14183]
18031 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18032 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18033
63f1549e
RH
180342012-05-30 Richard Henderson <rth@twiddle.net>
18035
8d8f2279
RH
18036 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18037 with #ifndef NOT_IN_libc.
18038
63f1549e
RH
18039 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18040 marked to avoid plt entry.
18041
0ab0291b
L
180422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18043
18044 [BZ #14112]
18045 * Makeconfig (default-abi): New macro.
18046 (abi-includes): Likewise.
18047 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18048 $(abi-$(default-abi)-lib-soname) for soname if defined.
18049 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18050 abi-variants.
18051 * Makefile (installed-stubs): Likewise.
18052 * include/stubs-biarch.h: Removed.
18053 * scripts/lib-names.awk: Only handle one library at a time.
18054 * scripts/soversions.awk: Remove WORDSIZE support.
18055 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18056 entries.
18057 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18058 Removed.
18059 (syscall-list-default-condition): Likewise.
18060 (syscall-list-default-condition): Likewise.
18061 (syscall-list-includes): Likewise.
18062 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18063 syscall-list-* with abi-*. Handle undefined abi-variants.
18064 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18065 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18066 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18067 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18068 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18069 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18070 Removed.
18071 (syscall-list-32-options): Likewise.
18072 (syscall-list-32-condition): Likewise.
18073 (syscall-list-64-options): Likewise.
18074 (syscall-list-64-condition): Likewise.
18075 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18076 macro.
18077 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18078 Renamed to ...
18079 (abi-*): This.
18080 (abi-64-ld-soname): New macro.
18081 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18082 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18083 Renamed to ...
18084 (abi-*): This.
18085 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18086 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18087
4da0431d
JM
180882012-05-30 Joseph Myers <joseph@codesourcery.com>
18089
3a85279c
JM
18090 * sysdeps/unix/sysv/linux/kernel-features.h
18091 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18092 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18093 include <kernel-features.h>.
18094 [!__NR_ftruncate64]: Remove conditional code.
18095 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18096 [__NR_ftruncate64]: Make code unconditional.
18097 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18098 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18099 include <kernel-features.h>.
18100 [!__NR_ftruncate64]: Remove conditional code.
18101 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18102 [__NR_ftruncate64]: Make code unconditional.
18103 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18105 include <kernel-features.h>.
18106 [!__NR_ftruncate64]: Remove conditional code.
18107 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18108 [__NR_ftruncate64]: Make code unconditional.
18109 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18111 include <kernel-features.h>.
18112 [!__NR_ftruncate64]: Remove conditional code.
18113 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18114 [__NR_ftruncate64]: Make code unconditional.
18115 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18116
4da0431d
JM
18117 * configure.in (libc_cv_fpie): Weaken to a compile test using
18118 LIBC_TRY_CC_OPTION.
18119 * configure: Regenerated.
18120
11ef492c
AK
181212012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18122
18123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18127 Refreshed.
18128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18134 Refreshed.
18135
d66ef399
DM
181362012-05-27 David S. Miller <davem@davemloft.net>
18137
18138 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18139 (___Q_zero): New.
18140 (__Q_simulate_exceptions): Return void. Change to simulate
18141 exceptions by writing into the %fsr.
18142 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18143 (__Qp_handle_exceptions): Likewise.
18144 (numbers): Delete.
18145 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18146 __Qp_handle_exceptions.
18147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18148 __Qp_handle_exceptions.
18149 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18150 as unused and give dummy FP_RND_NEAREST initializer.
18151 (FP_INHIBIT_RESULTS): Define.
18152 (___Q_simulate_exceptions): Update declaration.
18153 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18154 formatting.
18155 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18156 as unused and give dummy FP_RND_NEAREST initializer.
18157 (__Qp_handle_exceptions): Update declaration.
18158 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18159 formatting.
18160
04fb54b5
TS
181612012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18162
18163 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18164 the temporary FPU control word.
18165 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18166 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18167 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18168 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18169 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18170 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18171 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18172 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18173 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18174 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18175 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18176
3f99608f
KK
181772012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18178
18179 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18180 fields.
18181
65a4de4e
CLT
181822012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18183
18184 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18185 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18186 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18187 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18188 Likewise.
18189 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18190 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18191 Likewise.
18192
15749d40
UD
181932012-05-27 Ulrich Drepper <drepper@gmail.com>
18194
18195 * po/h.po: Update from translation team.
18196
25dbcb27
AS
181972012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18198
3d3f8e55
AS
18199 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18200
25dbcb27
AS
18201 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18202 handling of denormals.
18203 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18204 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18205 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18206 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18207 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18208 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18209 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18210 Likewise.
18211
7ad47a80 182122012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
18213
18214 [BZ #14152]
18215 * math/libm-test.inc (fma_test): Don't always expect underflow
18216 exception.
18217
9c6ea9fa
SP
182182012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18219
18220 [BZ #12416]
18221 * elf/tst-execstack.c: Include stackinfo.h.
18222 (do_test): Adjust test case to ensure that pthread_getattr_np
18223 behaviour remains the same after marking stack executable.
18224
a8239222
JM
182252012-05-25 Joseph Myers <joseph@codesourcery.com>
18226
18227 * sysdeps/unix/sysv/linux/kernel-features.h
18228 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18229 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18230 kernel-features.h.
18231 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18232 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18233 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18234 kernel-features.h.
18235 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18236 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18237
918b5606
L
182382012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18239
18240 * configure.in: Define the default includes to being none.
18241 * configure: Regenerated.
18242
3a097cc7
RM
182432012-05-25 Roland McGrath <roland@hack.frob.com>
18244
8422c9a5
RM
18245 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18246 * sysdeps/x86_64/setjmp.S: Likewise.
18247 * sysdeps/i386/bsd-setjmp.S: Likewise.
18248 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18249 * sysdeps/i386/setjmp.S: Likewise.
18250 * sysdeps/i386/__longjmp.S: Likewise.
18251 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18252 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18253
3a097cc7
RM
18254 * include/stap-probe.h: New file.
18255 * configure.in: Handle --enable-systemtap.
18256 * configure: Regenerated.
18257 * config.h.in (USE_STAP_PROBE): New #undef.
18258 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18259 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18260 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18261
21708942
JM
182622012-05-25 Joseph Myers <joseph@codesourcery.com>
18263
18264 [BZ #13717]
18265 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18266 to 2.4.0 where earlier.
18267 * sysdeps/unix/sysv/linux/configure: Regenerated.
18268 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18269 <kernel-features.h>.
18270 [__ASSUME_32BITUIDS]: Make code unconditional.
18271 [!__ASSUME_32BITUIDS]: Remove conditional code.
18272 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18273 <kernel-features.h>.
18274 [__ASSUME_32BITUIDS]: Make code unconditional.
18275 [!__ASSUME_32BITUIDS]: Remove conditional code.
18276 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18277 [__ASSUME_32BITUIDS]: Make code unconditional.
18278 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18279 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18280 <kernel-features.h>.
18281 [__ASSUME_32BITUIDS]: Make code unconditional.
18282 [!__ASSUME_32BITUIDS]: Remove conditional code.
18283 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18284 <kernel-features.h>.
18285 [__ASSUME_32BITUIDS]: Make code unconditional.
18286 [!__ASSUME_32BITUIDS]: Remove conditional code.
18287 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18288 <kernel-features.h>.
18289 [__ASSUME_32BITUIDS]: Make code unconditional.
18290 [!__ASSUME_32BITUIDS]: Remove conditional code.
18291 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18292 <kernel-features.h>.
18293 [__ASSUME_32BITUIDS]: Make code unconditional.
18294 [!__ASSUME_32BITUIDS]: Remove conditional code.
18295 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18296 <kernel-features.h>.
18297 [__ASSUME_32BITUIDS]: Make code unconditional.
18298 [!__ASSUME_32BITUIDS]: Remove conditional code.
18299 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18300 <kernel-features.h>.
18301 [__ASSUME_32BITUIDS]: Make code unconditional.
18302 [!__ASSUME_32BITUIDS]: Remove conditional code.
18303 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18304 <kernel-features.h>.
18305 [__ASSUME_32BITUIDS]: Make code unconditional.
18306 [!__ASSUME_32BITUIDS]: Remove conditional code.
18307 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18308 <kernel-features.h>.
18309 [__ASSUME_32BITUIDS]: Make code unconditional.
18310 [!__ASSUME_32BITUIDS]: Remove conditional code.
18311 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18312 <kernel-features.h>.
18313 [__ASSUME_32BITUIDS]: Make code unconditional.
18314 [!__ASSUME_32BITUIDS]: Remove conditional code.
18315 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18316 <kernel-features.h>.
18317 [__ASSUME_32BITUIDS]: Make code unconditional.
18318 [!__ASSUME_32BITUIDS]: Remove conditional code.
18319 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18320 <kernel-features.h>.
18321 [__NR_setresgid] (__setresgid): Do not declare.
18322 [__ASSUME_32BITUIDS]: Make code unconditional.
18323 [!__ASSUME_32BITUIDS]: Remove conditional code.
18324 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18325 <kernel-features.h>.
18326 [__NR_setresuid] (__setresuid): Do not declare.
18327 [__ASSUME_32BITUIDS]: Make code unconditional.
18328 [!__ASSUME_32BITUIDS]: Remove conditional code.
18329 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18330 <kernel-features.h>.
18331 [__ASSUME_32BITUIDS]: Make code unconditional.
18332 [!__ASSUME_32BITUIDS]: Remove conditional code.
18333 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18334 <kernel-features.h>.
18335 [__ASSUME_32BITUIDS]: Make code unconditional.
18336 [!__ASSUME_32BITUIDS]: Remove conditional code.
18337 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18338 <kernel-features.h>.
18339 [__ASSUME_32BITUIDS]: Make code unconditional.
18340 [!__ASSUME_32BITUIDS]: Remove conditional code.
18341 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18342 <kernel-features.h>.
18343 [__ASSUME_32BITUIDS]: Make code unconditional.
18344 [!__ASSUME_32BITUIDS]: Remove conditional code.
18345 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18346 <kernel-features.h>.
18347 [__ASSUME_32BITUIDS]: Make code unconditional.
18348 [!__ASSUME_32BITUIDS]: Remove conditional code.
18349 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18350 <kernel-features.h>.
18351 [__ASSUME_32BITUIDS]: Make code unconditional.
18352 [!__ASSUME_32BITUIDS]: Remove conditional code.
18353 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18354 <kernel-features.h>.
18355 [__ASSUME_32BITUIDS]: Make code unconditional.
18356 [!__ASSUME_32BITUIDS]: Remove conditional code.
18357 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18358 <kernel-features.h>.
18359 [__ASSUME_32BITUIDS]: Make code unconditional.
18360 [!__ASSUME_32BITUIDS]: Remove conditional code.
18361 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18362 <kernel-features.h>.
18363 [__ASSUME_32BITUIDS]: Make code unconditional.
18364 [!__ASSUME_32BITUIDS]: Remove conditional code.
18365 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18366 <kernel-features.h>.
18367 [__ASSUME_32BITUIDS]: Make code unconditional.
18368 [!__ASSUME_32BITUIDS]: Remove conditional code.
18369 * sysdeps/unix/sysv/linux/kernel-features.h
18370 (__ASSUME_SETRESUID_SYSCALL): Remove.
18371 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18372 (__ASSUME_32BITUIDS): Likewise.
18373 (__ASSUME_LDT_WORKS): Likewise.
18374 (__ASSUME_O_DIRECTORY): Likewise.
18375 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18376 architecture but not kernel version.
18377 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18378 (__ASSUME_MMAP2_SYSCALL): Likewise.
18379 (__ASSUME_STAT64_SYSCALL): Likewise.
18380 (__ASSUME_IPC64): Likewise.
18381 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18382 <kernel-features.h>.
18383 [__ASSUME_32BITUIDS]: Make code unconditional.
18384 [!__ASSUME_32BITUIDS]: Remove conditional code.
18385 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18386 <kernel-features.h>.
18387 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18388 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18389 132096]: Remove conditional code.
18390 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18391 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18392 <kernel-features.h>.
18393 [__ASSUME_32BITUIDS]: Make code unconditional.
18394 [!__ASSUME_32BITUIDS]: Remove conditional code.
18395 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18396 <kernel-features.h>.
18397 [__ASSUME_32BITUIDS]: Make code unconditional.
18398 [!__ASSUME_32BITUIDS]: Remove conditional code.
18399 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18400 <kernel-features.h>.
18401 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18402 unconditional.
18403 (__setresgid): Do not declare.
18404 [__ASSUME_32BITUIDS]: Make code unconditional.
18405 [!__ASSUME_32BITUIDS]: Remove conditional code.
18406 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18407 <kernel-features.h>.
18408 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18409 unconditional.
18410 (__setresuid): Do not declare.
18411 [__ASSUME_32BITUIDS]: Make code unconditional.
18412 [!__ASSUME_32BITUIDS]: Remove conditional code.
18413 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18414 <kernel-features.h>.
18415 [__ASSUME_32BITUIDS]: Make code unconditional.
18416 [!__ASSUME_32BITUIDS]: Remove conditional code.
18417 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18418 <kernel-features.h>.
18419 [__ASSUME_32BITUIDS]: Make code unconditional.
18420 [!__ASSUME_32BITUIDS]: Remove conditional code.
18421
a386f1cc
RH
184222012-05-25 Richard Henderson <rth@twiddle.net>
18423
18424 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18425 dl_hwcap to ifunc resolver.
18426 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18427 elf_ifunc_invoke.
18428 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18429 dl_hwcap to ifunc resolver.
18430 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18431
b6550497
JM
184322012-05-24 Joseph Myers <joseph@codesourcery.com>
18433
18434 [BZ #14153]
18435 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18436 for |x| <= 2**-26, not 2**-57.
18437 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18438 exception.
18439
b0bc23a1
JL
184402012-05-24 Jeff Law <law@redhat.com>
18441
18442 * stdio-common/Makefile (tests): Add bug25.
18443 * stdio-common/bug25.c: New test.
18444
347c92e9
L
184452012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18446
18447 [BZ #13576]
18448 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18449 multiple of MALLOC_ALIGNMENT in size.
18450 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18451
6bcc8b3f
JM
184522012-05-24 Joseph Myers <joseph@codesourcery.com>
18453
18454 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18455 Require >= 256.
18456 (FILENAME_MAX): Use macro-int-constant.
18457 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18458 (_IOFBF): Use macro-int-constant.
18459 (_IOLBF): Likewise.
18460 (_IONBF): Likewise.
18461 (SEEK_CUR): Likewise.
18462 (SEEK_END): Likewise.
18463 (SEEK_SET): Likewise.
18464 (TMP_MAX): Likewise.
18465 (EOF): Use macro-int-constant. Require < 0.
18466 (NULL): Use macro-constant. Require == 0.
18467 (stdin): Require type to be FILE *.
18468 (stdout): Likewise.
18469 (stderr): Likewise.
18470 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18471 macro-int-constant.
18472 (EXIT_SUCCESS): Likewise.
18473 (NULL): Use macro-constant. Require == 0.
18474 (RAND_MAX): Use macro-int-constant.
18475 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18476 [C99-based standards] (strtof): Require function.
18477 [C99-based standards] (strtold): Likewise.
18478 [C99-based standards] (strtoll): Likewise.
18479 [C99-based standards] (strtoull): Likewise.
18480 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18481 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18482 [ISO || ISO99 || ISO11] (math.h): Likewise.
18483 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18484 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18485 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18486
d18ea0c5
AS
184872012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18488
18489 [BZ #14132]
56d25bb8
AS
18490 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18491 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18492 * intl/dgettext.c (DCGETTEXT): Likewise.
18493 * intl/gettext.c (DCGETTEXT): Likewise.
18494 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18495 * posix/regex_internal.h (gettext): Likewise.
18496 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18497 Remove declaration.
18498 * include/argz.h (__argz_count_internal)
18499 (__argz_stringify_internal): Remove declaration.
18500 (__argz_count, __argz_stringify): Declare hidden proto.
18501 * intl/dcgettext.c: Remove use of INTDEF.
18502 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18503 * string/argz-stringify.c: Likewise.
18504 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18505 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18506 Declare hidden proto.
d18ea0c5
AS
18507 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18508 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18509 Declare hidden proto.
18510 * include/stdio.h (__asprintf_internal): Don't declare.
18511 (__asprintf): Don't define as macro. Declare hidden proto.
18512 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18513 (__fsetlocking): Declare hidden proto.
18514 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18515 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18516 hidden proto.
18517 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18518 (_IO_setlinebuf): Remove use of INTUSE.
18519 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18520 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18521 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18522 Remove declaration.
18523 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18524 (_IO_do_flush): Remove use of INTUSE.
18525 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18526 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18527 (_IO_adjust_column, _IO_least_wmarker)
18528 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18529 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18530 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18531 (_IO_default_doallocate, _IO_wdefault_doallocate)
18532 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18533 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18534 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18535 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18536 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18537 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18538 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18539 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18540 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18541 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18542 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18543 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18544 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18545 proto.
18546 (_IO_flush_all_internal, _IO_adjust_column_internal)
18547 (_IO_default_uflow_internal, _IO_default_finish_internal)
18548 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18549 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18550 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18551 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18552 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18553 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18554 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18555 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18556 (_IO_file_close_internal, _IO_file_close_it_internal)
18557 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18558 (_IO_file_init_internal, _IO_file_attach_internal)
18559 (_IO_file_fopen_internal, _IO_file_read_internal)
18560 (_IO_file_sync_internal, _IO_file_seek_internal)
18561 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18562 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18563 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18564 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18565 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18566 (_IO_list_all_internal, _IO_link_in_internal)
18567 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18568 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18569 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18570 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18571 (_IO_do_write_internal, _IO_padn_internal)
18572 (_IO_getline_info_internal, _IO_getline_internal)
18573 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18574 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18575 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18576 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18577 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18578 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18579 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18580 with libc_hidden_ver, remove use of INTUSE.
18581 * libio/genops.c: Likewise.
18582 * libio/freopen.c: Likewise.
18583 * libio/freopen64.c: Likewise.
18584 * libio/iofclose.c: Likewise.
18585 * libio/iofdopen.c: Likewise.
18586 * libio/iofflush.c: Likewise.
18587 * libio/iofflush_u.c: Likewise.
18588 * libio/iofgets.c: Likewise.
18589 * libio/iofgets_u.c: Likewise.
18590 * libio/iofopen.c: Likewise.
18591 * libio/iofopncook.c: Likewise.
18592 * libio/iofread.c: Likewise.
18593 * libio/iofread_u.c: Likewise.
18594 * libio/ioftell.c: Likewise.
18595 * libio/iofwrite.c: Likewise.
18596 * libio/iogetline.c: Likewise.
18597 * libio/iogets.c: Likewise.
18598 * libio/iogetwline.c: Likewise.
18599 * libio/iopadn.c: Likewise.
18600 * libio/iopopen.c: Likewise.
18601 * libio/ioseekoff.c: Likewise.
18602 * libio/ioseekpos.c: Likewise.
18603 * libio/iosetbuffer.c: Likewise.
18604 * libio/iosetvbuf.c: Likewise.
18605 * libio/ioungetc.c: Likewise.
18606 * libio/ioungetwc.c: Likewise.
18607 * libio/iovdprintf.c: Likewise.
18608 * libio/iovsprintf.c: Likewise.
18609 * libio/iovsscanf.c: Likewise.
18610 * libio/memstream.c: Likewise.
18611 * libio/obprintf.c: Likewise.
18612 * libio/oldfileops.c: Likewise.
18613 * libio/oldiofclose.c: Likewise.
18614 * libio/oldiofdopen.c: Likewise.
18615 * libio/oldiofopen.c: Likewise.
18616 * libio/oldiopopen.c: Likewise.
18617 * libio/oldstdfiles.c: Likewise.
18618 * libio/putc.c: Likewise.
18619 * libio/setbuf.c: Likewise.
18620 * libio/setlinebuf.c: Likewise.
18621 * libio/stdfiles.c: Likewise.
18622 * libio/strops.c: Likewise.
18623 * libio/vasprintf.c: Likewise.
18624 * libio/vscanf.c: Likewise.
18625 * libio/vsnprintf.c: Likewise.
18626 * libio/vswprintf.c: Likewise.
18627 * libio/wfiledoalloc.c: Likewise.
18628 * libio/wfileops.c: Likewise.
18629 * libio/wgenops.c: Likewise.
18630 * libio/wmemstream.c: Likewise.
18631 * libio/wstrops.c: Likewise.
18632 * libio/__fpurge.c: Likewise.
18633 * libio/__fsetlocking.c: Likewise.
18634 * assert/assert.c: Likewise.
18635 * debug/fgets_chk.c: Likewise.
18636 * debug/fgets_u_chk.c: Likewise.
18637 * debug/fread_chk.c: Likewise.
18638 * debug/fread_u_chk.c: Likewise.
18639 * debug/gets_chk.c: Likewise.
18640 * debug/obprintf_chk.c: Likewise.
18641 * debug/vasprintf_chk.c: Likewise.
18642 * debug/vdprintf_chk.c: Likewise.
18643 * debug/vsnprintf_chk.c: Likewise.
18644 * debug/vsprintf_chk.c: Likewise.
18645 * malloc/mtrace.c: Likewise.
18646 * misc/error.c: Likewise.
18647 * misc/syslog.c: Likewise.
18648 * stdio-common/asprintf.c: Likewise.
18649 * stdio-common/fxprintf.c: Likewise.
18650 * stdio-common/getw.c: Likewise.
18651 * stdio-common/isoc99_fscanf.c: Likewise.
18652 * stdio-common/isoc99_scanf.c: Likewise.
18653 * stdio-common/isoc99_vfscanf.c: Likewise.
18654 * stdio-common/isoc99_vscanf.c: Likewise.
18655 * stdio-common/isoc99_vsscanf.c: Likewise.
18656 * stdio-common/printf-prs.c: Likewise.
18657 * stdio-common/printf_fp.c: Likewise.
18658 * stdio-common/printf_fphex.c: Likewise.
18659 * stdio-common/printf_size.c: Likewise.
18660 * stdio-common/putw.c: Likewise.
18661 * stdio-common/scanf.c: Likewise.
18662 * stdio-common/sprintf.c: Likewise.
18663 * stdio-common/tmpfile.c: Likewise.
18664 * stdio-common/vfprintf.c: Likewise.
18665 * stdio-common/vfscanf.c: Likewise.
18666 * stdlib/strfmon_l.c: Likewise.
18667 * sunrpc/openchild.c: Likewise.
18668 * sunrpc/xdr_stdio.c: Likewise.
18669 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18670 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18671
d6c33fda
RM
186722012-05-24 Roland McGrath <roland@hack.frob.com>
18673
c1487492
RM
18674 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18675
18676 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18677 in the third column, to generate for the shared library an IFUNC
18678 that uses _dl_vdso_vsym.
18679 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18680 * Makeconfig (object-suffixes-noshared): New variable.
18681
18682 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18683 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18684 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18685 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18686
d6c33fda
RM
18687 [BZ #14132]
18688 * include/sys/time.h (__gettimeofday): Remove macro.
18689 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18690 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18691 Remove INTDEF.
18692 (__gettimeofday): Add libc_hidden_def.
18693 (gettimeofday): Add libc_hidden_weak.
18694 * sysdeps/mach/gettimeofday.c: Likewise.
18695 * sysdeps/posix/gettimeofday.c: Likewise.
18696 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18697 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18698 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18699 (__gettimeofday_internal): Remove strong_alias.
18700 (__gettimeofday): Add libc_hidden_def.
18701 (gettimeofday): Add libc_hidden_weak.
18702 * sysdeps/unix/syscalls.list (gettimeofday):
18703 Remove __gettimeofday_internal alias.
18704
b5a2bbe6
L
187052012-05-24 Daniel Jacobowitz <drow@false.org>
18706 H.J. Lu <hongjiu.lu@intel.com>
18707
18708 [BZ #12495]
18709 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18710 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18711 (largebin_index_32_big): New.
18712 (largebin_index): Use it for 16-byte alignment.
18713 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18714 correction with front_misalign.
18715
cfba4fda
L
187162012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18717
7f907421
L
18718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18720 Likewise.
18721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18722 Likewise.
18723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18724 Likewise.
18725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18726 Likewise.
18727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18728 Likewise.
18729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18730 Likewise.
18731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18732 Likewise.
18733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18734 Likewise.
18735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18736 Likewise.
18737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18738 Likewise.
18739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18740 Likewise.
18741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18742 Likewise.
18743
cfba4fda
L
18744 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18745 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18746
80bad0cc
JM
187472012-05-24 Joseph Myers <joseph@codesourcery.com>
18748
7a25eb06
JM
18749 [BZ #10846]
18750 [BZ #14036]
18751 * math/libm-test.inc (exp_test): Add test from bug 14036.
18752 (pow_test): Add test from bug 10846.
18753
795405f9
JM
18754 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18755 and other flags.
18756 (special_function): Do not include flags in test name.
18757 (parse_args): Likewise.
18758 * sysdeps/i386/fpu/libm-test-ulps: Update.
18759 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18760 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18761 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18763
80bad0cc
JM
18764 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18765 exceptions.
18766 * math/libm-test.inc ("Philosophy"): Update comment about
18767 exception testing.
18768 (UNDERFLOW_EXCEPTION): New macro.
18769 (UNDERFLOW_EXCEPTION_OK): Likewise.
18770 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18771 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18772 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18773 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18774 (INVALID_EXCEPTION_OK): Update value.
18775 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18776 (OVERFLOW_EXCEPTION_OK): Likewise.
18777 (IGNORE_ZERO_INF_SIGN): Likewise.
18778 (test_exceptions): Handle underflow exceptions.
18779 (acos_test): Update for underflow exception expectations.
18780 (cexp_test): Likewise.
18781 (clog_test): Likewise.
18782 (clog10_test): Likewise.
18783 (csqrt_test): Likewise.
18784 (ctan_test): Likewise.
18785 (ctanh_test): Likewise.
18786 (exp_test): Likewise.
18787 (exp10_test): Likewise.
18788 (exp2_test): Likewise.
18789 (expm1_test): Likewise.
18790 (fma_test): Likewise.
18791 (j0_test): Likewise.
18792 (jn_test): Likewise.
18793 (nexttoward_test): Likewise.
18794 (pow_test): Likewise.
18795 (scalbn_test): Likewise.
18796 (scalbln_test): Likewise.
18797 (tan_test): Likewise.
18798 (y1_test): Likewise.
18799 * sysdeps/i386/fpu/libm-test-ulps: Update.
18800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18801
9e0e3d0b
DM
188022012-05-23 David S. Miller <davem@davemloft.net>
18803
18804 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18805 (__libc_sigaction): Remove unused local variables.
18806
ccd0a08f
L
188072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18808
18809 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18810
62bdf9a6
PE
188112012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18812
f8591f80
PE
18813 mktime: avoid signed integer overflow
18814 * time/mktime.c (__mktime_internal): Do not mishandle the case
18815 where diff == INT_MIN.
18816
94c7d826
PE
18817 mktime: simplify computation of average
18818 * time/mktime.c (ranged_convert): Use new time_t_avg function
18819 instead of rolling our own (probably-slower) code.
18820
ce73d683
PE
18821 mktime: do not assume signed right shift propagates sign bit
18822 * time/mktime.c (isdst_differ): New static function.
18823 (__mktime_internal): No need to normalize tm_isdst now.
18824 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18825 tm_isdst values.
18826
72a22e59
PE
18827 mktime: merge another wrapv change from gnulib
18828 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18829 from some compilers.
18830
68605433
PE
18831 mktime: remove incorrect attempt at unusual arithmetics
18832 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18833 The code didn't really work on such machines anyway.
18834 (TYPE_MINIMUM): Assume two's complement.
18835 (twos_complement_arithmetic): Verify that long_int and time_t
18836 are two's complement (or unsigned, in the latter case).
18837
03cf7fe3
PE
18838 mktime: check signed shifts on long_int and time_t, too
18839 * time/mktime.c (SHR): Check that shifts work as desired
18840 on the types long_int and time_t too, as SHR is used on
18841 such types.
18842
f04dfbc2
PE
18843 mktime: do not assume 'long' is wide enough
18844 * time/mktime.c (verify): Move decl up.
18845 (long_int): New type.
18846 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18847 to remove assumption in the code that 'long' is wide enough to
18848 store year values. This assumption is not true on x32 and on
18849 some non-glibc platforms.
18850
62bdf9a6
PE
18851 mktime: merge wrapv change from gnulib
18852 * time/mktime.c (WRAPV): New macro.
18853 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18854 (guess_time_tm, __mktime_internal): Do not assume that signed
18855 integer overflow wraps around; modern compilers generate code
18856 where this assumption is no longer valid.
18857
5e292e4f
L
188582012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18859
18860 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18861 Replace "jmp L(pseudo_end)" with "ret".
18862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18863 Likewise.
18864
8caf8c87
AJ
188652012-05-23 Andreas Jaeger <aj@suse.de>
18866
18867 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18868 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18869
1a09dc56
AJ
188702012-05-23 Andreas Jaeger <aj@suse.de>
18871 Maximilian Attems <max@stro.at>
18872
18873 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18874 New macros.
18875
1c87aba0
L
188762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18877
18878 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18879 code so that pseudo_end is just ret and the stack pointer is
18880 correct also for static library in error case.
18881
40e45bd5
JM
188822012-05-23 Joseph Myers <joseph@codesourcery.com>
18883
c2670533
JM
18884 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18885 move to syscalls.list.
18886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18890
40e45bd5
JM
18891 * manual/install.texi (Running make install): Do not mention Linux
18892 kernel version for which pt_chown is not needed.
18893 (Linux): Do not mention problems with nscd with 2.0 kernels.
18894 * INSTALL: Regenerated.
18895
be08eda5
AJ
188962012-05-23 Andreas Jaeger <aj@suse.de>
18897
18898 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18899 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18900 macro.
18901 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18902 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18903 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18904 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18905 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18906 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18907 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18908 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18909 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18911 * sysdeps/unix/sysv/linux/bits/in.h
18912 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18913
a6a056bb
RM
189142012-05-22 Roland McGrath <roland@hack.frob.com>
18915
18916 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18917 (PREPARE_VERSION): Just use assert instead, it will be elided
18918 under [NDEBUG] anyway.
18919
c9009328
L
189202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18921
18922 * sysdeps/unix/sysv/linux/Makefile: Include
18923 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18924 (sysdep_routines): Remove sysctl.
c9009328
L
18925 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18926 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18927 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18928 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18929 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18930
73338355
AJ
189312012-05-22 Andreas Jaeger <aj@suse.de>
18932
18933 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18934 that pseudo_end is just ret and the stack pointer is correct also
18935 for static library in error case.
18936
d44638b0
PP
189372012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18938
18939 [BZ #14122]
18940 * nss/nsswitch.c (defconfig_entries): New variable.
18941 (__nss_database_lookup): Don't leak defconfig entries.
18942 (nss_parse_service_list): Don't leak on error paths.
18943 (free_database_entries): New function.
18944 (free_defconfig): New function.
18945 (free_mem): Move common code to free_database_entries.
18946
31a39bd8
L
189472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18948
da0331a8
L
18949 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18950 Add arch_prctl.
18951 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18952
31a39bd8
L
18953 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18954 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18956 New macro.
18957 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18958 (INTERNAL_SYSCALL_TYPES): Likewise.
18959 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18960 (LOAD_REGS_TYPES_[1-6]): Likewise.
18961 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18962 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18963
45470df3
AZ
189642012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18965
18966 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18967 copysignl for GLIBC_2_0.
18968 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18969 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18970 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18971 logbl for GLIBC_2_0.
18972 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18973 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18974
98a61bcb
L
189752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18976
a4f6e481
L
18977 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18978 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18979
f63d5db6
L
18980 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18981 Use "neg %eax".
18982
98a61bcb
L
18983 * time/mktime.c: Update copyright years.
18984
95770f14
PE
189852012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18986
6226efbd
PE
18987 mktime: merge comment-quoting-style change from gnulib
18988 * time/mktime.c: Quote 'like this' in comments.
18989 The GNU coding standards suggest that we no longer quote `like this',
18990 as "`" and "'" are typically rendered asymmetrically nowadays.
18991 The typical gnulib style is to quote 'like this' when quoting
18992 code, and "like this" when quoting English.
18993
b99e4f78
PE
18994 * time/mktime.c (compile-command): Add "-I.".
18995
643e01e6
PE
18996 mktime: merge mktime-internal.h change from gnulib
18997 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18998
2554247d
PE
18999 mktime: merge time_r change from gnulib
19000 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19001
826dd0ab
PE
19002 mktime: merge DEBUG change from gnulib
19003 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19004 case system <time.h> has a #define.
19005
bd83aabe
PE
19006 mktime: merge <sys/types.h> change from gnulib
19007 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19008 since <time.t> is now guaranteed to define time_t.
19009
95770f14
PE
19010 mktime: merge HAVE_CONFIG_H change from gnulib
19011 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19012
5e1a27a9
L
190132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19014
0e44a77e
L
19015 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19016 Use "neg %eax".
19017
5e1a27a9
L
19018 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19019 __rlim_t cast.
19020 (struct rusage): Use anonymous union to pad each field to
19021 __syscall_slong_t.
19022
46259bec
DM
190232012-05-21 David S. Miller <davem@davemloft.net>
19024
19025 * Makefules (o-iterator): Remove .s cases.
19026 (compile-command.s): Delete.
19027 (COMPILE.s): Delete.
19028 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19029
59f0c22e
JM
190302012-05-21 Joseph Myers <joseph@codesourcery.com>
19031
19032 * configure.in (libc_cv_predef_stack_protector): Only consider
19033 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19034 * configure: Regenerated.
19035
20c07380
L
190362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19037
bbb3154b
L
19038 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19039 New macro. Use R*LP on int and pointer.
19040 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
19041 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19042 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
19043 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19044
20c07380
L
19045 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19046 [__WORDSIZE_TIME64_COMPAT32] instead of
19047 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19048 (struct utmp): Likewise.
19049 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19050 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19051 Renamed to ...
19052 (__WORDSIZE_TIME64_COMPAT32): This.
19053 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19054 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19055 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19056 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19057 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19058 (__WORDSIZE_TIME64_COMPAT32): New macro.
19059
d8d1017e
AJ
190602012-05-21 Andreas Jaeger <aj@suse.de>
19061
19062 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19063 only if [SHARED]. Add prototype for __wcschr_ia32.
19064
6c7fb145
RM
190652012-05-21 Roland McGrath <roland@hack.frob.com>
19066
19067 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19068 of %rbp unmolested in the jmp_buf while mangling the low bits.
19069 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19070 unmolested high bits of %rbp while demangling the low bits.
19071 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19072
66274218
AJ
190732012-05-21 Andreas Jaeger <aj@suse.de>
19074
07c58f8f
AJ
19075 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19076 * sunrpc/svc_simple.c: Use it for registerrpc.
19077 * sunrpc/xcrypt.c: Use it for passwd2des.
19078
66274218
AJ
19079 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19080
61f65140
L
190812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19082
19083 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19084 Don't define if [__SYSCALL_WORDSIZE != 32].
19085 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19086 New macro.
19087
5fefb436
AJ
190882012-05-21 Bruno Haible <bruno@clisp.org>
19089 Andreas Jaeger <aj@suse.de>
19090
19091 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19092 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19093 inptr and inend for must_buffer_ch.
19094 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19095 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19096 * stdio-common/Makefile (tests): Remove bug15.
19097 (bug15-ENV): Remove macro.
19098 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19099 anymore.
19100
d8e272ab
AJ
191012012-05-19 Andreas Jaeger <aj@suse.de>
19102 Roland McGrath <roland@hack.frob.com>
19103
19104 * manual/contrib.texi: Completely rewritten. It contains now an
19105 alphabetical list of contributors and their contributions.
19106
4a56a162
RH
191072012-05-21 Richard Henderson <rth@twiddle.net>
19108
19109 * misc/getauxval.c (__getauxval): Use unsigned long int.
19110 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19111 (getauxval): Use unsigned long int.
19112
d024d23c
L
191132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19114
19115 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19116
cbc00a03
RM
191172012-05-21 Roland McGrath <roland@hack.frob.com>
19118
19119 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19120 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19121 __alignof__ (long double).
19122
478143fa
AZ
191232012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19124
19125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19126
c7683a6d
RH
191272012-05-20 Richard Henderson <rth@twiddle.net>
19128
19129 * misc/getauxval.c: New file.
19130 * misc/sys/auxv.h: New file.
19131 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19132 (routines): Add getauxval.
19133 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19134 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19135 * elf/dl-sysdep.c (_dl_auxv): Remove.
19136 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19137 * elf/dl-support.c (_dl_auxv): New variable.
19138 (_dl_aux_init): Initialize it.
19139 * manual/startup.texi (Auxiliary Vector): New node.
19140 * sysdeps/generic/bits/hwcap.h: New file.
19141 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19142 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19143 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19144 * sysdeps/sparc/sysdep.h: ... here. Include it.
19145 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19146 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
19147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19148 Update.
c7683a6d
RH
19149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19152 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19157
a6f1845d
AZ
191582012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19159
19160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19161
cbcbe830
DM
191622012-05-19 David S. Miller <davem@davemloft.net>
19163
19164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19165
e0b16cc2
JM
191662012-05-19 Joseph Myers <joseph@codesourcery.com>
19167
19168 [BZ #14123]
19169 * math/s_ccosh.c: Include <float.h>
19170 (__ccosh): Avoid internal overflow calculating sinh and cosh
19171 values before multiplying by sin and cos values.
19172 * math/s_ccoshf.c: Likewise.
19173 * math/s_ccoshl.c: Likewise.
19174 * math/s_csin.c: Likewise.
19175 * math/s_csinf.c: Likewise.
19176 * math/s_csinl.c: Likewise.
19177 * math/s_csinh.c: Likewise.
19178 * math/s_csinhf.c: Likewise.
19179 * math/s_csinhl.c: Likewise.
19180 * math/libm-test.inc (ccos_test): Add more tests.
19181 (ccosh_test): Likewise.
19182 (csin_test): Likewise.
19183 (csinh_test): Likewise.
19184 * sysdeps/i386/fpu/libm-test-ulps: Update.
19185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19186
6ad13e08
L
191872012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19188
f66f0ce8
L
19189 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19190 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19191
6ad13e08
L
19192 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19193
b1d072a7
JM
191942012-05-19 Joseph Myers <joseph@codesourcery.com>
19195
19196 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19197 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19198 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19199 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19200 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19201 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19202 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19203 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19204 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19205 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19206 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19207 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19208 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19209 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19210 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19211 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19212 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19213 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19214 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19215 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19216 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19217 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19218 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19219 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19220 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19221 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19222 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19223 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19224 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19225 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19226 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19227
9eae47cb
AJ
192282012-05-18 Andreas Jaeger <aj@suse.de>
19229
19230 * csu/.gitignore: Delete.
19231
bb07f69f
L
192322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19233
19234 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19235 (timex): Use __syscall_slong_t.
19236
e6bdb741
AJ
192372012-05-18 Andreas Jaeger <aj@suse.de>
19238 Carlos O'Donell <carlos_odonell@mentor.com>
19239
19240 * manual/install.texi (Configuring and compiling): Update
19241 description about files modified in the source directory.
d6c33fda 19242 * INSTALL: Regenerated.
e6bdb741 19243
1b74487e
L
192442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19245
19246 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19247 value. Use "or" to set return value to -1.
19248 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19249 negate return value.
19250
a88b64b9
TMQMF
192512012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19252
19253 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19254 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19255 failure if the compiler has Graphite support disabled.
19256 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19257 Likewise.
19258 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19259 CFLAGS-memmove.c): Likewise.
19260 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19261 Likewise.
19262
3707636e
L
192632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19264
610b8622
L
19265 * sysdeps/x86_64/x32/_itoa.h: New file.
19266
7cd195df
L
19267 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19268 getdents system call only if kernel and user dirents have the
19269 same d_ino and d_off.
19270
94b07d20
L
19271 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19272 LLONG_MAX != LONG_MAX.
19273 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19274 (_fitoa_word): Likewise.
19275
18298070
L
19276 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19277 years.
19278 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19279 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19280 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19281
553c7ea4
L
19282 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19283 include <bits/wordsize.h>. Check __x86_64__ instead of
19284 __WORDSIZE.
19285 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19286 if __x86_64__ is defined. Use anonymous union on fpstate.
19287
3707636e
L
19288 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19289 anonymous union.
19290
b53ef01a
AS
192912012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19292
37fb1dc0
AS
19293 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19294 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19295 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19296 Refer to _rtld_local_ro instead of _rtld_global_ro.
19297 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19298 Likewise.
19299 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19300 Likewise.
19301 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19302 Likewise.
19303 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19304 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19305 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19306
b53ef01a
AS
19307 * sysdeps/powerpc/powerpc32/dl-machine.c
19308 (__elf_machine_runtime_setup) [PROF]: Don't reference
19309 _dl_prof_resolve.
19310
7a185db2
AJ
193112012-05-18 Andreas Jaeger <aj@suse.de>
19312
19313 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19314 function only available for GCCs before 3.4 since GCC 3.4
19315 introduced a builtin.
19316 (lrint): Likewise.
19317 (llrintf): Likewise.
19318 (llrint): Likewise.
19319 (fmaxf): Likewise.
19320 (fmax): Likewise.
19321 (fminf): Likewise.
19322 (fmin): Likewise.
19323 (rint): Likewise.
19324 (rintf): Likewise.
19325 (nearbyint): Likewise.
19326 (nearbyintf): Likewise.
19327 (ceil): Likewise.
19328 (ceilf): Likewise.
19329 (floor): Likewise.
19330 (floorf): Likewise.
19331
3e5aef87
L
193322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19333
428bd707
L
19334 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19335 on both fields and cast pointer to __syscall_ulong_t.
19336
3e5aef87
L
19337 * bits/types.h (__fsword_t): New type.
19338 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19339 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19340 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19341 (__FSWORD_T_TYPE): Likewise.
19342 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19343 (__FSWORD_T_TYPE): Likewise.
19344 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19345 (__FSWORD_T_TYPE): Likewise.
19346 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19347 (__FSWORD_T_TYPE): Likewise.
19348 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19349 __SWORD_TYPE with __fsword_t.
19350 (statfs64): Likewise.
19351
1ba7c3dc
DM
193522012-05-17 David S. Miller <davem@davemloft.net>
19353
19354 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19355
59910343
AJ
193562012-05-17 Andreas Jaeger <aj@suse.de>
19357
19358 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19359 warning.
19360
2e4c1e9e
L
193612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19362
19363 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19364
de7f5ce7
AJ
193652012-05-17 Andreas Jaeger <aj@suse.de>
19366
19367 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19368 when it is used.
19369
286abc3d
CM
193702012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19371
19372 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19373
477cc68e
L
193742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19375
19376 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19377 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19378
1a0994f5
CD
193792012-05-17 Andreas Jaeger <aj@suse.de>
19380 Carlos O'Donell <carlos_odonell@mentor.com>
19381
19382 [BZ #14059]
19383 * sysdeps/x86_64/multiarch/init-arch.h
19384 (bit_YMM_Usable): Rename to...
19385 (bit_AVX_Usable): ... this.
19386 (bit_FMA4_Usable): New macro.
19387 (bit_XMM_state): New macro.
19388 (bit_YMM_state): New macro.
19389 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19390 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19391 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19392 (CPUID_OSXSAVE): New macro.
19393 (CPUID_AVX): New macro.
19394 (CPUID_FMA4): New macro.
19395 (index_YMM_Usable): Rename to...
19396 (index_AVX_Usable): ... this.
19397 (HAS_AVX): Use HAS_ARCH_FEATURE.
19398 (HAS_FMA4): Likewise.
19399 (HAS_YMM_USABLE): Remove.
19400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19401 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19402 are present.
19403 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19404 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19405 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19406 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19407 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19408
0af797de
CM
194092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19410
19411 * math/libm-test.c: Support platforms without multiple rounding modes.
19412 * math/bug-nextafter.c: Support platforms without FP exceptions.
19413 * math/bug-nexttoward.c: Likewise.
19414 * math/test-fenv.c: Likewise.
19415 * math/test-misc.c: Likewise.
19416 * stdlib/bug-getcontext.c: Likewise.
19417
e39745ff
AJ
194182012-05-17 Andreas Jaeger <aj@suse.de>
19419
19420 * manual/examples/search.c (critter_cmp): Change signature to
19421 avoid warnings.
19422 * manual/string.texi (Collation Functions): Likewise.
19423
48970aba
L
194242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19425
19426 * bits/types.h: Fold copyright years.
19427 * bits/typesizes.h: Likewise.
19428 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19429 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19432 * time/time.h: Likewise.
19433
bedee953
PP
194342012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19435
19436 [BZ #208]
19437 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19438 in instead of returning them. Return void.
19439 (__libc_mallinfo): Accumulate over all arenas.
19440 (__malloc_stats): Adjust for change in int_mallinfo interface.
19441
61653dfb
RM
194422012-05-16 Roland McGrath <roland@hack.frob.com>
19443
30b99d79
RM
19444 [BZ #10375]
19445 * configure.in (NM): Add AC_CHECK_TOOL for it.
19446 (libc_extra_cflags): New substituted variable.
19447 Check for -fstack-protector being used implicitly.
19448 * configure: Regenerated.
19449 * config.make.in (config-extra-cflags): New variable,
19450 gets @libc_extra_cflags@.
19451 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19452
61653dfb
RM
19453 [BZ #10375]
19454 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19455 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19456 * configure: Regenerated.
19457 * config.make.in (CPPUNDEFS): New substituted variable.
19458 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19459 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19460 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19461
661768bb
L
194622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19463
19464 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19465 (mq_attr): Use __syscall_slong_t.
19466
d4261567
L
194672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19468
19469 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19470 Check __x86_64__ instead of __WORDSIZE.
19471 (_STAT_VER_LINUX): Likewise.
19472 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19473 __syscall_ulong_t and __syscall_slong_t.
19474 (stat64): Likewise.
19475
cf3ff365
L
194762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19477
19478 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19479
76cf3e4d
L
194802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19481
19482 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19483
a637753a
L
194842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19485
19486 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19487 __syscall_ulong_t.
19488
d5e05119
L
19489 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19490 include <bits/wordsize.h>. Check __x86_64__ instead of
19491 __WORDSIZE.
19492 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19493 defined.
19494 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19495
f62ee380
L
19496 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19497 include <bits/wordsize.h>. Check __x86_64__ instead of
19498 __WORDSIZE.
19499 (user_regs_struct): Use "__extension__ unsigned long long"
19500 instead of "unsigned long" if __x86_64__ is defined.
19501 (user): Likewise. Pad after pointer field if __ILP32__ is
19502 defined.
19503
4e124ced
JM
195042012-05-16 Joseph Myers <joseph@codesourcery.com>
19505
6a3951a0
JM
19506 * configure.in (makeinfo): Require version 4.5 or later. Allow
19507 versions 5 to 9.
19508 * configure: Regenerated.
19509 * manual/install.texi (texinfo): Increase version requirement to
19510 4.5 or later.
19511 * INSTALL: Regenerated.
19512
4e124ced
JM
19513 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19514
953ca31a
L
195152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19516
19517 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19518
617aca05
L
19519 * sysdeps/x86_64/x32/ffs.c: New file.
19520
5762f7ae
L
19521 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19522 __syscall_ulong_t.
19523 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19524 defined. Use __syscall_ulong_t.
19525 (shminfo): Use __syscall_ulong_t.
19526 (shm_info): Likewise.
19527
a26b6856
L
19528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19529 __syscall_ulong_t.
19530
cb2b9ef7
L
19531 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19532 <bits/wordsize.h>.
19533 (msgqnum_t): Use __syscall_ulong_t.
19534 (msglen_t): Likewise.
19535 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19536 __syscall_ulong_t.
19537
34683bb0
L
19538 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19539 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19540
84a68786
L
19541 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19542
48baa5f1
L
19543 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19544 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19545
180be88b
L
19546 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19547 __syscall_slong_t.
19548
5e90c8ad
L
19549 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19550 include <bits/wordsize.h>. Check __x86_64__ instead of
19551 __WORDSIZE.
19552
23dfb58b
L
19553 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19554 "unsigned long long int" if __x86_64__ is defined.
19555 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19556
ce5d54b0
L
19557 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19558 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19559 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19560
13dc9eac
L
19561 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19562 <stdint.h>.
19563 (GET_PC): Cast to uintptr_t first.
19564 (GET_FRAME): Likewise.
19565 (GET_STACK): Likewise.
19566
a7895d15
L
19567 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19568 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19569 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19570 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19571 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19572 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19573 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19574 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19575 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19576 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19577 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19578 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19579 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19580 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19581 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19582 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19583 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19584 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19585 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19586 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19587 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19588 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19589 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19590 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19591 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19592 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19593 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19594 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19595 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19596
656416c9
AS
195972012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19598
5bd66283
AS
19599 * Makerules (+depfiles): Also collect depfiles from .oS in
19600 $(extra-objs).
19601 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19602 .oS, $(libnldbl-routines)).
19603
656416c9
AS
19604 * Makerules (native-compile-mkdep-flags): Define.
19605 * sunrpc/Makefile (extra-objs): Add $(addprefix
19606 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19607 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19608 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19609 calling $(make-target-directory).
19610
a46f2169
L
196112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19612
19613 * bits/types.h (__snseconds_t): Removed.
19614 * time/time.h (struct timespec): Replace __snseconds_t with
19615 __syscall_slong_t.
19616 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19617 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19618 Likewise.
19619 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19620 (__SNSECONDS_T_TYPE): Likewise.
19621 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19622 (__SNSECONDS_T_TYPE): Likewise.
19623 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19624 (__SNSECONDS_T_TYPE): Likewise.
19625
6af6528b
L
196262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19627
19628 * sysdeps/mach/hurd/bits/typesizes.h
19629 (__SYSCALL_SLONG_TYPE): New macro.
19630 (__SYSCALL_ULONG_TYPE): Likewise.
19631
de986b56
L
196322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19633
19634 * bits/types.h (__syscall_slong_t): New type.
19635 (__syscall_ulong_t): Likewise.
19636
19637 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19638 (__SYSCALL_ULONG_TYPE): Likewise.
19639 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19640 (__SYSCALL_SLONG_TYPE): Likewise.
19641 (__SYSCALL_ULONG_TYPE): Likewise.
19642 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19643 (__SYSCALL_SLONG_TYPE): Likewise.
19644 (__SYSCALL_ULONG_TYPE): Likewise.
19645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19646 (__SYSCALL_SLONG_TYPE): Likewise.
19647 (__SYSCALL_ULONG_TYPE): Likewise.
19648
85736dc7
L
196492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19650
19651 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19652 Add sigaltstack-offsets.sym.
19653 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19654 <sigaltstack-offsets.h>.
19655 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19656 longjmp_msg pointer.
19657 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19658 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19659 signal stack.
19660 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19661
cc03b296
JM
196622012-05-15 Joseph Myers <joseph@codesourcery.com>
19663
a9538892
JM
19664 * elf/stackguard-macros.h: Remove file.
19665 * sysdeps/generic/stackguard-macros.h: New file.
19666 * sysdeps/i386/stackguard-macros.h: Likewise.
19667 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19668 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19669 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19670 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19671 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19672 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19673 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19674 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19675 <elf/stackguard-macros.h>.
19676
cc03b296
JM
19677 [BZ #14109]
19678 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19679 __aligned__ in attribute.
19680 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19681 (gregset_t): Likewise.
19682
93171016
L
196832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19684
19685 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19686 * sysdeps/x86_64/64/Implies-after: Here. New file.
19687 * sysdeps/x86_64/x32/Implies-after: New file.
19688
d86813a0
L
196892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19690
19691 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19692 and access return value for _dl_profile_fixup. Use R10_LP to
19693 load frame size.
19694
2953ec75
L
196952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19696
19697 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19698
3b550e9e
L
196992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19700
19701 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19702 * sysdeps/x86_64/x32/sysdep.h: New file.
19703
eda41706
L
197042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19705
19706 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19707 * sysdeps/x86_64/setjmp.S: Likewise.
19708
9ea01d93
AZ
197092012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19710
19711 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19712 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19713 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19714 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19715 remove unused global constant.
19716
02a91938
CM
197172012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19718
19719 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19720 include of <not-cancel.h>.
19721
6540185f
RM
197222012-05-15 Roland McGrath <roland@hack.frob.com>
19723
19724 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19725
509072a0
AJ
197262012-05-15 Jeff Law <law@redhat.com>
19727 Andreas Jaeger <aj@suse.de>
19728
19729 [BZ #13594]
19730 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19731 out from...
19732 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19733 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19734 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19735 code changing __hst_map_handle.map.
19736
ba75122d
RM
197372012-05-15 Roland McGrath <roland@hack.frob.com>
19738
19739 * configure.in (sysnames): Look for Implies-before and Implies-after
19740 files.
19741 * configure: Regenerated.
19742
890d8bd8
L
197432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19744
19745 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19746 8-byte data alignment with LP_SIZE alignment.
19747
f6ee6623
L
197482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19749
19750 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19751 into R10_LP.
19752
ea2626f6
L
197532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19754
19755 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19756
085f715e
L
197572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19758
19759 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19760 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19761 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19762 Likewise.
19763 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19764
be8498fc
L
197652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19766
19767 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19768 (stackinfo_sub_sp): Likewise.
19769
70bc83b9
L
197702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19771
19772 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19773 RAX_LP.
19774
9bc0b730
L
197752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19776
19777 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19778 into R*_LP.
19779
6d2850e7
L
197802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19781
19782 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19783 sizes into R*_LP.
19784
3cb84561
L
197852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19786
19787 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19788
54e2ed81
L
197892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19790
19791 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19792 into R11_LP and load __x86_64_shared_cache_size_half into
19793 R8_LP.
19794
8a17f349
L
197952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19796
19797 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19798 R8_LP.
19799
777b1eea
AZ
198002012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19801
19802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19803 logb for POWER7.
19804 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19805 logbf for POWER7.
19806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19807 logbl for POWER7.
19808 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19809 powerpc32/power7/fpu/s_logb.c via #include.
19810 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19811 powerpc32/power7/fpu/s_logbf.c via #include.
19812 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19813 powerpc32/power7/fpu/s_logbl.c via #include.
19814
d20d4ac2
JM
198152012-05-15 Joseph Myers <joseph@codesourcery.com>
19816
19817 * README.libm: Remove file.
19818
6cdef1ab
L
198192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19820
19821 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19822 count for x32. Use R*_LP and omit operand-size suffix.
19823
0b254d8f
L
198242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19825
19826 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19827 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19828 * sysdeps/x86_64/x32/shlib-versions: New file.
19829
ceb809dc
RM
198302012-05-14 Roland McGrath <roland@hack.frob.com>
19831
19832 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19833 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19834 Use _dl_fatal_printf instead.
19835
37f1abd4
JM
198362012-05-14 Joseph Myers <joseph@codesourcery.com>
19837
19838 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19839 set if not set by the user. Do not allow for being unset.
19840 * sysdeps/unix/sysv/linux/configure: Regenerated.
19841
11de3a33
L
198422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19843
19844 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19845 the `q' suffix from lea and replace .quad with ASM_ADDR.
19846
e02f153a
L
198472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19848
19849 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19850 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19851 instead of $17.
19852 (PTR_DEMANGLE): Likewise.
19853
520ae0fd
L
198542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19855
19856 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19857 (LP_OP): Likewise.
19858 (ASM_ADDR): Likewise.
19859 (RAX_LP): Likewise.
19860 (RBP_LP): Likewise.
19861 (RBX_LP): Likewise.
19862 (RCX_LP): Likewise.
19863 (RDI_LP): Likewise.
19864 (RSI_LP): Likewise.
19865 (RSP_LP): Likewise.
19866 (R8_LP): Likewise.
19867 (R9_LP): Likewise.
19868 (R10_LP): Likewise.
19869 (R10_LP): Likewise.
19870 (R11_LP): Likewise.
19871 (R12_LP): Likewise.
19872 (R13_LP): Likewise.
19873 (R14_LP): Likewise.
19874 (R15_LP): Likewise.
19875
b985be81
L
198762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19877
19878 * sysdeps/x86_64/x32/dl-machine.h: New file.
19879
6a4888ff
AJ
198802012-05-14 Andreas Jaeger <aj@suse.de>
19881
19882 * manual/Makefile (subdir): Remove export of subdir.
19883 (all): Remove target.
19884 (.PHONY): Remove all from list.
19885 (mkinstalldirs): Remove.
19886 (.PHONY): Remove installdirs from list.
19887 ($(inst_infodir)/libc.info): Use make-target-directory.
19888 (installdirs): Remove.
19889 (subdir_%): Remove.
19890 (glibc-targets): Remove.
19891 (lib): Remove.
19892 (stubs): Remove.
19893 ($(objpfx)stubs ../po/manual.pot): Remove.
19894 ($(objpfx)stamp%): Remove.
19895 (make-target-directory): Remove.
19896 (subdir_install): Remove.
19897 (routines): Remove.
19898 (aux): Remove.
19899 (sources): Remove.
19900 (objects): Remove.
19901 (headers): Remove.
19902
19903 [BZ #13750]
19904 * manual/.gitignore: Remove, it's not needed anymore.
19905 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19906 all files in it.
19907 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19908 directory.
19909 (texis): Renamed to $(objpfx)texis.
19910 (texis-path): New, contains path to generated files.
19911 (chapters.%): Use texis-path for complete path, add extra argument
19912 libc-texinfo.sh.
19913 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19914 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19915 (summary,texi, stamp-summary): Use complete path of
19916 files. Generate files in build dir.
19917 (dir-add.texi): Build in build dir.
19918 (libm-err.texi,stamp-libm-err): Likewise.
19919 (version.texi, stamp-version): Likewise.
19920 (.%c.texi): Likewise.
19921 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19922 (mostlyclean): Remove target.
19923 (realclean): Remove target.
19924 (generated): Add new variable with contents from mostlyclean and
19925 realclean, remove entries duplicated in common-mostlyclean, add
19926 stamp-libm-err and stamp-version.
19927 (generated-dirs): Add libc directory.
19928 ($(inst_infodir)/libc.info): Install files from build dir.
19929
19930 * manual/install.texi (Configuring and compiling): Adjust since
19931 the info files are not part of the tar ball anymore.
19932
7ac77294
AJ
199332012-05-14 Andreas Jaeger <aj@suse.de>
19934
19935 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19936 variable.
19937
ffb7875d
JM
199382012-05-14 Joseph Myers <joseph@codesourcery.com>
19939
19940 [BZ #13717]
19941 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19942 to 2.2.0 where earlier.
19943 * sysdeps/unix/sysv/linux/configure: Regenerated.
19944 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19945 Remove conditional code.
19946 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19947 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19948 Remove conditional code.
19949 [!__NR_lchown]: Likewise.
19950 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19951 [__NR_lchown]: Likewise.
19952 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19953 comment referencing __ASSUME_LCHOWN_SYSCALL.
19954 * sysdeps/unix/sysv/linux/i386/sigaction.c
19955 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19956 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19957 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19958 Remove conditional code.
19959 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19960 (__protocol_available): Remove #if 0 code.
19961 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19962 conditional code.
19963 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19964 * sysdeps/unix/sysv/linux/kernel-features.h
19965 (__ASSUME_GETCWD_SYSCALL): Don't define.
19966 (__ASSUME_REALTIME_SIGNALS): Likewise.
19967 (__ASSUME_PREAD_SYSCALL): Likewise.
19968 (__ASSUME_PWRITE_SYSCALL): Likewise.
19969 (__ASSUME_POLL_SYSCALL): Likewise.
19970 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19971 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19972 non-SPARC.
19973 (__ASSUME_SIOCGIFNAME): Don't define.
19974 (__ASSUME_MSG_NOSIGNAL): Likewise.
19975 (__ASSUME_SENDFILE): Define unconditionally.
19976 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19977 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19978 conditional code.
19979 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19980 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19981 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19982 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19983 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19984 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19985 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19987 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19988 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19990 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19991 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19993 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19994 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19996 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19997 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19999 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20000 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20002 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20003 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20005 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20006 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20008 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20009 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20010 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20011 Remove conditional code.
20012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20013 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20014 Remove conditional code.
20015 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20016 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20017 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20018 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20019 Remove conditional code.
20020 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20021 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20022 Remove conditional code.
20023 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20024 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20025 Remove conditional code.
20026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20027 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20028 Remove conditional code.
20029 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20030 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20031 Remove conditional code.
20032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20033 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20034 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20035 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20036 * sysdeps/unix/sysv/linux/sigaction.c
20037 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20038 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20039 * sysdeps/unix/sysv/linux/sigpending.c
20040 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20041 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20042 * sysdeps/unix/sysv/linux/sigprocmask.c
20043 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20044 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20045 * sysdeps/unix/sysv/linux/sigsuspend.c
20046 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20047 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20048 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20049 (__libc_missing_rt_sigs): Remove.
20050 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20051 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20052 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20053 Remove conditional code.
20054 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20055 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20056 return 1.
20057 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20058 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20059 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20060 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20061
1bfb7291
AJ
200622012-05-14 Andreas Jaeger <aj@suse.de>
20063
caae5a81
AJ
20064 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20065 it's not used in glibc.
20066 (__coshm1): Likewise.
20067 (__acosh1p): Likewise.
20068 (__sgn): Likewise.
20069
1bfb7291
AJ
20070 * manual/string.texi (Copying and Concatenation): Add missing
20071 variable in concat example.
20072 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20073
c044d724
L
200742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20075
144c5467 20076 [BZ #14103]
c044d724
L
20077 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20078 __builtin_clzl with __builtin_clzll.
20079
2523c62b
L
200802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20081
20082 [BZ #14104]
20083 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20084 libc_freeres_ptr.
20085
d7bb4c42
LD
200862012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20087
20088 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20089 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20090 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20091 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20092
9dc4e1fb
MF
200932012-05-14 Mike Frysinger <vapier@gentoo.org>
20094
20095 * NEWS: Update ia64 info.
20096
c7df0112
AS
200972012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20098
20099 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20100 used as bcopy.
20101
dc70356c
TS
201022012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20103
20104 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20105 * sysdeps/unix/syscalls.list (dup3): Likewise.
20106 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20107 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20108
9fb1a21f
L
201092012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20110
20111 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20112 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20113
4822a2a5
L
201142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20115
20116 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20117 thread pointer.
20118 (TLS_IE): Use mov/add instead of movq/addq to load thread
20119 pointer.
20120 (TLS_GD_PREFIX): New.
20121 (TLS_GD): Use it.
20122
842b81d6
DM
201232012-05-11 David S. Miller <davem@davemloft.net>
20124
20125 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20126 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20127 (_FPU_SETCW): Likewise.
20128
1cf463cd
L
201292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20130
20131 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20132 is 32-byte aligned.
20133
60cc4a18
AS
201342012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20135
20136 [BZ #11837]
20137 * iconvdata/gb18030.c: Update tables.
20138 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20139 characters specially.
20140 (BODY for TO_LOOP): Add encoding of missing ranges.
20141
febb44a4
TS
201422012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20143
20144 [BZ #13673]
20145 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20146 * sysdeps/mach/hurd/dup3.c: Likewise.
20147 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20148 * sysdeps/powerpc/memmove.c:: Likewise.
20149
0a10fb9e
L
201502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20151
20152 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20153 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20154
df8a552f
L
201552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20156
20157 * elf/elf.h (R_X86_64_RELATIVE64): New.
20158 (R_X86_64_NUM): Updated.
20159 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20160 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20161 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20162 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20163 tst-quad1pie tst-quad2pie
20164 (modules-names): Add tst-quadmod1 tst-quadmod2.
20165 ($(objpfx)tst-quad1): New dependency.
20166 ($(objpfx)tst-quad2): Likewise.
20167 ($(objpfx)tst-quad1pie): Likewise.
20168 ($(objpfx)tst-quad2pie): Likewise.
20169 * sysdeps/x86_64/tst-quad1.c: New file.
20170 * sysdeps/x86_64/tst-quad1pie.c: New file.
20171 * sysdeps/x86_64/tst-quad2.c: Likewise.
20172 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20173 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20174 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20175 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20176 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20177
f34d6f84
ST
201782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20179
f42d41d1
ST
20180 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20181 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20182 * streams/stropts.h (t_scalar_t): Define type.
20183
3c3571fc
ST
20184 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20185 (_PATH_PRESERVE): Set to "/var/lib".
20186 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20187
61f06bd3
ST
20188 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20189 instead of int.
20190
918d4d71
ST
20191 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20192 if __dir_mkfile succeeded.
20193
f34d6f84
ST
20194 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20195 checking for _hurd_dtablesize. Unlock it right after having
20196 finished _hurd_dtable allocation.
20197
10589b4a
TS
201982012-05-10 Thomas Schwinge <thomas@schwinge.name>
20199
674cdbc7
TS
20200 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20201 * sysdeps/mach/hurd/configure: Regenerated.
20202 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20203 special-casing to...
20204 * sysdeps/gnu/configure.in: ... this new file.
20205 * sysdeps/unix/sysv/linux/configure: Regenerated.
20206 * sysdeps/gnu/configure: New generated file.
20207
8e41b99f
TS
20208 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20209 for Linux: use nsec instead of usec, as well as:
20210 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20211 members of type struct timespec.
20212 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20213 New macros.
20214 (struct stat64): Likewise.
20215 (_STATBUF_ST_NSEC): New macro.
20216 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20217
10589b4a
TS
20218 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20219 __strtoul_internal rather than strtoul.
20220
63643c85
PT
202212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20222
20223 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20224 and reject them.
20225
3faebe6a
ST
202262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20227
20228 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20229 which preserves existing values.
20230 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20231
c6474b07
PT
202322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20233
20234 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20235 TIMEOUT values. Return EINVAL for NFDS values either negative or
20236 greater than FD_SETSIZE.
20237
1043890b
ST
202382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20239
20240 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20241 allocated, call __vm_protect to finish enabling the existing space, and
20242 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20243 allocate the remainder.
20244
37ed8b9b
PT
202452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20246
20247 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20248 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20249
db653660
ST
202502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20251
37ed8b9b
PT
20252 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20253 sysdeps/mach/hurd/readlink.c.
b29d4053 20254
db653660
ST
20255 * posix/tst-sysconf.c (posix_options): Only use
20256 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20257 _POSIX_SYNCHRONIZED_IO when they are defined
20258 * sysdeps/mach/hurd/bits/posix_opt.h:
20259 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20260 (_XOPEN_REALTIME): Undefine macro.
20261 (_XOPEN_REALTIME_THREADS): Undefine macro.
20262 (_XOPEN_SHM): Undefine macro.
20263 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20264 macro to -1.
20265 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20266 macro to -1.
20267 (_POSIX_ASYNC_IO): Undefine macro.
20268 (_POSIX_PRIORITIZED_IO): Undefine macro.
20269 (_POSIX_SPIN_LOCKS): Define macro to -1.
20270
ee16e894
ST
20271 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20272 SA_NODEFER, SA_RESETHAND.
20273 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20274 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20275 F_DUPFD_CLOEXEC.
20276
6103ae3b
TS
202772012-05-10 Thomas Schwinge <thomas@schwinge.name>
20278
20279 * elf/Makefile (pldd-modules): Define unconditionally.
20280
80b4e5f3
TS
202812012-05-10 Thomas Schwinge <thomas@schwinge.name>
20282
20283 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20284
edadcbd6
ST
202852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20286
20287 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20288 Return ENOENT when name is empty.
20289 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20290
80694780
TS
202912012-05-10 Thomas Schwinge <thomas@schwinge.name>
20292
1792c087
TS
20293 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20294
80694780
TS
20295 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20296
6b645f0d
ST
202972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20298
80694780
TS
20299 Fix mlock in all cases except non-readable pages.
20300 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20301 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 20302
6b645f0d
ST
20303 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20304 (__mkdir): When path is `/', just fail with EEXIST.
20305 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20306
e468f8a3
TS
203072012-05-10 Thomas Schwinge <thomas@schwinge.name>
20308
20309 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20310 <sys/uio.h> (for writev).
20311 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20312 and <sys/param.h> (for MIN).
20313
a4186cff
PT
203142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20315
20316 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20317 REQUESTED_TIME. Properly set the remaining time and return EINTR
20318 if interrupted.
20319
510bbf14
TS
203202012-05-10 Thomas Schwinge <thomas@schwinge.name>
20321
20322 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20323 Depend on against $(link-rpcuserlibs).
20324
5d5722e8
ST
203252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20326
a4186cff
PT
20327 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20328 (__libc_stack_end): Do not use attribute_relro.
20329 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20330 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 20331 to libthread-provided value.
a4186cff
PT
20332 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20333 attribute_relro.
5d5722e8 20334
37233df9
TS
203352012-05-10 Thomas Schwinge <thomas@schwinge.name>
20336
be971a2b
TS
20337 [BZ #3748]
20338 * bits/libc-lock.h (__libc_once_get): New macro.
20339 * sysdeps/mach/bits/libc-lock.h: Likewise.
20340 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20341 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20342 instead of using implementation details.
20343
37233df9
TS
20344 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20345 * libio/freopen.c: Likewise.
20346 * libio/freopen64.c: Likewise.
20347 * misc/syslog.c: Likewise.
20348 * nscd/connections.c: Likewise.
20349 * nscd/netgroupcache.c: Likewise.
20350 * sysdeps/posix/getcwd.c: Likewise.
20351
38de94a5
RM
203522012-05-10 Roland McGrath <roland@hack.frob.com>
20353
20354 * math/w_ilogbf.c: Add #include <limits.h>.
20355
67530489
ST
203562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20357
a4186cff 20358 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
20359 path instead of returning without unlocking.
20360
67530489
ST
20361 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20362 immediate-write ioctls.
20363 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20364
5aa3a74a
TS
203652012-05-10 Thomas Schwinge <thomas@schwinge.name>
20366
18bad2ae
TS
20367 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20368 __builtin_frame_address instead of making assumptions about the
20369 location of the return address relative to DATA. Force early load of
20370 the return address.
20371 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20372 __builtin_frame_address.
20373
5aa3a74a
TS
20374 dup3 for GNU Hurd.
20375 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20376 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20377 implement dup3 and do some further code clean-ups.
20378 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20379 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20380
ecd0de9a
ST
203812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20382
cd9fa985
ST
20383 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20384
a4186cff
PT
20385 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20386 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20387 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20388 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20389 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20390 d->port.lock.
802ca5a5 20391
a4186cff
PT
20392 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20393 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20394 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 20395
bcf55240
TS
203962012-05-10 Thomas Schwinge <thomas@schwinge.name>
20397
6960eb42
TS
20398 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20399 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20400 definitions.
20401
eb43375f
TS
20402 accept4 for GNU Hurd.
20403 * include/sys/socket.h (__libc_accept4): New prototype.
20404 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20405 to implement __libc_accept4.
20406 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20407 __libc_accept4.
20408 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20409
bcf55240
TS
20410 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20411 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20412 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20413 signal-defines.sym.
20414
6178c55b
ST
204152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20416
a4186cff 20417 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 20418
6f080c2f
TS
204192012-05-10 Thomas Schwinge <thomas@schwinge.name>
20420
20421 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20422 assertion on O_CLOEXEC flag.
20423 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20424 * hurd/intern-fd.c: Likewise.
20425 * hurd/port2fd.c: Likewise.
20426
bcfe3a54
ST
204272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20428
20429 [BZ #3906]
20430 * bits/in.h (IPV6_PKTINFO): Define new macro.
20431 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20432
89c9aa49
AZ
204332012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20434
20435 [BZ #13954]
20436 [BZ #13955]
20437 [BZ #13956]
20438 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20439 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20440 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20441 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20442 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20443 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20444 * math/libm-test.inc (logb_test) : Additional logb tests.
20445
021db4be
AJ
204462012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20447 Andreas Jaeger <aj@suse.de>
20448
20449 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20450 * configure: Regenerated.
20451 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20452 * config.make.in (link-obsolete-rpc): New substituted variable.
20453 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20454 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20455 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20456 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20457 so that libc.a contains the symbols.
20458 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20459 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20460 * sunrpc/auth_none.c: Likewise.
20461 * sunrpc/auth_unix.c: Likewise.
20462 * sunrpc/authdes_prot.c: Likewise.
20463 * sunrpc/authuxprot.c: Likewise.
20464 * sunrpc/clnt_gen.c: Likewise.
20465 * sunrpc/clnt_perr.c: Likewise.
20466 * sunrpc/clnt_raw.c: Likewise.
20467 * sunrpc/clnt_simp.c: Likewise.
20468 * sunrpc/clnt_tcp.c: Likewise.
20469 * sunrpc/clnt_udp.c: Likewise.
20470 * sunrpc/clnt_unix.c: Likewise.
20471 * sunrpc/des_crypt.c: Likewise.
20472 * sunrpc/des_soft.c: Likewise.
20473 * sunrpc/get_myaddr.c: Likewise.
20474 * sunrpc/key_call.c: Likewise.
20475 * sunrpc/key_prot.c: Likewise.
20476 * sunrpc/netname.c: Likewise.
20477 * sunrpc/pm_getmaps.c: Likewise.
20478 * sunrpc/pm_getport.c: Likewise.
20479 * sunrpc/pmap_clnt.c: Likewise.
20480 * sunrpc/pmap_prot.c: Likewise.
20481 * sunrpc/pmap_prot2.c: Likewise.
20482 * sunrpc/pmap_rmt.c: Likewise.
20483 * sunrpc/publickey.c: Likewise.
20484 * sunrpc/rpc_cmsg.c: Likewise.
20485 * sunrpc/rpc_common.c: Likewise.
20486 * sunrpc/rpc_dtable.c: Likewise.
20487 * sunrpc/rpc_prot.c: Likewise.
20488 * sunrpc/rpc_thread.c: Likewise.
20489 * sunrpc/rtime.c: Likewise.
20490 * sunrpc/svc.c: Likewise.
20491 * sunrpc/svc_auth.c: Likewise.
20492 * sunrpc/svc_raw.c: Likewise.
20493 * sunrpc/svc_run.c: Likewise.
20494 * sunrpc/svc_tcp.c: Likewise.
20495 * sunrpc/svc_udp.c: Likewise.
20496 * sunrpc/svc_unix.c: Likewise.
20497 * sunrpc/svcauth_des.c: Likewise.
20498 * sunrpc/xcrypt.c: Likewise.
20499 * sunrpc/xdr.c: Likewise.
20500 * sunrpc/xdr_array.c: Likewise.
20501 * sunrpc/xdr_float.c: Likewise.
20502 * sunrpc/xdr_intXX_t.c: Likewise.
20503 * sunrpc/xdr_mem.c: Likewise.
20504 * sunrpc/xdr_rec.c: Likewise.
20505 * sunrpc/xdr_ref.c: Likewise.
20506 * sunrpc/xdr_sizeof.c: Likewise.
20507 * sunrpc/xdr_stdio.c: Likewise.
20508
b5c086a2
RM
205092012-05-10 Roland McGrath <roland@hack.frob.com>
20510
20511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20512 change. Update copyright years.
20513
6d74dd09
JM
205142012-05-10 Joseph Myers <joseph@codesourcery.com>
20515
20516 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20517
28e72501
MK
205182012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20519 Joseph Myers <joseph@codesourcery.com>
20520 Paul Pluzhnikov <ppluzhnikov@google.com>
20521
20522 [BZ #14012]
20523 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20524 requiring rpcgen.
20525 [cross-compiling] (extra-libs): Likewise.
20526 [cross-compiling] (extra-libs-others): Likewise.
20527 [cross-compiling] (librpcsvc-routines): Likewise.
20528 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20529 [cross-compiling] (omit-deps): Likewise.
20530 (sunrpc-CPPFLAGS): New variable.
20531 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20532 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20533 (cross-rpcgen-objs): New variable.
20534 (extra-objs): Append $(cross-rpcgen-objs).
20535 ($(cross-rpcgen-objs)): New rule.
20536 ($(objpfx)cross-rpcgen): Likewise.
20537 (rpcgen-cmd): Define to use $(built-program-file). Expand
20538 comment.
20539 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20540 ($(objpfx)x%.stmp): Likewise.
20541 * sunrpc/proto.h [IS_IN_build] (_): Define.
20542 [IS_IN_build] (_libc_intl_domainname): Likewise.
20543
c8c59454
L
205442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20545
20546 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20547 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20548 and R_X86_64_TPOFF64.
20549
6f27cd16
JM
205502012-05-10 Joseph Myers <joseph@codesourcery.com>
20551
20552 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20553 sysdeps/unix/sysv/syscalls.list.
20554 (stime): Likewise.
20555 (utime): Likewise.
20556 * sysdeps/unix/sysv/syscalls.list: Remove file.
20557
02467e1c
PE
205582012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20559
20560 [BZ #3440]
20561 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20562 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20563 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20564 (__LC_IDENTIFICATION): Make these macros useful in #if
20565 expressions, as required by C99.
20566
da392631
AS
205672012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20568
20569 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20570 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20571 after this.
20572
8115f29b
L
205732012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20574
20575 * stdlib/longlong.h: Updated from GCC.
20576
bdd74070
AJ
205772012-05-09 Andreas Jaeger <aj@suse.de>
20578
edfe0dbe
AJ
20579 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20580 default is first entry.
20581 (run_mode): Set type.
20582 (main): Remove informal message about syslog.
20583 (options): Fix typo.
20584
bcfe3a54
ST
20585 [BZ #14053]
20586 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20587 to asm.
bcfe3a54
ST
20588 (lrint): Likewise.
20589 (llrintf): Likewise.
20590 (llrint): Likewise.
20591 (rint): Likewise.
20592 (rintf): Likewise.
20593 (nearbyint): Likewise.
20594 (nearbyintf): Likewise.
bdd74070 20595
91d8d69e
AJ
205962012-05-09 Andreas Jaeger <aj@suse.de>
20597 Pedro Alves <palves@redhat.com>
20598
20599 * nscd/nscd.c (run_mode): Use enum.
20600 (main): Cleanup coding style issue.
20601
bb90b80b
AJ
206022012-05-09 Alexandre Oliva <aoliva@redhat.com>
20603 Andreas Jaeger <aj@suse.de>
20604
bcfe3a54
ST
20605 * nscd/nscd.c (go_background): Replaced with...
20606 (run_mode): ... this.
bb90b80b 20607 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20608 (options): Add -F --foreground.
20609 (main): Implement it.
20610 (parse_opt): Parse it.
bb90b80b 20611
1a4b75a1
AJ
206122012-05-09 Andreas Jaeger <aj@suse.de>
20613
20614 [BZ #14083]
20615 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20616 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20617 -Wconversion warning.
20618 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20619 Likewise.
20620
b1cc2472
JM
206212012-05-09 Joseph Myers <joseph@codesourcery.com>
20622
20623 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20624 == 0.
20625 (LC_ALL): Use macro-int-constant.
20626 (LC_COLLATE): Likewise.
20627 (LC_CTYPE): Likewise.
20628 (LC_MESSAGES): Likewise.
20629 (LC_MONETARY): Likewise.
20630 (LC_NUMERIC): Likewise.
20631 (LC_TIME): Likewise.
20632 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20633 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20634 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20635 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20636 Specify type.
20637 [C99-based standards] (float_t): Expect type.
20638 [C99-based standards] (double_t): Expect type.
20639 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20640 type.
20641 [C99-based standards] (HUGE_VALL): Likewise.
20642 [C99-based standards] (INFINITY): Likewise.
20643 [C99-based standards] (NAN): Likewise.
20644 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20645 [C99-based standards] (FP_NAN): Likewise.
20646 [C99-based standards] (FP_NORMAL): Likewise.
20647 [C99-based standards] (FP_SUBNORMAL): Likewise.
20648 [C99-based standards] (FP_ZERO): Likewise.
20649 [C99-based standards] (FP_FAST_FMA): Use
20650 optional-macro-int-constant. Specify type. Require == 1.
20651 [C99-based standards] (FP_FAST_FMAF): Likewise.
20652 [C99-based standards] (FP_FAST_FMAL): Likewise.
20653 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20654 [C99-based standards] (FP_ILOGBNAN): Likewise.
20655 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20656 Specify type.
20657 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20658 [C99-based standards] (math_errhandling): Specify type.
20659 [ISO99 || ISO11] (signgam): Do not allow.
20660 [non-C99-based standards] (copysignf): Do not allow.
20661 [non-C99-based standards] (exp2f): Likewise.
20662 [non-C99-based standards] (log2f): Likewise.
20663 [non-C99-based standards] (modff): Allow.
20664 [non-C99-based standards] (erff): Do not allow.
20665 [non-C99-based standards] (erfcf): Likewise.
20666 [non-C99-based standards] (gammaf): Likewise.
20667 [non-C99-based standards] (hypotf): Likewise.
20668 [non-C99-based standards] (j0f): Likewise.
20669 [non-C99-based standards] (j1f): Likewise.
20670 [non-C99-based standards] (jnf): Likewise.
20671 [non-C99-based standards] (lgammaf): Likewise.
20672 [non-C99-based standards] (tgammaf): Likewise.
20673 [non-C99-based standards] (y0f): Likewise.
20674 [non-C99-based standards] (y1f): Likewise.
20675 [non-C99-based standards] (ynf): Likewise.
20676 [non-C99-based standards] (isnanf): Likewise.
20677 [non-C99-based standards] (acoshf): Likewise.
20678 [non-C99-based standards] (asinhf): Likewise.
20679 [non-C99-based standards] (atanhf): Likewise.
20680 [non-C99-based standards] (cbrtf): Likewise.
20681 [non-C99-based standards] (expm1f): Likewise.
20682 [non-C99-based standards] (ilogbf): Likewise.
20683 [non-C99-based standards] (log1pf): Likewise.
20684 [non-C99-based standards] (logbf): Likewise.
20685 [non-C99-based standards] (nextafterf): Likewise.
20686 [non-C99-based standards] (remainderf): Likewise.
20687 [non-C99-based standards] (rintf): Likewise.
20688 [non-C99-based standards] (scalbf): Likewise.
20689 [non-C99-based standards] (copysignl): Likewise.
20690 [non-C99-based standards] (exp2l): Likewise.
20691 [non-C99-based standards] (log2l): Likewise.
20692 [non-C99-based standards] (modfl): Allow.
20693 [non-C99-based standards] (erfl): Do not allow.
20694 [non-C99-based standards] (erfcl): Likewise.
20695 [non-C99-based standards] (gammal): Likewise.
20696 [non-C99-based standards] (hypotl): Likewise.
20697 [non-C99-based standards] (j0l): Likewise.
20698 [non-C99-based standards] (j1l): Likewise.
20699 [non-C99-based standards] (jnl): Likewise.
20700 [non-C99-based standards] (lgammal): Likewise.
20701 [non-C99-based standards] (tgammal): Likewise.
20702 [non-C99-based standards] (y0l): Likewise.
20703 [non-C99-based standards] (y1l): Likewise.
20704 [non-C99-based standards] (ynl): Likewise.
20705 [non-C99-based standards] (isnanl): Likewise.
20706 [non-C99-based standards] (acoshl): Likewise.
20707 [non-C99-based standards] (asinhl): Likewise.
20708 [non-C99-based standards] (atanhl): Likewise.
20709 [non-C99-based standards] (cbrtl): Likewise.
20710 [non-C99-based standards] (expm1l): Likewise.
20711 [non-C99-based standards] (ilogbl): Likewise.
20712 [non-C99-based standards] (log1pl): Likewise.
20713 [non-C99-based standards] (logbl): Likewise.
20714 [non-C99-based standards] (nextafterl): Likewise.
20715 [non-C99-based standards] (remainderl): Likewise.
20716 [non-C99-based standards] (rintl): Likewise.
20717 [non-C99-based standards] (scalbl): Likewise.
20718 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20719 [non-C99-based standards] (FP_*): Do not allow.
20720 [C99-based standards] (FP_*): Change to
20721 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20722 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20723 allow.
20724 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20725 (SIG_ERR): Likewise.
20726 [X/Open-based standards] (SIG_HOLD): Likewise.
20727 (SIG_IGN): Likewise.
20728 (SIGABRT): Use macro-int-constant. Specify type. Require
20729 positive value.
20730 (SIGFPE): Likewise.
20731 (SIGILL): Likewise.
20732 (SIGINT): Likewise.
20733 (SIGSEGV): Likewise.
20734 (SIGTER): Likewise.
20735 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20736 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20737 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20738 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20739 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20740 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20741 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20742 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20743 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20744 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20745 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20746 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20747 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20748 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20749 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20750 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20751 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20752 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20753 [X/Open-based standards] (SIGTRAP): Likewise.
20754 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20755 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20756 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20757 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20758 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20759 allow.
20760
b9f1922d
IW
207612012-05-08 Ian Wienand <ianw@vmware.com>
20762
20763 [BZ #14080]
20764 * time/tzset.c (__tzset_parse_tz): Update default rules for
20765 daylight time changes in the Energy Policy Act of 2005.
20766
1db86e88
AJ
207672012-05-09 Andreas Jaeger <aj@suse.de>
20768
20769 [BZ #13983]
20770 * elf/ldconfig.c (parse_conf): Change string to make clear that
20771 ldconfig only issued a warning if ld.so.conf does not exist.
20772
dee4a4e3
DM
207732012-05-08 David S. Miller <davem@davemloft.net>
20774
ee0db190
DM
20775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20776 movxtod instead of popping the value on the stack.
20777
dee4a4e3
DM
20778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20779
6a43ec98
CD
207802012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20781
20782 * config.h.in: Add HAVE_ARM_PCS_VFP.
20783
05c2c961
RMG
207842012-05-08 Roland Mc Grath <roland@hack.frob.com>
20785
bcfe3a54
ST
20786 [BZ #13979]
20787 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20788 checking but the checks are disabled for any reason.
05c2c961 20789
4b30f61a
L
207902012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20791
20792 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20793 and ELF64_R_TYPE with ELFW(R_TYPE).
20794
eee2bc67
JM
207952012-05-08 Joseph Myers <joseph@codesourcery.com>
20796
7ea5391a
JM
20797 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20798 (ulimit): Likewise.
20799
eee2bc67
JM
20800 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20801 (settimeofday): Likewise.
20802
abb66a67
MF
208032012-05-08 Mike Frysinger <vapier@gentoo.org>
20804
20805 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20806 a struct th_u2 inside the union, and move tu_block/tu_code into
20807 a new th_u3 union of tu_block/tu_code inside of that. Move
20808 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20809 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20810 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20811 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20812 (th_stuff): Change to th_u1.tu_stuff.
20813 (th_data): Define.
20814 (th_msg): Change to th_u1.th_u2.tu_data.
20815
7f18b530
DM
208162012-05-07 David S. Miller <davem@davemloft.net>
20817
05760585
DM
20818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20819
7f18b530
DM
20820 [BZ #14074]
20821 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20822 (SETUP_PIC_REG): Use it.
20823 (SETUP_PIC_REG_LEAF): Use it.
20824
495fd99f
JM
208252012-05-07 Joseph Myers <joseph@codesourcery.com>
20826
20827 [BZ #13885]
20828 [BZ #13923]
20829 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20830 USE_AS_EXPM1L.
20831 (EXPL_FINITE): Likewise.
20832 (FLDLOG): Likewise.
20833 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20834 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20835 e_expl.S.
20836 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20837 USE_AS_EXPM1L.
20838 (EXPL_FINITE): Likewise.
20839 (FLDLOG): Likewise.
20840 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20841 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20842 e_expl.S.
20843 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20844 test of -max_value argument for long double.
20845 * sysdeps/i386/fpu/libm-test-ulps: Update.
20846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20847
6693d694
DM
208482012-05-06 David S. Miller <davem@davemloft.net>
20849
20850 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20851 quad soft-float symbols whose references which are compiler
20852 generated.
20853 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20854
6c23e11c
JM
208552012-05-06 Joseph Myers <joseph@codesourcery.com>
20856
d8b82cad
JM
20857 [BZ #13884]
20858 [BZ #13914]
20859 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20860 USE_AS_EXP10L.
20861 (EXPL_FINITE): Likewise.
20862 (FLDLOG): Likewise.
20863 (c0): Likewise.
20864 (c1): Likewise.
20865 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20866 Adjust comments for base varying.
20867 (__expl_finite): Change alias to EXPL_FINITE.
20868 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20869 e_expl.S.
20870 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20871 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20872 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20873 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20874 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20875 USE_AS_EXP10L.
20876 (EXPL_FINITE): Likewise.
20877 (FLDLOG): Likewise.
20878 (c0): Likewise.
20879 (c1): Likewise.
20880 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20881 Adjust comments for base varying.
20882 (__expl_finite): Change alias to EXPL_FINITE.
20883 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20884 tests for bugs.
20885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20886
6c23e11c
JM
20887 [BZ #14064]
20888 * math/libm-test.inc (check_float_internal): Correct ulp
20889 calculation for subnormal expected results.
20890
29ba805c
AJ
208912012-05-06 Andreas Jaeger <aj@suse.de>
20892
20893 * Makeconfig (+math-flags): New, set to -frounding-math.
20894 (+cflags): Add +math-flags so that all of glibc gets compiled with
20895 it.
20896
20897 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20898
7b17aeda
JM
208992012-05-05 Joseph Myers <joseph@codesourcery.com>
20900
5779f134
JM
20901 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20902 Disable one test.
20903
41498f4d
JM
20904 [BZ #13787]
20905 [BZ #13922]
20906 [BZ #14036]
20907 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20908 (__ieee754_expl): Allow for and saturate large arguments.
20909 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20910 (u_threshold): Likewise.
20911 (__exp): Call __ieee754_exp before checking for overflow and
20912 underflow.
20913 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20914 (u_threshold): Likewise.
20915 (__expf): Call __ieee754_expf before checking for overflow and
20916 underflow.
20917 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20918 (u_threshold): Likewise.
20919 (__expl): Call __ieee754_expl before checking for overflow and
20920 underflow.
20921 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20922 (__ieee754_expl): Allow for and saturate large arguments.
20923 * math/libm-test.inc (exp_test): Add another test. Do not allow
20924 missing overflow exception on overflow.
20925 (expm1_test): Do not allow missing overflow exception on overflow.
20926
6698b8bf
JM
20927 * sysdeps/i386/fpu/e_expl.c: Move to ...
20928 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20929 rather than using inline asm.
20930 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20931 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20932 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20933
7b17aeda
JM
20934 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20935 (nice): Likewise.
20936 (poll): Likewise.
20937 (signal): Likewise.
20938 (time): Likewise.
20939 (times): Likewise.
20940
f7c85819
JM
209412012-05-04 Joseph Myers <joseph@codesourcery.com>
20942
20943 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20944 sysdeps/unix/common/syscalls.list.
20945 (fchmod): Likewise.
20946 (fchown): Likewise.
20947 (ftruncate): Likewise.
20948 (getrusage): Likewise.
20949 (gettimeofday): Likewise.
20950 (setpgid): Likewise.
20951 (setregid): Likewise.
20952 (setreuid): Likewise.
20953 (sigaction): Likewise.
20954 (truncate): Likewise.
20955 (vhangup): Likewise.
20956 * sysdeps/unix/common/syscalls.list: Remove file.
20957 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20958 * sysdeps/unix/sysv/linux/Implies: Likewise.
20959
336270d0
L
209602012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20961
20962 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20964 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20965 Moved to ...
20966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20967 Here.
20968 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20969 to ...
20970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20971 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20972 to ...
20973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20974 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20975 to ...
20976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20977 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20978 to ...
20979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20980 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20981 to ...
20982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20983 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20984 to ...
20985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20986 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20987 to ...
20988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20989 Here.
20990 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20991 to ...
20992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20993 Here.
20994 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20995 to ...
20996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20997 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20998 Moved to ...
20999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21000 Here.
21001 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21002 to ...
21003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21004
d128e450
JM
210052012-05-04 Joseph Myers <joseph@codesourcery.com>
21006
fa8ee516
JM
21007 * sysdeps/unix/common/bits/dirent.h: Remove file.
21008 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21009
d128e450
JM
21010 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21011 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21012 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21013 * sysdeps/unix/bsd/isatty.c: Likewise.
21014 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21015 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21016 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21017
ff8faaf0 210182012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 21019
62881be4 21020 [BZ #13563]
31dc8730
AZ
21021 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21022 long double comparison inaccuracies.
21023 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21025
6fef930c
AS
210262012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21027
21028 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21029 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21030
8f203e6c
JM
210312012-05-04 Joseph Myers <joseph@codesourcery.com>
21032
21033 [BZ #14049]
21034 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21035 nonzero digits before rounding a hex value.
21036 * stdlib/tst-strtod.c (tests): Add another test.
21037
5197d9c2
AK
210382012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21039
21040 * sysdeps/s390/fpu/libm-test-ulps: Update.
21041
f0c1dedf
AJ
210422012-05-03 Andreas Jaeger <aj@suse.de>
21043
21044 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21045 does not get optimized out.
21046 (malloc_opt_barrier): New.
21047
a65ef2ae 210482012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 21049 Roland McGrath <roland@hack.frob.com>
a65ef2ae 21050
2b942cb7 21051 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 21052 intermediate file deletion.
2b942cb7 21053 (generated): Add .symlist files.
a65ef2ae 21054
54b71e02
JM
210552012-05-03 Joseph Myers <joseph@codesourcery.com>
21056
21057 [BZ #13775]
21058 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21059 Redirect under this condition.
21060 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21061 [__USE_GNU] (__dprintf_chk): Not under this condition.
21062 [__USE_GNU] (__vdprintf_chk): Likewise.
21063 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21064 under this condition.
21065 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21066 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21067 [__USE_XOPEN2K8] (vdprintf): Likewise.
21068 [__USE_GNU] (__dprintf_chk): Not under this condition.
21069 [__USE_GNU] (__vdprintf_chk): Likewise.
21070 [__USE_GNU] (dprintf): Likewise.
21071 [__USE_GNU] (vdprintf): Likewise.
21072
d3dfcc41
RM
210732012-05-03 Roland McGrath <roland@hack.frob.com>
21074
21075 * elf/Makefile (common-generated): Set this instead of generated for
21076 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21077 $(all-built-dso)-derived lists.
21078
7ac30cc5
AJ
210792012-05-03 Andreas Jaeger <aj@suse.de>
21080
0c51e550
AJ
21081 * sysdeps/i386/fpu/libm-test-ulps: Update.
21082
7ac30cc5
AJ
21083 * FAQ: Removed.
21084 * FAQ.in: Likewise.
21085 * scripts/gen-FAQ.pl: Likewise.
21086 * manual/install.texi (Installation): Point to online location of
21087 FAQ.
21088 * Makefile (files-for-dist): Remove FAQ.
21089 (FAQ): Remove.
21090
d4c2917f
AM
210912012-05-02 Allan McRae <allan@archlinux.org>
21092
21093 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21094 (LDFLAGS-reldepmod5.so): Likewise.
21095 (LDFLAGS-reldep6mod1.so): Likewise.
21096 (LDFLAGS-reldep6mod4.so): Likewise.
21097 (LDFLAGS-reldep8mod3.so): Likewise.
21098 (LDFLAGS-unload4mod1.so): Likewise.
21099 (LDFLAGS-unload4mod2.so): Likewise.
21100 (LDFLAGS-tst-initorder): Likewise.
21101 (LDFLAGS-tst-initordera2.so): Likewise.
21102 (LDFLAGS-tst-initordera3.so): Likewise.
21103 (LDFLAGS-tst-initordera4.so): Likewise.
21104 (LDFLAGS-tst-initorderb2.so): Likewise.
21105 (LDFLAGS-noload): Likewise.
21106 (LDFLAGS-next): Likewise.
21107 (LDFLAGS-order2mod1.so): Likewise.
21108 (LDFLAGS-order2mod2.so): Likewise.
21109 (LDFLAGS-tst-initorder2): Likewise.
21110 (LDFLAGS-tst-initorder2a.so): Likewise.
21111 (LDFLAGS-tst-initorder2b.so): Likewise.
21112 (LDFLAGS-tst-initorder2c.so): Likewise.
21113 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21114
d77f993f
DM
211152012-05-02 David S. Miller <davem@davemloft.net>
21116
21117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21118
171a70b4
PP
211192012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21120
21121 [BZ #14055]
21122 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21123
0be196ad
AJ
211242012-05-02 Andreas Jaeger <aj@suse.de>
21125
21126 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21127 since we manipulate rounding mode.
21128 (CPPFLAGS-test-idouble.c): Likewise.
21129 (CPPFLAGS-test-ifloat.c): Likewise.
21130 (CFLAGS-test-ldouble.c): Likewise.
21131 (CFLAGS-test-double.c): Likewise.
21132 (CFLAGS-test-float.c): Likewise.
21133 (CFLAGS-test-misc.c): Likewise.
21134 (CFLAGS-test-test-fenv.c): Likewise.
21135
4f9d04aa
AZ
211362012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21137
2b942cb7
RM
21138 [BZ #2550]
21139 [BZ #2570]
21140 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21141 comparisons to determine direction to adjust input.
4f9d04aa 21142
82a79e7d
RM
211432012-05-01 Roland McGrath <roland@hack.frob.com>
21144
f5a01ca9
RM
21145 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21146 output to the target.
21147
90fe4186
RM
21148 * scripts/localplt.awk: New file.
21149 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21150 (check-localplt-CFLAGS): Variable removed.
21151 ($(all-built-dso:=.jmprel)): New static pattern rule.
21152 (generated): Add those targets.
21153 (localplt-built-dso): New variable.
21154 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21155
21156 * elf/check-localplt.c: File removed.
21157
82397ed6
RM
21158 * scripts/check-execstack.awk: New file.
21159 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21160 (check-execstack-CFLAGS): Variable removed.
21161 ($(objpfx)check-execstack.h): Target removed.
21162 ($(objpfx)execstack-default): New target.
21163 (generated): Add that instead of check-execstack.h.
21164 ($(all-built-dso:=.phdr)): New static pattern rule.
21165 (generated): Add those targets.
21166 * elf/check-execstack.c: File removed.
21167
82a79e7d
RM
21168 * scripts/check-textrel.awk: New file.
21169 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21170 (check-textrel-CFLAGS): Variable removed.
21171 (all-built-dso): Use := to define.o
21172 ($(all-built-dso:=.dyn)): New static pattern rule.
21173 (generated): Add those targets.
21174 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21175 * config.make.in (READELF): New substituted variable.
21176 * elf/check-textrel.c: File removed.
21177
62fde54f 211782012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 21179
615605c9
JM
21180 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21181 allow.
21182 * conform/data/ctype.h-data [C99-based standards] (isblank):
21183 Expect function.
21184 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21185 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21186 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21187 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21188 Specify type. Require positive value.
21189 (EILSEQ): Likewise.
21190 (ERANGE): Likewise.
21191 [ISO || POSIX] (EILSEQ): Do not expect.
21192 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21193 Specify type. Require positive value.
21194 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21195 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21196 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21197 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21198 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21199 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21200 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21201 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21202 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21203 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21204 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21205 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21206 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21207 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21208 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21209 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21210 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21211 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21212 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21213 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21214 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21215 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21216 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21217 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21218 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21219 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21220 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21221 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21222 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21223 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21224 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21225 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21226 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21227 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21228 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21229 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21230 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21231 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21232 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21233 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21234 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21235 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21236 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21237 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21238 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21239 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21240 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21241 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21242 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21243 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21244 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21245 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21246 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21247 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21248 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21249 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21250 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21251 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21252 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21253 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21254 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21255 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21256 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21257 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21258 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21259 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21260 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21261 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21262 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21263 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21264 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21265 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21266 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21267 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21268 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21269 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21270 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21271 Require >= 2.
21272 (FLT_ROUNDS): Expect as macro, not constant.
21273 (FLT_MANT_DIG): Use macro-int-constant.
21274 (DBL_MANT_DIG): Likewise.
21275 (LDBL_MANT_DIG): Likewise.
21276 (FLT_DIG): Likewise.
21277 (DBL_DIG): Likewise.
21278 (LDBL_DIG): Likewise.
21279 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21280 (DBL_MIN_EXP): Likewise.
21281 (LDBL_MIN_EXP): Likewise.
21282 (FLT_MAX_EXP): Use macro-int-constant.
21283 (DBL_MAX_EXP): Likewise.
21284 (LDBL_MAX_EXP): Likewise.
21285 (FLT_MAX_10_EXP): Likewise.
21286 (DBL_MAX_10_EXP): Likewise.
21287 (LDBL_MAX_10_EXP): Likewise.
21288 (FLT_MAX): Use macro-constant.
21289 (DBL_MAX): Likewise.
21290 (LDBL_MAX): Likewise.
21291 (FLT_EPSILON): Use macro-constant. Give upper bound.
21292 (DBL_EPSILON): Likewise.
21293 (LDBL_EPSILON): Likewise.
21294 (FLT_MIN): Likewise.
21295 (DBL_MIN): Likewise.
21296 (LDBL_MIN): Likewise.
21297 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21298 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21299 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21300 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21301 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21302 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21303 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21304 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21305 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21306 [ISO11] (FLT_TRUE_MIN): Likewise.
21307 [ISO11] (LDBL_TRUE_MIN): Likewise.
21308 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21309 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21310 (SCHAR_MIN): Use macro-int-constant. Specify type.
21311 (SCHAR_MAX): Likewise.
21312 (UCHAR_MAX): Likewise.
21313 (CHAR_MIN): Likewise.
21314 (CHAR_MAX): Likewise.
21315 (MB_LEN_MAX): Use macro-int-constant.
21316 (SHRT_MIN): Use macro-int-constant. Specify type.
21317 (SHRT_MAX): Likewise.
21318 (USHRT_MAX): Likewise.
21319 (INT_MAX): Likewise.
21320 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21321 bound negative.
21322 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21323 bound with "U".
21324 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21325 bound with "L".
21326 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21327 bound negative. Suffix upper bound with "L".
21328 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21329 bound with "UL".
21330 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21331 Specify type.
21332 [C99-based standards] (LLONG_MAX): Likewise.
21333 [C99-based standards] (ULLONG_MAX): Likewise.
21334 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21335 == 0.
21336 [ISO11] (max_align_t): Require type.
21337 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21338
c9140a62
JM
21339 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21340 from $CFLAGS, without defining away __attribute__ calls.
21341 (checknamespace): Use $CFLAGS_namespace.
21342
9af0bf29
JM
21343 * conform/conformtest.pl (@keywords): Only include C99 keywords
21344 for standards based on C99 or C11.
21345
343222a2
JM
21346 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21347 Disable tests.
21348 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21349 UNIX98]: Likewise.
21350
661f8cf0
JM
21351 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21352 usability of symbols in #if.
21353
ee74b9cb
JM
21354 * conform/conformtest.pl: If macro or constant types start
21355 "promoted:", expect the symbol to be of the following type
21356 promoted by the integer promotions.
62fde54f 21357
aafc49b3
JM
21358 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21359 in one place. Also handle "macro-constant".
21360
fefdf574
JM
21361 * conform/conformtest.pl: Only accept expected macro values with
21362 "==". Parse all "macro" lines in one place.
21363 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21364
f2d922fe
JM
21365 * conform/conformtest.pl: Handle braced types on "constant" lines
21366 instead of handling "typed-constant".
21367 * conform/data/signal.h-data: Use "constant" instead of
21368 "typed-constant".
21369
d22956c9
JM
21370 * conform/conformtest.pl: Handle "optional-" at start of lines in
21371 one place rather than duplicating several cases. Handle each
21372 format of "macro" line with initial "optional-".
21373
028e2e38
JM
21374 * conform/conformtest.pl: Only accept expected constant or
21375 optional-constant values with "==". Parse all "constant" lines in
21376 one place. Parse all "optional-constant" lines in one place.
21377 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21378 * conform/data/fmtmsg.h-data: Likewise.
21379 * conform/data/netinet/in.h-data: Likewise.
21380 * conform/data/tar.h-data: Likewise.
21381 * conform/data/limits.h-data: Use "==" form on "constant" and
21382 "optional-constant" lines.
21383
1b8f2850
JM
21384 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21385 Use -std=c99 for XOPEN2K.
21386 (@knownproblems): Remove.
21387 (newtoken): Don't check %isknown.
21388
a05a144b
JM
21389 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21390 Do not expect macro.
21391 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21392 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21393 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21394 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21395 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21396 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21397 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21398 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21399 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21400 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21401 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21402 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21403 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21404 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21405 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21406 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21407 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21408 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21409 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21410 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21411 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21412 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21413 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21414 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21415 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21416 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21417 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21418 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21419 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21420 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21421 [XPG3] (acosh): Likewise.
21422 [XPG3] (asinh): Likewise.
21423 [XPG3] (atanh): Likewise.
21424 [XPG3] (cbrt): Likewise.
21425 [XPG3] (expm1): Likewise.
21426 [XPG3] (ilogb): Likewise.
21427 [XPG3] (log1p): Likewise.
21428 [XPG3] (logb): Likewise.
21429 [XPG3] (nextafter): Likewise.
21430 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21431 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21432 [XPG3] (remainder): Likewise.
21433 [XPG3] (rint): Likewise.
21434 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21435 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21436 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21437 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21438 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21439 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21440 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21441 [UNIX98 || XOPEN2K] (scalb): Expect.
21442 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21443 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21444 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21445 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21446 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21447 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21448 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21449 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21450 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21451 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21452 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21453 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21454 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21455 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21456 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21457 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21458 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21459 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21460 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21461 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21462 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21463 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21464 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21465 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21466 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21467 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21468 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21469 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21470 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21471 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21472 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21473 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21474 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21475 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21476 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21477 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21478 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21479 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21480 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21481 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21482 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21483 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21484 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21485 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21486 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21487 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21488 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21489 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21490 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21491 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21492 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21493 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21494 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21495 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21496 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21497 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21498 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21499 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21500 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21501 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21502 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21503 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21504 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21505 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21506 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21507 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21508 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21509 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21510 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21511 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21512 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21513 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21514 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21515 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21516 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21517 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21518 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21519 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21520 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21521 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21522 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21523 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21524 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21525 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21526 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21527 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21528 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21529 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21530 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21531 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21532 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21533 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21534 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21535 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21536 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21537 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21538 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21539 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21540 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21541 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21542 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21543 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21544 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21545 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21546 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21547 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21548 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21549 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21550 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21551 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21552 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21553 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21554 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21555 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21556 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21557 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21558 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21559 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21560 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21561 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21562 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21563 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21564 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21565 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21566 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21567 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21568 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21569 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21570 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21571 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21572 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21573 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21574 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21575 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21576 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21577 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21578 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21579
73c5ebe3
JM
21580 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21581 _XOPEN_SOURCE_EXTENDED for XPG4.
21582
39c33b6c
JM
21583 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21584
62fde54f
JM
21585 * Makeconfig (localtime): Remove variable.
21586 (inst_localtime-file): Likewise.
21587
0741d64c
AS
215882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21589
21590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21591 Update.
21592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21593 Update.
21594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21595 Update.
21596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21597 Update.
21598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21599 Update.
21600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21601 Update.
21602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21603 Update.
21604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21605 Update.
21606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21607 Update.
21608
7cb029ee
JM
216092012-05-01 Joseph Myers <joseph@codesourcery.com>
21610
21611 [BZ #2550]
21612 [BZ #2570]
21613 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21614 comparisons to determine direction to adjust input.
21615 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21616 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21617 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21618 Likewise.
21619 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21620 Likewise.
21621 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21622 Likewise.
21623 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21624 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21625 Likewise.
21626 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21627 Likewise.
21628 * math/libm-test.inc (nexttoward_test): Add more tests.
21629
412bd966
AS
216302012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21631
21632 [BZ #14040]
21633 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21634 in version GLIBC_2.1, not GLIBC_2.0.
21635 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21636 Likewise.
21637
9568c0c2
JM
216382012-04-30 Joseph Myers <joseph@codesourcery.com>
21639
adfbc8ac
JM
21640 [BZ #13942]
21641 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21642 (1 - x) * (1 + x).
21643 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21644 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21645 * math/libm-test.inc (acos_test): Add more tests.
21646 (asin_test): Likewise.
21647 * sysdeps/i386/fpu/libm-test-ulps: Update.
21648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21649
5ba3cc69
JM
21650 [BZ #14034]
21651 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21652 of square root.
21653 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21654 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21655 * math/libm-test.inc (acos_test_tonearest): New function.
21656 (acos_test_towardzero): Likewise.
21657 (acos_test_downward): Likewise.
21658 (acos_test_upward): Likewise.
21659 (asin_test_tonearest): Likewise.
21660 (asin_test_towardzero): Likewise.
21661 (asin_test_downward): Likewise.
21662 (asin_test_upward): Likewise.
21663 (main): Call the new functions.
21664 * sysdeps/i386/fpu/libm-test-ulps: Update.
21665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21666
9568c0c2
JM
21667 [BZ #13884]
21668 [BZ #13924]
21669 * math/e_exp10.c: Include <float.h>.
21670 (__ieee754_exp10): Handle underflow here rather than multiplying
21671 large negative argument by M_LN10.
21672 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21673 of __ieee754_expf.
21674 * math/e_exp10l.c: Include <float.h>.
21675 (__ieee754_exp10l): Handle underflow here rather than multiplying
21676 large negative argument by M_LN10l.
21677 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21678 spurious overflow exception on underflow.
21679
5ac3ea17
MP
216802012-04-29 Marek Polacek <polacek@redhat.com>
21681
21682 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21683 (__fortify_function): New macro.
21684 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21685 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21686 __extern_always_inline.
21687 * libio/bits/stdio2.h: Likewise.
21688 * libio/bits/stdio.h: Likewise.
21689 * string/string.h: Likewise.
21690 * string/bits/string3.h: Likewise.
21691 * include/stdio.h: Likewise.
21692 * stdlib/bits/stdlib.h: Likewise.
21693 * stdlib/stdlib.h: Likewise.
21694 * rt/bits/mqueue2.h: Likewise.
21695 * rt/mqueue.h: Likewise.
21696 * posix/bits/unistd.h: Likewise.
21697 * posix/unistd.h: Likewise.
21698 * io/bits/poll2.h: Likewise.
21699 * io/bits/fcntl2.h: Likewise.
21700 * io/fcntl.h: Likewise.
21701 * io/sys/poll.h: Likewise.
21702 * misc/bits/syslog.h: Likewise.
21703 * misc/bits/syslog-ldbl.h: Likewise.
21704 * misc/sys/syslog.h: Likewise.
21705 * socket/bits/socket2.h: Likewise.
21706 * socket/sys/socket.h: Likewise.
21707 * debug/tst-chk1.c: Likewise.
21708 * wcsmbs/bits/wchar2.h: Likewise.
21709 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21710 * wcsmbs/wchar.h: Likewise.
21711
ecf0ebfb
AJ
217122012-04-29 Andreas Jaeger <aj@suse.de>
21713
21714 * Makerules (tests): Remove enable-check-abi protection.
21715 (check-abi-warn): Remove.
21716 (check-abi-%): Remove check-abi-warn usage.
21717
21718 * configure.in: Remove check-abi configure option.
21719 * configure: Regenerated.
21720 * config.make.in (enable-check-abi): Remove.
21721
6d5c57fa
AS
217222012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21723
24c5d07e 21724 [BZ #14033]
ded5180a
AS
21725 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21726 double functions to double *_finite functions.
21727
7e0d315d
AS
21728 [BZ #13941]
21729 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21730 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21731 LDBL_MIN_EXP.
21732 * stdio-common/Makefile (tests): Add tst-sprintf3.
21733 * stdio-common/tst-sprintf3.c: New file.
21734
6d5c57fa
AS
21735 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21736 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21737
0749ff8b
JM
217382012-04-28 Joseph Myers <joseph@codesourcery.com>
21739
21740 * conform/conformtest.pl: Remove duplicate typed-constant
21741 handling.
21742
8dbd5d7b
DM
217432012-04-28 David S. Miller <davem@davemloft.net>
21744
21745 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21746 (check-abi-%): Remove AWK script prerequisite and explicit
21747 abilist directory.
21748 (check-abi): Rewrite to just diff the symlist with the abilist.
21749 (config-tls, config-abi-config): Delete, no longer used.
21750 (update-abi-%): Remove AWK script and explicit abilist directory.
21751 (update-abi): Rewrite to simply compare and conditionally copy the
21752 symlist and the sysdep abilist file. Remove update-abi-config
21753 checks.
21754 * abilist/ld.abilist: Remove.
21755 * abilist/libBrokenLocale.abilist: Remove.
21756 * abilist/libanl.abilist: Remove.
21757 * abilist/libcrypt.abilist: Remove.
21758 * abilist/libdl.abilist: Remove.
21759 * abilist/librt.abilist: Remove.
21760 * abilist/libthread_db.abilist: Remove.
21761 * abilist/libutil.abilist: Remove.
21762 * scripts/extract-abilist.awk: Remove.
21763 * scripts/merge-abilist.awk: Remove.
21764 * sysdeps/generic/libcidn.abilist: New file.
21765 * sysdeps/generic/libnss_compat.abilist: New file.
21766 * sysdeps/generic/libnss_db.abilist: New file.
21767 * sysdeps/generic/libnss_dns.abilist: New file.
21768 * sysdeps/generic/libnss_files.abilist: New file.
21769 * sysdeps/generic/libnss_hesiod.abilist: New file.
21770 * sysdeps/generic/libnss_nis.abilist: New file.
21771 * sysdeps/generic/libnss_nisplus.abilist: New file.
21772 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21773 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21774 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21775 file.
21776 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21777 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21778 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21779 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21780 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21781 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21782 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21783 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21784 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21785 file.
21786 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21787 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21788 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21789 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21790 file.
21791 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21792 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21793 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21794 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21795 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21796 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21797 file.
21798 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21799 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21800 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21801 file.
21802 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21803 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21804 New file.
21805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21806 New file.
21807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21808 New file.
21809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21810 New file.
21811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21812 New file.
21813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21814 New file.
21815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21816 New file.
21817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21818 New file.
21819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21820 New file.
21821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21822 New file.
21823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21824 New file.
21825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21826 New file.
21827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21828 New file.
21829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21830 file.
21831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21832 New file.
21833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21834 New file.
21835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21836 file.
21837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21838 New file.
21839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21840 New file.
21841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21842 file.
21843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21844 New file.
21845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21846 New file.
21847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21848 New file.
21849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21850 New file.
21851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21852 New file.
21853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21854 New file.
21855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21857 file.
21858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21859 New file.
21860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21861 file.
21862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21863 file.
21864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21865 file.
21866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21867 file.
21868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21869 file.
21870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21871 New file.
21872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21873 file.
21874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21875 file.
21876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21877 New file.
21878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21879 file.
21880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21882 file.
21883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21884 New file.
21885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21886 file.
21887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21888 file.
21889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21890 file.
21891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21892 file.
21893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21894 file.
21895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21896 New file.
21897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21898 file.
21899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21900 file.
21901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21902 New file.
21903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21904 file.
21905 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21906 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21907 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21908 file.
21909 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21910 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21911 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21912 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21913 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21914 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21915 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21916 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21917 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21918 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21921 file.
21922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21923 New file.
21924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21925 file.
21926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21927 file.
21928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21929 file.
21930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21931 file.
21932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21933 file.
21934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21935 New file.
21936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21937 New file.
21938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21939 file.
21940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21941 New file.
21942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21943 file.
21944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21946 file.
21947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21948 New file.
21949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21950 file.
21951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21952 file.
21953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21954 file.
21955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21956 file.
21957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21958 file.
21959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21960 New file.
21961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21962 New file.
21963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21964 file.
21965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21966 New file.
21967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21968 file.
21969
41d73a1b
JM
219702012-04-28 Joseph Myers <joseph@codesourcery.com>
21971
21972 * conform/conformtest.pl: Fix typo in handling typed-constant from
21973 allow-header.
21974
28aeeda4
JM
219752012-04-27 Joseph Myers <joseph@codesourcery.com>
21976
adae8f5e
JM
21977 * README: Cut down references to pre-2.6 Linux kernels and
21978 Linuxthreads. Update lists of configurations in libc and ports
21979 and sort alphabetically. Say "or newer" with Linux kernel version
21980 requirements.
21981
28aeeda4
JM
21982 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21983
a462cb63
RA
219842012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21985
21986 [BZ #887]
21987 * math/libm-test.inc (logb_test_downward): New test to expose
21988 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21989 rounding mode.
21990
6ad3493e
JM
219912012-04-27 Joseph Myers <joseph@codesourcery.com>
21992
21993 [BZ #14027]
21994 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21995 to be done.
21996 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21997 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21998
2ce4f015
JM
219992012-04-26 Joseph Myers <joseph@codesourcery.com>
22000
5aeb141a
JM
22001 * sysdeps/unix/i386/brk.S: Remove file.
22002 * sysdeps/unix/i386/dl-brk.S: Likewise.
22003 * sysdeps/unix/i386/pipe.S: Likewise.
22004 * sysdeps/unix/i386/sigreturn.S: Likewise.
22005 * sysdeps/unix/i386/syscall.S: Likewise.
22006 * sysdeps/unix/i386/vfork.S: Likewise.
22007 * sysdeps/unix/i386/wait.S: Likewise.
22008
7143acae
JM
22009 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22010 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22011
2ce4f015
JM
22012 * configure.in (arm*-none*): Do not allow without
22013 --enable-hacker-mode.
22014 (netbsd*): Remove case setting base_os.
22015 (386bsd*): Likewise.
22016 (freebsd*): Likewise.
22017 (bsdi*): Likewise.
22018 (osf*): Likewise.
22019 (sunos*): Likewise.
22020 (ultrix*): Likewise.
22021 (newsos*): Likewise.
22022 (dynix*): Likewise.
22023 (*bsd*): Likewise.
22024 (sysv*): Likewise.
22025 (isc*): Likewise.
22026 (esix*): Likewise.
22027 (sco*): Likewise.
22028 (minix*): Likewise.
22029 (irix4*): Likewise.
22030 (irix6*): Likewise.
22031 (solaris[2-9]*): Likewise.
22032 (none): Likewise.
22033 * configure: Regenerated.
22034
0ac229c8
AZ
220352012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22036
22037 [BZ #11521]
22038 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22039 overflow or cancellation in calculating denominator.
22040 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22041 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22042 down expression to avoid unexpected rounding in newer GCCs.
22043 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22044
33f244f4
DM
220452012-04-26 David S. Miller <davem@davemloft.net>
22046
22047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22048 long-double compat symbols.
22049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22062
cfa1f3e8
DM
220632012-04-25 David S. Miller <davem@davemloft.net>
22064
22065 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22066 HWCAP_* values only after the memory barriers have been defined.
22067 (atomic_full_barrier): Define.
22068 (atomic_read_barrier): Define.
22069 (atomic_write_barrier): Define.
22070
6e236b92
SP
220712012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22072
22073 * shlib-versions: Add libgcc_s version information.
22074 * sysdeps/generic/libgcc_s.h: Remove.
22075 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22076 libgcc_s.h.
22077 * sysdeps/gnu/unwind-resume.c: Likewise.
22078 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22079
aab39a09
DM
220802012-04-25 David S. Miller <davem@davemloft.net>
22081
22082 * sysdeps/unix/sparc/brk.S: Delete.
22083 * sysdeps/unix/sparc/dl-brk.S: Delete.
22084 * sysdeps/unix/sparc/pipe.S: Delete.
22085 * sysdeps/unix/sparc/sysdep.S: Delete.
22086 * sysdeps/unix/sparc/sysdep.h: Delete.
22087 * sysdeps/unix/sparc/vfork.S: Delete.
22088 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22089 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22090 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22091 ret_ERRVAL, r0, r1, MOVE): Define.
22092 (JUMPTARGET): Remove.
22093 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22094 sysdeps/unix/sparc/sysdep.h
22095 (ENTRY, END): Remove.
22096 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22097
a3cc4f48
JM
220982012-04-25 Joseph Myers <joseph@codesourcery.com>
22099
2ed8cda2
JM
22100 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22101 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22102 -DIS_IN_build.
22103
35d76d59
JM
22104 * timezone/README: Update upstream location and email address for
22105 tzcode and tzdata.
22106 * timezone/zdump.c: Update from tzcode 2012b.
22107 * timezone/zic.c: Likewise.
22108
a3cc4f48
JM
22109 * configure.in (libc_cv_as_needed): Remove test.
22110 * configure: Regenerated.
22111 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22112 conditional definition.
22113 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22114 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22115 * config.make.in (have-as-needed): Remove variable.
22116
ceab42c3
SP
221172012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22118 Paul Pluzhnikov <ppluzhnikov@google.com>
22119
22120 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22121 strings correctly.
22122
3ce2865f
CLT
221232012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22124
22125 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22126 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22127 * sysdeps/sh/strlen.S: Likewise.
22128
f37e0d68
JM
221292012-04-24 Joseph Myers <joseph@codesourcery.com>
22130
ae186e9a
JM
22131 * sysdeps/unix/fork.S: Remove file.
22132 * sysdeps/unix/i386/fork.S: Likewise.
22133 * sysdeps/unix/sparc/fork.S: Likewise.
22134
b96914af
JM
22135 * sysdeps/unix/system.c: Remove file.
22136 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22137
f37e0d68
JM
22138 * sysdeps/unix/getegid.S: Remove file.
22139 * sysdeps/unix/geteuid.S: Likewise.
22140
87ef29ca
RM
221412012-04-24 Roland McGrath <roland@hack.frob.com>
22142
83bcd236
RM
22143 * scripts/check-localplt.awk: New file.
22144 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22145 of diff.
22146 * scripts/data/localplt-generic.data: Add a comment.
22147
87ef29ca
RM
22148 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22149 NODE when __dir_mkfile failed.
22150 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22151 Reported by Ludovic Courtès <ludo@gnu.org>.
22152
e5a6e567
AJ
221532012-04-24 Andreas Jaeger <aj@suse.de>
22154
22155 * Makerules (common-clean): Also remove gen-as-const-headers
22156 files.
22157
c1820385
JM
221582012-04-24 Joseph Myers <joseph@codesourcery.com>
22159
22160 * Makerules (native-compile): Do not change working directory for
22161 build. Use $(OUTPUT_OPTION) in command.
22162 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22163
94e02fc4
AZ
221642012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22165
22166 [BZ #13886]
22167 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22168 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22169 * math/libm-test.inc (floor_test): Add more tests.
22170 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22171
3a533ca3
JM
221722012-04-24 Joseph Myers <joseph@codesourcery.com>
22173
940ab4b3
JM
22174 * sysdeps/unix/getdents.c: Remove file.
22175 * sysdeps/unix/sysv/getdents.c: Likewise.
22176 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22177
90e037bd
JM
22178 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22179 sysdeps/unix/mman/syscalls.list.
22180 (mmap): Likewise.
22181 (mprotect): Likewise.
22182 (msync): Likewise.
22183 (munmap): Likewise.
22184 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22185 * sysdeps/unix/mman/syscalls.list: Remove.
22186 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22187
3a533ca3
JM
22188 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22189 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22190 * configure: Regenerated.
22191 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22192 $(libgcc_s_suffix).
22193 * config.make.in (libgcc_s_suffix): Remove variable.
22194
1ad743de
JM
221952012-04-23 Joseph Myers <joseph@codesourcery.com>
22196
4ad451e2
JM
22197 * sysdeps/unix/sysv/gethostname.c: Move to ...
22198 * sysdeps/posix/gethostname.c: ... here.
22199
5e37ce39
JM
22200 * sysdeps/unix/execve.S: Remove file.
22201
1ad743de
JM
22202 * sysdeps/unix/_exit.S: Remove file.
22203
4e681b5b
AJ
222042012-04-23 Andreas Jaeger <aj@suse.de>
22205
22206 [BZ #13739]
22207 * manual/Makefile: Remove make dist support, there's no
22208 need for a stand-alone documentation tar ball.
22209 (TEXI2DVI): Define always, it's not in Makeconfig.
22210 (dist): Removed.
22211 (tar-it): Removed.
22212 (edition): Removed.
22213 (glibc-doc-$(edition).tar): Removed
22214 (%.Z): Removed.
22215 (%.gz): Removed.
22216 (%.uu): Removed.
22217 (ETAGS): Remove, it's in Makeconfig.
22218 (move-if-change): Remove, it's in Makeconfig.
22219
38686a03 222202012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
22221
22222 [BZ #13970]
22223 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22224 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22225 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22226 (strtod_l, strtof_l, strtold_l): Remove __wur.
22227 It is not necessarily an error to ignore strtol's return value.
22228 One can reliably look at the stored endptr to decide whether
22229 the number had valid syntax.
22230
7c0616fa
AJ
222312012-04-21 Andreas Jaeger <aj@suse.de>
22232
803cb6b7 22233 [BZ #13739]
7c0616fa
AJ
22234 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22235
b0fe253f
JM
222362012-04-21 Joseph Myers <joseph@codesourcery.com>
22237
22238 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22239 * sysdeps/unix/sysv/Versions: Remove file.
22240
8280f22d
MT
222412012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22242
22243 [BZ #13927]
22244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22245
75ce411f 222462012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
22247
22248 [BZ #7064]
22249 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22250 version from __vm86.
22251
097d59fa
JM
222522012-04-20 Joseph Myers <joseph@codesourcery.com>
22253
a90f3bcb
JM
22254 * sysdeps/unix/common/lxstat.c: Remove file.
22255 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22256
edc7ea78
JM
22257 * sysdeps/unix/sysv/Makefile: Remove file.
22258
cb78c221
JM
22259 * sysdeps/unix/sysv/direct.h: Remove file.
22260
efa6a45f
JM
22261 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22262 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22263 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22264 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22265 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22266 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22267 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22268
9c9f2d0c
JM
22269 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22270
4541c83b
JM
22271 * sysdeps/unix/xmknod.c: Remove file.
22272 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22273
f5d153a0
JM
22274 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22275
aa746595
JM
22276 * sysdeps/unix/sysv/i386/time.S: Remove file.
22277
cce5905e
JM
22278 * sysdeps/unix/fxstat.c: Remove file.
22279 * sysdeps/unix/xstat.c: Likewise.
22280 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22281
37fa3841
JM
22282 * sysdeps/unix/sysv/sigaction.c: Remove file.
22283
ff1962a3
JM
22284 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22285 (sysdep_headers): Remove variable.
22286 [termio.h not in sysdep_headers] (generated): Likewise.
22287 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22288 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22289 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22290 * sysdeps/unix/sysv/tcflow.c: Likewise.
22291 * sysdeps/unix/sysv/tcflush.c: Likewise.
22292 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22293 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22294 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22295 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22296 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22297
e7740d31
JM
22298 * sysdeps/unix/siglist.c: Remove file.
22299
ee06f18b
JM
22300 * sysdeps/unix/getppid.S: Remove file.
22301
097d59fa
JM
22302 * sysdeps/unix/mkdir.c: Remove file.
22303 * sysdeps/unix/rmdir.c: Likewise.
22304
ff3d51ec
AS
223052012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22306
22307 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22308 ERR_MAX value.
22309 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22310 errlist-compat value.
22311
50f81fd7
DM
223122012-04-18 David S. Miller <davem@davemloft.net>
22313
22314 * sysdeps/generic/memcopy.h (reg_char): Delete.
22315 * debug/strcat_chk.c: Use char, not reg_char.
22316 * debug/strcpy_chk.c: Likewise.
22317 * debug/strncat_chk.c: Likewise.
22318 * debug/strncpy_chk.c: Likewise.
22319 * string/memchr.c: Likewise.
22320 * string/memrchr.c: Likewise.
22321 * string/rawmemchr.c: Likewise.
22322 * string/strcat.c: Likewise.
22323 * string/strchr.c: Likewise.
22324 * string/strchrnul.c: Likewise.
22325 * string/strcmp.c: Likewise.
22326 * string/strcpy.c: Likewise.
22327 * string/strncat.c: Likewise.
22328 * string/strncmp.c: Likewise.
22329 * string/strncpy.c: Likewise.
22330
8ff41c46
WS
223312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22332
22333 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22334 __builtin_memcopy is called when src and dest ranges are known to not
22335 overlap.
22336
6b652f46
WS
223372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22338
22339 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22340 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22341 fwd_align_merge macro call.
22342 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22343 bwd_align_merge macro call.
22344 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22345
b282631e
WS
223462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22347
22348 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22349 bwd_align_merge macros.
22350 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22351 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22352 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22353
95aa737c
DM
223542012-04-18 David S. Miller <davem@davemloft.net>
22355
22356 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22357
7a99a614
AJ
223582012-04-18 Andreas Jaeger <aj@suse.de>
22359
22360 [BZ# 6794]
22361 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22362 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22363 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22364
22365 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22366 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22367 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22368
22369 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22370 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22371 Adjust for changed ldbl-128 files.
22372
22373 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22374 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22375 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22376
e5270c23
DM
223772012-04-17 David S. Miller <davem@davemloft.net>
22378
22379 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22380
fb5e92c9
AS
223812012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22382
22383 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22384 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22385 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22386 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22387 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22388 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22389
76da7265
AZ
223902012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22391
22392 [BZ #6794]
22393 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22394 * math/libm-test.inc: Add ilogb errno and exception tests.
22395 * math/w_ilogb.c: New file: ilogb wrapper.
22396 * math/w_ilogbf.c: New file: ilogbf wrapper.
22397 * math/w_ilogbl.c: New file: ilogbl wrapper.
22398 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22399 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22400 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22401 exception being thrown with 0.0 as argument.
22402 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22403 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22404 exception being thrown with 0.0 as argument.
22405 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22406 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22407 exception being thrown with 0.0 as argument.
22408 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22409 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22410 exception being thrown with 0.0 as argument.
22411 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22412 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 22413 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
22414 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22415 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22416 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22417 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22418 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22419 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22420
0396e69d
PB
224212012-04-17 Petr Baudis <pasky@ucw.cz>
22422
22423 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22424 with altivec.
22425
750b5926
MP
224262012-04-16 Marek Polacek <polacek@redhat.com>
22427
22428 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22429
751728a1
MP
224302012-04-16 Marek Polacek <polacek@redhat.com>
22431
22432 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22433 operands of fdivp instruction.
22434
34a27407
L
224352012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22436
22437 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22438 * elf/tst-auditmod3b.c: Likewise.
22439 * elf/tst-auditmod4b.c: Likewise.
22440 * elf/tst-auditmod5b.c: Likewise.
22441 * elf/tst-auditmod6b.c: Likewise.
22442 * elf/tst-auditmod6c.c: Likewise.
22443 * elf/tst-auditmod7b.c: Likewise.
22444 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22445 * sysdeps/x86_64/preconfigure.in: Likewise.
22446 * sysdeps/x86_64/preconfigure: Regenerated.
22447
7e73e17d
L
224482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22449
22450 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22451 __ILP32__.
22452
c7a6ab72
AB
224532012-04-13 Antoine Balestrat <merkil33@gmail.com>
22454
22455 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22456 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22457
a9e8e0e0
CL
224582012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22459
22460 [BZ #13973]
22461 * locale/iso-639.def: Fix gl language name. Spotted by
22462 Yaron Shahrabani.
22463
ec98af7d
RM
224642012-04-12 Roland McGrath <roland@hack.frob.com>
22465
22466 [BZ #2074]
22467 * libio/libio.h (__io_write_fn): Update comment.
22468
247c3ede
PB
224692012-04-12 Petr Baudis <pasky@ucw.cz>
22470
22471 [BZ #2074]
22472 * stdio.texi (Hook Functions): The user provided writer function
22473 is not allowed to return -1.
22474
55939d6d
DM
224752012-04-11 David S. Miller <davem@davemloft.net>
22476
22477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22478
90020f5a
MF
224792012-04-11 Mike Frysinger <vapier@gentoo.org>
22480
22481 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22482 Add a leading slash to rtkaio.
22483
288f9098
JM
224842012-04-11 Jim Meyering <meyering@redhat.com>
22485
90020f5a
MF
22486 [BZ #11959]
22487 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22488 It is not necessarily an error to ignore fwrite's return
22489 value. One can reliably use ferror to test for errors after
22490 the fact.
288f9098 22491
4be2b570
L
224922012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22493
22494 * bits/types.h (__snseconds_t): New type.
22495 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22496
22497 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22498 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22499 (__SNSECONDS_T_TYPE): Likewise.
22500 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22501 (__SNSECONDS_T_TYPE): Likewise.
22502 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22503 (__SNSECONDS_T_TYPE): Likewise.
22504
288f9098 225052012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22506
22507 [BZ #2636]
22508 * manual/time.texi (Processor Time): Return type of times is
22509 elapsed real time since an arbitrary point in the past.
22510 (CPU Time): Move CLK_TCK from here...
22511 (Processor Time): ...to here. Correct description.
22512 * manual/conf.texi (Constants for Sysconf): Correct description of
22513 _SC_CLK_TCK.
22514
d7dd4413
DM
225152012-04-10 David S. Miller <davem@davemloft.net>
22516
22517 [BZ #13967]
22518 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22519 where the is a gap between DT_REL(A) and DT_JMPREL.
22520
b46068fc
L
225212012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22522
22523 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22524 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22525 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22526
73d65cc3
SP
225272012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22528
22529 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22530 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22531 (dl_main): Handle --inhibit-cache.
22532 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22533 _dl_inhibit_cache.
22534 * elf/dl-load.c (_dl_map_object): Use it.
22535 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22536
bcc8d661
JM
225372012-04-09 Joseph Myers <joseph@codesourcery.com>
22538
8f9a2fae
JM
22539 [BZ #13872]
22540 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22541 (__ieee754_powl): Saturate large exponents rather than testing for
22542 overflow of y*log2(x).
22543 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22544 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22545 exceptions.
22546
bcc8d661
JM
22547 [BZ #11521]
22548 * math/s_ctan.c: Include <float.h>.
22549 (__ctan): Avoid internal overflow or cancellation in calculating
22550 denominator.
22551 * math/s_ctanf.c: Likewise.
22552 * math/s_ctanl.c: Likewise.
22553 * math/s_ctanh.c: Likewise.
22554 * math/s_ctanhf.c: Likewise.
22555 * math/s_ctanhl.c: Likewise.
22556 * math/libm-test.inc (ctan_test): Add more tests.
22557 (ctanh_test): Likewise.
22558 * sysdeps/i386/fpu/libm-test-ulps: Update.
22559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22560
823fbbb4
AJ
225612012-04-09 Andreas Jaeger <aj@suse.de>
22562
03879793
AJ
22563 [BZ #6894]
22564 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22565 is an optional BSD extension.
22566
823fbbb4
AJ
22567 [BZ #10254]
22568 * manual/stdio.texi (Opening Streams): Document additional fopen
22569 parameters.
22570
8de131cb
RM
225712012-04-09 Roland McGrath <roland@hack.frob.com>
22572
22573 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22574 %eax without telling the compiler.
22575
c0ed9d7d
CD
225762012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22577
22578 [BZ # 13963]
22579 * manual/install.texi: Use sourceware.org.
22580
c483f6b4
JM
225812012-04-09 Joseph Myers <joseph@codesourcery.com>
22582
d7dd9453
JM
22583 [BZ #13873]
22584 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22585 (__ieee754_pow): Generate overflow and underflow using huge*huge
22586 and tiny*tiny rather than just returning constant infinity or zero
22587 for large exponents.
22588 * math/libm-test.inc (pow_test): Require overflow exceptions for
22589 applicable cases of large exponents.
22590
c483f6b4
JM
22591 [BZ #706]
22592 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22593 (__ieee754_pow): Use iterative multiplication algorithm only for
22594 integer exponents with absolute value below 1024. Check for odd
22595 integer exponents when using algorithm for real exponents.
22596 * math/libm-test.inc (pow_test): Add more tests.
22597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22598
d2de7579
JM
225992012-04-08 Joseph Myers <joseph@codesourcery.com>
22600
22601 [BZ #13705]
22602 * math/libm-test.inc (exp_test): Do not allow overflow exception
22603 on underflow test.
22604
f77f1232
AJ
226052012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22606
22607 [BZ #13705]
22608 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22609 instead of __kernel_standard_f.
22610
3884932b
MF
226112012-04-08 Mike Frysinger <vapier@gentoo.org>
22612
22613 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22614 * sysdeps/x86_64/memset_chk.S: Likewise.
22615
54472e9c
AJ
226162012-04-08 Andreas Jaeger <aj@suse.de>
22617
6ab0fbfc
AJ
22618 [BZ #10153]
22619 * manual/startup.texi (Environment Access): Describe return value
22620 for putenv and setenv.
22621
61efba8c
AJ
22622 [BZ #6895]
22623 * manual/filesys.texi (Directory Entries): Add description for
22624 DT_LNK.
22625
95c3f29a
AJ
22626 [BZ #6890]
22627 * manual/filesys.texi (Directory Entries): Clarify that it's file
22628 system not operating system in the description of DT_UNKNOWN.
22629
54472e9c
AJ
22630 [BZ #6578]
22631 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22632
624254b1
SC
226332012-04-08 Stephen Compall <s11@member.fsf.org>
22634
22635 [BZ #6649]
22636 * manual/llio.texi (Opening and Closing Files): Add cross
22637 reference to explain mode argument.
22638
1e4920e0
MF
226392012-04-07 Mike Frysinger <vapier@gentoo.org>
22640
22641 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22642 * sysdeps/x86_64/memset_chk.S: Likewise.
22643
5ed848f3
DM
226442012-04-07 David S. Miller <davem@davemloft.net>
22645
22646 * elf/elf.h (R_SPARC_WDISP10): Define.
22647 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22648 R_SPARC_SIZE32.
22649 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22650 R_SPARC_SIZE64 and R_SPARC_H34.
22651
96154cd8
CD
226522012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22653
22654 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22655 conditions and remove no longer applicable assertion.
22656
9904dc47
L
226572012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22658
22659 * bits/byteswap.h: Include <features.h>.
22660 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22661 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22662
f8887d0a
L
226632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22664
22665 * bits/byteswap.h (__bswap_16): Removed.
22666 Include <bits/byteswap-16.h> to get __bswap_16.
22667 * sysdeps/i386/bits/byteswap.h: Likewise.
22668 * sysdeps/s390/bits/byteswap.h: Likewise.
22669 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22670 * bits/byteswap-16.h: New file.
22671 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22672 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22673 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22674 * string/Makefile (headers): Add bits/byteswap-16.h.
22675
62470f60
PP
226762012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22677
22678 [BZ #13895]
22679 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22680 extra indirection.
22681 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22682 * nss/tst-nss-static.c: New.
22683
4dad7bab
RM
226842012-04-06 Robert Millan <rmh@gnu.org>
22685
22686 [BZ #6486]
22687 * manual/llio.texi (File Position Primitive): lseek
22688 refers to WHENCE when it really means OFFSET.
22689
e9142a17
AJ
226902012-04-06 Andreas Jaeger <aj@suse.de>
22691
2c040eff
AJ
22692 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22693 strncmp declarations.
22694
e9142a17
AJ
22695 * abilist/libc.abilist: Add __poll and __ppoll.
22696
ff9f1c5f
DM
226972012-04-05 David S. Miller <davem@davemloft.net>
22698
dcd2ae90
DM
22699 * scripts/check-local-headers.sh: Accept a host triplet in the
22700 path matched by the exclude regexp.
22701
993eb054
DM
22702 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22703 definition.
22704 * sysdeps/powerpc/powerpc32/dl-machine.h
22705 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22706 * sysdeps/s390/s390-32/dl-machine.h
22707 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22708 * sysdeps/sparc/sparc32/dl-machine.h
22709 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22710 * sysdeps/sparc/sparc64/dl-machine.h
22711 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22712
ff9f1c5f
DM
22713 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22714 lazy binding.
48e2e132 22715 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22716 undefined symbol errors.
22717
48e2e132 22718 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22719 DT_NEEDED entries.
22720
e80d6f94
MM
227212012-04-05 Michael Matz <matz@suse.de>
22722
22723 [BZ #13592]
22724 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22725
349fa79f
AJ
227262012-04-05 Andreas Jaeger <aj@suse.de>
22727
22728 [BZ #13908]
22729 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22730 comment.
22731
f402708f
KK
227322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22733
22734 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22735 which ROUND is no valid rounding mode.
22736
2ecccfc9
KK
227372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22738
22739 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22740 read again.
22741 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22742
8a53f50f
KK
227432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22744
22745 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22746 an exception using FPU order intentionally.
22747
227482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22749
22750 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22751 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22752 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22753 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22754
d653abb7
SJ
227552012-04-05 Simon Josefsson <simon@josefsson.org>
22756
22757 [BZ #12340]
22758 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22759 EINVAL when BUFLEN is too smal.
22760
c3b1bf7d
TS
227612012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22762
22763 [BZ #13553]
22764 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22765 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22766
b1aa60f3
AJ
227672012-04-03 Andreas Jaeger <aj@suse.de>
22768
c3b1bf7d 22769 [BZ #13938]
67f60a26
AJ
22770 * manual/setjmp.texi (System V contexts): Fix sentence.
22771
b1aa60f3
AJ
22772 [BZ #13926]
22773 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22774 New macro for this case.
22775 [!__GNUC__] (__bswap_64): New inline function for this case.
22776 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22777 * bits/byteswap.h: Likewise.
22778 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22779 ull, guard with __GLIBC_HAVE_LONG_LONG.
22780
22781 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22782 __GLIBC_HAVE_LONG_LONG.
22783
22784 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22785 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22786
39c59c35
TMQMF
227872012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22788
22789 [BZ #13691]
22790 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22791 inptr and inend, rather than using last_ch.
22792
135ffda8
DM
227932012-04-02 David S. Miller <davem@davemloft.net>
22794
22795 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22796 * stdio-common/printf-parse.h (read_int): Change return type to
22797 'int', return -1 on INT_MAX overflow.
22798 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22799 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22800 overflows INT_MAX. Check for overflow of in-format-string precision
22801 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22802 SIZE_MAX not INT_MAX for integer overflow test.
22803 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22804 skip the construct in the format string but do not record anything.
22805 * stdio-common/bug22.c: Adjust to test both width/prevision
22806 INT_MAX overflow as well as total length INT_MAX overflow. Check
22807 explicitly for proper errno values.
22808
228c019e
TS
228092012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22810
302cadd3
TS
22811 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22812 CHAR_MAX.
22813 * string/test-strcmp.c [! WIDE]: Likewise.
22814 * time/tst-mktime2.c: Likewise for INT_MAX.
22815 * string/test-string.h: #include <sys/param.h> for MIN.
22816
228c019e
TS
22817 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22818 * sysdeps/i386/init-first.c (init): Likewise.
22819 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22820 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22821 * sysdeps/sh/init-first.c (init): Likewise.
22822
cfa633f5
UD
228232012-04-01 Ulrich Drepper <drepper@gmail.com>
22824
22825 * po/ru.po: Update from translation team.
d1635ef8 22826 * po/vi.po: Likewise.
cfa633f5 22827
6cd0a5ea
SP
228282012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22829
22830 * resolv/nss_dns/dns-host.c: Merge copyright years.
22831
4b43400f
LD
228322012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22833
22834 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22835 Optimize memcpy with prefetch if
22836 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22837 src, dst pointers have unequal 16 byte alignments.
22838
48c41d04
SP
228392012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22840
22841 [BZ #13928]
22842 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22843 from a CNAME entry and return the minimum ttl for the query.
22844 (gaih_getanswer_slice): Likewise.
22845
b8dc394d
JL
228462012-03-30 Jeff Law <law@redhat.com>
22847
22848 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22849 due to long keys.
22850 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22851 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22852
2f5a5ed0
JL
22853 * resolv/nss_dns/dns-host.c: Update copyright year.
22854
1d39e359
UD
228552012-03-30 Ulrich Drepper <drepper@gmail.com>
22856
c030f70c 22857 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22858 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22859
1d39e359
UD
22860 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22861 comments for sendmmsg.
22862
228632012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22864
22865 [BZ #13691]
22866 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22867 with only 1 character between 0x0041 and 0x01b0.
22868 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22869 * wcsmbs/tst-mbsnrtowcs.c: New file.
22870
20fde227
DM
228712012-03-29 David S. Miller <davem@davemloft.net>
22872
22873 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22874 small copies by hand.
22875
984a4237
JL
228762012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22877
22878 [BZ #13761]
22879 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22880 _nss_compat_initgroups_dyn): Fall back to malloc/free
22881 for large group memberships.
22882
18c9d62b
DM
228832012-03-28 David S. Miller <davem@davemloft.net>
22884
88d85d4f
DM
22885 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22886 that branches into memcpy.
22887 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22888 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22889 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22890 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22891 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22892 bits.
22893 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22894 implementation too.
22895 * sysdeps/sparc/mempcpy.S: New file.
22896
e5aa83e1
DM
22897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22898 the IFUNC routine in the libc case.
22899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22900
88570753
DM
22901 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22902 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22903 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22904 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22905 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22906 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22907 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22908 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22909
249d7567
DM
22910 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22911 loop to 256 bytes instead of 64 bytes and fix test signedness.
22912
18c9d62b
DM
22913 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22914 * sysdeps/sparc/sparc32/Makefile: rather than here...
22915 * sysdeps/sparc/sparc64/Makefile: and here.
22916
05f3d1f6
UD
229172012-03-28 Ulrich Drepper <drepper@gmail.com>
22918
22919 * malloc/mallocbug.c: Avoid warnings about unused variables.
22920
86ae07a8
JL
229212012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22922
22923 [BZ #13760]
22924 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22925 in the right place. Discard and retry query if response is
22926 larger than input buffer size.
22927
41bf21a1
JM
229282012-03-28 Joseph Myers <joseph@codesourcery.com>
22929
d6270972
JM
22930 [BZ #369]
22931 [BZ #2678]
22932 [BZ #3866]
22933 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22934 x for large integer exponent.
22935 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22936 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22937 sign of result as needed afterwards.
22938 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22939 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22940 result for underflowing pow the same as for overflow.
22941 (__kernel_standard_l): Handle powl overflow and underflow here
22942 rather than calling __kernel_standard.
22943 * math/libm-test.inc (pow_test): Add more tests.
22944
414fca03 22945 [BZ #3868]
41bf21a1
JM
22946 [BZ #13879]
22947 [BZ #13910]
22948 [BZ #13911]
22949 [BZ #13912]
22950 [BZ #13913]
22951 [BZ #13915]
22952 [BZ #13916]
22953 [BZ #13917]
22954 [BZ #13918]
22955 [BZ #13919]
22956 [BZ #13920]
22957 [BZ #13921]
22958 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22959 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22960 (__kernel_standard_l): New function.
22961 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22962 __kernel_standard.
22963 * math/w_acosl.c (__acosl): Likewise.
22964 * math/w_asinl.c (__asinl): Likewise.
22965 * math/w_atan2l.c (__atan2l): Likewise.
22966 * math/w_atanhl.c (__atanhl): Likewise.
22967 * math/w_coshl.c (__coshl): Likewise.
22968 * math/w_exp10l.c (__exp10l): Likewise.
22969 * math/w_exp2l.c (__exp2l): Likewise.
22970 * math/w_fmodl.c (__fmodl): Likewise.
22971 * math/w_hypotl.c (__hypotl): Likewise.
22972 * math/w_j0l.c (__j0l, __y0l): Likewise.
22973 * math/w_j1l.c (__j1l, __y1l): Likewise.
22974 * math/w_jnl.c (__jnl, __ynl): Likewise.
22975 * math/w_lgammal.c (__lgammal): Likewise.
22976 * math/w_log10l.c (__log10l): Likewise.
22977 * math/w_log2l.c (__log2l): Likewise.
22978 * math/w_logl.c (__logl): Likewise.
22979 * math/w_powl.c (__powl): Likewise.
22980 * math/w_remainderl.c (__remainderl): Likewise.
22981 * math/w_scalbl.c (sysv_scalbl): Likewise.
22982 * math/w_sinhl.c (__sinhl): Likewise.
22983 * math/w_sqrtl.c (__sqrtl): Likewise.
22984 * math/w_tgammal.c (__tgammal): Likewise.
22985 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22986 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22987 * math/libm-test.inc (acos_test): Add more tests.
22988 (acosh_test): Likewise.
22989 (asin_test): Likewise.
22990 (atanh_test): Likewise.
22991 (exp_test): Likewise.
22992 (exp10_test): Likewise.
22993 (exp2_test): Likewise.
22994 (expm1_test): Likewise.
22995 (lgamma_test): Likewise.
22996 (log_test): Likewise.
22997 (log10_test): Likewise.
22998 (log1p_test): Likewise.
22999 (log2_test): Likewise.
23000 (pow_test): Do not allow some spurious overflow exceptions.
23001 (sqrt_test): Add more tests.
23002 (tgamma_test): Likewise.
23003 (y0_test): Likewise.
23004 (y1_test): Likewise.
23005 (yn_test): Likewise.
23006
dd62fda6
AB
230072012-03-27 Anton Blanchard <anton@samba.org>
23008
23009 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23010 MAP_HUGETLB.
23011 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23012 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23013 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23014
1e3cdfda
AJ
230152012-03-27 David S. Miller <davem@davemloft.net>
23016
b855ab85
DM
23017 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23018
1e3cdfda
AJ
23019 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23020 have-as-vis3 check.
23021
230222012-03-27 Andreas Jaeger <aj@suse.de>
23023
23024 * sysdeps/x86_64/elf/configure.in: Moved to ...
23025 * sysdeps/x86_64/configure.in: ... here.
23026 * sysdeps/x86_64/elf/start.S: Moved to ...
23027 * sysdeps/x86_64/start.S: ... here.
23028 * sysdeps/x86_64/elf/configure: Delete.
23029
23030 * sysdeps/x86_64/configure.in: Merge contents from
23031 sysdeps/i386/configure.in (without i686 check).
23032
23033 * sysdeps/i386/elf/Versions: Merge into ...
23034 * sysdeps/i386/Versions: ... this.
23035 * sysdeps/i386/elf/Versions: Delete file.
23036 * sysdeps/i386/elf/start.S: Moved to ...
23037 * sysdeps/i386/start.S: ...here.
23038 * sysdeps/i386/elf/configure.in: Merge into...
23039 * sysdeps/i386/configure.in: ...here.
23040 * sysdeps/i386/elf/configure.in: Delete file.
23041 * sysdeps/i386/elf/configure: Delete file.
23042
23043 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23044 * debug/backtracesyms.c: ... here.
23045 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23046 * debug/backtracesymsfd.c: ... here.
23047 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23048 * sysdeps/generic/ifunc-sel.h: ... here.
23049
23050 * sysdeps/unix/i386/start.c: Delete file.
23051 * sysdeps/unix/sparc/start.c: Delete file.
23052 * sysdeps/unix/start.c: Delete file.
23053
23054 * sysdeps/sh/elf/configure.in: Moved to ...
23055 * sysdeps/sh/configure.in: ... here.
23056 * sysdeps/sh/elf/start.S: Moved to ...
23057 * sysdeps/sh/start.S: ... here.
23058 * sysdeps/sh/elf/configure: Delete file.
23059
23060 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23061 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23062 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23063 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23064 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23065 * sysdeps/powerpc/powerpc64/start.S: here.
23066 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23067 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23068 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23069 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23070 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23071
23072 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23073 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23074 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23075 * sysdeps/powerpc/powerpc32/start.S: ... here.
23076 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23077 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23078 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23079
23080 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23081 * sysdeps/powerpc/ifunc-sel.h: ... here.
23082 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23083 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23084
23085 * sysdeps/sparc/elf/configure.in: Moved to ...
23086 * sysdeps/sparc/configure.in: ... here.
23087 * sysdeps/sparc/elf/configure: Delete file.
23088 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23089 * sysdeps/sparc/sparc32/start.S: ... here.
23090 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23091 * sysdeps/sparc/sparc64/start.S: ... here.
23092 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23093 * sysdeps/sparc/sparc32/Makefile: ... this.
23094 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23095 * sysdeps/sparc/sparc64/Makefile: ... this.
23096
23097 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23098 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23099 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23100 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23101 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23102 * sysdeps/s390/s390-32/setjmp.S: ... here.
23103 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23104 * sysdeps/s390/s390-32/configure.in: ... here.
23105 * sysdeps/s390/s390-32/elf/configure: Delete file.
23106 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23107 * sysdeps/s390/s390-32/start.S: ... here.
23108
23109 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23110 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23111 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23112 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23113 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23114 * sysdeps/s390/s390-64/setjmp.S: ... here.
23115 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23116 * sysdeps/s390/s390-64/configure.in: ... here
23117 * sysdeps/s390/s390-64/elf/configure: Delete file.
23118 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23119 * sysdeps/s390/s390-64/start.S: ... here.
23120 * sysdeps/s390/s390-64/elf/configure: Delete.
23121
23122 * configure.in: Remove support for elf directories in sysdeps.
23123
23124 * configure: Regenerated.
23125 * sysdeps/i386/configure: Regenerated.
23126 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23127 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23128 * sysdeps/s390/s390-32/configure: Regenerated.
23129 * sysdeps/s390/s390-64/configure: Regenerated.
23130 * sysdeps/sh/configure: Regenerated.
23131 * sysdeps/sparc/configure: Regenerated.
23132 * sysdeps/x86_64/configure: Regenerated.
23133
a3f61311
AS
231342012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23135
c876e002
AS
23136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23137
a3f61311
AS
23138 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23139 denormal result into account.
23140
ac4c54f0
RM
231412012-03-25 Roland McGrath <roland@hack.frob.com>
23142
23143 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23144 Reported by Allan McRae <allan@archlinux.org>.
23145
6a9b9c02
JL
231462012-03-23 Jeff Law <law@redhat.com>
23147
23148 * nss/getnssent.c (__nss_getent): Fix typo.
23149
4c42a0c1
DM
231502012-03-23 David S. Miller <davem@davemloft.net>
23151
23152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23153
1532c7ac
L
231542012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23155
23156 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23157 to pad to uint64_t for each field.
23158 (dl_tls_index): Replace unsigned long with uint64_t.
23159
3ff42526
PP
231602012-03-23 Daniel Jacobowitz <dmj@google.com>
23161 Paul Pluzhnikov <ppluzhnikov@google.com>
23162
23163 [BZ #6528]
23164 * grp/Makefile (otherlibs): Don't set it.
23165 * inet/Makefile (otherlibs): Likewise.
23166 * login/Makefile (otherlibs): Likewise.
23167 * nscd/Makefile (otherlibs): Likewise.
23168 * posix/Makefile (otherlibs): Likewise.
23169 * pwd/Makefile (otherlibs): Likewise.
23170 * rt/Makefile (otherlibs): Likewise.
23171 * sunrpc/Makefile (otherlibs): Likewise.
23172 * nss/Makefile (otherlibs): Likewise.
23173 Add libnss_files to routines and static-only-routines.
23174 ($(objpfx)getent): Remove rule.
23175 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23176 static-only-routines.
23177
7c69cd14
JM
231782012-03-22 Joseph Myers <joseph@codesourcery.com>
23179
23180 [BZ #13892]
23181 * math/s_cexp.c: Include <float.h>.
23182 (__cexp): Handle exp result overflowing not necessarily
23183 overflowing both real and imaginary parts of result.
23184 * math/s_cexpf.c: Likewise.
23185 * math/s_cexpl.c: Likewise.
23186 * math/libm-test.inc (cexp_test): Add more tests.
23187 * sysdeps/i386/fpu/libm-test-ulps: Update.
23188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23189
81b035fe
L
231902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23191
23192 * include/link.h (ELFW): New macro.
23193 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23194 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23195
1da7940c
L
231962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23197
23198 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23199 with uint64_t.
23200
b749dbb9
L
232012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23202
23203 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23204 declaration.
23205 (struct La_x32_retval): Likewise.
23206
2ff87f3f
L
232072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23208
23209 * sysdeps/x86_64/preconfigure.in: New file.
23210 * sysdeps/x86_64/preconfigure: New generated file.
23211
c0df8e69
JM
232122012-03-22 Joseph Myers <joseph@codesourcery.com>
23213
48e44791
JM
23214 [BZ #13824]
23215 * math/e_exp2l.c: Include <float.h>.
23216 (__ieee754_exp2l): Handle overflow and underflow cases
23217 separately. Only pass fractional part of argument to
23218 __ieee754_expl.
23219 * math/libm-test.inc (exp2_test): Add more tests.
23220
c0df8e69
JM
23221 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23222 negating x to take absolute value.
23223 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23224 Likewise.
23225 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23226 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23227 Likewise.
23228 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23229 computing low part if x was negated.
23230 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23231
c8e43ba7
L
232322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23233
23234 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23235 la_x32_gnu_pltexit.
23236 (pltexit): Cast int_retval to ptrdiff_t.
23237 * elf/tst-auditmod3b.c: Likewise.
23238 * elf/tst-auditmod4b.c: Likewise.
23239 * elf/tst-auditmod5b.c: Likewise.
23240 * elf/tst-auditmod6b.c: Likewise.
23241 * elf/tst-auditmod6c.c: Likewise.
23242 * elf/tst-auditmod7b.c: Likewise.
23243
23244 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23245 and x32_gnu_pltexit.
23246
23247 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23248 __ELF_NATIVE_CLASS.
23249 (La_x32_regs): New macro.
23250 (La_x32_retval): Likewise.
23251 (la_x32_gnu_pltenter): New function prototype.
23252 (la_x32_gnu_pltexit): Likewise.
23253
7998fa78
AS
232542012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23255
dcb33988
AS
23256 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23257 exponent.
23258
233fc563
AS
23259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23260
7998fa78
AS
23261 * configure.in (libc_cv_cc_nofma): Check for option to disable
23262 generation of FMA instructions.
23263 * configure: Regenerate.
23264 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23265 * sysdeps/ieee754/dbl-64/Makefile: New file.
23266 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23267 Remove brandred-fma4.
23268 (CFLAGS-brandred-fma4.c): Remove.
23269 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23270 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23271 define.
23272 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23273 define.
23274
8e95c99a
L
232752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23276
23277 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23278 LLONG_MAX != LONG_MAX.
23279 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23280 (_fitoa_word): Likewise.
23281 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23282 LLONG_MAX != LONG_MAX.
23283 * stdio-common/_itowa.h: Include <_itoa.h>.
23284 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23285 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23286 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23287 only if not defined.
23288 (_ITOA_WORD_TYPE): Likewise.
23289 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23290 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23291
6f4db457
DM
232922012-03-21 David S. Miller <davem@davemloft.net>
23293
23294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23295
7785fe5a
L
232962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23297
23298 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23299 of x86_64 when setting libc_cv_slibdir, libdir and
23300 libc_cv_localedir.
23301 * sysdeps/unix/sysv/linux/configure: Regenerated.
23302
4535cd55
JM
233032012-03-21 Joseph Myers <joseph@codesourcery.com>
23304
23305 * manual/lang.texi (Old Varargs): Remove section.
23306 (How Variadic): Update menu.
23307 (va_start): Do not mention varargs.h.
23308
17228132
TS
233092012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23310 Joseph Myers <joseph@codesourcery.com>
23311
23312 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23313 link test.
23314 * configure: Regenerated.
23315
8149f976
TS
233162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23317
05f3d1f6
UD
23318 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23319 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23320 conformtest.pl
8149f976 23321
1a4ac776
JM
233222012-03-21 Joseph Myers <joseph@codesourcery.com>
23323
be22ce65
JM
23324 * NOTES: Remove.
23325 * Makefile (files-for-dist): Remove NOTES.
23326 (NOTES): Remove rule.
23327 * README: Don't refer to NOTES.
23328 * manual/creature.texi: Don't include macros.texi.
23329 * manual/intro.texi (creature.texi): Remove comment referring to
23330 NOTES.
23331
40b601fb
JM
23332 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23333 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23334 * configure: Regenerated.
23335 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23336 LIBC_TRY_CC_OPTION.
23337 (libc_cv_as_i686): Likewise.
23338 (libc_cv_cc_avx): Likewise.
23339 (libc_cv_cc_sse2avx): Likewise.
23340 (libc_cv_cc_fma4): Likewise.
23341 (libc_cv_cc_novzeroupper): Likewise.
23342 * sysdeps/i386/configure: Regenerated.
23343
1a4ac776
JM
23344 [BZ #13883]
23345 * sysdeps/i386/fpu/s_cexp.S: Remove.
23346 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23347 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23348 * math/libm-test.inc (cexp_test): Add more tests.
23349 * sysdeps/i386/fpu/libm-test-ulps: Update.
23350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23351
a458e7fe
AM
233522012-03-21 Allan McRae <allan@archlinux.org>
23353
23354 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23355
0cb7efc5
JM
233562012-03-21 Joseph Myers <joseph@codesourcery.com>
23357
23358 [BZ #13871]
23359 * math/w_exp2.c: Do not include <float.h>.
23360 (o_threshold, u_threshold): Remove.
23361 (__exp2): Calculate result before checking finiteness and calling
23362 __kernel_standard.
23363 * math/w_exp2f.c: Likewise.
23364 * math/w_exp2l.c: Likewise.
23365 * math/libm-test.inc (exp2_test): Require overflow exception for
23366 1e6 input.
2460d3aa
JM
23367
23368 [BZ #3866]
23369 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23370 range of signed 64-bit integers before using fistpll. Remove
23371 checks for whether integers fit in mantissa bits.
23372 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23373 the range of signed 32-bit integers before using fistpl. Remove
23374 checks for whether integers fit in mantissa bits.
23375 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23376 (__ieee754_powl): Test for y outside the range of signed 64-bit
23377 integers before using fistpll. Reduce 64-bit values to 63-bit
23378 ones as needed.
23379 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23380 divide-by-zero is raised for zero to large negative powers.
23381 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23382 (__ieee754_powl): Test for y outside the range of signed 64-bit
23383 integers before using fistpll. Reduce 64-bit values to 63-bit
23384 ones as needed.
23385 * math/libm-test.inc (pow_test): Add more tests.
23386
eb96ffb0
L
233872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23388
23389 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23390 <stdio-common/_itoa.h>.
23391 * debug/segfault.c: Likewise.
23392 * elf/dl-cache.c: Likewise.
23393 * elf/dl-minimal.c: Likewise.
23394 * elf/dl-misc.c: Likewise.
23395 * elf/dl-sysdep.c: Likewise.
23396 * elf/dl-version.c: Likewise.
23397 * elf/rtld.c: Likewise.
23398 * hurd/hurdsock.c: Likewise.
23399 * hurd/lookup-retry.c: Likewise.
23400 * malloc/malloc.c: Likewise.
23401 * malloc/mtrace.c: Likewise.
23402 * nscd/nscd_getgr_r.c: Likewise.
23403 * nscd/nscd_getpw_r.c: Likewise.
23404 * nscd/nscd_getserv_r.c: Likewise.
23405 * posix/getopt_init.c: Likewise.
23406 * posix/wordexp.c: Likewise.
23407 * stdio-common/_itoa.c: Likewise.
23408 * stdio-common/printf_fphex.c: Likewise.
23409 * stdio-common/vfprintf.c: Likewise.
23410 * string/_strerror.c: Likewise.
23411 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23412 * sysdeps/i386/i686/hp-timing.h: Likewise.
23413 * sysdeps/mach/_strerror.c: Likewise.
23414 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23415 * sysdeps/mach/hurd/sethostid.c: Likewise.
23416 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23417 * sysdeps/mach/xpg-strerror.c: Likewise.
23418 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23419 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23420 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23421 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23422 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23423 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23424 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23425 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23426 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23427 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23428 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23429 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23430 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23431 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23432 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23433 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23434 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23435 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23436 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23437 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23438 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23439
23440 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23441
23442 * stdio-common/_itoa.h: Moved to ...
23443 * sysdeps/generic/_itoa.h: Here.
23444
23445 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23446
23447 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23448 instead of "_itoa.h" and "_itowa.h".
23449 * stdio-common/vfprintf.: Likewise.
23450
d1af992d
L
234512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23452
23453 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23454 <bits/wordsize.h>.
23455 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23456 (__signbit): Likwise.
23457 (llrintf): Likwise.
23458 (llrint): Likwise.
23459
114883e0
L
234602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23461
23462 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23463 __WORDSIZE != 64.
23464
c135cc1b
JM
234652012-03-20 Joseph Myers <joseph@codesourcery.com>
23466
23467 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23468 OVERFLOW_EXCEPTION_OK.
23469 * math/libm-test.inc ("Philosophy"): Update comment about
23470 exception testing.
23471 (OVERFLOW_EXCEPTION): Define.
23472 (OVERFLOW_EXCEPTION_OK): Likewise.
23473 (INVALID_EXCEPTION_OK): Renumber.
23474 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23475 (IGNORE_ZERO_INF_SIGN): Likewise.
23476 (test_exceptions): Handle FE_OVERFLOW.
23477 (exp10_test): Expect overflow exceptions.
23478 (exp2_test): Likewise.
23479 (expm1_test): Likewise.
23480 (nextafter_test): Likewise.
23481 (pow_test): Likewise.
23482 (scalbn_test): Likewise.
23483 (scalbln_test): Likewise.
23484
95443d88
L
234852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23486
23487 * sysdeps/x86_64/bits/atomic.h
23488 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23489 64bit integer.
23490 (atomic_exchange_acq): Likewise.
23491 (__arch_exchange_and_add_body): Likewise.
23492 (__arch_add_body): Likewise.
23493 (atomic_add_negative): Likewise.
23494 (atomic_add_zero): Likewise.
23495
490df6c4
L
234962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23497
c2722551 23498 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
23499 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23500
5e52b189
L
235012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23502
23503 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23504 Check __x86_64__ instead of __WORDSIZE.
23505
a9879d4c
L
235062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23507
23508 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23509
5df98260
DM
235102012-03-19 David S. Miller <davem@davemloft.net>
23511
e1497744
DM
23512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23513
5df98260
DM
23514 * sysdeps/sparc/fpu/fenv_private.h: New file.
23515 * sysdeps/sparc/fpu/math_private.h: Use it.
23516 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23517 Remove.
23518 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23519 (libc_feholdexcept_setroundl): Remove.
23520 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23521 Remove.
23522 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23523 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23524
b4c35121
L
235252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23526
23527 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23528 int64_t instead of long int.
23529 (INSERT_WORDS64): Likwise.
23530
56965fd7
L
235312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23532
23533 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23534 _Unwind_GetCFA return to _Unwind_Ptr first.
23535
83d1aec8
JM
235362012-03-19 Joseph Myers <joseph@codesourcery.com>
23537
1897ad44
JM
23538 [BZ #13629]
23539 * math/s_clog.c: Include <float.h>.
23540 (__clog): Scale large or subnormal inputs.
23541 * math/s_clogf.c: Likewise.
23542 * math/s_clogl.c: Likewise.
23543 * math/s_clog10.c: Include <float.h>.
23544 (M_LOG10_2): Define.
23545 (__clog10): Scale large or subnormal inputs.
23546 * math/s_clog10f.c: Likewise.
23547 * math/s_clog10l.c: Likewise.
23548 * math/libm-test.inc (clog_test): Add more tests.
23549 (clog10_test): Likewise.
23550 * sysdeps/i386/fpu/libm-test-ulps: Update.
23551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23552
7726d6a9
JM
23553 [BZ #11451]
23554 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23555 x and y.
23556 * math/libm-test.inc (atan2_test): Add another test.
23557
83d1aec8
JM
23558 * Makerules (common-objdir-compile): Remove.
23559 * sysdeps/unix/Makefile (config-generated): Do not add
23560 $(unix-generated) to variable.
23561 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23562 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23563 Remove rule.
23564 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23565 Likewise.
23566 [generic bits/local_lim.h] (before-compile): Do not append to
23567 variable.
23568 [generic bits/local_lim.h] (common-generated): Likewise.
23569 [generic sys/param.h] (before-compile): Do not append to variable.
23570 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23571 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23572 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23573 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23574 include.
23575 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23576 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23577 [generic sys/param.h] ($(addprefix
23578 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23579 [generic sys/param.h] (common-generated): Do not append to
23580 variable.
23581 [generic sys/param.h] (sysdep_headers): Likewise.
23582 [generic bits/errno.h] (before-compile): Do not append to
23583 variable.
23584 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23585 rule.
23586 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23587 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23588 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23589 [generic bits/errno.h] (common-generated): Do not append to
23590 variable.
23591 [generic bits/ioctls.h] (before-compile): Do not append to
23592 variable.
23593 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23594 rule.
23595 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23596 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23597 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23598 rule.
23599 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23600 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23601 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23602 [generic bits/ioctls.h] (common-generated): Do not append to
23603 variable.
23604 [generic sys/syscall.h] (syscall.h): Remove variable.
23605 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23606 rule.
23607 [generic sys/syscall.h] (before-compile): Do not append to
23608 variable.
23609 [generic sys/syscall.h] (common-generated): Likewise.
23610 * sysdeps/unix/errnos-tmpl.c: Remove file.
23611 * sysdeps/unix/errnos.awk: Likewise.
23612 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23613 * sysdeps/unix/ioctls.awk: Likewise.
23614 * sysdeps/unix/mk-local_lim.c: Likewise.
23615 * sysdeps/unix/snarf-ioctls: Likewise.
23616
4851a949
RH
236172012-03-19 Richard Henderson <rth@twiddle.net>
23618
bd37f2ee
RH
23619 * sysdeps/i386/fpu/fenv_private.h: New file.
23620 * sysdeps/i386/fpu/math_private.h: Use it.
23621 (math_opt_barrier, math_force_eval): Remove.
23622 (libc_feholdexcept_setround_53bit): Remove.
23623 (libc_feupdateenv_53bit): Remove.
23624 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23625 (math_opt_barrier, math_force_eval): Remove.
23626 (libc_feholdexcept): Remove.
23627 (libc_feholdexcept_setround): Remove.
23628 (libc_fetestexcept, libc_fesetenv): Remove.
23629 (libc_feupdateenv_test): Remove.
23630 (libc_feupdateenv, libc_feholdsetround): Remove.
23631 (libc_feresetround): Remove.
23632
d0adc922
RH
23633 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23634 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23635
0fe0f1f8
RH
23636 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23637 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23638 (libc_feupdateenv_testl): New.
23639 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23640 (libc_feupdateenv_testf): New.
23641 (libc_feupdateenv): Use libc_feupdateenv_test.
23642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23643 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23644
eb92c487
RH
23645 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23646 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23647 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23648 (libc_feresetround_noex): New.
23649 (libc_feresetround_noexf): New.
23650 (libc_feresetround_noexl): New.
23651 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23652 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23653 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23654 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23655 SET_RESTORE_ROUND.
23656 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23657 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23658 (__cos): Likewise.
23659 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23660 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23661 SET_RESTORE_ROUND_NOEX.
23662 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23663 SET_RESTORE_ROUND_NOEXF.
23664 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23665 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23666 (libc_feholdsetroundf): New.
23667 (libc_feresetround, libc_feresetroundf): New.
23668
7d2e8012
RH
23669 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23670 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23671 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23672
b4dabbb4
RH
23673 * sysdeps/generic/math_private.h: Include <fenv.h>.
23674 (default_libc_feholdexcept): New.
23675 (default_libc_feholdexcept_setround): New.
23676 (default_libc_fesetenv, default_libc_feupdateenv): New.
23677 (libc_feholdexcept): Only define if undefined.
23678 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23679 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23680 (libc_feholdexcept_setroundl): Likewise.
23681 (libc_feholdexcept_setround_53bit): Likewise.
23682 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23683 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23684 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23685 (libc_feupdateenv_53bit): Likewise.
23686 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23687 (libc_feholdexcept): Convert from macro to inline function.
23688 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23689 (libc_fesetenv, libc_feupdateenv): Likewise.
23690
4851a949
RH
23691 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23692 not previously defined.
23693 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23694 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23695 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23696 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23697 * sysdeps/ieee754/flt-32/math_private.h: New file.
23698 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23699 math_private.h below SET_FLOAT_WORD.
23700 (__isnan, __isinf_ns, __finite): Remove.
23701 (__isnanf, __isinf_nsf, __finitef): Remove.
23702
e79d442e
AS
237032012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23704
23705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23706
90b80344
DM
237072012-03-17 David S. Miller <davem@davemloft.net>
23708
23709 [BZ #6471]
23710 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23711 for 2.16.
23712
edc21804
DM
237132012-03-16 David S. Miller <davem@davemloft.net>
23714
77e927af
DM
23715 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23716 warnings.
23717
374976dd
DM
23718 [BZ #6471]
23719 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23720 properly.
23721 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23722 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23723 sysdep_routines when subdir is sysvipc.
23724 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23725 __getshmlba helper.
23726
edc21804
DM
23727 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23728
473c3ef3
L
237292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23730
23731 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23732 [__LP64__].
23733
eb0f39b6
L
237342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23735
23736 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23737 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23738 (__lround): Renamed to ...
23739 (__llround): This. Replace long int with long long int.
23740 Define lround functions as aliases of llround functions.
23741 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23742
6b6cd74b
L
237432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23744
23745 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23746 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23747 adresses to uintptr_t. Replace "long int" and "unsigned long
23748 int" with "greg_t" on va_arg.
23749
f1a77b01
L
237502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23751
23752 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23753 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23754
23755 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23756 Move e_machine check before EI_CLASS check. Handle x32
23757 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23758 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23759 SKIP_EM_IA_64 and include
23760 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23761
23762 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23763 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23764 (add_system_dir): New macro.
23765
23766 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23767 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23768
11b90b9f
JM
237692012-03-16 Joseph Myers <joseph@codesourcery.com>
23770
c36e1d23
JM
23771 [BZ #2551]
23772 [BZ #2552]
23773 [BZ #2553]
23774 [BZ #2554]
23775 [BZ #2562]
23776 [BZ #2563]
23777 [BZ #2565]
23778 [BZ #2566]
23779 [BZ #2576]
23780 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23781 (y0): Likewise.
23782 * math/w_j0f.c (j0f): Likewise.
23783 (y0f): Likewise.
23784 * math/w_j0l.c (__j0l): Likewise.
23785 (__y0l): Likewise.
23786 * math/w_j1.c (j1): Likewise.
23787 (y1): Likewise.
23788 * math/w_j1f.c (j1f): Likewise.
23789 (y1f): Likewise.
23790 * math/w_j1l.c (__j1l): Likewise.
23791 (__y1l): Likewise.
23792 * math/w_jn.c (jn): Likewise.
23793 (yn): Likewise.
23794 * math/w_jnf.c (jnf): Likewise.
23795 (ynf): Likewise.
23796 * math/w_jnl.c (__jnl): Likewise.
23797 (__ynl): Likewise.
23798 * math/libm-test.inc (j0_test): Add more tests.
23799 (j1_test): Likewise.
23800 (jn_test): Likewise. Add trailing semicolon to existing test.
23801 (y0_test): Likewise.
23802 (y1_test): Likewise.
23803 * sysdeps/i386/fpu/libm-test-ulps: Update.
23804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23805
11b90b9f
JM
23806 [BZ #13851]
23807 [BZ #13854]
23808 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23809 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23810 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23811 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23812 (__tanl): Set errno for infinite argument.
23813 * sysdeps/i386/fpu/mptan.c: Remove.
23814 * sysdeps/i386/fpu/s_tan.S: Likewise.
23815 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23816 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23817 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23818 * math/libm-test.inc (tan_test): Add more tests and enable more
23819 tests for double and long double.
23820 * sysdeps/i386/fpu/libm-test-ulps: Update.
23821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23822
6a1bd2a1
JK
238232012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23824
23825 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23826 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23827
10a803e0
RM
238282012-03-16 Roland McGrath <roland@hack.frob.com>
23829
23830 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23831 * configure.in: Use it for both main tree and add-ons.
23832 * configure: Regenerated.
23833
f196c7f7
L
238342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23835
23836 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23837
8848d99d
JM
238382012-03-16 Joseph Myers <joseph@codesourcery.com>
23839
96cbe7f4
JM
23840 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23841 in comment.
23842
8848d99d
JM
23843 [BZ #13851]
23844 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23845 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23846 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23847 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23848 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23849 infinite argument.
23850 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23851 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23852 != 0 for prec == 2.
23853 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23854 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23855 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23856 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23857 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23858 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23859 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23860 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23861 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23862 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23863 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23864 * math/libm-test.inc (cos_test): Add more tests and enable more
23865 tests for long double.
23866 (sin_test): Likewise.
23867 (sincos_test): Likewise.
23868 * sysdeps/i386/fpu/libm-test-ulps: Update.
23869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23870
dd7f4703
DM
238712012-03-16 David S. Miller <davem@davemloft.net>
23872
23873 * sysdeps/sparc/fpu/math_private.h: New file.
23874
006f1daa
DM
238752012-03-15 David S. Miller <davem@davemloft.net>
23876
c0c83bc8
DM
23877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23878 file.
e6a62e18 23879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23881 file.
e6a62e18
DM
23882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23887 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23888 sysdep routines.
23889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23890
88cb87d9
DM
23891 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23892 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23893
006f1daa 23894 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23896 sparc-ifunc.h
006f1daa 23897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23899 Likewise.
23900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23901 Likewise.
006f1daa
DM
23902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23906 Likewise.
006f1daa
DM
23907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23912 Likewise.
23913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23914 Likewise.
006f1daa
DM
23915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23920 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23921 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23922 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23933 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23934 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23935 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23936 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23937 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23939
11e0098e
AS
239402012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23941
23942 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23943 scaling.
23944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23945
e85b09d0
AJ
239462012-03-15 Andreas Jaeger <aj@suse.de>
23947
23948 [BZ #13852]
23949 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23950 ieee754/flt-32 implementation for sin, cos and sincos.
23951 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23952 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23953 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23954 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23955 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23956 ieee754/flt-32 implementation for tan.
23957
23958 * math/libm-test.inc (cos_test): Enable some large input tests for
23959 float as well
23960 (sin_test): Likewise.
23961 (sincos_test): Likewise.
23962 (tan_test): Add tests for large input.
23963
23964 * sysdeps/i386/fpu/libm-test-ulps: Update.
23965
81c64153
AJ
239662012-03-15 Andreas Jaeger <aj@suse.de>
23967
23968 [BZ #13658]
23969 * math/libm-test.inc (cos_test): Add more test cases.
23970 (sin_test): Likewise.
23971 (sincos_test): Likewise.
23972
7bbfa5c6
AJ
239732012-03-15 Andreas Jaeger <aj@suse.de>
23974
23975 [BZ #13837]
23976 * math/libm-test.inc (cos_test): Add a test case for large input
23977 value.
23978 (sin_test): Likewise.
23979 (sincos_test): Likewise.
23980
239812012-03-15 Andreas Jaeger <aj@suse.de>,
23982 Joseph Myers <joseph@codesourcery.com>
23983
23984 [BZ #13658]
0671f479 23985 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23986 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23987 * sysdeps/i386/fpu/branred.c: Likewise.
23988 * sysdeps/i386/fpu/dosincos.c: Likewise.
23989 * sysdeps/i386/fpu/mpa.c: Likewise.
23990 * sysdeps/i386/fpu/s_cos.S: Likewise.
23991 * sysdeps/i386/fpu/s_sin.S: Likewise.
23992 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23993 * sysdeps/i386/fpu/sincos32.c: Likewise.
23994
23995 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23996 Define.
23997 (libc_feupdateenv_53bit): Define.
23998 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23999 Define.
24000 (libc_feupdateenv_53bit): Define.
24001
24002 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24003 53 bit (without extend i386 double precision).
24004
24005 * math/libm-test.inc (sincos_test): Add tests for large input.
24006 (sin): Likewise.
24007 (cos): Likewise.
24008
24009 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24010
9cad04ea
AS
240112012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24012
24013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24014
f7062b9a
DM
240152012-03-15 David S. Miller <davem@davemloft.net>
24016
24017 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24018 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24019 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24020 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
24032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24033 file.
f7062b9a 24034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
24035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24036 file.
f7062b9a 24037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
24038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24039 file.
f7062b9a 24040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
24041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24042 file.
f7062b9a
DM
24043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24044 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24045 fmin/fmax sysdep routines.
24046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24047
7bd951ff
DM
240482012-03-14 David S. Miller <davem@davemloft.net>
24049
559398ab
DM
24050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24051 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24054 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24055 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24056 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24057 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24070 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24071 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24072 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24073 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24074 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24075 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24076 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24077 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24078 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24079 routines.
24080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24081 file.
559398ab 24082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
24083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24084 file.
559398ab 24085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
24086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24087 file.
559398ab 24088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
24089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24090 file.
559398ab 24091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
24092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24093 file.
559398ab 24094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
24095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24096 file.
24097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24098 file.
24099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24100 file.
24101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24102 file.
24103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24104 New file.
24105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24106 file.
24107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24108 file.
559398ab 24109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
24110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24111 file.
559398ab 24112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24114 file.
559398ab 24115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
24116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24117 file.
559398ab 24118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
24119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24120 VIS3 routines.
559398ab
DM
24121
24122 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24123 New file.
24124
5a1c1e32
DM
24125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24126
eae47a36
DM
24127 * sysdeps/sparc/configure.in: New file.
24128 * sysdeps/sparc/configure: Generate.
24129 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24130 * configure: Regenerate.
24131 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24132 * config.make.in (have-as-vis3): New.
24133 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24134 available use -Av9d instead of -Av9a.
24135 * sysdeps/sparc/sparc64/Makefile: Likewise.
24136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
24137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24138 New file.
24139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24140 file.
24141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24142 New file.
24143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24144 file.
eae47a36
DM
24145 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24146 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24147 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24148 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24149 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24150
c0c83bc8
DM
24151 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24152 fzeros/fnegs to load 0x80000000 into a float register instead of
24153 using the stack.
7bd951ff
DM
24154 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24155
bd951ccb
JM
241562012-03-14 Joseph Myers <joseph@codesourcery.com>
24157
24158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24159 bits/syscall.h.
24160 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24161 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24162 ($(inst_includedir)/bits/syscall.h): Remove rule.
24163 ($(objpfx)bits/syscall.d): Include instead of
24164 $(objpfx)syscall-list.d.
24165 (generated): Change syscall-list.h and syscall-list.d to
24166 bits/syscall.h and bits/syscall.d.
24167
bb4e6db2
RM
241682012-03-14 Roland McGrath <roland@hack.frob.com>
24169
24170 [BZ #13846]
24171 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24172
aa4a2ae1
JM
241732012-03-14 Joseph Myers <joseph@codesourcery.com>
24174
e456826d
JM
24175 [BZ #13841]
24176 * math/s_csqrt.c: Include <float.h>.
24177 (__csqrt): Scale large or subnormal inputs.
24178 * math/s_csqrtf.c: Likewise.
24179 * math/s_csqrtl.c: Likewise.
24180 * math/libm-test.inc (csqrt_test): Add more tests.
24181 * sysdeps/i386/fpu/libm-test-ulps: Update.
24182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24183
aa4a2ae1
JM
24184 [BZ #13840]
24185 * math/libm-test.inc (hypot_test): Add more tests.
24186
7c10fd35
DM
241872012-03-13 David S. Miller <davem@davemloft.net>
24188
24189 [BZ #13840]
24190 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24191 double-precision for the calculation instead of scaling.
24192
f453b98b
JM
241932012-03-13 Joseph Myers <joseph@codesourcery.com>
24194
24195 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24196 manipulate bits before adding and subtracting TWO52[sx].
24197 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24198 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24199 Likewise.
24200 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24201
09a3453f
DM
242022012-03-13 David S. Miller <davem@davemloft.net>
24203
8e59da90
DM
24204 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24205 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24206 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24207 rtld-global-offsets.h
24208 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24209
2a8ab7f2
DM
24210 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24211 large parameters.
24212
10f62770
DM
24213 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24214
5f0bdb18
DM
24215 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24216 'err' in the ifdef scope in which it is actually used.
24217
09a3453f
DM
24218 * nss/nss_db/db-init.c: Include string.h
24219
b4b2eb5e
DM
242202012-03-12 David S. Miller <davem@davemloft.net>
24221
98bb2f1c
DM
24222 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24223 masking out of the most significant byte of random value used.
24224 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24225 Fix coding style in previous change.
24226
b4b2eb5e
DM
24227 * sysdeps/unix/sysv/linux/kernel-features.h
24228 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24229 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24230 expression.
24231 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24232 later.
24233
6e226b09
DM
242342012-03-11 David S. Miller <davem@davemloft.net>
24235
a1bcbd40
DM
24236 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24237 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24238 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24239 for 'resultvar' otherwise things get truncated on 64-bit.
24240
cb9d6174
DM
24241 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24242 Fix masking out of the most significant byte of random value used.
24243
6e226b09
DM
24244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24245
058c132d
AS
242462012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24247
24248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24249
2d2cd515
DM
242502012-03-09 David S. Miller <davem@davemloft.net>
24251
24252 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24253 variables with appropriate CPP guards.
24254 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24255 frame pointer, not the stack pointer. Correct layout comments. Fix test
24256 on resulting framesize and the management of the outregs buffer for pltexit.
24257 Preserve floating point return values across _dl_call_pltexit call.
24258 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24259 framesize and the management of the outregs buffer for pltexit.
24260 Preserve floating point return values across _dl_call_pltexit
24261 call.
24262 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24263 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24264 (print_exit): Fix format string for return register value.
24265
9a07f9d0
JM
242662012-03-10 Joseph Myers <joseph@codesourcery.com>
24267
24268 * sunrpc/Makefile (others): Add rpcgen.
24269 ($(objpfx)rpcgen): Remove special build rule and dependency on
24270 libc.
24271 * sunrpc/rpcgen.c: New file.
24272
547b5e30
PE
242732012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24274
c524201a
PE
24275 [BZ #13673]
24276 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24277 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24278 * sysdeps/i386/crti.S: Likewise.
24279 * sysdeps/i386/crtn.S: Likewise.
24280 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24281 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24282 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24283 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24284 * sysdeps/sh/crti.S: Likewise.
24285 * sysdeps/sh/crtn.S: Likewise.
24286 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24287
7b6235f2
PE
24288 [BZ #13673]
24289 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24290 with URL.
24291 * locale/programs/locfile-kw.gperf: Likewise.
24292 * locale/programs/charmap-kw.h: Regenerated.
24293 * locale/programs/locfile-kw.h: Likewise.
24294
547b5e30
PE
24295 [BZ #13673]
24296 * intl/plural.y: Replace FSF snail mail address with URL.
24297 * intl/plural.c: Regenerated.
24298
5f0a5dae
RH
242992012-03-09 Richard Henderson <rth@twiddle.net>
24300
24301 * include/math_private.h: Remove file.
24302 * math/math_private.h: Move file ...
24303 * sysdeps/generic/math_private.h: ... here.
24304
b8c03620
RH
24305 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24306 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24307 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24308
4e234f5d 24309 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
24310 and <math_private.h>.
24311 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24312 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24313 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24314 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24315 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24316 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24317 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24318 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24319 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24320 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24321 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24322 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24323 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24324 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24325 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24326 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24327 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24328 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24329 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24330 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24332 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24333 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24335 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24336 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24337 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24338 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24339 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24340 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24341 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24342 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24343 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24344 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24345 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24346 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24347 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24348 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24349 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24350 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24351 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24352 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24353 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24354 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24355 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24356 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24357 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24358 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24359 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24360 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24361 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24362 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24363 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24364 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24365 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24366 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24367 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24368 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24369 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24370 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24371 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24372 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24373 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24374 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24375 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24376 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24377 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24378 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24379 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24380 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24381 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24382 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24383 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24384 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24385 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24386 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24387 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24389 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24390 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24391 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24392 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24393 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24394 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24395 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24397 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24398 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24399 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24400 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24401 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24402 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24403 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24404 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24405 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24406 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24407 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24408 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24409 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24410 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24411 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24412 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24413 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24414 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24415 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24416 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24417 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24418 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24419 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24420 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24421 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24422 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24423 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24424 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24425 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24426 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24427 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24428 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24429 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24430 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24431 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24432 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24433 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24434 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24435 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24436 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24437 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24438 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24439 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24440 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24441 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24442 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24443 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24444 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24445 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24446 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24447 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24448 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24449 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24450 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24451 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24452 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24453 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24454 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24455 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24456 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24457 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24458 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24459 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24460 * sysdeps/ieee754/k_standard.c: Likewise.
24461 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24462 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24463 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24464 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24465 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24466 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24467 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24468 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24469 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24470 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24471 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24472 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24473 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24474 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24475 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24476 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24477 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24478 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24479 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24480 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24481 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24482 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24483 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24484 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24485 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24486 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24487 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24488 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24489 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24490 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24491 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24492 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24493 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24494 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24495 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24496 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24497 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24498 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24499 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24500 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24501 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24502 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24503 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24504 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24505 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24506 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24507 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24508 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24509 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24510 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24511 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24512 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24513 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24514 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24515 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24516 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24517 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24518 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24519 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24520 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24521 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24522 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24523 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24524 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24525 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24526 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24527 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24528 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24529 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24530 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24531 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24532 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24533 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24534 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24535 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24536 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24537 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24538 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24539 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24540 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24541 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24542 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24543 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24544 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24545 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24546 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24547 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24548 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24549 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24550 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24551 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24552 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24553 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24554 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24555 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24556 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24557 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24558 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24559 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24560 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24561 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24562 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24563 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24564 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24565 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24566 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24567 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24568 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24569 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24570 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24571 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24572 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24573 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24574 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24575 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24576 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24577 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24578 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24579 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24580 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24581 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24582 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24583 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24584 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24585 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24586 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24587 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24588 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24589 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24590 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24591 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24592 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24593 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24594 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24595 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24596 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24597 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24598 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24599 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24600 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24601 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24602 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24603 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24604 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24605 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24606 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24607 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24608 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24609 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24610 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24611 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24612 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24613 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24614 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24615 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24616 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24617 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24618 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24619 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24620 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24621 * sysdeps/ieee754/s_lib_version.c: Likewise.
24622 * sysdeps/ieee754/s_matherr.c: Likewise.
24623 * sysdeps/ieee754/s_signgam.c: Likewise.
24624 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24625 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24626 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24627 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24628 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24629 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24630 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24631 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24632 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24633 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24634 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24635 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24636 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24637 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24638 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24639 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24640 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24641 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24642 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24643 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24644 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24645
1991fa03
JM
246462012-03-09 Joseph Myers <joseph@codesourcery.com>
24647
24648 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24649 * sunrpc/rpc_main.c: Likewise.
24650 * sunrpc/rpc_svcout.c: Likewise.
24651
60d6f5a6
DM
246522012-03-09 David S. Miller <davem@davemloft.net>
24653
24654 * include/math_private.h: New file.
24655
4962050e
JM
246562012-03-09 Joseph Myers <joseph@codesourcery.com>
24657
02a6f887
JM
24658 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24659 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24660 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24661 from <bits/socket_type.h>.
24662 (enum __socket_type): Don't define here.
24663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24665 bits/socket_type.h.
24666
c6e013c1
JM
24667 [BZ #13566]
24668 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24669 checking __USE_GNU.
24670
4962050e
JM
24671 * Makerules ($(inst_includedir)/%.h): New rule.
24672 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24673 (install-others): Remove variable setting.
24674 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24675
38842f45
RH
246762012-03-08 Richard Henderson <rth@twiddle.net>
24677
67bb6da6
RH
24678 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24679 from macro to inline function; merge with the
24680 !__LIBC_INTERNAL_MATH_INLINES version.
24681 (__ieee754_sqrtf): Likewise.
24682
15194b4b
RH
24683 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24684 to inline function.
24685 (__rintf, __floor, __floorf): Likewise.
24686
64e21ede
RH
24687 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24688 macro to inline function.
24689 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24690
38842f45
RH
24691 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24692 not <math/math_private.h>.
24693
c64bf5fe
DM
246942012-03-08 David S. Miller <davem@davemloft.net>
24695
24696 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24697 copyright year.
24698 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24699
82d86f28
TS
247002012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24701
24702 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24703 normalization.
24704 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24705 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24706
aea5d727
UD
247072012-03-08 Ulrich Drepper <drepper@gmail.com>
24708
24709 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24710 be defined individually, they must be defined as a block. Define
24711 S for printing a string instead of hidint the different by using a
24712 macro for adding the 'l'.
24713 * stdio-common/tst-fphex-wide.c: Adjust.
24714
70bca0a3
MP
247152012-03-07 Marek Polacek <polacek@redhat.com>
24716
24717 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24718
65b81130
MP
247192012-03-08 Marek Polacek <polacek@redhat.com>
24720
24721 [BZ #13806]
24722 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24723 * stdio-common/tst-fphex.c: Define a few macros to make the
24724 test reusable. Use them.
24725 * stdio-common/tst-fphex-wide.c: New file.
24726
07037eeb
JM
247272012-03-08 Joseph Myers <joseph@codesourcery.com>
24728
a7a93d50
JM
24729 [BZ #6911]
24730 * manual/macros.texi (gnusystems): New macro.
24731 (nongnusystems): Likewise.
24732 (gnulinuxhurdsystems): Likewise.
24733 (gnuhurdsystems): Likewise..
24734 (gnulinuxsystems): Likewise.
24735 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24736 variants of the GNU system, not "GNU system".
24737 * manual/conf.texi: Likewise.
24738 * manual/errno.texi: Likewise. Update example of errno macro
24739 expansion.
24740 * manual/filesys.texi: Likewise.
24741 (getumask): Document as specific to GNU/Hurd.
24742 * manual/install.texi: Likewise. Reword some references to
24743 GNU/Linux.
24744 * manual/intro.texi: Likewise.
24745 * manual/io.texi: Likewise.
24746 (File Name Portability): Detail which constraints are inapplicable
24747 to all GNU systems and which are only inapplicable to GNU/Hurd.
24748 * manual/job.texi: Likewise.
24749 * manual/llio.texi: Likewise.
24750 (O_NOCTTY): Document as present on GNU/Linux.
24751 * manual/maint.texi: Likewise.
24752 * manual/memory.texi: Likewise.
24753 * manual/pattern.texi: Likewise.
24754 * manual/pipe.texi: Likewise.
24755 * manual/process.texi: Likewise.
24756 * manual/resource.texi: Likewise.
24757 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24758 child on GNU/Hurd.
24759 * manual/setjmp.texi: Likewise.
24760 * manual/signal.texi: Likewise.
24761 * manual/startup.texi: Likewise.
24762 * manual/stdio.texi: Likewise.
24763 * manual/terminal.texi: Likewise.
24764 (ONLCR): Document as POSIX.
24765 (OXTABS): Document availability on GNU/Linux as XTABS.
24766 (ONOEOT): Document availability separately from other bits.
24767 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24768 * manual/time.texi: Likewise.
24769 * manual/users.texi: Likewise.
24770 * INSTALL: Regenerated.
24771 * sysdeps/gnu/errlist.c: Regenerated.
24772
07037eeb
JM
24773 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24774 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24775 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24776 puts.
24777 * configure: Regenerated.
24778
d1d3431a
JM
247792012-03-07 Joseph Myers <joseph@codesourcery.com>
24780
af6a1e37
JM
24781 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24782 default includes instead of AC_HEADER_CHECK.
24783 * sysdeps/i386/configure: Regenerated.
24784
d1d3431a
JM
24785 [BZ #10716]
24786 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24787 * math/s_cacoshf.c (__cacoshf): Likewise.
24788 * math/s_cacoshl.c (__cacoshl): Likewise.
24789 * math/s_casinh.c (__casinh): Set signs of result from argument.
24790 * math/s_casinhf.c (__casinhf): Likewise.
24791 * math/s_casinhl.c (__casinhl): Likewise.
24792 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24793 (casinh_test): Add more tests.
24794 * sysdeps/i386/fpu/libm-test-ulps: Update.
24795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24796
482ff4da
UD
247972012-03-07 Ulrich Drepper <drepper@gmail.com>
24798
872fda05
UD
24799 * po/zh_TW.po: Update from translation team.
24800
a4300c7a
UD
24801 * login/Makefile (distribute): Remove variable.
24802 * catgets/Makefile: Likewise.
24803 * mach/Makefile: Likewise.
24804 * malloc/Makefile: Likewise.
24805 * misc/Makefile: Likewise.
24806 * iconv/Makefile: Likewise.
24807 * nscd/Makefile: Likewise.
24808 * hurd/Makefile: Likewise.
24809 * manual/Makefile: Likewise.
24810 * locale/Makefile: Likewise.
24811 * intl/Makefile: Likewise.
24812 * conform/Makefile: Likewise.
24813 * nss/Makefile: Likewise.
24814 * time/Makefile: Likewise.
24815 * soft-fp/Makefile: Likewise.
24816 * dirent/Makefile: Likewise.
24817 * gmon/Makefile: Likewise.
24818 * po/Makefile: Likewise.
24819 * rt/Makefile: Likewise.
24820 * socket/Makefile: Likewise.
24821 * math/Makefile: Likewise.
24822 * signal/Makefile: Likewise.
24823 * debug/Makefile: Likewise.
24824 * elf/Makefile: Likewise.
24825 * timezone/Makefile: Likewise.
24826 * stdlib/Makefile: Likewise.
24827 * iconvdata/Makefile: Likewise.
24828 * sunrpc/Makefile: Likewise.
24829 * io/Makefile: Likewise.
24830 * argp/Makefile: Likewise.
24831 * inet/Makefile: Likewise.
24832 * hesiod/Makefile: Likewise.
24833 * grp/Makefile: Likewise.
24834 * csu/Makefile: Likewise.
24835 * wctype/Makefile: Likewise.
24836 * crypt/Makefile: Likewise.
24837 * libio/Makefile: Likewise.
24838 * string/Makefile: Likewise.
24839 * nis/Makefile: Likewise.
24840 * resolv/Makefile: Likewise.
24841 * stdio-common/Makefile: Likewise.
24842 * wcsmbs/Makefile: Likewise.
24843 * dlfcn/Makefile: Likewise.
24844 * posix/Makefile: Likewise.
24845
3b7c4e74 24846 [BZ #6959]
482ff4da
UD
24847 * timezone/Makefile: Don't install timezone files, just the programs
24848 and scripts.
24849
f72ed77d
UD
248502012-03-06 Ulrich Drepper <drepper@gmail.com>
24851
a000466f
UD
24852 * nss/databases.def: Add missing gshadow entry.
24853
f72ed77d
UD
24854 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24855
a53b7a4e
MP
248562012-03-06 Marek Polacek <polacek@redhat.com>
24857
24858 [BZ #13726]
24859 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24860 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24861 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24862 * stdio-common/tst-long-dbl-fphex.c: New file.
24863
e9258400
DM
248642012-03-06 David S. Miller <davem@davemloft.net>
24865
24866 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24867 (set_obp_int): New function.
24868 (get_obp_int): New function.
24869 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24870 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24871 Avoid unused variable warnings on 'val' and use builtin_expect.
24872 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24873 __builtin_expect.
e9258400
DM
24874 (INLINE_CLONE_SYSCALL): Likewise.
24875
3bd2c723
DM
248762012-03-05 David S. Miller <davem@davemloft.net>
24877
24878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24879
bbb78d03
AS
248802012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24881
884c5db4
AS
24882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24883
bbb78d03
AS
24884 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24885 only for |x| >= 40.
24886 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24887
1c9f702a 248882012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24889
24890 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24891 Replace gettimeofday with __vdso_gettimeofday.
24892
7be16f82
RM
24893 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24894 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24895 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24896
24897 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24898 time with __vdso_time.
24899
ed58a00f
JM
249002012-03-05 Joseph Myers <joseph@codesourcery.com>
24901
24902 * manual/lang.texi (size_t): Note types to which size_t may be
24903 equivalent with the GNU C Library, but do not describe when
24904 differences between them are significant.
24905
30ee4ced
AJ
249062012-03-05 Andreas Jaeger <aj@suse.de>
24907
24908 * sysdeps/i386/fpu/libm-test-ulps: Update.
24909
b7cd39e8
JM
249102012-03-05 Joseph Myers <joseph@codesourcery.com>
24911
24912 [BZ #3976]
24913 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24914 (__ieee754_pow): Save and restore rounding mode and use
24915 round-to-nearest for main computations.
24916 * math/libm-test.inc (pow_test_tonearest): New function.
24917 (pow_test_towardzero): Likewise.
24918 (pow_test_downward): Likewise.
24919 (pow_test_upward): Likewise.
24920 (main): Call the new functions.
24921 * sysdeps/i386/fpu/libm-test-ulps: Update.
24922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24923
24924 [BZ #3976]
24925 * math/libm-test.inc (cosh_test_tonearest): New function.
24926 (cosh_test_towardzero): Likewise.
24927 (cosh_test_downward): Likewise.
24928 (cosh_test_upward): Likewise.
24929 (sinh_test_tonearest): Likewise.
24930 (sinh_test_towardzero): Likewise.
24931 (sinh_test_downward): Likewise.
24932 (sinh_test_upward): Likewise.
24933 (main): Call the new functions.
24934 * sysdeps/i386/fpu/libm-test-ulps: Update.
24935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24936
6c6a98c9
TV
249372012-03-05 Tom de Vries <tom@codesourcery.com>
24938
24939 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24940 default stack guard is set in last bytes.
24941 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24942
21bb2d2e 249432012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24944
21bb2d2e 24945 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24946
21bb2d2e
AJ
24947 [BZ #13656]
24948 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24949 possibly allocate from heap instead of stack.
24950 * stdio-common/bug-vfprintf-nargs.c: New file.
24951 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24952
c6922934
AS
249532012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24954
24955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24956
bc957d53
MP
249572012-03-03 Marek Polacek <polacek@redhat.com>
24958
24959 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24960 * math/math_private.h: Likewise.
24961 * stdlib/tst-strtod.c: Likewise.
24962 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24963 * sysdeps/x86_64/bits/atomic.h: Likewise.
24964
6358490d
DM
249652012-03-02 David S. Miller <davem@davemloft.net>
24966
24967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24971 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24972 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24973 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24974 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24975
01ae168d
RM
249762012-03-02 Roland McGrath <roland@hack.frob.com>
24977
d9a17c07
RM
24978 [BZ #13792]
24979 * manual/examples/README: New file, says the example source files
24980 can be used under GPL>=2.
24981 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24982 line containing just "*/".
24983 * manual/examples/add.c: Add copyright header (GPL>=2).
24984 * manual/examples/argp-ex1.c: Likewise.
24985 * manual/examples/argp-ex2.c: Likewise.
24986 * manual/examples/argp-ex3.c: Likewise.
24987 * manual/examples/argp-ex4.c: Likewise.
24988 * manual/examples/atexit.c: Likewise.
24989 * manual/examples/db.c: Likewise.
24990 * manual/examples/dir.c: Likewise.
24991 * manual/examples/dir2.c: Likewise.
24992 * manual/examples/execinfo.c: Likewise.
24993 * manual/examples/filecli.c: Likewise.
24994 * manual/examples/filesrv.c: Likewise.
24995 * manual/examples/fmtmsgexpl.c: Likewise.
24996 * manual/examples/genpass.c: Likewise.
24997 * manual/examples/inetcli.c: Likewise.
24998 * manual/examples/inetsrv.c: Likewise.
24999 * manual/examples/isockad.c: Likewise.
25000 * manual/examples/longopt.c: Likewise.
25001 * manual/examples/memopen.c: Likewise.
25002 * manual/examples/memstrm.c: Likewise.
25003 * manual/examples/mkfsock.c: Likewise.
25004 * manual/examples/mkisock.c: Likewise.
25005 * manual/examples/mygetpass.c: Likewise.
25006 * manual/examples/pipe.c: Likewise.
25007 * manual/examples/popen.c: Likewise.
25008 * manual/examples/rprintf.c: Likewise.
25009 * manual/examples/search.c: Likewise.
25010 * manual/examples/select.c: Likewise.
25011 * manual/examples/setjmp.c: Likewise.
25012 * manual/examples/sigh1.c: Likewise.
25013 * manual/examples/sigusr.c: Likewise.
25014 * manual/examples/stpcpy.c: Likewise.
25015 * manual/examples/strdupa.c: Likewise.
25016 * manual/examples/strftim.c: Likewise.
25017 * manual/examples/strncat.c: Likewise.
25018 * manual/examples/subopt.c: Likewise.
25019 * manual/examples/swapcontext.c: Likewise.
25020 * manual/examples/termios.c: Likewise.
25021 * manual/examples/testopt.c: Likewise.
25022 * manual/examples/testpass.c: Likewise.
25023 * manual/examples/timeval_subtract.c: Likewise.
25024
01ae168d
RM
25025 [BZ #13792]
25026 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25027 function to ...
25028 * manual/timeval_subtract.c.texi: ... here, new file.
25029
49efa33d
DM
250302012-03-02 David S. Miller <davem@davemloft.net>
25031
25032 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25033
28afd92d
JM
250342012-03-02 Joseph Myers <joseph@codesourcery.com>
25035
804360ed
JM
25036 [BZ #3976]
25037 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25038 (__sin): Save and restore rounding mode and use round-to-nearest
25039 for all computations.
25040 (__cos): Save and restore rounding mode and use round-to-nearest
25041 for all computations.
25042 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25043 <fenv.h>.
25044 (tan): Save and restore rounding mode and use round-to-nearest for
25045 all computations.
25046 * math/libm-test.inc (cos_test_tonearest): New function.
25047 (cos_test_towardzero): Likewise.
25048 (cos_test_downward): Likewise.
25049 (cos_test_upward): Likewise.
25050 (sin_test_tonearest): Likewise.
25051 (sin_test_towardzero): Likewise.
25052 (sin_test_downward): Likewise.
25053 (sin_test_upward): Likewise.
25054 (tan_test_tonearest): Likewise.
25055 (tan_test_towardzero): Likewise.
25056 (tan_test_downward): Likewise.
25057 (tan_test_upward): Likewise.
25058 (main): Call the new functions.
25059 * sysdeps/i386/fpu/libm-test-ulps: Update.
25060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25061
a6d06d7b
JM
25062 [BZ #10135]
25063 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25064 small n, then large n, before computing and testing k+n.
25065 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25066 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25067 Likewise.
25068 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25069 Likewise.
25070 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25071 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25072 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25073 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25074 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25075 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25076 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25077 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25078 * math/libm-test.inc (scalbn_test): Add more tests.
25079 (scalbln_test): Likewise.
25080
07e12bb3
JM
25081 * manual/filesys.texi (mode_t): Describe constraints on size and
25082 signedness, not exact equivalence to a particular type.
25083 (ino_t): Likewise.
25084 (ino64_t): Likewise.
25085 (dev_t): Likewise.
25086 (nlink_t): Likewise.
25087 (blkcnt_t): Likewise.
25088 (blkcnt64_t): Likewise.
25089 * manual/llio.texi (off_t): Likewise.
25090
28afd92d
JM
25091 [BZ #3976]
25092 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25093 (__ieee754_exp): Save and restore rounding mode and use
25094 round-to-nearest for all computations.
25095 * math/libm-test.inc (exp_test_tonearest): New function.
25096 (exp_test_towardzero): Likewise.
25097 (exp_test_downward): Likewise.
25098 (exp_test_upward): Likewise.
25099 (main): Call the new functions.
25100 * sysdeps/i386/fpu/libm-test-ulps: Update.
25101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25102
b1eeb65d
CD
251032012-03-01 Chris Demetriou <cgd@google.com>
25104
25105 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25106 have predictable order.
25107
53362a4b
DM
251082012-03-01 David S. Miller <davem@davemloft.net>
25109
3c969083
DM
25110 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25111
759707de
DM
25112 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25113 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25114 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25115 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25116
dfdb8ff2
DM
25117 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25118 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25119 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25121 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25122 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25123 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25124 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25125 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25126
ead89f96
DM
25127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25128
7f66bd07
DM
25129 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25130 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25131 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25132
53362a4b
DM
25133 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25134 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25135 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25136 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25137 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25138 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25139 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25140 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25141 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25142 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25143 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25144 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25146 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25147 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25148 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25149 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25150 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25151 * sysdeps/sparc/elf/configure: Regenerated.
25152
7b1902cb
JM
251532012-03-01 Joseph Myers <joseph@codesourcery.com>
25154
bec039bc
JM
25155 * configure.in (AS, LD): Require binutils 2.20 or later.
25156 * configure: Regenerated.
25157 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25158 as required minimum version.
25159 * INSTALL: Regenerated.
25160
7b1902cb
JM
25161 [BZ #2541]
25162 [BZ #4108]
25163 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25164 before squaring exponent.
25165 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25166 bottom long double and 27 bits of top long double before squaring
25167 exponent.
25168 * math/libm-test.inc (erfc_test): Add more tests.
25169 * sysdeps/i386/fpu/libm-test-ulps: Update.
25170 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25172
f775c276
KT
251732012-03-01 Kai Tietz <ktietz@redhat.com>
25174
25175 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25176 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25177 containing bit-fields.
25178 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25179 * soft-fp/single.h (_FP_UNION_S): Likewise.
25180 * soft-fp/double.h (_FP_UNION_D): Likewise.
25181
5b8a4d4a
JM
251822012-02-29 Joseph Myers <joseph@codesourcery.com>
25183
0bab47b6
JM
25184 [BZ #13786]
25185 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25186 not include ../strcmp.S.
25187 [USE_AS_STRNCASECMP_L]: Likewise.
25188 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25189 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25190 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25191 (__strncasecmp_l_ia32): Define as alias to
25192 __strncasecmp_l_nonascii.
25193
0fcad3e2
JM
25194 [BZ #5794]
25195 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25196 * sysdeps/i386/fpu/libm-test-ulps: Update.
25197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25198
5b8a4d4a
JM
25199 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25201
8fdceb2e
JL
252022012-02-29 Jeff Law <law@redhat.com>
25203
25204 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25205 out of bounds read.
25206
1f393a11
MP
252072012-02-29 Marek Polacek <polacek@redhat.com>
25208
25209 [BZ #13706]
25210 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25211 * elf/Makefile: Add rules to run tst-unused-dep.out.
25212
8847f037
DM
252132012-02-28 David S. Miller <davem@davemloft.net>
25214
25215 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25216 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25217 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25218 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25219 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25220 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25221
169d7f11
JM
252222012-02-29 Joseph Myers <joseph@codesourcery.com>
25223
25224 * math/libm-test.inc (llround_test): Move one test from
25225 lround_test. Use TEST_f_L in moved test.
25226 (lround_test): Move misplaced test to llround_test. Add testcase
25227 from bug 2561.
25228
39adf059
UD
252292012-02-28 Ulrich Drepper <drepper@gmail.com>
25230
25231 * sysdeps/x86_64/fpu/e_expf.S: New file.
25232 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25233
71b5d1c5
SB
252342012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25235
25236 [BZ #13637]
25237 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25238 of remain_len that may cause incomplete multi-byte character and
25239 false match.
25240 * posix/bug-regex33.c: New file.
25241 * posix/Makefile (tests): Add bug-regex33.
25242
1f77f049
JM
252432012-02-28 Joseph Myers <joseph@codesourcery.com>
25244
25245 * manual/macros.texi: New file.
25246 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25247 * manual/libc.texinfo: Include macros.texi.
25248 * manual/creatute.texi: Likewise.
25249 * manual/install.texi: Likewise.
25250 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25251 @glibcadj{} in references to the GNU C Library.
25252 * manual/charset.texi: Likewise.
25253 * manual/conf.texi: Likewise.
25254 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25255 when not using those macros.
25256 * manual/creature.texi: Likewise.
25257 * manual/crypt.texi: Likewise.
25258 * manual/errno.texi: Likewise.
25259 * manual/filesys.texi: Likewise.
25260 * manual/header.texi: Likewise.
25261 * manual/install.texi: Likewise.
25262 * manual/intro.texi: Likewise.
25263 * manual/io.texi: Likewise.
25264 * manual/job.texi: Likewise.
25265 * manual/lang.texi: Likewise.
25266 * manual/libc.texiinfo: Likewise.
25267 * manual/llio.texi: Likewise.
25268 * manual/locale.texi: Likewise.
25269 * manual/maint.texi: Likewise.
25270 * manual/math.texi: Likewise.
25271 * manual/memory.texi: Likewise.
25272 * manual/message.texi: Likewise.
25273 * manual/nss.texi: Likewise.
25274 * manual/pattern.texi: Likewise.
25275 * manual/process.texi: Likewise.
25276 * manual/resource.texi: Likewise.
25277 * manual/search.texi: Likewise.
25278 * manual/setjmp.texi: Likewise.
25279 * manual/signal.texi: Likewise.
25280 * manual/socket.texi: Likewise.
25281 * manual/startup.texi: Likewise.
25282 * manual/stdio.texi: Likewise.
25283 * manual/string.texi: Likewise.
25284 * manual/sysinfo.texi: Likewise.
25285 * manual/syslog.texi: Likewise.
25286 * manual/terminal.texi: Likewise.
25287 * manual/time.texi: Likewise.
25288 * manual/users.texi: Likewise.
25289 * INSTALL: Regenerated.
25290 * NOTES: Regenerated.
d40c5d54 25291 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 25292
450bf206
AS
252932012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25294
25295 * include/dirent.h: Include <dirstream.h> before
25296 <dirent/dirent.h>.
25297
741a235b
DM
252982012-02-28 David S. Miller <davem@davemloft.net>
25299
25300 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25301 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25302 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25303 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25304
d6b5aa58
DM
253052012-02-27 David S. Miller <davem@davemloft.net>
25306
1aff59a3
DM
25307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25309 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25310 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25311
d6b5aa58
DM
25312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25313 frame pointer instead of stack pointer relative arg slot.
25314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25315 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25316 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25317
433f48bf
CD
253182012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25319
25320 [BZ #3992]
25321 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25322
d674b76d
DM
253232012-02-27 David S. Miller <davem@davemloft.net>
25324
25325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25329 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25330 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25331 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25332 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25333
0e7727f7
JM
253342012-02-27 Joseph Myers <joseph@codesourcery.com>
25335
25336 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25337 later. Allow versions 5-9.
43be4ca2 25338 * configure: Regenerated.
0e7727f7
JM
25339 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25340 required minimum version and 4.6 as recommended version. Do not
25341 mention bugs in GCC 2.7 and 2.8.
43be4ca2 25342 * INSTALL: Regenerated.
0e7727f7 25343
a78bc654
DM
253442012-02-27 David S. Miller <davem@davemloft.net>
25345
428d5830
DM
25346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25350 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25351 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25352 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25353 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25354
a78bc654
DM
25355 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25356 manipulate bits before adding and subtracting TWO112[sx].
25357 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25358
4579f81c
RM
253592012-02-27 Roland McGrath <roland@hack.frob.com>
25360
36c8acb4
RM
25361 [BZ #13775]
25362 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25363 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25364 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25365 being in POSIX, because they are in 1003.1-2008.
25366
84ad622b
RM
25367 * rt/tst-aio.c: Include <fcntl.h>.
25368 * rt/tst-aio7.c: Likewise.
25369 * rt/tst-aio64.c: Likewise.
25370
4579f81c
RM
25371 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25372
abd923db
JM
253732012-02-27 Joseph Myers <joseph@codesourcery.com>
25374
25375 * manual/install.texi (--with-headers): Describe headers as
25376 interface headers, not private headers.
25377 (Specific advice for GNU/Linux systems): Describe use of headers
25378 from "make headers_install", not private headers from older
25379 kernels.
43be4ca2 25380 * INSTALL: Regenerated.
abd923db
JM
25381 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25382 Change to 2.6.19.
25383 * sysdeps/unix/sysv/linux/configure: Regenerated.
25384
6664049b
JM
25385 * manual/llio.texi (fclean): Remove documentation.
25386
bb8b6697
JM
25387 * manual/Makefile (libc-texi-generated): New variable. Include
25388 version.texi.
25389 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25390 $(libc-texi-generated), not duplicated list of files.
25391 (version.texi, stamp-version): New rules.
25392 (realclean): Remove $(libc-texi-generated), not individual files
25393 from that list. Do not remove dir-add.texinfo.
25394 * manual/libc.texinfo: Comment out uses of edition numbers and
25395 references to printed manual. Remove last-updated dates.
25396 (EDITION): Comment out.
25397 (ISBN): Likewise.
25398 (VERSION, UPDATED): Remove.
25399 (version.texi): Include.
25400
12e5c3b9
AS
254012012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25402
25403 * sysdeps/posix/spawni.c: Include <signal.h>.
25404 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25405 * sysdeps/pthread/aio_fsync.c: Likewise.
25406
4efeffc1 254072012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 25408
ba63ba08
UD
25409 * conform/Makefile (tests): Run only when not cross-compiling and
25410 when fast-check is not defined.
25411
d94a4670
UD
25412 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25413 * conform/data/limits.h-data: Fixes for POSIX2008.
25414 * conform/run-conformtest.sh: Run all tests.
25415 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25416 headers.
25417 * include/bits/dlfcn.h: Likewise.
25418 * include/langinfo.h: Likewise.
25419 * include/monetary.h: Likewise.
25420 * include/sys/poll.h: Likewise.
25421
25422 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25423 for __USE_GNU.
25424 * posix/spawn.h: Define __need_sigset_t.
25425 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25426 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25427 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25428 to get sigevent_t only.
25429 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25430 only for __USE_GNU.
25431 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25432 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25433 process_vm_writev only for __USE_GNU.
25434 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
25435
25436 * conform/Makefile: For now ignore errors from run-conformtest.
25437 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25438 POSIX to avoid namespace pollution. Don't prepend headers.
25439 * conform/data/aio.h-data: Fixes for POSIX testing.
25440 * conform/data/fcntl.h-data: Likewise.
25441 * conform/data/glob.h-data: Likewise.
25442 * conform/data/grp.h-data: Likewise.
25443 * conform/data/pthread.h-data: Likewise.
25444 * conform/data/pwd.h-data: Likewise.
25445 * conform/data/signal.h-data: Likewise.
25446 * conform/data/spawn.h-data: Likewise.
25447 * conform/data/stdio.h-data: Likewise.
25448 * conform/data/stdlib.h-data: Likewise.
25449 * conform/data/stropts.h-data: Likewise.
25450 * conform/data/sys/mman.h-data: Likewise.
25451 * conform/data/sys/stat.h-data: Likewise.
25452 * conform/data/sys/types.h-data: Likewise.
25453 * conform/data/sys/wait.h-data: Likewise.
25454 * conform/data/time.h-data: Likewise.
25455 * conform/data/unistd.h-data: Likewise.
25456 * conform/data/utime.h-data: Likewise.
25457
25458 * io/sys/stat.h: fchmod was always in POSIX.
25459 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25460 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25461 * rt/aio.h: Define __need_timespec before including <time.h>.
25462 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25463 struct. Add forward declaration of pthread_attr_t and use it in
25464 sigevent.
25465 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25466 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25467 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25468 always remove CLK_TCK definition.
25469
c20105c3
AS
254702012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25471
25472 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25473
7a270350
UD
254742012-02-25 Ulrich Drepper <drepper@gmail.com>
25475
31341567
UD
25476 * conform/run-conformtest.sh: New file.
25477 * conform/Makefile: Run run-conformtest for tests.
25478 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25479 support.
25480
25481 * conform/data/uchar.h-data: New file.
25482 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25483 * conform/data/arpa/inet.h-data: Likewise.
25484 * conform/data/assert.h-data: Likewise.
25485 * conform/data/complex.h-data: Likewise.
25486 * conform/data/cpio.h-data: Likewise.
25487 * conform/data/ctype.h-data: Likewise.
25488 * conform/data/dirent.h-data: Likewise.
25489 * conform/data/dlfcn.h-data: Likewise.
25490 * conform/data/errno.h-data: Likewise.
25491 * conform/data/fcntl.h-data: Likewise.
25492 * conform/data/float.h-data: Likewise.
25493 * conform/data/fmtmsg.h-data: Likewise.
25494 * conform/data/fnmatch.h-data: Likewise.
25495 * conform/data/ftw.h-data: Likewise.
25496 * conform/data/glob.h-data: Likewise.
25497 * conform/data/grp.h-data: Likewise.
25498 * conform/data/iconv.h-data: Likewise.
25499 * conform/data/inttypes.h-data: Likewise.
25500 * conform/data/langinfo.h-data: Likewise.
25501 * conform/data/libgen.h-data: Likewise.
25502 * conform/data/limits.h-data: Likewise.
25503 * conform/data/locale.h-data: Likewise.
25504 * conform/data/math.h-data: Likewise.
25505 * conform/data/monetary.h-data: Likewise.
25506 * conform/data/mqueue.h-data: Likewise.
25507 * conform/data/ndbm.h-data: Likewise.
25508 * conform/data/net/if.h-data: Likewise.
25509 * conform/data/netdb.h-data: Likewise.
25510 * conform/data/netinet/in.h-data: Likewise.
25511 * conform/data/nl_types.h-data: Likewise.
25512 * conform/data/poll.h-data: Likewise.
25513 * conform/data/pthread.h-data: Likewise.
25514 * conform/data/pwd.h-data: Likewise.
25515 * conform/data/regex.h-data: Likewise.
25516 * conform/data/sched.h-data: Likewise.
25517 * conform/data/search.h-data: Likewise.
25518 * conform/data/semaphore.h-data: Likewise.
25519 * conform/data/setjmp.h-data: Likewise.
25520 * conform/data/signal.h-data: Likewise.
25521 * conform/data/spawn.h-data: Likewise.
25522 * conform/data/stdarg.h-data: Likewise.
25523 * conform/data/stdio.h-data: Likewise.
25524 * conform/data/stdlib.h-data: Likewise.
25525 * conform/data/string.h-data: Likewise.
25526 * conform/data/strings.h-data: Likewise.
25527 * conform/data/stropts.h-data: Likewise.
25528 * conform/data/sys/ipc.h-data: Likewise.
25529 * conform/data/sys/mman.h-data: Likewise.
25530 * conform/data/sys/msg.h-data: Likewise.
25531 * conform/data/sys/resource.h-data: Likewise.
25532 * conform/data/sys/select.h-data: Likewise.
25533 * conform/data/sys/sem.h-data: Likewise.
25534 * conform/data/sys/shm.h-data: Likewise.
25535 * conform/data/sys/socket.h-data: Likewise.
25536 * conform/data/sys/stat.h-data: Likewise.
25537 * conform/data/sys/statvfs.h-data: Likewise.
25538 * conform/data/sys/time.h-data: Likewise.
25539 * conform/data/sys/timeb.h-data: Likewise.
25540 * conform/data/sys/times.h-data: Likewise.
25541 * conform/data/sys/types.h-data: Likewise.
25542 * conform/data/sys/uio.h-data: Likewise.
25543 * conform/data/sys/un.h-data: Likewise.
25544 * conform/data/sys/utsname.h-data: Likewise.
25545 * conform/data/sys/wait.h-data: Likewise.
25546 * conform/data/syslog.h-data: Likewise.
25547 * conform/data/tar.h-data: Likewise.
25548 * conform/data/termios.h-data: Likewise.
25549 * conform/data/utime.h-data: Likewise.
25550 * conform/data/utmpx.h-data: Likewise.
25551 * conform/data/varargs.h-data: Likewise.
25552 * conform/data/wchar.h-data: Likewise.
25553 * conform/data/wctype.h-data: Likewise.
25554 * conform/data/wordexp.h-data: Likewise.
25555
25556 * include/stropts.h: New file.
25557 * include/uchar.h: New file.
25558 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25559 * include/assert.h: Likewise.
25560 * include/ctype.h: Likewise.
25561 * include/dirent.h: Likewise.
25562 * include/dlfcn.h: Likewise.
25563 * include/fcntl.h: Likewise.
25564 * include/fnmatch.h: Likewise.
25565 * include/glob.h: Likewise.
25566 * include/grp.h: Likewise.
25567 * include/libio.h: Likewise.
25568 * include/locale.h: Likewise.
25569 * include/math.h: Likewise.
25570 * include/net/if.h: Likewise.
25571 * include/netdb.h: Likewise.
25572 * include/netinet/in.h: Likewise.
25573 * include/pthread.h: Likewise.
25574 * include/pwd.h: Likewise.
25575 * include/regex.h: Likewise.
25576 * include/sched.h: Likewise.
25577 * include/search.h: Likewise.
25578 * include/setjmp.h: Likewise.
25579 * include/signal.h: Likewise.
25580 * include/stdio.h: Likewise.
25581 * include/stdlib.h: Likewise.
25582 * include/string.h: Likewise.
25583 * include/sys/cdefs.h: Likewise.
25584 * include/sys/mman.h: Likewise.
25585 * include/sys/msg.h: Likewise.
25586 * include/sys/resource.h: Likewise.
25587 * include/sys/select.h: Likewise.
25588 * include/sys/socket.h: Likewise.
25589 * include/sys/stat.h: Likewise.
25590 * include/sys/statvfs.h: Likewise.
25591 * include/sys/time.h: Likewise.
25592 * include/sys/times.h: Likewise.
25593 * include/sys/uio.h: Likewise.
25594 * include/sys/utsname.h: Likewise.
25595 * include/sys/wait.h: Likewise.
25596 * include/termios.h: Likewise.
25597 * include/time.h: Likewise.
25598 * include/ulimit.h: Likewise.
25599 * include/unistd.h: Likewise.
25600 * include/utime.h: Likewise.
25601 * include/wchar.h: Likewise.
25602 * include/wctype.h: Likewise.
25603 * include/wordexp.h: Likewise.
25604
25605 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25606
7a270350
UD
25607 * time/time.h: TIME_UTC must be a macro.
25608 Make timespec_get available for ISO C11 only as well.
25609
7724defc
UD
256102012-02-24 Ulrich Drepper <drepper@gmail.com>
25611
25612 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25613 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25614
6b1d1d46
JM
256152012-02-24 Joseph Myers <joseph@codesourcery.com>
25616
25617 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25618
0f8bbd69
JM
256192012-02-24 Joseph Myers <joseph@codesourcery.com>
25620
25621 * manual/texinfo.tex: Update to version 2012-01-19.16.
25622
66ab80bc
JM
256232012-02-24 Joseph Myers <joseph@codesourcery.com>
25624
25625 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25626
74981cc5
RM
256272012-02-24 Roland McGrath <roland@hack.frob.com>
25628
ee968201
RM
25629 [BZ #13738]
25630 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25631 * manual/fdl-1.3.texi: New file.
25632 * manual/fdl-1.1.texi: File removed.
25633
74981cc5
RM
25634 [BZ #13738]
25635 * manual/libc.texinfo (FDL_VERSION): New @set.
25636 Use it for mention of FDL in cover text.
25637 (Documentation License): Use it in @include file name.
25638
7bb764bc
JM
256392012-02-22 Joseph Myers <joseph@codesourcery.com>
25640 Roland McGrath <roland@hack.frob.com>
25641
25642 [BZ #5461]
25643 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25644 not LONG_LONG_MAX and LONG_LONG_MIN.
25645 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25646 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25647 name.
25648 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25649
6cbeae47
JM
256502012-02-22 Joseph Myers <joseph@codesourcery.com>
25651
25652 [BZ #2547]
25653 [BZ #11365]
25654 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25655 manipulate bits before adding and subtracting TWO23[sx].
25656 * math/libm-test.inc (nearbyint_test): Add more tests.
25657
fe45ce09
JM
256582012-02-22 Joseph Myers <joseph@codesourcery.com>
25659
25660 [BZ #2548]
25661 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25662 bits before adding and subtracting TWO23[sx].
25663 * math/libm-test.inc (rint_test): Add more tests.
25664 (rint_test_tonearest): Likewise.
25665 (rint_test_towardzero): Likewise.
25666 (rint_test_downward): Likewise.
25667 (rint_test_upward: Likewise.
25668
ff3b3d82
JM
256692012-02-22 Joseph Myers <joseph@codesourcery.com>
25670
25671 [BZ #10110]
25672 * include/stdc-predef.h: New file. Extracted from features.h.
25673 * include/features.h: Include stdc-predef.h.
25674 * Makefile (headers): Add stdc-predef.h.
25675 * CONFORMANCE (Compiler limitations): Update.
25676
ef0aab35
JM
256772012-02-22 Joseph Myers <joseph@codesourcery.com>
25678
25679 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25680
58639409
DM
256812012-02-21 David S. Miller <davem@davemloft.net>
25682
25683 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25684 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25685
c0e70b25
DM
256862012-02-20 David S. Miller <davem@davemloft.net>
25687
25688 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25689 using a normal save/restore sequence, rather than allocating a
25690 dummy stack frame just to store a frame pointer and restore.
25691 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25692
fb06851d
JM
256932012-02-21 Joseph Myers <joseph@codesourcery.com>
25694
25695 * manual/install.texi: Fix stray word in line-wrapped comment.
25696
7a8b71c3
DM
256972012-02-20 David S. Miller <davem@davemloft.net>
25698
d510c123
DM
25699 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25700 both binutils and gcc support GOTDATA.
25701
0722d7c2
DM
25702 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25703 "rd %pc" in the PIC register setup sequences.
25704
3d2b3019
DM
25705 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25706 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25707 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25708 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25709 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25710 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25711 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25712 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25713 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25714 (SYSCALL_ERROR_HANDLER): Likewise.
25715 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25716 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25717 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25718 (SYSCALL_ERROR_HANDLER): Likewise.
25719
c80098a9
DM
25720 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25721 (HAVE_GCC_GOTDATA): New.
25722 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25723 relocation support in both binutils and gcc.
25724 * sysdeps/sparc/elf/configure: Regenerate.
25725
3a2545a0
DM
25726 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25727 * sysdeps/sparc/sparc32/elf/configure: Delete.
25728 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25729 * sysdeps/sparc/sparc64/elf/configure: Delete.
25730 * sysdeps/sparc/elf/configure.in: New file.
25731 * sysdeps/sparc/elf/configure: Generate.
25732
7a8b71c3
DM
25733 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25734 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25735 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25736 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25737 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25738
f1e86fca
JM
257392012-02-21 Joseph Myers <joseph@codesourcery.com>
25740
25741 * manual/install.texi: Do not mention specific glibc version
25742 numbers.
25743 * manual/libc.texinfo (VERSION, UPDATED): Update.
25744 (@copying): Use @copyright{} and range of years.
25745
0e7dfaef
JM
257462012-02-21 Joseph Myers <joseph@codesourcery.com>
25747
25748 [BZ #13695]
25749 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25750 [crti.S not in sysdirs] (generated): Do not append.
25751 [crti.S not in sysdirs] (omit-deps): Likewise.
25752 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25753 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25754 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25755 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25756 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25757 Likewise.
25758 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25759 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25760 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25761 * csu/defs.awk: Remove file.
25762 * sysdeps/generic/initfini.c: Likewise.
25763 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25764 variable.
25765 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25766 Likewise.
25767
599af3ca
JM
257682012-02-20 Joseph Myers <joseph@codesourcery.com>
25769
25770 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25771 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25772 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25773 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25774 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25775 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25776 <bits/epoll.h>.
25777 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25778 (__EPOLL_PACKED): Define to empty if not defined by
25779 <bits/epoll.h>.
25780 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25782 bits/epoll.h.
25783
0e499750
JM
257842012-02-20 Joseph Myers <joseph@codesourcery.com>
25785
25786 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25787 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25788 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25789 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25790 <bits/timerfd.h>.
25791 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25793 bits/timerfd.h.
25794
5ad91f6e
JM
257952012-02-20 Joseph Myers <joseph@codesourcery.com>
25796
25797 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25798 in C locale.
25799 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25800 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25801 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25803
06b99b02
AJ
258042012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25805
25806 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25807 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25808
7638c0fd
AS
258092012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25810
25811 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25812 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25813 defined.
25814 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25815 Likewise.
25816 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25817 entry for 2.16.
25818
92221550
AJ
258192012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25820
25821 * math/w_acos.c: Use non-signaling floating-point comparisons.
25822 * math/w_acosf.c: Likewise.
25823 * math/w_acosh.c: Likewise.
25824 * math/w_acoshf.c: Likewise.
25825 * math/w_acoshl.c: Likewise.
25826 * math/w_acosl.c: Likewise.
25827 * math/w_asin.c: Likewise.
25828 * math/w_asinf.c: Likewise.
25829 * math/w_asinl.c: Likewise.
25830 * math/w_atanh.c: Likewise.
25831 * math/w_atanhf.c: Likewise.
25832 * math/w_atanhl.c: Likewise.
25833 * math/w_exp2.c: Likewise.
25834 * math/w_exp2f.c: Likewise.
25835 * math/w_exp2l.c: Likewise.
25836 * math/w_j0.c: Likewise.
25837 * math/w_j0f.c: Likewise.
25838 * math/w_j0l.c: Likewise.
25839 * math/w_j1.c: Likewise.
25840 * math/w_j1f.c: Likewise.
25841 * math/w_j1l.c: Likewise.
25842 * math/w_jn.c: Likewise.
25843 * math/w_jnf.c: Likewise.
25844 * math/w_log.c: Likewise.
25845 * math/w_log10.c: Likewise.
25846 * math/w_log10f.c: Likewise.
25847 * math/w_log10l.c: Likewise.
25848 * math/w_log2.c: Likewise.
25849 * math/w_log2f.c: Likewise.
25850 * math/w_log2l.c: Likewise.
25851 * math/w_logf.c: Likewise.
25852 * math/w_logl.c: Likewise.
25853 * math/w_sqrt.c: Likewise.
25854 * math/w_sqrtf.c: Likewise.
25855 * math/w_sqrtl.c: Likewise.
25856 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25857 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25858 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25859 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25860 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25861
ebaf36eb
JM
258622012-02-19 Joseph Myers <joseph@codesourcery.com>
25863
25864 [BZ #9739]
25865 * manual/string.texi (strnlen): Use correct parameter name in
25866 equivalent expression.
25867
71c254a6
JM
258682012-02-19 Joseph Myers <joseph@codesourcery.com>
25869
25870 [BZ #11174]
25871 * manual/users.texi (seteuid): Consistently use neweuid for
25872 argument name.
25873
16d2c631
JM
258742012-02-19 Joseph Myers <joseph@codesourcery.com>
25875
25876 [BZ #13704]
25877 * manual/nss.texi (Services in the NSS configuration): Correct
25878 list of services in example configuration file.
25879
cd837b09
NB
258802012-02-19 Nick Bowler <nbowler@draconx.ca>
25881
25882 [BZ #11322]
25883 * manual/arith.texi: Remove statements about negative zero
25884 behaving identically to zero.
25885
02c4bbad
JM
258862012-02-18 Joseph Myers <joseph@codesourcery.com>
25887
25888 [BZ #5993]
25889 * manual/install.texi: Do not document upgrading from libc5.
25890
366842e7
JM
258912012-02-18 Joseph Myers <joseph@codesourcery.com>
25892
25893 [BZ #4596]
25894 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25895
dd54084d
DM
258962012-02-18 David S. Miller <davem@davemloft.net>
25897
25898 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25899 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25900 %o7 across the call.
25901 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25902 instead.
25903 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25904 SETUP_PIC_REG_LEAF.
25905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25906 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25907 * sysdeps/sparc/crtn.S: Likewise.
25908
2bcc53a3
UD
259092012-02-17 Ulrich Drepper <drepper@gmail.com>
25910
25911 * aout/Makefile: Remove.
25912
09c093b5
RK
259132012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25914
25915 [BZ #13058]
25916 * manual/examples/argp-ex1.c (main): Format definition in GNU
25917 style.
25918 * manual/examples/argp-ex2.c (main): Likewise.
25919 * manual/examples/argp-ex3.c (main): Likewise.
25920 * manual/examples/argp-ex4.c (main): Likewise.
25921 * manual/examples/longopt.c (main): Use new-style prototype
25922 definition.
25923 * manual/examples/strncat.c (main): Specify return type and use
25924 (void) for arguments.
25925 * manual/examples/subopt.c (main): Use char **argv argument.
25926
2ee633a2
JM
259272012-02-17 Joseph Myers <joseph@codesourcery.com>
25928
25929 [BZ #5077]
25930 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25931 rounding modes.
25932
0520adde
FB
259332012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25934
25935 [BZ #6907]
25936 * manual/string.texi (strchr): Change when strchrnul is
25937 recommended.
25938
3f4081cd
DGM
259392012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25940
25941 [BZ #174]
25942 * manual/locale.texi (setlocale): Document LOCPATH.
25943
d1b10e78
JM
259442012-02-17 Joseph Myers <joseph@codesourcery.com>
25945
25946 [BZ #10210]
25947 * manual/process.texi (execle): Move @dots{} before last argument.
25948
79c6869c
PB
259492012-02-17 Paul Bolle <pebolle@tiscali.nl>
25950
25951 [BZ #12047]
25952 * manual/charset.texi (Generic Charset Conversion): Fix typo
25953 (LC_TYPE -> LC_CTYPE).
25954
cc6e48bc
NB
259552012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25956
25957 [BZ #5805]
25958 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25959 (scalbnf): Likewise.
25960 (scalbnl): Likewise.
25961 (scalbln): Likewise.
25962 (scalblnf): Likewise.
25963 (scalblnl): Likewise.
25964 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25965 (vwarnx): Likewise.
25966 (verr): Likewise.
25967 (verrx): Likewise.
25968 * manual/filesys.texi (telldir): Use braces around return type.
25969 * manual/llio.texi (mmap): Add space after comma.
25970 (mmap64): Likewise.
25971 * manual/math.texi (jn): Use @var{} on parameter names.
25972 (jnf): Likewise.
25973 (jnl): Likewise.
25974 (yn): Likewise.
25975 (ynf): Likewise.
25976 (ynl): Likewise.
25977 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25978 line.
25979 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25980 "...".
25981 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25982 (sched_get_priority_max): Likewise.
25983 * manual/signal.texi (sigvec): Add space after comma.
25984 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25985 names.
25986 (if_indextoname): Likewise.
25987 (if_freenameindex): Likewise.
25988 (sendto): Use ',' instead of '.' in prototype.
25989 * manual/startup.texi (syscall): Use @dots{} instead of literal
25990 "...".
25991 * manual/stdio.texi (__fpending): Separate initial words of
25992 paragraph from @deftypefun line.
25993 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25994 "...".
25995 (vsyslog): Use @var{} on parameter names.
25996 * manual/terminal.texi (stty): Use @var{} on parameter names.
25997 * manual/users.texi (getutmp): Use @var{} on parameter names.
25998 (getutmpx): Likewise.
25999
5b23062f
JM
260002012-02-17 Joseph Myers <joseph@codesourcery.com>
26001
26002 [BZ #6884]
26003 * manual/stdio.texi (fopen): Fix typos in description of
26004 ",ccs=STRING".
26005
8dee4833
AJ
260062012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26007
26008 [BZ #4026]
26009 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26010 get clock_id definition.
26011
9078ce93
TS
260122012-02-17 Thomas Schwinge <thomas@schwinge.name>
26013
26014 [BZ #4822]
26015 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26016 (madvise): Cast every argument to void on its own.
26017
3835c55f
JM
260182012-02-17 Joseph Myers <joseph@codesourcery.com>
26019
26020 [BZ #9902]
26021 * manual/startup.texi (Exit Status): Fix typo.
26022
35c47e37
JM
260232012-02-17 Joseph Myers <joseph@codesourcery.com>
26024
26025 [BZ #10140]
26026 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26027 * manual/examples/argp-ex2.c: Likewise.
26028 * manual/examples/argp-ex3.c: Likewise.
26029
e3b69ca7
RH
260302012-02-16 Richard Henderson <rth@redhat.com>
26031
26032 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26033 * sysdeps/s390/s390-32/initfini.c: Remove.
26034 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26035 * sysdeps/s390/s390-64/initfini.c: Remove.
26036
df83af67
KK
260372012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26038
26039 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26040 compiler output for sysdeps/generic/initfini.c.
26041 * sysdeps/sh/elf/initfini.c: Remove file.
26042
f63f3380
DM
260432012-02-16 David S. Miller <davem@davemloft.net>
26044
fb59b3a4
DM
26045 [BZ #11494]
26046 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26047
f63f3380
DM
26048 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26049 * sysdeps/sparc/crti.S: New file.
26050 * sysdeps/sparc/crtn.S: New file.
26051 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26052 * sysdeps/sparc/sparc64/Makefile: Likewise.
26053
df6a4a4a
MF
260542012-02-15 Mike Frysinger <vapier@gentoo.org>
26055
6dd8f3dc 26056 [BZ #3335]
df6a4a4a
MF
26057 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26058
1cac7236
RM
260592012-02-15 Roland McGrath <roland@hack.frob.com>
26060
d2c736f8
RM
26061 [BZ #4822]
26062 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26063
1cac7236
RM
26064 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26065 (write, read, close): Likewise.
26066 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26067
8e475601
JM
260682012-02-15 Joseph Myers <joseph@codesourcery.com>
26069
26070 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26071 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26072 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26073 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26074 <bits/signalfd.h>.
26075 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26077 bits/signalfd.h.
26078
ed656b40
MP
260792012-02-14 Marek Polacek <polacek@redhat.com>
26080
26081 * sysdeps/x86_64/crti.S: New file.
26082 * sysdeps/x86_64/crtn.S: New file.
26083 * sysdeps/x86_64/elf/initfini.c: Remove file.
26084
2a979d3a
JM
260852012-02-13 Joseph Myers <joseph@codesourcery.com>
26086
26087 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26088 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26089 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26090 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26091 <bits/inotify.h>.
26092 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26094 bits/inotify.h.
26095
2a418ac3
JM
260962012-02-13 Joseph Myers <joseph@codesourcery.com>
26097
26098 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26099 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26100 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26101 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26102 <bits/eventfd.h>.
26103 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26105 bits/eventfd.h.
26106
fb779be7
TS
261072012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26108
e19e83c5
RM
26109 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26110 __feraiseexcept instead of feraiseexcept.
7c35ffed 26111
fb779be7
TS
26112 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26113 nanosleep invocations.
26114 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26115 strings, and add error checking for a nanosleep invocations.
26116
59ba27a6
PE
261172012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26118
26119 Replace FSF snail mail address with URLs, as per GNU coding standards.
26120 Most of the snail mail addresses were wrong anyway, and omitting
26121 them makes the source code easier to maintain. Almost all of the
26122 changes are to license notices and to locale LC_IDENTIFICATION
26123 addresses, except for this one:
26124 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26125 not its snail mail address.
26126
57b957eb
RH
261272012-02-09 Richard Henderson <rth@twiddle.net>
26128
af850b1c
RH
26129 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26130 of kernel-features.h.
26131
57b957eb
RH
26132 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26133
6b73181a
MP
261342012-02-08 Marek Polacek <polacek@redhat.com>
26135
26136 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26137 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26138 * sysdeps/gnu/_G_config.h: Likewise.
26139 * sysdeps/generic/_G_config.h: Likewise.
26140
26ecc33a
AS
261412012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26142
6c6dbc63
AS
26143 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26144 tests.
26145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26146
e216c012
AS
26147 * sysdeps/powerpc/powerpc32/crti.S: New file.
26148 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26149 * sysdeps/powerpc/powerpc64/crti.S: New file.
26150 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26151
26ecc33a
AS
26152 * Makeconfig (have-initfini): Don't set.
26153 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26154 * configure.in (nopic_initfini): Don't substitute.
26155 * config.h.in (HAVE_INITFINI): Don't #undef.
26156 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26157 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26158
3add8e13
JM
261592012-02-08 Joseph Myers <joseph@codesourcery.com>
26160
26161 Support crti.S and crtn.S provided directly by architectures.
26162 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26163 [crti.S in sysdirs] (omit-deps): Likewise.
26164 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26165 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26166 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26167 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26168 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26169 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26170 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26171 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26172 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26173 compiler output for sysdeps/generic/initfini.c.
26174 * sysdeps/i386/elf/Makefile: Remove file.
26175 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26176
a22f12b4
MP
261772012-02-07 Marek Polacek <polacek@redhat.com>
26178
26179 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26180 * sysdeps/gnu/_G_config.h: Likewise.
26181 * sysdeps/mach/hurd/_G_config.h: Likewise.
26182
148cf100
MP
261832012-02-07 Marek Polacek <polacek@redhat.com>
26184
26185 * math/Makefile (tests): Add tst-CMPLX2.
26186 * math/tst-CMPLX2.c: New file.
26187
cfdc0dd7
AS
261882012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26189
84ba42c4
AS
26190 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26191
cfdc0dd7
AS
26192 * math/libm-test.inc (jn_test): Add missing L suffix.
26193
622c86f4
MP
261942012-02-06 Marek Polacek <polacek@redhat.com>
26195
26196 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26197 * sysdeps/i386/fpu/e_powf.S: Likewise.
26198 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26199 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26200 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26201 * sysdeps/i386/fpu/e_pow.S: Likewise.
26202 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26203 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26204 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26205 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26206 * sysdeps/i386/fpu/e_log2.S: Likewise.
26207 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26208 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26209 * sysdeps/i386/fpu/e_powl.S: Likewise.
26210 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26211 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26212 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26213 * sysdeps/i386/fpu/e_logl.S: Likewise.
26214 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26215 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26216 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26217 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26218 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26219 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26220 * sysdeps/i386/fpu/e_log.S: Likewise.
26221 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26222 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26223 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26224 * sysdeps/i386/fpu/e_logf.S: Likewise.
26225 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26226 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26227 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26228 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26229 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26230 * sysdeps/i386/fpu/e_log10.S: Likewise.
26231 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26232 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26233 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26234 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26235 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26236 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26237 * sysdeps/i386/asm-syntax.h: Likewise.
26238 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26239 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26240 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26241 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26242 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26243 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26244 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26245 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26246 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26247 * sysdeps/powerpc/sysdep.h: Likewise.
26248 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26249 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26250
d4a54ac6
JM
262512012-02-06 Joseph Myers <joseph@codesourcery.com>
26252
26253 [BZ #411]
26254 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26255
314054ea
JM
262562012-02-06 Joseph Myers <joseph@codesourcery.com>
26257
26258 * sysdeps/i386/sysdep.h: Include <features.h>.
26259 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26260 version.
26261
d8e0ca50
JM
262622012-02-05 Joseph Myers <joseph@codesourcery.com>
26263
26264 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26265 Define.
26266 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26267 LOAD_PIC_REG_STR.
26268
b1da7dd9
JM
262692012-02-03 Joseph Myers <joseph@codesourcery.com>
26270
26271 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26272 (SETUP_PIC_REG): Use GET_PC_THUNK.
26273 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26274 macro.
26275
9a1d9254
JM
262762012-02-03 Joseph Myers <joseph@codesourcery.com>
26277
26278 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26279 for non-PIC compilation.
26280 (SETUP_PIC_REG): Add .p2align directive.
26281 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26282 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26283 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26284 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26285 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26286 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26287 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26288 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26289 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26290 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26291 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26292 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26293 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26294 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26295 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26296 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26297 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26298 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26299 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26300 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26301 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26302 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26303 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26304 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26305 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26306 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26307 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26308 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26309 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26310 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26311 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26312 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26313 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26314 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26315 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26316 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26317 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26318 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26319 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26320 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26321 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26322
65dc3b75
JM
263232012-02-03 Joseph Myers <joseph@codesourcery.com>
26324
26325 * math/tst-CMPLX.c: Include <stdio.h>.
26326
d55bf177
JM
263272012-01-31 Joseph Myers <joseph@codesourcery.com>
26328
26329 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26330 float.
26331 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26332 * sysdeps/sparc/bits/mathdef.h: Likewise.
26333
69db4f8f
MP
263342012-01-31 Marek Polacek <polacek@redhat.com>
26335
26336 * libio/libio.h: Don't define _PARAMS.
26337 * locale/programs/config.h: Don't define PARAMS.
26338 * stdlib/strtol_l.c: Likewise.
26339 (__strtol_l): Remove PARAMS from the prototype.
26340
41b81892
UD
263412012-01-31 Ulrich Drepper <drepper@gmail.com>
26342
3b49edc0
UD
26343 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26344 names. Just use the correct names. Remove unnecessary wrapper
26345 functions.
26346 * malloc/arena.c: Likewise.
26347 * malloc/hooks.c: Likewise.
26348
41b81892
UD
26349 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26350 ARENA_TEST says not to. Simplify test for creation of a new arena.
26351 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26352
27a25b6e
UD
263532012-01-30 Ulrich Drepper <drepper@gmail.com>
26354
26355 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26356 into tail calls.
26357 (update_get_addr): New function.
26358 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26359 GET_ADDR_MODULE parameter.
26360
c8a89e7d
JM
263612012-01-30 Joseph Myers <joseph@codesourcery.com>
26362
26363 * crypt/cert.c: Remove __STDC__ conditionals.
26364 * crypt/crypt-entry.c: Likewise.
26365 * crypt/crypt_util.c: Likewise.
26366 * libio/filedoalloc.c: Likewise.
26367 * libio/fileops.c: Likewise.
26368 * libio/genops.c: Likewise.
26369 * libio/iofclose.c: Likewise.
26370 * libio/iofdopen.c: Likewise.
26371 * libio/iofopen.c: Likewise.
26372 * libio/iofopen64.c: Likewise.
26373 * libio/iogetdelim.c: Likewise.
26374 * libio/iopopen.c: Likewise.
26375 * libio/obprintf.c: Likewise.
26376 * libio/oldfileops.c: Likewise.
26377 * libio/oldiofclose.c: Likewise.
26378 * libio/oldiofdopen.c: Likewise.
26379 * libio/oldiofopen.c: Likewise.
26380 * libio/oldiopopen.c: Likewise.
26381 * libio/wfiledoalloc.c: Likewise.
26382 * libio/wgenops.c: Likewise.
26383 * locale/programs/xmalloc.c: Likewise.
26384 * misc/syslog.c: Likewise.
26385 * stdio-common/xbug.c: Likewise.
26386 * string/memchr.c: Likewise.
26387 * string/memcmp.c: Likewise.
26388 * string/memrchr.c: Likewise.
26389 * string/rawmemchr.c: Likewise.
26390 * sysdeps/posix/getcwd.c: Likewise.
26391 * time/strftime_l.c: Likewise.
26392
3b100462
JM
263932012-01-30 Joseph Myers <joseph@codesourcery.com>
26394
26395 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
26396 * config.make.in (config-cflags-sse2avx): Define.
26397 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26398 Fix typo.
26399
607998af
CM
264002012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26401
26402 * scripts/config.guess: Update from upstream config git repository.
26403 * scripts/config.sub: Likewise.
26404
3601428f
CM
264052012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26406
3ac8b282
CM
26407 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26408 (EM_NUM): Update.
26409 (R_TILEPRO_*, R_TILEGX_*): New macros.
26410
e034841e
CM
26411 * scripts/firstversions.awk: Fix bug in version range handling.
26412
540d7568
CM
26413 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26414
3601428f
CM
26415 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26416
463de862
CM
26417 * include/sys/epoll.h: New file.
26418 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26419 libc_hidden_def.
26420
73139a76
UD
264212012-01-28 Ulrich Drepper <drepper@gmail.com>
26422
96bc5b45
UD
26423 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26424 Avoid unnecessary __WORDSIZE == 64 test.
26425 (fmaxf): Use VEX format if possible.
26426 (fmax): Likewise.
26427 (fminf): Likewise.
26428 (fmin): Likewise.
26429
56f6f6a2
UD
26430 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26431 * math/math_private.h: Remove libc_fegetround* and
26432 libc_fesetround*.
26433 * sysdeps/i386/configure.in: Check for -msse2avx.
26434 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26435 also if SSE2AVX is defined.
26436 Remove libc_fegetround* and libc_fesetround*.
26437 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26438 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26439 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26440 of HAS_YMM_USABLE.
26441 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26442 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26443 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26444 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26445 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26446
73139a76
UD
26447 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26448
d73f93a4
AZ
264492012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26450
26451 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26452 size is not set.
26453 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26454
6ee65ed6
UD
264552012-01-27 Ulrich Drepper <drepper@gmail.com>
26456
26457 [BZ #13618]
26458 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26459 relocation.
26460 * Makeconfig (libm): Define.
26461 * elf/Makefile: Add rules to build and run tst-relsort1.
26462 * elf/tst-relsort1.c: New file.
26463 * elf/tst-relsort1mod1.c: New file.
26464 * elf/tst-relsort1mod2.c: New file.
26465
8db21882
JM
264662012-01-27 Joseph Myers <joseph@codesourcery.com>
26467
26468 * math/s_ldexp.c: Remove __STDC__ conditionals.
26469 * math/s_ldexpf.c: Likewise.
26470 * math/s_ldexpl.c: Likewise.
26471 * math/s_nextafter.c: Likewise.
26472 * math/s_nexttowardf.c: Likewise.
26473 * math/s_significand.c: Likewise.
26474 * math/s_significandf.c: Likewise.
26475 * math/s_significandl.c: Likewise.
26476 * math/w_jnl.c: Likewise.
26477 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26478 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26479 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26480 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26481 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26482 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26483 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26484 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26485 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26486 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26487 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26488 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26489 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26490 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26491 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26492 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26493 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26494 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26495 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26496 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26497 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26498 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26499 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26500 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26501 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26502 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26503 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26504 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26505 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26506 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26507 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26508 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26509 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26510 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26511 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26512 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26513 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26514 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26515 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26516 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26517 * sysdeps/ieee754/k_standard.c: Likewise.
26518 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26519 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26520 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26521 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26522 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26523 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26524 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26525 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26526 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26527 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26528 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26529 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26530 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26531 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26532 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26533 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26534 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26535 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26536 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26537 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26538 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26539 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26540 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26541 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26542 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26543 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26544 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26545 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26546 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26547 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26548 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26549 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26550 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26551 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26552 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26553 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26554 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26555 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26556 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26557 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26558 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26559 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26560 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26561 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26562 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26563 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26564 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26565 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26566 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26567 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26568 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26569 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26570 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26571 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26572 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26573 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26574 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26575 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26576 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26577 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26578 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26579 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26580 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26581 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26582 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26583 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26584 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26585 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26586 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26587 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26588 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26589 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26590 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26591 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26592 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26593 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26594 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26595 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26596 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26597 * sysdeps/ieee754/s_matherr.c: Likewise.
26598 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26599 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26600 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26601 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26602
965a54a4
JM
266032012-01-26 Joseph Myers <joseph@codesourcery.com>
26604
26605 * crypt/md5.h: Remove __STDC__ conditionals.
26606 * libio/libioP.h: Likewise.
26607 * locale/programs/config.h: Likewise.
26608 * sysdeps/generic/sysdep.h: Likewise.
26609 * sysdeps/i386/asm-syntax.h: Likewise.
26610 * sysdeps/s390/asm-syntax.h: Likewise.
26611 * sysdeps/unix/sysdep.h: Likewise.
26612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26614
7071ad79
JM
266152012-01-26 Joseph Myers <joseph@codesourcery.com>
26616
26617 * libio/libio.h: Remove __STDC__ conditionals.
26618 * malloc/obstack.h: Likewise.
26619 * math/complex.h: Likewise.
26620 * math/math.h: Likewise.
26621 * sysdeps/generic/_G_config.h: Likewise.
26622 * sysdeps/gnu/_G_config.h: Likewise.
26623 * sysdeps/mach/hurd/_G_config.h: Likewise.
26624 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26625 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26626 * sysdeps/sparc/bits/mathdef.h: Likewise.
26627
afc5ed09
UD
266282012-01-26 Ulrich Drepper <drepper@gmail.com>
26629
26630 [BZ #13583]
26631 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26632 Clean up HAS_* macros.
afc5ed09 26633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26634 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26635 possible.
26636 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26637 HAS_AVX.
26638 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26639 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26640 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26641 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26642 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26643
bdb6de1d
JM
266442012-01-25 Joseph Myers <joseph@codesourcery.com>
26645
26646 * elf/tst-unique3.cc (gets): Remove declaration.
26647 * elf/tst-unique3lib.cc (gets): Likewise.
26648 * elf/tst-unique3lib2.cc (gets): Likewise.
26649 * elf/tst-unique4.cc (gets): Likewise.
26650
b15549e6
UD
266512012-01-24 Ulrich Drepper <drepper@gmail.com>
26652
26653 * include/stdio.h: Add C++ protection. Add gets declarations and
26654 definitions.
26655 * debug/tst-chk1.c: Don't declare gets here.
26656 * stdio-common/tst-gets.c: Likewise.
26657
a037381f
JM
266582012-01-24 Joseph Myers <joseph@codesourcery.com>
26659
26660 * posix/glob: Remove directory.
26661
f1d4aa75
JM
266622012-01-24 Joseph Myers <joseph@codesourcery.com>
26663
26664 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26665
81c0c964
PT
266662012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26667
26668 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26669 of the non-standard EPFNOSUPPORT.
26670
0ea698ae
ST
266712011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26672
26673 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26674 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26675 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26676
d220b117
UD
266772012-01-21 Ulrich Drepper <drepper@gmail.com>
26678
26679 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26680
3e1aa84e
UD
266812012-01-20 Ulrich Drepper <drepper@gmail.com>
26682
26683 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26684 transient errors.
26685 * nscd/grpcache.c (cache_addgr): Likewise.
26686 * nscd/hstcache.c (cache_addhst): Likewise.
26687 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26688 * nscd/pwdcache.c (cache_addpw): Likewise.
26689 * nscd/servicescache.c (cache_addserv): Likewise.
26690
400aa020
UD
266912012-01-16 Ulrich Drepper <drepper@gmail.com>
26692
d77e7869
UD
26693 * malloc/malloc.c: Various cleanups.
26694 * malloc/hooks.c: Likewise.
26695
400aa020
UD
26696 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26697 * stdlib/bug-fmtmsg1.c: New file.
26698
26699 * stdlib/fmtmsg.c (init): Add missing unlock.
26700 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26701
e0a309cf
MP
267022012-01-12 Marek Polacek <polacek@redhat.com>
26703
26704 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26705 and _GNU_SOURCE.
26706
929d11c7
WS
267072012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26708
26709 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26710 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26711 macro to ensure uniqueness of label name.
26712 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26713 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26714
41d0e869
UD
267152012-01-11 Ulrich Drepper <drepper@gmail.com>
26716
0cc5ed3b
UD
26717 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26718
41d0e869
UD
26719 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26720 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26721 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26722 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26723
a47a831a
UD
267242012-01-10 Ulrich Drepper <drepper@gmail.com>
26725
daa891c0
UD
26726 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26727
26728 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26729 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26730 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26731
e58ef0f2
UD
26732 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26733
a47a831a 26734 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26735 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26736 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26737 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26738
26739 * math/bits/math-finite.h: Add ldexp support.
26740
a0bfc9c7
MP
267412012-01-10 Marek Polacek <polacek@redhat.com>
26742
26743 * locale/programs/localedef.h (show_archive_content): Add noreturn
26744 attribute.
26745
d6e97a1d
UD
267462012-01-09 Ulrich Drepper <drepper@gmail.com>
26747
26748 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26749
d5835c26
UD
267502012-01-08 Ulrich Drepper <drepper@gmail.com>
26751
e5f484c6
UD
26752 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26753
d5835c26
UD
26754 * io/Makefile (headers): Add bits/poll2.h.
26755
d1f741e9
WS
267562011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26757
26758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26759 typo #include statement.
26760
ec09c1c4
UD
267612012-01-08 Ulrich Drepper <drepper@gmail.com>
26762
26763 * include/sys/cdefs.h: Define __attribute_alloc_size.
26764 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26765 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26766 * elf/pldd.c: Likewise.
26767 * iconv/iconv_charmap.c: Likewise.
26768 * iconv/iconvconfig.c: Likewise.
26769 * iconv/strtab.c: Likewise.
26770 * locale/programs/locale.c: Likewise.
26771 * locale/programs/localedef.h: Likewise.
26772 * locale/programs/simple-hash.c: Likewise.
26773 * nscd/nscd.h: Likewise.
26774 * nss/makedb.c: Likewise.
26775 * sysdeps/generic/ldconfig.h: Likewise.
26776 * locale/programs/localedef.c: Remove xmalloc prototype.
26777 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26778
20b38e03
PP
267792012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26780
26781 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26782 appropriate.
26783
a0da5fe1
UD
267842012-01-08 Ulrich Drepper <drepper@gmail.com>
26785
1d5a644a 26786 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26787 * math/tst-CMPLX.c: New file.
1d5a644a 26788
8784a6db
UD
26789 * math/complex.h (CMPLXL): Fix typo.
26790
d9a216c0
UD
26791 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26792 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26793 GLIBC_2.16.
26794 * debug/tst-chk1.c: Add poll and ppoll tests.
26795 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26796 * include/sys/poll.h: Add hidden proto for ppoll.
26797 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26798 * sysdeps/mach/hurd/ppoll.c: Likewise.
26799 * io/ppoll.c: Likewise.
26800 * debug/poll_chk.c: New file.
26801 * debug/ppoll_chk.c: New file.
26802 * include/bits/poll2.h: New file.
26803 * io/bits/poll2.h: New file.
26804
ac097f5c
UD
26805 [BZ #1350]
26806 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26807
2119dcfa
UD
26808 * configure.in: static is always set to yes. Remove.
26809 * config.make.in: Don't set build-static.
26810 * Makeconfig: Remove use of build-static.
26811 * dlfcn/Makefile: Likewise.
26812 * elf/Makefile: Likewise.
26813 * math/Makefile: Likewise.
26814 * misc/Makefile: Likewise.
26815 * nptl/Makefile: Likewise.
26816 * sysdeps/mach/hurd/Makefile: Likewise.
26817
121766a9
UD
26818 * configure.in: PWD_P is not used anymore.
26819 * config.make.in: Remove PWD_P entry.
26820
51a1d39c 26821 * configure.in: Remove last remnants of RANLIB.
8720d066 26822 No need to check for signed size_t anymore.
215f4bdc
UD
26823 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26824 and IA-64.
3857022a 26825 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26826 * aclocal.m4: Likewise.
26827
d3ed7225
UD
26828 * wcsmbs/mbrtoc16.c: Implement using towc function.
26829 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26830 * wcsmbs/wcsmbsload.c: Likewise.
26831 * iconv/gconv_simple.c: Likewise.
26832 * iconv/gconv_int.h: Likewise.
26833 * iconv/gconv_builtin.h: Likewise.
26834 * iconv/iconv_prog.c: Remove CHAR16 handling.
26835
26836 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26837
26838 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26839
a0da5fe1
UD
26840 * configure.in: Remove --with-elf and --enable-bounded options.
26841 Dont set base_machine for ia64. More non-ELF conditions removed.
26842 Remove testing and setting of leading underscore information.
26843 * config.make.in (build-bounded): Set to no.
26844 * config.h.in: Remove NO_UNDERSCORES entry.
26845 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26846 them.
26847 * csu/start.c: Remove !NO_UNDERSCORE code.
26848 * locale/localeinfo.h: Likewise.
26849 * sysdeps/generic/machine-gmon.h: Likewise.
26850 * sysdeps/generic/sysdep.h: Likewise.
26851 * sysdeps/i386/sysdep.h: Likewise.
26852 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26853 * sysdeps/mach/sysdep.h: Likewise.
26854 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26855 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26856 * sysdeps/sh/sysdep.h: Likewise.
26857 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26858 * sysdeps/unix/i386/sysdep.S: Likewise.
26859 * sysdeps/unix/sparc/start.c: Likewise.
26860 * sysdeps/unix/sparc/sysdep.S: Likewise.
26861 * sysdeps/unix/sparc/sysdep.h: Likewise.
26862 * sysdeps/unix/start.c: Likewise.
26863 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26864 * sysdeps/x86_64/sysdep.h: Likewise.
26865
df78418a
UD
268662012-01-07 Ulrich Drepper <drepper@gmail.com>
26867
a784e502
UD
26868 [BZ #13553]
26869 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26870 for non-gcc.
26871 * argp/argp-fmtstream.h: Use const instead __const.
26872 * argp/argp.h: Likewise.
26873 * assert/assert.h: Likewise.
26874 * bits/fenv.h: Likewise.
26875 * bits/sched.h: Likewise.
26876 * bits/sigset.h: Likewise.
26877 * bits/sigthread.h: Likewise.
26878 * catgets/nl_types.h: Likewise.
26879 * conform/data/pthread.h-data: Likewise.
26880 * crypt/crypt-private.h: Likewise.
26881 * crypt/crypt.h: Likewise.
26882 * crypt/crypt_util.c: Likewise.
26883 * ctype/ctype.h: Likewise.
26884 * debug/execinfo.h: Likewise.
26885 * debug/mbsnrtowcs_chk.c: Likewise.
26886 * debug/mbsrtowcs_chk.c: Likewise.
26887 * debug/wcsnrtombs_chk.c: Likewise.
26888 * debug/wcsrtombs_chk.c: Likewise.
26889 * debug/wcstombs_chk.c: Likewise.
26890 * dirent/dirent.h: Likewise.
26891 * dlfcn/dlfcn.h: Likewise.
26892 * elf/neededtest4.c: Likewise.
26893 * grp/grp.h: Likewise.
26894 * gshadow/gshadow.h: Likewise.
26895 * iconv/gconv.h: Likewise.
26896 * iconv/gconv_int.h: Likewise.
26897 * iconv/gconv_simple.c: Likewise.
26898 * iconv/iconv.h: Likewise.
26899 * iconv/loop.c: Likewise.
26900 * iconv/skeleton.c: Likewise.
26901 * include/aio.h: Likewise.
26902 * include/aliases.h: Likewise.
26903 * include/argz.h: Likewise.
26904 * include/arpa/inet.h: Likewise.
26905 * include/assert.h: Likewise.
26906 * include/dirent.h: Likewise.
26907 * include/dlfcn.h: Likewise.
26908 * include/execinfo.h: Likewise.
26909 * include/fcntl.h: Likewise.
26910 * include/fenv.h: Likewise.
26911 * include/glob.h: Likewise.
26912 * include/grp.h: Likewise.
26913 * include/libintl.h: Likewise.
26914 * include/mntent.h: Likewise.
26915 * include/netdb.h: Likewise.
26916 * include/pwd.h: Likewise.
26917 * include/rpc/netdb.h: Likewise.
26918 * include/sched.h: Likewise.
26919 * include/search.h: Likewise.
26920 * include/shadow.h: Likewise.
26921 * include/signal.h: Likewise.
26922 * include/stdio.h: Likewise.
26923 * include/stdlib.h: Likewise.
26924 * include/string.h: Likewise.
26925 * include/sys/socket.h: Likewise.
26926 * include/sys/stat.h: Likewise.
26927 * include/sys/statfs.h: Likewise.
26928 * include/sys/statvfs.h: Likewise.
26929 * include/sys/syslog.h: Likewise.
26930 * include/sys/time.h: Likewise.
26931 * include/sys/uio.h: Likewise.
26932 * include/time.h: Likewise.
26933 * include/unistd.h: Likewise.
26934 * include/utmp.h: Likewise.
26935 * include/wchar.h: Likewise.
26936 * include/wctype.h: Likewise.
26937 * inet/aliases.h: Likewise.
26938 * inet/arpa/inet.h: Likewise.
26939 * inet/netinet/ether.h: Likewise.
26940 * inet/netinet/in.h: Likewise.
26941 * intl/libintl.h: Likewise.
26942 * io/bits/fcntl2.h: Likewise.
26943 * io/fcntl.h: Likewise.
26944 * io/ftw.h: Likewise.
26945 * io/sys/poll.h: Likewise.
26946 * io/sys/stat.h: Likewise.
26947 * io/sys/statfs.h: Likewise.
26948 * io/sys/statvfs.h: Likewise.
26949 * io/utime.h: Likewise.
26950 * libio/bits/stdio.h: Likewise.
26951 * libio/bits/stdio2.h: Likewise.
26952 * libio/libio.h: Likewise.
26953 * libio/libioP.h: Likewise.
26954 * libio/stdio.h: Likewise.
26955 * locale/lc-ctype.c: Likewise.
26956 * locale/locale.h: Likewise.
26957 * login/utmp.h: Likewise.
26958 * malloc/arena.c: Likewise.
26959 * malloc/malloc.c: Likewise.
26960 * malloc/malloc.h: Likewise.
26961 * malloc/mcheck.c: Likewise.
26962 * malloc/mtrace.c: Likewise.
26963 * math/bits/mathcalls.h: Likewise.
26964 * math/fenv.h: Likewise.
26965 * math/math_private.h: Likewise.
26966 * misc/bits/error.h: Likewise.
26967 * misc/bits/syslog.h: Likewise.
26968 * misc/err.h: Likewise.
26969 * misc/error.h: Likewise.
26970 * misc/fstab.h: Likewise.
26971 * misc/mntent.h: Likewise.
26972 * misc/regexp.h: Likewise.
26973 * misc/search.h: Likewise.
26974 * misc/sgtty.h: Likewise.
26975 * misc/sys/mman.h: Likewise.
26976 * misc/sys/syslog.h: Likewise.
26977 * misc/sys/uio.h: Likewise.
26978 * misc/sys/xattr.h: Likewise.
26979 * misc/ttyent.h: Likewise.
26980 * nis/rpcsvc/ypclnt.h: Likewise.
26981 * nss/nss.h: Likewise.
26982 * posix/bits/unistd.h: Likewise.
26983 * posix/fnmatch.h: Likewise.
26984 * posix/glob.h: Likewise.
26985 * posix/sched.h: Likewise.
26986 * posix/spawn.h: Likewise.
26987 * posix/sys/wait.h: Likewise.
26988 * posix/unistd.h: Likewise.
26989 * posix/wordexp.h: Likewise.
26990 * pwd/pwd.h: Likewise.
26991 * resolv/netdb.h: Likewise.
26992 * resource/sys/resource.h: Likewise.
26993 * rt/aio.h: Likewise.
26994 * rt/bits/mqueue2.h: Likewise.
26995 * rt/mqueue.h: Likewise.
26996 * shadow/shadow.h: Likewise.
26997 * signal/signal.h: Likewise.
26998 * socket/send.c: Likewise.
26999 * socket/sendto.c: Likewise.
27000 * socket/sys/socket.h: Likewise.
27001 * stdio-common/printf.h: Likewise.
27002 * stdlib/bits/stdlib.h: Likewise.
27003 * stdlib/fmtmsg.h: Likewise.
27004 * stdlib/monetary.h: Likewise.
27005 * stdlib/stdlib.h: Likewise.
27006 * stdlib/ucontext.h: Likewise.
27007 * streams/stropts.h: Likewise.
27008 * string/argz.h: Likewise.
27009 * string/bits/string2.h: Likewise.
27010 * string/string.h: Likewise.
27011 * string/strings.h: Likewise.
27012 * sunrpc/rpc/auth.h: Likewise.
27013 * sunrpc/rpc/auth_des.h: Likewise.
27014 * sunrpc/rpc/clnt.h: Likewise.
27015 * sunrpc/rpc/netdb.h: Likewise.
27016 * sunrpc/rpc/pmap_clnt.h: Likewise.
27017 * sunrpc/rpc/xdr.h: Likewise.
27018 * sysdeps/generic/inttypes.h: Likewise.
27019 * sysdeps/generic/net/if.h: Likewise.
27020 * sysdeps/generic/sys/swap.h: Likewise.
27021 * sysdeps/gnu/net/if.h: Likewise.
27022 * sysdeps/gnu/utmpx.h: Likewise.
27023 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27024 * sysdeps/i386/i486/bits/string.h: Likewise.
27025 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27026 * sysdeps/s390/bits/string.h: Likewise.
27027 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27028 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27029 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27030 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27031 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27032 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27033 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27034 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27035 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27036 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27037 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27038 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27039 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27040 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27041 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27042 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27043 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27044 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27045 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27046 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27047 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27048 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27049 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27050 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27051 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27052 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27053 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27054 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27055 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27056 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27057 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27058 * sysvipc/sys/ipc.h: Likewise.
27059 * sysvipc/sys/msg.h: Likewise.
27060 * sysvipc/sys/sem.h: Likewise.
27061 * sysvipc/sys/shm.h: Likewise.
27062 * termios/termios.h: Likewise.
27063 * time/sys/time.h: Likewise.
27064 * time/time.h: Likewise.
27065 * wcsmbs/bits/wchar2.h: Likewise.
27066 * wcsmbs/uchar.h: Likewise.
27067 * wcsmbs/wchar.h: Likewise.
27068 * wctype/wctype.h: Likewise.
27069
0269750c
UD
27070 [BZ #13551]
27071 * Makeconfig: Remove all but ELF support including AIX support.
27072 * Makerules: Likewise.
27073 * config.h.in: Likewise.
27074 * config.make.in: Likewise.
27075 * configure: Likewise.
27076 * configure.in: Likewise.
27077 * csu/Makefile: Likewise.
27078 * csu/version.c: Likewise.
27079 * debug/Makefile: Likewise.
27080 * dlfcn/Makefile: Likewise.
27081 * elf/Makefile: Likewise.
27082 * extra-lib.mk: Likewise.
27083 * iconv/Makefile: Likewise.
27084 * include/libc-symbols.h: Likewise.
27085 * include/shlib-compat.h: Likewise.
27086 * resolv/Makefile: Likewise.
27087 * resolv/res_libc.c: Likewise.
27088 * rt/Makefile: Likewise.
27089 * sysdeps/i386/asm-syntax.h: Likewise.
27090 * sysdeps/i386/sysdep.h: Likewise.
27091 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27092 * sysdeps/mach/sysdep.h: Likewise.
27093 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27094 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27095 * sysdeps/s390/asm-syntax.h: Likewise.
27096 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27097 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27098 * sysdeps/sh/sysdep.h: Likewise.
27099 * sysdeps/unix/sparc/sysdep.h: Likewise.
27100 * sysdeps/wordsize-32/divdi3.c: Likewise.
27101 * sysdeps/x86_64/sysdep.h: Likewise.
27102
00bbd29b
UD
27103 * argp/Versions: Remove _argp_unlock_xxx.
27104
27105 [BZ #13559]
27106 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27107 * abilist/libBrokenLocale.abilist: Likewise.
27108 * abilist/libanl.abilist: Likewise.
27109 * abilist/libc.abilist: Likewise.
27110 * abilist/libcrypt.abilist: Likewise.
27111 * abilist/libdl.abilist: Likewise.
27112 * abilist/libm.abilist: Likewise.
27113 * abilist/libnsl.abilist: Likewise.
27114 * abilist/libpthread.abilist: Likewise.
27115 * abilist/libresolv.abilist: Likewise.
27116 * abilist/librt.abilist: Likewise.
27117 * abilist/libthread_db.abilist: Likewise.
27118 * abilist/libutil.abilist: Likewise.
27119 * abilist/libnss_db.abilist: New file.
27120
27121 * scripts/abilist.awk: Add support for indirect functions.
27122
a2693a0e
UD
27123 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27124
3f05895f
UD
27125 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27126
ecb6fb48
UD
27127 * shlib-versions: Remove entries for ports architectures.
27128
664f8cb9
UD
27129 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27130 files in ports.
27131 * elf/stackguard-macros.h: Remove support for IA-64.
27132 * elf/tst-auditmod1.c: Likewise.
27133 * sysdeps/generic/ldsodefs.h: Likewise.
27134
7ae81d88
UD
27135 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27136 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27137 configure files.
27138
bdeba135
UD
27139 [BZ #13552]
27140 * configure.in: Remove --enable-omitfp support.
27141 * FAQ.in: Adjust.
27142 * config.make.in: Likewise.
27143 * Makeconfig: Likewise.
27144 * manual/install.texi: Likewise.
27145
d75a0a62
UD
27146 In case anyone cares, the IA-64 architecture could move to ports.
27147 * sysdeps/ia64/*: Removed.
27148 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 27149 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 27150
dcc9756b
UD
27151 [BZ #13555]
27152 * configure.in: Remove entries for unsupported architectures.
27153
d3761ebc 27154 [BZ #13533]
9954432e
UD
27155 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27156 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27157 routines.
27158 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27159 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27160 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27161 fall back to using wcrtomb.
27162 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27163 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27164 renaming.
27165 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27166 * wcsmbs/tst-c16c32-1.c: New file.
27167
27168 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27169 local variable.
27170
c3a87236
UD
27171 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27172
28926a1b
UD
27173 * elf/tst-unique3.cc: Add explicit declaration of gets.
27174 * elf/tst-unique3lib.cc: Likewise.
27175 * elf/tst-unique3lib2.cc: Likewise.
27176 * elf/tst-unique4.cc: Likewise.
27177
df78418a
UD
27178 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27179
8ecd6b2a
JM
271802012-01-06 Joseph Myers <joseph@codesourcery.com>
27181
27182 [BZ #13566]
27183 * assert/assert.h (static_assert): Don't define for C++.
27184 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27185 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27186
9f115170
UD
271872012-01-03 Ulrich Drepper <drepper@gmail.com>
27188
5e0d0300
UD
27189 * iconv/loop.c (single loop): Fix assertion in storing of
27190 remaining bytes.
27191
9f115170
UD
27192 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27193
81fb02b0
UD
271942012-01-01 Ulrich Drepper <drepper@gmail.com>
27195
27196 * posix/getconf.c: Update copyright year.
27197 * nss/getent.c: Likewise.
a316c1f6 27198 * nss/makedb.c: Likewise.
81fb02b0
UD
27199 * iconv/iconvconfig.c: Likewise.
27200 * iconv/iconv_prog.c: Likewise.
27201 * elf/ldconfig.c: Likewise.
a316c1f6
UD
27202 * elf/pldd.c: Likewise.
27203 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
27204 * catgets/gencat.c: Likewise.
27205 * csu/version.c: Likewise.
27206 * elf/ldd.bash.in: Likewise.
27207 * elf/sprof.c (print_version): Likewise.
27208 * locale/programs/locale.c: Likewise.
27209 * locale/programs/localedef.c: Likewise.
a316c1f6 27210 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
27211 * nscd/nscd.c (print_version): Likewise.
27212 * debug/xtrace.sh: Likewise.
27213 * malloc/memusage.sh: Likewise.
27214 * malloc/mtrace.pl: Likewise.
27215 * debug/catchsegv.sh: Likewise.
27216
2ba92745
JJ
272172011-12-30 Jakub Jelinek <jakub@redhat.com>
27218
27219 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27220 pure attribute.
27221
dadebdae
UD
272222011-12-24 Ulrich Drepper <drepper@gmail.com>
27223
d3761ebc 27224 [BZ #13533]
db6af3eb
UD
27225 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27226 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27227 transformations.
27228 * iconv/gconv_int.h: Likewise.
27229 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27230 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27231 from libc for GLIBC_2.16.
27232 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27233 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27234 * wcsmbs/uchar.h: Really define mbstate_t.
27235 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27236 * wcsmbs/c16rtomb.c: New file.
27237 * wcsmbs/mbrtoc16.c: New file.
27238 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27239 for C/POSIX locale.
27240 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27241 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27242
dadebdae
UD
27243 * wcsmbs/wchar.h: Add missing __restrict.
27244
67371b56
UD
272452011-12-23 Ulrich Drepper <drepper@gmail.com>
27246
74033a25
UD
27247 [BZ #13532]
27248 * time/Makefile (routines): Add timespec_get.
27249 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27250 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27251 timespec for ISO C11.
27252 * time/timespec_get.c: New file.
27253 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27254 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27255
380d7e87
UD
27256 [BZ #13531]
27257 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27258 * stdlib/stdlib.h: Declare aligned_alloc.
27259 * Versions.def: Add GLIBC_2.16 for libc.
27260 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27261
4e9e7a35
UD
27262 [BZ 13527]
27263 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27264 ISO C11.
27265
380d7e87 27266 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
27267 code.
27268
03a71829
UD
27269 [BZ #13528]
27270 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27271
839e283e
UD
27272 [BZ #13529]
27273 * assert/assert.h (static_assert): Define.
27274
ce5294e2 27275 * version.h: Update for 2.16 development version.
90fa7312 27276
8d44e150 27277 [BZ #13526]
d7809905
UD
27278 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27279 _ISOC11_SOURCE.
27280
c0da14cd
UD
27281 * version.h (RELEASE): Bump for 2.15 release.
27282 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27283
530a3249
MP
27284 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27285 Patch by Marek Polacek <mpolacek@redhat.com>.
27286
67371b56
UD
27287 * bits/byteswap.h: Protect long long constants with __extension__.
27288 * sysdeps/i386/bits/byteswap.h: Likewise.
27289 * sysdeps/ia64/bits/byteswap.h: Likewise.
27290 * sysdeps/s390/bits/byteswap.h: Likewise.
27291 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27292
15db4de1
LD
272932011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27294
27295 [BZ #13540]
bbe315ea
LD
27296 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27297 destination buffer.
15db4de1
LD
27298 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27299
2b2596b1
MP
273002011-12-23 Marek Polacek <polacek@redhat.com>
27301
27302 * elf/dl-addr.c (determine_info): Add inline keyword.
27303 * elf/tst-auditmod4b.c (check_avx): Likewise.
27304 * elf/tst-auditmod6b.c (check_avx): Likewise.
27305 * elf/tst-auditmod6c.c (check_avx): Likewise.
27306 * elf/tst-auditmod7b.c (check_avx): Likewise.
27307
70c6c246
UD
273082011-12-23 Ulrich Drepper <drepper@gmail.com>
27309
27310 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27311 !__SSE_MATH__.
27312
c044cf14
LD
273132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27314
15db4de1 27315 [BZ #13540]
c044cf14
LD
27316 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27317 processing for last bytes.
27318
6b13d9d9
BH
273192011-08-06 Bruno Haible <bruno@clisp.org>
27320
d455f537
BH
27321 [BZ #13061]
27322 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27323 U+0385, not to U+1FEE.
27324
6b13d9d9
BH
27325 [BZ #13062]
27326 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27327 entry for U+00A5 U+0301.
27328
db910efd
UD
273292011-12-22 Ulrich Drepper <drepper@gmail.com>
27330
27deeafc
UD
27331 [BZ #13166]
27332 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27333 buffer for the output is too small.
27334
aed9d171
UD
27335 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27336 optimization.
27337
db910efd
UD
27338 [BZ #13185]
27339 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27340 SSE flags if possible.
27341
2bd779ae
LD
273422011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27343
e7f9dac3 27344 [BZ #13540]
2bd779ae
LD
27345 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27346 processing for last bytes.
27347
154bfc16
JM
273482011-12-22 Joseph Myers <joseph@codesourcery.com>
27349
27350 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27351 (syscall-list-default-options, syscall-list-default-condition)
27352 (syscall-list-includes): Define.
27353 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27354 list of ABIs and options and #if conditions for each ABI. Do not
27355 handle common syscalls between ABIs specially.
27356 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27357 Remove.
27358 (syscall-list-variants, syscall-list-32bit-options)
27359 (syscall-list-32bit-condition, syscall-list-64bit-options)
27360 (syscall-list-64bit-condition): Define.
27361 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27362 (syscall-list-variants, syscall-list-32bit-options)
27363 (syscall-list-32bit-condition, syscall-list-64bit-options)
27364 (syscall-list-64bit-condition): Define.
27365 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27366 Remove.
27367 (syscall-list-variants, syscall-list-32bit-options)
27368 (syscall-list-32bit-condition, syscall-list-64bit-options)
27369 (syscall-list-64bit-condition): Define.
27370 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27371 Remove.
27372 (syscall-list-variants, syscall-list-32bit-options)
27373 (syscall-list-32bit-condition, syscall-list-64bit-options)
27374 (syscall-list-64bit-condition): Define.
27375
21eaf3a5
UD
273762011-12-22 Ulrich Drepper <drepper@gmail.com>
27377
16c6f992
UD
27378 * locale/iso-639.def: Add brx entry.
27379
41043168
UD
27380 [BZ #13328]
27381 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27382 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27383
21eaf3a5
UD
27384 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27385 __feraiseexcept_renamed.
27386
e3a851a2
UD
273872011-12-21 Ulrich Drepper <drepper@gmail.com>
27388
4920765e
UD
27389 [BZ #13538]
27390 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27391 EPOLLET with unsigned values.
27392 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27393 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27394
e3a851a2
UD
27395 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27396 to large cancellation.
27397 * math/s_cacoshf.c: Likewise.
27398 * math/s_cacoshl.c: Likewise.
27399
b27e24b8
RK
274002011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27401
27402 [BZ #13305]
aebefeee 27403 [BZ #12786]
b27e24b8
RK
27404 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27405 * math/s_cacoshf.c: Likewise.
27406 * math/s_cacoshl.c: Likewise.
27407
ee190f67
UD
274082011-12-21 Ulrich Drepper <drepper@gmail.com>
27409
27410 [BZ #13439]
27411 * iconv/gconv.h: Define __GCONV_SWAP.
27412 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27413 * iconvdata/utf-16.c: Likewise.
27414 * iconvdata/utf-32.c: Likewise.
27415
707f25df
AS
274162011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27417
27418 [BZ #13524]
27419 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27420 numerator after shifting it by one limb.
27421
d2daaa1e
RÁE
274222011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27423
27424 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27425 under [__USE_EXTERN_INLINES].
27426
a4647e72
UD
274272011-12-17 Ulrich Drepper <drepper@gmail.com>
27428
27429 [BZ #13446]
27430 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27431
f0b264f1
AZ
274322011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27433
27434 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27435 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27436 optimized code.
27437 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27438 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27439 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27440 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27441 for strncasecmp/strncasecmp_l compilation.
27442 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27443 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27444
8ef4f244
MP
274452011-12-08 Marek Polacek <mpolacek@redhat.com>
27446
27447 [BZ #13484]
27448 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27449 of __asm__.
27450
97ac2654
UD
274512011-12-17 Ulrich Drepper <drepper@gmail.com>
27452
27453 [BZ #13506]
27454 * time/tzfile.c (__tzfile_read): Check values from file header.
27455
91d2a845
WS
274562011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27457
27458 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27459 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27460 * powerpc/powerpc32/dl-start.S: Likewise.
27461 * powerpc/powerpc32/elf/start.S: Likewise.
27462 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27463 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27464 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27465 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27466 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27467 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27468 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27469 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27470 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27471 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27472 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27473 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27474 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27475 * powerpc/powerpc32/memset.S: Likewise.
27476 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27477 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27478 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27479 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27480 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27481 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27482 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27483 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27484 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27485 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27486 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27487 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27488 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27489
a1267ba1
AZ
274902011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27491
27492 * math/libm-test.inc: Added more nearbyint tests.
27493 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27494 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27495 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27496 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27497
ad8ac1bd
RL
274982011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27499
27500 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27501 FD_CLOEXEC.
27502
1d3e4b61
UD
275032011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27504
27505 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27506 Add wcscpy-ssse3 wcscpy-c.
27507 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27508 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27509 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27510 * sysdeps/x86_64/wcschr.S: New file.
27511 * sysdeps/x86_64/wcsrchr.S: New file.
27512 * string/test-strcmp.c: Remove checking of wcscmp function for
27513 wrong alignments.
27514 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27515 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27516 wcsrchr-sse2 wcsrchr-c.
27517 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27518 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27519 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27520 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27521 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27522 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27523 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27524 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27525 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27526 * wcsmbc/wcschr.c (WCSCHR): New macro.
27527
5b330a2d
UD
275282011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27529
27530 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27531 * wcsmbs/test-wcsrchr.c: New file.
27532 * string/test-strrchr.c: Add wcsrchr support.
27533 (WIDE): New macro.
27534 * wcsmbs/test-wcscpy.c: New file.
27535 * string/test-strcpy.c: Add wcscpy support.
27536 (WIDE): New macro.
26428b7c 27537
f039c043
UD
275382011-12-10 Ulrich Drepper <drepper@gmail.com>
27539
27540 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27541 the inner loop.
27542
850fb039
AS
275432011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27544
27545 [BZ #13472]
27546 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27547
4efbd5cb
UD
275482011-12-04 Ulrich Drepper <drepper@gmail.com>
27549
52ff5dd0 27550 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27551 Minor optimizations.
52ff5dd0 27552
4efbd5cb
UD
27553 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27554 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27555 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27556
8a426e12
UD
275572011-12-03 Ulrich Drepper <drepper@gmail.com>
27558
aff2453d
UD
27559 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27560 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27561 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27562 for gcc to avoid warnings.
27563 * inet/Makefile (tests): Add tst-checks.
27564 * inet/tst-checks.c: New file.
27565
27566 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27567 warning.
27568
27569 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27570 __wmemcmp_sse2.
27571
27572 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27573 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27574
8a426e12
UD
27575 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27576
9bea3473
UD
275772011-12-02 Ulrich Drepper <drepper@gmail.com>
27578
3a965496
UD
27579 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27580 problem.
27581
9bea3473
UD
27582 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27583
f101631b
UD
275842011-11-29 Joseph Myers <joseph@codesourcery.com>
27585
27586 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27587 conditional on GCC version.
27588 (__arch_compare_and_exchange_val_8_acq)
27589 (__arch_compare_and_exchange_val_16_acq)
27590 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27591 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27592 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27593
a98275aa
UD
275942011-12-02 Joseph Myers <joseph@codesourcery.com>
27595
27596 * sysdeps/sh/backtrace.c: New file.
27597
d4cc29a2
AS
275982011-12-02 Andreas Schwab <schwab@redhat.com>
27599
27600 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27601 parenthesis.
27602
6257af2d
AS
276032011-12-01 Andreas Schwab <schwab@redhat.com>
27604
27605 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27606 falling back to utime.
27607
b5f44c1a
AS
276082011-11-30 Andreas Schwab <schwab@redhat.com>
27609
27610 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27611 expectations for float.
27612
f3a6cc0a
AS
276132011-11-29 Andreas Schwab <schwab@redhat.com>
27614
27615 * locale/weight.h (findidx): Add parameter len.
27616 * locale/weightwc.h (findidx): Likewise.
27617 * posix/fnmatch_loop.c (FCT): Adjust caller.
27618 * posix/regcomp.c (build_equiv_class): Likewise.
27619 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27620 * posix/regexec.c (check_node_accept_bytes): Likewise.
27621 * string/strcoll_l.c (STRCOLL): Likewise.
27622 * string/strxfrm_l.c (STRXFRM): Likewise.
27623
9d65ea3a
UD
276242011-11-17 Ulrich Drepper <drepper@gmail.com>
27625
27626 * Makefile.in: Remove CVSOPT handling.
27627 * configure.in: Remove use of AC_REVISION.
27628 * iconvdata/Makefile (distribute): No need to filter out CVS.
27629 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27630 handling.
27631
5583a086
AS
276322011-11-16 Andreas Schwab <schwab@redhat.com>
27633
27634 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27635 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27636 [USE_AS_STRNCASECMP_L]: Likewise.
27637 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27638 NO_TLS_DIRECT_SEG_REFS.
27639 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27640 Fix argument offsets for non-PIC.
27641 [USE_AS_STRNCASECMP_L]: Likewise.
27642 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27643 NO_TLS_DIRECT_SEG_REFS.
27644
d62a8200
UD
276452011-11-15 Ulrich Drepper <drepper@gmail.com>
27646
9d65ea3a 27647 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27648 O_CLOEXEC.
27649 * locale/loadlocale.c (_nl_load_locale): Likewise.
27650
09f93bd3
AS
276512011-11-15 Andreas Schwab <schwab@redhat.com>
27652
446514f9
AS
27653 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27654 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27655 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27656 (SYSCALL_GETTIME): Set errno on error.
27657
09f93bd3
AS
27658 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27659 count references to noai6ai_cached.
27660
312be3f9
UD
276612011-11-15 Ulrich Drepper <drepper@gmail.com>
27662
27663 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27664
27665 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27666 FD_CLOEXEC for /proc/self/maps.
27667
27668 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27669 FD_CLOEXEC for /proc/meminfo.
27670
27671 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27672 gai.conf.
27673
27674 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27675 FD_CLOEXEC for given file.
27676
27677 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27678
27679 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27680 FD_CLOEXEC for /etc/hosts.
27681 (_gethtent): Likewise.
27682
27683 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27684
27685 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27686 cancellation and set FD_CLOEXEC for /etc/netgroup.
27687
27688 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27689 reading /etc/publickey.
27690
27691 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27692 allow cancellation when reading /etc/group.
27693
27694 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27695 cancellation.
27696 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27697
27698 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27699 when using data file.
27700
27701 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27702
27703 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27704 (write_nis_obj): Use "c" and "e" in fopen.
27705
27706 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27707
27708 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27709
27710 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27711
27712 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27713
27714 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27715 locale.alias.
27716
27717 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27718
27719 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27720
27721 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27722
27723 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27724 file parsing and set FD_CLOEXEC.
27725
82af0fa8
UD
277262011-11-14 Ulrich Drepper <drepper@gmail.com>
27727
27728 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27729
a5fb313c
AS
277302011-11-14 Andreas Schwab <schwab@redhat.com>
27731
27732 * malloc/arena.c (arena_get2): Don't call reused_arena when
27733 _int_new_arena failed.
27734
6abf3465
UD
277352011-11-14 Ulrich Drepper <drepper@gmail.com>
27736
27737 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27738 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27739 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27740 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27741 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27742 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27743 to compile strcasecmp and strncasecmp.
27744 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27745 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27746
27747 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27748
76e3966e
UD
277492011-11-13 Ulrich Drepper <drepper@gmail.com>
27750
27751 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27752 locale-defines.sym to gen-as-const-headers.
27753 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27754 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27755 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27756 to compile strcasecmp and strncasecmp.
27757 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27758 strcasecmp_l and strncasecmp_l.
27759 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27760 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27761 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27762 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27763 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27764 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27765 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27766 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27767 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27768 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27769 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27770
ab26144e
UD
277712011-11-12 Ulrich Drepper <drepper@gmail.com>
27772
7edb22ef
UD
27773 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27774 result of SYSDEP_GETTIME_CPU to retval.
27775 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27776 parameter list to macro. Remove trailing semicolon. Adjust users.
27777
9694fc44
UD
27778 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27779 variable.
27780
8ad89ef8
UD
27781 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27782 mantissa words.
27783 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27784
0c822ef9
UD
27785 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27786 from unused variable.
27787
874e0564
UD
27788 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27789 DWARF definitions.
27790 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27791 for assembling.
27792
3a2edc79
UD
27793 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27794 over namespaces.
27795
f3c2577f
UD
27796 * sunrpc/rpc_prot.c (rejected): Fix case value.
27797
294ce126
UD
27798 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27799 unsigned long long int to avoid warnings in shift.
27800
5e2b63c6
UD
27801 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27802 of use of trans.
27803 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27804 variable tmp.
27805
e7f4b08e
UD
27806 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27807 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27808 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27809
ab26144e
UD
27810 * nis/nis_table.c (nis_list): Use variable of correct type for
27811 result of __follow_path call.
27812
8a6d5255
AZ
278132011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27814
27815 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27816 of math functions ceil, trunc, floor, round, and sqrt, when
27817 avaliable on the platform.
27818 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27819 name clash.
27820 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27821 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27822 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27823
aaddc98c
MP
278242011-10-30 Marek Polacek <mpolacek@redhat.com>
27825
27826 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27827 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27828
95b7042b
RM
278292011-11-11 Roland McGrath <roland@hack.frob.com>
27830
27831 * include/unistd.h: Fix __readlink return type.
27832 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27833
57769839
UD
278342011-11-11 Ulrich Drepper <drepper@gmail.com>
27835
27836 * stdlib/ucontext.h: Undo last change for makecontext.
27837
edc5984d
AS
278382011-11-11 Andreas Schwab <schwab@redhat.com>
27839
98591e58
AS
27840 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27841
edc5984d
AS
27842 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27843 * setjmp/setjmp.h: Mark functions as non-leaf.
27844 * setjmp/bits/setjmp2.h: Likewise.
27845 * stdlib/ucontext.h: Likewise.
27846
77cdc054
AS
278472011-11-10 Andreas Schwab <schwab@redhat.com>
27848
27849 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27850 (reused_arena): Don't check arena limit.
27851 (arena_get2): Atomically check arena limit.
27852
fe72eebd
UD
278532011-11-08 Ulrich Drepper <drepper@gmail.com>
27854
5f078c32
UD
27855 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27856 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27857
fe72eebd
UD
27858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27859 instructions.
27860
ae1bc2fa
AS
278612011-11-07 Andreas Schwab <schwab@redhat.com>
27862
7583a88d
AS
27863 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27864 handler when locking.
27865
ae1bc2fa
AS
27866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27867 Fix size of allocated buffer.
27868
10fb0bfa
AS
278692011-11-04 Andreas Schwab <schwab@redhat.com>
27870
998832a4
AS
27871 [BZ #10103]
27872 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27873 declarations for long double functions.
27874 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27875
10fb0bfa
AS
27876 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27877
3d7ba52b
AS
278782011-11-03 Andreas Schwab <schwab@redhat.com>
27879
a9ae54a1
AS
27880 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27881 installed.
27882
3d7ba52b
AS
27883 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27884 is disabled.
27885
bc8db248
ST
278862011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27887
27888 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27889
45b96dd6
AS
278902011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27891
647776f6
AS
27892 * include/alloca.h (stackinfo_alloca_round): Define.
27893 (extend_alloca): Use it.
27894 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27895 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27896 here.
27897
d91a8b93
AS
27898 * scripts/check-local-headers.sh: Ignore libaudit.h.
27899
45b96dd6
AS
27900 * nscd/Makefile (extra-objs): Make recursively expanded.
27901
432d41ce
UD
279022011-11-01 Ulrich Drepper <drepper@gmail.com>
27903
34372fc6
UD
27904 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27905 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27906
fadb59f8
UD
27907 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27908 * posix/tst-rfc3484-2.c: Likewise.
27909 * posix/tst-rfc3484-3.c: Likewise.
27910
78239589
UD
27911 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27912 process_vm_writev.
27913 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27914 process_vm_writev.
27915 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27916 process_vm_writev from libc using GLIBC_2.15 version.
27917
432d41ce
UD
27918 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27919
02f9c6cf
PP
279202011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27921
27922 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27923 stack usage.
27924
3a2c0242
UD
279252011-10-31 Ulrich Drepper <drepper@gmail.com>
27926
f4ec4833
UD
27927 [BZ #13367]
27928 * nss/getent.c (initgroups_keys): Show error message in case no group
27929 names are given.
27930
3a2c0242
UD
27931 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27932 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27933 __bump_nl_timestamp.
27934 * nscd/connections (nscd_init): When host database is served open
27935 netlink socket and request notification about configuration changes.
27936 (main_loop_poll): Track netlink file descriptor and bump timestamp
27937 in case data becomes available.
27938 (main_loop_epoll): Likewise.
27939 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27940 (database_pers_head): Add extra_data fileds.
27941 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27942 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27943 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27944 Adjust caller.
27945 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27946 in6ai data, call __free_in6ai.
27947 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27948 Add -DHAVE_NETLINK.
27949 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27950 interface information. Reuse previous data if netlink timestamp
27951 is not changed.
27952 (__bump_nl_timestamp): New function.
27953 (__free_in6ai): New function.
27954
636064eb
UD
279552011-10-30 Ulrich Drepper <drepper@gmail.com>
27956
27957 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27958 close_not_cancel_no_status here.
27959 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27960
9beb2334
UD
279612011-10-29 Ulrich Drepper <drepper@gmail.com>
27962
6ef76f3b
UD
27963 [BZ #13276]
27964 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27965 return value.
27966
0ffc4f3e 27967 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27968 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27969 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27970
cb95113e
UD
279712011-07-03 Andreas Jaeger <aj@suse.de>
27972
27973 [BZ #10709]
27974 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27975 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27976 * math/libm-test.inc (sin_test): Add test case.
27977
a1b560ff
UD
279782011-10-29 Ulrich Drepper <drepper@gmail.com>
27979
c9aaface
UD
27980 [BZ #13337]
27981 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27982 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27983
d272e7f1
UD
27984 * elf/chroot_canon.c (chroot_canon): Cleanups.
27985
1bc33071
UD
27986 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27987
1760874d
TJ
27988 [BZ #13335]
27989 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27990 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27991
51d91b18
UD
27992 * string/test-strchr.c: Make usable for strchrnul testing.
27993 * string/test-strchrnul.c: New file.
27994 * string/Makefile (strop-tests): Add strchrnul.
27995
a1b560ff 27996 * po/it.po: Update from translation team.
b611fb81 27997 * po/es.po: Likewise.
a1b560ff 27998
a5b81e1f
UD
279992011-10-28 Ulrich Drepper <drepper@gmail.com>
28000
fd52bc6d
UD
28001 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28002 the three constants needed as parameters. Drop the others.
28003 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28004 __m128i_strloadu_tolower.
52e4b9eb
UD
28005 Create and initialize variable zero and use it in all the places
28006 where _mm_setzero_si128 was used.
fd52bc6d 28007
a5b81e1f
UD
28008 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28009 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28010 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28011 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28012 anymore.
28013 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28014 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28015 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28016 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28017 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28018 __mpranred, __mptan.
28019 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28020 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28021 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28022 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28023 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28024 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28025 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28026 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28027 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28028
b4343346
AS
280292011-10-28 Andreas Schwab <schwab@redhat.com>
28030
0c92d8a8
AS
28031 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28032 redefine if SHARED.
28033 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28034
b4343346
AS
28035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28036 wide char related routines to wcsmbs subdir.
28037
3871f58f
AS
280382011-10-27 Andreas Schwab <schwab@redhat.com>
28039
28040 [BZ #13344]
28041 * misc/sys/cdefs.h (__THROWNL): Define.
28042 * posix/unistd.h: Use __THREADNL instead of __THREAD
28043 for memory synchronization functions.
28044
94d44d9f
RM
280452011-10-26 Roland McGrath <roland@hack.frob.com>
28046
21b64b15 28047 [BZ #13349]
94d44d9f
RM
28048 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28049 doesn't exist.
28050 * manual/stdio.texi (Obstack Streams): Node removed.
28051
f6ce9294
AS
280522011-10-26 Andreas Schwab <schwab@redhat.com>
28053
80479147
AS
28054 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28055 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28056 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28057
f6ce9294
AS
28058 * math/math_private.h (math_force_eval): Allow non-addressable
28059 arguments.
28060 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28061
618280a1
UD
280622011-10-25 Ulrich Drepper <drepper@gmail.com>
28063
e0016b11
UD
28064 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28065 file is not needed.
28066
28067 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28068 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28069 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28070 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28071 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28072 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28073 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28074 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28075 Add AVX variants.
28076 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28077 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28078 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28079 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28080 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28081 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28082 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28083 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28084 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28085 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28086 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28087 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28088 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28089 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28090 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28091 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28092 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28093 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28094 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28095
28096 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28097 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28098
618280a1
UD
28099 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28100 place. Use VEX encoding when compiling for AVX.
28101
37822576
AS
281022011-10-25 Andreas Schwab <schwab@redhat.com>
28103
1f1e1947
AS
28104 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28105 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28106
37822576
AS
28107 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28108
31ea014d
UD
281092011-10-25 Ulrich Drepper <drepper@gmail.com>
28110
d7826aa1 28111 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 28112 useless if() expression.
d7826aa1
UD
28113 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28114 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28115 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28116 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28117 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28118 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28119 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28120 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28121 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28122 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28123 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28124 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28125 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28126 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28127 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28128 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28129 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28130 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28131 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28132
31ea014d
UD
28133 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28134
16437fec
AS
281352011-10-25 Andreas Schwab <schwab@redhat.com>
28136
28137 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28138 condition.
28139 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28140
31d3cc00
UD
281412011-10-25 Ulrich Drepper <drepper@gmail.com>
28142
28143 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28144 .text section. Avoid duplicate constants.
28145 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28146 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28147 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28148 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28149 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28150 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28151 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28153 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28154 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28155 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28156 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28157 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28158 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28159 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28160 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28161 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28162 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28163 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28164 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28165 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28166 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28167 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28168 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28169 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28170 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28171 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28172 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28173 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28174 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28175 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28176 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28177 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28178 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28179 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28180 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28181 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28182 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28183 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28184 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28185 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28186 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28187 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28188 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28189 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28190
58985aa9
UD
281912011-10-24 Ulrich Drepper <drepper@gmail.com>
28192
202c9deb
UD
28193 * sysdeps/x86_64/dla.h: Move to ...
28194 * sysdeps/x86_64/fpu/dla.h: ...here.
28195 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28196 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 28197
af968f62
UD
28198 * config.make.in: Add have-mfma4 entry.
28199 * configure.in: Substitute libc_cv_cc_fma4.
28200 * math/Makefile (dbl-only-routines): Add sincostab.
28201 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28202 Use __sincostab not sincos.
28203 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28204 name is a macro.
28205 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28208 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28209 using __copysign.
28210 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28211 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28212 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28213 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28214 and __inv.
28215 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28216 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28217 __copysign.
28218 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28219 define aliases when function name is a macro.
28220 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28221 sysdeps/ieee754/dbl-64/sincos.tbl.
28222 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28223 fma4-enabled routines.
28224 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28225 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28226 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28227 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28228 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28229 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28230 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28231 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28232 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28233 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28234 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28235 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28236 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28237 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28238 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28239 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28240 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28241 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28242 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28243 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28244 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28245 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28246 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28247 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28248 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28249 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28250 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28251 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28252 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28253 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28254
58985aa9
UD
28255 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28256 rename.
28257 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28258 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28260 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28261 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28262 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28263 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28264 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28265
a201fbcf
AS
282662011-10-24 Andreas Schwab <schwab@redhat.com>
28267
28268 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28269
fc2ee42a
LD
282702011-10-23 Ulrich Drepper <drepper@gmail.com>
28271
bb3129bd
UD
28272 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28273
0275fff8
UD
28274 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28275 prediction.
28276 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28277
2fa2ae85
UD
28278 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28279 Remove unused variable magic_bits.
28280 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28281
fc2ee42a
LD
28282 * string/strnlen.c: Define and use STRNLEN macro.
28283 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28284 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28285 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28286 * wcsmbs/wcslen.c: Define and use WCSLEN.
28287 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28288 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28289 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28290 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28291 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28292 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28293 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28294
ce7dd29f
LD
282952011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28296
28297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28298 strnlen-sse2-no-bsf.
28299 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28300 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28301 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28302 Add strnlen support.
28303 (USE_AS_STRNLEN): New macro.
28304 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28305 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28306 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28307 * sysdeps/x86_64/wcslen.S: New file.
28308
979c70a3
MZ
283092011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28310
28311 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28312 XMM-moves are used for copying on small sizes.
28313
2d09f82f
LD
283142011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28315
28316 * wcsmbs/Makefile (strop-tests): Add wcschr.
28317 * wcsmbs/test-wcschr.c: New file.
28318 * string/test-strchr.c: Update.
28319 Add wcschr support.
28320 (WIDE): New macro.
28321
619fccca
LD
283222011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28323
2d09f82f 28324 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
28325 * wcsmbs/test-wcslen.c: New file.
28326 * string/test-strlen.c: Update.
28327 Add wcslen support.
28328 (WIDE): New macro.
28329
09f699ea
UD
283302011-10-23 Ulrich Drepper <drepper@gmail.com>
28331
28332 * po/it.po: Update from translation team.
28333
95584d3b
LD
283342011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28335
28336 * sysdeps/x86_64/wcscmp.S: Update.
28337 Fix wrong comparison semantics.
28338 wcscmp shall use signed comparison not unsigned.
28339 Don't use substraction to avoid overflow bug.
28340 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28341 * wcsmbc/wcscmp.c: Likewise.
28342 * string/test-strcmp.c: Likewise.
28343 Add new tests to check cases with negative values.
28344
c8b3296b
UD
283452011-10-23 Ulrich Drepper <drepper@gmail.com>
28346
28347 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28348 * sysdeps/x86_64/dla.h: ...here. New file.
28349 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28350 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28352 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28353 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28354 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28355 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28356 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28357 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28358
246ad57a
AS
283592011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28360
28361 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28362 __ynl_finite aliases.
28363
a1a87169
UD
283642011-10-22 Ulrich Drepper <drepper@gmail.com>
28365
0d355eb7
UD
28366 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28367
a1a87169
UD
28368 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28369 define DLA_FMA.
28370 [DLA_FMA] (EMULV): Use DLA_FMA.
28371 [DLA_FMA] (MUL12): Use EMULV.
28372 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28373 that are not needed.
28374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28378 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28379 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28380 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28381
ee2aafe0
AS
283822011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28383
28384 * math/s_nan.c: Undef __nan.
28385 * math/s_nanf.c: Undef __nanf.
28386 * math/s_nanl.c: Undef __nanl.
28387 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28388 "math_private.h".
28389
bc62c2fb
UD
283902011-10-22 Ulrich Drepper <drepper@gmail.com>
28391
77425c63
UD
28392 * math/s_catan.c: Add branch predictions.
28393 * math/s_catanf.c: Likewise.
28394 * math/s_catanh.c: Likewise.
28395 * math/s_catanhf.c: Likewise.
28396 * math/s_catanhl.c: Likewise.
28397 * math/s_catanl.c: Likewise.
28398 * math/s_cexp.c: Likewise.
28399 * math/s_cexpf.c: Likewise.
28400 * math/s_cexpl.c: Likewise.
28401 * math/s_clog.c: Likewise.
28402 * math/s_clog10.c: Likewise.
28403 * math/s_clog10f.c: Likewise.
28404 * math/s_clog10l.c: Likewise.
28405 * math/s_clogf.c: Likewise.
28406 * math/s_clogl.c: Likewise.
28407 * math/s_csqrt.c: Likewise.
28408 * math/s_csqrtf.c: Likewise.
28409 * math/s_csqrtl.c: Likewise.
28410 * math/s_ctanf.c: Likewise.
28411 * math/s_ctanh.c: Likewise.
28412 * math/s_ctanhf.c: Likewise.
28413 * math/s_ctanhl.c: Likewise.
28414 * math/s_ctanl.c: Likewise.
28415
bc62c2fb
UD
28416 * math/math_private.h: Define __nan, __nanf, __nanl.
28417 * math/s_cacosh.c: Include <math_private.h>.
28418 * math/s_cacoshl.c: Likewise.
28419 * math/s_casinh.c: Likewise.
28420 * math/s_casinhf.c: Likewise.
28421 * math/s_casinhl.c: Likewise.
28422 * math/s_ccos.c: Rely entire on ccosh.
28423 * math/s_ccosf.c: Rely entire on ccoshf.
28424 * math/s_ccosl.c: Rely entirely on ccoshl.
28425 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28426 Remove tests for FE_INVALID.
28427 * math/s_ccoshf.c: Likewise.
28428 * math/s_ccoshl.c: Likewise.
28429 * math/s_csin.c: Likewise.
28430 * math/s_csinf.c: Likewise.
28431 * math/s_csinh.c Likewise.
28432 * math/s_csinhf.c: Likewise.
28433 * math/s_csinhl.c: Likewise.
28434 * math/s_csinl.c: Likewise.
28435 * math/s_ctan.c: Likewise.
28436 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28437 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28438 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28439
8ec250a4
UD
284402011-10-21 Ulrich Drepper <drepper@gmail.com>
28441
c196fed8
UD
28442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28443 compilation problems.
28444
8ec250a4
UD
28445 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28446 __builtin_expect.
28447
8d4f46c6
UD
284482011-10-20 Ulrich Drepper <drepper@gmail.com>
28449
ed72b654
UD
28450 * sysdeps/i386/configure.in: Test for -mfma4 option.
28451 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28452 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28453 COMMON_CPUID_INDEX_80000001.
28454 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28455 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28456 use it if FMA3 is not supported.
28457 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28458
8d4f46c6
UD
28459 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28460 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28461
d45c60c2
AS
284622011-10-20 Andreas Schwab <schwab@redhat.com>
28463
28464 [BZ #12892]
28465 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28466 it would create a cycle with a link time dependency.
28467
d9a4d2ab
UD
284682011-10-19 Ulrich Drepper <drepper@gmail.com>
28469
855d1560
UD
28470 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28471 instruction.
28472 * string/Makefile (strop-tests): Add rawmemchr.
28473 * string/test-rawmemchr.c: New file.
28474
d9a4d2ab
UD
28475 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28476 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28477 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28478 when compiling str{,n}casecmp and when AVX is available. Hook up
28479 new optimized code in initializers.
28480
8f3b1ffe
AS
284812011-10-19 Andreas Schwab <schwab@redhat.com>
28482
28483 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28484 __feraiseexcept instead of feraiseexcept.
28485
d38f1dba
UD
284862011-10-18 Ulrich Drepper <drepper@gmail.com>
28487
d9a8d0ab
UD
28488 * math/math_private.h: Define defaults for libc_fetestexcept and
28489 libc_feupdateenv.
28490 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28491 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28492 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28493 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28494 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28495 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28496 libc_fetestexcept and libc_feupdateenv.
28497
4855e3dd
UD
28498 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28499 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28500 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28501 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28502 libc_feholdexcept_setround.
28503
581d30e3
UD
28504 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28505 Add s_nearbyint-c and s_nearbyintf-c.
28506 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28507 nearbyintf inlines.
28508 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28509 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28510 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28511 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28512
d38f1dba
UD
28513 * math/math_private.h: Define defaults for libc_fegetround,
28514 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28515 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28516 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28517 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28518 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28519 standard functions.
28520 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28521 Remove comments and hacks for old compiler versions.
28522 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28523 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28524 libc_feholdexceptl.
28525
caa6c9d8
AS
285262011-10-18 Andreas Schwab <schwab@redhat.com>
28527
28528 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28529 (__feraiseexcept_renamed): Add __NTH.
28530 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28531 namespace violations.
28532
97c066e6
UD
285332011-10-17 Ulrich Drepper <drepper@gmail.com>
28534
99ce7b04
UD
28535 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28536
1004d182
UD
28537 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28538
228a984d
UD
28539 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28540 recently added interfaces.
28541 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28542
c8553a6a
UD
28543 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28544 about macro parameter expansion.
28545
ed22dcf6
UD
28546 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28547 __NO_MATH_INLINES is defined. Cleanups.
28548
28549 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28550 and __floorf is target has SSE4.1.
28551 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28552 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28553 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28554 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28555
b171c137
UD
28556 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28557 name.
28558 (floorf): Likewise.
28559
97c066e6
UD
28560 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28561
629f62ef
AS
285622011-10-17 Andreas Schwab <schwab@redhat.com>
28563
49a43d80
AS
28564 * misc/sys/cdefs.h: Fix last change.
28565
629f62ef
AS
28566 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28567 database lookup.
28568
e453f6cd
UD
285692011-10-16 Ulrich Drepper <drepper@gmail.com>
28570
aa78043a
UD
28571 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28572
ad0f5cad
UD
28573 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28574 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28575 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28576 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28577 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28578 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28579 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28580 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28581 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28582 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28583 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28584 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28585 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28586 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28587 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28588 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28589 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28590 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28591 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28592 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28593 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28594 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28595
28596 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28597 ceil, ceilf, floor, floorf.
28598
28599 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28600 Perform IRELATIVE relocations last.
28601
e453f6cd
UD
28602 * elf/do-rel.h: Add another parameter nrelative, replacing the
28603 local variable with the same name. Change name of the function
28604 to end in Rel or Rela (uppercase).
28605 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28606 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28607 elf_dynamic_do_##reloc function.
28608
fd5bdc09
UD
286092011-10-15 Ulrich Drepper <drepper@gmail.com>
28610
79b195b5
UD
28611 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28612 is sufficient, at least on modern CPUs.
28613
d4a28569
UD
28614 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28615
b61099b5
UD
28616 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28617 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28618
bcf01e6d
UD
28619 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28620 __expl_finite.
28621 * math/bits/math-finite.h: Add entries for exp.
28622 * math/e_expl.c: Add __*_finite alias.
28623 * sysdeps/i386/fpu/e_exp.S: Likewise.
28624 * sysdeps/i386/fpu/e_expf.S: Likewise.
28625 * sysdeps/i386/fpu/e_expl.c: Likewise.
28626 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28627 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28628 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28629 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28630 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28631 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28632 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28633
ba1a0d59
UD
28634 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28635 is sufficient, at least on modern CPUs.
28636
fd5bdc09
UD
28637 * ctype/ctype-info.c (__ctype_init): Define.
28638 * include/ctype.h (__ctype_init): Declare.
28639 (__ctype_b_loc): The variable is always initialized.
28640 (__ctype_toupper_loc): Likewise.
28641 (__ctype_tolower_loc): Likewise.
28642 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28643 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28644
7872cfb0
AS
286452011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28646
b468825a
AS
28647 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28648
7872cfb0
AS
28649 * configure.in: Also look in $cxxmachine/include for C++ system
28650 headers.
28651
be13f7bf
LD
286522011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28653
28654 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28655 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28656 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28657 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28658 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28659 (USE_AS_WMEMCMP): New macro.
28660 Fixing indents.
28661 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28662 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28663 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28664 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28666 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28667 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28668 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28669 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28670 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28671 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28672 (USE_AS_WMEMCMP): New macro.
28673 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28674 * sysdeps/string/test-memcmp.c: Update.
28675 Fix simple_wmemcmp.
28676 Add new tests.
28677 * wcsmbs/wmemcmp.c: Update.
28678 (WMEMCMP): New macro.
28679 Fix overflow bug.
28680
556a2007
AJ
286812011-10-12 Andreas Jaeger <aj@suse.de>
28682
28683 [BZ #13268]
28684 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28685
538faaa7
UD
286862011-10-15 Ulrich Drepper <drepper@gmail.com>
28687
ab6737ff
UD
28688 * libio/iofwide.c (do_length): Avoid warning.
28689
538faaa7
UD
28690 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28691
396a21b1
UD
286922011-10-14 Ulrich Drepper <drepper@gmail.com>
28693
cdf2901f
UD
28694 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28695
38ad40ce
UD
28696 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28697 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28698 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28699 * sysdeps/i386/i686/fpu/e_log.S: New file.
28700 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28701 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28702
396a21b1
UD
28703 * ctype/ctype.h: Add support for inlined isXXX functions when
28704 compiling C++ code.
28705
6b1f68c9
AS
287062011-10-14 Andreas Schwab <schwab@redhat.com>
28707
349290c0
AS
28708 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28709
6b1f68c9
AS
28710 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28711
f2282d42
RM
287122011-10-13 Roland McGrath <roland@hack.frob.com>
28713
28714 [BZ #13291]
28715 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28716
5298ffa8
AS
287172011-10-13 Andreas Schwab <schwab@redhat.com>
28718
714fad23
AS
28719 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28720 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28721 feraiseexcept.
28722
81dcc7fb
AS
28723 * sysdeps/x86_64/memrchr.S: Check for zero size.
28724
5298ffa8
AS
28725 * string/stratcliff.c: Add memrchr tests.
28726
951fbcec
LD
287272011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28728
28729 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28730 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28731 rawmemchr-sse2 rawmemchr-sse2-bsf.
28732 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28733 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28734 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28735 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28736 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28737 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28738 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28739 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28740 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28741 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28742 * string/memrchr.c (MEMRCHR): New macro.
28743
0ac5ae23
UD
287442011-10-12 Ulrich Drepper <drepper@gmail.com>
28745
28746 Add integration with gcc's -ffinite-math-only and optimize wrapper
28747 functions in libm.
28748 * Versions.def: Define GLIBC_2.15 version for libm.
28749 * math/Makefile (headers): Add bits/math-finite.h.
28750 * math/bits/math-finite.h: New file.
28751 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28752 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28753 * math/e_acoshl.c: Add __*_finite alias.
28754 * math/e_acosl.c: Likewise.
28755 * math/e_asinl.c: Likewise.
28756 * math/e_atan2l.c: Likewise.
28757 * math/e_atanhl.c: Likewise.
28758 * math/e_coshl.c: Likewise.
28759 * math/e_exp10.c: Likewise.
28760 * math/e_exp10f.c: Likewise.
28761 * math/e_exp10l.c: Likewise.
28762 * math/e_exp2l.c: Likewise.
28763 * math/e_fmodl.c: Likewise.
28764 * math/e_gammal_r.c: Likewise.
28765 * math/e_hypotl.c: Likewise.
28766 * math/e_j0l.c: Likewise.
28767 * math/e_j1l.c: Likewise.
28768 * math/e_jnl.c: Likewise.
28769 * math/e_lgammal_r.c: Likewise.
28770 * math/e_log10l.c: Likewise.
28771 * math/e_log2l.c: Likewise.
28772 * math/e_logl.c: Likewise.
28773 * math/e_powl.c: Likewise.
28774 * math/e_sinhl.c: Likewise.
28775 * math/e_sqrtl.c: Likewise.
28776 * math/e_scalb.c: Completely rewritten and optimized.
28777 * math/e_scalbf.c: Likewise.
28778 * math/e_scalbl.c: Likewise.
28779 * math/w_acos.c: Likewise.
28780 * math/w_acosf.c: Likewise.
28781 * math/w_acosl.c: Likewise.
28782 * math/w_acosh.c: Likewise.
28783 * math/w_acoshf.c: Likewise.
28784 * math/w_acoshl.c: Likewise.
28785 * math/w_asin.c: Likewise.
28786 * math/w_asinf.c: Likewise.
28787 * math/w_asinl.c: Likewise.
28788 * math/w_atan2.c: Likewise.
28789 * math/w_atan2f.c: Likewise.
28790 * math/w_atan2l.c: Likewise.
28791 * math/w_atanh.c: Likewise.
28792 * math/w_atanhf.c: Likewise.
28793 * math/w_atanhl.c: Likewise.
28794 * math/w_exp10.c: Likewise.
28795 * math/w_exp10f.c: Likewise.
28796 * math/w_exp10l.c: Likewise.
28797 * math/w_fmod.c: Likewise.
28798 * math/w_fmodf.c: Likewise.
28799 * math/w_fmodl.c: Likewise.
28800 * math/w_j0.c: Likewise.
28801 * math/w_j0f.c: Likewise.
28802 * math/w_j0l.c: Likewise.
28803 * math/w_j1.c: Likewise.
28804 * math/w_j1f.c: Likewise.
28805 * math/w_j1l.c: Likewise.
28806 * math/w_jn.c: Likewise.
28807 * math/w_jnf.c: Likewise.
28808 * math/w_log.c: Likewise.
28809 * math/w_logf.c: Likewise.
28810 * math/w_logl.c: Likewise.
28811 * math/w_log10.c: Likewise.
28812 * math/w_log10f.c: Likewise.
28813 * math/w_log10l.c: Likewise.
28814 * math/w_log2.c: Likewise.
28815 * math/w_log2f.c: Likewise.
28816 * math/w_log2l.c: Likewise.
28817 * math/w_pow.c: Likewise.
28818 * math/w_powf.c: Likewise.
28819 * math/w_powl.c: Likewise.
28820 * math/w_remainder.c: Likewise.
28821 * math/w_remainderf.c: Likewise.
28822 * math/w_remainderl.c: Likewise.
28823 * math/w_scalb.c: Likewise.
28824 * math/w_scalbf.c: Likewise.
28825 * math/w_scalbl.c: Likewise.
28826 * math/w_sqrt.c: Likewise.
28827 * math/w_sqrtf.c: Likewise.
28828 * math/w_sqrtl.c: Likewise.
28829 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28830 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28831 used.
28832 * math/math_private.h: Declare __kernel_standard_f.
28833 * math/w_cosh.c: Remove cruft and optimize a bit.
28834 * math/w_coshf.c: Likewise.
28835 * math/w_coshl.c: Likewise.
28836 * math/w_exp2.c: Likewise.
28837 * math/w_exp2f.c: Likewise.
28838 * math/w_exp2l.c: Likewise.
28839 * math/w_hypot.c: Likewise.
28840 * math/w_hypotf.c: Likewise.
28841 * math/w_hypotl.c: Likewise.
28842 * math/w_lgamma.c: Likewise.
28843 * math/w_lgamma_r.c: Likewise.
28844 * math/w_lgammaf.c: Likewise.
28845 * math/w_lgammaf_r.c: Likewise.
28846 * math/w_lgammal.c: Likewise.
28847 * math/w_lgammal_r.c: Likewise.
28848 * math/w_sinh.c: Likewise.
28849 * math/w_sinhf.c: Likewise.
28850 * math/w_sinhl.c: Likewise.
28851 * math/w_tgamma.c: Likewise.
28852 * math/w_tgammaf.c: Likewise.
28853 * math/w_tgammal.c: Likewise.
28854 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28855 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28856 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28857 Minor optimizations. Pretty printing. Remove cruft.
28858 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28859 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28860 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28861 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28862 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28863 * sysdeps/i386/fpu/e_asin.S: Likewise.
28864 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28865 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28866 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28867 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28868 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28869 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28870 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28871 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28872 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28873 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28874 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28875 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28876 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28877 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28878 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28879 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28880 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28881 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28882 * sysdeps/i386/fpu/e_log.S: Likewise.
28883 * sysdeps/i386/fpu/e_log10.S: Likewise.
28884 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28885 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28886 * sysdeps/i386/fpu/e_log2.S: Likewise.
28887 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28888 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28889 * sysdeps/i386/fpu/e_logf.S: Likewise.
28890 * sysdeps/i386/fpu/e_logl.S: Likewise.
28891 * sysdeps/i386/fpu/e_pow.S: Likewise.
28892 * sysdeps/i386/fpu/e_powf.S: Likewise.
28893 * sysdeps/i386/fpu/e_powl.S: Likewise.
28894 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28895 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28896 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28897 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28898 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28899 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28900 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28901 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28902 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28903 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28904 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28905 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28906 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28907 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28908 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28909 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28910 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28911 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28912 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28913 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28914 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28916 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28917 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28918 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28919 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28920 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28921 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28922 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28923 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28924 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28925 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28926 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28927 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28928 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28929 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28930 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28931 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28932 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28933 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28934 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28935 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28936 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28937 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28938 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28939 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28940 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28941 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28942 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28943 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28944 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28945 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28946 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28947 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28948 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28949 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28950 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28951 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28952 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28953 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28954 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28955 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28956 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28957 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28958 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28959 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28960 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28961 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28962 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28963 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28964 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28965 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28966 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28967 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28968 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28969 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28970 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28971 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28972 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28973 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28974 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28975 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28976 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28977 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28979 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28980 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28981 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28982 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28983 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28984 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28985 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28986 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28987 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28988 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28989 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28990 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28991 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28992 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28993 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28994 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28995 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28996 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28997 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28998 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28999 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29000 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29001 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29002 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29003 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29004 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29005 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29006 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29007 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29008 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29009 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29010 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29011 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29012 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29013 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29014 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29015 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29016 (__isnanf): Likewise.
29017 (__isinf_ns): Likewise.
29018 (__isinf_nsf): Likewise.
29019 (__finite): Likewise.
29020 (__finitef): Likewise.
29021 (__ieee754_sqrt): Define as macro.
29022 (__ieee754_sqrtf): Define as macro.
29023 (__ieee754_sqrtl): Define as macro.
29024 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29025 inlined copy.
29026 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29027 __FINITE_MATH_ONLY__ consistent.
29028 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29029
12cc2fcd
AS
290302011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29031
a843a204
AS
29032 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29033 of rawmemchr.
29034
12cc2fcd
AS
29035 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29036
c853acd5
UD
290372011-10-09 Ulrich Drepper <drepper@gmail.com>
29038
29039 * po/ja.po: Update from translation team.
29040
c658d255
RM
290412011-10-08 Roland McGrath <roland@hack.frob.com>
29042
110946e4
RM
29043 * locale/programs/locarchive.c (prepare_address_space): New function.
29044 (create_archive, enlarge_archive, open_archive): Use it.
29045
50604220
RM
29046 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29047 inside [SHARED], where it is used.
29048
c658d255
RM
29049 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29050
29051 * nss/getent.c (netgroup_keys): Remove unused variable.
29052 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29053
6a621eb7
UD
290542011-10-08 Ulrich Drepper <drepper@gmail.com>
29055
7edb55ce
UD
29056 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29057 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29058 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29059 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29060 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29061 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29062 * math/Makefile (libm-calls): Add s_isinf_ns.
29063 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29064 * math/multc3.c: Likewise.
29065 * math/s_casin.c: Likewise.
29066 * math/s_casinf.c: Likewise.
29067 * math/s_casinl.c: Likewise.
29068 * math/s_ccos.c: Likewise.
29069 * math/s_ccosf.c: Likewise.
29070 * math/s_ccosl.c: Likewise.
29071 * math/s_ctan.c: Likewise.
29072 * math/s_ctanf.c: Likewise.
29073 * math/s_ctanh.c: Likewise.
29074 * math/s_ctanhf.c: Likewise.
29075 * math/s_ctanhl.c: Likewise.
29076 * math/s_ctanl.c: Likewise.
29077 * math/w_fmod.c: Likewise.
29078 * math/w_fmodf.c: Likewise.
29079 * math/w_fmodl.c: Likewise.
29080 * math/w_remainder.c: Likewise.
29081 * math/w_remainderf.c: Likewise.
29082 * math/w_remainderl.c: Likewise.
29083 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29084 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29085 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29086 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29087 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29088 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29089 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29090 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29091
187da0ae
UD
29092 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29093 of the number.
29094 * stdio-common/printf_fphex.c: Likewise.
29095 * stdio-common/printf_size.c: Likewise.
29096
9277c064
UD
29097 * math/e_exp10.c: Include math_private.h using <...> not "...".
29098 * math/e_exp10f.c: Likewise.
29099 * math/e_exp10l.c: Likewise.
29100 * math/e_exp2l.c: Likewise.
29101 * math/e_j0l.c: Likewise.
29102 * math/e_j1l.c: Likewise.
29103 * math/e_jnl.c: Likewise.
29104 * math/e_lgammal_r.c: Likewise.
29105 * math/e_rem_pio2l.c: Likewise.
29106 * math/e_scalb.c: Likewise.
29107 * math/e_scalbf.c: Likewise.
29108 * math/e_scalbl.c: Likewise.
29109 * math/k_cosl.c: Likewise.
29110 * math/k_sinl.c: Likewise.
29111 * math/k_tanl.c: Likewise.
29112 * math/s_cacoshf.c: Likewise.
29113 * math/s_catan.c: Likewise.
29114 * math/s_catanf.c: Likewise.
29115 * math/s_catanh.c: Likewise.
29116 * math/s_catanhf.c: Likewise.
29117 * math/s_catanhl.c: Likewise.
29118 * math/s_catanl.c: Likewise.
29119 * math/s_ccosh.c: Likewise.
29120 * math/s_ccoshf.c: Likewise.
29121 * math/s_ccoshl.c: Likewise.
29122 * math/s_cexp.c: Likewise.
29123 * math/s_cexpf.c: Likewise.
29124 * math/s_cexpl.c: Likewise.
29125 * math/s_clog.c: Likewise.
29126 * math/s_clog10.c: Likewise.
29127 * math/s_clog10f.c: Likewise.
29128 * math/s_clog10l.c: Likewise.
29129 * math/s_clogf.c: Likewise.
29130 * math/s_clogl.c: Likewise.
29131 * math/s_csin.c: Likewise.
29132 * math/s_csinf.c: Likewise.
29133 * math/s_csinh.c: Likewise.
29134 * math/s_csinhf.c: Likewise.
29135 * math/s_csinhl.c: Likewise.
29136 * math/s_csinl.c: Likewise.
29137 * math/s_csqrt.c: Likewise.
29138 * math/s_csqrtf.c: Likewise.
29139 * math/s_csqrtl.c: Likewise.
29140 * math/s_ctan.c: Likewise.
29141 * math/s_ctanf.c: Likewise.
29142 * math/s_ctanh.c: Likewise.
29143 * math/s_ctanhf.c: Likewise.
29144 * math/s_ctanhl.c: Likewise.
29145 * math/s_ctanl.c: Likewise.
29146 * math/s_ldexp.c: Likewise.
29147 * math/s_ldexpf.c: Likewise.
29148 * math/s_ldexpl.c: Likewise.
29149 * math/s_significand.c: Likewise.
29150 * math/s_significandf.c: Likewise.
29151 * math/s_significandl.c: Likewise.
29152 * math/w_acos.c: Likewise.
29153 * math/w_acosf.c: Likewise.
29154 * math/w_acosh.c: Likewise.
29155 * math/w_acoshf.c: Likewise.
29156 * math/w_acoshl.c: Likewise.
29157 * math/w_acosl.c: Likewise.
29158 * math/w_asin.c: Likewise.
29159 * math/w_asinf.c: Likewise.
29160 * math/w_asinl.c: Likewise.
29161 * math/w_atan2.c: Likewise.
29162 * math/w_atan2f.c: Likewise.
29163 * math/w_atan2l.c: Likewise.
29164 * math/w_atanh.c: Likewise.
29165 * math/w_atanhf.c: Likewise.
29166 * math/w_atanhl.c: Likewise.
29167 * math/w_cosh.c: Likewise.
29168 * math/w_coshf.c: Likewise.
29169 * math/w_coshl.c: Likewise.
29170 * math/w_dremf.c: Likewise.
29171 * math/w_exp10.c: Likewise.
29172 * math/w_exp10f.c: Likewise.
29173 * math/w_exp10l.c: Likewise.
29174 * math/w_exp2.c: Likewise.
29175 * math/w_exp2f.c: Likewise.
29176 * math/w_fmod.c: Likewise.
29177 * math/w_fmodf.c: Likewise.
29178 * math/w_fmodl.c: Likewise.
29179 * math/w_hypot.c: Likewise.
29180 * math/w_hypotf.c: Likewise.
29181 * math/w_hypotl.c: Likewise.
29182 * math/w_j0.c: Likewise.
29183 * math/w_j0f.c: Likewise.
29184 * math/w_j0l.c: Likewise.
29185 * math/w_j1.c: Likewise.
29186 * math/w_j1f.c: Likewise.
29187 * math/w_j1l.c: Likewise.
29188 * math/w_jn.c: Likewise.
29189 * math/w_jnf.c: Likewise.
29190 * math/w_jnl.c: Likewise.
29191 * math/w_lgamma.c: Likewise.
29192 * math/w_lgamma_r.c: Likewise.
29193 * math/w_lgammaf.c: Likewise.
29194 * math/w_lgammaf_r.c: Likewise.
29195 * math/w_lgammal.c: Likewise.
29196 * math/w_lgammal_r.c: Likewise.
29197 * math/w_log.c: Likewise.
29198 * math/w_log10.c: Likewise.
29199 * math/w_log10f.c: Likewise.
29200 * math/w_log10l.c: Likewise.
29201 * math/w_log2.c: Likewise.
29202 * math/w_log2f.c: Likewise.
29203 * math/w_log2l.c: Likewise.
29204 * math/w_logf.c: Likewise.
29205 * math/w_logl.c: Likewise.
29206 * math/w_pow.c: Likewise.
29207 * math/w_powf.c: Likewise.
29208 * math/w_powl.c: Likewise.
29209 * math/w_remainder.c: Likewise.
29210 * math/w_remainderf.c: Likewise.
29211 * math/w_remainderl.c: Likewise.
29212 * math/w_scalb.c: Likewise.
29213 * math/w_scalbf.c: Likewise.
29214 * math/w_scalbl.c: Likewise.
29215 * math/w_sinh.c: Likewise.
29216 * math/w_sinhf.c: Likewise.
29217 * math/w_sinhl.c: Likewise.
29218 * math/w_sqrt.c: Likewise.
29219 * math/w_sqrtf.c: Likewise.
29220 * math/w_sqrtl.c: Likewise.
29221 * math/w_tgamma.c: Likewise.
29222 * math/w_tgammaf.c: Likewise.
29223 * math/w_tgammal.c: Likewise.
29224
6a621eb7
UD
29225 * po/ja.po: Update from translation team.
29226
bf582445
AJ
292272011-09-29 Andreas Jaeger <aj@suse.de>
29228
f9efbf3a
AJ
29229 [BZ #13179]
29230 * sunrpc/netname.c (netname2host): Fix logic.
29231
bf582445
AJ
29232 [BZ #6779]
29233 [BZ #6783]
29234 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29235 correctly.
29236 * math/w_remainder.c (__remainder): Likewise.
29237 * math/w_remainderf.c (__remainderf): Likewise.
29238 * math/libm-test.inc (remainder_test): Add test cases.
29239
48693bea
AK
292402011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29241
29242 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29243 sdiv_qrnnd.
29244
42622229
LD
292452011-10-07 Ulrich Drepper <drepper@gmail.com>
29246
29247 * string/test-memcmp.c: Avoid unncessary #defines.
29248 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29249
093ecf92
LD
292502011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29251
29252 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29253 Use new sse2 version for core i3 - i7 as it's faster
29254 than sse42 version.
29255 (bit_Prefer_PMINUB_for_stringop): New.
29256 * sysdeps/x86_64/rawmemchr.S: Update.
29257 Replace with faster SSE2 version.
29258 * sysdeps/x86_64/memrchr.S: New file.
29259 * sysdeps/x86_64/memchr.S: Update.
29260 Replace with faster SSE2 version.
29261
fde56e5c
MP
292622011-09-12 Marek Polacek <mpolacek@redhat.com>
29263
29264 * elf/dl-load.c (lose): Add cast to avoid warning.
29265
21fd49a9
UD
292662011-10-07 Ulrich Drepper <drepper@gmail.com>
29267
5a06e643
UD
29268 * po/ca.po: Update from translation team.
29269
684ae515
UD
29270 * inet/getnetgrent_r.c: Hook up nscd.
29271 * nscd/Makefile (routines): Add nscd_netgroup.
29272 (nscd-modules): Add netgroupcache.
29273 (CFLAGS-netgroupcache.c): Define.
29274 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29275 (cache_search): Add const to second parameter.
29276 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29277 INNETGR.
29278 (dbs): Add netgrdb entry.
29279 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29280 (verify_persistent_db): Handle netgrdb.
29281 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29282 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29283 GETFDNETGR.
29284 (netgroup_response_header): Define.
29285 (innetgroup_response_header): Define.
29286 (datahead): Add netgroup_response_header and innetgroup_response_header
29287 elements.
29288 * nscd/nscd.conf: Add entries for netgroup cache.
29289 * nscd/nscd.h (dbtype): Add netgrdb.
29290 (_PATH_NSCD_NETGROUP_DB): Define.
29291 (netgroup_iov_disabled): Declare.
29292 (xmalloc, xcalloc, xrealloc): Move declarations here.
29293 (cache_search): Adjust prototype.
29294 Add netgroup-related prototypes.
29295 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29296 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29297 (__nscd_innetgr): Declare.
29298 * nscd/selinux.c (perms): Use access_vector_t as element type and
29299 add netgroup-related initializers.
29300 * nscd/netgroupcache.c: New file.
29301 * nscd/nscd_netgroup.c: New file.
29302 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29303 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29304 For four parameters use innetgr.
29305 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29306 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29307 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29308 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29309
21fd49a9
UD
29310 * nscd/connections.c (register_traced_file): Don't register file
29311 for disabled databases.
29312
054c0457
UD
293132011-10-06 Ulrich Drepper <drepper@gmail.com>
29314
32b63198
UD
29315 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29316
054c0457
UD
29317 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29318 from tree and freeing node.
29319
64031225
JO
293202011-09-25 Jiri Olsa <jolsa@redhat.com>
29321
29322 * nss/nsswitch.c (__nss_database_lookup): Handle
29323 nss_parse_service_list out of memory case.
29324
0490345c
JO
293252011-09-15 Jiri Olsa <jolsa@redhat.com>
29326
29327 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29328 out of memory case.
29329
3a62d00d
AS
293302011-10-04 Andreas Schwab <schwab@redhat.com>
29331
29332 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29333 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29334 pass it down.
29335 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29336 elf_machine_rela, elf_machine_lazy_rel.
29337 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29338 (ELF_DYNAMIC_DO_REL): Likewise.
29339 (ELF_DYNAMIC_DO_RELA): Likewise.
29340 (ELF_DYNAMIC_RELOCATE): Likewise.
29341 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29342 to ELF_DYNAMIC_DO_REL.
29343 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29344 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29345 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29346 elf_machine_rela.
29347 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29348 skip_ifunc, don't call ifunc function if non-zero.
29349 (elf_machine_rela): Likewise.
29350 (elf_machine_lazy_rel): Likewise.
29351 (elf_machine_lazy_rela): Likewise.
29352 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29353 (elf_machine_lazy_rel): Likewise.
29354 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29355 Likewise.
29356 (elf_machine_lazy_rel): Likewise.
29357 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29358 Likewise.
29359 (elf_machine_lazy_rel): Likewise.
29360 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29361 (elf_machine_lazy_rel): Likewise.
29362 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29363 (elf_machine_lazy_rel): Likewise.
29364 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29365 (elf_machine_lazy_rel): Likewise.
29366 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29367 (elf_machine_lazy_rel): Likewise.
29368 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29369 (elf_machine_lazy_rel): Likewise.
29370 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29371 (elf_machine_lazy_rel): Likewise.
29372
68577918
UD
293732011-09-28 Ulrich Drepper <drepper@gmail.com>
29374
29375 * nss/nss_files/files-init.c (_nss_files_init): Use static
29376 initialization for all the *_traced_file variables.
29377
68822d74
AS
293782011-09-28 Andreas Schwab <schwab@redhat.com>
29379
29380 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29381
2056100b
RM
293822011-09-27 Roland McGrath <roland@hack.frob.com>
29383
29384 [BZ #13226]
29385 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29386
32c76b63
AS
293872011-09-27 Andreas Schwab <schwab@redhat.com>
29388
29389 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29390 Reread the line before reparsing it.
29391
bf972c9d
AS
293922011-09-26 Andreas Schwab <schwab@redhat.com>
29393
29394 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29395
e057a1b5
JM
293962011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29397 Maxim Kuvyrkov <maxim@codesourcery.com>
29398 Joseph Myers <joseph@codesourcery.com>
29399
29400 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29401 if needed for __stack_chk_guard.
29402
bc7e1c36
RM
294032011-09-19 Roland McGrath <roland@hack.frob.com>
29404
ecb1482f
RM
29405 * sysdeps/posix/spawni.c (script_execute): Always define it.
29406 It will be optimized away if unused.
29407 (maybe_script_execute): New function.
29408 (__spawni): Call it.
29409
bc7e1c36
RM
29410 * Makerules: Don't include tls.make.
29411 (config-tls): Always set to thread.
29412 * tls.make.c: File removed.
29413
1c3b002b
MF
294142011-09-19 Mike Frysinger <vapier@gentoo.org>
29415
29416 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29417 * config.make.in (CPPFLAGS-config): New substituted variable.
29418
2840865d
UD
294192011-09-15 Ulrich Drepper <drepper@gmail.com>
29420
88738eb6
UD
29421 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29422
cbf645a6 29423 [BZ #13192]
2840865d
UD
29424 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29425 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29426
b402e91a
RM
294272011-09-15 Roland McGrath <roland@hack.frob.com>
29428
29429 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29430 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29431 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29432 (CALL_FAIL): Likewise.
29433 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29434 (CALL_FAIL): Macro removed.
29435 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29436
4c1a1f71
UD
294372011-09-15 Ulrich Drepper <drepper@gmail.com>
29438
29439 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29440 for __FINITE_MATH_ONLY__ == 1.
29441
edc121be
AS
294422011-09-15 Andreas Schwab <schwab@redhat.com>
29443
29444 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29445 __ieee754_sqrt instead of sqrt.
29446 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29447 __ieee754_sqrtf instead of sqrtf.
29448 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29449 __floorf instead of floorf.
29450 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29451 __floorf, __truncf instead of floorf, truncf.
29452
cd205654
UD
294532011-09-14 Ulrich Drepper <drepper@gmail.com>
29454
ee4d0315
UD
29455 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29456
cd205654
UD
29457 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29458 __extern_always_inline.
29459 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29460 32-bit.
29461
48b67d71
AS
294622011-09-14 Andreas Schwab <schwab@redhat.com>
29463
29464 * elf/rtld.c (dl_main): Also relocate in dependency order when
29465 doing symbol dependency testing.
29466
1ae12c75
AS
294672011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29468
29469 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29470 Always define `refsym'.
29471
995a80df
AS
294722011-09-13 Andreas Schwab <schwab@redhat.com>
29473
e529793b
AS
29474 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29475 (__FD_ELT): Renamed from __FDELT.
29476 * misc/bits/select2.h (__FD_ELT): Likewise.
29477 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29478 __FD_MASK instead of __FDELT, __FDMASK.
29479 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29480 Likewise.
29481 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29482 Likewise.
29483
52d4fef8
AS
29484 * elf/Makefile (gen-ldd): Fix pattern.
29485
995a80df
AS
29486 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29487 (init_tls): Likewise.
29488
8682f8b0
UD
294892011-09-12 Ulrich Drepper <drepper@gmail.com>
29490
29491 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29492
de82006d
AS
294932011-09-12 Andreas Schwab <schwab@redhat.com>
29494
a7c8e6a1
AS
29495 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29496 `struct cmsghdr *' instead of `void *'.
29497 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29498 Likewise.
29499
0f31fe77
AS
295002011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29501
29502 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29503 if non-absolute.
29504 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29505 ldd_rewrite_script.
0f31fe77 29506
32b4c839
UD
295072011-09-11 Ulrich Drepper <drepper@gmail.com>
29508
83cd1420
UD
29509 * configure.in: Remove --with-tls option.
29510 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29511 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29512 out in case it is missing.
29513 * sysdeps/ia64/elf/configure.in: Likewise.
29514 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29515 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29516 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29517 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29518 * sysdeps/sh/elf/configure.in: Likewise.
29519 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29520 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29521 * sysdeps/x86_64/elf/configure.in: Likewise.
29522 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29523 * sysdeps/mach/hurd/tls.h: Likewise.
29524
633f745d
UD
29525 [BZ #13067]
29526 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29527
f318beb8
UD
29528 [BZ #13090]
29529 * configure.in: Fix use of AC_INIT.
29530
32b4c839
UD
29531 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29532
3ce1f295
UD
295332011-09-10 Ulrich Drepper <drepper@gmail.com>
29534
bb016596
UD
29535 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29536 __set_errno.
8e58439c
UD
29537 * malloc/hooks.c: Likewise.
29538
aebae053 29539 [BZ #11929]
02d46fc4
UD
29540 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29541 variables statically.
29542 (narenas): Initialize.
29543 (list_lock): Initialize.
bb016596
UD
29544 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29545 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29546 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29547 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29548 Add initializers to main_arena and mp_.
29549 (malloc_state): Remove pagesize member. Change all users to use
29550 GLRO(dl_pagesize).
29551
29552 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29553 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29554 is always initialized.
29555
22a89187
UD
29556 * malloc/malloc.c: Removed unused configurations and dead code.
29557 * malloc/arena.c: Likewise.
29558 * malloc/hooks.c: Likewise.
02d46fc4 29559 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29560
d063d164
UD
29561 * include/tls.h: Removed. USE___THREAD must always be defined.
29562 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29563 * elf/dl-libc.c: Likewise.
29564 * elf/dl-tsd.c: Likewise.
29565 * include/errno.h: Likewise.
29566 * include/netdb.h: Likewise.
29567 * include/resolv.h: Likewise.
29568 * inet/herrno-loc.c: Likewise.
29569 * inet/herrno.c: Likewise.
29570 * malloc/arena.c: Likewise.
29571 * malloc/hooks.c: Likewise.
29572 * malloc/malloc.c: Likewise.
29573 * resolv/res-state.c: Likewise.
29574 * resolv/res_libc.c: Likewise.
29575 * sysdeps/i386/dl-machine.h: Likewise.
29576 * sysdeps/ia64/dl-machine.h: Likewise.
29577 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29578 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29579 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29580 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29581 * sysdeps/sh/dl-machine.h: Likewise.
29582 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29583 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29584 * sysdeps/unix/i386/sysdep.S: Likewise.
29585 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29586 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29587 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29588 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29589 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29590 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29591 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29592 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29595 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29596 * sysdeps/x86_64/dl-machine.h: Likewise.
29597 * tls.make.c: Likewise.
29598
3ce1f295
UD
29599 * configure.in: Remove --with-__thread option. Make tests for
29600 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29601 tls_model attribute fail if no support is available. Remove
29602 USE_IN_LIBIO.
29603 * Makeconfig: Adjust for dropped configure option. All features are
29604 now mandatory.
29605 * Makerules: Likewise.
29606 * Versions.def: Likewise.
29607 * argp/argp-fmtstream.c: Likewise.
29608 * argp/argp-fmtstream.h: Likewise.
29609 * argp/argp-help.c: Likewise.
29610 * assert/assert.c: Likewise.
29611 * config.h.in: Likewise.
29612 * config.make.in: Likewise.
29613 * configure: Likewise.
29614 * configure.in: Likewise.
29615 * csu/Versions: Likewise.
29616 * csu/init.c: Likewise.
29617 * elf/tst-audit2.c: Likewise.
29618 * elf/tst-tls10.c: Likewise.
29619 * elf/tst-tls10.h: Likewise.
29620 * elf/tst-tls11.c: Likewise.
29621 * elf/tst-tls12.c: Likewise.
29622 * elf/tst-tls14.c: Likewise.
29623 * elf/tst-tlsmod11.c: Likewise.
29624 * elf/tst-tlsmod12.c: Likewise.
29625 * elf/tst-tlsmod13.c: Likewise.
29626 * elf/tst-tlsmod13a.c: Likewise.
29627 * elf/tst-tlsmod14a.c: Likewise.
29628 * elf/tst-tlsmod15b.c: Likewise.
29629 * elf/tst-tlsmod16a.c: Likewise.
29630 * elf/tst-tlsmod16b.c: Likewise.
29631 * elf/tst-tlsmod7.c: Likewise.
29632 * elf/tst-tlsmod8.c: Likewise.
29633 * elf/tst-tlsmod9.c: Likewise.
29634 * gmon/gmon.c: Likewise.
29635 * grp/fgetgrent_r.c: Likewise.
29636 * grp/putgrent.c: Likewise.
29637 * hurd/fopenport.c: Likewise.
29638 * include/libc-symbols.h: Likewise.
29639 * include/tls.h: Likewise.
29640 * intl/gettextP.h: Likewise.
29641 * intl/loadinfo.h: Likewise.
29642 * locale/global-locale.c: Likewise.
29643 * locale/localeinfo.h: Likewise.
29644 * mach/devstream.c: Likewise.
29645 * malloc/arena.c: Likewise.
29646 * malloc/set-freeres.c: Likewise.
29647 * misc/err.c: Likewise.
29648 * misc/getttyent.c: Likewise.
29649 * misc/mntent_r.c: Likewise.
29650 * posix/getopt.c: Likewise.
29651 * posix/wordexp.c: Likewise.
29652 * pwd/fgetpwent_r.c: Likewise.
29653 * resolv/Versions: Likewise.
29654 * resolv/res_hconf.c: Likewise.
29655 * shadow/fgetspent_r.c: Likewise.
29656 * shadow/putspent.c: Likewise.
29657 * stdio-common/printf_fphex.c: Likewise.
29658 * stdio-common/tmpfile.c: Likewise.
29659 * stdlib/abort.c: Likewise.
29660 * stdlib/fmtmsg.c: Likewise.
29661 * sunrpc/auth_unix.c: Likewise.
29662 * sunrpc/clnt_perr.c: Likewise.
29663 * sunrpc/clnt_tcp.c: Likewise.
29664 * sunrpc/clnt_udp.c: Likewise.
29665 * sunrpc/clnt_unix.c: Likewise.
29666 * sunrpc/openchild.c: Likewise.
29667 * sunrpc/svc_simple.c: Likewise.
29668 * sunrpc/svc_tcp.c: Likewise.
29669 * sunrpc/svc_udp.c: Likewise.
29670 * sunrpc/svc_unix.c: Likewise.
29671 * sunrpc/xdr.c: Likewise.
29672 * sunrpc/xdr_array.c: Likewise.
29673 * sunrpc/xdr_rec.c: Likewise.
29674 * sunrpc/xdr_ref.c: Likewise.
29675 * sunrpc/xdr_stdio.c: Likewise.
29676
1248c1c4
PB
296772011-09-09 Ulrich Drepper <drepper@gmail.com>
29678
29679 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29680
296812011-07-03 Andreas Jaeger <aj@suse.de>
29682
29683 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29684 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29685 regenerate with gen-libm-tests.pl.
29686
296872010-05-12 Petr Baudis <pasky@suse.cz>
29688
29689 [BZ #11589]
29690 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29691 around j0() zero points by switching to j1().
29692 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29693 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29694 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29695 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29696
f22e1074
UD
296972011-09-09 Ulrich Drepper <drepper@gmail.com>
29698
f19009c1
UD
29699 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29700 instead of 0.
29701 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29702 instead of 0.
f19009c1
UD
29703 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29704 Patch in part by Pavel Roskin <proski@gnu.org>.
29705
3f8cc204
UD
29706 [BZ #13138]
29707 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29708 realloc.
29709 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29710 Free memory block if necessary.
29711
f22e1074
UD
29712 [BZ #12847]
29713 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29714 be NULL. Don't lock in this case.
29715
0a2349f9
RM
297162011-09-09 Roland McGrath <roland@hack.frob.com>
29717
29718 * elf/elf.h (ELFOSABI_GNU): New macro.
29719 (ELFOSABI_LINUX): Define to that.
29720
f3cdd467
DZ
297212011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29722
29723 * string/strncat.c (strncat): Undef the symbol in case it has been
29724 defined in bits/string.h.
29725
74718d13
UD
297262011-09-09 Ulrich Drepper <drepper@gmail.com>
29727
633e9e0f
UD
29728 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29729
0a2349f9 29730 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29731 link map.
29732
f9924780
AJ
297332011-08-17 Andreas Jaeger <aj@suse.de>
29734
29735 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29736
7f5517aa
PP
297372011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29738 Ian Lance Taylor <iant@google.com>
29739
29740 * math/libm-test.inc (lround_test): New testcase.
29741 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29742
762011fe
UD
297432011-09-08 Ulrich Drepper <drepper@gmail.com>
29744
92963737
UD
29745 * Makefile: Remove support for automatic cvs check-ins.
29746 * Makerules: Likewise.
29747 * config.make.in: Likewise.
29748 * configure.in: Likewise.
29749 * intl/Makefile: Likewise.
29750 * locale/Makefile: Likewise.
29751 * po/Makefile: Likewise.
29752 * posix/Makefile: Likewise.
29753 * sysdeps/gnu/Makefile: Likewise.
29754 * sysdeps/mach/hurd/Makefile: Likewise.
29755 * sysdeps/sparc/sparc32/Makefile: Likewise.
29756
b0727fd8
JS
29757 [BZ #13118]
29758 * posix/Makefile (bug-regex32-ENV): Define.
29759 Patch by John Stanley <jpsinthemix@verizon.net>.
29760
a0f33f99
UD
29761 * misc/Makefile (headers): Add bits/select2.h.
29762 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29763 * misc/bits/select2.h: New file.
29764 * include/bits/select2.h: New file.
29765 * debug/Makefile (routines): Add fdelt_chk.
29766 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29767 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29768 FD_ISSET.
29769 * debug/fdelt_chk.c: New file.
29770
762011fe
UD
29771 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29772 * wcsmbs/test-wmemcmp.c: Likewise.
29773 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29774 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29775
297762011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29777
29778 * string/Makefile (strop-tests): Add memcmp.
29779 * string/test-wmemcmp.c: New file.
29780 * string/test-memcmp.c: Add wmemcmp support.
29781
7f513ec8
RM
297822011-09-08 Roland McGrath <roland@hack.frob.com>
29783
0442afb4
RM
29784 [BZ #13153]
29785 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29786 2011-07-19 change.
29787
7f513ec8
RM
29788 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29789 garbage value in a __mach_port_mod_refs call in the cases of the
29790 task-self and thread-self ports.
29791
a12b2239
ST
297922011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29793
29794 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29795
610f9ab4
AS
297962011-09-08 Andreas Schwab <schwab@redhat.com>
29797
7f513ec8 29798 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29799
48882a1a
LD
298002011-09-07 Ulrich Drepper <drepper@gmail.com>
29801
b49865be
UD
29802 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29803
fdc86bc9
UD
29804 * elf/dl-libc.c (dlerror_run): Pass back error code from
29805 dl_catch_error.
29806
c966526a
UD
29807 [BZ #13123]
29808 * elf/dl-load.c (lose): Free l_origin if it is valid.
29809
48882a1a
LD
29810 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29811 names.
29812 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29813 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29814 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29815 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29816 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29817 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29818
77a2a8b4
AZ
298192011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29820
29821 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29822 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29823 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29824 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29825 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29826 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29827 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29828 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29829 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29830 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29831
24f579d8
AM
298322011-08-15 Alan Modra <amodra@gmail.com>
29833
29834 [BZ #13092]
29835 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29836 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29837 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29838 ppc_mcount to static-only-routines.
29839 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29840 __mcount_internal.
29841 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29842 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29843
3d4837df
UD
298442011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29845
29846 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29847 for finite and infinity parameters.
29848
22700377
WS
298492011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29850
29851 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29852 and add nop instructions for throughput optimization.
29853 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29854
5025581e
WS
298552011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29856
29857 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29858 aligned copy for power7 with vector-scalar instructions.
29859 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29860
08a300c9
L
298612011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29862
29863 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29864 AVX check.
29865
59178ef9
AS
298662011-09-07 Andreas Schwab <schwab@redhat.com>
29867
29868 [BZ #13144]
29869 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29870 last change.
29871
e38ba7ab
UD
298722011-09-07 Ulrich Drepper <drepper@gmail.com>
29873
29874 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29875 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29876 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29877 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29878 clock_gettime.
29879
d53a73ac
UD
298802011-09-06 Ulrich Drepper <drepper@gmail.com>
29881
fc8bffcc
UD
29882 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29883 Forgot to demangle the pointer.
29884
ceaa0c5d
UD
29885 * sysdeps/i386/sysdep.h: Define atom_text_section.
29886 * sysdeps/x86_64/sysdep.h: Likewise.
29887 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29888 section with atom_text_section.
29889 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29890 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29891 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29892 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29893 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29894
a77d3c17
UD
29895 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29896 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29897 already be defined. Change to take two parameters and don't assign
29898 result to variable. Adjust all users.
29899 Define INTERNAL_GETTIME if not already defined.
29900 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29901 call.
29902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29903 HAVE_CLOCK_GETTIME_VSYSCALL.
29904 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29905
d53a73ac
UD
29906 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29907 gettimeofday vsyscall, just use time.
29908
a8f84144
AS
299092011-09-06 Andreas Schwab <schwab@redhat.com>
29910
29911 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29912 <errno.h>.
29913
ef606249
UD
299142011-09-06 Ulrich Drepper <drepper@gmail.com>
29915
29916 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29917 syscall on x86-64.
29918 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29919 syscall.
29920 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29921 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29922 syscall if possible.
29923
6585cb60
UD
299242011-09-05 Ulrich Drepper <drepper@gmail.com>
29925
29926 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29927 e_ident. Don't pass to find_mapsXX.
29928 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29929
a5f524e4
LD
299302011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29931
29932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29933 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29934 * sysdeps/x86_64/multiarch/strchr.S: Update.
29935 Check bit_slow_BSF bit.
29936 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29937 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29938 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29939
554881ef
UD
299402011-09-05 Ulrich Drepper <drepper@gmail.com>
29941
d96de963
UD
29942 [BZ #13134]
29943 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29944 before glibc 2.15.
29945 (tryshell): Define.
29946 (__spawni): Change last parameter to be flag. Test
29947 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29948 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29949 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29950 * posix/spawni.c: Likewise.
29951 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29952 * posix/spawnp.c: Likewise. Change normal version to use
29953 SPAWN_XFLAGS_USE_PATH.
29954 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29955 SPAWN_XFLAGS_TRY_SHELL.
29956
d48e5868
UD
29957 [BZ #13150]
29958 * posix/glob.h: Remove gcc 1.x support.
29959
554881ef
UD
29960 [BZ #13068]
29961 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29962
693fb948
LD
299632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29964
29965 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29966 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29967 strrchr-sse2-bsf
29968 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29969 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29970 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29971 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29972 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29973 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29974
1b48c537
UD
299752011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29976
49d42c37
UD
29977 * sysdeps/x86_64/wcscmp.S: New file.
29978
1b48c537
UD
29979 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29980 wcscmp-c wcscmp-sse2
29981 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29982 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29983 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29984 * wcsmbs/wcscmp.c: Allow renaming.
29985
15c95c5d
DM
299862011-09-05 David S. Miller <davem@davemloft.net>
29987
29988 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29989 stack slot, rather than the struct return pointer slot.
29990 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29991 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29993 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29994
2f0ad8f3
UD
299952011-09-05 Ulrich Drepper <drepper@gmail.com>
29996
d88ae418
UD
29997 * po/ja.po: Update from translation team.
29998
2f0ad8f3
UD
29999 [BZ #13144]
30000 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30001 kernel in 64-bit binaries.
30002
5f4318d1
DM
300032011-09-01 David S. Miller <davem@davemloft.net>
30004
30005 * elf/elf.h (HWCAP_SPARC_*): Move to..
30006 * sysdeps/sparc/sysdep.h: this new file and add new values.
30007 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30008 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30009 _DL_HWCAP_COUNT to 24.
30010 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30011 entries.
30012 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30013 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30014 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30015 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30016 instead of magic constants.
30017 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30018
3ba57516
DM
300192011-08-31 David S. Miller <davem@davemloft.net>
30020
30021 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30022 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30023 Reimplement to do errno handling inline.
30024 (SYSCALL_ERROR_HANDLER): New macro.
30025 (__SYSCALL_STRING): Do not do errno handling in asm.
30026 (__CLONE_SYSCALL_STRING): Delete.
30027 (__INTERNAL_SYSCALL_STRING): Delete.
30028 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30029 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30030 (PSEUDO): Reimplement to do errno handling inline.
30031 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30032 (SYSCALL_ERROR_HANDLER): New macro.
30033 (__SYSCALL_STRING): Do not do errno handling in asm.
30034 (__CLONE_SYSCALL_STRING): Delete.
30035 (__INTERNAL_SYSCALL_STRING): Delete.
30036 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30037 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30038 i386.
30039 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30040 (inline_syscall*): Add 'err' argument.
30041 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30042 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30043 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30044 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30045
30046 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30047 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30048
2bc17433
AS
300492011-08-30 Andreas Schwab <schwab@redhat.com>
30050
30051 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30052
fbeb5f4d
JO
300532011-08-29 Jiri Olsa <jolsa@redhat.com>
30054
30055 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30056 directive.
30057
ad69cc26
DM
300582011-08-24 David S. Miller <davem@davemloft.net>
30059
30060 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30061
39dd69df
AS
300622011-08-24 Andreas Schwab <schwab@redhat.com>
30063
30064 * elf/Makefile: Add rules to build and run unload8 test.
30065 * elf/unload8.c: New file.
30066 * elf/unload8mod1.c: New file.
30067 * elf/unload8mod1x.c: New file.
30068 * elf/unload8mod2.c: New file.
30069 * elf/unload8mod3.c: New file.
30070
30071 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30072 it wasn't used.
30073
2c0b250a
DM
300742011-08-23 David S. Miller <davem@davemloft.net>
30075
30076 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30077 subtract stack bias.
30078 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30079 %sp not %fp in calculations.
30080 (_JMPBUF_UNWINDS_ADJ): Likewise.
30081
22044b48
DM
30082 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30083 (aio_suspend): Call it to force an exception region around the
30084 AIO_MISC_WAIT() invocation.
30085
2cae4995
AS
300862011-08-23 Andreas Schwab <schwab@redhat.com>
30087
30088 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30089 backslash.
30090
873a772e
AJ
300912011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30092
30093 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30094 protection macro.
30095 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30096 and <dl-machine.h>.
30097 (Elf64_FuncDesc): Remove.
30098
25ad0df1
DM
300992011-08-22 David S. Miller <davem@davemloft.net>
30100
30101 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30102 sigaltstack check, add missing cfi directives.
30103 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30104 missing cfi directives, and sigaltstack handling.
30105
e888bcbe
AS
301062011-08-16 Andreas Schwab <schwab@redhat.com>
30107
30108 [BZ #11724]
30109 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30110 object is seen twice.
30111 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30112
30113 * elf/Makefile (distribute): Add tst-initorder2.c.
30114 (tests): Add tst-initorder2.
30115 (modules-names): Add tst-initorder2a tst-initorder2b
30116 tst-initorder2c tst-initorder2d. Add rules to build them.
30117 ($(objpfx)tst-initorder2.out): New rule.
30118 * elf/tst-initorder2.c: New file.
30119 * elf/tst-initorder2.exp: New file.
30120
87162f46
AS
301212011-08-22 Andreas Schwab <schwab@redhat.com>
30122
70538b7f
AS
30123 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30124
f55ffe58
AS
30125 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30126 dependencies back to end of function.
30127
87162f46
AS
30128 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30129 $(elfobjdir)/ld.so.
30130
91b392a4
UD
301312011-08-21 Ulrich Drepper <drepper@gmail.com>
30132
30133 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30134 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30135 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30136 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30137 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30138 of __vdso_gettimeofday.
30139 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30140 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30141 attribute_hidden.
30142 (_libc_vdso_platform_setup): Remove initialization of
30143 __vdso_gettimeofday and __vdso_time.
30144
5c43483f
UD
301452011-08-20 Ulrich Drepper <drepper@gmail.com>
30146
775a77e7
UD
30147 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30148 and fgetc_unlocked.
30149 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30150 getc_unlocked.
89f447ed 30151
49c74ba9
UD
30152 * elf/dl-open.c (add_to_global): Report additions to the global scope
30153 for LD_DEBUG=scopes.
30154 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 30155 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 30156
5c43483f
UD
30157 [BZ #13114]
30158 * stdio-common/Makefile (tests): Add bug24.
30159 * stdio-common/bug24.c: New file.
30160
a101b025
AJ
301612011-08-19 Andreas Jaeger <aj@suse.de>
30162
30163 [BZ #13114]
30164 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30165 non-existant file when using close-on-exec mode.
30166
c88f1766
UD
301672011-08-20 Ulrich Drepper <drepper@gmail.com>
30168
0276a718
UD
30169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30170 the very first instruction.
30171
c88f1766
UD
30172 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30173 the CFI state in the end.
30174 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30175 inclusion of dl-trampoline.h.
30176 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30177
51ccffa0
AS
301782011-08-19 Andreas Schwab <schwab@redhat.com>
30179
94d7165f
AS
30180 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30181 expectations for long double.
30182
51ccffa0
AS
30183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30184 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30185
fd708658 301862011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
30187
30188 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30189 artificual limit depends upon the system page size.
30190
44f0a71e
UD
301912011-08-17 Ulrich Drepper <drepper@gmail.com>
30192
30193 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30194 * resolv/Makefile: Define CFLAGS-libresolv.
30195
8de79a24
AS
301962011-08-17 Andreas Schwab <schwab@redhat.com>
30197
30198 * nss/makedb.c (compute_tables): Make variables used in nested
30199 function static.
30200
27724598
UD
302012011-08-17 Ulrich Drepper <drepper@gmail.com>
30202
c5305d88
UD
30203 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30204 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30205 if buffer was too small.
30206
27724598
UD
30207 * elf/pldd.c (main): Attach to all threads in the process.
30208 Rewrite /proc handling to use *at functions.
30209
076fe015
UD
302102011-08-16 Ulrich Drepper <drepper@gmail.com>
30211
174baab3
UD
30212 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30213 specifies first scope to show.
30214 (dl_open_worker): Update callers. Move printing scope of new
30215 object to before the relocation.
44f0a71e 30216 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
30217 * sysdeps/generic/ldsodefs.h: Update declaration.
30218
076fe015
UD
30219 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30220 string for the scope number.
30221
a60df2c3
UD
302222011-08-14 Ulrich Drepper <drepper@gmail.com>
30223
30224 * nscd/servicescache.c (cache_addserv): Make sure written is always
30225 initialized.
30226
5e4287d1
RM
302272011-08-14 Roland McGrath <roland@hack.frob.com>
30228
85ae0589
RM
30229 * sysdeps/i386/i486/bits/atomic.h
30230 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30231 statement expression, so as to suppress "set but not used" warning.
30232 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30233
69f63097
RM
30234 * string/strncat.c (STRNCAT): Use prototype definition.
30235
675456ef
RM
30236 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30237 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30238 -Iprograms here.
30239 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30240 (localedef-modules): Add localedef.
30241 (locale-modules): Add locale.
30242
5e4287d1
RM
30243 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30244 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30245 to avoid a warning.
30246
9c96ff23
DM
302472011-08-14 David S. Miller <davem@davemloft.net>
30248
30249 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30250 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30251
f9ddf089
UD
302522011-08-13 Ulrich Drepper <drepper@gmail.com>
30253
44f0a71e 30254 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
30255 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30256 * elf/rtld.c (dl_main): Set l_name of vDSO.
30257 Call _dl_show_scope when DL_DEBUG_SCOPES.
30258 (process_dl_debug): Recognize scopes flag and also set it for all.
30259 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30260 Declare _dl_show_scope.
30261
1dc27704
UD
30262 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30263 (do_dlopen): Pass caller_dlopen to dl_open.
30264 (__libc_dlopen_mode): Initialize caller_dlopen.
30265
f9ddf089
UD
30266 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30267 of libc. Make tolower call locale-independent. Optimize a bit by
30268 using isdigit instead of isalnum.
30269 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30270
9ac533d3
UD
302712011-08-12 Ulrich Drepper <drepper@gmail.com>
30272
30273 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30274 was a dependency or dynamically loaded.
30275
89edf2e9
UD
302762011-08-11 Ulrich Drepper <drepper@gmail.com>
30277
8e999d29
UD
30278 * intl/l10nflist.c: Allow architecture-specific pop function.
30279 * sysdeps/x86_64/l10nflist.c: New file.
30280
89edf2e9
UD
30281 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30282 classification.
30283
14d96785
AS
302842011-08-10 Andreas Schwab <schwab@redhat.com>
30285
30286 * include/dirent.h: Add libc_hidden_proto for scandirat and
30287 scandirat64. Don't declare __scandirat64.
30288 * dirent/scandirat.c: Add libc_hidden_def.
30289 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30290 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30291
6761ac04
DM
302922011-08-10 David S. Miller <davem@davemloft.net>
30293
30294 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30295 enum.
30296 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30297 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30298 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30299
c55fbd1e
UD
303002011-08-09 Ulrich Drepper <drepper@gmail.com>
30301
30302 * Versions.def [libc]: Add GLIBC_2.15.
30303 * dirent/Makefile (routines): Add scandirat and scandirat64.
30304 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30305 GLIBC_2.15.
30306 * dirent/dirent.h: Declare scandirat and scandirat64.
30307 * dirent/scandirat.c: New file.
30308 * dirent/scandirat64.c: New file.
30309 * sysdeps/wordsize-64/scandirat.c: New file.
30310 * sysdeps/wordsize-64/scandirat64.c: New file.
30311 * dirent/opendir.c: Define opendirat.
30312 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30313 using scandirat.
30314 * dirent/scandir64.c: Adjust for scandir.c change.
30315 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30316 __scandirat64, and __scandir_cancel_handler.
30317 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30318 additional parameter and use openat instead of open (outside of ld.so).
30319 Add new __opendir as wrapper around __opendirat.
30320 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30321 here without requiring old scandirat implementation.
30322
879165f2
UD
303232011-08-08 Ulrich Drepper <drepper@gmail.com>
30324
30325 * dirent/scandir.c (cancel_handler): Renamed to
30326 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30327 defined. Adjust users.
30328 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30329 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30330
cb7e923b
UD
303312011-08-04 Ulrich Drepper <drepper@gmail.com>
30332
16292edd
UD
30333 * string/test-string.h (IMPL): Use __STRING to expand name and then
30334 stringify it.
30335
cb7e923b
UD
30336 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30337 of cleanups.
30338
cff82933
LD
303392011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30340
30341 * string/Makefile: Update.
30342 (strop-tests): Append strncat.
30343 * string/test-wcscmp.c: New file.
30344 New comprehensive test for wcscmp.
30345 * string/test-strcmp.c: Update.
30346 (WIDE): New define.
30347
9be9bfcc
AS
303482011-07-22 Andreas Schwab <schwab@redhat.com>
30349
30350 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30351 line.
30352
2e96f1c7
AS
303532011-07-26 Andreas Schwab <schwab@redhat.com>
30354
30355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30356 encoding to ACE if AI_IDN.
30357
85188888
JJ
303582011-08-01 Jakub Jelinek <jakub@redhat.com>
30359
30360 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30361 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30362
5fa16e9b
LD
303632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30364
30365 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30366 Fix overflow bug in strncat.
30367 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30368
30369 * string/test-strncat.c: Update.
30370 Add new tests for checking overflow bugs.
30371
303722011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30373
30374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30375 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30376 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30377 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30378 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30379 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30380 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30381 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30382 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30383
30384 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30385 (USE_AS_STRCAT): Define.
30386 Add strcat and strncat support.
30387 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30388
8c1a459f
AS
303892011-07-25 Andreas Schwab <schwab@redhat.com>
30390
30391 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30392 __n bigger than INT_MAX+1.
30393 (__strncmp_g): Likewise.
30394
bba33c28
UD
303952011-07-23 Ulrich Drepper <drepper@gmail.com>
30396
798be72d
UD
30397 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30398 * libio/stido.h: Likewise.
30399
8accd4dc
UD
30400 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30401 (AF_NFC): Define.
30402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30403 (AF_NFC): Define.
30404
cbff0d96
UD
30405 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30406 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30407 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30408 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30409 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30410
9191c04a
UD
30411 [BZ #13021]
30412 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30413 installed.
30414
bba33c28
UD
30415 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30416 typo.
30417 (_dl_x86_64_save_sse): Likewise.
30418
90f139dd
UD
304192011-07-22 Ulrich Drepper <drepper@gmail.com>
30420
1aae088a
UD
30421 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30422 OSXSAVE.
30423 (_dl_x86_64_save_sse): Likewise.
30424
8e2045f5
UD
30425 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30426
90f139dd
UD
30427 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30428
1d002f25
AS
304292011-07-21 Andreas Schwab <schwab@redhat.com>
30430
30431 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30432 change.
30433 (_dl_x86_64_save_sse): Use correct AVX check.
30434
21137f89
UD
304352011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30436
30437 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30438 bug in strncpy/strncat.
30439 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30440
a65c0b7a
UD
304412011-07-21 Ulrich Drepper <drepper@gmail.com>
30442
30443 * string/tester.c (test_strcat): Add tests for different alignments
30444 of source and destination.
30445 (test_strncat): Likewise.
30446
6986b98a
UD
304472011-07-20 Ulrich Drepper <drepper@gmail.com>
30448
90bb2039
UD
30449 [BZ #12852]
30450 * posix/glob.c (glob): Check passed in values before using them in
30451 expressions to avoid some overflows.
30452 (glob_in_dir): Likewise.
30453
5644ef54
UD
30454 [BZ #13007]
30455 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30456 check for AVX enablement so that we don't crash with old kernels and
30457 new hardware.
30458 * elf/tst-audit4.c: Add same checks here.
30459 * elf/tst-audit6.c: Likewise.
30460
30461 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 30462
bfc9dc9b
AS
304632011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30464
30465 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30466
702e64bb
UD
304672011-07-20 Ulrich Drepper <drepper@gmail.com>
30468
30469 * po/cs.po: Update from translation team.
30470 * po/bg.po: Likewise.
30471
295e904f
MP
304722011-07-12 Marek Polacek <mpolacek@redhat.com>
30473
30474 * misc/sys/cdefs.h: Add support for const attribute.
30475 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30476 to gnu_dev_{major,minor,makedev} functions.
30477
3ff94596
MP
304782011-07-20 Marek Polacek <mpolacek@redhat.com>
30479
30480 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30481
28b59fca
AS
304822011-07-20 Andreas Schwab <schwab@redhat.com>
30483
30484 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30485 strlen results.
30486
19df733e
AK
304872011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30488
30489 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30490 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30491 register in order to avoid conflicts with the soft frame pointer
30492 being held in r11 when necessary.
30493 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30494 (INTERNAL_VSYSCALL_NCS): Likewise.
30495
c8835729
MP
304962011-07-14 Marek Polacek <mpolacek@redhat.com>
30497
30498 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30499 * elf/dl-fini.c (_dl_fini): Adjust caller.
30500 * elf/dl-close.c (_dl_close_worker): Likewise.
30501 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30502
b902330c
MP
305032011-07-15 Marek Polacek <mpolacek@redhat.com>
30504
8991e135
MP
30505 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30506 "aux_cache->nlibs < 0".
30507
b902330c
MP
30508 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30509 in the reload-count case.
30510
99710781
LD
305112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30512
30513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30514 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30515 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30516 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30517 * sysdeps/x86_64/multiarch/strcat.S: New file.
30518 * sysdeps/x86_64/multiarch/strncat.S: New file.
30519 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30520 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30521 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30522 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30523 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30524 (USE_AS_STRCAT): Define.
30525 Add strcat and strncat support.
30526 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30527 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30528 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30529 * string/strncat.c: Update.
30530 (USE_AS_STRNCAT): Define.
30531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30532 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30533 and i7.
30534 * sysdeps/x86_64/multiarch/init-arch.h
30535 (bit_Prefer_PMINUB_for_stringop): New.
30536 (index_Prefer_PMINUB_for_stringop): Likewise.
30537 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30538 bit_Prefer_PMINUB_for_stringop.
30539
7dc6bd90
UD
305402011-07-19 Ulrich Drepper <drepper@gmail.com>
30541
30542 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30543 buffer64.
30544 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30545 of casting of buffer.
30546 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30547 buffer32 and buffer64.
30548 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30549 writes instead of casting of buffer.
30550 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30551 buffer32.
30552 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30553 casting of buffer.
30554
e0e72284
AS
305552011-07-19 Andreas Schwab <schwab@redhat.com>
30556
30557 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30558
feb1eb0b
UD
305592011-07-19 Ulrich Drepper <drepper@gmail.com>
30560
30561 * nscd/nscd.c (termination_handler): Don't do anything for a database
30562 if it has not yet been initialized.
30563
298711ff
UD
305642011-07-18 Ulrich Drepper <drepper@gmail.com>
30565
30566 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30567
305682011-07-15 Marek Polacek <mpolacek@redhat.com>
30569
30570 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30571
f9d68389
UD
305722011-07-18 Ulrich Drepper <drepper@gmail.com>
30573
30574 * po/nl.po: Update from translation team.
30575 * po/sv.po: Likewise.
30576
db290cf5
RM
305772011-07-16 Roland McGrath <roland@hack.frob.com>
30578
30579 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30580 now disallowed by GCC.
5c550700 30581
fd5e21c7
RM
30582 * configure.in (use-default-link): Default to yes if a test -shared
30583 link meets our qualifications.
30584 * configure: Regenerated.
30585
5c550700
RM
30586 * config.make.in (output-format): New variable.
30587 * configure.in: Check for ld --print-output-format support.
30588 * configure: Regenerated.
30589 * Makerules ($(common-objpfx)format.lds)
30590 [$(output-format) != unknown]: Just use $(output-format),
30591 instead of the linker-script munging.
30592
9fa2c032
RM
305932011-07-14 Roland McGrath <roland@hack.frob.com>
30594
a6928d51
RM
30595 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30596 of $(common-objpfx)shlib.lds.
30597 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30598
661607b3
RM
30599 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30600 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30601
9fa2c032
RM
30602 * configure.in (-z relro check): Adjust test code to add a large
30603 writable data section after it.
30604 * configure: Regenerated.
30605
defe9061
RM
306062011-07-11 Roland McGrath <roland@hack.frob.com>
30607
30608 * configure.in (-z relro check): Fix test code to make the variable
30609 truly const.
30610 * configure: Regenerated.
30611
319b9ad4
UD
306122011-07-11 Ulrich Drepper <drepper@gmail.com>
30613
30614 * nscd/nscd.h (struct traced_file): Define.
30615 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30616 elements. Add traced_files.
30617 (inotify_fd): Declare.
30618 (register_traced_file): Declare.
30619 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30620 (inotify_fd): Export.
30621 (resolv_conf_descr): Remove.
30622 (nscd_init): Move inotify descriptor creation to main.
30623 Don't register files for notification here.
30624 (register_traced_file): New function.
30625 (invalidate_cache): Don't use reset_res to determine whether to call
30626 res_init, go through the list of registered files.
30627 (main_loop_poll): The inotify descriptors are now stored in the
30628 structures for the traced files.
30629 (main_loop_epoll): Likewise
30630 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30631 to __nss_disable_nscd.
30632 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30633 for a database anymore. Check the records for all the registered
30634 files instead.
30635 * nss/Makefile (libnss_files-routines): Add files-init.
30636 (libnss_db-routines): Add db-init.
30637 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30638 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30639 * nss/nss_db/db-init.c: New file.
30640 * nss/nss_files/files-init.c: New file.
30641 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30642 __nss_lookup_function.
30643 (__nss_lookup_function): Call nss_load_library.
30644 (nss_load_all_libraries): New function.
30645 (__nss_disable_nscd): Take parameter with callback function for files
30646 to register. Set is_nscd. Load all the DSOs for the NSS modules
30647 used for the cached services.
30648 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30649 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30650 options for features to all the files in nscd.
30651
30652 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30653
23bee3e8
RM
306542011-07-10 Roland McGrath <roland@hack.frob.com>
30655
30656 * csu/elf-init.c (__libc_csu_init): Comment typo.
30657
46a5b7f0
UD
306582011-07-09 Ulrich Drepper <drepper@gmail.com>
30659
30660 * po/pl.po: Update from translation team.
30661 * po/ja.po: Likewise.
30662 * po/ru.po: Likewise.
30663 * po/ko.po: Likewise.
30664 * po/fr.po: Likewise.
30665
d30cf5bb
RM
306662011-07-09 Roland McGrath <roland@hack.frob.com>
30667
113ddea4
RM
30668 * configure.in (.ctors/.dtors header and trailer check):
30669 Use an empirical test on a built program.
30670 * configure: Regenerated.
30671
574920b4
RM
30672 * configure.in (-z relro check): Use an empirical test on a built DSO.
30673 Detect, but do not require, on ia64.
30674 * configure: Regenerated.
30675
d30cf5bb
RM
30676 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30677 Update tests that use readelf to use $READELF instead.
30678 * configure: Regenerated.
30679
8538fdb3
UD
306802011-07-08 Ulrich Drepper <drepper@gmail.com>
30681
30682 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30683 if the result is not used.
30684
04d08991
AJ
306852011-07-05 Andreas Jaeger <aj@suse.de>
30686
30687 [BZ#9696]
30688 * stdlib/tst-strtod.c: Add testcase.
30689
de283087
AD
306902011-07-07 Ulrich Drepper <drepper@gmail.com>
30691
4e5f31c8 30692 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30693 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30694 The latter has a higher limit. Take additional parameter to pass to
30695 the new function.
30696 (__pathconf): Pass file to __statfs_link_max.
30697 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30698 __statfs_link_max.
30699 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30700 __statfs_link_max.
30701
de283087
AD
30702 [BZ #12868]
30703 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30704 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30705 Handle Lustre.
30706 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30707 (__statfs_filesize_max): Likewise.
30708 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30709
c75fa153
AJ
307102011-07-05 Andreas Jaeger <aj@suse.de>
30711
30712 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30713
1a544854
UD
307142011-07-06 Marek Polacek <mpolacek@redhat.com>
30715
30716 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30717 `status' variable.
30718 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30719 Likewise.
30720
6f0eec67
UD
307212011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30722
30723 * Makefile (strop-tests): Add strncat.
30724 * string/test-strncat.c: New file.
30725
aae30307
UD
307262011-06-30 Marek Polacek <mpolacek@redhat.com>
30727
30728 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30729
c0cfb5eb
UD
307302011-06-21 Andreas Jaeger <aj@suse.de>
30731
30732 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30733 Copy rule from iconvdata/Makefile.
30734
01636b21
UD
307352011-07-06 Ulrich Drepper <drepper@gmail.com>
30736
30737 [BZ #12922]
30738 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30739 but no long options are defined, just return 'W'.
30740
9895c8bc
UD
307412011-06-22 Marek Polacek <mpolacek@redhat.com>
30742
30743 [BZ #9696]
30744 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30745
5d4cf042
UD
307462011-07-06 Ulrich Drepper <drepper@gmail.com>
30747
30748 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30749 netgroups to read.
960e5535 30750 (innetgr): Likewise.
5d4cf042 30751
751eb97e
RM
307522011-07-05 Roland McGrath <roland@hack.frob.com>
30753
30754 * config.make.in (install_root): Default to $(DESTDIR).
30755
f15f1e45
UD
307562011-07-05 Ulrich Drepper <drepper@gmail.com>
30757
30758 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30759
4e34ac6a
RM
307602011-07-02 Roland McGrath <roland@hack.frob.com>
30761
5e9b6af4
RM
30762 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30763
84f9ea0f
RM
30764 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30765 containing directory rather than embedding absolute directory names.
30766
ea5ee9f7
RM
30767 * scripts/check-local-headers.sh: Rewritten using awk.
30768 Match by word, not by line. Print error messages for matches.
30769 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30770
1b74661a
RM
30771 * Makerules [shlib-lds-flags empty]:
30772 ($(common-objpfx)libc_pic.opts): New target.
30773 ($(common-objpfx)libc_pic.os.clean): New target.
30774 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30775
30776 * config.make.in (OBJCOPY): New variable.
30777 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30778 * configure: Regenerated.
30779
f781ef40
RM
30780 * config.make.in (use-default-link): New variable.
30781 * configure.in (use_default_link): Grok --with-default-link to set it.
30782 * configure: Regenerated.
30783 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30784 (shlib-lds, shlib-lds-flags): Define to empty.
30785
2d4fa81e
RM
30786 * Makerules (shlib-lds): New variable.
30787 (shlib-lds-flags): New variable.
30788 (build-shlib, build-moduile, build-module-asneeded): Use it.
30789 ($(common-objpfx)libc.so): Use $(shlib-lds).
30790 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30791 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30792
31fffa6b
RM
30793 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30794 DT_FLAGS/DT_FLAGS_1 with zero flags.
30795
4e34ac6a
RM
30796 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30797 linker script munging.
30798
fcfc776b
UD
307992011-07-02 Ulrich Drepper <drepper@gmail.com>
30800
30801 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30802 as 128-bit value.
30803 * crypt/sha512.c (sha512_process_block): Perform total addition using
30804 128-bit if possible.
30805 (__sha512_finish_ctx): Likewise.
30806 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30807 as 64-bit value.
30808 * crypt/sha256.c (SWAP64): Define.
30809 (sha256_process_block): Perform total addition using 64-bit if
30810 possible.
30811 (__sha256_finish_ctx): Likewise.
30812
99231d9a
UD
308132011-07-01 Ulrich Drepper <drepper@gmail.com>
30814
30815 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30816 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30817 * nscd/hstcache.c (cache_addhst): Likewise.
30818 * nscd/grpcache.c (cache_addgr): Likewise.
30819 * nscd/aicache.c (addhstaiX): Likewise
30820 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30821
445b4a53
TK
308222011-07-01 Thorsten Kukuk <kukuk@suse.de>
30823
30824 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30825 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30826 * nscd/hstcache.c (cache_addhst): Likewise.
30827 * nscd/grpcache.c (cache_addgr): Likewise.
30828 * nscd/aicache.c (addhstaiX): Likewise
30829
6d4d8e8e
AS
308302011-07-01 Andreas Schwab <schwab@redhat.com>
30831
30832 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30833 domain only when needed.
30834
89f654c5
AS
308352011-06-30 Andreas Schwab <schwab@redhat.com>
30836
30837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30838 is always restored.
30839
cf3b23ff
UD
308402011-06-29 Ulrich Drepper <drepper@gmail.com>
30841
30842 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30843 are re-adding the entry.
30844 * nscd/servicescache.c (cache_addserv): Likewise.
30845
751626f9
AJ
308462011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30847
30848 * sysdeps/generic/dl-irel.h: fix protection against multiple
30849 inclusions.
30850 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30851
9113ea1f
UD
308522011-06-28 Ulrich Drepper <drepper@gmail.com>
30853
5c0b8d90
UD
30854 [BZ #12935]
30855 * malloc/memusage.sh: Fix quoting in message.
30856 * debug/xtrace.sh: Likewise.
30857
9113ea1f
UD
30858 * configure.in: Remove support for --experimental-malloc option, make
30859 it the default.
30860 * config.make.in: Likewise.
30861 * malloc/Makefile: Likewise.
30862
a4172181
AS
308632011-06-27 Andreas Schwab <schwab@redhat.com>
30864
30865 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30866 two-byte characters.
30867
78a7eee7
RM
308682011-06-27 Roland McGrath <roland@hack.frob.com>
30869
62bede13
RM
30870 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30871 AC_CACHE_CHECK invocation.
30872 * configure: Regenerated.
30873
78a7eee7
RM
30874 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30875
5ce33a62
UD
308762011-06-27 Ulrich Drepper <drepper@gmail.com>
30877
034807a9
UD
30878 [BZ #12350]
30879 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30880 bit from old_res_options.
30881
4902da17
UD
30882 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30883
5ce33a62
UD
30884 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30885 value type for setfct.
30886
c2344f56
L
308872011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30888
30889 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30890 __gettimeofday instead of gettimeofday.
30891
68468076
UD
308922011-06-26 Ulrich Drepper <drepper@gmail.com>
30893
30894 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30895
acb0d739
L
308962011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30897
30898 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30899
30900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30901 info.
30902
8912479f
L
309032011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30904
30905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30906 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30907 strcpy-sse2-unaligned strncpy-sse2-unaligned
30908 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30909 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30910 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30911 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30912 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30913 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30914 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30915 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30916 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30917 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30918 (STRCPY): Support SSE2 and SSSE3 versions.
30919
d5495a11
UD
309202011-06-24 Ulrich Drepper <drepper@gmail.com>
30921
30922 [BZ #12874]
30923 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30924 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30925 kernels which artificially limit size of requests.
30926
0b1cbaae
L
309272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30928
30929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30930 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30931 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30932 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30933 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30934 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30935 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30936 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30937 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30938 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30939 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30940 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30941 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30942 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30943 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30945 Enable unaligned load optimization for Intel Core i3, i5 and i7
30946 processors.
30947 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30948 Define.
30949 (index_Fast_Unaligned_Load): Define.
30950 (HAS_FAST_UNALIGNED_LOAD): Define.
30951
07f494a0
MP
309522011-06-23 Marek Polacek <mpolacek@redhat.com>
30953
30954 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30955
fa3fc0fe
UD
309562011-06-22 Ulrich Drepper <drepper@gmail.com>
30957
30958 [BZ #12907]
30959 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30960 until it is clear that the information is realy needed.
30961 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30962
e12df166
AS
309632011-06-22 Andreas Schwab <schwab@redhat.com>
30964
30965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30966
852eb34d
UD
309672011-06-22 Ulrich Drepper <drepper@gmail.com>
30968
84e2a551
UD
30969 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30970 /sys/devices/system/cpu/online if it is usable.
30971
852eb34d
UD
30972 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30973 reading the information from the /proc filesystem to once a second.
30974
6e502e19
UD
309752011-06-21 Andreas Jaeger <aj@suse.de>
30976
30977 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30978 NULL after inclusion of kernel headers.
30979
75d39ff2
UD
309802011-06-21 Ulrich Drepper <drepper@gmail.com>
30981
51f9aa6a
UD
30982 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30983 calls to internal_setent.
30984
c0244a9d
UD
30985 [BZ #12885]
30986 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30987 addresses using gethostbyname4_r ignore IPv4 addresses.
30988
c5e3c2ae
UD
30989 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30990 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30991
75d39ff2
UD
30992 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30993
42675c6f
DM
309942011-06-20 David S. Miller <davem@davemloft.net>
30995
30996 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30997 inclusions.
30998 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30999
31000 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31001 (elf_irel): Use it.
31002 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31003 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31004 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31005 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31006 * sysdeps/x86_64/dl-irel.h: Likewise.
31007
31008 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31009 * elf/dl-sym.c: Likewise.
31010
57912a71
UD
310112011-06-15 Ulrich Drepper <drepper@gmail.com>
31012
31013 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31014 need to dereference resplen2.
31015
ee22793d
AS
310162011-06-14 Andreas Schwab <schwab@redhat.com>
31017
31018 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31019
a9e836b0
UD
310202011-06-15 Ulrich Drepper <drepper@gmail.com>
31021
77fb9117
UD
31022 * Makeconfig: Define vardbdir and inst_vardbdir.
31023 * nss/Makefile: Add rules to install db-Makefile.
31024
40c1b22c
UD
31025 * nss/nss_db/db-XXX.c: Cleanup.
31026
9f2da732
UD
31027 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31028 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31029 GLIBC_PRIVATE.
31030 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31031 * nss/makedb.c: Implement -g option to specify that value strings
31032 are generated and should not be added to table iterated over for
31033 get*ent calls.
31034 * nss/nss_db/db-initgroups.c: New file.
31035
82e9a1f7
UD
31036 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31037 interface.
31038
c41af17e
UD
31039 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31040 (internal_getgrouplist): Adjust to name change.
31041 Update use_initgroups_entry if this is not the first call.
31042 * nss/databases.def: Add initgroups entry.
31043
a9e836b0
UD
31044 * nss/makedb.c (compute_tables): Check result of multiple hash table
31045 sizes to minimize maximum chain length.
31046
2666d441
UD
310472011-06-14 Ulrich Drepper <drepper@gmail.com>
31048
31049 * Versions.def: Add entry for libnss_db.
31050 * shlib-versions: Likewise.
31051 * nss/Makefile: Add rules to build libnss_db.
31052 * nss/Versions: Add libnss_db information. Organize libnss_files
31053 entries better.
31054 * nss/db-Makefile: Add gshadow support. Change rules for the new
31055 makedb progra. Some minor improvements to generate smaller files.
31056 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31057 here from...
31058 * nss/makedb.c: ...here.
31059 Improve database format to be smaller and require less memory at
31060 runtime.
31061 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31062 db anymore.
31063 * nss/nss_db/db-netgrp.c: Likewise.
31064 * nss/nss_db/db-open.c: Likewise.
31065 * nss/nss_files/flies-XXX.x: Adjust comments.
31066 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31067 * nss/nss_files/files-grp.c: Likewise.
31068 * nss/nss_files/files-hosts.c: Likewise.
31069 * nss/nss_files/files-network.c: Likewise.
31070 * nss/nss_files/files-proto.c: Likewise.
31071 * nss/nss_files/files-pwd.c: Likewise.
31072 * nss/nss_files/files-rpc.c: Likewise.
31073 * nss/nss_files/files-service.c: Likewise.
31074 * nss/nss_files/files-sgrp.c: Likewise.
31075 * nss/nss_files/files-spwd.c: Likewise.
31076 * nss/nss_db/db-alias.c: Removed.
31077 * nss/nss_db/dummy-db.h: Removed.
31078
9ee76b5a
UD
310792011-06-02 Ulrich Drepper <drepper@gmail.com>
31080
31081 * nss/makedb.c: Rewritten to not use database library.
31082 * nss/Makefile: Update to build new makedb program.
31083
c71ca1f8
AJ
310842011-06-14 Andreas Jaeger <aj@suse.de>
31085
31086 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31087 memset declaration.
31088
3154bfb8
UD
310892011-06-10 Andreas Schwab <schwab@redhat.com>
31090
31091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31092 tmpbuf.
31093
b350afab
RM
310942011-06-10 Roland McGrath <roland@hack.frob.com>
31095
decd4e50
RM
31096 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31097 * elf/Makefile ($(objpfx)ld.so): Likewise.
31098
5615eaf2
RM
31099 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31100 Don't list ld.so twice in dependencies.
31101
31102 * posix/bug-regex31.c: Include <stdlib.h>.
31103
31104 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31105
31106 * nis/nss_compat/compat-spwd.c
31107 (getspent_next_nss_netgr): Remove unused variable.
31108 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31109
31110 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31111 nonmembers" output to use the right array.
31112
31113 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31114
31115 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31116
31117 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31118 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31119 * catgets/gencat.c (read_input_file): Likewise.
31120 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31121
31122 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31123 variable definition inside #if's controlling its use.
31124
31125 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31126
31127 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31128
31129 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31130
31131 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31132 unreachable code.
31133
31134 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31135
b68e08db
RM
31136 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31137 * configure: Regenerated.
31138
b350afab
RM
31139 * Makerules: Revert last change.
31140 * elf/Makefile: Likewise.
31141
28368601
RM
311422011-06-09 Roland McGrath <roland@hack.frob.com>
31143
31144 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31145 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31146 (reloc-link): Likewise.
31147
11988f8f
UD
311482011-06-09 Ulrich Drepper <drepper@gmail.com>
31149
31150 * elf/Makefile: Add rules to build pldd.
31151 * elf/pldd.c: New file.
31152 * elf/pldd-xx.c: New file.
31153
e80fab37
UD
311542011-06-07 Ulrich Drepper <drepper@gmail.com>
31155
31156 * version.h: Update for 2.15 development version.
31157
9b849836
DM
311582011-06-07 David S. Miller <davem@davemloft.net>
31159
31160 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31161 ifuncs.
31162 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31163 elf_machine_lazy_rel): Likewise.
31164 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31165 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31166 elf_machine_lazy_rel): Likewise.
31167 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31168 dl_hwcap via passed in argument.
31169 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31170 Likewise.
31171
5a31b283
AK
311722011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31173
31174 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31175
069e52f8
RM
311762011-06-06 Roland McGrath <roland@hack.frob.com>
31177
31178 [BZ #12849]
31179 * manual/fdl-1.1.texi: New file, verbatim from:
31180 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31181 * manual/lgpl-2.1.texi: New file, verbatim from:
31182 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31183 * manual/Makefile (licenses): New variable, list those new file names.
31184 (texis): Use it.
31185 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31186
31187 * manual/fdl.texi: File removed.
31188 * manual/lesser.texi: File removed.
31189 * manual/libc.texinfo (Copying, Documentation License):
31190 Use new @include file names, put @appendix directive before @include.
31191
f16846a5
JJ
311922011-06-04 Jakub Jelinek <jakub@redhat.com>
31193
31194 [BZ #12841]
31195 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31196 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31197 (mq_open): Add __NTH.
31198
3d29045b
L
311992011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31200
31201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31202 Assume Intel Core i3/i5/i7 processor if AVX is available.
31203
8c297311
UD
312042011-05-31 Ulrich Drepper <drepper@gmail.com>
31205
31206 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31207 typo.
31208
c8fc0c91
UD
312092011-05-31 Andreas Schwab <schwab@redhat.com>
31210
31211 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31212 memory. Use alloca_account. Fix memory leak when retrying.
31213
5b27a807
UD
312142011-05-31 Ulrich Drepper <drepper@gmail.com>
31215
356f8bc6
UD
31216 * version.h (RELEASE): Bump for 2.14 release.
31217 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31218
5b27a807
UD
31219 * config.make.in (RANLIB): Remove entry.
31220
01f16ab0
UD
312212011-05-30 Ulrich Drepper <drepper@gmail.com>
31222
41fce8bd
UD
31223 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31224 (libc.pot): Work around missing support for .ksh extension in xgettext.
31225
4769ae77
UD
31226 [BZ #12684]
31227 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31228 if both request failed.
31229 (send_dg): In case of server errors clear resplen or *resplen2.
31230
6b1e7d19
UD
31231 [BZ #12454]
31232 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31233 when there are multiple maps.
31234 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31235 (_dl_fini): Remove test here.
31236
01f16ab0
UD
31237 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31238
b1ebd700
UD
312392011-05-29 Ulrich Drepper <drepper@gmail.com>
31240
7ae22829
UD
31241 [BZ #12350]
31242 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31243 bit from old_res_options.
31244 (gaih_inet): Likewise.
31245
553149f6 31246 [BZ #11099]
18a84741 31247 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
31248 as signed.
31249
652ffab1
UD
31250 * resolv/res_init.c (res_setoptions): Make the code more compact.
31251
16985fd0
UD
31252 [BZ #11558]
31253 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31254 set RES_USEVC.
31255
0464f746
UD
31256 [BZ #11634]
31257 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31258
7d17596c
UD
31259 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31260
cf6bbbd7
UD
31261 [BZ #11781]
31262 * malloc/malloc.h: Declare malloc hook variables as volatile.
31263
13f1ab36
UD
31264 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31265 in last patch.
31266
b1ebd700
UD
31267 [BZ #11799]
31268 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 31269 raise in the comment.
80e2212d
UD
31270 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31271 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31272 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 31273
ce67228d
UD
312742011-05-28 Ulrich Drepper <drepper@gmail.com>
31275
8887a920
UD
31276 [BZ #12811]
31277 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31278 grow the buffers more if it already has to be sufficient.
31279 (build_wcs_upper_buffer): Likewise.
31280 * posix/regexec.c (check_matching): Likewise.
31281 (clean_state_log_if_needed): Likewise.
31282 (extend_buffers): Don't enlarge buffers beyond size of the input
31283 buffer.
31284 Patches mostly by Emil Wojak <emil@wojak.eu>.
31285 * posix/bug-regex32.c: New file.
31286 * posix/Makefile (tests): Add bug-regex32.
31287
4f031072
UD
31288 * locale/findlocale.c (_nl_find_locale): Return right away if
31289 _nl_explode_name failed.
31290 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31291
d0478f0c
UD
31292 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31293
de81b246
UD
31294 * debug/xtrace.sh: Unify messages.
31295 * malloc/memusage.sh: Likewise.
31296
c738465a
UD
31297 [BZ #12813]
31298 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31299 time symbol from vDSO. Substitute with vsyscall if not available.
31300 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31301 __vdso_time.
31302
f1f929d7
UD
31303 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31304 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31305 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31306 Add sendmmsg and internal_sendmmsg.
31307 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31308 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31309 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31310
ce67228d
UD
31311 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31312 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31313 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31314
e57420c6
UD
313152011-05-27 Ulrich Drepper <drepper@gmail.com>
31316
a8509ca5
UD
31317 [BZ #12813]
31318 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31319 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31320 available.
31321 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31322 __vdso_getcpu.
31323
e57420c6
UD
31324 [BZ #12814]
31325 * iconvdata/Makefile (tests): Add bug-iconv9.
31326 * iconvdata/bug-iconv9.c: New file.
31327
4d07db15
AS
313282011-05-27 Andreas Schwab <schwab@redhat.com>
31329
31330 [BZ #12814]
31331 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31332
ea486f69
JJ
313332011-05-25 Jakub Jelinek <jakub@redhat.com>
31334
31335 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31336 (struct user_regs_struct): Change intcs field back to cs.
31337
6f038433
UD
313382011-05-25 Ulrich Drepper <drepper@gmail.com>
31339
31340 * po/ja.po: Update from translation team.
31341
67f86a25
UD
313422011-05-23 Ulrich Drepper <drepper@gmail.com>
31343
31344 [BZ #12795]
31345 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31346 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31347
def7fbd6
AS
313482011-05-20 Andreas Schwab <schwab@redhat.com>
31349
31350 * stdlib/longlong.h: Update from GCC.
31351
f50ef8f1
AS
313522011-05-23 Andreas Schwab <schwab@redhat.com>
31353
31354 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31355 parameter name.
31356 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31357 Add parameter name.
31358 (__sysconf): Pass it down.
31359
de7ce8f1
UD
313602011-05-22 Ulrich Drepper <drepper@gmail.com>
31361
f2962a71
UD
31362 [BZ #12671]
31363 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31364 some situations.
31365 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31366 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31367 add in in __libc_use_alloca calls. Adjust callers.
31368 (glob): Use malloc in some situations.
31369
de7ce8f1
UD
31370 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31371 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31372 pltexit.
31373
aec84f53
UD
313742011-05-21 Ulrich Drepper <drepper@gmail.com>
31375
05bb4a68
UD
31376 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31377 and CLOCK_BOOTTIME_ALARM.
31378
7ea72f99
UD
31379 [BZ #12782]
31380 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31381 is returned.
31382
7e4afad5
UD
31383 * string/_strerror.c (__strerror_r): Print negative errors as signed
31384 numbers.
31385
8e211fec
UD
31386 [BZ #12777]
31387 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31388 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31389 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31390
f7d82dc9
UD
31391 * configure.in: Fix typo in redirection and correct removal of test
31392 files in two cases.
31393
cc9e536d
UD
31394 [BZ #12788]
31395 * locale/setlocale.c (new_composite_name): Fix test to check for
31396 identical name of all categories.
31397
aec84f53
UD
31398 [BZ #12792]
31399 * libio/filedoalloc.c (local_isatty): New function.
31400 (_IO_file_doallocate): Use local_isatty.
31401 * stdio-common/perror.c (perror): In case a new stream is used
31402 forward the stream error.
31403 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31404 error flag.
31405
78e64fdc
RT
314062011-05-20 Ulrich Drepper <drepper@gmail.com>
31407
34a9094f
UD
31408 [BZ #11869]
31409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31410 alloca.
31411 * include/alloca.h (extend_alloca_account): Define.
31412
78e64fdc
RT
31413 [BZ #11857]
31414 * posix/regex.h: Fix comments with documentation of user-accessible
31415 fields after compilation and describe correct free'ing of pattern
31416 after re_compile_pattern.
31417 Patch by Reuben Thomas <rrt@sc3d.org>.
31418
457bddfc
RA
314192011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31420
31421 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31422 and -mno-altivec to prevent the compiler from using Altivec and/or
31423 VSX instructions when the corresponding registers are not available.
31424
a4527b51
AS
314252011-05-19 Andreas Schwab <schwab@redhat.com>
31426
31427 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31428
ed690b2f
UD
314292011-05-19 Ulrich Drepper <drepper@gmail.com>
31430
31431 * libio/freopen.c (freopen): Use __dup2, not dup2.
31432 * libio/freopen64.c (freopen64): Likewise.
31433
8db73634
L
314342011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31435
31436 [BZ #12775]
31437 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31438 * math/Makefile (tests): Add test-powl.
31439 (CFLAGS-test-powl.c): Define.
31440 * math/test-powl.c: New file.
31441
0a197a9d
L
314422011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31443
31444 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31445
ee30c380
UD
314462011-05-17 Ulrich Drepper <drepper@gmail.com>
31447
31448 [BZ #11837]
31449 * iconvdata/gb18030.c: Update to GB18020-2005.
31450
6ce75379
UD
314512011-05-16 Ulrich Drepper <drepper@gmail.com>
31452
a4b89fd8
AR
31453 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31454 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31455 Patch by Aharon Robbins <arnold@skeeve.com>.
31456
ea389b12
UD
31457 [BZ #11892]
31458 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31459 on the stack.
31460
68a3f91f
UD
31461 [BZ #11895]
31462 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31463 through underflows.
31464
15cc7dd1
UD
31465 [BZ #12766]
31466 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31467 point to strings before performing equality test for error_one_per_line
31468 mode.
31469
f3799213
UD
31470 [BZ #11697]
31471 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31472
d79a9c94
UD
31473 [BZ #11820]
31474 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31475 (struct user_fpregs_struct): Avoid __uint*_t types.
31476
56e5eb46
UD
31477 [BZ #6420]
31478 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31479 symbol info. Use it instead of calling _dl_addr locally.
31480 (lock_and_info): New function.
31481 (tr_freehook): Call lock_and_info and pass symbol info as additional
31482 parameter to tr_where.
31483 (tr_mallochook): Likewise.
31484 (tr_reallochook): Likewise.
31485 (tr_memalignhook): Likewise.
31486
6ce75379
UD
31487 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31488 used and couldn't be at all thread-safe.
31489
f8a3b5bf
UD
314902011-05-15 Ulrich Drepper <drepper@gmail.com>
31491
94b7cc37
UD
31492 * libio/freopen.c (freopen): Don't close old file descriptor
31493 before the new one is opened. Instead dup the new file descriptor
31494 to the old one after the new stream is created.
31495 * libio/freopen64.c (freopen64): Likewise.
31496 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31497 * libio/fileops.c (_IO_new_file_close_it): Handle new
31498 _IO_FLAGS2_NOCLOSE flag.
31499 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31500 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31501 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31502 _IO_FLAGS2_NOCLOSE flag.
31503 * include/unistd.h: Add hidden_proto for dup3.
31504 Define __have_dup3.
31505 * io/dup3.c: Define hidden symbol.
31506 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31507
bd25564e
UD
31508 [BZ #7101]
31509 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31510 when an incomplete long option is used.
31511 * posix/tst-getopt_long1.c: New file.
31512 * posix/Makefile (tests): Add tst-getopt_long1.
31513
c84cfef4
UD
31514 [BZ #10138]
31515 * scripts/config.guess: Update from autoconf-2.68.
31516 * scripts/config.sub: Likewise.
31517
3b85df27
UD
31518 [BZ #10157]
31519 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31520 tests into ...
31521 (has_cpuclock): ...this. New function.
31522 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31523 macro here based on has_cpuclock code.
31524
15a856b1
UD
31525 [BZ #10149]
31526 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31527 First byte (not low byte) is now always NUL.
31528 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31529
05f399e6
UD
31530 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31531 Use non-cancelable interfaces.
31532
10a52685 31533 [BZ #9809]
94ecc67d
UD
31534 * locale/iso-639.def: Add entry for Sorani.
31535
f8a3b5bf
UD
31536 [BZ #11901]
31537 * include/stdlib.h: Move include protection to the right place.
31538 Define abort_msg_s. Declare __abort_msg with it.
31539 * stdlib/abort.c (__abort_msg): Adjust type.
31540 * assert/assert.c (__assert_fail_base): New function. Majority
31541 of code from __assert_fail. Allocate memory for __abort_msg with
31542 mmap.
31543 (__assert_fail): Now call __assert_fail_base.
31544 * assert/assert-perr.c: Remove bulk of implementation. Use
31545 __assert_fail_base.
31546 * include/assert.hL Declare __assert_fail_base.
31547 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31548 mmap.
31549 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31550
1af4e298
UD
315512011-05-14 Ulrich Drepper <drepper@gmail.com>
31552
f8a3b5bf 31553 [BZ #11952]
d26dfc60
MG
31554 [BZ #12453]
31555 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31556 until all modules are registered in the DTV.
31557 * elf/Makefile: Add rules to build and run tst-tls19.
31558 * elf/tst-tls19.c: New file.
31559 * elf/tst-tls19mod1.c: New file.
31560 * elf/tst-tls19mod2.c: New file.
31561 * elf/tst-tls19mod3.c: New file.
31562 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31563
2fc54d6f
UD
31564 [BZ #12083]
31565 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31566 correctly.
31567
98d76b46
UD
31568 [BZ #12601]
31569 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31570 two-byte sequence errors.
31571 * iconvdata/Makefile (tests): Add bug-iconv8.
31572 * iconvdata/bug-iconv8.c: New file.
31573
da3c19ef
UD
31574 [BZ #12626]
31575 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31576 buf2 definition.
31577
ca408c15
UD
31578 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31579
d6f67f7d
UD
31580 [BZ #12432]
31581 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31582 (dummy_getcfa): New function.
31583 (init): Get _Unwind_GetCFA address, use dummy if not found.
31584 (backtrace_helper): In recursion check, also check whether CFA changes.
31585 (__backtrace): Completely initialize arg.
31586
1af4e298 31587 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31588 storing incomplete byte sequence in state object. Avoid testing for
31589 guaranteed too small input if we know there is enough data available.
1af4e298 31590
da62f81b
AS
315912011-05-11 Andreas Schwab <schwab@redhat.com>
31592
31593 * Makeconfig (+link-pie): Indent.
31594 * Rules (binaries-pie): Define if $(have-fpie) and
31595 $(build-shared).
31596 (binaries-shared): Also filter out $(binaries-pie).
31597 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31598 * nscd/Makefile (others-pie): Add nscd.
31599 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31600 ($(objpfx)nscd): Remove command override.
31601 * login/Makefile (others-pie): Add pt_chown.
31602 ($(objpfx)pt_chown): Remove command override.
31603 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31604 remove command overrides.
31605
fcabc0f8
UD
316062011-05-13 Ulrich Drepper <drepper@gmail.com>
31607
20030ae6
UD
31608 * libio/tst_putwc.c: Fix error messages.
31609
fcabc0f8
UD
31610 [BZ #12724]
31611 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31612 currently writing and seek to current position when not.
31613 * libio/Makefile (tests): Add bug-fclose1.
31614 * libio/bug-fclose1.c: New file.
31615
320a5dc0
PB
316162011-05-12 Ulrich Drepper <drepper@gmail.com>
31617
31618 [BZ #12511]
31619 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31620 don't set DF_1_NODELETE here.
31621 (do_lookup_x): When entering new entry test for copy relocation
31622 and if necessary set DF_1_NODELETE flag.
31623 * elf/tst-unique4.cc: New file.
31624 * elf/tst-unique4.h: New file.
31625 * elf/tst-unique4lib.cc: New file.
31626 * elf/Makefile: Add rules to build and run tst-unique4.
31627 Patch by Piotr Bury <pbury@goahead.com>.
31628
22836f52
UD
316292011-05-11 Ulrich Drepper <drepper@gmail.com>
31630
f574184a
UD
31631 [BZ #12052]
31632 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31633
e1fb097f
UD
31634 [BZ #12625]
31635 * misc/mntent_r.c (addmntent): Flush the stream after the output
31636
22836f52
UD
31637 [BZ #12393]
31638 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31639 (is_trusted_path_normalize): Skip initial colon. Append slash
31640 to empty buffer. Duplicate is_trusted_path code but allow
31641 constructed patch to be prefix.
31642 (is_dst): Allow $ORIGIN followed by /.
31643 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31644 Correct testing of result of is_trusted_path_normalize
31645 (decompose_rpath): Fix warning.
31646
7b3b0b2a
UD
316472011-05-10 Ulrich Drepper <drepper@gmail.com>
31648
31649 [BZ #11257]
31650 * grp/initgroups.c (internal_getgrouplist): When we found the service
31651 list through the initgroups entry in nsswitch.conf do not always
31652 continue on a successful lookup. Don't always use the
eac80ce2 31653 __nss_group_database value if it is set.
7b3b0b2a
UD
31654 * nss/nsswitch.conf (initgroups): Change action for successful db
31655 lookup to continue for compatibility.
31656
2a81eaa5
UD
316572011-05-09 Ulrich Drepper <drepper@gmail.com>
31658
be97a69e
UD
31659 [BZ #11532]
31660 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31661 and CP774 modules.
31662 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31663 and CP774 modules.
31664 * iconvdata/tst-tables.sh: Likewise.
31665 * iconvdata/cp770.c: New file.
31666 * iconvdata/cp771.c: New file.
31667 * iconvdata/cp772.c: New file.
31668 * iconvdata/cp773.c: New file.
31669 * iconvdata/cp774.c: New file.
31670 * iconvdata/testdata/CP770: New file.
31671 * iconvdata/testdata/CP770..UTF8: New file.
31672 * iconvdata/testdata/CP771: New file.
31673 * iconvdata/testdata/CP771..UTF8: New file.
31674 * iconvdata/testdata/CP772: New file.
31675 * iconvdata/testdata/CP772..UTF8: New file.
31676 * iconvdata/testdata/CP773: New file.
31677 * iconvdata/testdata/CP773..UTF8: New file.
31678 * iconvdata/testdata/CP774: New file.
31679 * iconvdata/testdata/CP774..UTF8: New file.
31680
31681 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31682 END CHARMAP line.
31683 * iconvdata/gen-8bit-gap.sh: Likewise.
31684 * iconvdata/gen-8bit.sh: Likewise.
31685
c1e9e399
UD
31686 * locale/iso-639.def: Add ary entry.
31687
24c55fb3 31688 [BZ #11258]
96b4b1b0
UD
31689 * locale/C-translit.h.in: Add U20A1 transliteration.
31690
bdc2f971
KB
31691 [BZ #12178]
31692 * locale/iso-639.def: Add wae entry.
31693 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31694
2952b117
UD
31695 [BZ #12545]
31696 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31697 for n.
31698
2a81eaa5
UD
31699 [BZ #12711]
31700 * locale/C-translit.h.in: Add entry for U20B9.
31701 Patch by pravin.d.s@gmail.com.
31702
28377d1b
UD
317032011-05-08 Ulrich Drepper <drepper@gmail.com>
31704
7fb90fb8
UD
31705 [BZ #12713]
31706 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31707 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31708 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31709 in rtld. Use *stat64.
7fb90fb8 31710 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31711 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31712 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31713 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31714 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31715 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31716 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31717 __fstatat64 macros.
7fb90fb8
UD
31718 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31719 * dirent/rewinddir.c: Add libc_hidden_def.
31720 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31721 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31722
28377d1b
UD
31723 * include/dirent.h (__alloc_dir): Add flags parameter.
31724 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31725 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31726 __alloc_dir.
31727 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31728 from fdopendir if O_CLOEXEC is already set.
31729
66bdbaa4
AM
317302011-03-15 Alan Modra <amodra@gmail.com>
31731
31732 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31733 l_tls_firstbyte_offset non-zero. Save padding offset in
31734 l_tls_firstbyte_offset for later use.
31735 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31736 freeing static tls block.
31737
95721191
JN
317382011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31739
31740 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31741 where #ifdef was intended. The intent is to prevent ARG_MAX from
31742 being defined by the kernel headers.
31743
f87dfb1f
UD
317442011-05-07 Ulrich Drepper <drepper@gmail.com>
31745
31746 [BZ #12734]
31747 * resolv/resolv.h: Define RES_NOTLDQUERY.
31748 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31749 no-tld-query and set RES_NOTLDQUERY.
31750 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31751 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31752 modern BIND to search name as TLD unless forbidden.
31753
47c3cd7a
UD
317542011-05-07 Petr Baudis <pasky@suse.cz>
31755 Ulrich Drepper <drepper@gmail.com>
31756
31757 [BZ #12393]
31758 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31759 (is_trusted_path): ...to here.
c1e9ea35 31760 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31761 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31762 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31763
8a35c912
PP
317642011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31765
31766 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31767 __BEGIN/__END_DECLS.
31768
acd41f47
UD
317692011-05-06 Ulrich Drepper <drepper@gmail.com>
31770
31771 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31772 NSS_STATUS_NOTFOUND if no record was found.
31773
597df647
AS
317742011-05-05 Andreas Schwab <schwab@redhat.com>
31775
31776 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31777 (headers-not-in-tirpc): Remove rpc/netdb.h
31778 * resolv/netdb.h: Revert last change.
31779
b9af1301
PP
317802011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31781
31782 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31783 circular dependency between libgcc.a and libc.a.
31784
4e34d5f5
AS
317852011-05-05 Andreas Schwab <schwab@redhat.com>
31786
31787 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31788 * nis/Makefile: Don't install rpcsvc/*.
31789 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31790 instead of <rpc/types.h>.
31791 (MAXHOSTNAMELEN): Define.
31792
00ee369c
AS
317932011-05-03 Andreas Schwab <schwab@redhat.com>
31794
31795 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31796
0b592a30
MB
317972011-04-28 Maciej Babinski <mbabinski@google.com>
31798
31799 [BZ #12714]
31800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31801 gethostbyname4_r when IPv6 results are possible.
31802
6e04cbbe
UD
318032011-05-02 Ulrich Drepper <drepper@gmail.com>
31804
31805 [BZ #12723]
31806 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31807 _PC_PIPE_BUF handling.
31808
e4ecafe0
BH
318092011-04-30 Bruno Haible <bruno@clisp.org>
31810
31811 [BZ #12717]
31812 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31813 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31814 to 'int'.
31815 * inet/getnameinfo.c (getnameinfo): Likewise.
31816
125ee683
UD
318172011-04-29 Ulrich Drepper <drepper@gmail.com>
31818
31819 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31820 to groups setting in database lookup.
31821 * nss/nsswitch.conf: Add initgroups entry.
31822
b722481a
EB
318232011-04-22 Ulrich Drepper <drepper@gmail.com>
31824
31825 [BZ #12685]
31826 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31827 mode string.
31828 Patch by Eric Blake <eblake@redhat.com>.
31829
4df46dbd
L
318302011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31831
31832 * sunrpc/Makefile (need-export-routines): Add svc_run.
31833 (routines): Remove svc_run.
31834 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31835 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31836 * sunrpc/svc_run.c (svc_run): Likewise.
31837 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31838
e84142d2
UD
318392011-04-21 Ulrich Drepper <drepper@gmail.com>
31840
31841 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31842 problem in reallocation in last patch.
31843
877175d8
UD
318442011-04-20 Ulrich Drepper <drepper@gmail.com>
31845
31846 * sunrpc/Makefile: Move inclusion of Rules.
31847
ab8eed78
UD
318482011-04-19 Ulrich Drepper <drepper@gmail.com>
31849
31850 * nss/nss_files/files-initgroups.c: New file.
31851 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31852 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31853 _nss_files_initgroups_dyn.
31854
e3d8f584
RS
318552011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31856
31857 * elf/elf.h (R_ARM_IRELATIVE): Define.
31858
af190f45
UD
318592011-04-19 Ulrich Drepper <drepper@gmail.com>
31860
31861 * po/ru.po: Update from translation team.
31862
53cf59ef
UD
318632011-04-17 Ulrich Drepper <drepper@gmail.com>
31864
31865 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31866 dependencies.
31867
4c559bcd
MF
318682011-02-06 Mike Frysinger <vapier@gentoo.org>
31869
31870 [BZ #12653]
31871 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31872 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31873 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31874 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31875 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31876
4420675c
AS
318772011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31878
31879 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31880 differing bytes.
31881 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31882 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31883 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31884
75ea32ab
UD
318852011-04-17 Ulrich Drepper <drepper@gmail.com>
31886
31887 [BZ #12420]
31888 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31889 storing it.
31890 * stdlib/bug-getcontext.c: New file.
31891 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31892
27390476
AK
318932011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31894
31895 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31896 instructions into .machine "z9-109".
31897 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31898 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31899
10442705
AK
319002011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31901
31902 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31903 between environment variables and auxiliary vector.
31904
7b57bfe5
UD
319052011-04-16 Ulrich Drepper <drepper@gmail.com>
31906
31907 * Makefile: Add rules to build linkobj/libc.so.
31908 * include/libc-symbols.h: Define libc_hidden_nolink.
31909 * include/rpc/auth.h: Mark functions which are to be hidden.
31910 * include/rpc/auth_des.h: Likewise.
31911 * include/rpc/auth_unix.h: Likewise.
31912 * include/rpc/clnt.h: Likewise.
31913 * include/rpc/des_crypt.h: Likewise.
31914 * include/rpc/key_prot.h: Likewise.
31915 * include/rpc/pmap_clnt.h: Likewise.
31916 * include/rpc/pmap_prot.h: Likewise.
31917 * include/rpc/pmap_rmt.h: Likewise.
31918 * include/rpc/rpc_msg.h: Likewise.
31919 * include/rpc/svc.h: Likewise.
31920 * include/rpc/svc_auth.h: Likewise.
31921 * include/rpc/xdr.h: Likewise.
31922 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31923 * nss/Makefile: Likewise.
31924 * sunrpc/Makefile: Don't install headers. Build library with normal
31925 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31926 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31927 for the compat linking library. Remove use of INTDEF/INTUSE.
31928 * sunrpc/auth_none.c: Likewise.
31929 * sunrpc/auth_unix.c: Likewise.
31930 * sunrpc/authdes_prot.c: Likewise.
31931 * sunrpc/authuxprot.c: Likewise.
31932 * sunrpc/clnt_gen.c: Likewise.
31933 * sunrpc/clnt_perr.c: Likewise.
31934 * sunrpc/clnt_raw.c: Likewise.
31935 * sunrpc/clnt_simp.c: Likewise.
31936 * sunrpc/clnt_tcp.c: Likewise.
31937 * sunrpc/clnt_udp.c: Likewise.
31938 * sunrpc/clnt_unix.c: Likewise.
31939 * sunrpc/des_crypt.c: Likewise.
31940 * sunrpc/des_soft.c: Likewise.
31941 * sunrpc/get_myaddr.c: Likewise.
31942 * sunrpc/key_call.c: Likewise.
31943 * sunrpc/key_prot.c: Likewise.
31944 * sunrpc/netname.c: Likewise.
31945 * sunrpc/pm_getmaps.c: Likewise.
31946 * sunrpc/pm_getport.c: Likewise.
31947 * sunrpc/pmap_clnt.c: Likewise.
31948 * sunrpc/pmap_prot.c: Likewise.
31949 * sunrpc/pmap_prot2.c: Likewise.
31950 * sunrpc/pmap_rmt.c: Likewise.
31951 * sunrpc/publickey.c: Likewise.
31952 * sunrpc/rpc_cmsg.c: Likewise.
31953 * sunrpc/rpc_common.c: Likewise.
31954 * sunrpc/rpc_dtable.c: Likewise.
31955 * sunrpc/rpc_prot.c: Likewise.
31956 * sunrpc/rpc_thread.c: Likewise.
31957 * sunrpc/rtime.c: Likewise.
31958 * sunrpc/svc.c: Likewise.
31959 * sunrpc/svc_auth.c: Likewise.
31960 * sunrpc/svc_authux.c: Likewise.
31961 * sunrpc/svc_raw.c: Likewise.
31962 * sunrpc/svc_run.c: Likewise.
31963 * sunrpc/svc_simple.c: Likewise.
31964 * sunrpc/svc_tcp.c: Likewise.
31965 * sunrpc/svc_udp.c: Likewise.
31966 * sunrpc/svc_unix.c: Likewise.
31967 * sunrpc/svcauth_des.c: Likewise.
31968 * sunrpc/xcrypt.c: Likewise.
31969 * sunrpc/xdr.c: Likewise.
31970 * sunrpc/xdr_array.c: Likewise.
31971 * sunrpc/xdr_float.c: Likewise.
31972 * sunrpc/xdr_intXX_t.c: Likewise.
31973 * sunrpc/xdr_mem.c: Likewise.
31974 * sunrpc/xdr_rec.c: Likewise.
31975 * sunrpc/xdr_ref.c: Likewise.
31976 * sunrpc/xdr_sizeof.c: Likewise.
31977 * sunrpc/xdr_stdio.c: Likewise.
31978
e6c61494
UD
319792011-04-10 Ulrich Drepper <drepper@gmail.com>
31980
31981 [BZ #12650]
31982 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31983 * sysdeps/ia64/dl-tls.h: Likewise.
31984 * sysdeps/powerpc/dl-tls.h: Likewise.
31985 * sysdeps/s390/dl-tls.h: Likewise.
31986 * sysdeps/sh/dl-tls.h: Likewise.
31987 * sysdeps/sparc/dl-tls.h: Likewise.
31988 * sysdeps/x86_64/dl-tls.h: Likewise.
31989 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31990
34fe483e
AS
319912011-03-14 Andreas Schwab <schwab@redhat.com>
31992
31993 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31994 rpath element also skip the following colon.
31995 (expand_dynamic_string_token): Add is_path parameter and pass
31996 down to DL_DST_REQUIRED and _dl_dst_substitute.
31997 (decompose_rpath): Call expand_dynamic_string_token with
31998 non-zero is_path. Ignore empty rpaths.
31999 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32000 with zero is_path.
32001
f12a32e6
AS
320022011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32003
32004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32005 Make cancelable.
32006
38a7d692
UD
320072011-04-09 Ulrich Drepper <drepper@gmail.com>
32008
32009 [BZ #12655]
32010 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32011 Patch by Filipe David Manana <fdmanana@apache.org>.
32012
e451d22b
AS
320132011-04-07 Andreas Schwab <schwab@redhat.com>
32014
32015 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32016 Maintain aligned stack.
32017 (CHECK_RSP): Remove unused macro.
32018
dedc7c7b
UD
320192011-04-03 Ulrich Drepper <drepper@gmail.com>
32020
32021 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32022 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32023
94521213
UD
320242011-04-02 Ulrich Drepper <drepper@gmail.com>
32025
32026 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32027
8cb700c0 32028 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 32029
0354e355
L
320302011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32031
32032 [BZ #12518]
32033 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32034 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32035 * sysdeps/x86_64/memmove.c: New file.
32036 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32037 (memcpy): Renamed to ...
32038 (__new_memcpy): This.
32039 (memcpy): Provide GLIBC_2_14 memcpy.
32040 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32041 (memcpy): Provide GLIBC_2_2_5 memcpy.
32042
8593482f
UD
320432011-04-01 Ulrich Drepper <drepper@gmail.com>
32044
32045 [BZ #12631]
32046 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32047
81a5726b
AS
320482011-03-30 Andreas Schwab <schwab@redhat.com>
32049
32050 * misc/syncfs.c: New file.
32051 * misc/Makefile (routines): Add syncfs.
32052 * posix/unistd.h: Declare syncfs.
32053 * sysdeps/unix/syscalls.list: Add syncfs.
32054
00e5419f
AS
320552011-04-01 Andreas Schwab <schwab@redhat.com>
32056
32057 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32058 open_by_handle_at.
32059 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32060 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32061 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32062 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32064 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32065 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32066
748876bf
UD
320672011-04-01 Ulrich Drepper <drepper@gmail.com>
32068
658e451d
UD
32069 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32070 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32071 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32073 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32075 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32076
748876bf
UD
32077 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32078 sync_file_range.c with -fexceptions.
32079 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32080 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32081 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32082 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32083 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32084 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32085 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
32086 sync_file_range as cancellation point
32087 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32088 now a wrapper around __call_sync_file_range with cancellation handling.
32089 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32090 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32091 function name to __call_sync_file_range.
32092 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32093 Add call_sync_file_range.
748876bf 32094
6e63d5e1
AS
320952011-04-01 Andreas Schwab <schwab@redhat.com>
32096
32097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 32098 bits/timex.h.
6e63d5e1 32099
46998f74
UD
321002011-04-01 Ulrich Drepper <drepper@gmail.com>
32101
4c1423ed
UD
32102 * iconv/iconv.h: Fix typo in comment.
32103 * io/fcntl.h: Likewise.
32104 * libio/stdio.h: Likewise.
32105 * posix/spawn.h: Likewise.
32106 * posix/unistd.h: Likewise.
32107 * stdlib/stdlib.h: Likewise.
32108 * time/time.h: Likewise.
32109 * wcsmbs/wchar.h: Likewise.
32110
158648c0
UD
32111 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32112 open_by_handle): Add.
32113 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32114 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32115 Augment a few comments.
32116 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32118 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32119 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32121 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32122 open_by_handle.
32123
46998f74
UD
32124 * io/fcntl.h (AT_EMPTY_PATH): Define.
32125
83fe108b
UD
321262011-03-30 Ulrich Drepper <drepper@gmail.com>
32127
32128 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32129 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32130 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32131 to...
32132 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
32133 * Versions.def: Add GLIBC_2.14.
32134 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32135 Export.
83fe108b 32136
bb242059
UD
321372011-03-22 Ulrich Drepper <drepper@gmail.com>
32138
32139 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32140 round counter.
32141 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32142
c97a1282
L
321432011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32144
32145 [BZ #12597]
32146 * string/test-strncmp.c (do_page_test): New function.
32147 (check2): Likewise.
32148 (test_main): Call check2.
32149 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32150
2a115601
UD
321512011-03-20 Ulrich Drepper <drepper@gmail.com>
32152
32153 [BZ #12587]
32154 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32155 Handle cache information in CPU leaf 4.
32156 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32157
8126d904
UD
321582011-03-18 Ulrich Drepper <drepper@gmail.com>
32159
042c49c6 32160 [BZ #12583]
8126d904
UD
32161 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32162 character representation.
32163 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32164
ccfe366e
RA
321652011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32166
32167 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32168 END(__isnan) to END(__isnanf) to match function entry point/label
32169 EALIGN(__isnanf,...).
32170
c6e13027
JJ
321712011-03-10 Jakub Jelinek <jakub@redhat.com>
32172
32173 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32174
33f85a3f
UD
321752011-03-10 Ulrich Drepper <drepper@gmail.com>
32176
028478fa
UD
32177 [BZ #12510]
32178 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32179 copy from the symbol referenced in the relocation to initialize the
32180 used variable.
32181 Patch by Piotr Bury <pbury@goahead.com>.
32182 * elf/Makefile: Add rules to build and tst-unique3.
32183 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32184 * elf/tst-unique3.cc: New file.
32185 * elf/tst-unique3.h: New file.
32186 * elf/tst-unique3lib.cc: New file.
32187 * elf/tst-unique3lib2.cc: New file.
32188
33f85a3f
UD
32189 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32190
03592fc7
MF
321912011-03-10 Mike Frysinger <vapier@gentoo.org>
32192
32193 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32194 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32195 to _start.
03592fc7 32196
6a5ee102
UD
321972011-03-06 Ulrich Drepper <drepper@gmail.com>
32198
32199 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32200 to-be-loaded object along a path to loader is ld.so.
32201
7e4ba49c
HJ
322022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32203 Ulrich Drepper <drepper@gmail.com>
32204
32205 * sysdeps/x86_64/memset.S: After aligning destination, code
32206 branches to different locations depending on the value of
32207 misalignment, when multiarch is enabled. Fix this.
32208
322092011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32210
32211 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32212 Set _x86_64_preferred_memory_instruction for AMD processsors.
32213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32214 Set bit_Prefer_SSE_for_memop for AMD processors.
32215
13a804de
UD
322162011-03-04 Ulrich Drepper <drepper@gmail.com>
32217
32218 * libio/fmemopen.c (fmemopen): Optimize a bit.
32219
9d25c392
AS
322202011-03-03 Andreas Schwab <schwab@redhat.com>
32221
32222 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32223
a5543c6a
RM
322242011-03-03 Roland McGrath <roland@redhat.com>
32225
32226 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32227
012d35f7
DM
322282011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32229
7e4ba49c 32230 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
32231 __bzero_ultra1 instead of __memset_ultra1.
32232
4bff6e01
AS
322332011-02-23 Andreas Schwab <schwab@redhat.com>
32234 Ulrich Drepper <drepper@gmail.com>
32235
32236 [BZ #12509]
32237 * include/link.h (struct link_map): Add l_orig_initfini.
32238 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32239 returning unsuccessfully.
32240 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32241 close of a file loaded at startup, restore the original l_initfini
32242 list.
32243 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32244 list, store the pointer.
32245 * elf/Makefile ($(objpfx)noload-mem): New rule.
32246 (noload-ENV): Define.
32247 (tests): Add $(objpfx)noload-mem.
32248 * elf/noload.c: Include <memcheck.h>.
32249 (main): Call mtrace. Close all opened handles.
32250
f2092faf
AS
322512011-02-17 Andreas Schwab <schwab@redhat.com>
32252
32253 [BZ #12454]
32254 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32255 dependencies are missing.
32256
6c8a2e88
ST
322572011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32258
f2092faf 32259 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
32260 Hurd needs munmap.
32261 * sysdeps/mach/hurd/ifreq.h: New file.
32262
84a42118
PB
322632011-01-27 Petr Baudis <pasky@suse.cz>
32264 Ulrich Drepper <drepper@gmail.com>
32265
071f805e 32266 [BZ 12445]#
84a42118
PB
32267 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32268 to extend_alloca().
32269 * stdio-common/bug23.c: New file.
32270 * stdio-common/Makefile (tests): Add bug23.
32271
e23fe25b
AS
322722010-09-28 Andreas Schwab <schwab@redhat.com>
32273 Ulrich Drepper <drepper@gmail.com>
32274
32275 [BZ #12489]
32276 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32277 before performing relro protection. At old place add assertion
32278 to make sure nothing changed.
32279
d3f02e10
NS
322802011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32281 Glauber de Oliveira Costa <glommer@gmail.com>
32282
32283 * elf/elf.h: Add new ARM TLS relocs.
32284
d55fd7a5
RA
322852011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32286
32287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32288 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32289 cast from r3.
32290 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32291 'tests' variable.
32292 * sysdeps/wordsize-64/tst-writev.c: New file.
32293
2206397e
RA
322942011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32295
32296 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32297 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32298 insns in _dl_start to prevent a TOC reference before relocs are
32299 resolved.
32300
e9433893
UD
323012011-02-15 Ulrich Drepper <drepper@gmail.com>
32302
32303 [BZ #12469]
32304 * Makeconfig: Remove RANLIB definition.
32305 * Makerules: Don't use RANLIB.
32306 * aclocal.m4: Remove ranlib test.
32307 * configure.in: No need to check for ranlib.
32308 * elf/rtld-Rules: Don't use RANLIB.
32309
f75286c6
ST
323102011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32311
8e31c82d
ST
32312 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32313 protection macro.
32314 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32315 inclusion protection macro.
32316
f75286c6
ST
32317 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32318 SIGRTMIN and SIGRTMAX and print information in that case only when
32319 SIGRTMIN is defined.
32320
c1d0e639
JJ
323212011-02-11 Jakub Jelinek <jakub@redhat.com>
32322
32323 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32324 arginfo fn returning -1.
32325
32326 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32327 and thousands string is zero terminated.
32328
edf9294e
AS
323292011-02-03 Andreas Schwab <schwab@redhat.com>
32330
32331 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32332 sysdeps/unix/sysv/linux/bits/socket.h.
32333
2b7e92df
ST
323342011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32335
edf9294e
AS
32336 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32337 (__CPU_COUNT): Remove old macros.
32338 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32339 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32340 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
32341 (__sched_cpualloc, __sched_cpufree): Add declarations.
32342
a4c7ea7b
UD
323432011-02-05 Ulrich Drepper <drepper@gmail.com>
32344
32345 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32346 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32347 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32348 (readdhstai): Return value of addhstaiX call.
32349 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32350 (addgrbyX): Return value returned by cache_addgr.
32351 (readdgrbyname): Return value returned by addgrbyX.
32352 (readdgrbygid): Likewise.
32353 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32354 (addpwbyX): Return value returned by cache_addpw.
32355 (readdpwbyname): Return value returned by addhstbyX.
32356 (readdpwbyuid): Likewise.
32357 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32358 (addservbyX): Return value returned by cache_addserv.
32359 (readdservbyname): Return value returned by addservbyX:
32360 (readdservbyport): Likewise.
32361 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32362 (addhstbyX): Return value returned by cache_addhst.
32363 (readdhstbyname): Return value returned by addhstbyX.
32364 (readdhstbyaddr): Likewise.
32365 (readdhstbynamev6): Likewise.
32366 (readdhstbyaddrv6): Likewise.
32367 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32368 (readdinitgroups): Return value returned by addinitgroupsX.
32369 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32370 (prune_cache): Keep track of timeout value of re-added entries.
32371 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32372 * nscd/nscd.h: Adjust prototypes of readd* functions.
32373
a0bf67cc
RM
323742011-02-04 Roland McGrath <roland@redhat.com>
32375
32376 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32377 (nis_stats): Likewise.
32378 * nis/nis_modify.c (nis_modify): Likewise.
32379 * nis/nis_remove.c (nis_remove): Likewise.
32380 * nis/nis_add.c (nis_add): Likewise.
32381
32382 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32383
32384 * posix/fnmatch_loop.c: Add some consts.
32385
32386 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32387
435b95eb
L
323882011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32389
32390 [BZ #12460]
32391 * config.make.in (config-cflags-novzeroupper): Define.
32392 * configure.in: Substitute libc_cv_cc_novzeroupper.
32393 * elf/Makefile (AVX-CFLAGS): Define.
32394 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32395 (CFLAGS-tst-auditmod4a.c): Likewise.
32396 (CFLAGS-tst-auditmod4b.c): Likewise.
32397 (CFLAGS-tst-auditmod6b.c): Likewise.
32398 (CFLAGS-tst-auditmod6c.c): Likewise.
32399 (CFLAGS-tst-auditmod7b.c): Likewise.
32400 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32401
8517b15e
UD
324022011-02-02 Ulrich Drepper <drepper@gmail.com>
32403
32404 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32405 function to the callback.
32406 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32407
10a656fe
AS
324082011-02-02 Andreas Schwab <schwab@redhat.com>
32409
32410 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32411 of errno.
32412
968dad0a
UD
324132011-01-19 Ulrich Drepper <drepper@gmail.com>
32414
9f94d2ea 32415 [BZ #11724]
968dad0a
UD
32416 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32417 of constructors.
32418 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32419 of destructors.
32420 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32421
32422 [BZ #11724]
32423 * elf/Makefile: Add rules to build and run new test.
32424 * elf/tst-initorder.c: New file.
32425 * elf/tst-initorder.exp: New file.
32426 * elf/tst-initordera1.c: New file.
32427 * elf/tst-initordera2.c: New file.
32428 * elf/tst-initordera3.c: New file.
32429 * elf/tst-initordera4.c: New file.
32430 * elf/tst-initorderb1.c: New file.
32431 * elf/tst-initorderb2.c: New file.
32432 * elf/tst-order-a1.c: New file.
32433 * elf/tst-order-a2.c: New file.
32434 * elf/tst-order-a3.c: New file.
32435 * elf/tst-order-a4.c: New file.
32436 * elf/tst-order-b1.c: New file.
32437 * elf/tst-order-b2.c: New file.
32438 * elf/tst-order-main.c: New file.
32439 New test case by George Gensure <werkt0@gmail.com>.
32440
86e92359
UD
324412010-10-01 Andreas Schwab <schwab@redhat.com>
32442
32443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32444 decoding ACE if AI_CANONIDN.
32445
5d5732b0
UD
324462011-01-18 Ulrich Drepper <drepper@gmail.com>
32447
32448 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32449
a77e8cbc
UD
324502011-01-17 Ulrich Drepper <drepper@gmail.com>
32451
6392473f
UD
32452 * version.h (RELEASE): Bump for 2.13 release.
32453 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32454
620a0529
UD
32455 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32456
18ba70a5
UD
32457 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32458 MADV_NOHUGEPAGE.
32465c3e
UD
32459 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32460 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32461 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32462 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32463 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32464 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32465
c0dafcf1
UD
32466 * posix/getconf.c: Update copyright year.
32467 * catgets/gencat.c: Likewise.
32468 * csu/version.c: Likewise.
32469 * debug/catchsegv.sh: Likewise.
32470 * debug/xtrace.sh: Likewise.
32471 * elf/ldconfig.c: Likewise.
32472 * elf/ldd.bash.in: Likewise.
32473 * elf/sprof.c (print_version): Likewise.
32474 * iconv/iconv_prog.c: Likewise.
32475 * iconv/iconvconfig.c: Likewise.
32476 * locale/programs/locale.c: Likewise.
32477 * locale/programs/localedef.c: Likewise.
32478 * malloc/memusage.sh: Likewise.
32479 * malloc/mtrace.pl: Likewise.
32480 * nscd/nscd.c (print_version): Likewise.
32481 * nss/getent.c: Likewise.
32482
a77e8cbc
UD
32483 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32484 PF_CAIF, and PF_ALG.
32485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32486
77e8bddf
AS
324872011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32488
1f20b93a
AS
32489 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32490 (modules-names): Use them.
32491 (ifunc-test-modules, ifunc-pie-tests): Define.
32492 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32493 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32494 (test-extras): Likewise.
32495 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32496 $(compile-command.c).
32497 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32498 (all-built-dso): Define.
32499 (check-textrel.out, check-execstack.out): Depend on it.
32500
77e8bddf
AS
32501 * configure.in: Don't override --enable-multi-arch.
32502
bc425b33
UD
325032011-01-15 Ulrich Drepper <drepper@gmail.com>
32504
32505 [BZ #6812]
32506 * nscd/hstcache.c (tryagain): Define.
32507 (cache_addhst): Return tryagain not notfound for temporary errors.
32508 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32509 failed.
32510
794c3ad3
UD
325112011-01-14 Ulrich Drepper <drepper@gmail.com>
32512
70181fdd
UD
32513 [BZ #10563]
32514 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32515 to make the syscall.
32516 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32517
794c3ad3
UD
32518 [BZ #12378]
32519 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32520 and fall back to matching as normal character if the string ends before
32521 the matching ']' is found. This is what POSIX requires.
32522 * posix/testfnm.c: Adjust test result.
32523 * posix/globtest.sh: Adjust test result. Add new test.
32524 * posix/tst-fnmatch.input: Likewise.
32525 * posix/tst-fnmatch2.c: Add new test.
32526
68dc9497
AS
325272010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32528
32529 * elf/Makefile (check-execstack): Revert last change. Depend on
32530 check-execstack.h.
32531 (check-execstack.h): New target.
32532 (generated): Add check-execstack.h.
32533 * elf/check-execstack.c: Include "check-execstack.h".
32534 (main): Revert last change.
32535 (handle_file): Return zero if GNU_STACK is absent and
32536 DEFAULT_STACK_PERMS doesn't include PF_X.
32537
451f001b
UD
325382011-01-13 Ulrich Drepper <drepper@gmail.com>
32539
cfa28e56
UD
32540 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32541 in child fails because the descriptor is already closed.
8cf8ce17
UD
32542 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32543 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32544 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32545
1086d70d
UD
32546 [BZ #12397]
32547 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32548 syscall.
32549
451f001b
UD
32550 [BZ #10484]
32551 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32552 temporary buffer used to handle multi lookups locally.
a85b5cb4 32553 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32554
08769175
UD
325552011-01-12 Ulrich Drepper <drepper@gmail.com>
32556
32557 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32558 loader is ld.so.
32559
5e49c52e
UD
325602011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32561
32562 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32563 alignment for SSE2.
32564
60522a5f
UD
325652011-01-12 Ulrich Drepper <drepper@gmail.com>
32566
32567 [BZ #12394]
32568 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32569 characters. When rounding increased number of integer digits recompute
32570 number of groups.
32571 * stdio-common/tst-grouping.c: New file.
32572 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32573
f257bbd7
UD
325742011-01-09 Ulrich Drepper <drepper@gmail.com>
32575
32576 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32577 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32578
32579 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32580 void.
32581 * bits/select.h: Likewise.
32582
fa9c15cb
UD
325832011-01-08 Ulrich Drepper <drepper@gmail.com>
32584
32585 * po/ja.po: Update from translation team.
32586
16c2895f
DM
325872011-01-04 David S. Miller <davem@sunset.davemloft.net>
32588
32589 [BZ #11155]
32590 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32591 implementation just like for lxstat, fxstatat, et al.
32592
2543fef2
JM
325932010-12-27 Jim Meyering <meyering@redhat.com>
32594
32595 [BZ #12348]
32596 * posix/regexec.c (build_trtable): Return failure indication upon
32597 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32598
98727dbe
UD
325992010-12-25 Ulrich Drepper <drepper@gmail.com>
32600
5bd6dc5c
UD
32601 [BZ #12201]
32602 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32603 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32604 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32605 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32606
97983464
UD
32607 [BZ #12207]
32608 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32609
98727dbe
UD
32610 [BZ #12204]
32611 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32612 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32613
4a531bb0
L
326142010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32615
32616 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32617 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32618 script has SORT_BY_INIT_PRIORITY.
32619 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32620 NO_CTORS_DTORS_SECTIONS is defined.
32621 * elf/soinit.c: Likewise.
32622 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32623 NO_CTORS_DTORS_SECTIONS is defined.
32624 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32625 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32626 * sysdeps/sh/init-first.c: Likewise.
32627 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32628
07eb4b71
UD
326292010-12-24 Ulrich Drepper <drepper@gmail.com>
32630
32631 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32632 always use the slow path.
32633
30950a5f
RA
326342010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32635
32636 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32637 similar rule which adds the sysdep directories to the header search in
32638 order to pick up the correct platform stackinfo.h.
32639 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32640 perform test if it is, otherwise return successfully without testing.
32641 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32642 DEFAULT_STACK_PERMS define in stackinfo.h.
32643 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32644 defined in stackinfo.h.
32645 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32646 DEFAULT_STACK_PERMS defined in stackinfo.h.
32647 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32648 * sysdeps/ia64/stackinfo.h: Likewise.
32649 * sysdeps/s390/stackinfo.h: Likewise.
32650 * sysdeps/sh/stackinfo.h: Likewise.
32651 * sysdeps/sparc/stackinfo.h: Likewise.
32652 * sysdeps/x86_64/stackinfo.h: Likewise.
32653 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32654 PF_X for powerpc64. Retain PF_X for powerpc32.
32655
db753e2c
UD
326562010-12-19 Ulrich Drepper <drepper@gmail.com>
32657
14b697f7
UD
32658 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32659 accurately.
db753e2c
UD
32660 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32661 GETDENTS_64BIT_ALIGNED.
32662
28300719
UD
326632010-12-14 Ulrich Drepper <dreper@gmail.com>
32664
14b697f7 32665 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32666
4f197237
AS
326672010-12-10 Andreas Schwab <schwab@redhat.com>
32668
dbb0472f
AS
32669 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32670 _GNU_SOURCE.
32671
4f197237
AS
32672 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32673 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32674 Remove __restrict.
32675 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32676 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32677
fb88ac72
UD
326782010-12-09 Ulrich Drepper <drepper@gmail.com>
32679
32680 [BZ #11655]
32681 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32682 are initialized.
32683
42acbb92
JJ
326842010-12-09 Jakub Jelinek <jakub@redhat.com>
32685
32686 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32687
c038d98d
UD
326882010-12-03 Ulrich Drepper <drepper@gmail.com>
32689
32690 * po/it.po: Update from translation team.
32691
3a4a2499
L
326922010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32693
32694 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32695 unused codes.
32696
1e24cf6e
UD
326972010-11-30 Ulrich Drepper <drepper@gmail.com>
32698
32699 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32700
a7690819
AS
327012010-11-24 Andreas Schwab <schwab@redhat.com>
32702
32703 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32704 specially.
32705 (gaih_getanswer_slice): Likewise.
32706
3bf8d1b1
JJ
327072010-10-20 Jakub Jelinek <jakub@redhat.com>
32708
32709 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32710
6db52fbb
PB
327112010-05-31 Petr Baudis <pasky@suse.cz>
32712
32713 [BZ #11149]
32714 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32715 silently even in the chroot mode.
32716
eaca7569
UD
327172010-11-22 Ulrich Drepper <drepper@gmail.com>
32718
32719 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32720 last patch a bit. Pretty printing
32721
3056dcdb
UD
327222010-05-31 Petr Baudis <pasky@suse.cz>
32723
32724 [BZ #10085]
32725 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32726 initialization of skip_initgroups_dyn.
32727
cf7c9078
UD
327282010-11-19 Ulrich Drepper <drepper@gmail.com>
32729
32730 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32731 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32732
a1fb5e3e
UD
327332010-11-16 Ulrich Drepper <drepper@gmail.com>
32734
32735 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32736
3540d66b
AS
327372010-11-11 Andreas Schwab <schwab@redhat.com>
32738
32739 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32740 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32741 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32742 ($(objpfx)tst-fnmatch-mem): New rule.
32743 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32744 * posix/tst-fnmatch.c (main): Call mtrace.
32745
13b69574
L
327462010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32747
32748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32749 Support Intel processor model 6 and model 0x2c.
32750
da93d214
LM
327512010-11-10 Luis Machado <luisgpm@br.ibm.com>
32752
32753 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32754 signed comparison.
32755
8ca52c6e
L
327562010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32757
32758 [BZ #12205]
32759 * string/test-strncasecmp.c (check_result): New function.
32760 (do_one_test): Use it.
32761 (check1): New function.
32762 (test_main): Use it.
32763 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32764 Support strcasecmp and strncasecmp.
32765
69da074d
UD
327662010-11-08 Ulrich Drepper <drepper@gmail.com>
32767
32768 [BZ #12194]
32769 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32770 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32771
ff02d528
L
327722010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32773
32774 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32775 IFUNC support.
32776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32777 memset-x86-64.
32778 * sysdeps/x86_64/multiarch/bzero.S: New file.
32779 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32780 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32781 * sysdeps/x86_64/multiarch/memset.S: New file.
32782 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32784 Set bit_Prefer_SSE_for_memop for Intel processors.
32785 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32786 Define.
32787 (index_Prefer_SSE_for_memop): Define.
32788 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32789
344d0b54
LM
327902010-11-04 Luis Machado <luisgpm@br.ibm.com>
32791
32792 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32793 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32794
c0dde15b
UD
327952010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32796
32797 [BZ #12191]
32798 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32799 (__x86_64_raw_data_cache_size_half): Likewise.
32800 (__x86_64_raw_shared_cache_size): Likewise.
32801 (__x86_64_raw_shared_cache_size_half): Likewise.
32802
32803 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32804 (__x86_64_raw_data_cache_size_half): Likewise.
32805 (__x86_64_raw_shared_cache_size): Likewise.
32806 (__x86_64_raw_shared_cache_size_half): Likewise.
32807 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32808 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32809 and __x86_64_raw_shared_cache_size_half. Round
32810 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32811 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32812 to multiple of 256 bytes.
32813
0e516e0e
MS
328142010-11-03 Ulrich Drepper <drepper@gmail.com>
32815
32816 [BZ #12167]
32817 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32818 of inacessible symlinks. Verify result of symlink before returning it.
32819 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32820 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32821
0e012e87
ER
328222010-10-28 Erich Ritz <erichritz@gmail.com>
32823
32824 * math/math.h (isinf): Fix typo in comment.
32825
de0ff7bc
UD
328262010-11-01 Ulrich Drepper <drepper@gmail.com>
32827
32828 * po/da.po: Update from translation team.
32829
fa41c84d
UD
328302010-10-26 Ulrich Drepper <drepper@gmail.com>
32831
32832 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32833 is added to the list.
32834
f0967738
AK
328352010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32836 Ulrich Drepper <drepper@gmail.com>
32837
32838 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32839 the global list here. Move code to...
32840 (_dl_add_to_namespace_list): ...here. New function.
32841 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32842 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32843 * elf/dl-load.c (lose): Don't remove the element from the list.
32844 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32845 (_dl_map_object): Likewise.
32846
328472010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32848
32849 [BZ #12159]
32850 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32851 into all bytes of SSE register.
32852 Patch by Richard Li <richardpku@gmail.com>.
32853
f0967738 328542010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32855
32856 [BZ #12140]
32857 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32858 perturbing.
32859
d0b9e94f
MB
328602010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32861
32862 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32863 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32864 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32865 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32867 submachine.
32868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32869
8e9f92e9
AS
328702010-10-22 Andreas Schwab <schwab@redhat.com>
32871
32872 * include/dlfcn.h (__RTLD_SECURE): Define.
32873 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32874 mode & __RTLD_SECURE instead.
32875 (open_path): Rename preloaded parameter to secure.
32876 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32877 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32878 * elf/dl-deps.c (openaux): Likewise.
32879 * elf/rtld.c (struct map_args): Remove is_preloaded.
32880 (map_doit): Don't use it.
32881 (dl_main): Likewise.
32882 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32883 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32884
bc96fbda
AS
328852010-09-09 Andreas Schwab <schwab@redhat.com>
32886
32887 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32888 (sysd-rules-targets): Remove duplicates.
32889 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32890 rtld-%.$o dependency.
32891
22cd1c9b
AS
328922010-10-18 Andreas Schwab <schwab@redhat.com>
32893
32894 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32895 _dl_map_object do it.
32896
18edac48
UD
328972010-10-19 Ulrich Drepper <drepper@gmail.com>
32898
32899 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32900 fast fma builtins, define the macros in the C99 standard.
32901 (FP_FAST_FMAF): Likewise.
32902 (FP_FAST_FMAL): Likewise.
32903 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32904
32905 * bits/mathdef.h: Update copyright year.
32906 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32907
d2050124
MM
329082010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32909
32910 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32911 builtins, define the macros in the C99 standard.
32912 (FP_FAST_FMAF): Likewise.
32913 (FP_FAST_FMAL): Likewise.
32914 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32915 multiply/add.
32916 (FP_FAST_FMAF): Likewise.
32917
475facd1
JJ
329182010-10-15 Jakub Jelinek <jakub@redhat.com>
32919
32920 [BZ #3268]
32921 * math/libm-test.inc (fma_test): Some new testcases.
32922 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32923 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32924 y and infinite z. Do multiplication by C already in long double.
32925 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32927 y and infinite z. Do bitwise or of inexact bit into u.d.
32928 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32929 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32930 * sysdeps/i386/fpu/s_fma.S: Removed.
32931 * sysdeps/i386/fpu/s_fmal.S: Removed.
32932
7c08a05c
JJ
329332010-10-16 Jakub Jelinek <jakub@redhat.com>
32934
32935 [BZ #3268]
32936 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32938 computation is not scheduled after fetestexcept. Fix value
32939 of minimum denormal long double.
32940
f3f7372d
JJ
329412010-10-14 Jakub Jelinek <jakub@redhat.com>
32942
32943 [BZ #3268]
32944 * math/libm-test.inc (fma_test): Add some more tests.
32945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32946 correctly.
32947
14d43591
AS
329482010-10-15 Andreas Schwab <schwab@redhat.com>
32949
32950 * scripts/data/localplt-s390-linux-gnu.data: New file.
32951 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32952
5e908464
JJ
329532010-10-13 Jakub Jelinek <jakub@redhat.com>
32954
32955 [BZ #3268]
32956 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32957 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32958 instead of dbl-64.
32959 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32960 inlines.
32961 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32962 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32963 if one of x and y is very large and the other is subnormal.
32964 * sysdeps/s390/fpu/s_fmaf.c: New file.
32965 * sysdeps/s390/fpu/s_fma.c: New file.
32966 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32967 * sysdeps/powerpc/fpu/s_fma.S: New file.
32968 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32969 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32970 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32971
329722010-10-12 Jakub Jelinek <jakub@redhat.com>
32973
32974 [BZ #3268]
32975 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32976 fma tests.
32977 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32978 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32979 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32980 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32981 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32982 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32983 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32984
b833d51f
UD
329852010-10-12 Ulrich Drepper <drepper@redhat.com>
32986
32987 [BZ #12078]
32988 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32989 * posix/bug-regex31.input: Add test case.
32990
1751705d
UD
329912010-10-11 Ulrich Drepper <drepper@gmail.com>
32992
e9b9cbf5
UD
32993 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32994 * posix/bug-regex31.input: New file.
32995
32996 [BZ #12078]
32997 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32998 (parse_sub_exp): Fix last change, use postorder.
32999
ef06edbe
UD
33000 * posix/bug-regex31.c: New file.
33001 * posix/Makefile: Add rules to build and run bug-regex31.
33002
a129c80d
UD
33003 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33004
33005 [BZ #12078]
33006 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33007
b76b818e
UD
33008 [BZ #12108]
33009 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33010 to have entries in sys_siglist.
33011
1751705d
UD
33012 [BZ #12093]
33013 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33014 be NULL.
33015
9ff8d36f
JJ
330162010-10-07 Jakub Jelinek <jakub@redhat.com>
33017
33018 [BZ #3268]
33019 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33020 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33021 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33022 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33023 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33024 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33025 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33026 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33027 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33028 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33029 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33030 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33031 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33032 * math/ftestexcept.c (fetestexcept): Likewise.
33033 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33034 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33035 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33036 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33037 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33038 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33039 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33040
af325969
UD
330412010-10-11 Ulrich Drepper <drepper@gmail.com>
33042
c579b202 33043 [BZ #12107]
af325969
UD
33044 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33045 newline.
33046
67a67b95
UD
330472010-10-06 Ulrich Drepper <drepper@gmail.com>
33048
33049 * string/bug-strstr1.c: New file.
33050 * string/Makefile: Add rules to build and run bug-strstr1.
33051
5fb308bc
EB
330522010-10-05 Eric Blake <eblake@redhat.com>
33053
33054 [BZ #12092]
33055 * string/str-two-way.h (two_way_long_needle): Always clear memory
33056 when skipping input due to the shift table.
33057
45db99c7
UD
330582010-10-03 Ulrich Drepper <drepper@gmail.com>
33059
3b111893
UD
33060 [BZ #12005]
33061 * malloc/mcheck.c: Handle large requests.
33062
45db99c7
UD
33063 [BZ #12077]
33064 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33065 for strncmp and strncasecmp.
33066 * string/stratcliff.c: Add tests for strcmp and strncmp.
33067 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33068
cf7a1eb8
NI
330692010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33070
33071 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33072 __set_fpscr.
33073
6484ba5e
AJ
330742010-09-30 Andreas Jaeger <aj@suse.de>
33075
33076 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33077 (CGROUP_SUPER_MAGIC): Define.
33078 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33079 Handle btrfs and cgroup file systems.
33080 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33081 Likewise.
33082
91c42559
LM
330832010-09-27 Luis Machado <luisgpm@br.ibm.com>
33084
33085 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33086 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33087
87a97932
AK
330882010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33089
33090 [BZ #12067]
33091 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33092 trying to locate the ELF header.
33093
c21cc9bc
AS
330942010-09-27 Andreas Schwab <schwab@redhat.com>
33095
33096 [BZ #11611]
33097 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33098 Mask out sign-bit copies when constructing f_fsid.
33099
315970f6
PB
331002010-09-24 Petr Baudis <pasky@suse.cz>
33101
33102 * debug/stack_chk_fail_local.c: Add missing licence exception.
33103 * debug/warning-nop.c: Likewise.
33104
1ac7a2c7
JM
331052010-09-15 Joseph Myers <joseph@codesourcery.com>
33106
33107 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33108 implementing getdents64 using getdents syscall, set d_type if
33109 __ASSUME_GETDENTS32_D_TYPE.
33110
56801c50
AS
331112010-09-16 Andreas Schwab <schwab@redhat.com>
33112
33113 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33114 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33115
dda51327
UD
331162010-09-21 Ulrich Drepper <drepper@redhat.com>
33117
33118 [BZ #12037]
33119 * posix/unistd.h: Undo change of feature selection for ftruncate from
33120 2010-01-11.
33121
8ffcee4a
UD
331222010-09-20 Ulrich Drepper <drepper@redhat.com>
33123
a545ecd9 33124 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
33125 detection.
33126
e24f0a8b
AS
331272010-09-20 Andreas Schwab <schwab@redhat.com>
33128
33129 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33130 fanotify_mark.
33131 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33132
7291c56f
AS
331332010-09-14 Andreas Schwab <schwab@redhat.com>
33134
33135 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33136 variables after CHECK_SP call.
33137 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33138
bc5fb037
AS
331392010-09-13 Andreas Schwab <schwab@redhat.com>
33140 Ulrich Drepper <drepper@redhat.com>
33141
33142 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33143 re-relocationg ld.so.
33144 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33145 _dl_init_paths call.
33146 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33147 here anymore.
33148
e66e7419
UD
331492010-09-14 Ulrich Drepper <drepper@redhat.com>
33150
33151 * resolv/res_init.c (__res_vinit): Count the default server we added.
33152
c044aa75
CLT
331532010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33154 Ulrich Drepper <drepper@redhat.com>
33155
33156 [BZ #11968]
33157 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33158 (____longjmp_chk): Use %ebx for saving value across system call.
33159 Add unwind info.
33160
32cf4069
AS
331612010-09-06 Andreas Schwab <schwab@redhat.com>
33162
33163 * manual/Makefile: Don't mix pattern rules with normal rules.
33164
817328ee
AS
331652010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33166
33167 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33168 operation.
33169 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33170 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33171 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33172 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33173 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33174 Likewise.
33175
29fddf61
UD
331762010-09-04 Ulrich Drepper <drepper@redhat.com>
33177
33178 [BZ #11979]
33179 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33180 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33181
0959ffc9
UD
331822010-09-02 Ulrich Drepper <drepper@redhat.com>
33183
33184 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33185 * sysdeps/x86_64/addmul_1.S: Likewise.
33186 * sysdeps/x86_64/lshift.S: Likewise.
33187 * sysdeps/x86_64/mul_1.S: Likewise.
33188 * sysdeps/x86_64/rshift.S: Likewise.
33189 * sysdeps/x86_64/sub_n.S: Likewise.
33190 * sysdeps/x86_64/submul_1.S: Likewise.
33191
ece29840
ST
331922010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33193
0959ffc9
UD
33194 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33195 Define __sched_param instead of SCHED_* and sched_param when
ece29840 33196 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 33197 * bits/sched.h [__need_schedparam]
ece29840 33198 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
33199 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33200 (__defined_schedparam): Define to 1.
ece29840
ST
33201 (__sched_param): New structure, identical to sched_param.
33202 (__need_schedparam): Undefine.
33203
e53a31fe
MF
332042010-08-31 Mike Frysinger <vapier@gentoo.org>
33205
fdc0c10d
MF
33206 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33207 (epoll_create1): Declare.
33208
e53a31fe
MF
33209 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33210
a726d796
AS
332112010-08-31 Andreas Schwab <schwab@redhat.com>
33212
33213 [BZ #7066]
33214 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33215 shifting retval into place.
33216
2f3e3dc7
UD
332172010-09-01 Ulrich Drepper <drepper@redhat.com>
33218
f2933da9
UD
33219 * nis/rpcsvc/nis.h: Update copyright notice.
33220 * nis/rpcsvc/nis.x: Likewise.
33221 * nis/rpcsvc/nis_callback.h: Likewise.
33222 * nis/rpcsvc/nis_callback.x: Likewise.
33223 * nis/rpcsvc/nis_object.x: Likewise.
33224 * nis/rpcsvc/nis_tags.h: Likewise.
33225 * nis/rpcsvc/yp.h: Likewise.
33226 * nis/rpcsvc/yp.x: Likewise.
33227 * nis/rpcsvc/ypupd.h: Likewise.
33228 * nis/yp_xdr.c: Likewise.
33229 * nis/ypupdate_xdr.c: Likewise.
33230
2f3e3dc7
UD
33231 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33232 mainly the body of pmap_getport. Add parameters to specify timeouts.
33233 (pmap_getport): Use __libc_rpc_getport.
33234 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33235 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33236 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33237
f3dcc2f9
AS
332382010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33239
33240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33241 fanotify_mark.
33242
6d34eb5b
RM
332432010-08-27 Roland McGrath <roland@redhat.com>
33244
33245 * sysdeps/i386/i686/multiarch/Makefile
33246 (CFLAGS-varshift.c): New variable.
33247
9ea3de11
UD
332482010-08-27 Ulrich Drepper <drepper@redhat.com>
33249
c96d23fc
UD
33250 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33251 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33252
9ea3de11
UD
33253 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33254
33255 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33256
623aac7f
L
332572010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33258
33259 * sysdeps/x86_64/strlen.S: Unroll the loop.
33260 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33261 strlen-sse2 strlen-sse2-bsf.
33262 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33263 __strlen_no_bsf if bit_Slow_BSF is set.
33264 (__strlen_sse42): Removed.
33265 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33266 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33267
8b2b7715
RM
332682010-08-25 Roland McGrath <roland@redhat.com>
33269
33270 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33271 * sysdeps/x86_64/multiarch/varshift.c: New file.
33272 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33273 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33274 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33275 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33276
e73015f2
L
332772010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33278
33279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33280 strlen-sse2 strlen-sse2-bsf.
33281 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33282 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33283 (__strlen_sse2): Removed.
33284 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33285 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33286 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33287 bit_Slow_BSF for Atom.
33288 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33289 (index_Slow_BSF): Define.
33290 (HAS_SLOW_BSF): Define.
33291
df24a73e
UD
332922010-08-25 Ulrich Drepper <drepper@redhat.com>
33293
33294 [BZ #10851]
33295 * resolv/res_init.c (__res_vinit): When no server address at all
33296 is given default to loopback.
33297
f2ac4868
RM
332982010-08-24 Roland McGrath <roland@redhat.com>
33299
09055553
RM
33300 * configure.in: Remove config-name.h generation.
33301 * configure: Regenerated.
33302 * config-name.in: File removed.
33303 * scripts/config-uname.sh: New file.
33304 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33305 ($(objdir)config-name.h): New target.
33306
f2ac4868
RM
33307 * sunrpc/rpc_parse.h: Avoid nested comment.
33308
73f27d5e
RH
333092010-08-24 Richard Henderson <rth@redhat.com>
33310 Ulrich Drepper <drepper@redhat.com>
33311 H.J. Lu <hongjiu.lu@intel.com>
33312
33313 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33315 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33316 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33317 _mm_alignr_epi8 with _mm_loadu_si128.
33318 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33319 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33320 (__m128i_shift_right): Removed.
33321 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33322 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33323 * sysdeps/x86_64/multiarch/varshift.h: New file.
33324 * sysdeps/x86_64/multiarch/varshift.S: New file.
33325
84b9230c
MF
333262010-08-21 Mike Frysinger <vapier@gentoo.org>
33327
33328 * configure.in: Move assembler checks to before sysdep dir checking.
33329
9bbd0ddc
PB
333302010-08-20 Petr Baudis <pasky@suse.cz>
33331
33332 * LICENSES: Sync the sunrpc license.
33333
9da4bb31
UD
333342010-08-19 Ulrich Drepper <drepper@redhat.com>
33335
a7ab6ec8
UD
33336 * sunrpc/auth_des.c: Update copyright notice once again.
33337 * sunrpc/auth_none.c: Likewise.
33338 * sunrpc/auth_unix.c: Likewise.
33339 * sunrpc/authdes_prot.c: Likewise.
33340 * sunrpc/authuxprot.c: Likewise.
33341 * sunrpc/bindrsvprt.c: Likewise.
33342 * sunrpc/clnt_gen.c: Likewise.
33343 * sunrpc/clnt_perr.c: Likewise.
33344 * sunrpc/clnt_raw.c: Likewise.
33345 * sunrpc/clnt_simp.c: Likewise.
33346 * sunrpc/clnt_tcp.c: Likewise.
33347 * sunrpc/clnt_udp.c: Likewise.
33348 * sunrpc/clnt_unix.c: Likewise.
33349 * sunrpc/des_crypt.c: Likewise.
33350 * sunrpc/des_soft.c: Likewise.
33351 * sunrpc/get_myaddr.c: Likewise.
33352 * sunrpc/getrpcport.c: Likewise.
33353 * sunrpc/key_call.c: Likewise.
33354 * sunrpc/key_prot.c: Likewise.
33355 * sunrpc/openchild.c: Likewise.
33356 * sunrpc/pm_getmaps.c: Likewise.
33357 * sunrpc/pm_getport.c: Likewise.
33358 * sunrpc/pmap_clnt.c: Likewise.
33359 * sunrpc/pmap_prot.c: Likewise.
33360 * sunrpc/pmap_prot2.c: Likewise.
33361 * sunrpc/pmap_rmt.c: Likewise.
33362 * sunrpc/rpc/auth.h: Likewise.
33363 * sunrpc/rpc/auth_unix.h: Likewise.
33364 * sunrpc/rpc/clnt.h: Likewise.
33365 * sunrpc/rpc/des_crypt.h: Likewise.
33366 * sunrpc/rpc/key_prot.h: Likewise.
33367 * sunrpc/rpc/netdb.h: Likewise.
33368 * sunrpc/rpc/pmap_clnt.h: Likewise.
33369 * sunrpc/rpc/pmap_prot.h: Likewise.
33370 * sunrpc/rpc/pmap_rmt.h: Likewise.
33371 * sunrpc/rpc/rpc.h: Likewise.
33372 * sunrpc/rpc/rpc_des.h: Likewise.
33373 * sunrpc/rpc/rpc_msg.h: Likewise.
33374 * sunrpc/rpc/svc.h: Likewise.
33375 * sunrpc/rpc/svc_auth.h: Likewise.
33376 * sunrpc/rpc/types.h: Likewise.
33377 * sunrpc/rpc/xdr.h: Likewise.
33378 * sunrpc/rpc_clntout.c: Likewise.
33379 * sunrpc/rpc_cmsg.c: Likewise.
33380 * sunrpc/rpc_common.c: Likewise.
33381 * sunrpc/rpc_cout.c: Likewise.
33382 * sunrpc/rpc_dtable.c: Likewise.
33383 * sunrpc/rpc_hout.c: Likewise.
33384 * sunrpc/rpc_main.c: Likewise.
33385 * sunrpc/rpc_parse.c: Likewise.
33386 * sunrpc/rpc_parse.h: Likewise.
33387 * sunrpc/rpc_prot.c: Likewise.
33388 * sunrpc/rpc_sample.c: Likewise.
33389 * sunrpc/rpc_scan.c: Likewise.
33390 * sunrpc/rpc_scan.h: Likewise.
33391 * sunrpc/rpc_svcout.c: Likewise.
33392 * sunrpc/rpc_tblout.c: Likewise.
33393 * sunrpc/rpc_util.c: Likewise.
33394 * sunrpc/rpc_util.h: Likewise.
33395 * sunrpc/rpcinfo.c: Likewise.
33396 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33397 * sunrpc/rpcsvc/key_prot.x: Likewise.
33398 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33399 * sunrpc/rpcsvc/mount.x: Likewise.
33400 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33401 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33402 * sunrpc/rpcsvc/rex.x: Likewise.
33403 * sunrpc/rpcsvc/rstat.x: Likewise.
33404 * sunrpc/rpcsvc/rusers.x: Likewise.
33405 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33406 * sunrpc/rpcsvc/spray.x: Likewise.
33407 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33408 * sunrpc/rtime.c: Likewise.
33409 * sunrpc/svc.c: Likewise.
33410 * sunrpc/svc_auth.c: Likewise.
33411 * sunrpc/svc_authux.c: Likewise.
33412 * sunrpc/svc_raw.c: Likewise.
33413 * sunrpc/svc_run.c: Likewise.
33414 * sunrpc/svc_simple.c: Likewise.
33415 * sunrpc/svc_tcp.c: Likewise.
33416 * sunrpc/svc_udp.c: Likewise.
33417 * sunrpc/svc_unix.c: Likewise.
33418 * sunrpc/svcauth_des.c: Likewise.
33419 * sunrpc/xcrypt.c: Likewise.
33420 * sunrpc/xdr.c: Likewise.
33421 * sunrpc/xdr_array.c: Likewise.
33422 * sunrpc/xdr_float.c: Likewise.
33423 * sunrpc/xdr_mem.c: Likewise.
33424 * sunrpc/xdr_rec.c: Likewise.
33425 * sunrpc/xdr_ref.c: Likewise.
33426 * sunrpc/xdr_sizeof.c: Likewise.
33427 * sunrpc/xdr_stdio.c: Likewise.
33428
9da4bb31
UD
33429 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33430 handling.
33431
bdaa77bc
AS
334322010-08-19 Andreas Schwab <schwab@redhat.com>
33433
33434 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33435
fe2f79db
LM
334362010-08-19 Luis Machado <luisgpm@br.ibm.com>
33437
33438 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33439 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33440 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33441 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33442 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33443 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33444 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33445 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33446 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33447 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33448 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33449 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33450 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33451 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33452
b9b42ee0
AB
334532010-07-26 Anton Blanchard <anton@samba.org>
33454
33455 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33456 * malloc/arena.c (heap_trim): Likewise.
33457
1c06ba31
UD
334582010-08-16 Ulrich Drepper <drepper@redhat.com>
33459
33460 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33461 here. Not...
33462 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33463 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33464
f8392f40
L
334652010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33466
33467 * sysdeps/i386/elf/Makefile: New file.
33468
3162f12e
AS
334692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33470
33471 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33472 from fanotify_init.
33473 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33474 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33475
28c90b2c
UD
334762010-08-15 Ulrich Drepper <drepper@redhat.com>
33477
33478 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33479 of strncasecmp_l.
1feccb6c 33480 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 33481
ca6bb004
UD
334822010-08-14 Ulrich Drepper <drepper@redhat.com>
33483
e9f82e0d
UD
33484 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33485 strncase_l-nonascii.
33486 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33487 Add strncase_l-ssse3.
33488 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33489 * sysdeps/x86_64/strcmp.S: Likewise.
33490 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33491 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33492 * sysdeps/x86_64/strncase.S: New file.
33493 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33494 * sysdeps/x86_64/strncase_l.S: New file.
33495 * string/Makefile (strop-tests): Add strncasecmp.
33496 * string/test-strncasecmp.c: New file.
33497
33498 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33499 warning.
33500
ca6bb004
UD
33501 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33502 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33503
052fa7b3
AS
335042010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33505
33506 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33507
962dba78
UD
335082010-08-12 Ulrich Drepper <drepper@redhat.com>
33509
33510 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33511 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33512 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33513
bebff237
AM
335142010-05-01 Alan Modra <amodra@gmail.com>
33515
33516 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33517 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33518 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33519 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33520 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33521 tidying. Don't tail-call __sigjmp_save for static lib.
33522 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33523 save location.
33524 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33525 (CALL_MCOUNT): Add eh info, and nop after bl.
33526 (TAIL_CALL_SYSCALL_ERROR): New macro.
33527 (PSEUDO_RET): Use it.
33528 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33529 Correct save location of integer regs and cr.
33530 (_dl_profile_resolve): Correct cr save location. Delete nops
33531 after bl when SHARED. Reduce cfi size a little by better
33532 placement of cfi directives.
33533 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33534 make a stack frame. Instead use parm save area as a temp.
33535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33536 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33538 Don't make a stack frame for parent, use parm save area.
33539 Increase child stack frame to 112 bytes. Don't save unused reg,
33540 and adjust reg usage. Set up cfi on error recovery and
33541 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33543 (__makecontext): Add dummy nop after jump to exit.
33544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33545 Use correct parm save area and cr save, reduce stack frame.
33546 Correct cfi for possible PSEUDO_RET frame setup.
33547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33548 Branch to local label emitted by PSEUDO_RET rather than
33549 __syscall_error.
33550
02637374
AS
335512010-08-12 Andreas Schwab <schwab@redhat.com>
33552
33553 [BZ #11904]
33554 * locale/programs/locale.c (print_assignment): New function.
33555 (show_locale_vars): Use it.
33556
c3e2f19b
UD
335572010-08-11 Ulrich Drepper <drepper@redhat.com>
33558
3cdaa6ad
UD
33559 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33560 field.
33561 (struct statfs64): Likewise.
33562 (_STATFS_F_FLAGS): Define.
33563 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33564 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33565 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33566 (ST_VALID): Define locally.
33567 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33568 __statvfs_getflags, use the provided value.
33569 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33570 __ASSUME_STATFS_F_FLAGS.
33571
754f7da3
UD
33572 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33573
10b3bedc
UD
33574 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33575 Add sys/fanotify.h.
33576 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33577 fanotify_mask for GLIBC_2.13.
33578 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33579 fanotify_init and fanotify_mark.
33580 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33581 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33582
c08fb0d7
UD
33583 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33584 Add prlimit.
33585 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33586 prlimit64 for GLIBC_2.13.
33587 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33588 prlimit64.
33589 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33590 syscall.
33591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33592 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33593 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33594 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33595 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33596 add prlimit alias.
33597 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33598
15bac72b
UD
33599 [BZ #11903]
33600 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33601 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33602
c3e2f19b
UD
33603 * nss/Makefile: Add rules to build and run tst-nss-test1.
33604 * shlib-versions: Add entry for libnss_test1.
33605 * nss/nss_test1.c: New file.
33606 * nss/tst-nss-test1.c: New file.
33607
33608 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33609 (__nss_configure_lookup): Set appropriate entry in
33610 __nss_configure_lookup to true.
33611 * nss/nsswitch.h: Define enum with indeces of databases in
33612 databases and __nss_database_custom arrays. Declare
33613 __nss_database_custom.
33614 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33615 to avoid using nscd when custom rules are installed.
33616 * nss/getXXbyYY_r.c: Likewise.
33617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33618
33619 * nss/nss_files/files-parse.c: Whitespace fixes.
33620
f15ce4d8
UD
336212010-08-09 Ulrich Drepper <drepper@redhat.com>
33622
33623 [BZ #11883]
33624 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33625 * posix/fnmatch_loop.c: Likewise.
33626
d22e4cc9
AK
336272010-07-17 Andi Kleen <ak@linux.intel.com>
33628
33629 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33630 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33631 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33632 * Versions.def [GLIBC_2.13]: Add.
33633
805bc17d
UD
336342010-08-06 Ulrich Drepper <drepper@redhat.com>
33635
33636 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33637 Also fail if tpwd after pwuid call is NULL.
33638
5a42321d
ST
336392010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33640
33641 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33642 when converting to ms.
33643
fd3ebeda
ST
336442010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33645
33646 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33647 EOPNOTSUPP errors with ENOTTY.
33648 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33649 EOPNOTSUPP errors with ENOTTY.
33650
73507d3a
UD
336512010-07-31 Ulrich Drepper <drepper@redhat.com>
33652
33653 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33654 Add strcasecmp_l-ssse3.
33655 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33656 strcasecmp.
33657 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33658 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33659 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33660
fe36dd02
UD
336612010-07-30 Ulrich Drepper <drepper@redhat.com>
33662
66f6765a
UD
33663 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33664
42e08a54
UD
33665 * string/Makefile (strop-tests): Add strcasecmp.
33666 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33667 strcasecmp_l-nonascii.
33668 (gen-as-const-headers): Add locale-defines.sym.
33669 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33670 * sysdeps/x86_64/strcasecmp.S: New file.
33671 * sysdeps/x86_64/strcasecmp_l.S: New file.
33672 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33673 * sysdeps/x86_64/locale-defines.sym: New file.
33674 * string/test-strcasecmp.c: New file.
33675
fe36dd02
UD
33676 * string/test-strcasestr.c: Test both ends of the range of characters.
33677 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33678
48cbc0d6
RM
336792010-07-29 Roland McGrath <roland@redhat.com>
33680
76e6d6bc 33681 [BZ #11856]
48cbc0d6
RM
33682 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33683
880113d9
UD
336842010-07-27 Ulrich Drepper <drepper@redhat.com>
33685
33686 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33687 for ld.so.
33688
deb9cabb
AS
336892010-07-27 Andreas Schwab <schwab@redhat.com>
33690
33691 * manual/memory.texi (Malloc Tunable Parameters): Document
33692 M_PERTURB.
33693
1c7570ff
RM
336942010-07-26 Roland McGrath <roland@redhat.com>
33695
33696 [BZ #11840]
33697 * configure.in (-fgnu89-inline check): Set and substitute
33698 gnu89_inline, not libc_cv_gnu89_inline.
33699 * configure: Regenerated.
33700 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33701
24fb0f88
UD
337022010-07-26 Ulrich Drepper <drepper@redhat.com>
33703
33704 * string/test-strnlen.c: New file.
33705 * string/Makefile (strop-tests): Add strnlen.
33706 * string/tester.c (test_strnlen): Add a few more test cases.
33707 * string/tst-strlen.c: Better error reporting.
33708
33709 * sysdeps/x86_64/strnlen.S: New file.
33710
8e96b93a
UD
337112010-07-24 Ulrich Drepper <drepper@redhat.com>
33712
33713 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33714 lower-latency instructions.
33715
dbc676d4
UD
337162010-07-23 Ulrich Drepper <drepper@redhat.com>
33717
33718 * string/test-strcasestr.c: New file.
33719 * string/test-strstr.c: New file.
33720 * string/Makefile (strop-tests): Add strstr and strcasestr.
33721 * string/str-two-way.h: Don't undefine MAX.
33722 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33723
f6a31e0e
AS
337242010-07-21 Andreas Schwab <schwab@redhat.com>
33725
33726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33727 strcasestr-nonascii.
33728 (CFLAGS-strcasestr-nonascii.c): Define.
33729 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33730 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33731 Remove unused attribute.
33732
5dbc3b6c
RM
337332010-07-20 Roland McGrath <roland@redhat.com>
33734
33735 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33736 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33737 ld.so.cache was broken. With it, there is no way to disable dsocaps
33738 like LD_HWCAP_MASK can disable hwcaps.
33739
23d101d8
EPM
337402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33741
33742 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33743
cc9f2e47
UD
337442010-07-16 Ulrich Drepper <drepper@redhat.com>
33745
33746 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33747 call in strcasestr.
33748 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33749 __strcasestr_sse42_nonascii.
33750 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33751 strcasestr-nonascii.c.
33752 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33753
77c1b069
LM
337542010-06-15 Luis Machado <luisgpm@br.ibm.com>
33755
33756 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33757 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33758 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33759 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33760
440566c3
UD
337612010-07-09 Ulrich Drepper <drepper@redhat.com>
33762
33763 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33764 fcntl.
33765
5be9d05d
AS
337662010-07-06 Andreas Schwab <schwab@redhat.com>
33767
c30b7ee2 33768 [BZ #11577]
5be9d05d
AS
33769 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33770 dl_signal_cerror.
33771
8a492a67
UD
337722010-07-06 Ulrich Drepper <drepper@redhat.com>
33773
33774 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33775 _PC_PIPE_BUF using F_GETPIPE_SZ.
33776
713df3d5
RM
337772010-07-05 Roland McGrath <roland@redhat.com>
33778
33779 * manual/arith.texi (Rounding Functions): Fix rint description
33780 implicit in round description.
33781
702e8f14
UD
337822010-07-02 Ulrich Drepper <drepper@redhat.com>
33783
33784 * elf/Makefile: Fix linking for a few tests to make recent linker
33785 happy.
33786
52ed8be9
AS
337872010-06-30 Andreas Schwab <schwab@redhat.com>
33788
33789 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33790 $(common-objpfx)libc_nonshared.a.
33791
f47c9a11
LM
337922010-06-21 Luis Machado <luisgpm@br.ibm.com>
33793
33794 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33795 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33796 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33797 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33798 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33799 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33800 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33801 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33816 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33817 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33818 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33819 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33820 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33821 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33822 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33823 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33824 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33825 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33826 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33827 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33842
6fb8cbcb
L
338432010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33844
33845 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33846 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33847 * string/memmove.c (memmove): Renamed to ...
33848 (MEMMOVE): ...this. Default to memmove.
33849 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33850 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33851 (END_CHK): Define.
33852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33853 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33854 mempcpy-ssse3-back memmove-ssse3-back.
33855 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33856 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33857 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33858 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33859 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33860 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33861 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33862 * sysdeps/x86_64/multiarch/memmove.c: New file.
33863 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33864 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33865 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33866 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33867 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33868 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33869 Define.
33870 (index_Fast_Copy_Backward): Define.
33871 (HAS_ARCH_FEATURE): Define.
33872 (HAS_FAST_REP_STRING): Define.
33873 (HAS_FAST_COPY_BACKWARD): Define.
33874
4e733bac 338752010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33876
33877 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33878 Restore proper fallback handling.
33879
63c4ed22
UD
338802010-06-19 Ulrich Drepper <drepper@redhat.com>
33881
ac2b484c
UD
33882 [BZ #11701]
33883 * posix/group_member.c (__group_member): Correct checking loop.
33884
63c4ed22
UD
33885 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33886 OOM in getpwuid_r correctly. Return error number when the caller
33887 should return, otherwise -1.
33888 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33889 call returning > 0 value.
33890 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33891
765ade4b
AS
338922010-06-07 Andreas Schwab <schwab@redhat.com>
33893
33894 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33895 libc_nonshared.a from targets in modules-names.
33896
80da2e09
KS
338972010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33898
33899 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33900 requires it.
33901
158db122
LM
339022010-06-10 Luis Machado <luisgpm@br.ibm.com>
33903
33904 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33905 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33906 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33907 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33908
caa78cf8
AS
339092010-06-02 Andreas Schwab <schwab@redhat.com>
33910
33911 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33912
b2ef2c01
UD
339132010-06-14 Ulrich Drepper <drepper@redhat.com>
33914
33915 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33916 and F_GETPIPE_SZ.
33917 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33918 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33919 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33921 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33922 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33923
fbd643b6
RM
339242010-06-14 Roland McGrath <roland@redhat.com>
33925
33926 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33927
f32f2869
JJ
339282010-06-07 Jakub Jelinek <jakub@redhat.com>
33929
33930 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33931 __REDIRECT followed by __THROW.
33932 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33933 * posix/getopt.h (getopt): Likewise.
33934
2a50c078
EPM
339352010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33936
33937 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33938 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33939 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33940 in AT_FLAGS.
33941 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33942 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33943
eb5ad2eb
LM
339442010-05-28 Luis Machado <luisgpm@br.ibm.com>
33945
33946 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33947
3c88fe1e
L
339482010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33949
33950 [BZ #11640]
33951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33952 Properly check family and model.
33953
d2f73151
TY
339542010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33955
33956 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33957
ebd2e13d
LM
339582010-05-24 Luis Machado <luisgpm@br.ibm.com>
33959
33960 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33961
b32b8b45
UD
339622010-05-21 Ulrich Drepper <drepper@redhat.com>
33963
33964 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33965 symbol reference.
33966
9acbe24d
AS
339672010-05-19 Andreas Schwab <schwab@redhat.com>
33968
33969 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33970 symbol reference.
33971
f0ccf6ea
AS
339722010-05-21 Andreas Schwab <schwab@redhat.com>
33973
3d04ff3a
AS
33974 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33975 and internal_recvmmsg.
33976 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33977 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33978 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33979 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33980
f0ccf6ea
AS
33981 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33982 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33983 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33984
5b08ac57
AS
339852010-05-20 Andreas Schwab <schwab@redhat.com>
33986
33987 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33988
4828935d
LM
339892010-05-17 Luis Machado <luisgpm@br.ibm.com>
33990
33991 POWER7 optimizations.
33992 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33993 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33994
373d545e
UD
339952010-05-19 Ulrich Drepper <drepper@redhat.com>
33996
33997 * version.h: Update for 2.13 development version.
33998
21a2b1ae
AS
339992010-05-12 Andrew Stubbs <ams@codesourcery.com>
34000
34001 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34002 exceptions. Return 0.
34003
3f7dcb2b
RM
340042010-05-07 Roland McGrath <roland@redhat.com>
34005
34006 * elf/ldconfig.c (main): Add a const.
34007
5f24d53a 340082010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 34009
a160f8d8
UD
34010 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34011 (args_options): Add no-idn option.
34012 (ahosts_keys_int): Add idn_flags to ai_flags.
34013 (parse_option): Handle 'i' option to clear idn_flags.
34014
5f24d53a
UD
34015 * malloc/malloc.c (_int_free): Possible race in the most recently
34016 added check. Only act on the data if no current modification
34017 happened.
265bb1ce
UD
34018
34019See ChangeLog.17 for earlier changes.