]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix fwrite() reading beyond end of buffer in error path
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3d110c7c
EB
12013-10-11 Eric Biggers <ebiggers3@gmail.com>
2
3 [BZ #15362]
4 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5 written.
6 (_IO_new_file_xsputn): Don't return EOF if nothing has been
7 written.
8 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9 written to buffer but not flushed.
10 * libio/iofwrite_u.c: Likewise.
11 * libio/iopadn.c: Return bytes returned even if EOF was
12 encountered.
13 * libio/iowpadn.c: Likewise.
14 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15 if _IO_padn does not write the whole buffer.
16 [!COMPILE_WPRINTF] (PAD): Likewise.
17
75b4202a
DM
182013-10-10 David S. Miller <davem@davemloft.net>
19
20 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21 directory block.
22
6c6352e6
JM
232013-10-10 Joseph Myers <joseph@codesourcery.com>
24
33b853c3
JM
25 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
26 instead of FSF address.
27 * soft-fp/fixdfti.c: Likewise.
28 * soft-fp/fixsfti.c: Likewise.
29 * soft-fp/fixtfti.c: Likewise.
30 * soft-fp/fixunsdfti.c: Likewise.
31 * soft-fp/fixunssfti.c: Likewise.
32 * soft-fp/fixunstfti.c: Likewise.
33 * soft-fp/floattidf.c: Likewise.
34 * soft-fp/floattisf.c: Likewise.
35 * soft-fp/floattitf.c: Likewise.
36 * soft-fp/floatuntidf.c: Likewise.
37 * soft-fp/floatuntisf.c: Likewise.
38 * soft-fp/floatuntitf.c: Likewise.
39 * soft-fp/trunctfxf2.c: Likewise.
40
6c6352e6
JM
41 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
42 * soft-fp/fixdfti.c: Likewise.
43 * soft-fp/fixsfti.c: Likewise.
44 * soft-fp/fixtfti.c: Likewise.
45 * soft-fp/fixunsdfti.c: Likewise.
46 * soft-fp/fixunssfti.c: Likewise.
47 * soft-fp/fixunstfti.c: Likewise.
48 * soft-fp/floattidf.c: Likewise.
49 * soft-fp/floattisf.c: Likewise.
50 * soft-fp/floattitf.c: Likewise.
51 * soft-fp/floatuntidf.c: Likewise.
52 * soft-fp/floatuntisf.c: Likewise.
53 * soft-fp/floatuntitf.c: Likewise.
54 * soft-fp/trunctfxf2.c: Likewise.
55
3bf78b71
DM
562013-10-10 David S. Miller <davem@davemloft.net>
57
58 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59
6f10289e
JM
602013-10-10 Joseph Myers <joseph@codsourcery.com>
61
bd878fc0
JM
62 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
63 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
64 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
65 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
66 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
67 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
68 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
69
6f10289e
JM
70 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
71 for NaNs before doing comparisons on argument.
72 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
73 Likewise.
74
321e2684
WN
752013-10-10 Will Newton <will.newton@linaro.org>
76
77 * malloc/hooks.c (memalign_check): Ensure the value of bytes
78 passed to _int_memalign does not overflow.
79
40fefba1
TR
802013-10-10 Torvald Riegel <triegel@redhat.com>
81
82 * scripts/bench.pl: Add include-sources directive.
83 * benchtests/README: Update documentation.
84
2ae21ed2
JM
852013-10-10 Joseph Myers <joseph@codesourcery.com>
86
dcc2dd3f
JM
87 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
88 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
89 instead of FP_INIT_ROUNDMODE.
90 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
91 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
92
2ae21ed2
JM
93 [BZ #16034]
94 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
95 copy class of input value.
96 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
97 not handle exceptions.
98 * soft-fp/negsf2.c (__negsf2): Likewise.
99 * soft-fp/negtf2.c (__negtf2): Likewise.
100 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
101
cb8f9562
JM
1022013-10-09 Joseph Myers <joseph@codesourcery.com>
103
104 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
105 semicolon. From Linux kernel.
106
5b60c59d
AB
1072013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
108
109 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
110
b86835ca
YC
1112013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
112
113 [BZ #156]
114 * manual/socket.texi: Added statement about buffer
115 for gethostbyname2_r.
116
e7044ea7
OB
1172013-10-08 Ondřej Bílka <neleai@seznam.cz>
118
119 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
120 Use .p2align directive instead, throughout.
121 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
122 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
123 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
124 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
125 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
126 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
127 * sysdeps/x86_64/strchr.S: Likewise.
128 * sysdeps/x86_64/strrchr.S: Likewise.
129
09544cbc
SP
1302013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
131
88576635
SP
132 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
133
e7b2d1dd
SP
134 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
135
09544cbc
SP
136 * sysdeps/generic/math_private.h (__mpsin1): Remove
137 declaration.
138 (__mpcos1): Likewise.
139 (__mpsin): New argument __range_reduce.
140 (__mpcos): Likewise.
141 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
142 (slow): Use __mpsin and __mpcos.
143 (slow1): Likewise.
144 (slow2): Likewise.
145 (sloww): Likewise.
146 (sloww1): Likewise.
147 (sloww2): Likewise.
148 (bsloww): Likewise.
149 (bsloww1): Likewise.
150 (bsloww2): Likewise.
151 (cslow2): Likewise.
152 (csloww): Likewise.
153 (csloww1): Likewise.
154 (csloww2): Likewise.
155 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
156 range_reduce. Merge in __mpsin1.
157 (__mpcos): Likewise.
158 (__mpsin1): Remove.
159 (__mpcos1): Likewise.
160
7602d070
JM
1612013-10-07 Joseph Myers <joseph@codesourcery.com>
162
163 * locale/loadlocale.c (_nl_intern_locale_data): Use
164 LOCFILE_ALIGNED_P.
165 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
166 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
167 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
168 obstack data is appropriately aligned.
169 (obstack_int32_grow_fast): Likewise.
170 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
171 * locale/programs/locfile.c (add_locale_uint32): Likewise.
172 (add_locale_uint32_array): Likewise.
173
a357259b
SP
1742013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
175
176 * benchtests/Makefile: Remove ARGLIST and RET variables.
177 ($(objpfx)bench-%.c): Pass only function name to the script.
178 * benchtests/README: Update documentation.
179 * benchtests/acos-inputs: Add new directives.
180 * benchtests/acosh-inputs: Likewise.
181 * benchtests/asin-inputs: Likewise.
182 * benchtests/asinh-inputs: Likewise.
183 * benchtests/atan-inputs: Likewise.
184 * benchtests/atanh-inputs: Likewise.
185 * benchtests/cos-inputs: Likewise.
186 * benchtests/cosh-inputs: Likewise.
187 * benchtests/exp-inputs: Likewise.
188 * benchtests/log-inputs: Likewise.
189 * benchtests/pow-inputs: Likewise.
190 * benchtests/rint-inputs: Likewise.
191 * benchtests/sin-inputs: Likewise.
192 * benchtests/sinh-inputs: Likewise.
193 * benchtests/tan-inputs: Likewise.
194 * benchtests/tanh-inputs: Likewise.
195 * scripts/bench.pl: Add support for new directives.
196
9ec1b13d
AM
1972013-10-07 Alan Modra <amodra@gmail.com>
198
199 * README: Fix careless merge.
200
8b7d57cd
AM
2012013-10-05 Alan Modra <amodra@gmail.com>
202
203 * NEWS: Mention powerpc64le support and bugs fixed.
204 * README: Both big-endian and little-endian powerpc64 supported.
205
7b7bab13
ST
2062013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
207
208 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
209 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
210 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
211 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
212
d39baad1
RA
2132013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
214
215 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
216 match prototype.
217
cd78f7e7
JM
2182013-10-04 Joseph Myers <joseph@codesourcery.com>
219
29d73d86
JM
220 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
221 Move -mhard-float appending from
222 ports/sysdeps/powerpc/powerpc32/Makefile.
223 [$(with-fp) = yes] (ASFLAGS): Likewise.
224 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
225 * sysdeps/powerpc/nofpu: Move directory from
226 ports/sysdeps/powerpc/nofpu.
227 * sysdeps/powerpc/soft-fp: Move directory from
228 ports/sysdeps/powerpc/soft-fp.
229 * sysdeps/powerpc/powerpc32/405: Move directory from
230 ports/sysdeps/powerpc/powerpc32/405.
231 * sysdeps/powerpc/powerpc32/440: Move directory from
232 ports/sysdeps/powerpc/powerpc32/440.
233 * sysdeps/powerpc/powerpc32/464: Move directory from
234 ports/sysdeps/powerpc/powerpc32/464.
235 * sysdeps/powerpc/powerpc32/476: Move directory from
236 ports/sysdeps/powerpc/powerpc32/476.
237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
238 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
240 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
242 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
244 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
246 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
247 * README: Update for powerpc-*-linux-gnu software floating point
248 support in libc.
249
e246b347
JM
250 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
251 case to powerpc/powerpc32*.
252 * sysdeps/unix/sysv/linux/configure: Regenerated.
253
89c2003e
JM
254 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
255 (_FPU_MASK_OM): Define as 0x04.
256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
257 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
258 0x00c10080.
259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
260 0x0000003c.
261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
262
cd78f7e7
JM
263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
264 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
265 getcontext_e500.
266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
267 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
268 setcontext_e500.
269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
270 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
271 and setcontext_e500.
272
c755294d
CL
2732013-10-04 Chris Leonard <cjl@sugarlabs,.org>
274
275 * locale/iso-3166.def: Update iso-1366.def and related occurrences
276
e16d221c
SP
2772013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
278
279 * manual/threads.texi (Default Thread Attributes): Fix typo.
280
215c7d43
WN
2812013-10-04 Will Newton <will.newton@linaro.org>
282
283 * malloc/Makefile: Add tst-memalign.
284 * malloc/tst-memalign.c: New file.
285
27d0461b
WN
286 * malloc/tst-posix_memalign.c: Add comments.
287 (do_test): Add comments and call free on all potentially
288 allocated pointers. Add space after cast.
289
1bc92709
WN
290 * malloc/tst-pvalloc.c: Add comments.
291 (do_test): Add comments and call free on all potentially
292 allocated pointers. Remove duplicate check for NULL pointer.
293 Add space after cast.
294
66a9be9d
WN
295 * malloc/tst-valloc.c: Add comments.
296 (do_test): Add comments and call free on all potentially
297 allocated pointers. Remove duplicate check for NULL pointer.
298 Add space after cast.
299
4cb81307
AM
3002013-10-04 Alan Modra <amodra@gmail.com>
301
302 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
303 Use stdint types in rather than __attribute__((mode())).
304 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
305
f8e3e9f3
AM
3062013-10-04 Alan Modra <amodra@gmail.com>
307
308 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
309 Correct handling of unaligned relocs for little-endian.
310 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
311
8f9ebb08
AM
3122013-10-04 Alan Modra <amodra@gmail.com>
313
314 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
315 * configure: Regenerate.
316 * nptl/shlib-versions: Powerpc*le starts at 2.18.
317 * shlib-versions: Likewise.
318
0edf96c2
AM
3192013-10-04 Alan Modra <amodra@gmail.com>
320
321 * string/tester.c (test_memrchr): Increment reported test cycle.
322
e0f7a380
AM
3232013-10-04 Alan Modra <amodra@gmail.com>
324
325 * string/test-memcpy.c (do_one_test): When reporting errors, print
326 string address and don't overrun end of string.
327
466b0393
AM
3282013-10-04 Alan Modra <amodra@gmail.com>
329
330 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
331 insrdi. Make better use of reg selection to speed exit slightly.
332 Schedule entry path a little better. Remove useless "are we done"
333 checks on entry to main loop. Handle wrapping around zero address.
334 Correct main loop count. Handle single left-over word from main
335 loop inline rather than by using loop_small. Remove extra word
336 case in loop_small caused by wrong loop count. Add little-endian
337 support.
338 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
339 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
340 cache hint.
341 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
342 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
343 support. Avoid rlwimi.
344 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
345
3be87c77
AM
3462013-10-04 Alan Modra <amodra@gmail.com>
347
348 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 349 insrdi. Formatting.
3be87c77
AM
350 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
351 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
352 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
353 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
354 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
355 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
356
759cfef3
AM
3572013-10-04 Alan Modra <amodra@gmail.com>
358
359 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
360 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
361 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
362 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
363 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
364 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
365 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
366 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
367 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
368 use of regs. Use power7 mtocrf. Tidy function tails.
369
fe6e95d7
AM
3702013-10-04 Alan Modra <amodra@gmail.com>
371
372 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
373 Formatting. Consistently use rXXX register defines or rN defines.
374 Use early exit labels that avoid restoring unused non-volatile regs.
375 Make cr field use more consistent with rWORDn compares. Rename
376 regs used as shift registers for unaligned loop, using rN defines
377 for short lifetime/multiple use regs.
378 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
379 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
380 addi 1,1,64 to pop stack frame. Simplify return value code.
381 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
382
664318c3
AM
3832013-10-04 Alan Modra <amodra@gmail.com>
384
385 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
386 support. Correct typos, formatting. Optimize tail. Use insrdi
387 rather than rlwimi.
388 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
389 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
390 little-endian support. Correct typos.
391 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
392 rather than rlwimi.
393 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
394 in loop and entry code to keep "and." results.
395 (strchr): Add little-endian support. Comment. Move cntlzd
396 earlier in tail.
397 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
398
43b84013
AM
3992013-10-04 Alan Modra <amodra@gmail.com>
400
401 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
402 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
403 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
404 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
405
8a7413f9
AM
4062013-10-04 Alan Modra <amodra@gmail.com>
407
408 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
409 (rTMP): Define as r11.
410 (strcmp): Add little-endian support. Optimise tail.
411 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
412 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
413 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
414 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
415 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
416 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
417 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
418
33ee81de
AM
4192013-10-04 Alan Modra <amodra@gmail.com>
420
421 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
422 little-endian support. Remove unnecessary "are we done" tests.
423 Handle "s" wrapping around zero and extremely large "size".
424 Correct main loop count. Handle single left-over word from main
425 loop inline rather than by using small_loop. Correct comments.
426 Delete "zero" tail, use "end_max" instead.
427 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
428
db9b4570
AM
4292013-10-04 Alan Modra <amodra@gmail.com>
430
431 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
432 support. Don't branch over align.
433 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
434 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
435 support. Rearrange tmp reg use to suit. Comment.
436 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
437
f7c399cf
AM
4382013-10-04 Alan Modra <amodra@gmail.com>
439
440 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
441
0b2c2ace
AM
4422013-10-04 Alan Modra <amodra@gmail.com>
443
444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
445 conditional form of branch and link when obtaining pc.
446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
447
02f04a6c
AM
4482013-10-04 Alan Modra <amodra@gmail.com>
449
450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
451 HIWORD/LOWORD.
452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
454
9b874b2f
AM
4552013-10-04 Alan Modra <amodra@gmail.com>
456
457 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
458 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
459 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
460 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
461 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
462 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
463 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
464 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
465 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
466 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
467
be1e5d31
AB
4682013-10-04 Anton Blanchard <anton@au1.ibm.com>
469 Alistair Popple <alistair@ozlabs.au.ibm.com>
470 Alan Modra <amodra@gmail.com>
471
472 [BZ #15723]
473 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
474 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
475 _dl_hwcap access for little-endian.
476 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
477 destroy vmx regs when saving unaligned.
478 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
479 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
480 destroy vmx regs when saving unaligned.
481
fef13a78
AM
4822013-10-04 Alan Modra <amodra@gmail.com>
483
484 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
485 Don't use a union to pack hi/low value.
486
76a66d51
AB
4872013-10-04 Anton Blanchard <anton@au1.ibm.com>
488
489 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
490 for little-endian.
491 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
492 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
493 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
494 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
495 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
496
6a31fe7f
AM
4972013-10-04 Alan Modra <amodra@gmail.com>
498
499 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
500 constants to usual value for .cst8 section, and remove redundant
501 high address load.
502 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
503 constant for 0x1p52. Load little-endian words of double from
504 correct stack offsets.
505
7b88401f
AM
5062013-10-04 Alan Modra <amodra@gmail.com>
507
508 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
509 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
510 words of double from correct stack offsets.
511 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
512 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
513 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
514 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
515 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
516 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
517 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
518 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
519 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
520 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
521 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
522 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
523 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
524 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
525 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
526 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
527 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
528
9c008155
AM
5292013-10-04 Alan Modra <amodra@gmail.com>
530
531 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
532 64-bit int/double union.
533 (_FPU_SETCW): Likewise.
534 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
535 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
536
da13146d
AM
5372013-10-04 Alan Modra <amodra@gmail.com>
538
539 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
540 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
541
603e8410
AM
5422013-10-04 Alan Modra <amodra@gmail.com>
543
544 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
545 use vector int constants.
546 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
547
4a28b3ca
AB
5482013-10-04 Anton Blanchard <anton@au1.ibm.com>
549
550 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
551 array with long long.
552 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
553 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
554 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
555 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
556 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
557 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
558 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
559 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
560 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
561 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
562 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
563 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
564 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
565
2ca85d2b
AB
5662013-10-04 Anton Blanchard <anton@au1.ibm.com>
567
568 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
569 (__signbit): Likewise. Correct for little-endian.
570 (__signbitl): Call __signbit.
571 (lrint): Correct for little-endian.
572 (lrintf): Call lrint.
573
62a728ae
AM
5742013-10-04 Alan Modra <amodra@gmail.com>
575
576 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
577 union 32-bit int array member with 64-bit int array.
578 (t515, tm256): Double rather than long double.
579 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
580
32c301df
AM
5812013-10-04 Alan Modra <amodra@gmail.com>
582
583 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
584 Delete.
585 (IEEE854_LONG_DOUBLE_BIAS): Delete.
586 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
587 version of math_ldbl.h.
588
650ef4bd
AM
5892013-10-04 Alan Modra <amodra@gmail.com>
590
591 [BZ #15734], [BZ #15735]
592 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
593 all uses of ieee875 long double macros and unions. Simplify test
594 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
595 ldbl_extract_mantissa value for ix,iy exponents. Properly
596 normalize after ldbl_extract_mantissa, and don't add hidden bit
597 already handled. Don't treat low word of ieee854 mantissa like
598 low word of IBM long double and mask off bit when testing for
599 zero.
600 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
601 all uses of ieee875 long double macros and unions. Simplify tests
602 for 0.0L and inf. Correct double adjustment of k. Delete dead code
603 adjusting ha,hb. Simplify code setting kld. Delete two600 and
604 two1022, instead use their values. Recognise that tests for large
605 "a" and small "b" are mutually exclusive. Rename vars. Comment.
606 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
607 Rewrite all uses of ieee875 long double macros and unions. Simplify
608 test for 0.0L and nan. Correct negation.
609 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
610 ieee875 long double macros and unions. Correct output for large
611 magnitude x. Correct absolute value calculation.
612 (__erfcl): Likewise.
613 * math/libm-test.inc: Add tests for errors discovered in IBM long
614 double versions of fmodl, remainderl, erfl and erfcl.
615
765714ca
AM
6162013-10-04 Alan Modra <amodra@gmail.com>
617
618 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
619 all uses of ieee854 long double macros and unions. Simplify tests
620 for long doubles that are fully specified by the high double.
621 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
622 Likewise.
623 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
624 Remove dead code too.
625 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
626 (__ieee754_ynl): Likewise.
627 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
628 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
629 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
630 Remove dead code too.
631 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
632 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
633 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
634 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
635 Simplify.
636 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
637 Simplify.
638 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
639 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
640 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
641 Comment on variable precision.
642 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
643 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
644 Likewise.
645 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
646 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
647 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
648 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
649 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
650
4ebd120c
AM
6512013-10-04 Alan Modra <amodra@gmail.com>
652
653 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
654 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
655 all uses of ieee854 long double macros and unions.
656 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
657 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
658 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
659 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
660 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
661 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
662 Likewise.
663 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
664 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
665 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
666 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
667 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
668 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
669 Simplify sign and nan test too.
670 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
671 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
672 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
673 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
674 Likewise.
675 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
676 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
677 Likewise.
678 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
679 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
680 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
681 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
682 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
683 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
684
1b6adf88
AM
6852013-10-04 Alan Modra <amodra@gmail.com>
686
687 * stdio-common/printf_size.c (__printf_size): Don't use
688 union ieee854_long_double in fpnum union.
689 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
690 signbit macro to retrieve sign from long double.
691 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
692 retrieve sign from long double.
693 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
694 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
695 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
696 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
697 * math/test-misc.c (main): Don't use union ieee854_long_double.
698
4cf69995
AM
6992013-10-04 Alan Modra <amodra@gmail.com>
700
701 [BZ #15680]
702 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
703 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
704 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
705 calculation. Remove unnecessary test for denormal exponent.
706 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
707 Correct handling of denormals. Avoid undefined shift behaviour.
708 Correct normalisation of low mantissa when low double is denormal.
709 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
710 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
711 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
712 Correct normalisation of low mantissa. Test for overflow of high
713 mantissa and normalise.
714 (ldbl_nearbyint): Use more readable constant for two52.
715 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
716 (__mpn_construct_long_double): Fix test for overflow of high
717 mantissa and correct normalisation. Avoid undefined shift.
718
9605ca6c
AM
7192013-10-04 Alan Modra <amodra@gmail.com>
720
721 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
722 (union ibm_extended_long_double): Define as an array of ieee754_double.
723 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
724 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
725 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
726 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
727 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
728 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
729 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
730 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
731 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
732 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
733 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
734
975569d0
JM
7352013-10-03 Joseph Myers <joseph@codesourcery.com>
736
d3d23756
JM
737 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
738 page size instead of calling getpagesize.
739
975569d0
JM
740 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
741 (LOCFILE_ALIGN_MASK): Likewise.
742 (LOCFILE_ALIGN_UP): Likewise.
743 (LOCFILE_ALIGNED_P): Likewise.
744 * locale/programs/ld-collate.c (collate_output): Use the new
745 macros instead of __alignof__ (int32_t).
746 * locale/weight.h (findidx): Likewise.
747
b1fe1f2b
OB
7482013-10-03 Ondřej Bílka <neleai@seznam.cz>
749
750 [BZ #431]
751 * manual/string.texi: Fix strncat and wcsncat.
752
5f855e35
BM
7532013-10-03 Brooks Moses <bmoses@google.com>
754
755 [BZ #15915]
756 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
757 * Makerules: ...here, and adjust associated comments.
758
3cef6009
WN
7592013-10-02 Will Newton <will.newton@linaro.org>
760
761 * malloc/Makefile: Add tst-pvalloc.
762 * malloc/tst-pvalloc.c: New file.
763
7815420b
WN
7642013-10-02 Will Newton <will.newton@linaro.org>
765
766 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
767 improve test coverage.
768
4868b204
WN
7692013-10-02 Will Newton <will.newton@linaro.org>
770
771 * malloc/Makefile: Add tst-posix_memalign.
772 * malloc/tst-posix_memalign.c: New file.
773
29c793b3
EB
7742013-10-01 Eric Blake <eblake@redhat.com>
775
776 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
777 Use __THROWNL rather than __THROW on static functions.
778
fd967522
PM
7792013-09-30 Petr Machata <pmachata@redhat.com>
780
781 * elf/elf.h (R_AARCH64_ABS16): New macro.
782 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
783 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
784 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
785 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
786 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
787 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
788 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
789 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
790 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
791 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
792 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
793 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
794 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
795 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
796 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
797 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
798 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
799 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
800 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
801 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
802 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
803 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
804 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
805 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
806 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
807 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
808 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
809 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
810 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
811 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
812 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
813 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
814 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
815 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
816 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
817 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
818 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
819 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
820 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
821 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
822 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
823 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
824 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
825 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
826 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
827 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
828 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
829 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
830 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
831 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
832 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
833 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
834 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
835 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
836 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
837 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
838 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
839 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
840 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
841 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
842 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
843 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
844 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
845 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
846 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
847 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
848 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
849 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
850 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
851 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
852 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
853 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
854 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
855 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
856 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
857 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
858 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
859 (R_AARCH64_TLSDESC_LDR): Likewise.
860 (R_AARCH64_TLSDESC_ADD): Likewise.
861 (R_AARCH64_TLSDESC_CALL): Likewise.
862
b2179107
AS
8632013-09-30 Andreas Schwab <schwab@suse.de>
864
865 [BZ #15048]
866 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
867 the nss database lookup.
868 * nscd/initgrcache.c (addinitgroupsX): Likewise.
869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
870
47f28d0a
MF
8712013-09-28 Mike Frysinger <vapier@gentoo.org>
872
873 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
874
8752013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
876
877 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
878 ${Bash-specific parameter/pattern/string} parameter expansion.
879 * sysdeps/unix/make-syscalls.sh: Likewise.
880
f4518a17
KK
8812013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
882
883 * sysdeps/sh/stackguard-macros.h: New file.
884
dc1a95c7
OB
8852013-09-26 Ondřej Bílka <neleai@seznam.cz>
886
887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
888 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
889 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
890 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
891 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
892 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
893
5ebbff8f
AZ
8942013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
895
896 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
897 Fix thread ID register.
898
4fd2cf9f
JM
8992013-09-25 Joseph Myers <joseph@codesourcery.com>
900
901 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
902 [POSIX || UNIX98]: Require rather than permitting all symbols from
903 <time.h>.
904 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
905 element of struct sched_param.
906 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
907 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
908 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
909 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
910 constant.
911
12c22bc4
OL
9122013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
913
914 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
915 argument calculation.
916
a03d8ea7
JM
9172013-09-24 Joseph Myers <joseph@codesourcery.com>
918
919 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
920 Expect macro.
921 [POSIX] (pthread_attr_t): Do not require type.
922 [POSIX] (pthread_cond_t): Likewise.
923 [POSIX] (pthread_condattr_t): Likewise.
924 [POSIX] (pthread_key_t): Likewise.
925 [POSIX] (pthread_mutex_t): Likewise.
926 [POSIX] (pthread_mutexattr_t): Likewise.
927 [POSIX] (pthread_once_t): Likewise.
928 [POSIX] (pthread_t): Likewise.
929 [POSIX-based standards] (pthread_atfork): Expect function.
930
6055173a
JM
9312013-09-24 Joseph Myers <joseph@codesourcery.com>
932 Richard Sandiford <richard@codesourcery.com>
933
934 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
935 (swap_endianness_p): New extern variable.
936 (set_big_endian): New inline function.
937 (maybe_swap_uint32): Likewise.
938 (maybe_swap_uint32_array): Likewise.
939 (maybe_swap_uint32_obstack): Likewise.
940 * locale/programs/locfile.c: Include <stdbool.h>.
941 (swap_endianness_p): New variable.
942 (add_locale_uint32): Call maybe_swap_uint32.
943 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
944 (write_locale_data): Call maybe_swap_uint32_array.
945 * locale/programs/ld-collate.c (obstack_int32_grow): Call
946 maybe_swap_uint32.
947 (obstack_int32_grow_fast): Likewise.
948 (output_weightwc): Call maybe_swap_uint32_obstack.
949 (collate_output): Likewise.
950 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
951 (OPT_LITTLE_ENDIAN): Likewise.
952 (options): Add --little-endian and --big-endian options.
953 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
954 * locale/programs/locarchive.c: Include "locfile.h".
955 (GET): New macro.
956 (SET): Likewise.
957 (INC): Likewise.
958 (create_archive): Use the new macros to access fields of
959 structures directly mapped from or written to locale archives.
960 (oldlocrecentcmp): Likewise.
961 (enlarge_archive): Likewise.
962 (insert_name): Likewise.
963 (add_alias): Likewise.
964 (add_locale): Likewise.
965 (delete_locales_from_archive): Likewise.
966 (show_archive_content): Likewise.
967 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
968 locale data.
969
39bf0bb4
RM
9702013-09-24 Roland McGrath <roland@hack.frob.com>
971
972 * manual/freemanuals.texi: Updated from (newly) canonical copy at
973 http://www.gnu.org/doc/freemanuals.texi.
974 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
975
f02eed10
WN
9762013-09-24 Will Newton <will.newton@linaro.org>
977
978 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
979 macro.
980
a3a6c312
JM
9812013-09-23 Joseph Myers <joseph@codesourcery.com>
982
983 * locale/hashval.h (compute_hashval): Interpret bytes of key as
984 unsigned char.
985
107375ac
MR
9862013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
987
988 * manual/threads.texi (POSIX Threads): Fix a typo.
989
141f3a77
SP
9902013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
991
303e567a
SP
992 [BZ #14547]
993 * string/tst-strcoll-overflow.c: New test case.
994 * string/Makefile (xtests): Add tst-strcoll-overflow.
995 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
996 cache if string sizes may cause integer overflow.
997
141f3a77
SP
998 [BZ #14547]
999 * string/strcoll_l.c (coll_seq): New members rule, idx,
1000 save_idx and back_us.
1001 (get_next_seq_nocache): New function.
1002 (do_compare_nocache): New function.
1003 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1004 when malloc fails.
1005
c61b4d41
CD
10062013-09-23 Carlos O'Donell <carlos@redhat.com>
1007
0b1f8e35
CD
1008 [BZ #15754]
1009 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1010 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1011 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1012
c61b4d41
CD
1013 [BZ #15754]
1014 * elf/Makefile (tests): Add tst-ptrguard1.
1015 (tests-static): Add tst-ptrguard1-static.
1016 (tst-ptrguard1-ARGS): Define.
1017 (tst-ptrguard1-static-ARGS): Define.
1018 * elf/tst-ptrguard1.c: New file.
1019 * elf/tst-ptrguard1-static.c: New file.
1020 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1021 * sysdeps/i386/stackguard-macros.h: Likewise.
1022 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1023 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1024 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1025 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1026 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1027 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1028
10292013-09-23 Hector Marco <hecmargi@upv.es>
1030 Ismael Ripoll <iripoll@disca.upv.es>
1031 Carlos O'Donell <carlos@redhat.com>
1032
1033 [BZ #15754]
1034 * sysdeps/generic/stackguard-macros.h: Define
1035 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1036 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1037 Define __pointer_chk_guard_local.
1038 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1039 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1040
f5f4e7b4
VV
10412013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1042
1043 [BZ #15859]
1044 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1045
5bb43a43
AS
10462013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1047
1048 * include/string.h (__ffs): Declare as hidden.
1049 * string/ffs.c (__ffs): Define as hidden.
1050 * sysdeps/i386/ffs.c (__ffs): Likewise.
1051 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1052 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1053 * sysdeps/s390/ffs.c (__ffs): Likewise.
1054 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1055
3ea5be54
AO
10562013-09-20 Alexandre Oliva <aoliva@redhat.com>
1057
ffb89e53
AO
1058 * NEWS: Mention malloc probes.
1059
322dea08
AO
1060 * malloc/arena.c (new_heap): New memory_heap_new probe.
1061 (grow_heap): New memory_heap_more probe.
1062 (shrink_heap): New memory_heap_less probe.
1063 (heap_trim): New memory_heap_free probe.
1064 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1065 (systrim): New memory_sbrk_less probe.
1066 * manual/probes.texi: Document them.
1067
655673f3
AO
1068 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1069 * manual/probes.texi: Document it.
1070
35fed6f1
AO
1071 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1072 (__libc_realloc): Add memory_realloc_retry probe.
1073 (__libc_memalign): Add memory_memalign_retry probe.
1074 (__libc_valloc): Add memory_valloc_retry probe.
1075 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1076 (__libc_calloc): Add memory_calloc_retry probe.
1077 * manual/probes.texi: Document them.
1078
6999d38c
AO
1079 * malloc/arena.c (get_free_list): Add probe
1080 memory_arena_reuse_free_list.
1081 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1082 and memory_arena_reuse.
1083 (arena_get2) [!PER_THREAD]: Likewise.
1084 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1085 memory_arena_reuse_realloc.
1086 * manual/probes.texi: Document them.
1087
0653427f
AO
1088 * malloc/malloc.c (__libc_free): Add
1089 memory_mallopt_free_dyn_thresholds probe.
1090 (__libc_mallopt): Add multiple memory_mallopt probes.
1091 * manual/probes.texi: Document them.
1092
3ea5be54
AO
1093 * malloc/malloc.c: Include stap-probe.h.
1094 (__libc_mallopt): Add memory_mallopt probe.
1095 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1096 * manual/probes.texi: New.
1097 * manual/Makefile (chapters): Add probes.
1098 * manual/threads.texi: Set next node.
1099
e35696c3 11002013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 1101
e35696c3
CL
1102 [BZ #15963, #13985]
1103 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1104 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1105 Add `Chinese' to `nan' entry name.
1106
4aafb73c
SP
11072013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1108
1109 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1110 (POLYNOMIAL): Likewise.
1111 (TAYLOR_SINCOS): Likewise.
1112 (TAYLOR_SLOW): Likewise.
1113 (__sin): Use TAYLOR_SINCOS.
1114 (__cos): Likewise.
1115 (slow): Use TAYLOR_SLOW.
1116 (sloww): Likewise.
1117 (bsloww): Likewise.
1118 (csloww): Likewise.
1119
d84f25c7
LD
11202013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1121
1122 * stdlib/strtod_l.c: Fix buffer overrun.
1123
5eea0404
SP
11242013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1125
7849ff93
SP
1126 * benchtests/Makefile (bench): Add sincos.
1127 * benchtests/bench-sincos.c: New file.
1128
cfa3c886
SP
1129 * math/libm-test.inc (cos_test_data): New test inputs.
1130 (sin_test_data): Likewise.
1131
b348e1e3
SP
1132 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1133 macro.
1134 (__sin): Use it.
1135 (__cos): Likewise.
1136 (slow1): Likewise.
1137 (slow2): Likewise.
1138 (sloww1): Likewise.
1139 (sloww2): Likewise.
1140 (bsloww1): Likewise.
1141 (bsloww2): Likewise.
1142 (cslow2): Likewise.
1143 (csloww1): Likewise.
1144 (csloww2): Likewise.
1145
6cce25f8
SP
1146 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1147 function.
1148 (__sin): Use it.
1149 (__cos): Likewise.
1150
5eea0404
SP
1151 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1152 gotos.
1153 (__cos): Likewise.
1154
9c21573c
MR
11552013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1156
1157 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1158 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1159 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1160 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1161 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1162 * elf/cache.c (print_entry): Handle the new cache flags.
1163
24d22e65
JM
11642013-09-18 Joseph Myers <joseph@codesourcery.com>
1165 Aldy Hernandez <aldyh@redhat.com>
1166
1167 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1168 Change condition to [_SOFT_FLOAT].
1169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1180 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1181 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1184 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1185 declaration.
1186
d13ef066
JM
11872013-09-18 Joseph Myers <joseph@codesourcery.com>
1188
2e071de0
JM
1189 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1190 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1191 (__longjmp): Use LOAD_GP to load saved GPRs.
1192 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1193 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1194 (__sigsetjmp): Use SAVE_GP to save GPRs.
1195
d13ef066
JM
1196 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1197 Do not append -msoft-float.
1198 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1199
97a0650b
SP
12002013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1201
1202 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1203
11ca09e9
JM
12042013-09-17 Joseph Myers <joseph@codesourcery.com>
1205
1206 [BZ #15966]
1207 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1208 (_FPU_GETCW): Use initial "__" on variable and field names but not
1209 on macro parameter name.
1210 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1211 parentheses around reference to macro parameter.
1212
08ffcf34
RS
12132013-09-13 Richard Sandiford <richard@codesourcery.com>
1214
1215 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1216 prototype.
1217 (ctype_startup): Use uint32_t in cast and sizeof for
1218 ctype->charnames.
1219
ae7080d3
JL
12202013-09-11 Jia Liu <proljc@gmail.com>
1221
1222 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1223 __daddr_t_defined.
1224 [__FreeBSD__]: Likewise.
1225
5905e7b3
OB
12262013-09-11 Ondřej Bílka <neleai@seznam.cz>
1227
1228 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1229 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1230 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1231 (strchr): Remove __strchr_sse42 ifunc selection.
1232 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1233 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1234
b987c776
WN
12352013-09-11 Will Newton <will.newton@linaro.org>
1236
1237 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1238 parameter to RES. Remove hardcoded 1000 value.
1239 * benchtests/bench-skeleton.c (main): Pass RES parameter
1240 to TIMING_INIT and multiply result by 1000.
1241
ddf985af
AZ
12422013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1243
1244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1245
ffdd3181
AS
12462013-09-11 Andreas Schwab <schwab@suse.de>
1247
1248 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1249 if not defined.
1250 (O_TMPFILE) [__USE_GNU]: Define.
1251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1252 Define.
1253
b73ed247
WN
12542013-09-11 Will Newton <will.newton@linaro.org>
1255
1256 [BZ #15857]
1257 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1258 does not overflow.
1259
55e17aad
WN
12602013-09-11 Will Newton <will.newton@linaro.org>
1261
1262 [BZ #15856]
1263 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1264 does not overflow.
1265
1159a193
WN
12662013-09-11 Will Newton <will.newton@linaro.org>
1267
1268 [BZ #15855]
1269 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1270 does not overflow.
1271
5905e7b3 12722013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
1273
1274 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1275 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1276 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1277 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1278 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1279
cdfc721b
AM
12802013-09-10 Allan McRae <allan@archlinux.org>
1281
aa04af00
AM
1282 [BZ #15748]
1283 * manual/arith.texi (Parsing of Floats): Clarify
1284 cross-reference.
1285
cdfc721b
AM
1286 [BZ #15849]
1287 * manual/install.texi (Running make install): Mention
1288 --enable-pt-chown.
1289 * INSTALL: Regenerated.
1290
95e7cf29
MR
12912013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1292
1293 * csu/init-first.c (_init): Remove the !SHARED condition around
1294 FPU control word initialization.
1295 * elf/dl-support.c (_dl_fpu_control): New variable.
1296 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1297 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1298 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1299 * math/test-fpucw-static.c: New file.
1300 * math/test-fpucw-ieee.c: New file.
1301 * math/test-fpucw-ieee-static.c: New file.
1302 * math/Makefile (tests): Add `test-fpucw-ieee' and
1303 `$(tests-static)'.
1304 (tests-static): New variable.
1305 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1306 dependency to...
1307 [($(build-shared),yes)]
1308 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1309 ... this.
1310 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1311 New dependency.
1312
83e43bf0
AM
13132013-09-09 Allan McRae <allan@archlinux.org>
1314
a9f5ce09
AM
1315 [BZ #15939]
1316 * manual/string.texi (Collation Functions): Fix typo in
1317 strcoll example.
1318 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1319
34829bc2
AM
1320 [BZ #15893]
1321 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1322
3932737d
AM
1323 [BZ #15892]
1324 * libio/memstream.c (open_memstream): Fix memory leak.
1325 * libio/wmemstream.c (open_wmemstream): Likewise.
1326
83e43bf0
AM
1327 [BZ #15895]
1328 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1329
0c66b8e9
WN
13302013-09-09 Will Newton <will.newton@linaro.org>
1331
1332 * malloc/Makefile: Add tst-realloc to tests.
1333 * malloc/tst-realloc.c: New file.
1334
f6b00fd1
AM
13352013-09-09 Allan McRae <allan@archlinux.org>
1336
1337 [BZ #15844]
1338 * COPYING: Update from GNU website to fix FSF address.
1339 * COPYING.LIB: Likewise.
1340
eec55e16
DM
13412013-09-06 David S. Miller <davem@davemloft.net>
1342
1343 * po/zh_TW.po: Update Chinese (traditional) translation from
1344 translation project.
1345
1ecbb381
RS
13462013-09-06 Richard Sandiford <richard@codesourcery.com>
1347 Joseph Myers <joseph@codesourcery.com>
1348
1349 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1350 "localeinfo.h".
1351 (obstack_chunk_alloc): New macro.
1352 (obstack_chunk_free): Likewise.
1353 (record_offset): New function.
1354 (init_locale_data): Likewise.
1355 (align_locale_data): Likewise.
1356 (add_locale_empty): Likewise.
1357 (add_locale_raw_data): Likewise.
1358 (add_locale_raw_obstack): Likewise.
1359 (add_locale_string): Likewise.
1360 (add_locale_wstring): Likewise.
1361 (add_locale_uint32): Likewise.
1362 (add_locale_uint32_array): Likewise.
1363 (add_locale_char): Likewise.
1364 (start_locale_structure): Likewise.
1365 (end_locale_structure): Likewise.
1366 (start_locale_prelude): Likewise.
1367 (end_locale_prelude): Likewise.
1368 (write_locale_data): Take locale_file structure rather than an
1369 iovec.
1370 * locale/programs/locfile.h: Include "obstack.h".
1371 (struct locale_file): Change to store locale file contents instead
1372 of header.
1373 (init_locale_data): New prototype.
1374 (align_locale_data): Likewise.
1375 (add_locale_empty): Likewise.
1376 (add_locale_raw_data): Likewise.
1377 (add_locale_raw_obstack): Likewise.
1378 (add_locale_string): Likewise.
1379 (add_locale_wstring): Likewise.
1380 (add_locale_uint32): Likewise.
1381 (add_locale_uint32_array): Likewise.
1382 (add_locale_char): Likewise.
1383 (start_locale_structure): Likewise.
1384 (end_locale_structure): Likewise.
1385 (start_locale_prelude): Likewise.
1386 (end_locale_prelude): Likewise.
1387 (write_locale_data): Update prototype.
1388 * locale/programs/3level.h (struct TABLE): Remove result field.
1389 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1390 Use new locale_file interface.
1391 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1392 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1393 * locale/programs/ld-address.c (address_output): Use new
1394 locale_file interface.
1395 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1396 NO_ADD_LOCALE.
1397 (collate_finish): Don't call collseq_table_finalize.
1398 (collate_output): Use new locale_file interface.
1399 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1400 in file.
1401 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1402 (TABLE): Move defines earlier in file.
1403 (ELEMENT): Likewise.
1404 (DEFAULT): Likewise.
1405 (wctrans_table_add): Move macro and inline function earlier in
1406 file.
1407 (struct wctype_table): Move type earlier in file.
1408 (add_locale_wctype_table): New static prototype.
1409 (struct locale_ctype_t): Use logical types instead of struct iovec
1410 pointers for members.
1411 (ctype_output): Use new locale_file interface.
1412 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1413 new locale_file interface.
1414 (allocate_arrays): Update for use of new locale_file interface.
1415 * locale/programs/ld-identification.c (identification_output): Use
1416 new locale_file interface.
1417 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1418 * locale/programs/ld-messages.c (messages_output): Likewise.
1419 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1420 * locale/programs/ld-name.c (name_output): Likewise.
1421 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1422 * locale/programs/ld-paper.c (paper_output): Likewise.
1423 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1424 * locale/programs/ld-time.c (time_output): Likewise.
1425
e029e2e5
AZ
14262013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1427
1428 * benchtests/Makefile: Add memrchr benchmark.
1429 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1430 benchmark as memrchr.
1431 * benchtests/bench-memrchr-ifunc.c: New file.
1432 * benchtests/bench-memrchr.c: New file.
1433
bbf6e8e4
WN
14342013-09-06 Will Newton <will.newton@linaro.org>
1435
1436 * benchtests/Makefile (string-bench): Add memcpy.
1437
6c82a2f8
CD
14382013-09-05 Carlos O'Donell <carlos@redhat.com>
1439 Cong Wang <amwang@redhat.com>
1440
1441 * sysdeps/unix/sysv/linux/bits/in.h
1442 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1443 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1444 before __USE_KERNEL_IPV6_DEFS uses.
1445 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1446 IPPROTO_BEETPH.
1447 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1448 sockaddr_in6, or ipv6_mreq.
1449
5430fc65
AZ
14502013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1451
1452 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1453 memory access for final bytes in some large inputs.
1454 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1455
4660856c
AZ
14562013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1457
1458 * string/test-memrchr.c: New file.
1459 * string/test-memrchr-ifunc.c: New file.
1460 * string/Makefile: Add new memrchr testcase.
1461
bb8ea713
MF
14622013-09-05 Mike Frysinger <vapier@gentoo.org>
1463
1464 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1465 fanotify_init returns EPERM.
1466
b92a20b5
JM
14672013-09-04 Joseph Myers <joseph@codesourcery.com>
1468
1469 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1470 errors.
1471 (top level): Treat second token from macro or constant entries for
1472 allowed headers as allowed.
1473 * include/complex.h: Condition internal declarations on
1474 [!_ISOMAC].
1475 * include/fenv.h: Condition include of <stdbool.h> and internal
1476 declarations on [!_ISOMAC].
7447ccd9
CL
1477
14782013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1479
3e181dda 1480 [BZ #15923]
7447ccd9
CL
1481 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1482
3f2e46a4
JM
14832013-09-04 Joseph Myers <joseph@codesourcery.com>
1484
1485 * configure.in (--enable-versioning): Remove configure option.
1486 (libc_cv_asm_symver_directive): Remove configure test.
1487 (libc_cv_ld_version_script_option): Likewise.
1488 (VERSIONING): Remove variable and AC_SUBST.
1489 (DO_VERSIONING): Remove AC_DEFINE.
1490 * configure: Regenerated.
1491 * config.h.in (DO_VERSIONING): Remove macro.
1492 * Makerules [$(versioning) = yes]: Change conditionals to
1493 [$(build-shared) = yes].
1494 * config.make.in (versioning): Remove variable.
1495 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1496 [$(build-shared) = yes].
1497 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1498 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1499 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1500 [$(build-shared) = yes].
1501 * extra-lib.mk [$(versioning) = yes]: Likewise.
1502 * hurd/Makefile [$(versioning) = yes]: Likewise.
1503 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1504 [SHARED].
1505 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1506 [SHARED].
1507 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1508 [SHARED && !NO_HIDDEN].
1509 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1510 [SHARED].
1511 [SHARED && DO_VERSIONING]: Likewise..
1512 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1513 [$(build-shared) = yes].
1514 * manual/install.texi (--disable-versioning): Remove
1515 documentation.
1516 * INSTALL: Regenerated.
1517 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1518 to [SHARED].
1519 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1520 [$(build-shared) = yes].
1521 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1522 * sysdeps/i386/i686/multiarch/strstr-c.c
1523 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1524 [SHARED && !NO_HIDDEN].
1525 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1526 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1527 * sysdeps/powerpc/powerpc32/dl-machine.c
1528 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1529 * sysdeps/powerpc/powerpc32/sysdep.h
1530 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1531 to [SHARED && PIC && !NO_HIDDEN].
1532 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1533 conditional to [SHARED].
1534
44558701
WN
15352013-09-04 Will Newton <will.newton@linaro.org>
1536
1537 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1538 * benchtests/bench-string.h: Include bench-timing.h instead
1539 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1540 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1541 call to HP_TIMING_DIFF_INIT.
1542 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1543 instead of hp-timing.h macros.
1544 * benchtests/bench-memchr.c: Likewise.
1545 * benchtests/bench-memcmp.c: Likewise.
1546 * benchtests/bench-memcpy.c: Likewise.
1547 * benchtests/bench-memmem.c: Likewise.
1548 * benchtests/bench-memmove.c: Likewise.
1549 * benchtests/bench-memset.c: Likewise.
1550 * benchtests/bench-rawmemchr.c: Likewise.
1551 * benchtests/bench-strcasecmp.c: Likewise.
1552 * benchtests/bench-strcasestr.c: Likewise.
1553 * benchtests/bench-strcat.c: Likewise.
1554 * benchtests/bench-strchr.c: Likewise.
1555 * benchtests/bench-strcmp.c: Likewise.
1556 * benchtests/bench-strcpy.c: Likewise.
1557 * benchtests/bench-strcpy_chk.c: Likewise.
1558 * benchtests/bench-strlen.c: Likewise.
1559 * benchtests/bench-strncasecmp.c: Likewise.
1560 * benchtests/bench-strncat.c: Likewise.
1561 * benchtests/bench-strncmp.c: Likewise.
1562 * benchtests/bench-strncpy.c: Likewise.
1563 * benchtests/bench-strnlen.c: Likewise.
1564 * benchtests/bench-strpbrk.c: Likewise.
1565 * benchtests/bench-strrchr.c: Likewise.
1566 * benchtests/bench-strspn.c: Likewise.
1567 * benchtests/bench-strstr.c: Likewise.
1568
cae16d66
WN
15692013-09-04 Will Newton <will.newton@linaro.org>
1570
1571 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1572
ffa3cd7f
JM
15732013-09-03 Joseph Myers <joseph@codesourcery.com>
1574
1575 [BZ #15427]
1576 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1577 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1578 * math/libm-test.inc (lgamma_test_data): Add more tests.
1579 * sysdeps/i386/fpu/libm-test-ulps: Update.
1580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1581
8f02859f
OB
15822013-09-03 Ondřej Bílka <neleai@seznam.cz>
1583
1584 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1585 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1586 Add ifunc.
1587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1588 Add strcmp-sse2-unaligned
1589 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1590
18d43716
MF
15912013-09-02 Mike Frysinger <vapier@gentoo.org>
1592
1593 * Versions.def (libc): Add GLIBC_2.19.
1594
ac444012
MF
15952013-09-02 Mike Frysinger <vapier@gentoo.org>
1596
1597 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1598 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1599
b7835e32
JM
16002013-09-02 Joseph Myers <joseph@codesourcery.com>
1601
1602 [BZ #14155]
1603 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1604 intermediate calculations in recurrence.
1605 (__ieee754_ynf): Likewise.
1606 * math/libm-test.inc (jn_test_data): Do not allow spurious
1607 underflow exception. Add more tests.
1608 (yn_test_data): Add more tests.
1609 * sysdeps/i386/fpu/libm-test-ulps: Update.
1610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1611
8220f4f0
OB
16122013-09-02 Ondřej Bílka <neleai@seznam.cz>
1613
1614 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1615
f24a6d08
OB
16162013-08-30 Ondřej Bílka <neleai@seznam.cz>
1617
1618 * csu/init-first.c: Fix then/than typos.
1619 * locale/programs/ld-collate.c: Likewise.
1620 * locale/programs/linereader.h: Likewise.
1621 * manual/charset.texi: Likewise.
1622 * manual/filesys.texi: Likewise.
1623 * manual/stdio.texi: Likewise.
1624 * manual/string.texi: Likewise.
1625 * stdlib/fmtmsg.c: Likewise.
1626 * sysdeps/i386/stpncpy.S: Likewise.
1627 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1628 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1629 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1630 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1631
382466e0
OB
16322013-08-30 Ondřej Bílka <neleai@seznam.cz>
1633
1634 * elf/dl-open.c: Fix typos.
1635 * iconvdata/gbbig5.c: Likewise.
1636 * iconvdata/iso-2022-jp.c: Likewise.
1637 * iconv/gconv_int.h: Likewise.
1638 * iconv/loop.c: Likewise.
1639 * nis/rpcsvc/nis.h: Likewise.
1640 * resolv/ns_name.c: Likewise.
1641 * stdio-common/vfscanf.c: Likewise.
1642 * streams/stropts.h: Likewise.
1643 * sunrpc/rpc_thread.c: Likewise.
1644 * sysdeps/i386/strpbrk.S: Likewise.
1645 * sysdeps/ieee754/k_standard.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1648 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1649 * sysdeps/mach/hurd/profil.c: Likewise.
1650 * sysdeps/s390/dl-procinfo.h: Likewise.
1651 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1652 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1653 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1654 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1655 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1656
0186c6e9
OB
16572013-08-30 Ondřej Bílka <neleai@seznam.cz>
1658
1659 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1660 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1661
d4e16af1
OB
16622013-08-29 Ondřej Bílka <neleai@seznam.cz>
1663
1664 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1665 aix specific files.
1666 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1667 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1668 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1669 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1670 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1671 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1672 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1673 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1674
88335980
TS
16752013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1676 Roland McGrath <roland@hack.frob.com>
1677
1678 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1679 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1680
ed479b02
ST
16812013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1682
1683 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1684 __executable_start symbol instead of _start.
1685
f1cc4c86
TS
16862013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1687
d821f07c
TS
1688 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1689 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1690 Move macros to...
1691 * sysdeps/gnu/ldsodefs.h: ... this new file.
1692
c54290cf
TS
1693 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1694 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1695 instead of ELFOSABI_LINUX.
1696
0007fc9b 1697 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1698 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1699 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1700 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1701 Likewise.
1702 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1703 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1704 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1705 Likewise.
1706 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1707 (ibm_extended_long_double): Add ieee_nan member.
1708 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1709 (do_test): New function.
1710
f1cc4c86
TS
1711 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1712 TEST_TRUNC.
1713 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1714 functions, renamed from truncdfsf_test, trunctfsf_test,
1715 trunctfdf_test.
1716 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1717 functions.
1718 (do_test): Run all these.
1719
6f65e668
OB
17202013-08-29 Ondřej Bílka <neleai@seznam.cz>
1721
1722 * argp/argp-help.c: Fix typos.
1723 * argp/argp-parse.c: Likewise.
1724 * debug/backtracesyms.c: Likewise.
1725 * elf/elf.h: Likewise.
1726 * malloc/malloc.c: Likewise.
1727 * nis/nis_print.c: Likewise.
1728 * resolv/res_comp.c: Likewise.
1729 * stdlib/stdlib.h: Likewise.
1730 * sunrpc/clnt_tcp.c: Likewise.
1731 * sunrpc/clnt_udp.c: Likewise.
1732 * sunrpc/clnt_unix.c: Likewise.
1733 * sysdeps/unix/bsd/ptsname.c: Likewise.
1734 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1735 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1737 Likewise.
1738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1739 Likewise.
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1741 Likewise.
6f65e668
OB
1742 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1743
3a309239
SP
17442013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1745
1746 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1748
3b813b29
MF
17492013-08-27 Mike Frysinger <vapier@gentoo.org>
1750
1751 [BZ #15897]
1752 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1753 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1754 ($(objpfx)bug-dl-leaf): New rule.
1755 ($(objpfx)bug-dl-leaf.so): Likewise.
1756 ($(objpfx)bug-dl-leaf.out): Likewise.
1757 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1758 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1759 * dlfcn/bug-dl-leaf.c: New test.
1760 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1761 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1762 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1763 (dlclose): Likewise.
1764 (dlmopen): Likewise.
1765
8cc3269f
RM
17662013-08-27 Roland McGrath <roland@hack.frob.com>
1767
7f9d0034
RM
1768 * include/netdb.h [!_ISOMAC]:
1769 Don't include <tls.h>.
1770 (h_errno, __libc_h_errno): Move declaration and macros out of
1771 [_LIBC_REENTRANT].
1772
fb431262
RM
1773 * include/resolv.h [_RESOLV_H_]:
1774 Don't include <tls.h>.
1775 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1776 * resolv/res_libc.c: Don't include <tls.h>.
1777 (_res): Use __attribute__ ((nocommon)) in place of
1778 __attribute__ ((section (".bss"))).
1779
bd81123a
RM
1780 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1781 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1782
c4e42566
RM
1783 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1784
f890a59b
RM
1785 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1786 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1787
1788 * resolv/res_mkquery.c: Include <sys/time.h>.
1789
5d1f0a09
RM
1790 * inet/ifreq.c: Moved to ...
1791 * sysdeps/unix/ifreq.c: ... here.
1792 * inet/ifreq.c: New file, true stub version.
1793
6fcf28b3
RM
1794 * socket/sa_len.c: New file.
1795 * socket/Makefile (aux): Add it.
1796 * sysdeps/unix/sysv/linux/Makefile
1797 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1798 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1799 and #include <socket/sa_len.c>.
1800 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1801 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1802
e041fb8b
RM
1803 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1804 * bits/socket.h: ... here.
1805
8cc3269f
RM
1806 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1807 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1808 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1809
5d228a43
AS
18102013-08-27 Andreas Schwab <schwab@suse.de>
1811
45b8accc
AS
1812 [BZ #15736]
1813 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1814 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1815 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1816 * string/test-strcasecmp.c (test_main): Run tests in several
1817 locales.
1818 * string/test-strncasecmp.c (test_main): Likewise.
1819
5d228a43
AS
1820 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1821 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1822 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1823 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1824 (__strncasecmp_ssse3) [PIC]: Likewise.
1825
59d112a4
RM
18262013-08-26 Roland McGrath <roland@hack.frob.com>
1827
53234cc3
RM
1828 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1829
59d112a4
RM
1830 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1831 instead of explicitly declaring xdecrypt.
1832 * nis/nss_nis/nis-publickey.c: Likewise.
1833
595aba70
SP
18342013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1835
1836 [BZ #15890]
1837 * nscd/aicache.c: Include res_hconf.h.
1838 (addhstaiX): Initialize res_hconf.
1839
ffabd393
AS
18402013-08-26 Andreas Schwab <schwab@suse.de>
1841
1842 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1843 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1844
e0a69f5c
SP
18452013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1846
1847 * nscd/aicache.c (addhstaiX): Fix indentation.
1848
8c12f01d
MF
18492013-08-25 Mike Frysinger <vapier@gentoo.org>
1850
1851 * configure.ac: Quote $build_pt_chown test.
1852 * configure: Regenerated.
1853
8fe89494
JM
18542013-08-23 Joseph Myers <joseph@codesourcery.com>
1855
1856 [BZ #15532]
1857 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1858 * math/s_cexpf.c (__cexpf): Likewise.
1859 * math/s_cexpl.c (__cexpl): Likewise.
1860 * math/libm-test.inc (cexp_test_data): Correct expected return
1861 value for NaN + i0. Add another test.
1862
75b181d6
DM
18632013-08-22 David S. Miller <davem@davemloft.net>
1864
1865 * po/ca.po: Update Catalan translation from translation project.
936241e4 1866 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1867
acd06bb1
JM
18682013-08-21 Joseph Myers <joseph@codesourcery.com>
1869
1870 [BZ #15797]
1871 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1872 is infinite, not alongside NaN test.
1873 * math/s_fdimf.c (__fdimf): Likewise.
1874 * math/s_fdiml.c (__fdiml): Likewise.
1875 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1876 errno is unchanged.
1877
c0c3f78a
OB
18782013-08-21 Ondřej Bílka <neleai@seznam.cz>
1879
1880 * argp/argp-help.c: Fix typos.
1881 * crypt/speeds.c: Likewise.
1882 * csu/check_fds.c: Likewise.
1883 * elf/dl-load.c: Likewise.
1884 * elf/dl-open.c: Likewise.
1885 * elf/reldep3.c: Likewise.
1886 * elf/reldep.c: Likewise.
1887 * elf/sprof.c: Likewise.
1888 * iconv/iconv_charmap.c: Likewise.
1889 * iconv/skeleton.c: Likewise.
1890 * iconv/strtab.c: Likewise.
1891 * io/lockf64.c: Likewise.
1892 * libio/libioP.h: Likewise.
1893 * resolv/gai_notify.c: Likewise.
1894 * resolv/ns_name.c: Likewise.
1895 * resolv/ns_samedomain.c: Likewise.
1896 * resolv/res_send.c: Likewise.
1897 * stdlib/random.c: Likewise.
1898 * sunrpc/rpc/xdr.h: Likewise.
1899 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1900 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1901 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1902 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1903 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1904 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1905 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1906 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1907 * sysdeps/mach/hurd/check_fds.c: Likewise.
1908 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1909 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1910 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1911 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1912 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1913 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1914 * sysdeps/pthread/aio_notify.c: Likewise.
1915 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1916 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1917 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1918 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1919 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1920
46ed1038
LD
19212013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1922
1923 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1924 version if bit_Slow_SSE4_2 is set.
1925 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1926 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1927
d400dcac
AZ
19282013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1929
1930 [BZ #15867]
1931 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1932 trampoline stack frame information.
1933 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1934 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1935 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1936 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1937 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1938 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1939 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1940 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1941 sa_flags value.
1942 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1943 interrupting a syscall and set with option SA_SIGINFO.
1944
42c8fdd8
JM
19452013-08-20 Joseph Myers <joseph@codesourcery.com>
1946
c980f2f4
JM
1947 [BZ #15531]
1948 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1949 argument is infinite.
1950 * math/s_cprojf.c (__cprojf): Likewise.
1951 * math/s_cprojl.c (__cprojl): Likewise.
1952 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1953 * math/libm-test.inc (cproj_test_data): Add more tests.
1954
0716c4fc
JM
1955 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1956
42c8fdd8
JM
1957 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1958 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1959 size. Use __ffs to determine corresponding shift.
1960
b31469d0
JM
19612013-08-20 Joseph Myers <joseph@codesourcery.com>
1962 Roland McGrath <roland@hack.frob.com>
1963
1964 * Makefile (INSTALL): Remove trailing blank lines from output of
1965 makeinfo.
1966
4e39af6e
AK
19672013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1968
1969 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1970 Align 32 bit compat elf_greg to 8 bytes.
1971
f315524e
AA
19722013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1973
1974 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1975
1326ba1a
SP
19762013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1977
1978 * string/strcoll_l.c (coll_seq): New structure.
1979 (get_next_seq_cached): New function.
1980 (get_next_seq): New function.
1981 (do_compare): New function.
1982 (STRCOLL): Use GNU style definition. Simplify implementation
1983 by using get_next_seq, get_next_seq_cached and do_compare.
1984
91ce4085
FW
19852013-08-16 Florian Weimer <fweimer@redhat.com>
1986
1987 [BZ #14699]
1988 CVE-2013-4237
1989 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1990 member.
1991 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1992 member.
1993 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1994 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1995 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1996 conditional.
1997 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1998 GETDENTS_64BIT_ALIGNED.
1999 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2000 * manual/filesys.texi (Reading/Closing Directory): Document
2001 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2002 strongly.
2003 * manual/conf.texi (Limits for Files): Add portability note to
2004 NAME_MAX, PATH_MAX.
2005 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2006
ca0a6bc4
AS
20072013-08-13 Andreas Schwab <schwab@suse.de>
2008
2009 [BZ #15749]
2010 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2011 of fabs.
2012 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2013 LDBL_MAX_EXP >= 16384]: Add tests for it.
2014
6c1fd795
DM
20152013-08-12 David S. Miller <davem@davemloft.net>
2016
2017 * version.h (RELEASE): Set to "development".
2018 (VERSION): Set to "2.18.90".
2019 * NEWS: Add 2.19 section.
2020
31ad488d
DM
20212013-08-03 David S. Miller <davem@davemloft.net>
2022
2023 * po/ko.po: Update Korean translation from translation project.
2024
db24e684
DM
20252013-08-01 David S. Miller <davem@davemloft.net>
2026
2027 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2028 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2029 Bilka.
2030
f723285b
DM
20312013-07-30 David S. Miller <davem@davemloft.net>
2032
2033 * po/fr.po: Update French translation from translation project.
2034
3cbc52db
DM
20352013-07-28 David S. Miller <davem@davemloft.net>
2036
30bbc0cc
DM
2037 * po/cs.po: Update Czech translation from translation project.
2038
3cbc52db
DM
2039 * po/sv.po: Update Swedish translation from translation project.
2040
d492e6d0
DM
20412013-07-27 David S. Miller <davem@davemloft.net>
2042
f1a7f492
DM
2043 * po/eo.po: Update Esperanto translation from translation project.
2044
90e62a4a
DM
2045 * po/vi.po: Update Vietnamese translation from translation project.
2046
d492e6d0
DM
2047 * po/de.po: Update German translation from translation project.
2048
d4baa62d
DM
20492013-07-26 David S. Miller <davem@davemloft.net>
2050
641aa7b4
DM
2051 * po/bg.po: Update Bulgarian translation from translation project.
2052
d4baa62d
DM
2053 * po/nl.po: Update Dutch translation from translation project.
2054 * po/pl.po: Update Polish translation from translation project.
2055 * po/ru.po: Update Russian translation from translation project.
2056
61a9dcb9
DM
20572013-07-24 David S. Miller <davem@davemloft.net>
2058
2059 * po/libc.pot: Update.
2060
7b1f8b58
AZ
20612013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2062
2063 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2064 variable page size.
2065 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2066 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2067 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2068
a8fc7a03
AK
20692013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2070
2071 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2072
e4608715
CD
20732013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2074 Andreas Schwab <schwab@suse.de>
2075 Roland McGrath <roland@hack.frob.com>
2076 Joseph Myers <joseph@codesourcery.com>
2077 Carlos O'Donell <carlos@redhat.com>
2078
2079 [BZ #15755]
2080 * config.h.in: Define HAVE_PT_CHOWN.
2081 * config.make.in (build-pt-chown): New variable.
2082 * configure.in (--enable-pt_chown): New configure option.
2083 * configure: Regenerate.
2084 * login/Makefile: Include Makeconfig. Build pt_chown only if
2085 build-pt-chown is enabled.
2086 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2087 pt_chown to fix pty ownership.
2088 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2089 CLOSE_ALL_FDS.
2090 * manual/install.texi (Configuring and compiling): Mention
2091 --enable-pt_chown. Add @findex for grantpt.
2092 * INSTALL: Regenerate.
2093
da2d62df
DM
20942013-07-20 David S. Miller <davem@davemloft.net>
2095
2096 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2097 difference between 32-bit and 64-bit.
2098
d7e06450
CD
20992013-07-15 Carlos O'Donell <carlos@redhat.com>
2100
2101 [BZ #15711]
2102 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2103 Avoid system header dependency with -ffreestanding.
2104 ($(objpfx)bits/syscall%d): Likewise.
2105
f959cfd7
DM
21062013-07-13 David S. Miller <davem@davemloft.net>
2107
2108 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2109 underflows from atanl/atan2l due to bug 15319.
2110 (casinh_test_data): Likewise.
2111
c61f8513
DM
21122013-07-07 David S. Miller <davem@davemloft.net>
2113
2114 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2115
72c90ed0
JA
21162013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2117
2118 * sysdeps/i386/fpu/libm-test-ulps: Update.
2119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2120
52dfbe13
SP
21212013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2122
2123 * configure.in (--enable-lock-elision): Fix message text.
2124 * INSTALL: Regenerate.
2125 * configure: Regenerate.
2126
3f169543
AZ
21272013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2128
2129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2130
521c6785
AJ
21312013-07-03 Andreas Jaeger <aj@suse.de>
2132
2133 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2134 define.
2135 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2136 (ptrace_peeksiginfo_args): Add.
2137 (__ptrace_peeksiginfo_flags): Add.
2138 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2139 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2140 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2141
d2cc15cb
AM
21422013-07-03 Allan McRae <allan@archlinux.org>
2143
2144 * sysdeps/i386/fpu/libm-test-ulps: Update.
2145
3aaeeca7
DM
21462013-07-02 David S. Miller <davem@davemloft.net>
2147
2148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2149
5314ed1a
MT
21502013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2151
2152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2153
67338156
JM
21542013-07-02 Joseph Myers <joseph@codesourcery.com>
2155
2156 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2158
1717da59
AK
21592013-07-02 Andi Kleen <ak@linux.intel.com>
2160
2161 * config.h.in (ENABLE_LOCK_ELISION): Add.
2162 * configure.in (--enable-lock-elision): Add option.
2163 * manual/install.texi: Document --enable lock elision.
2164 * configure: Regenerate
2165 * INSTALL: Regenerate.
2166
1c81621c
L
21672013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2168
2169 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2170 SSE4.2 strcasecmp for libc.a.
2171 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2172
77f01ab5
JM
21732013-07-02 Joseph Myers <joseph@codesourcery.com>
2174
2175 [BZ #13304]
2176 * soft-fp/op-common.h (_FP_FMA): New macro.
2177 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2178 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2179 (_FP_MUL_MEAT_1_imm): ... here.
2180 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2181 (_FP_MUL_MEAT_1_wide): ... here.
2182 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2183 (_FP_MUL_MEAT_1_hard): ... here.
2184 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2185 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2186 (_FP_MUL_MEAT_2_wide): ... here.
2187 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2188 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2189 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2190 (_FP_MUL_MEAT_2_gmp): ... here.
2191 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2192 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2193 (_FP_MUL_MEAT_4_wide): ... here.
2194 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2195 (_FP_MUL_MEAT_4_gmp): ... here.
2196 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2197 (_FP_WFRACBITS_DW_S): Likewise.
2198 (_FP_WFRACXBITS_DW_S): Likewise.
2199 (_FP_HIGHBIT_DW_S): Likewise.
2200 (FP_FMA_S): Likewise.
2201 (_FP_FRAC_HIGH_DW_S): Likewise.
2202 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2203 (_FP_WFRACBITS_DW_D): Likewise.
2204 (_FP_WFRACXBITS_DW_D): Likewise.
2205 (_FP_HIGHBIT_DW_D): Likewise.
2206 (FP_FMA_D): Likewise.
2207 (_FP_FRAC_HIGH_DW_D): Likewise.
2208 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2209 (_FP_WFRACBITS_DW_E): Likewise.
2210 (_FP_WFRACXBITS_DW_E): Likewise.
2211 (_FP_HIGHBIT_DW_E): Likewise.
2212 (FP_FMA_E): Likewise.
2213 (_FP_FRAC_HIGH_DW_E): Likewise.
2214 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2215 (_FP_WFRACBITS_DW_Q): Likewise.
2216 (_FP_WFRACXBITS_DW_Q): Likewise.
2217 (_FP_HIGHBIT_DW_Q): Likewise.
2218 (FP_FMA_Q): Likewise.
2219 (_FP_FRAC_HIGH_DW_Q): Likewise.
2220 * soft-fp/fmasf4.c: New file.
2221 * soft-fp/fmadf4.c: Likewise.
2222 * soft-fp/fmatf4.c: Likewise.
2223
6308fd9a
LD
22242013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2225
2226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2227 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2228 Silvermont.
2229 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2230 macro.
2231 (index_Slow_SSE4_2): Likewise.
2232 (index_Prefer_PMINUB_for_stringop): Likewise.
2233 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2234 bit_Slow_SSE4_2 is set.
2235 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2236 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2237
89cd9569
RA
22382013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2239
2240 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2241 rtld_global._dl_hwcap2.
2242 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2243 POWER8.
2244 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2245 POWER8 feature descriptions defined in _dl_hwcap2.
2246 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2247 string handling for POWER8 feature bits.
2248 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2249 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2250 _dl_powerpc_cap_flags.
2251 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2252 * sysdeps/powerpc/rtld-global-offsets.sym
2253 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2254 _dl_hwcap2 in the rtld_global_ro structure.
2255
1ae8bfe0
RA
22562013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2257
2258 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2259 hardware capabilities in support of AT_HWCAP2.
2260 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2261 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2262 GLRO(dl_hwcap2).
2263 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2264 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2265 explicitly the unknown a_type display mechanism is used.
2266 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2267 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2268 struct member.
2269 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2270 to macro prototype for AT_HWCAP2 support.
2271 * sysdeps/i386/dl-procinfo.h: Likewise.
2272 * sysdeps/s390/dl-procinfo.h: Likewise.
2273 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2274 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2275 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2276 return -1 for unknown a_type display fallback.
2277 * sysdeps/sparc/dl-procinfo.h: Likewise.
2278 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2279 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2280
8fbec010
JM
22812013-06-28 Joseph Myers <joseph@codesourcery.com>
2282
2283 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2284 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2285
0432680e
PY
22862013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2287
2288 [BZ #12492]
2289 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2290 mprotect making __stack_prot writable.
2291
ce61a2ad
NF
22922013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2293 Joseph Myers <joseph@codesourcery.com>
2294
2295 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2296 as being properly aligned.
2297
f91f1c0f
MR
22982013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2299
3d0f5d0c
MR
2300 * dlfcn/modstatic5.c: New file.
2301 * dlfcn/tststatic5.c: New file.
2302 * dlfcn/Makefile (tests): Add tststatic5.
2303 (tests-static): Likewise.
2304 (modules-names): Add modstatic5.
2305 (tststatic5-ENV): New variable.
2306 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2307
f91f1c0f
MR
2308 [BZ #15022]
2309 * elf/dl-support.c (_dl_main_map): New variable.
2310 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2311 (_dl_nns, _dl_load_adds): Set to 1.
2312 (_dl_initial_searchlist): Refer to _dl_main_map.
2313 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2314 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2315 call to _dl_get_origin.
2316 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2317 around call_map.
2318 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2319 * dlfcn/modstatic3.c: New file.
2320 * dlfcn/tststatic3.c: New file.
2321 * dlfcn/tststatic4.c: New file.
2322 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2323 (tests-static): Likewise.
2324 (modules-names): Add modstatic3.
2325 (tststatic3-ENV, tststatic4-ENV): New variables.
2326 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2327 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2328
cbe7d24b
JM
23292013-06-26 Joseph Myers <joseph@codesourcery.com>
2330
2331 * configure.in (CC): Require GCC version 4.4 or later.
2332 * configure: Regenerated.
2333 * manual/install.texi (Tools for Compilation): Update GCC version
2334 requirement.
2335 * INSTALL: Regenerated.
2336
11b8a0e1
LD
23372013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2338
2339 [BZ #15674]
bb5bb87c
L
2340 * string/test-memcmp.c (check2): New.
2341 (main): Call check2.
2342
11b8a0e1
LD
2343 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2344
b0037103
MR
23452013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2346
2347 [BZ #15022]
2348 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2349 over to...
2350 (dl_open_worker) [!SHARED]: ... here.
2351
c18c701d
RA
23522013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2353
2354 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2355
1d17fa5f
RH
23562013-06-25 Richard Henderson <rth@redhat.com>
2357
2358 * locale/programs/locarchive.c: Include <libc-internal.h>
2359
8fcb833a
JM
23602013-06-25 Joseph Myers <joseph@codesourcery.com>
2361
2362 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2363 trailing whitespace removed.
2364
17db6e8d
MF
23652013-06-24 Mike Frysinger <vapier@gentoo.org>
2366
2367 [BZ #10283]
17db6e8d
MF
2368 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2369 * locale/programs/locarchive.c: Include libc-mmap.h.
2370 (prepare_address_space): Take two new outputs (the mmap base and len).
2371 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2372 values.
2373 (create_archive): Declare new mmap base and len values for
2374 prepare_address_space, and store the result in ah.
2375 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2376 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2377 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2378 Declare new mmap base and len values for
2379 prepare_address_space, and store the result in new_ah.
2380 (open_archive): Declare new mmap base and len values for
2381 prepare_address_space, and store the result in ah.
2382 (close_archive): If ah->mmap_base is not NULL, use that and
2383 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2384 * sysdeps/generic/libc-mmap.h: New file.
2385
d605071e
MF
23862013-06-24 Mike Frysinger <vapier@gentoo.org>
2387
2388 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2389 (ALIGN_UP): Likewise.
2390 (PTR_ALIGN_DOWN): Likewise.
2391 (PTR_ALIGN_UP): Likewise.
2392
2f063a6e
RA
23932013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2394
2395 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2396 entry mapped to PPC_PLATFORM_POWER8.
2397 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2398 POWER8.
2399 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2400 (_dl_string_platform): Add case for exporting platform position for
2401 POWER8.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2403 search path to sysdeps/powerpc/powerpc32/power8 directory.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2405 search path to sysdeps/powerpc/powerpc64/power8 directory.
2406 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2407 power7 directories.
2408 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2409 power7 directories.
2410
a31ee4b3
SP
24112013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2412
a74ca98f
SP
2413 * INSTALL: Regenerate.
2414
a31ee4b3
SP
2415 * nscd/connections.c (nscd_init): Fix comment.
2416
695c378f
JM
24172013-06-22 Joseph Myers <joseph@codesourcery.com>
2418
d8412221
JM
2419 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2420
695c378f
JM
2421 [BZ #15667]
2422 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2423 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2424
d1d54715
MR
24252013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2426
2427 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2428 DL_DST_REQ_STATIC.
2429 (DL_DST_REQ_STATIC): Remove macro.
2430
8fdda7af
JM
24312013-06-21 Joseph Myers <joseph@codesourcery.com>
2432
2433 [BZ #7006]
2434 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2435 with a shift of 0 bits.
2436
f3bc5e5a
MR
24372013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2438
2439 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2440 $(tststatic-ENV).
2441
be09e8c9
KK
24422013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2443
2444 [BZ #15655]
2445 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2446
85c2e611
AZ
24472013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2448
2449 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2450 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2451 accepts -fno-tree-loop-distribute-patterns.
2452 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2453 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2454 recursive call.
2455 * string/memset.c (memset): Likewise.
2456 * string/test-memmove.c (simple_memmove): Disable loop transformation
2457 to library calls.
2458 * string/test-memset.c (simple_memset): Likewise.
2459 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2460 * benchtests/bench-memset.c (simple_memset): Likewise.
2461 * configure: Regenerated.
2462
c91e0825
JM
24632013-06-20 Joseph Myers <joseph@codesourcery.com>
2464
b8c792af
JM
2465 * math/test-misc.c (main): Ignore fesetround failure when failures
2466 of subsequent rounding tests would be ignored.
2467
c91e0825
JM
2468 [BZ #15654]
2469 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2470 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2471 * math/fegetenv.c (__fegetenv): Return 0.
2472 * math/fegetexcept.c (fegetexcept): Return 0.
2473 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2474 FE_TONEAREST.
2475 * math/feholdexcpt.c (feholdexcept): Return 0.
2476 * math/fesetenv.c (__fesetenv): Return 0.
2477 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2478 argument FE_TONEAREST.
2479 * math/feupdateenv.c (__feupdateenv): Return 0.
2480 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2481
bfcacbde
RM
24822013-06-18 Roland McGrath <roland@hack.frob.com>
2483
2484 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2485 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2486 ($(objpfx)rtld-%.os rules): Use them.
2487
e55a9b25
AZ
24882013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2489
2490 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2491 fields.
2492
346d65b3
RM
24932013-06-17 Roland McGrath <roland@hack.frob.com>
2494
12086fb4
RM
2495 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2496 length of target pattern, then descending length of dependency pattern.
2497 * configure.in (AWK): Require gawk 3.1.2 or newer.
2498 * manual/install.texi (Tools for Compilation): Say that we do.
2499 * configure: Regenerated.
2500
346d65b3
RM
2501 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2502 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2503 * scripts/sysd-rules.awk: ... this new script.
2504 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2505 than a glob-style pattern.
2506
1a846317
JM
25072013-06-17 Joseph Myers <joseph@codesourcery.com>
2508
2509 * math/test-misc.c (main): Do not treat incorrectly rounded
2510 conversions as failure unless ROUNDING_TESTS passes.
2511
8fc75e6f
JM
25122013-06-15 Joseph Myers <joseph@codesourcery.com>
2513
3711a167
JM
2514 [BZ #15631]
2515 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2516 restore exception state around main square root computation, then
2517 check for inexactness explicitly.
2518
8fc75e6f
JM
2519 * math/libm-test.inc (fma_test_data): Add another test.
2520
61dd6208
SP
25212013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2522
adf23d2c
SP
2523 * manual/threads.texi (Non-POSIX Extensions): New document
2524 node. Document pthread_getattr_default_np and
2525 pthread_setattr_default_np.
2526
61dd6208
SP
2527 * Versions.def (libpthread): Add GLIBC_2.18.
2528 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2530 Likewise.
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2532 Likewise.
2533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2534 Likewise.
2535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2536 Likewise.
2537 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2538 Likewise.
2539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2540 Likewise.
2541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2542 Likewise.
2543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2544 Likewise.
2545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2546 Likewise.
2547
d086fc7b
LD
25482013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2549
2550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2551 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2552
747ef469
SP
25532013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2554 H.J. Lu <hjl.tools@gmail.com>
2555
2556 [BZ #15627]
2557 * sysdeps/x86_64/rtld-memset.c: Remove file.
2558 * sysdeps/x86_64/rtld-memset.S: New file.
2559
1b2feed2
JM
25602013-06-14 Joseph Myers <joseph@codesourcery.com>
2561
2562 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2563 (test_in_one_mode): Take arguments for whether the rounding mode
2564 is supported for each floating-point type.
2565 (do_test): Pass new arguments to test_in_one_mode using
2566 ROUNDING_TESTS.
2567
a58ad3f8
RM
25682013-06-13 Roland McGrath <roland@hack.frob.com>
2569
2570 * posix/tst-waitid.c (do_test): Distinguish different instances of
2571 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2572 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2573 before entering the kernel for waitpid.
2574
c204ab28
SP
25752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2576
2577 * NEWS: Fix note on clock function precision. Text by Roland
2578 McGrath.
2579
f4a29fba
RM
25802013-06-13 Roland McGrath <roland@hack.frob.com>
2581
2582 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2583 it into place only when and if the sanity check passes.
2584
1f24b9ad
JM
25852013-06-13 Joseph Myers <joseph@codesourcery.com>
2586
2587 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2588 output for whether conversion result is exact. Take argument
2589 indicating whether type is IBM long double.
2590 (round_for_all): Change need_exact field to ibm_ld.
2591 * stdlib/tst-strtod-round.c (struct exactness): New type.
2592 (struct test): Change bool ld_ok field to struct exactness exact.
2593 (TEST): Update all definitions for change to field.
2594 (tests): Regenerate array contents.
2595 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2596 field value. Check for IBM long double here.
2597 (do_test): Update calls to test_in_one_mode.
2598
58206c68
SP
25992013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2600
2601 [BZ #12515]
2602 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2603 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2604
2d6f4c5b 26052013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
2606
2607 [BZ #15605]
2608 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2609 generated by the compiler on loop optimizations.
2610 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2611 general definitions.
2612
94f2c076
JM
26132013-06-12 Joseph Myers <joseph@codesourcery.com>
2614
2615 * math/bug-nextafter.c: Include <math-tests.h>.
2616 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2617 the relevant type.
2618 * math/bug-nexttoward.c: Include <math-tests.h>.
2619 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2620 the relevant type.
2621 * math/test-misc.c: Include <math-tests.h>.
2622 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2623 the relevant type.
2624
e0e50a0a
AJ
26252013-06-12 Andreas Jaeger <aj@suse.de>
2626
2627 * po/ia.po: Update Interlingua translation from translation
2628 project.
2629
25061094
SP
26302013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2631
2632 * include/fenv.h: Include stdbool.h.
2633 (struct rm_ctx): New structure.
2634 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2635 Define macro.
2636 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2637 (SET_RESTORE_ROUNDF): Likewise.
2638 (SET_RESTORE_ROUNDL): Likewise.
2639 (SET_RESTORE_ROUND_NOEX): Likewise.
2640 (SET_RESTORE_ROUND_NOEXF): Likewise.
2641 (SET_RESTORE_ROUND_NOEXL): Likewise.
2642 (SET_RESTORE_ROUND_53BIT): Likewise.
2643 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2644 (libc_feresetround_noexf_ctx): Likewise.
2645 (libc_feresetround_noexl_ctx): Likewise.
2646 (libc_feholdsetround_53bit_ctx): Likewise.
2647 (libc_feresetround_53bit_ctx): Likewise.
2648 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2649 (libc_feholdexcept_setround_sse_ctx): New function.
2650 (libc_fesetenv_sse_ctx): Likewise.
2651 (libc_feupdateenv_sse_ctx): Likewise.
2652 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2653 (libc_feholdexcept_setround_387_ctx): Likewise.
2654 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2655 (libc_feholdsetround_387_prec_ctx): Likewise.
2656 (libc_feholdsetround_387_ctx): Likewise.
2657 (libc_feholdsetround_387_53bit_ctx): Likewise.
2658 (libc_feholdsetround_sse_ctx): Likewise.
2659 (libc_feresetround_sse_ctx): Likewise.
2660 (libc_feresetround_387_ctx): Likewise.
2661 (libc_feupdateenv_387_ctx): Likewise.
2662 (libc_feholdexcept_setroundf_ctx): Define macro.
2663 (libc_fesetenvf_ctx): Likewise.
2664 (libc_feupdateenvf_ctx): Likewise.
2665 (libc_feholdsetroundf_ctx): Likewise.
2666 (libc_feresetroundf_ctx): Likewise.
2667 (libc_feholdexcept_setround_ctx): Likewise.
2668 (libc_fesetenv_ctx): Likewise.
2669 (libc_feupdateenv_ctx): Likewise.
2670 (libc_feholdsetround_ctx): Likewise.
2671 (libc_feresetround_ctx): Likewise.
2672 (libc_feholdexcept_setroundl_ctx): Likewise.
2673 (libc_feupdateenvl_ctx): Likewise.
2674 (libc_feholdsetroundl_ctx): Likewise.
2675 (libc_feresetroundl_ctx): Likewise.
2676 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2677 (libc_feresetround_53bit_ctx): Likewise.
2678
59b30555
SP
26792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2680
2681 * locale/iso-639.def: Convert to UTF-8.
2682
f1d73d30
JM
26832013-06-11 Joseph Myers <joseph@codesourcery.com>
2684
2685 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2686 (EXCEPTION_TESTS_double): Likewise.
2687 (EXCEPTION_TESTS_long_double): Likewise.
2688 (EXCEPTION_TESTS): Likewise.
2689 * math/libm-test.inc (test_exceptions): Only test exceptions if
2690 EXCEPTION_TESTS (FLOAT).
2691
94aca5e7
SP
26922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2693
2694 * benchtests/Makefile (string-bench): Add strcpy_chk and
2695 stpcpy_chk.
2696 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2697 * benchtests/bench-stpcpy_chk.c: New file.
2698 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2699 * benchtests/bench-strcpy_chk.c: New file.
2700 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2701 code.
2702 (do_test): Likewise.
2703
fac0c5f2
RA
27042013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2705
2706 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2707 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2708 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2709 with tabs where appropriate.
2710 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2711 dl-procinfo.h.
2712 [PPC_PLATFORM_PPC440]: Likewise.
2713 [PPC_PLATFORM_PPC464]: Likewise.
2714 [PPC_PLATFORM_PPC476]: Likewise.
2715 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2716 ppc464, and ppc476 platform strings merging from ports/
2717 dl-procinfo.h.
2718
f22bc486
AS
27192013-06-11 Andreas Schwab <schwab@suse.de>
2720
2721 [BZ #14991]
2722 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2723 (from_ucs4_idx): Regenerate.
2724 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2725 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2726 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2727 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2728 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2729 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2730 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2731 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2732 from FROM_LOOP and TO_LOOP specific macros.
2733 (BODY): Handle combining characters.
2734 * iconvdata/BIG5HKSCS.irreversible: Update.
2735 * iconvdata/BIG5HKSCS.precomposed: New file.
2736 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2737 characters.
2738 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2739
c1f75dc3
SP
27402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2741
4eacded2
SP
2742 * include/sys/time.h: Fix indentation and add copyright header.
2743
fec799f8
SP
2744 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2745 (do_test): Likewise.
2746 * string/test-memchr.c (do_one_test): Likewise.
2747 (do_test): Likewise.
2748 * string/test-memcmp.c (do_one_test): Likewise.
2749 (do_test): Likewise.
2750 * string/test-memcpy.c (do_one_test): Likewise.
2751 (do_test): Likewise.
2752 * string/test-memmem.c (do_one_test): Likewise.
2753 (do_test): Likewise.
2754 (do_random_tests): Likewise.
2755 * string/test-memmove.c (do_one_test): Likewise.
2756 (do_test): Likewise.
2757 * string/test-memset.c (do_one_test): Likewise.
2758 (do_test): Likewise.
2759 * string/test-rawmemchr.c (do_one_test): Likewise.
2760 (do_test): Likewise.
2761 * string/test-strcasecmp.c (do_one_test): Likewise.
2762 (do_test): Likewise.
2763 * string/test-strcasestr.c (do_one_test): Likewise.
2764 (do_test): Likewise.
2765 * string/test-strcat.c (do_one_test): Likewise.
2766 (do_test): Likewise.
2767 * string/test-strchr.c (do_one_test): Likewise.
2768 (do_test): Likewise.
2769 * string/test-strcmp.c (do_one_test): Likewise.
2770 (do_test): Likewise.
2771 * string/test-strcpy.c (do_one_test): Likewise.
2772 (do_test): Likewise.
2773 * string/test-string.h: Likewise.
2774 (test_init): Likewise.
2775 * string/test-strlen.c (do_one_test): Likewise.
2776 (do_test): Likewise.
2777 * string/test-strncasecmp.c (do_one_test): Likewise.
2778 (do_test): Likewise.
2779 * string/test-strncat.c (do_one_test): Likewise.
2780 (do_test): Likewise.
2781 * string/test-strncmp.c (do_one_test): Likewise.
2782 (do_test_limit): Likewise.
2783 (do_test): Likewise.
2784 * string/test-strncpy.c (do_one_test): Likewise.
2785 (do_test): Likewise.
2786 * string/test-strnlen.c (do_one_test): Likewise.
2787 (do_test): Likewise.
2788 * string/test-strpbrk.c (do_one_test): Likewise.
2789 (do_test): Likewise.
2790 * string/test-strrchr.c (do_one_test): Likewise.
2791 (do_test): Likewise.
2792 * string/test-strspn.c (do_one_test): Likewise.
2793 (do_test): Likewise.
2794 * string/test-strstr.c (do_one_test): Likewise.
2795 (do_test): Likewise.
2796
97020474
SP
2797 * benchtests/Makefile (string-bench): Add string benchmarks.
2798 * benchtests/bench-bcopy-ifunc.c: New file.
2799 * benchtests/bench-bcopy.c: New file.
2800 * benchtests/bench-bzero-ifunc.c: New file.
2801 * benchtests/bench-bzero.c: New file.
2802 * benchtests/bench-memccpy-ifunc.c: New file.
2803 * benchtests/bench-memccpy.c: New file.
2804 * benchtests/bench-memchr-ifunc.c: New file.
2805 * benchtests/bench-memchr.c: New file.
2806 * benchtests/bench-memcmp-ifunc.c: New file.
2807 * benchtests/bench-memcmp.c: New file.
2808 * benchtests/bench-memmem-ifunc.c: New file.
2809 * benchtests/bench-memmem.c: New file.
2810 * benchtests/bench-memmove-ifunc.c: New file.
2811 * benchtests/bench-memmove.c: New file.
2812 * benchtests/bench-mempcpy-ifunc.c: New file.
2813 * benchtests/bench-mempcpy.c: New file.
2814 * benchtests/bench-memset-ifunc.c: New file.
2815 * benchtests/bench-memset.c: New file.
2816 * benchtests/bench-rawmemchr-ifunc.c: New file.
2817 * benchtests/bench-rawmemchr.c: New file.
2818 * benchtests/bench-stpcpy-ifunc.c: New file.
2819 * benchtests/bench-stpcpy.c: New file.
2820 * benchtests/bench-stpncpy-ifunc.c: New file.
2821 * benchtests/bench-stpncpy.c: New file.
2822 * benchtests/bench-strcasecmp-ifunc.c: New file.
2823 * benchtests/bench-strcasecmp.c: New file.
2824 * benchtests/bench-strcasestr-ifunc.c: New file.
2825 * benchtests/bench-strcasestr.c: New file.
2826 * benchtests/bench-strcat-ifunc.c: New file.
2827 * benchtests/bench-strcat.c: New file.
2828 * benchtests/bench-strchr-ifunc.c: New file.
2829 * benchtests/bench-strchr.c: New file.
2830 * benchtests/bench-strchrnul-ifunc.c: New file.
2831 * benchtests/bench-strchrnul.c: New file.
2832 * benchtests/bench-strcmp-ifunc.c: New file.
2833 * benchtests/bench-strcmp.c: New file.
2834 * benchtests/bench-strcpy-ifunc.c: New file.
2835 * benchtests/bench-strcpy.c: New file.
2836 * benchtests/bench-strcspn-ifunc.c: New file.
2837 * benchtests/bench-strcspn.c: New file.
2838 * benchtests/bench-strlen-ifunc.c: New file.
2839 * benchtests/bench-strlen.c: New file.
2840 * benchtests/bench-strncasecmp-ifunc.c: New file.
2841 * benchtests/bench-strncasecmp.c: New file.
2842 * benchtests/bench-strncat-ifunc.c: New file.
2843 * benchtests/bench-strncat.c: New file.
2844 * benchtests/bench-strncmp-ifunc.c: New file.
2845 * benchtests/bench-strncmp.c: New file.
2846 * benchtests/bench-strncpy-ifunc.c: New file.
2847 * benchtests/bench-strncpy.c: New file.
2848 * benchtests/bench-strnlen-ifunc.c: New file.
2849 * benchtests/bench-strnlen.c: New file.
2850 * benchtests/bench-strpbrk-ifunc.c: New file.
2851 * benchtests/bench-strpbrk.c: New file.
2852 * benchtests/bench-strrchr-ifunc.c: New file.
2853 * benchtests/bench-strrchr.c: New file.
2854 * benchtests/bench-strspn-ifunc.c: New file.
2855 * benchtests/bench-strspn.c: New file.
2856 * benchtests/bench-strstr-ifunc.c: New file.
2857 * benchtests/bench-strstr.c: New file.
2858
c1f75dc3
SP
2859 * benchtests/Makefile: Disable parallel execution of targets.
2860 (string-bench): Add memcpy.
2861 (benchset): New variable to store a list of benchmark sets.
2862 (bench-func): Renamed from bench.
2863 (bench-set): New target.
2864 (bench): Depend on bench-func and bench-set.
2865 * benchtests/README: Add section on benchmark sets.
2866 * benchtests/bench-memcpy-ifunc.c: New file.
2867 * benchtests/bench-memcpy.c: New file.
2868 * benchtests/bench-string.h: New file.
2869
50fd745b
AS
28702013-06-11 Andreas Schwab <schwab@suse.de>
2871
2872 [BZ #15577]
2873 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2874 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2875 values in the triple.
2876 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2877 terminator in the group key.
2878
3ee7e9fe
AJ
28792013-06-11 Andreas Jaeger <aj@suse.de>
2880
2881 * po/zh_TW.po: Update Chinese (traditional) translation from
2882 translation project.
2883
89fb6835
SP
28842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2885
2886 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2887 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2888 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2889 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2890 (clock_getcpuclockid): Likewise.
2891 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2892 Add weak_alias and libc_hidden_def.
2893 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2894 * rt/clock_gettime.c (clock_gettime): Rename to
2895 __clock_gettime. Add weak_alias and libc_hidden_def.
2896 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2897 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2898 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2899 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2900 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2901 Likewise.
2902 * rt/clock_settime.c (clock_settime): Rename to
2903 __clock_settime. Add weak_alias and libc_hidden_def.
2904 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2905
0efa6f8b
JM
29062013-06-10 Joseph Myers <joseph@codesourcery.com>
2907
b8c61b4b
JM
2908 * mach/err_boot.sub: Remove trailing whitespace.
2909 * mach/err_ipc.sub: Likewise.
2910 * mach/err_mach.sub: Likewise.
2911
0efa6f8b
JM
2912 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2913 (ROUNDING_TESTS_double): Likewise.
2914 (ROUNDING_TESTS_long_double): Likewise.
2915 (ROUNDING_TESTS): Likewise.
2916 * math/libm-test.inc: Include <math-tests.h>.
2917 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2918 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2919 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2920 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2921
50b818bf
SP
29222013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2923
2924 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2925 of assigning.
2926
60d2f8f3
JM
29272013-06-08 Joseph Myers <joseph@codesourcery.com>
2928
4902d2c3
JM
2929 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2930 otherwise empty TRANS lines.
2931 * sysdeps/gnu/errlist.c: Regenerated.
2932
60d2f8f3
JM
2933 * catgets/gencat.c (error_print): Use (void) in function
2934 definition.
2935 * crypt/crypt_util.c (__init_des): Likewise.
2936 * crypt/speeds.c (Stop): Likewise.
2937 (main): Likewise.
2938 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2939 * inet/ruserpass.c (token): Likewise.
2940 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2941 * intl/localealias.c (extend_alias_table): Likewise.
2942 * intl/plural-exp.c (init_germanic_plural): Likewise.
2943 * libio/fcloseall.c (__fcloseall): Likewise.
2944 * libio/genops.c (_IO_flush_all): Likewise.
2945 (_IO_flush_all_linebuffered): Likewise.
2946 (_IO_cleanup): Likewise.
2947 (_IO_iter_begin): Likewise.
2948 (_IO_iter_end): Likewise.
2949 (_IO_list_lock): Likewise.
2950 (_IO_list_unlock): Likewise.
2951 (_IO_list_resetlock): Likewise.
2952 * libio/getchar.c (getchar): Likewise.
2953 * libio/getchar_u.c (getchar_unlocked): Likewise.
2954 * libio/getwchar.c (getwchar): Likewise.
2955 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2956 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2957 * login/getpt.c (__getpt): Likewise.
2958 * login/tst-utmp.c (main): Likewise.
2959 * malloc/hooks.c (__malloc_check_init): Likewise.
2960 * malloc/malloc.c (__malloc_stats): Likewise.
2961 * malloc/mtrace.c (tr_break): Likewise.
2962 (mtrace): Likewise.
2963 (muntrace): Likewise.
2964 * misc/fstab.c (endfsent): Likewise.
2965 * misc/getclktck.c (__getclktck): Likewise.
2966 * misc/getdtsz.c (__getdtablesize): Likewise.
2967 * misc/gethostid.c (gethostid): Likewise.
2968 * misc/getpagesize.c (__getpagesize): Likewise.
2969 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2970 (__get_nprocs): Likewise.
2971 (__get_phys_pages): Likewise.
2972 (__get_avphys_pages): Likewise.
2973 * misc/getttyent.c (getttyent): Likewise.
2974 (setttyent): Likewise.
2975 (endttyent): Likewise.
2976 * misc/getusershell.c (getusershell): Likewise.
2977 (endusershell): Likewise.
2978 (setusershell): Likewise.
2979 (initshells): Likewise.
2980 * misc/hsearch.c (__hdestroy): Likewise.
2981 * misc/sync.c (sync): Likewise.
2982 * misc/syslog.c (closelog_internal): Likewise.
2983 (closelog): Likewise.
2984 * misc/ttyslot.c (ttyslot): Likewise.
2985 * misc/vhangup.c (vhangup): Likewise.
2986 * posix/fork.c (__fork): Likewise.
2987 * posix/getegid.c (__getegid): Likewise.
2988 * posix/geteuid.c (__geteuid): Likewise.
2989 * posix/getgid.c (__getgid): Likewise.
2990 * posix/getpid.c (__getpid): Likewise.
2991 * posix/getppid.c (__getppid): Likewise.
2992 * posix/getuid.c (__getuid): Likewise.
2993 * posix/pause.c (pause): Likewise.
2994 * posix/setpgrp.c (setpgrp): Likewise.
2995 * posix/setsid.c (__setsid): Likewise.
2996 * posix/test-vfork.c (noop): Likewise.
2997 * resolv/gethnamaddr.c (_endhtent): Likewise.
2998 (_gethtent): Likewise.
2999 (ht_endhostent): Likewise.
3000 (gethostent): Likewise.
3001 (dns_service): Likewise.
3002 * stdlib/drand48.c (drand48): Likewise.
3003 * stdlib/lrand48.c (lrand48): Likewise.
3004 * stdlib/mrand48.c (mrand48): Likewise.
3005 * stdlib/rand.c (rand): Likewise.
3006 * stdlib/random.c (__random): Likewise.
3007 * stdlib/setenv.c (clearenv): Likewise.
3008 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3009 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3010 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3011 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3012 (__get_nprocs): Likewise.
3013 (__get_phys_pages): Likewise.
3014 (__get_avphys_pages): Likewise.
3015 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3016 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3017 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3018 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3019 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3020 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3021 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3022 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3023 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3024 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3025 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3026 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3027 * sysdeps/posix/clock.c (clock): Likewise.
3028 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3029 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3030 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3031 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3032 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3033 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3034 (__get_nprocs_conf): Likewise.
3035 (__get_phys_pages): Likewise.
3036 (__get_avphys_pages): Likewise.
3037 * time/clock.c (clock): Likewise.
3038 * time/tzset.c (__tzname_max): Likewise.
3039
2e09a79a
JM
30402013-06-07 Joseph Myers <joseph@codesourcery.com>
3041
3042 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3043 (__bswap_32): Do not use "register".
3044 * crypt/crypt.c (_ufc_doit_r): Likewise.
3045 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3046 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3047 * gmon/gmon.c (__monstartup): Likewise.
3048 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3049 * hurd/hurdmalloc.c (more_memory): Likewise.
3050 (malloc): Likewise.
3051 (free): Likewise.
3052 (realloc): Likewise.
3053 (malloc_fork_prepare): Likewise.
3054 (malloc_fork_parent): Likewise.
3055 (malloc_fork_child): Likewise.
3056 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3057 (_svcauth_des): Likewise.
3058 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3059 * inet/inet_net.c (inet_network): Likewise.
3060 * inet/inet_netof.c (inet_netof): Likewise.
3061 * inet/rcmd.c (__validuser2_sa): Likewise.
3062 * io/fts.c (fts_open): Likewise.
3063 (fts_load): Likewise.
3064 (fts_close): Likewise.
3065 (fts_read): Likewise.
3066 (fts_children): Likewise.
3067 (fts_build): Likewise.
3068 (fts_stat): Likewise.
3069 (fts_sort): Likewise.
3070 (fts_alloc): Likewise.
3071 (fts_lfree): Likewise.
3072 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3073 (_IO_file_xsgetn): Likewise.
3074 (_IO_file_xsgetn_mmap): Likewise.
3075 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3076 (_IO_cookie_write): Likewise.
3077 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3078 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3079 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3080 * malloc/obstack.c (_obstack_begin): Likewise.
3081 (_obstack_begin_1): Likewise.
3082 (_obstack_newchunk): Likewise.
3083 (_obstack_allocated_p): Likewise.
3084 (obstack_free): Likewise.
3085 (_obstack_memory_used): Likewise.
3086 * misc/getttyent.c (getttynam): Likewise.
3087 (getttyent): Likewise.
3088 (skip): Likewise.
3089 (value): Likewise.
3090 * misc/getusershell.c (initshells): Likewise.
3091 * misc/syslog.c (__vsyslog_chk): Likewise.
3092 * misc/ttyslot.c (ttyslot): Likewise.
3093 * nis/nis_hash.c (__nis_hash): Likewise.
3094 * posix/fnmatch_loop.c (FCT): Likewise.
3095 * posix/getconf.c (print_all): Likewise.
3096 (main): Likewise.
3097 * posix/getopt.c (exchange): Likewise.
3098 * posix/glob.c (globfree): Likewise.
3099 (prefix_array): Likewise.
3100 (__glob_pattern_type): Likewise.
3101 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3102 (NS_GET32): Likewise.
3103 (NS_PUT16): Likewise.
3104 (NS_PUT32): Likewise.
3105 * resolv/gethnamaddr.c (getanswer): Likewise.
3106 (gethostbyname2): Likewise.
3107 (gethostbyaddr): Likewise.
3108 (_gethtent): Likewise.
3109 (_gethtbyname2): Likewise.
3110 (_gethtbyaddr): Likewise.
3111 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3112 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3113 * resolv/res_init.c (__res_vinit): Likewise.
3114 (net_mask): Likewise.
3115 * resolv/res_mkquery.c (outchar): Likewise.
3116 (PRINT): Likewise.
3117 * stdio-common/printf_fp.c (outchar): Likewise.
3118 (PRINT): Likewise.
3119 * stdio-common/printf_fphex.c (outchar): Likewise.
3120 (PRINT): Likewise.
3121 * stdio-common/printf_size.c (outchar): Likewise.
3122 (PRINT): Likewise.
3123 * stdio-common/test_rdwr.c (main): Likewise.
3124 * stdio-common/tfformat.c (matches): Likewise.
3125 * stdio-common/vfprintf.c (outchar): Likewise.
3126 (printf_unknown): Likewise.
3127 (buffered_vfprintf): Likewise.
3128 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3129 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3130 (ReadFile): Likewise.
3131 * stdlib/qsort.c (SWAP): Likewise.
3132 (_quicksort): Likewise.
3133 * stdlib/setenv.c (__add_to_environ): Likewise.
3134 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3135 * stdlib/strtol_l.c (__strtol_l): Likewise.
3136 * stdlib/tst-strtod.c (main): Likewise.
3137 * stdlib/tst-strtol.c (main): Likewise.
3138 * stdlib/tst-strtoll.c (main): Likewise.
3139 * string/bits/string2.h (__strcmp_cc): Likewise.
3140 (__strcmp_cg): Likewise.
3141 (__strcspn_c1): Likewise.
3142 (__strcspn_c2): Likewise.
3143 (__strcspn_c3): Likewise.
3144 (__strspn_c1): Likewise.
3145 (__strspn_c2): Likewise.
3146 (__strspn_c3): Likewise.
3147 (__strsep_1c): Likewise.
3148 (__strsep_2c): Likewise.
3149 (__strsep_3c): Likewise.
3150 * string/memccpy.c (__memccpy): Likewise.
3151 * string/stpcpy.c (__stpcpy): Likewise.
3152 * string/strcmp.c (strcmp): Likewise.
3153 * string/strrchr.c (strrchr): Likewise.
3154 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3155 Likewise.
3156 * sysdeps/mach/hurd/getcwd.c
3157 (_hurd_canonicalize_directory_name_internal): Likewise.
3158 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3159 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3160 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3161 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3162 Likewise, in both definitions.
3163 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3164 definitions.
3165 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3166 64] (__bswap_64): Likewise.
3167 * time/test_time.c (main): Likewise.
3168 * time/tzfile.c (__tzfile_read): Likewise.
3169 (__tzfile_compute): Likewise.
3170 * time/tzset.c (__tzset_parse_tz): Likewise.
3171 (tzset_internal): Likewise.
3172 (compute_change): Likewise.
3173 * wcsmbs/wcscat.c (__wcscat): Likewise.
3174 * wcsmbs/wcschr.c (wcschr): Likewise.
3175 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3176 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3177 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3178 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3179 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3180 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3181 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3182 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3183 * wcsmbs/wmemset.c (wmemset): Likewise.
3184
9e54314b
JM
31852013-06-06 Joseph Myers <joseph@codesourcery.com>
3186
3187 * scripts/config.guess: Update to version 2013-05-16.
3188 * scripts/config.sub: Update to version 2013-04-24.
3189 * scripts/install-sh: Update to version 2011-11-20.07.
3190 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3191 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3192
350635a5
OB
31932013-06-06 Ondřej Bílka <neleai@seznam.cz>
3194
3195 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3196 * elf/sln.c: Likewise.
3197 * hurd/hurd/ioctl.h: Likewise.
3198 * hurd/hurdmalloc.c: Likewise.
3199 * hurd/xattr.c: Likewise.
3200 * include/shlib-compat.h: Likewise.
3201 * inet/ruserpass.c: Likewise.
3202 * libio/iofgets_u.c: Likewise.
3203 * libio/iofgetws_u.c: Likewise.
3204 * locale/programs/ld-identification.c: Likewise.
3205 * locale/programs/ld-time.c: Likewise.
3206 * mach/msg-destroy.c: Likewise.
3207 * nss/nss_files/files-netgrp.c: Likewise.
3208 * resolv/res_data.c: Likewise.
3209 * soft-fp/op-1.h: Likewise.
3210 * soft-fp/op-2.h: Likewise.
3211 * soft-fp/op-4.h: Likewise.
3212 * soft-fp/op-common.h: Likewise.
3213 * stdio-common/printf_fphex.c: Likewise.
3214 * stdlib/strtod_l.c: Likewise.
3215 * sunrpc/rpc/clnt.h: Likewise.
3216 * sysdeps/generic/framestate.c: Likewise.
3217 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3218 * sysdeps/i386/bsd-setjmp.S: Likewise.
3219 * sysdeps/i386/__longjmp.S: Likewise.
3220 * sysdeps/i386/setjmp.S: Likewise.
3221 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3222 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3223 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3224 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3225 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3226 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3227 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3228 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3229 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3230 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3231 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3232 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3233 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3234 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3235 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3237 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3238 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3239 * sysdeps/ieee754/support.c: Likewise.
3240 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3241 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3242 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3243 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3244 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3245 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3246 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3247 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3248 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3249 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3250 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3251 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3252 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3253 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3254 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3255 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3256 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3258
44a988af
OB
32592013-06-05 Ondřej Bílka <neleai@seznam.cz>
3260
25506f09 3261 * posix/transbug.c: Remove executable mode.
44a988af 3262
9c84384c
JM
32632013-06-05 Joseph Myers <joseph@codesourcery.com>
3264
3265 * crypt/speeds.c: Remove trailing whitespace.
3266 * dlfcn/default.c: Likewise.
3267 * elf/ifuncdep2.c: Likewise.
3268 * elf/ifuncmain1.c: Likewise.
3269 * elf/ifuncmain1vis.c: Likewise.
3270 * elf/testobj.h: Likewise.
3271 * elf/tst-stackguard1.c: Likewise.
3272 * gmon/sys/gmon.h: Likewise.
3273 * hurd/hurdmsg.c: Likewise.
3274 * hurd/new-fd.c: Likewise.
3275 * hurd/ports-get.c: Likewise.
3276 * iconvdata/ibm1008_420.c: Likewise.
3277 * inet/tst-getni1.c: Likewise.
3278 * inet/tst-getni2.c: Likewise.
3279 * libio/ioungetc.c: Likewise.
3280 * libio/wfiledoalloc.c: Likewise.
3281 * manual/libm-err-tab.pl: Likewise.
3282 * math/w_dremf.c: Likewise.
3283 * misc/ftruncate.c: Likewise.
3284 * posix/bug-glob2.c: Likewise.
3285 * posix/tst-pcre.c: Likewise.
3286 * posix/wait4.c: Likewise.
3287 * resolv/README: Likewise.
3288 * resolv/res_debug.h: Likewise.
3289 * resolv/tst-inet_ntop.c: Likewise.
3290 * setjmp/bug269-setjmp.c: Likewise.
3291 * soft-fp/extended.h: Likewise.
3292 * soft-fp/op-1.h: Likewise.
3293 * soft-fp/op-2.h: Likewise.
3294 * soft-fp/op-4.h: Likewise.
3295 * soft-fp/op-8.h: Likewise.
3296 * soft-fp/testit.c: Likewise.
3297 * stdio-common/bug16.c: Likewise.
3298 * stdlib/random.c: Likewise.
3299 * sunrpc/rpcsvc/rquota.x: Likewise.
3300 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3301 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3302 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3303 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3304 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3305 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3306 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3307 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3308 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3309 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3310 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3311 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3312 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3313 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3314 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3315 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3316 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3317 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3318 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3319 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3320 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3321 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3322 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3323 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3324 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3325 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3326 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3327 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3328 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3329 * sysdeps/ieee754/s_lib_version.c: Likewise.
3330 * sysdeps/mach/hurd/check_fds.c: Likewise.
3331 * sysdeps/mach/hurd/getsockname.c: Likewise.
3332 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3333 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3334 * sysdeps/powerpc/bits/link.h: Likewise.
3335 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3336 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3337 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3338 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3339 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3340 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3341 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3342 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3343 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3344 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3345 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3346 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3347 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3348 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3349 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3350 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3351 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3352 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3353 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3354 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3355 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3356 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3357 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3358 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3359 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3360 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3361 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3362 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3363 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3364 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3365 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3366 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3367 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3368 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3369 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3370 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3371 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3372 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3373 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3374 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3375 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3376 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3377 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3378 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3379 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3380 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3381 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3382 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3383 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3384 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3385 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3387 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3388 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3389 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3390 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3391 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3392 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3393 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3394 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3395 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3396 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3397 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3398 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3399 * sysdeps/powerpc/sysdep.h: Likewise.
3400 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3401 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3402 * sysdeps/sh/dl-trampoline.S: Likewise.
3403 * sysdeps/sh/memset.S: Likewise.
3404 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3405 * sysdeps/sh/strlen.S: Likewise.
3406 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3407 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3408 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3409 * sysdeps/sparc/sparc32/rem.S: Likewise.
3410 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3411 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3412 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3413 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3414 * sysdeps/sparc/sparc32/urem.S: Likewise.
3415 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3416 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3417 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3418 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3419 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3420 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3421 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3422 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3423 * sysdeps/unix/bsd/times.c: Likewise.
3424 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3425 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3429 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3430 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3431 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3432 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3433 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3434 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3435 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3436 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3437 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3438 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3439 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3440 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3441 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3442 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3443 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3444 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3445 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3446 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3447 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3448 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3449 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3450 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3451 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3452 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3453 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3454 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3455 * sysdeps/x86_64/strcspn.S: Likewise.
3456
869378a5
RA
34572013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3458
3459 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3460 generated file. Regenerate properly from gen-translit.pl.
3461 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3462 locale/C-translit.h.
3463
840e2943
AS
34642013-06-05 Andreas Schwab <schwab@suse.de>
3465
3466 [BZ #15100]
3467 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3468 week as 6 instead of -1.
3469 * time/tst-strptime.c (day_tests): Add test case.
3470
4c60cb0c
SP
34712013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3472
3473 * sysdeps/generic/math_private.h
3474 (libc_feholdexcept_setround_53bit): Replace with
3475 libc_feholdsetround_53bit.
3476 (libc_feupdateenv_53bit): Replace with
3477 libc_feresetround_53bit.
3478 (SET_RESTORE_ROUND_53BIT): Adjust.
3479
d180203e
SP
34802013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3481
96df079a
SP
3482 * string/test-strchrnul.c: Add copyright header.
3483
d180203e
SP
3484 * posix/tst-getaddrinfo4.c: Increase test timeout.
3485
8b0ccb2d
CD
34862013-06-03 Carlos O'Donell <carlos@redhat.com>
3487
3488 [BZ #15536]
3489 * math/libm-test.inc (MAX_EXP): Remove
3490 (MIN_EXP): Define.
3491 (ulp): Use MIN_EXP - MANT_DIG.
3492 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3493
3b3c4d40
CD
34942013-05-31 Carlos O'Donell <carlos@redhat.com>
3495
3496 * po/be.po: Revert last change.
3497 * po/zh_CN.po: Likewise.
3498 * po/header.pot: Likewise.
3499
fab7ce3f
JM
35002013-05-31 Joseph Myers <joseph@codesourcery.com>
3501
3502 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3503 link-libc-deps to empty as target-specific variable.
3504 * Makerules (link-libc-args): New variable.
3505 (libc-for-link): Likewise.
3506 (link-libc-deps): Likewise.
3507 (lib%.so): Depend on $(link-libc-deps). Link with
3508 $(link-libc-args).
3509 (build-module): Link with $(link-libc-args).
3510 (build-module-asneeded): Likewise.
3511 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3512 list of objects.
3513 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3514 target-specific variable.
3515 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3516 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3517 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3518 libc.
3519 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3520 libc and ld.so.
3521 ($(objpfx)libpcprofile.so): Likewise.
3522 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3523 libc_nonshared.a.
3524 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3525 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3526 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3527 $(link-libc-deps).
3528 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3529 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3530 * login/Makefile ($(objpfx)libutil.so): Likewise.
3531 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3532 * math/Makefile ($(objpfx)libm.so): Likewise.
3533 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3534 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3535 variable instead of depending directly on libc.
3536 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3537 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3538 $(link-libc-deps).
3539 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3540 libc.
3541 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3542 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3543 ($(objpfx)libanl.so): Likewise.
3544 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3545 ld.so.
3546 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3547 $(link-libc-deps).
3548 * sysdeps/i386/fpu/Makefile: Remove file.
3549 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3550 ($(objpfx)libm.so): Remove dependency on ld.so.
3551
eca5920c
PF
35522013-05-30 Patsy Franklin <pfrankli@redhat.com>
3553
3554 [BZ # 15553]
3555 * nis/yp_xdr.c (XDRMAXNAME): Define.
3556 (XDRMAXRECORD): Define.
3557 (xdr_domainname): Use XDRMAXNAME.
3558 (xdr_mapname): Likewise.
3559 (xdr_peername): Likewise.
3560 (xdr_keydat): Use XDRMAXRECORD.
3561 (xdr_valdat): Likewise.
3562
35632013-05-30 Jeff Law <law@redhat.com>
96945714
JL
3564
3565 [BZ #14256]
3566 * manual/errno.texi (ESTALE): Update to account for more than
3567 just NFS file systems.
3568 * sysdeps/gnu/errlist.c: Regenerated.
3569
b9375348
SP
35702013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3571
3572 [BZ #15465]
3573 * elf/Makefile (tests): Add tst-null-argv.
3574 (modules-names): Add tst-null-argv-lib.
3575 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3576 (tst-null-argv-ENV): Set environment for tst-null-argv.
3577 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3578 (RTLD_PROGNAME): New macro.
3579 * elf/tst-null-argv.c: New test case.
3580 * elf/tst-null-argv-lib.c: Library for test case.
3581 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3582 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3583 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3584 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3585 * elf/dl-init.c (call_init): Likewise.
3586 (_dl_init): Likewise.
3587 * elf/dl-load.c (print_search_path): Likewise.
3588 (_dl_map_object): Likewise.
3589 * elf/dl-lookup.c (do_lookup_x): Likewise.
3590 (add_dependency): Likewise.
3591 (_dl_lookup_symbol_x): Likewise.
3592 (_dl_debug_bindings): Likewise.
3593 * elf/dl-open.c (_dl_show_scope): Likewise.
3594 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3595 * elf/dl-version.c (match_symbol): Likewise.
3596 (_dl_check_map_versions): Likewise.
3597 * elf/rtld.c (dl_main): Likewise.
3598 (print_unresolved): Use RTLD_PROGNAME.
3599 (print_missing_version): Likewise.
3600 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3601 (elf_machine_rela): Likewise.
3602 * sysdeps/powerpc/powerpc32/dl-machine.c
3603 (__process_machine_rela): Likewise.
3604 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3605 Likewise.
3606 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3607 Likewise.
3608 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3609 Likewise.
3610 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3611 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3612 Likewise.
3613 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3614 Likewise.
3615 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3616
8a9f20c8
CD
36172013-05-28 Carlos O'Donell <carlos@redhat.com>
3618
3619 * po/be.po: Add descriptive title.
3620 * po/zh_CN.po: Likewise.
3621 * po/header.pot: Likewise.
3622
0e60d68e
MF
36232013-05-28 Mike Frysinger <vapier@gentoo.org>
3624
3625 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3626 error message.
3627 (enlarge_archive): Likewise.
3628
56b672e9
BN
36292013-05-28 Ben North <ben@redfrontdoor.org>
3630
3631 * manual/arith.texi (frexp): It is the magnitude of the return
3632 value which lies in [0.5, 1), not the return value itself.
3633
5e056687
AZ
36342013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3635
3636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3637
2b66ef5d
TS
36382013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3639
528c2405
TS
3640 * stdio-common/bug26.c (main): Correct fscanf template.
3641
07b4c13d
TS
3642 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3643 declare _dl_skip_args.
3644
ec9dd97c
TS
3645 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3646 Don't declare.
3647
2b66ef5d
TS
3648 * manual/platform.texi: Add missing @end deftypefun.
3649
4f8dfe27
JM
36502013-05-24 Joseph Myers <joseph@codesourcery.com>
3651
0323d086
JM
3652 [BZ #15529]
3653 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3654 bit of mantissa of 2^16382.
3655 * math/libm-test.inc (hypot_test_data): Add more tests.
3656
dd4259b9
JM
3657 * math/libm-test.inc: Add drem and pow10 to list of tested
3658 functions.
3659 (pow10_test): New function.
3660 (drem_test): Likewise.
3661 (drem_test_tonearest): Likewise.
3662 (drem_test_towardzero): Likewise.
3663 (drem_test_downward): Likewise.
3664 (drem_test_upward): Likewise.
3665 (main): Call the new functions.
3666
4f8dfe27
JM
3667 * math/libm-test.inc (finite_test_data): Remove.
3668 (finite_test): Run tests from isfinite_test_data.
3669 (gamma_test_data): Remove.
3670 (gamma_test): Run tests from lgamma_test_data.
3671 * sysdeps/i386/fpu/libm-test-ulps: Update.
3672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3673
d116b7c4
AZ
36742013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3675
3676 * manual/platform.texi: Add PowerPC PPR function set documentation.
3677 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3678 implementation.
3679
e96e3767
CD
36802013-05-24 Carlos O'Donell <carlos@redhat.com>
3681
3682 * math/libm-test.inc (MAX_EXP): Define.
3683 (ULPDIFF): Define.
3684 (ulp): New function.
3685 (check_float_internal): Use ULPDIFF.
3686 (cpow_test): Disable failing test.
3687 (check_ulp): Test ulp() implemetnation.
3688 (main): Call check_ulp before starting tests.
3689
b679a606
JM
36902013-05-24 Joseph Myers <joseph@codesourcery.com>
3691
e8bdba36
JM
3692 * math/gen-libm-test.pl (generate_testfile): Do not handle
3693 START_DATA and END_DATA.
3694 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3695 END_DATA.
3696 (acos_tonearest_test_data): Likewise.
3697 (acos_towardzero_test_data): Likewise.
3698 (acos_downward_test_data): Likewise.
3699 (acos_upward_test_data): Likewise.
3700 (acosh_test_data): Likewise.
3701 (asin_test_data): Likewise.
3702 (asin_tonearest_test_data): Likewise.
3703 (asin_towardzero_test_data): Likewise.
3704 (asin_downward_test_data): Likewise.
3705 (asin_upward_test_data): Likewise.
3706 (asinh_test_data): Likewise.
3707 (atan_test_data): Likewise.
3708 (atanh_test_data): Likewise.
3709 (atan2_test_data): Likewise.
3710 (cabs_test_data): Likewise.
3711 (cacos_test_data): Likewise.
3712 (cacosh_test_data): Likewise.
3713 (carg_test_data): Likewise.
3714 (casin_test_data): Likewise.
3715 (casinh_test_data): Likewise.
3716 (catan_test_data): Likewise.
3717 (catanh_test_data): Likewise.
3718 (cbrt_test_data): Likewise.
3719 (ccos_test_data): Likewise.
3720 (ccosh_test_data): Likewise.
3721 (ceil_test_data): Likewise.
3722 (cexp_test_data): Likewise.
3723 (cimag_test_data): Likewise.
3724 (clog_test_data): Likewise.
3725 (clog10_test_data): Likewise.
3726 (conj_test_data): Likewise.
3727 (copysign_test_data): Likewise.
3728 (cos_test_data): Likewise.
3729 (cos_tonearest_test_data): Likewise.
3730 (cos_towardzero_test_data): Likewise.
3731 (cos_downward_test_data): Likewise.
3732 (cos_upward_test_data): Likewise.
3733 (cosh_test_data): Likewise.
3734 (cosh_tonearest_test_data): Likewise.
3735 (cosh_towardzero_test_data): Likewise.
3736 (cosh_downward_test_data): Likewise.
3737 (cosh_upward_test_data): Likewise.
3738 (cpow_test_data): Likewise.
3739 (cproj_test_data): Likewise.
3740 (creal_test_data): Likewise.
3741 (csin_test_data): Likewise.
3742 (csinh_test_data): Likewise.
3743 (csqrt_test_data): Likewise.
3744 (ctan_test_data): Likewise.
3745 (ctan_tonearest_test_data): Likewise.
3746 (ctan_towardzero_test_data): Likewise.
3747 (ctan_downward_test_data): Likewise.
3748 (ctan_upward_test_data): Likewise.
3749 (ctanh_test_data): Likewise.
3750 (ctanh_tonearest_test_data): Likewise.
3751 (ctanh_towardzero_test_data): Likewise.
3752 (ctanh_downward_test_data): Likewise.
3753 (ctanh_upward_test_data): Likewise.
3754 (erf_test_data): Likewise.
3755 (erfc_test_data): Likewise.
3756 (exp_test_data): Likewise.
3757 (exp_tonearest_test_data): Likewise.
3758 (exp_towardzero_test_data): Likewise.
3759 (exp_downward_test_data): Likewise.
3760 (exp_upward_test_data): Likewise.
3761 (exp10_test_data): Likewise.
3762 (exp2_test_data): Likewise.
3763 (expm1_test_data): Likewise.
3764 (fabs_test_data): Likewise.
3765 (fdim_test_data): Likewise.
3766 (finite_test_data): Likewise.
3767 (floor_test_data): Likewise.
3768 (fma_test_data): Likewise.
3769 (fma_towardzero_test_data): Likewise.
3770 (fma_downward_test_data): Likewise.
3771 (fma_upward_test_data): Likewise.
3772 (fmax_test_data): Likewise.
3773 (fmin_test_data): Likewise.
3774 (fmod_test_data): Likewise.
3775 (fpclassify_test_data): Likewise.
3776 (frexp_test_data): Likewise.
3777 (gamma_test_data): Likewise.
3778 (hypot_test_data): Likewise.
3779 (ilogb_test_data): Likewise.
3780 (isfinite_test_data): Likewise.
3781 (isgreater_test_data): Likewise.
3782 (isgreaterequal_test_data): Likewise.
3783 (isinf_test_data): Likewise.
3784 (isless_test_data): Likewise.
3785 (islessequal_test_data): Likewise.
3786 (islessgreater_test_data): Likewise.
3787 (isnan_test_data): Likewise.
3788 (isnormal_test_data): Likewise.
3789 (issignaling_test_data): Likewise.
3790 (isunordered_test_data): Likewise.
3791 (j0_test_data): Likewise.
3792 (j1_test_data): Likewise.
3793 (jn_test_data): Likewise.
3794 (ldexp_test_data): Likewise.
3795 (lgamma_test_data): Likewise.
3796 (lrint_test_data): Likewise.
3797 (lrint_tonearest_test_data): Likewise.
3798 (lrint_towardzero_test_data): Likewise.
3799 (lrint_downward_test_data): Likewise.
3800 (lrint_upward_test_data): Likewise.
3801 (llrint_test_data): Likewise.
3802 (llrint_tonearest_test_data): Likewise.
3803 (llrint_towardzero_test_data): Likewise.
3804 (llrint_downward_test_data): Likewise.
3805 (llrint_upward_test_data): Likewise.
3806 (log_test_data): Likewise.
3807 (log10_test_data): Likewise.
3808 (log1p_test_data): Likewise.
3809 (log2_test_data): Likewise.
3810 (logb_test_data): Likewise.
3811 (logb_downward_test_data): Likewise.
3812 (lround_test_data): Likewise.
3813 (llround_test_data): Likewise.
3814 (modf_test_data): Likewise.
3815 (nearbyint_test_data): Likewise.
3816 (nextafter_test_data): Likewise.
3817 (nexttoward_test_data): Likewise.
3818 (pow_test_data): Likewise.
3819 (pow_tonearest_test_data): Likewise.
3820 (pow_towardzero_test_data): Likewise.
3821 (pow_downward_test_data): Likewise.
3822 (pow_upward_test_data): Likewise.
3823 (remainder_test_data): Likewise.
3824 (remainder_tonearest_test_data): Likewise.
3825 (remainder_towardzero_test_data): Likewise.
3826 (remainder_downward_test_data): Likewise.
3827 (remainder_upward_test_data): Likewise.
3828 (remquo_test_data): Likewise.
3829 (rint_test_data): Likewise.
3830 (rint_tonearest_test_data): Likewise.
3831 (rint_towardzero_test_data): Likewise.
3832 (rint_downward_test_data): Likewise.
3833 (rint_upward_test_data): Likewise.
3834 (round_test_data): Likewise.
3835 (scalb_test_data): Likewise.
3836 (scalbn_test_data): Likewise.
3837 (scalbln_test_data): Likewise.
3838 (signbit_test_data): Likewise.
3839 (sin_test_data): Likewise.
3840 (sin_tonearest_test_data): Likewise.
3841 (sin_towardzero_test_data): Likewise.
3842 (sin_downward_test_data): Likewise.
3843 (sin_upward_test_data): Likewise.
3844 (sincos_test_data): Likewise.
3845 (sinh_test_data): Likewise.
3846 (sinh_tonearest_test_data): Likewise.
3847 (sinh_towardzero_test_data): Likewise.
3848 (sinh_downward_test_data): Likewise.
3849 (sinh_upward_test_data): Likewise.
3850 (sqrt_test_data): Likewise.
3851 (tan_test_data): Likewise.
3852 (tan_tonearest_test_data): Likewise.
3853 (tan_towardzero_test_data): Likewise.
3854 (tan_downward_test_data): Likewise.
3855 (tan_upward_test_data): Likewise.
3856 (tanh_test_data): Likewise.
3857 (tgamma_test_data): Likewise.
3858 (trunc_test_data): Likewise.
3859 (y0_test_data): Likewise.
3860 (y1_test_data): Likewise.
3861 (yn_test_data): Likewise.
3862 (significand_test_data): Likewise.
3863
b679a606
JM
3864 * math/gen-libm-test.pl (@functions): Remove variable.
3865 (generate_testfile): Don't handle START and END lines.
3866 * math/libm-test.inc (START): New macro.
3867 (END): Likewise.
3868 (END_COMPLEX): Likewise.
3869 (acos_test): Use END macro without arguments.
3870 (acos_test_tonearest): Likewise.
3871 (acos_test_towardzero): Likewise.
3872 (acos_test_downward): Likewise.
3873 (acos_test_upward): Likewise.
3874 (acosh_test): Likewise.
3875 (asin_test): Likewise.
3876 (asin_test_tonearest): Likewise.
3877 (asin_test_towardzero): Likewise.
3878 (asin_test_downward): Likewise.
3879 (asin_test_upward): Likewise.
3880 (asinh_test): Likewise.
3881 (atan_test): Likewise.
3882 (atanh_test): Likewise.
3883 (atan2_test): Likewise.
3884 (cabs_test): Likewise.
3885 (cacos_test): Use END_COMPLEX macro without arguments.
3886 (cacosh_test): Likewise.
3887 (carg_test): Use END macro without arguments.
3888 (casin_test): Use END_COMPLEX macro without arguments.
3889 (casinh_test): Likewise.
3890 (catan_test): Likewise.
3891 (catanh_test): Likewise.
3892 (cbrt_test): Use END macro without arguments.
3893 (ccos_test): Use END_COMPLEX macro without arguments.
3894 (ccosh_test): Likewise.
3895 (ceil_test): Use END macro without arguments.
3896 (cexp_test): Use END_COMPLEX macro without arguments.
3897 (cimag_test): Use END macro without arguments.
3898 (clog_test): Use END_COMPLEX macro without arguments.
3899 (clog10_test): Likewise.
3900 (conj_test): Likewise.
3901 (copysign_test): Use END macro without arguments.
3902 (cos_test): Likewise.
3903 (cos_test_tonearest): Likewise.
3904 (cos_test_towardzero): Likewise.
3905 (cos_test_downward): Likewise.
3906 (cos_test_upward): Likewise.
3907 (cosh_test): Likewise.
3908 (cosh_test_tonearest): Likewise.
3909 (cosh_test_towardzero): Likewise.
3910 (cosh_test_downward): Likewise.
3911 (cosh_test_upward): Likewise.
3912 (cpow_test): Use END_COMPLEX macro without arguments.
3913 (cproj_test): Likewise.
3914 (creal_test): Use END macro without arguments.
3915 (csin_test): Use END_COMPLEX macro without arguments.
3916 (csinh_test): Likewise.
3917 (csqrt_test): Likewise.
3918 (ctan_test): Likewise.
3919 (ctan_test_tonearest): Likewise.
3920 (ctan_test_towardzero): Likewise.
3921 (ctan_test_downward): Likewise.
3922 (ctan_test_upward): Likewise.
3923 (ctanh_test): Likewise.
3924 (ctanh_test_tonearest): Likewise.
3925 (ctanh_test_towardzero): Likewise.
3926 (ctanh_test_downward): Likewise.
3927 (ctanh_test_upward): Likewise.
3928 (erf_test): Use END macro without arguments.
3929 (erfc_test): Likewise.
3930 (exp_test): Likewise.
3931 (exp_test_tonearest): Likewise.
3932 (exp_test_towardzero): Likewise.
3933 (exp_test_downward): Likewise.
3934 (exp_test_upward): Likewise.
3935 (exp10_test): Likewise.
3936 (exp2_test): Likewise.
3937 (expm1_test): Likewise.
3938 (fabs_test): Likewise.
3939 (fdim_test): Likewise.
3940 (finite_test): Likewise.
3941 (floor_test): Likewise.
3942 (fma_test): Likewise.
3943 (fma_test_towardzero): Likewise.
3944 (fma_test_downward): Likewise.
3945 (fma_test_upward): Likewise.
3946 (fmax_test): Likewise.
3947 (fmin_test): Likewise.
3948 (fmod_test): Likewise.
3949 (fpclassify_test): Likewise.
3950 (frexp_test): Likewise.
3951 (gamma_test): Likewise.
3952 (hypot_test): Likewise.
3953 (ilogb_test): Likewise.
3954 (isfinite_test): Likewise.
3955 (isgreater_test): Likewise.
3956 (isgreaterequal_test): Likewise.
3957 (isinf_test): Likewise.
3958 (isless_test): Likewise.
3959 (islessequal_test): Likewise.
3960 (islessgreater_test): Likewise.
3961 (isnan_test): Likewise.
3962 (isnormal_test): Likewise.
3963 (issignaling_test): Likewise.
3964 (isunordered_test): Likewise.
3965 (j0_test): Likewise.
3966 (j1_test): Likewise.
3967 (jn_test): Likewise.
3968 (ldexp_test): Likewise.
3969 (lgamma_test): Likewise.
3970 (lrint_test): Likewise.
3971 (lrint_test_tonearest): Likewise.
3972 (lrint_test_towardzero): Likewise.
3973 (lrint_test_downward): Likewise.
3974 (lrint_test_upward): Likewise.
3975 (llrint_test): Likewise.
3976 (llrint_test_tonearest): Likewise.
3977 (llrint_test_towardzero): Likewise.
3978 (llrint_test_downward): Likewise.
3979 (llrint_test_upward): Likewise.
3980 (log_test): Likewise.
3981 (log10_test): Likewise.
3982 (log1p_test): Likewise.
3983 (log2_test): Likewise.
3984 (logb_test): Likewise.
3985 (logb_test_downward): Likewise.
3986 (lround_test): Likewise.
3987 (llround_test): Likewise.
3988 (modf_test): Likewise.
3989 (nearbyint_test): Likewise.
3990 (nextafter_test): Likewise.
3991 (nexttoward_test): Likewise.
3992 (pow_test): Likewise.
3993 (pow_test_tonearest): Likewise.
3994 (pow_test_towardzero): Likewise.
3995 (pow_test_downward): Likewise.
3996 (pow_test_upward): Likewise.
3997 (remainder_test): Likewise.
3998 (remainder_test_tonearest): Likewise.
3999 (remainder_test_towardzero): Likewise.
4000 (remainder_test_downward): Likewise.
4001 (remainder_test_upward): Likewise.
4002 (remquo_test): Likewise.
4003 (rint_test): Likewise.
4004 (rint_test_tonearest): Likewise.
4005 (rint_test_towardzero): Likewise.
4006 (rint_test_downward): Likewise.
4007 (rint_test_upward): Likewise.
4008 (round_test): Likewise.
4009 (scalb_test): Likewise.
4010 (scalbn_test): Likewise.
4011 (scalbln_test): Likewise.
4012 (signbit_test): Likewise.
4013 (sin_test): Likewise.
4014 (sin_test_tonearest): Likewise.
4015 (sin_test_towardzero): Likewise.
4016 (sin_test_downward): Likewise.
4017 (sin_test_upward): Likewise.
4018 (sincos_test): Likewise.
4019 (sinh_test): Likewise.
4020 (sinh_test_tonearest): Likewise.
4021 (sinh_test_towardzero): Likewise.
4022 (sinh_test_downward): Likewise.
4023 (sinh_test_upward): Likewise.
4024 (sqrt_test): Likewise.
4025 (tan_test): Likewise.
4026 (tan_test_tonearest): Likewise.
4027 (tan_test_towardzero): Likewise.
4028 (tan_test_downward): Likewise.
4029 (tan_test_upward): Likewise.
4030 (tanh_test): Likewise.
4031 (tgamma_test): Likewise.
4032 (trunc_test): Likewise.
4033 (y0_test): Likewise.
4034 (y1_test): Likewise.
4035 (yn_test): Likewise.
4036 (significand_test): Likewise.
4037
bae143d2
OB
40382013-05-24 Ondřej Bílka <neleai@seznam.cz>
4039
4040 [BZ #15381]
4041 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4042
9323d39b
EM
40432013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4044
d4ea44a0 4045 [BZ #14894]
9323d39b
EM
4046 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4047 __ppc_mdoio and __ppc_mdoom.
4048 * manual/platform.texi: Document new functions __ppc_yield,
4049 __ppc_mdoio and __ppc_mdoom.
4050
13e23af7
CD
40512013-05-22 Carlos O'Donell <carlos@redhat.com>
4052
4053 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4054 (main): Mention "tls" pseudo-hwcap is legacy.
4055 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4056
351fe550
JM
40572013-05-22 Joseph Myers <joseph@codesourcery.com>
4058
4059 * math/gen-libm-test.pl (parse_args): Output only string of
4060 arguments as text for test name, not full call or descriptions of
4061 tests for extra outputs.
4062 (generate_testfile): Do not pass function name to parse_args.
4063 Generate this_func variable from START.
4064 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4065 field to arg_str.
4066 (struct test_ff_f_data): Likewise.
4067 (test_ff_f_data_nexttoward): Likewise.
4068 (struct test_fi_f_data): Likewise.
4069 (struct test_fl_f_data): Likewise.
4070 (struct test_if_f_data): Likewise.
4071 (struct test_fff_f_data): Likewise.
4072 (struct test_c_f_data): Likewise.
4073 (struct test_f_f1_data): Likewise. Remove field extra_name.
4074 (struct test_fF_f1_data): Likewise.
4075 (struct test_ffI_f1_data): Likewise.
4076 (struct test_c_c_data): Rename test_name field to arg_str.
4077 (struct test_cc_c_data): Likewise.
4078 (struct test_f_i_data): Likewise.
4079 (struct test_ff_i_data): Likewise.
4080 (struct test_f_l_data): Likewise.
4081 (struct test_f_L_data): Likewise.
4082 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4083 and extra2_name.
4084 (COMMON_TEST_SETUP): New macro.
4085 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4086 (COMMON_TEST_CLEANUP): Likewise.
4087 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4088 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4089 macros.
4090 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4091 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4092 macros.
4093 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4094 (RUN_TEST_fff_f): Take argument string. Call new setup and
4095 cleanup macros.
4096 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4097 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4098 macros.
4099 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4100 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4101 macros.
4102 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4103 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4104 cleanup macros.
4105 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4106 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4107 cleanup macros.
4108 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4109 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4110 cleanup macros.
4111 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4112 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4113 macros.
4114 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4115 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4116 macros.
4117 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4118 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4119 macros.
4120 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4121 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4122 cleanup macros.
4123 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4124 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4125 cleanup macros.
4126 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4127 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4128 macros.
4129 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4130 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4131 cleanup macros.
4132 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4133 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4134 macros.
4135 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4136 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4137 macros.
4138 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4139 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4140 cleanup macros.
4141 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4142
85118d4d
EBM
41432013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4144
4145 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4146 to _sifields.sigfault.
4147 (si_addr_lsb): Define new macro.
4148 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4149 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4150 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4151
7a44c18f
CD
41522013-05-03 Carlos O'Donell <carlos at redhat.com>
4153
4154 [BZ #15441]
4155 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4156 returns -1.
4157 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4158 null return -1.
4159 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4160 loading the domain.
4161
b50a7181
JM
41622013-05-22 Joseph Myers <joseph@codesourcery.com>
4163
4164 * math/gen-libm-test.pl (parse_args): Do not include expected
4165 result in test name.
4166 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4167 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4168 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4169 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4170 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4172
051063c8
SP
41732013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4174
3ce9e010
SP
4175 * benchtests/Makefile: Sort function entries.
4176
051063c8
SP
4177 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4178 tanh, asinh, acosh, atanh.
4179 * benchtests/acos-inputs: New file.
4180 * benchtests/acosh-inputs: New file.
4181 * benchtests/asin-inputs: New file.
4182 * benchtests/asinh-inputs: New file.
4183 * benchtests/atanh-inputs: New file.
4184 * benchtests/cosh-inputs: New file.
4185 * benchtests/log-inputs: New file.
4186 * benchtests/sinh-inputs: New file.
4187 * benchtests/tanh-inputs: New file.
4188
47c22455
DL
41892013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4190
4191 [BZ #15339]
4192 * posix/tst-getaddrinfo4.c: New test.
4193 * posix/Makefile (tests): Add it.
4194
3d04f5db
SP
41952013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4196
4197 [BZ #15339]
4198 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4199 when no services were used.
4200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4201 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4202
d5dd6189
AS
42032013-05-21 Andreas Schwab <schwab@suse.de>
4204
4205 [BZ #15014]
4206 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4207 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4208 successful.
4209 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4210 redundant variable declarations and reallocation of buffer when
4211 parsing as IPv6 address. Always set NSS status when called from
4212 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4213 buffer too small. Correct computation of needed size.
4214 * nss/Makefile (tests): Add test-digits-dots.
4215 * nss/test-digits-dots.c: New test.
4216
fef94eab
SP
42172013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4218
4219 * benchtests/Makefile: Remove instructions for adding
4220 benchmark tests.
4221 * benchtests/README: New file to explain how to execute and
4222 enhance the benchmark tests.
4223
e39adf43
AS
42242013-05-21 Andreas Schwab <schwab@suse.de>
4225
4226 [BZ #15493]
4227 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4228 * setjmp/tst-sigsetjmp.c: New test.
4229
b2b671b6
OB
42302013-05-20 Ondřej Bílka <neleai@seznam.cz>
4231
4232 * sysdeps/x86_64/memset.S (memset): New implementation.
4233 (__bzero): Likewise.
4234 (__memset_tail): New function.
4235
2d48b41c
OB
42362013-05-20 Ondřej Bílka <neleai@seznam.cz>
4237
4238 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4239 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4240 __memcpy_sse2_unaligned ifunc selection.
4241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4242 Add memcpy-sse2-unaligned.S.
4243 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4244 Add: __memcpy_sse2_unaligned.
4245
f16cc3eb
JM
42462013-05-19 Joseph Myers <joseph@codesourcery.com>
4247
3e694268
JM
4248 [BZ #15490]
4249 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4250 math_force_eval before restoring floating-point envrionment.
4251 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4252 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4253 Likewise.
4254 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4255 <math_private.h>.
4256 (__nearbyintl): Use math_force_eval before restoring
4257 floating-point environment.
4258 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4259
db62a907
JM
4260 * math/gen-libm-test.pl (special_functions): Remove.
4261 (parse_args): Don't handle TEST_extra. Handle functions with no
4262 return value.
4263 * math/libm-test.inc (struct test_sincos_data): Replace with
4264 struct test_fFF_11_data.
4265 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4266 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4267 (sincos_test_data): Change element type to struct
4268 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4269 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4270 RUN_TEST_LOOP_sincos.
4271 * math/README.libm-test: Don't mention special handling of
4272 individual functions.
4273 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4274 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4275 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4276 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4277 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4279
f16cc3eb
JM
4280 * math/gen-libm-test.pl (get_variable): Remove function.
4281 (parse_args): Don't show pointer parameters to call in test
4282 names. Use "extra output N" in test names for extra outputs
4283 rather than naming variables.
4284
3779b5b6
JM
42852013-05-18 Joseph Myers <joseph@codesourcery.com>
4286
2ee094ff
JM
4287 [BZ #15488]
4288 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4289 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4290 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4291 double tests.
4292 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4293 disable.
4294 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4295 check_long_double.
4296
3779b5b6
JM
4297 * math/gen-libm-test.pl (@tests): Remove variable.
4298 ($count): Likewise.
4299 (new_test): Remove function.
4300 (show_exceptions): New function.
4301 (special_functions): Use show_exceptions instead of new_test.
4302 (parse_args): Likewise.
4303 (generate_testfile): Pass only function name in generated call to
4304 print_max_error or print_complex_max_error.
4305 (get_ulps): Do not handle complex tests specially.
4306 (output_test): Rename to ...
4307 (get_all_ulps_for_test): ... this. Return a string rather than
4308 printing to a file. Require ulps to be present.
4309 (output_ulps): Generate arrays rather than #defines.
4310 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4311 (struct ulp_data): New type.
4312 (BUILD_COMPLEX_ULP): Remove macro.
4313 (compare_ulp_data): New function.
4314 (find_ulps): Likewise.
4315 (find_test_ulps): Likewise.
4316 (find_function_ulps): Likewise.
4317 (find_complex_function_ulps): Likewise.
4318 (print_max_error): Determine allowed ulps using
4319 find_function_ulps.
4320 (print_complex_max_error): Determine allowed ulps using
4321 find_complex_function_ulps.
4322 (check_float_internal): Determine max ulps using find_test_ulps.
4323 (check_float): Do not take max_ulp parameter. Update call to
4324 check_float_internal.
4325 (check_complex): Likewise.
4326 (check_int): Do not take max_ulp parameter.
4327 (check_long): Likewise.
4328 (check_bool): Likewise.
4329 (check_longlong): Likewise.
4330 (struct test_f_f_data): Remove max_ulp field.
4331 (struct test_ff_f_data): Likewise.
4332 (struct test_ff_f_data_nexttoward): Likewise.
4333 (struct test_fi_f_data): Likewise.
4334 (struct test_fl_f_data): Likewise.
4335 (struct test_if_f_data): Likewise.
4336 (struct test_fff_f_data): Likewise.
4337 (struct test_c_f_data): Likewise.
4338 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4339 (struct test_fF_f1_data): Likewise.
4340 (struct test_ffI_f1_data): Likewise.
4341 (struct test_c_c_data): Remove max_ulp field.
4342 (struct test_cc_c_data): Likewise.
4343 (struct test_f_i_data): Likewise.
4344 (struct test_ff_i_data): Likewise.
4345 (struct test_f_l_data): Likewise.
4346 (struct test_f_L_data): Likewise.
4347 (struct test_sincos_data): Likewise.
4348 (RUN_TEST_f_f): Do not handle ulps.
4349 (RUN_TEST_LOOP_f_f): Likewise.
4350 (RUN_TEST_2_f): Likewise.
4351 (RUN_TEST_LOOP_2_f): Likewise.
4352 (RUN_TEST_fff_f): Likewise.
4353 (RUN_TEST_LOOP_fff_f): Likewise.
4354 (RUN_TEST_c_f): Likewise.
4355 (RUN_TEST_LOOP_c_f): Likewise.
4356 (RUN_TEST_f_f1): Likewise.
4357 (RUN_TEST_LOOP_f_f1): Likewise.
4358 (RUN_TEST_fF_f1): Likewise.
4359 (RUN_TEST_LOOP_fF_f1): Likewise.
4360 (RUN_TEST_fI_f1): Likewise.
4361 (RUN_TEST_LOOP_fI_f1): Likewise.
4362 (RUN_TEST_ffI_f1): Likewise.
4363 (RUN_TEST_LOOP_ffI_f1): Likewise.
4364 (RUN_TEST_c_c): Likewise.
4365 (RUN_TEST_LOOP_c_c): Likewise.
4366 (RUN_TEST_cc_c): Likewise.
4367 (RUN_TEST_LOOP_cc_c): Likewise.
4368 (RUN_TEST_f_i): Likewise.
4369 (RUN_TEST_LOOP_f_i): Likewise.
4370 (RUN_TEST_f_i_tg): Likewise.
4371 (RUN_TEST_LOOP_f_i_tg): Likewise.
4372 (RUN_TEST_ff_i_tg): Likewise.
4373 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4374 (RUN_TEST_f_b): Likewise.
4375 (RUN_TEST_LOOP_f_b): Likewise.
4376 (RUN_TEST_f_b_tg): Likewise.
4377 (RUN_TEST_LOOP_f_b_tg): Likewise.
4378 (RUN_TEST_f_l): Likewise.
4379 (RUN_TEST_LOOP_f_l): Likewise.
4380 (RUN_TEST_f_L): Likewise.
4381 (RUN_TEST_LOOP_f_L): Likewise.
4382 (RUN_TEST_sincos): Likewise.
4383 (RUN_TEST_LOOP_sincos): Likewise.
4384
8269107f
JM
43852013-05-17 Joseph Myers <joseph@codesourcery.com>
4386
bb38759d
JM
4387 [BZ #15480]
4388 [BZ #15485]
4389 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4390 main case of finite arguments, set rounding mode to FE_TONEAREST
4391 and discard exceptions.
4392 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4393 exceptions.
4394 (remainder_tonearest_test_data): New variable.
4395 (remainder_test_tonearest): New function.
4396 (remainder_towardzero_test_data): New variable.
4397 (remainder_test_towardzero): New function.
4398 (remainder_downward_test_data): New variable.
4399 (remainder_test_downward): New function.
4400 (remainder_upward_test_data): New variable.
4401 (remainder_test_upward): New function.
4402 (main): Call the new test functions.
4403
a00bdcf0
JM
4404 * math/libm-test.inc (struct test_f_f1_data): Remove field
4405 extra_init.
4406 (struct test_fF_f1_data): Likewise.
4407 (struct test_ffI_f1_data): Likewise.
4408 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4409 based on value of EXTRA_EXPECTED.
4410 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4411 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4412 EXTRA_VAR based on value of EXTRA_EXPECTED.
4413 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4414 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4415 EXTRA_VAR based on value of EXTRA_EXPECTED.
4416 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4417 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4418 EXTRA_VAR based on value of EXTRA_EXPECTED.
4419 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4420 * math/gen-libm-test.pl (parse_args): Don't output initializers
4421 for extra output values.
4422
de407f79
JM
4423 * math/libm-test.inc (check_int): Expect result to be exactly
4424 equal to expected value and do not handle ulps.
4425 (check_long): Likewise.
4426 (check_longlong): Likewise.
4427
8269107f
JM
4428 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4429 exceptions.
4430 (cimag_test_data): Likewise.
4431 (conj_test_data): Likewise.
4432 (copysign_test_data): Likewise.
4433 (cproj_test_data): Likewise.
4434 (creal_test_data): Likewise.
4435 (fabs_test_data): Likewise.
4436 (fdim_test_data): Likewise.
4437 (finite_test_data): Likewise.
4438 (floor_test_data): Likewise.
4439 (fmax_test_data): Likewise.
4440 (fmin_test_data): Likewise.
4441 (fmod_test_data): Likewise.
4442 (fpclassify_test_data): Likewise.
4443 (frexp_test_data): Likewise.
4444 (ilogb_test_data): Likewise.
4445 (isfinite_test_data): Likewise.
4446 (isgreater_test_data): Likewise.
4447 (isgreaterequal_test_data): Likewise.
4448 (isinf_test_data): Likewise.
4449 (isless_test_data): Likewise.
4450 (islessequal_test_data): Likewise.
4451 (islessgreater_test_data): Likewise.
4452 (isnan_test_data): Likewise.
4453 (isnormal_test_data): Likewise.
4454 (issignaling_test_data): Likewise.
4455 (isunordered_test_data): Likewise.
4456 (ldexp_test_data): Likewise.
4457 (lrint_test_data): Likewise.
4458 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4459 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4460 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4461 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4462 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4463 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4464 test input.
4465 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4466 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4467 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4468 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4469 that test input.
4470 (lrint_downward_test_data): Test for "inexact" exceptions.
4471 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4472 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4473 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4474 test input.
4475 (lrint_upward_test_data): Test for "inexact" exceptions.
4476 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4477 test input.
4478 (llrint_test_data): Test for "inexact" exceptions.
4479 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4480 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4481 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4482 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4483 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4484 (llrint_downward_test_data): Test for "inexact" exceptions.
4485 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4486 (llrint_upward_test_data): Test for "inexact" exceptions.
4487 (logb_test_data): Likewise.
4488 (logb_downward_test_data): Likewise.
4489 (nextafter_test_data): Likewise.
4490 (nexttoward_test_data): Likewise.
4491 (remainder_test_data): Likewise.
4492 (remquo_test_data): Likewise.
4493 (scalbn_test_data): Likewise.
4494 (scalbln_test_data): Likewise.
4495 (signbit_test_data): Likewise.
4496 (sqrt_test_data): Likewise.
4497 (significand_test_data): Likewise.
4498
48a18de1
SP
44992013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4500
4501 [BZ #15424]
4502 * benchtests/bench-modf.c (struct args): Mark arg0 as
4503 volatile.
4504 * scripts/bench.pl: Mark members of struct args as volatile.
4505
13d3b41a
AZ
45062013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4507
68191c1d 4508 [BZ # 15497]
13d3b41a
AZ
4509 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4510 negative infinity on POWER6 or lower.
4511 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4512
2848b105
MR
45132013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4514
4515 [BZ #15442]
4516 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4517 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4518 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4519 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4520 (_FP_SETQNAN): New macro.
4521 (_FP_SETQNAN_SEMIRAW): Likewise.
4522 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4523 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4524 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4525 (FP_EXTEND): Use _FP_FRAC_SNANP.
4526 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4527 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4528 into account.
4529 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4530 New macro.
4531 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4532 Likewise.
4533
323e5cb7
JM
45342013-05-16 Joseph Myers <joseph@codesourcery.com>
4535
c58b274f
JM
4536 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4537 with DIVIDE_BY_ZERO_EXCEPTION.
4538 (gamma_test_data): Likewise.
4539 (lgamma_test_data): Likewise.
4540 (log_test_data): Likewise.
4541 (log10_test_data): Likewise.
4542 (log2_test_data): Likewise.
4543 (tgamma_test_data): Likewise.
4544
0ab34904
JM
4545 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4546 (acos_test_tonearest): Likewise.
4547 (acos_test_towardzero): Likewise.
4548 (acos_test_downward): Likewise.
4549 (acos_test_upward): Likewise.
4550 (acosh_test): Likewise.
4551 (asin_test): Likewise.
4552 (asin_test_tonearest): Likewise.
4553 (asin_test_towardzero): Likewise.
4554 (asin_test_downward): Likewise.
4555 (asin_test_upward): Likewise.
4556 (asinh_test): Likewise.
4557 (atan_test): Likewise.
4558 (atanh_test): Likewise.
4559 (atan2_test): Likewise.
4560 (cabs_test): Likewise.
4561 (cacos_test): Likewise.
4562 (cacosh_test): Likewise.
4563 (casin_test): Likewise.
4564 (casinh_test): Likewise.
4565 (catan_test): Likewise.
4566 (catanh_test): Likewise.
4567 (cbrt_test): Likewise.
4568 (ccos_test): Likewise.
4569 (ccosh_test): Likewise.
4570 (cexp_test): Likewise.
4571 (clog_test): Likewise.
4572 (clog10_test): Likewise.
4573 (cos_test): Likewise.
4574 (cos_test_tonearest): Likewise.
4575 (cos_test_towardzero): Likewise.
4576 (cos_test_downward): Likewise.
4577 (cos_test_upward): Likewise.
4578 (cosh_test): Likewise.
4579 (cosh_test_tonearest): Likewise.
4580 (cosh_test_towardzero): Likewise.
4581 (cosh_test_downward): Likewise.
4582 (cosh_test_upward): Likewise.
4583 (cpow_test): Likewise.
4584 (csin_test): Likewise.
4585 (csinh_test): Likewise.
4586 (csqrt_test): Likewise.
4587 (ctan_test): Likewise.
4588 (ctan_test_tonearest): Likewise.
4589 (ctan_test_towardzero): Likewise.
4590 (ctan_test_downward): Likewise.
4591 (ctan_test_upward): Likewise.
4592 (ctanh_test): Likewise.
4593 (ctanh_test_tonearest): Likewise.
4594 (ctanh_test_towardzero): Likewise.
4595 (ctanh_test_downward): Likewise.
4596 (ctanh_test_upward): Likewise.
4597 (erf_test): Likewise.
4598 (erfc_test): Likewise.
4599 (exp_test): Likewise.
4600 (exp_test_tonearest): Likewise.
4601 (exp_test_towardzero): Likewise.
4602 (exp_test_downward): Likewise.
4603 (exp_test_upward): Likewise.
4604 (exp10_test): Likewise.
4605 (exp2_test): Likewise.
4606 (expm1_test): Likewise.
4607 (fmod_test): Likewise.
4608 (gamma_test): Likewise.
4609 (hypot_test): Likewise.
4610 (j0_test): Likewise.
4611 (j1_test): Likewise.
4612 (jn_test): Likewise.
4613 (lgamma_test): Likewise.
4614 (log_test): Likewise.
4615 (log10_test): Likewise.
4616 (log1p_test): Likewise.
4617 (log2_test): Likewise.
4618 (logb_test_downward): Likewise.
4619 (pow_test): Likewise.
4620 (pow_test_tonearest): Likewise.
4621 (pow_test_towardzero): Likewise.
4622 (pow_test_downward): Likewise.
4623 (pow_test_upward): Likewise.
4624 (remainder_test): Likewise.
4625 (remquo_test): Likewise.
4626 (sin_test): Likewise.
4627 (sin_test_tonearest): Likewise.
4628 (sin_test_towardzero): Likewise.
4629 (sin_test_downward): Likewise.
4630 (sin_test_upward): Likewise.
4631 (sincos_test): Likewise.
4632 (sinh_test): Likewise.
4633 (sinh_test_tonearest): Likewise.
4634 (sinh_test_towardzero): Likewise.
4635 (sinh_test_downward): Likewise.
4636 (sinh_test_upward): Likewise.
4637 (sqrt_test): Likewise.
4638 (tan_test): Likewise.
4639 (tan_test_tonearest): Likewise.
4640 (tan_test_towardzero): Likewise.
4641 (tan_test_downward): Likewise.
4642 (tan_test_upward): Likewise.
4643 (tanh_test): Likewise.
4644 (tgamma_test): Likewise.
4645 (y0_test): Likewise.
4646 (y1_test): Likewise.
4647 (yn_test): Likewise.
4648
323e5cb7
JM
4649 * math/gen-libm-test.pl (adjust_arg): Remove function.
4650 (special_function): Remove argument $in_func. Only handle
4651 generating output for tables of tests, not inside functions.
4652 (parse_args): Likewise.
4653 (generate_testfile): Remove variable $in_func. Update call to
4654 parse_args.
4655 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4656 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4657 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4658 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4659 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4660 (MAX_VALUE_INIT): Rename macro to max_value.
4661 (MIN_VALUE_INIT): Rename macro to min_value.
4662 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4663 (plus_zero): Remove variable.
4664 (minus_zero): Likewise.
4665 (plus_infty): Likewise.
4666 (minus_infty): Likewise.
4667 (qnan_value): Likewise.
4668 (max_value): Likewise.
4669 (min_value): Likewise.
4670 (min_subnorm_value): Likewise.
4671
e054f494
RA
46722013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4673
4674 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4675 uint64_t or uint32_t usage.
4676 * crypt/sha256-block.c: Likewise.
4677 * crypt/sha256-crypt.c: Likewise.
4678 * crypt/sha256.c: Likewise.
4679 * crypt/sha512-block.c: Likewise.
4680 * crypt/sha512-crypt.c: Likewise.
4681 * crypt/sha512.c: Likewise.
4682 * debug/backtrace-tst.c: Likewise.
4683 * debug/pcprofiledump.c: Likewise.
4684 * elf/cache.c: Likewise.
4685 * elf/dl-cache.c: Likewise.
4686 * elf/dl-misc.c: Likewise.
4687 * elf/dl-profile.c: Likewise.
4688 * elf/dl-support.c: Likewise.
4689 * elf/ldconfig.c: Likewise.
4690 * elf/sprof.c: Likewise.
4691 * iconv/dummy-repertoire.c: Likewise.
4692 * iconv/iconv_charmap.c: Likewise.
4693 * iconv/skeleton.c: Likewise.
4694 * iconvdata/8bit-generic.c: Likewise.
4695 * iconvdata/cp737.h: Likewise.
4696 * iconvdata/cp775.h: Likewise.
4697 * iconvdata/ibm1008.h: Likewise.
4698 * iconvdata/ibm1025.h: Likewise.
4699 * iconvdata/ibm1046.h: Likewise.
4700 * iconvdata/ibm1097.h: Likewise.
4701 * iconvdata/ibm1112.h: Likewise.
4702 * iconvdata/ibm1122.h: Likewise.
4703 * iconvdata/ibm1123.h: Likewise.
4704 * iconvdata/ibm1124.h: Likewise.
4705 * iconvdata/ibm1129.h: Likewise.
4706 * iconvdata/ibm1130.h: Likewise.
4707 * iconvdata/ibm1132.h: Likewise.
4708 * iconvdata/ibm1133.h: Likewise.
4709 * iconvdata/ibm1137.h: Likewise.
4710 * iconvdata/ibm1140.h: Likewise.
4711 * iconvdata/ibm1141.h: Likewise.
4712 * iconvdata/ibm1142.h: Likewise.
4713 * iconvdata/ibm1143.h: Likewise.
4714 * iconvdata/ibm1144.h: Likewise.
4715 * iconvdata/ibm1145.h: Likewise.
4716 * iconvdata/ibm1146.h: Likewise.
4717 * iconvdata/ibm1147.h: Likewise.
4718 * iconvdata/ibm1148.h: Likewise.
4719 * iconvdata/ibm1149.h: Likewise.
4720 * iconvdata/ibm1153.h: Likewise.
4721 * iconvdata/ibm1154.h: Likewise.
4722 * iconvdata/ibm1155.h: Likewise.
4723 * iconvdata/ibm1156.h: Likewise.
4724 * iconvdata/ibm1157.h: Likewise.
4725 * iconvdata/ibm1158.h: Likewise.
4726 * iconvdata/ibm1160.h: Likewise.
4727 * iconvdata/ibm1161.h: Likewise.
4728 * iconvdata/ibm1162.h: Likewise.
4729 * iconvdata/ibm1163.h: Likewise.
4730 * iconvdata/ibm1164.h: Likewise.
4731 * iconvdata/ibm1166.h: Likewise.
4732 * iconvdata/ibm1167.h: Likewise.
4733 * iconvdata/ibm12712.h: Likewise.
4734 * iconvdata/ibm1390.h: Likewise.
4735 * iconvdata/ibm1399.h: Likewise.
4736 * iconvdata/ibm16804.h: Likewise.
4737 * iconvdata/ibm4517.h: Likewise.
4738 * iconvdata/ibm4899.h: Likewise.
4739 * iconvdata/ibm4909.h: Likewise.
4740 * iconvdata/ibm4971.h: Likewise.
4741 * iconvdata/ibm5347.h: Likewise.
4742 * iconvdata/ibm803.h: Likewise.
4743 * iconvdata/ibm856.h: Likewise.
4744 * iconvdata/ibm901.h: Likewise.
4745 * iconvdata/ibm902.h: Likewise.
4746 * iconvdata/ibm9030.h: Likewise.
4747 * iconvdata/ibm9066.h: Likewise.
4748 * iconvdata/ibm921.h: Likewise.
4749 * iconvdata/ibm922.h: Likewise.
4750 * iconvdata/ibm9448.h: Likewise.
4751 * iconvdata/isiri-3342.h: Likewise.
4752 * iconvdata/jis0201.h: Likewise.
4753 * include/link.h: Likewise.
4754 * include/netdb.h: Likewise.
4755 * inet/check_native.c: Likewise.
4756 * inet/check_pf.c: Likewise.
4757 * inet/getipv4sourcefilter.c: Likewise.
4758 * inet/getnameinfo.c: Likewise.
4759 * inet/getsourcefilter.c: Likewise.
4760 * inet/htonl.c: Likewise.
4761 * inet/setipv4sourcefilter.c: Likewise.
4762 * inet/setsourcefilter.c: Likewise.
4763 * inet/test-inet6_opt.c: Likewise.
4764 * inet/tst-network.c: Likewise.
4765 * locale/C-collate.c: Likewise.
4766 * locale/C-ctype.c: Likewise.
4767 * locale/C-time.c: Likewise.
4768 * locale/C-translit.h: Likewise.
4769 * locale/loadarchive.c: Likewise.
4770 * locale/programs/3level.h: Likewise.
4771 * locale/programs/charmap.c: Likewise.
4772 * locale/programs/charmap.h: Likewise.
4773 * locale/programs/ld-address.c: Likewise.
4774 * locale/programs/ld-collate.c: Likewise.
4775 * locale/programs/ld-ctype.c: Likewise.
4776 * locale/programs/ld-identification.c: Likewise.
4777 * locale/programs/ld-measurement.c: Likewise.
4778 * locale/programs/ld-messages.c: Likewise.
4779 * locale/programs/ld-monetary.c: Likewise.
4780 * locale/programs/ld-name.c: Likewise.
4781 * locale/programs/ld-numeric.c: Likewise.
4782 * locale/programs/ld-paper.c: Likewise.
4783 * locale/programs/ld-telephone.c: Likewise.
4784 * locale/programs/ld-time.c: Likewise.
4785 * locale/programs/linereader.c: Likewise.
4786 * locale/programs/locale.c: Likewise.
4787 * locale/programs/locarchive.c: Likewise.
4788 * locale/programs/locfile.h: Likewise.
4789 * locale/programs/repertoire.c: Likewise.
4790 * locale/programs/simple-hash.c: Likewise.
4791 * locale/programs/simple-hash.h: Likewise.
4792 * malloc/memusage.c: Likewise.
4793 * malloc/memusagestat.c: Likewise.
4794 * nis/nis_defaults.c: Likewise.
4795 * nis/nis_hash.c: Likewise.
4796 * nis/nis_print.c: Likewise.
4797 * nis/nis_xdr.c: Likewise.
4798 * nscd/connections.c: Likewise.
4799 * nscd/hstcache.c: Likewise.
4800 * nscd/nscd_gethst_r.c: Likewise.
4801 * nscd/nscd_getserv_r.c: Likewise.
4802 * nscd/nscd_helper.c: Likewise.
4803 * nscd/servicescache.c: Likewise.
4804 * nss/makedb.c: Likewise.
4805 * nss/nss_db/db-XXX.c: Likewise.
4806 * nss/nss_db/db-initgroups.c: Likewise.
4807 * nss/nss_db/db-netgrp.c: Likewise.
4808 * nss/nss_files/files-network.c: Likewise.
4809 * nss/nss_files/files-parse.c: Likewise.
4810 * posix/bug-regex5.c: Likewise.
4811 * posix/fnmatch_loop.c: Likewise.
4812 * posix/regcomp.c: Likewise.
4813 * posix/regexec.c: Likewise.
4814 * posix/tst-rfc3484-2.c: Likewise.
4815 * posix/tst-rfc3484-3.c: Likewise.
4816 * posix/tst-rfc3484.c: Likewise.
4817 * resolv/nss_dns/dns-canon.c: Likewise.
4818 * resolv/nss_dns/dns-network.c: Likewise.
4819 * resolv/res_init.c: Likewise.
4820 * resolv/res_mkquery.c: Likewise.
4821 * resolv/tst-aton.c: Likewise.
4822 * stdlib/cxa_atexit.c: Likewise.
4823 * stdlib/cxa_finalize.c: Likewise.
4824 * stdlib/gen-fpioconst.c: Likewise.
4825 * stdlib/strtol_l.c: Likewise.
4826 * string/tst-endian.c: Likewise.
4827 * sunrpc/auth_des.c: Likewise.
4828 * sunrpc/clnt_udp.c: Likewise.
4829 * sunrpc/rtime.c: Likewise.
4830 * sunrpc/svcauth_des.c: Likewise.
4831 * sunrpc/xdr.c: Likewise.
4832 * sunrpc/xdr_intXX_t.c: Likewise.
4833 * sunrpc/xdr_rec.c: Likewise.
4834 * sysdeps/generic/ldconfig.h: Likewise.
4835 * sysdeps/generic/ldsodefs.h: Likewise.
4836 * sysdeps/generic/memusage.h: Likewise.
4837 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4838 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4839 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4840 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4841 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4842 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4843 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4844 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4845 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4846 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4847 * sysdeps/posix/getaddrinfo.c: Likewise.
4848 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4849 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4850 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4851 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4852 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4853 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4854 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4855 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4856 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4857 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4858 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4859 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4860 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4861 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4862 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4863 * sysdeps/x86_64/dl-tls.h: Likewise.
4864 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4865 * time/alt_digit.c: Likewise.
4866 * time/era.c: Likewise.
4867 * wcsmbs/tst-c16c32-1.c: Likewise.
4868
8c75f674
JM
48692013-05-16 Joseph Myers <joseph@codesourcery.com>
4870
4871 * math/libm-test.inc (struct test_sincos_data): New type.
4872 (RUN_TEST_LOOP_sincos): New macro.
4873 (sincos_test_data): New variable.
4874 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4875
e6e49e59
RH
48762013-05-16 Richard Henderson <rth@redhat.com>
4877
4878 * math/atest-exp2.c (LIMB64): New macro.
4879 (CONSTSZ): New macro.
4880 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4881 (hexdig): Move ...
4882 (print_mpn_fp): ... to function scope.
4883 (read_mpn_hex): Remove.
4884 (get_log2): Remove.
4885 (exp2_mpn): Use mp_log2.
4886 (main): Use mp_exp1.
4887
15c7c18d
JM
48882013-05-16 Joseph Myers <joseph@codesourcery.com>
4889
105a07df
JM
4890 * math/libm-test.inc: Remove comment about not testing "inexact"
4891 exceptions.
4892 (INEXACT_EXCEPTION): New macro.
4893 (NO_INEXACT_EXCEPTION): Likewise.
4894 (INVALID_EXCEPTION_OK): Update value.
4895 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4896 (OVERFLOW_EXCEPTION_OK): Likewise.
4897 (UNDERFLOW_EXCEPTION_OK): Likewise.
4898 (IGNORE_ZERO_INF_SIGN): Likewise.
4899 (ERRNO_UNCHANGED): Likewise.
4900 (ERRNO_EDOM): Likewise.
4901 (ERRNO_ERANGE): Likewise.
4902 (test_exceptions): Handle testing "inexact" exceptions.
4903 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4904 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4905 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4906 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4907 INEXACT_EXCEPTION.
4908 (rint_towardzero_test_data): Likewise.
4909 (rint_downward_test_data): Likewise.
4910 (rint_upward_test_data): Likewise.
4911
e9eee333
JM
4912 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4913 with OVERFLOW_EXCEPTION.
4914 (exp10_test_data): Likewise.
4915 (exp2_test_data): Likewise.
4916 (expm1_test_data): Likewise.
4917 (lgamma_test_data): Likewise.
4918 (pow_test_data): Likewise.
4919 (tgamma_test_data): Likewise.
4920 (yn_test_data): Remove duplicate test of overflow.
4921
1c38ff73
JM
4922 * math/libm-test.inc (struct test_cc_c_data): New type.
4923 (RUN_TEST_LOOP_cc_c): New macro.
4924 (cpow_test_data): New variable.
4925 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4926
15c7c18d
JM
4927 * math/libm-test.inc (struct test_f_L_data): New type.
4928 (RUN_TEST_LOOP_f_L): New macro.
4929 (llrint_test_data): New variable.
4930 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4931 (llrint_tonearest_test_data): New variable.
4932 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4933 (llrint_towardzero_test_data): New variable.
4934 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4935 (llrint_downward_test_data): New variable.
4936 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4937 (llrint_upward_test_data): New variable.
4938 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4939 (llround_test_data): New variable.
4940 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4941
f137ff13
PC
49422013-05-13 Peter Collingbourne <pcc@google.com>
4943
4944 * math/atest-exp2.c (get_log2): Remove const attribute.
4945
3608cb24
JM
49462013-05-15 Joseph Myers <joseph@codesourcery.com>
4947
4948 * math/libm-test.inc (struct test_f_l_data): New type.
4949 (RUN_TEST_LOOP_f_l): New macro.
4950 (lrint_test_data): New variable.
4951 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4952 (lrint_tonearest_test_data): New variable.
4953 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4954 (lrint_towardzero_test_data): New variable.
4955 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4956 (lrint_downward_test_data): New variable.
4957 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4958 (lrint_upward_test_data): New variable.
4959 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4960 (lround_test_data): New variable.
4961 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4962
39b1f617
PC
49632013-05-15 Peter Collingbourne <pcc@google.com>
4964
1deff3dc
PC
4965 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4966 (EXTRACT_WORDS64) Use where appropriate.
4967 (INSERT_WORDS64) Likewise.
4968
791f3ba0
PC
4969 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4970 constraints with x constraints.
4971 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4972
39b1f617
PC
4973 * malloc/obstack.c (_obstack_compat): Add initializer.
4974
12fba011
EM
49752013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4976
4977 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4978 si_trapno and add si_addr_lsb to _sifields.sigfault.
4979 (si_trapno): Remove macro.
4980 (si_addr_lsb): Define new macro.
4981 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4982
d369f531
JM
49832013-05-15 Joseph Myers <joseph@codesourcery.com>
4984
b861c6c4
JM
4985 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4986 instead of TEST_f_l.
4987 (llrint_test_tonearest): Likewise.
4988 (llrint_test_towardzero): Likewise.
4989 (llrint_test_downward): Likewise.
4990 (llrint_test_upward): Likewise.
4991 (llround_test): Likewise.
4992
7abeee12
JM
4993 * math/libm-test.inc (struct test_f_i_data): Add comment.
4994 (RUN_TEST_LOOP_f_b): New macro.
4995 (RUN_TEST_LOOP_f_b_tg): Likewise.
4996 (finite_test_data): New variable.
4997 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4998 (isfinite_test_data): New variable.
4999 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5000 (isinf_test_data): New variable.
5001 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5002 (isnan_test_data): New variable.
5003 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5004 (isnormal_test_data): New variable.
5005 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5006 (issignaling_test_data): New variable.
5007 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5008 (signbit_test_data): New variable.
5009 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5010
cbe8c4d3
JM
5011 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5012 with INVALID_EXCEPTION.
5013 (acosh_test_data): Likewise.
5014 (asin_test_data): Likewise.
5015 (atanh_test_data): Likewise.
5016 (fmod_test_data): Likewise.
5017 (log_test_data): Likewise.
5018 (log10_test_data): Likewise.
5019 (log2_test_data): Likewise.
5020 (pow_test_data): Likewise.
5021 (sqrt_test_data): Likewise.
5022 (y0_test_data): Likewise.
5023 (y1_test_data): Likewise.
5024 (yn_test_data): Likewise.
5025
5575c0e5
JM
5026 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5027 function contents.
5028
d369f531
JM
5029 * math/libm-test.inc (struct test_ff_i_data): New type.
5030 (RUN_TEST_LOOP_ff_i_tg): New macro.
5031 (isgreater_test_data): New variable.
5032 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5033 (isgreaterequal_test_data): New variable.
5034 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5035 (isless_test_data): New variable.
5036 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5037 (islessequal_test_data): New variable.
5038 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5039 (islessgreater_test_data): New variable.
5040 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5041 (isunordered_test_data): New variable.
5042 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5043
781fd748
DM
50442013-05-14 David S. Miller <davem@davemloft.net>
5045
5046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5047
87aa21df
JM
50482013-05-14 Joseph Myers <joseph@codesourcery.com>
5049
5e908270
JM
5050 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5051
f71172e5
JM
5052 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5053 extra_test to int.
5054 (struct test_f_i_data): Change type of max_ulp to int.
5055
8cfa635a
JM
5056 * math/libm-test.inc (test_ffI_f1_data): New type.
5057 (RUN_TEST_LOOP_ffI_f1): New macro.
5058 (remquo_test_data): New variable.
5059 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5060
2bcb36b2
JM
5061 * setjmp/tst-setjmp-fp.c: New file.
5062 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5063 (link-libm): New variable.
5064 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5065
acbd839a
JM
5066 * math/libm-test.inc (struct test_f_i_data): New type.
5067 (RUN_TEST_LOOP_f_i): New macro.
5068 (RUN_TEST_LOOP_f_i_tg): Likewise.
5069 (fpclassify_test_data): New variable.
5070 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5071 (ilogb_test_data): New variable.
5072 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5073
e414d745
JM
5074 * math/libm-test.inc (scalbln_test): Correct function name in END
5075 call.
5076
d9c2a0fd
JM
5077 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5078 (RUN_TEST_LOOP_fI_f1): New macro.
5079 (frexp_test_data): New variable.
5080 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5081
9dc9095d
JM
5082 * math/libm-test.inc (struct test_fF_f1_data): New type.
5083 (RUN_TEST_LOOP_fF_f1): New macro.
5084 (modf_test_data): New variable.
5085 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5086
87aa21df
JM
5087 * math/libm-test.inc (struct test_f_f1_data): New type.
5088 (RUN_TEST_LOOP_f_f1): New macro.
5089 (gamma_test_data): New variable.
5090 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5091 (lgamma_test_data): New variable.
5092 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5093
141af660
CD
50942013-05-13 Carlos O'Donell <carlos@redhat.com>
5095
5096 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5097 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5098 (main): Comment "tls" pseudo-hwcap.
5099
6d33265c
JM
51002013-05-13 Joseph Myers <joseph@codesourcery.com>
5101
68fc074c
JM
5102 * math/libm-test.inc (struct test_fl_f_data): New type.
5103 (RUN_TEST_LOOP_fl_f): New variable.
5104 (scalbln_test_data): New variable.
5105 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5106
243216e1
JM
5107 * math/libm-test.inc (struct test_fi_f_data): New type.
5108 (RUN_TEST_LOOP_fi_f): New macro.
5109 (ldexp_test_data): New variable.
5110 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5111 (scalbn_test_data): New variable.
5112 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5113
6a1992e2
JM
5114 * math/libm-test.inc (struct test_c_f_data): New type.
5115 (RUN_TEST_LOOP_c_f): New macro.
5116 (cabs_test_data): New variable.
5117 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5118 (carg_test_data): New variable.
5119 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5120 (cimag_test_data): New variable.
5121 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5122 (creal_test_data): New variable.
5123 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5124
0e400df5
JM
5125 * math/libm-test.inc (struct test_if_f_data): New type.
5126 (RUN_TEST_LOOP_if_f): New macro.
5127 (jn_test_data): New variable.
5128 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5129 (yn_test_data): New variable.
5130 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5131
6d33265c
JM
5132 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5133
f98ece5f
AZ
51342013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5135
5136 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5137 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5138
0f7d347b
SP
51392013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5140
43fe811b
SP
5141 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5142 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5143 (bench-deps): Add bench-timing.h.
5144 * benchtests-bench-skeleton.c: Include bench-timing.h.
5145 (main): Use TIMING_* macros instead of clock_gettime.
5146 * benchtests/bench-timing.h: New file.
5147
0f7d347b
SP
5148 [BZ #14582]
5149 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5150 Renamed from _LIB_VERSION.
5151 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5152
601a3a5f
JM
51532013-05-12 Joseph Myers <joseph@codesourcery.com>
5154
4f184d30
JM
5155 * math/libm-test.inc (struct test_fff_f_data): New type.
5156 (RUN_TEST_LOOP_fff_f): New macro.
5157 (fma_test_data): New variable.
5158 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5159 (fma_towardzero_test_data): New variable.
5160 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5161 (fma_downward_test_data): New variable.
5162 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5163 (fma_upward_test_data): New variable.
5164 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5165
08198877
JM
5166 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5167 (struct test_c_c_data): New type.
5168 (RUN_TEST_LOOP_c_c): New macro.
5169 (cacos_test_data): New variable.
5170 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5171 (cacosh_test_data): New variable.
5172 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5173 (casin_test_data): New variable.
5174 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5175 (casinh_test_data): New variable.
5176 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5177 (catan_test_data): New variable.
5178 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5179 (catanh_test_data): New variable.
5180 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5181 (ccos_test_data): New variable.
5182 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5183 (ccosh_test_data): New variable.
5184 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5185 (cexp_test_data): New variable.
5186 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5187 (clog_test_data): New variable.
5188 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5189 (clog10_test_data): New variable.
5190 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5191 (conj_test_data): New variable.
5192 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5193 (cproj_test_data): New variable.
5194 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5195 (csin_test_data): New variable.
5196 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5197 (csinh_test_data): New variable.
5198 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5199 (csqrt_test_data): New variable.
5200 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5201 (ctan_test_data): New variable.
5202 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5203 (ctan_tonearest_test_data): New variable.
5204 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5205 (ctan_towardzero_test_data): New variable.
5206 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5207 (ctan_downward_test_data): New variable.
5208 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5209 (ctan_upward_test_data): New variable.
5210 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5211 (ctanh_test_data): New variable.
5212 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5213 (ctanh_tonearest_test_data): New variable.
5214 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5215 (ctanh_towardzero_test_data): New variable.
5216 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5217 (ctanh_downward_test_data): New variable.
5218 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5219 (ctanh_upward_test_data): New variable.
5220 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5221 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5222 of BUILD_COMPLEX.
5223
601a3a5f
JM
5224 * math/libm-test.inc (struct test_ff_f_data): New type.
5225 (struct test_ff_f_data_nexttoward): Likewise.
5226 (RUN_TEST_LOOP_2_f): New macro.
5227 (RUN_TEST_LOOP_ff_f): Likewise.
5228 (atan2_test_data): New variable.
5229 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5230 (copysign_test_data): New variable.
5231 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5232 (fdim_test_data): New variable.
5233 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5234 (fmax_test_data): New variable.
5235 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5236 (fmin_test_data): New variable.
5237 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5238 (fmod_test_data): New variable.
5239 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5240 (hypot_test_data): New variable.
5241 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5242 (nextafter_test_data): New variable.
5243 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5244 (nexttoward_test_data): New variable.
5245 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5246 (pow_test_data): New variable.
5247 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5248 (pow_tonearest_test_data): New variable.
5249 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5250 (pow_towardzero_test_data): New variable.
5251 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5252 (pow_downward_test_data): New variable.
5253 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5254 (pow_upward_test_data): New variable.
5255 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5256 (remainder_test_data): New variable.
5257 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5258 (scalb_test_data): New variable.
5259 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5260 * sysdeps/i386/fpu/libm-test-ulps: Update.
5261
74c57478
JM
52622013-05-11 Joseph Myers <joseph@codesourcery.com>
5263
8329e4da
JM
5264 * math/libm-test.inc (fma_test): Use max_value instead of local
5265 variable fltmax.
5266 (nextafter_test): Likewise.
5267
74c57478
JM
5268 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5269 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5270 (acos_downward_test_data): New variable.
5271 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5272 (acos_upward_test_data): New variable.
5273 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5274 (acosh_test_data): New variable.
5275 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5276 (asin_test_data): New variable.
5277 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5278 (asin_tonearest_test_data): New variable.
5279 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5280 (asin_towardzero_test_data): New variable.
5281 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5282 (asin_downward_test_data): New variable.
5283 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5284 (asin_upward_test_data): New variable.
5285 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5286 (asinh_test_data): New variable.
5287 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5288 (atan_test_data): New variable.
5289 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5290 (atanh_test_data): New variable.
5291 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5292 (cbrt_test_data): New variable.
5293 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5294 (ceil_test_data): New variable.
5295 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5296 (cos_test_data): New variable.
5297 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5298 (cos_tonearest_test_data): New variable.
5299 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5300 (cos_towardzero_test_data): New variable.
5301 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5302 (cos_downward_test_data): New variable.
5303 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5304 (cos_upward_test_data): New variable.
5305 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5306 (cosh_test_data): New variable.
5307 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5308 (cosh_tonearest_test_data): New variable.
5309 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5310 (cosh_towardzero_test_data): New variable.
5311 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5312 (cosh_downward_test_data): New variable.
5313 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5314 (cosh_upward_test_data): New variable.
5315 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5316 (erf_test_data): New variable.
5317 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5318 (erfc_test_data): New variable.
5319 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5320 (exp_test_data): New variable.
5321 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5322 (exp_tonearest_test_data): New variable.
5323 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5324 (exp_towardzero_test_data): New variable.
5325 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5326 (exp_downward_test_data): New variable.
5327 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5328 (exp_upward_test_data): New variable.
5329 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5330 (exp10_test_data): New variable.
5331 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5332 (exp2_test_data): New variable.
5333 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5334 (expm1_test_data): New variable.
5335 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5336 (fabs_test_data): New variable.
5337 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5338 (floor_test_data): New variable.
5339 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5340 (j0_test_data): New variable.
5341 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5342 (j1_test_data): New variable.
5343 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5344 (log_test_data): New variable.
5345 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5346 (log10_test_data): New variable.
5347 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5348 (log1p_test_data): New variable.
5349 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5350 (log2_test_data): New variable.
5351 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5352 (logb_test_data): New variable.
5353 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5354 (logb_downward_test_data): New variable.
5355 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5356 (nearbyint_test_data): New variable.
5357 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5358 (rint_test_data): New variable.
5359 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5360 (rint_tonearest_test_data): New variable.
5361 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5362 (rint_towardzero_test_data): New variable.
5363 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5364 (rint_downward_test_data): New variable.
5365 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5366 (rint_upward_test_data): New variable.
5367 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5368 (round_test_data): New variable.
5369 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5370 (sin_test_data): New variable.
5371 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5372 (sin_tonearest_test_data): New variable.
5373 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5374 (sin_towardzero_test_data): New variable.
5375 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5376 (sin_downward_test_data): New variable.
5377 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5378 (sin_upward_test_data): New variable.
5379 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5380 (sinh_test_data): New variable.
5381 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5382 (sinh_tonearest_test_data): New variable.
5383 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5384 (sinh_towardzero_test_data): New variable.
5385 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5386 (sinh_downward_test_data): New variable.
5387 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5388 (sinh_upward_test_data): New variable.
5389 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5390 (sqrt_test_data): New variable.
5391 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5392 (tan_test_data): New variable.
5393 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5394 (tan_tonearest_test_data): New variable.
5395 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5396 (tan_towardzero_test_data): New variable.
5397 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5398 (tan_downward_test_data): New variable.
5399 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5400 (tan_upward_test_data): New variable.
5401 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5402 (tanh_test_data): New variable.
5403 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5404 (tgamma_test_data): New variable.
5405 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5406 (trunc_test_data): New variable.
5407 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5408 (y0_test_data): New variable.
5409 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5410 (y1_test_data): New variable.
5411 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5412 (significand_test_data): New variable.
5413 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5414
7187d844
CG
54152013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5416
5417 [BZ #12387]
5418 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5419
f63fae73
PT
54202013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5421
5422 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5423
8a67a4b3
AJ
54242013-05-10 Andreas Jaeger <aj@suse.de>
5425
5426 [BZ #15448]
5427 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5428 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5429
51df539d
JM
54302013-05-10 Joseph Myers <joseph@codesourcery.com>
5431
5432 * math/gen-libm-test.pl (adjust_arg): New function.
5433 (special_functions): Handle generating output in both functions
5434 and arrays.
5435 (parse_args): Likewise.
5436 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5437 $in_func argument to parse_args.
5438 * math/libm-test.inc (struct test_f_f_data): New type.
5439 (IF_ROUND_INIT_): New macro.
5440 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5441 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5442 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5443 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5444 (ROUND_RESTORE_): Likewise.
5445 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5446 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5447 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5448 (ROUND_RESTORE_FE_UPWARD): Likewise.
5449 (RUN_TEST_LOOP_f_f): New macro.
5450 (acos_test_data): New variable.
5451 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5452 (acos_tonearest_test_data): New variable.
5453 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5454
5c637fe5
SP
54552013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5456
5457 * benchtests/bench-skeleton.c (startup): Fix coding style.
5458
ab2b9461
JM
54592013-05-10 Joseph Myers <joseph@codesourcery.com>
5460
5461 [BZ #6809]
5462 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5463 negative infinity argument.
5464 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5465 negative infinity argument.
5466 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5467 negative infinity argument.
5468 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5469 domain errors.
5470
4c0fe6fe
FW
54712013-05-10 Florian Weimer <fweimer@redhat.com>
5472
5473 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5474 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5475 * iconv/iconv_prog.c (main): Likewise.
5476 * locale/programs/charmap-dir.c (charmap_readdir)
5477 (fopen_uncompressed): Likewise.
5478 * locale/programs/locfile.c (siblings_uncached)
5479 (write_locale_data): Use lstat64 instead of lstat.
5480 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5481 stat.
5482
a3375d29
AJ
54832013-05-10 Andreas Jaeger <aj@suse.de>
5484
5485 [BZ #15395]
5486 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5487 localization.
5488 Include <locale.h>.
5489
36129722
CD
54902013-05-09 Carlos O'Donell <carlos@redhat.com>
5491
5492 * elf/dl-close.c (_dl_close_worker): Add comments.
5493
faa7f811
JM
54942013-05-09 Joseph Myers <joseph@codesourcery.com>
5495
ed41ffef
JM
5496 [BZ #15359]
5497 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5498 high part of pi/2.
5499 (__ieee754_rem_pio2l): Update comments.
5500
d0213cd0
JM
5501 [BZ #15429]
5502 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5503 high part of pi/2.
5504 (__ieee754_rem_pio2l): Update comments.
5505
0d3e777a
JM
5506 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5507 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5508
24f56066
JM
5509 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5510 M_PI_4l.
5511
faa7f811
JM
5512 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5513 (M_PI_34_LOG10El): Likewise.
5514 (M_PI2_LOG10El): Likewise.
5515 (M_PI4_LOG10El): Likewise.
5516 (M_PI_LOG10El): Likewise.
5517
e9a5e0fd
AZ
55182013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5519
5520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5521
d8cd06db
JM
55222013-05-08 Joseph Myers <joseph@codesourcery.com>
5523
a0d9f9d7
JM
5524 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5525 (MINUS_ZERO_INIT): Likewise.
5526 (PLUS_INFTY_INIT): Likewise.
5527 (MINUS_INFTY_INIT): Likewise.
5528 (QNAN_VALUE_INIT): Likewise.
5529 (MAX_VALUE_INIT): Likewise.
5530 (MIN_VALUE_INIT): Likewise.
5531 (MIN_SUBNORM_VALUE_INIT): Likewise.
5532 (plus_zero): Initialize with PLUS_ZERO_INIT.
5533 (minus_zero): Initialize with MINUS_ZERO_INIT.
5534 (plus_infty): Initialize with PLUS_INFTY_INIT.
5535 (minus_infty): Initialize with MINUS_INFTY_INIT.
5536 (qnan_value): Initialize with QNAN_VALUE_INIT.
5537 (max_value): Initialize with MAX_VALUE_INIT.
5538 (min_value): Initialize with MIN_VALUE_INIT.
5539 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5540
ae08db3b
JM
5541 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5542 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5543 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5544 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5545
f44bf14a
JM
5546 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5547 (RUN_TEST_2_f): Likewise.
5548 (RUN_TEST_ff_f): Likewise.
5549 (RUN_TEST_fi_f): Likewise.
5550 (RUN_TEST_fl_f): Likewise.
5551 (RUN_TEST_fff_f): Likewise.
5552 (RUN_TEST_c_f): Likewise.
5553 (RUN_TEST_f_f1): Likewise.
5554 (RUN_TEST_fF_f1): Likewise.
5555 (RUN_TEST_fI_f1): Likewise.
5556 (RUN_TEST_ffI_f1): Likewise.
5557 (RUN_TEST_c_c): Likewise.
5558 (RUN_TEST_cc_c): Likewise.
5559 (RUN_TEST_f_i): Likewise.
5560 (RUN_TEST_f_i_tg): Likewise.
5561 (RUN_TEST_ff_i_tg): Likewise.
5562 (RUN_TEST_f_b): Likewise.
5563 (RUN_TEST_f_b_tg): Likewise.
5564 (RUN_TEST_f_l): Likewise.
5565 (RUN_TEST_f_L): Likewise.
5566 (RUN_TEST_sincos): Likewise.
5567 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5568 whether to show exceptions. Do not include ");\n" in return
5569 value.
5570 (special_functions): Output call to RUN_TEST_sincos instead of
5571 check_float calls. Update calls to new_test.
5572 (parse_args): Output call to single RUN_TEST_* macro instead of
5573 check_* calls and other assignments. Update calls to new_test.
5574
d8cd06db
JM
5575 [BZ #2546]
5576 [BZ #2560]
5577 [BZ #5159]
5578 [BZ #15426]
5579 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5580 input to result for tgamma overflow.
5581 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5582 (gamma_coeff): New variable.
5583 (NCOEFF): New macro.
5584 (gamma_positive): New function.
5585 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5586 underflow here. Use gamma_positive instead of exp (lgamma) for
5587 other arguments.
5588 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5589 (gamma_coeff): New variable.
5590 (NCOEFF): New macro.
5591 (gammaf_positive): New function.
5592 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5593 underflow here. Use gamma_positive instead of exp (lgamma) for
5594 other arguments.
5595 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5596 (gamma_coeff): New variable.
5597 (NCOEFF): New macro.
5598 (gammal_positive): New function.
5599 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5600 underflow here. Use gamma_positive instead of exp (lgamma) for
5601 other arguments.
5602 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5603 (gamma_coeff): New variable.
5604 (NCOEFF): New macro.
5605 (gammal_positive): New function.
5606 (__ieee754_gammal_r): Handle positive infinity, overflow and
5607 underflow here. Handle NaN the same as positive infinity. Remove
5608 check x < 0xffffffff for negative integers. Use gamma_positive
5609 instead of exp (lgamma) for other arguments.
5610 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5611 (gamma_coeff): New variable.
5612 (NCOEFF): New macro.
5613 (gammal_positive): New function.
5614 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5615 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5616 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5618 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5619 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5620 * sysdeps/generic/math_private.h (__gamma_productf): New
5621 prototype.
5622 (__gamma_product): Likewise.
5623 (__gamma_productl): Likewise.
5624 * math/Makefile (libm-calls): Add gamma_product.
5625 * math/libm-test.inc (tgamma_test): Add more tests.
5626 * sysdeps/i386/fpu/libm-test-ulps: Update.
5627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5628
bb7cf681
OB
56292013-05-08 Ondřej Bílka <neleai@seznam.cz>
5630
5631 * benchtests/bench-skeleton.c (main): Preheat CPU.
5632
ba853947
AJ
56332013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5634
5635 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5636
8347c74c
RM
56372013-05-07 Roland McGrath <roland@hack.frob.com>
5638
5639 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5640 and _dl_skip_args_internal.
5641
e8dd4791
CD
56422013-05-07 Carlos O'Donell <carlos@redhat.com>
5643
5644 * manual/message.texi (Message Translation): Talk about users.
5645 Message to key mapping impacts design.
5646
c7405830
RM
56472013-05-06 Roland McGrath <roland@hack.frob.com>
5648
a9173057
RM
5649 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5650
976e2f03
RM
5651 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5652
9723ffc5
RM
5653 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5654 * sysdeps/wordsize-64/glob64.c: ... here.
5655
962e6658
RM
5656 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5657 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5658 New macros.
5659
ee586a6d
RM
5660 * debug/getlogin_r_chk.c: Moved to ...
5661 * login/getlogin_r_chk.c: ... here.
5662 * debug/Makefile (routines): Move getlogin_r_chk to ...
5663 * login/Makefile (routines): ... here.
5664 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5665 * login/Versions (libc: GLIBC_2.4): ... here.
5666
355f9165
RM
5667 * io/poll.c (__poll): Renamed from poll.
5668 Add libc_hidden_def.
5669 (poll): Define as weak alias.
5670
bd9ffde6
RM
5671 * debug/ptsname_r_chk.c: Moved to ...
5672 * login/ptsname_r_chk.c: ... here.
5673 * debug/Makefile (routines): Move ptsname_r_chk to ...
5674 * login/Makefile (routines): ... here.
5675 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5676 * login/Versions (libc: GLIBC_2.4): ... here.
5677
8fb16a04
RM
5678 * posix/getlogin.c: Moved to ...
5679 * login/getlogin.c: ... here.
5680 * posix/getlogin_r.c: Moved to ...
5681 * login/getlogin_r.c: ... here.
5682 * posix/getlogin_r.c: Moved to ...
5683 * login/getlogin_r.c: ... here.
5684 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5685 * login/Makefile (routines): ... here.
5686 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5687 * login/Versions (libc: GLIBC_2.0): ... here.
5688
b99b892f
RM
5689 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5690 (setrlimit): Define as weak alias.
5691
c7405830
RM
5692 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5693 Call __ names for open, ftruncate, and close.
5694 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5695 (truncate): Define as weak alias.
5696
5bf96de5
JM
56972013-05-06 Joseph Myers <joseph@codesourcery.com>
5698
9ea3513c
JM
5699 * math/gen-libm-test.pl (parse_args): Initialize x before each
5700 test of frexp, modf and remquo.
5701
5bf96de5
JM
5702 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5703 test signgam value.
5704
16e616a7
AZ
57052013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5706
5707 [BZ #15418]
5708 [BZ #15419]
5709 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5710 internal tests.
5711 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5712
d5e82754
RM
57132013-05-06 Roland McGrath <roland@hack.frob.com>
5714
5715 * elf/dl-writev.h: New file.
5716 * elf/dl-misc.c: Include it.
5717 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5718 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5719
a7548d41
JM
57202013-05-04 Joseph Myers <joseph@codesourcery.com>
5721
b7dab1e4
JM
5722 * math/libm-test.inc (noXFails): Remove variable.
5723 (noXPasses): Likewise.
5724 (BUILD_COMPLEX_INT): Remove macro.
5725 (print_screen): Remove xfail argument.
5726 (print_screen_max_error): Likewise.
5727 (update_stats): Likewise.
5728 (print_max_error): Likewise. Update calls to other affected
5729 functions.
5730 (print_complex_max_error): Likewise.
5731 (test_single_exception): Update calls to print_screen.
5732 (test_single_errno): Likewise.
5733 (check_float_internal): Remove xfail argument. Update calls to
5734 other affected functions.
5735 (check_float): Likewise.
5736 (check_complex): Likewise.
5737 (check_int): Likewise.
5738 (check_long): Likewise.
5739 (check_bool): Likewise.
5740 (check_longlong): Likewise.
5741 (main): Don't print noXFails and noXPasses.
5742 * math/gen-libm-test.pl (top level): Don't mention expected
5743 failure handling in comment.
5744 (new_test): Don't handle expected failures.
5745 (parse_args): Don't mention expected failure handling in comment.
5746 (generate_testfile): Don't handle expected failures.
5747 (parse_ulps): Likewise.
5748 (print_ulps_file): Likewise.
5749 (get_failure): Remove function.
5750 (output_test): Don't handle expected failures.
5751 * make/README.libm-test: Don't mention expected failure handling.
5752
a7548d41
JM
5753 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5754 (minus_zero): Likewise.
5755 (plus_infty): Likewise.
5756 (minus_infty): Likewise.
5757 (qnan_value): Likewise.
5758 (max_value): Likewise.
5759 (min_value): Likewise.
5760 (min_subnorm_value): Likewise.
5761 (initialize): Do not initialize those variables dynamically.
5762
60bfd54c
RM
57632013-05-03 Roland McGrath <roland@hack.frob.com>
5764
cc0e6ed8
RM
5765 * io/open.c (__open_2): Moved to ...
5766 * io/open_2.c: ... this new file.
5767 * io/open64.c (__open64_2): Moved to ...
5768 * io/open64_2.c: ... this new file.
5769 * io/openat.c (__openat_2): Moved to ...
5770 * io/openat_2.c: ... this new file.
5771 * io/openat64.c (__openat64_2): Moved to ...
5772 * io/openat64_2.c: ... this new file.
5773 * io/Makefile (routines): Add them.
5774 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5775 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5776 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5777 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5778 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5779 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5780 (__openat64): Add hidden_ver.
5781 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5782 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5783
60bfd54c
RM
5784 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5785 Separately conditionalize setting of GLRO(dl_sysinfo) so
5786 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5787 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5788
83e7640f
AZ
57892013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5790
5791 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5792 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5793 definition.
5794 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5795 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5796 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5797 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5798 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5799
d5dc2af3
JM
58002013-05-03 Joseph Myers <joseph@codesourcery.com>
5801
c31a5b1e
JM
5802 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5803 test signgam value.
5804
d5dc2af3
JM
5805 * math/libm-test.inc (hypot_test): Do not use
5806 IGNORE_ZERO_INF_SIGN.
5807
164fd39d
AJ
58082013-05-03 Andreas Jaeger <aj@suse.de>
5809
5810 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5811 Linux 3.9.
5812 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5813 (PF_MAX): Adjust for VSOCK change.
5814
8237f48c
AZ
58152013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5816
5817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5818
9df02941
CD
58192013-05-02 Carlos O'Donell <carlos@redhat.com>
5820
5821 [BZ #15264]
5822 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5823 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5824 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5825
d422395e
DM
58262013-05-02 David S. Miller <davem@davemloft.net>
5827
5828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5829
a07c5731
OB
58302013-05-01 Ondřej Bílka <neleai@seznam.cz>
5831
5832 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5833
1324e37f
RM
58342013-05-01 Roland McGrath <roland@hack.frob.com>
5835
5836 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5837
0695940b
RS
58382013-05-01 Richard Smith <richard@metafoo.co.uk>
5839
bb5f27ad 5840 [BZ #14952]
0695940b
RS
5841 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5842 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5843 Use __attribute__ ((__gnu_inline__)).
5844 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5845 Don't use __attribute__ ((__gnu_inline__)).
5846
10de07f5
JM
58472013-05-01 Joseph Myers <joseph@codesourcery.com>
5848
5849 [BZ #15423]
5850 * math/s_catan.c (__catan): Handle small real or imaginary part of
5851 input specially to avoid spurious underflow.
5852 * math/s_catanf.c (__catanf): Likewise.
5853 * math/s_catanh.c (__catanh): Likewise.
5854 * math/s_catanhf.c (__catanhf): Likewise.
5855 * math/s_catanhl.c (__catanhl): Likewise.
5856 * math/s_catanl.c (__catanl): Likewise.
5857 * math/libm-test.inc (catan_test): Add more tests.
5858 (catanh_test): Likewise.
5859 * sysdeps/i386/fpu/libm-test-ulps: Update.
5860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5861
cb4d5414
AZ
58622013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5863
5864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5865
caf84319
JM
58662013-04-30 Joseph Myers <joseph@codesourcery.com>
5867
5868 [BZ #15416]
5869 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5870 accurately for denominator in atan2.
5871 * math/s_catanf.c (__catanf): Likewise.
5872 * math/s_catanh.c (__catanh): Likewise.
5873 * math/s_catanhf.c (__catanhf): Likewise.
5874 * math/s_catanhl.c (__catanhl): Likewise.
5875 * math/s_catanl.c (__catanl): Likewise.
5876 * math/libm-test.inc (catan_test): Add more tests.
5877 (catanh_test): Likewise.
5878 * sysdeps/i386/fpu/libm-test-ulps: Update.
5879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5880
d569c6ee
SP
58812013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5882
6dbe713d
SP
5883 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5884
f0ee064b
SP
5885 * benchtests/Makefile (bench): Remove slow benchmarks.
5886 * benchtests/atan-inputs: Add slow benchmark inputs.
5887 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5888 (BENCH_FUNC): Accept variant offset.
5889 (VARIANT): Define.
5890 * benchtests/bench-skeleton.c (main): Run benchmark for each
5891 variant.
5892 * benchtests/cos-inputs: Add slow benchmark inputs.
5893 * benchtests/exp-inputs: Likewise.
5894 * benchtests/pow-inputs: Likewise.
5895 * benchtests/sin-inputs: Likewise.
5896 * benchtests/slowatan-inputs: Remove.
5897 * benchtests/slowatan.c: Remove.
5898 * benchtests/slowcos-inputs: Remove.
5899 * benchtests/slowcos.c: Remove.
5900 * benchtests/slowexp-inputs: Remove.
5901 * benchtests/slowexp.c: Remove.
5902 * benchtests/slowpow-inputs: Remove.
5903 * benchtests/slowpow.c: Remove.
5904 * benchtests/slowsin-inputs: Remove.
5905 * benchtests/slowsin.c: Remove.
5906 * benchtests/slowtan-inputs: Remove.
5907 * benchtests/slowtan.c: Remove.
5908 * benchtests/tan-inputs: Add slow benchmark inputs.
5909 * scripts/bench.pl: Parse comments and directives.
5910
d569c6ee
SP
5911 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5912 in CPPFLAGS.
5913 ($(objpfx)bench-%.c): Remove *-ITER.
5914 * benchtests/bench-modf.c: Remove definition of ITER.
5915 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5916 (main): Loop for DURATION seconds instead of fixed number of
5917 iterations.
5918 * scripts/bench.pl: Don't expect iterations in parameters.
5919
a6a242fe
RM
59202013-04-29 Roland McGrath <roland@hack.frob.com>
5921
5922 * io/fchdir.c (__fchdir): Renamed from fchdir.
5923 (fchdir): Define as weak alias.
5924
f2da7793
JM
59252013-04-29 Joseph Myers <joseph@codesourcery.com>
5926
5927 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5928 (ERRNO_EDOM): Likewise.
5929 (ERRNO_ERANGE): Likewise.
5930 (noErrnoTests): New variable.
5931 (init_max_error): Set errno to 0.
5932 (test_single_errno): New function.
5933 (test_errno): Likewise.
5934 (check_float_internal): Call test_errno. Set errno to 0.
5935 (check_complex): Refer to errno tests in comment.
5936 (check_int): Call test_errno. Set errno to 0.
5937 (check_long): Likewise.
5938 (check_bool): Likewise.
5939 (check_longlong): Likewise.
5940 (cos_test): Use ERRNO_* flags for errno tests instead of
5941 check_int.
5942 (expm1_test): Likewise.
5943 (fmod_test): Likewise.
5944 (ilogb_test): Likewise.
5945 (lgamma_test): Likewise.
5946 (pow_test): Likewise.
5947 (remainder_test): Likewise.
5948 (sin_test): Likewise.
5949 (tan_test): Likewise.
5950 (yn_test): Likewise.
5951 (initialize): Set errno to 0.
5952 (main): Print number of errno tests.
5953 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5954
b1a36ceb
AJ
59552013-04-29 Andreas Jaeger <aj@suse.de>
5956
c3ed8088
AJ
5957 [BZ #15084]
5958 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5959 and RES_USEVC.
5960
f1a24198
AJ
5961 [BZ #15085]
5962 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5963 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5964 unimplemented.
5965
9ce3b2cb
AJ
5966 [BZ #15380]
5967 * stdlib/random.c (__initstate): Return NULL if
5968 __initstate fails.
5969
f1a24198 5970 [BZ #15086]
b1a36ceb
AJ
5971 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5972 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5973 RES_SNGLKUPREOP.
5974
7e7b6f36
AZ
59752013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5976
5977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5978
4d14f449
JM
59792013-04-29 Joseph Myers <joseph@codesourcery.com>
5980
5981 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5982 of individual tests.
5983 (casin_test): Likewise.
5984 (casinh_test): Likewise.
5985
5b4217d7
JM
59862013-04-27 Joseph Myers <joseph@codesourcery.com>
5987
5988 [BZ #15409]
5989 * math/s_catan.c (__catan): Handle arguments with large real or
5990 imaginary part separately without squaring.
5991 * math/s_catanf.c (__catanf): Likewise.
5992 * math/s_catanh.c (__catanh): Likewise.
5993 * math/s_catanhf.c (__catanhf): Likewise.
5994 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5995 and redefine.
5996 (__catanhl): Handle arguments with large real or imaginary part
5997 separately without squaring.
5998 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5999 and redefine.
6000 (__catanl): Handle arguments with large real or imaginary part
6001 separately without squaring.
6002 * math/libm-test.inc (catan_test): Add more tests.
6003 (catanh_test): Likewise.
6004 * sysdeps/i386/fpu/libm-test-ulps: Update.
6005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6006
4220c3ef
AJ
60072013-04-27 Andreas Jaeger <aj@suse.de>
6008
6009 [BZ #15007]
6010 * stdlib/stdlib.h: Update guards for qecvt.
6011 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6012 <stdlib.h>.
6013
4721b2d1
AM
60142013-04-27 Allan McRae <allan@archlinux.org>
6015
6016 * sysdeps/i386/fpu/libm-test-ulps: Update.
6017
f0302940
JM
60182013-04-26 Joseph Myers <joseph@codesourcery.com>
6019
9457fd95
JM
6020 [BZ #15406]
6021 * math/s_catan.c: Include <float.h>.
6022 (__catan): Ensure underflow exception occurs for underflowed
6023 result.
6024 * math/s_catanf.c: Include <float.h>.
6025 (__catanf): Ensure underflow exception occurs for underflowed
6026 result.
6027 * math/s_catanh.c: Include <float.h>.
6028 (__catanh): Ensure underflow exception occurs for underflowed
6029 result.
6030 * math/s_catanhf.c: Include <float.h>.
6031 (__catanhf): Ensure underflow exception occurs for underflowed
6032 result.
6033 * math/s_catanhl.c: Include <float.h>.
6034 (__catanhl): Ensure underflow exception occurs for underflowed
6035 result.
6036 * math/s_catanl.c: Include <float.h>.
6037 (__catanl): Ensure underflow exception occurs for underflowed
6038 result.
6039 * math/libm-test.inc (catan_test): Add more tests.
6040 (catanh_test): Likewise.
6041
f0302940
JM
6042 [BZ #15405]
6043 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6044 underflowed result.
6045 * math/s_ccoshf.c (__ccoshf): Likewise.
6046 * math/s_ccoshl.c (__ccoshl): Likewise.
6047 * math/s_csin.c (__csin): Likewise.
6048 * math/s_csinf.c (__csinf): Likewise.
6049 * math/s_csinh.c (__csinh): Likewise.
6050 * math/s_csinhf.c (__csinhf): Likewise.
6051 * math/s_csinhl.c (__csinhl): Likewise.
6052 * math/s_csinl.c (__csinl): Likewise.
6053 * math/libm-test.inc (ccos_test): Add more tests.
6054 (ccosh_test): Likewise.
6055 (csin_test): Likewise.
6056 (csinh_test): Likewise.
6057
aa630f59
AZ
60582013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6059
6060 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6061 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6062 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6063 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6064 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6065 powerpc/power5+/fpu folders.
6066 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6067
6068
1b835983
MT
60692013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6070
6071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6072
73709b26
JM
60732013-04-25 Joseph Myers <joseph@codesourcery.com>
6074
6075 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6076 additions to variable.
6077 [$(config-machine) = x86_64] (modules-names): Likewise.
6078 ($(objpfx)tst-audit3): Remove dependency.
6079 ($(objpfx)tst-audit3.out): Likewise.
6080 ($(objpfx)tst-audit4): Likewise.
6081 ($(objpfx)tst-audit4.out): Likewise.
6082 ($(objpfx)tst-audit5): Likewise.
6083 ($(objpfx)tst-audit5.out): Likewise.
6084 ($(objpfx)tst-audit6): Likewise.
6085 ($(objpfx)tst-audit6.out): Likewise.
6086 ($(objpfx)tst-audit7): Likewise.
6087 ($(objpfx)tst-audit7.out): Likewise.
6088 (tst-audit3-ENV): Remove variable.
6089 (tst-audit4-ENV): Likewise.
6090 (tst-audit5-ENV): Likewise.
6091 (tst-audit6-ENV): Likewise.
6092 (tst-audit7-ENV): Likewise.
6093 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6094 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6095 addition to variable.
6096 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6097 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6098 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6099 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6100 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6101 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6102 tst-audit3, tst-audit4 and tst-audit5.
6103 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6104 tst-audit6 and tst-audit7.
6105 [$(subdir) = elf] (modules-names): Add audit modules for those
6106 tests.
6107 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6108 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6109 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6110 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6111 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6112 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6113 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6114 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6115 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6116 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6117 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6118 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6119 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6120 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6121 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6122 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6123 Likewise.
6124 [$(subdir) = elf && $(config-cflags-avx) = yes]
6125 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6126 [$(subdir) = elf && $(config-cflags-avx) = yes]
6127 (CFLAGS-tst-auditmod4a.c): Likewise.
6128 [$(subdir) = elf && $(config-cflags-avx) = yes]
6129 (CFLAGS-tst-auditmod4b.c): Likewise.
6130 [$(subdir) = elf && $(config-cflags-avx) = yes]
6131 (CFLAGS-tst-auditmod6b.c): Likewise.
6132 [$(subdir) = elf && $(config-cflags-avx) = yes]
6133 (CFLAGS-tst-auditmod6c.c): Likewise.
6134 [$(subdir) = elf && $(config-cflags-avx) = yes]
6135 (CFLAGS-tst-auditmod7b.c): Likewise.
6136 * elf/tst-audit3.c: Move to ...
6137 * sysdeps/x86_64/tst-audit3.c: ... here.
6138 * elf/tst-audit4.c: Move to ...
6139 * sysdeps/x86_64/tst-audit4.c: ... here.
6140 * elf/tst-audit5.c: Move to ...
6141 * sysdeps/x86_64/tst-audit5.c: ... here.
6142 * elf/tst-audit6.c: Move to ...
6143 * sysdeps/x86_64/tst-audit6.c: ... here.
6144 * elf/tst-audit7.c: Move to ...
6145 * sysdeps/x86_64/tst-audit7.c: ... here.
6146 * elf/tst-auditmod3a.c: Move to ...
6147 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6148 * elf/tst-auditmod3b.c: Move to ...
6149 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6150 * elf/tst-auditmod4a.c: Move to ...
6151 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6152 * elf/tst-auditmod4b.c: Move to ...
6153 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6154 * elf/tst-auditmod5a.c: Move to ...
6155 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6156 * elf/tst-auditmod5b.c: Move to ...
6157 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6158 * elf/tst-auditmod6a.c: Move to ...
6159 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6160 * elf/tst-auditmod6b.c: Move to ...
6161 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6162 * elf/tst-auditmod6c.c: Move to ...
6163 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6164 * elf/tst-auditmod7a.c: Move to ...
6165 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6166 * elf/tst-auditmod7b.c: Move to ...
6167 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6168
1ef74943
PP
61692013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6170
6171 [BZ #15366]
6172 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6173 define unconditionally.
6174 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6175 define unconditionally.
6176 (INT8_C, INT16_C, etc.): Likewise.
6177
93fd48c5
MR
61782013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6179
ae9552cf
MR
6180 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6181 __ehdr_start with hidden visibility.
6182
93fd48c5
MR
6183 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6184
418601aa
CD
61852013-04-24 Carlos O'Donell <carlos@redhat.com>
6186
6187 * math/libm-test.inc (cos_test): Use accurate hex constants.
6188 (sincost_test): Likewise.
6189
2f38fbfe
JM
61902013-04-24 Joseph Myers <joseph@codesourcery.com>
6191
5e221800
JM
6192 * math/libm-test.inc (catan_test): Add more tests.
6193 (catanh_test): Likewise.
6194
77f143fd
JM
6195 * math/s_catanf.c (__catanf): Use suffixed floating-point
6196 constants.
6197 * math/s_catanhf.c (__catanhf): Likewise.
6198 * math/s_catanhl.c (__catanhl): Likewise.
6199 * math/s_catanl.c (__catanl): Likewise.
6200
2f38fbfe
JM
6201 [BZ #15394]
6202 * math/s_catan.c (__catan): Calculate imaginary part of result
6203 with log1p not log unless computing log of number close to 0.
6204 * math/s_catanf.c (__catanf): Likewise.
6205 * math/s_catanl.c (__catanl): Likewise.
6206 * math/s_catanh.c (__catanh): Calculate real part of result with
6207 log1p not log unless computing log of number close to 0.
6208 * math/s_catanhf.c (__catanhf): Likewise.
6209 * math/s_catanhl.c (__catanhl): Likewise.
6210 * math/libm-test.inc (catan_test): Add more tests.
6211 (catanh_test): Likewise.
6212 * sysdeps/i386/fpu/libm-test-ulps: Update.
6213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6214
45d69176
SP
62152013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6216
6217 * benchtests/Makefile: Mention files in which fast and slow
6218 paths of math functions are implemented.
6219
87f51853
RM
62202013-04-23 Roland McGrath <roland@hack.frob.com>
6221
6222 * sysdeps/posix/timespec_get.c: New file.
6223
3c026539
AZ
62242013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6225
6226 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6227 POWER.
6228 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6229 for POWER.
6230 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6231 powerpc/power5/fpu folders.
6232 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6233 * benchtests/Makefile: Add modf testcase.
6234 * benchtests/bench-modf.c: New file: Benchmark test for mo
6235
ff491d14
SP
62362013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6237
6238 [BZ #14888]
6239 * time/Makefile (tests): Add tst-strptime-whitespace.
6240 * time/strptime_l.c (get_number): Use ISSPACE.
6241 (__strptime_internal): Likewise.
6242 * time/tst-strptime-whitespace.c: New test case.
6243
7ed3f4e8
AS
62442013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6245
6246 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6247 member.
6248 (_nss_files_init): Set it here.
6249
5c95f7b6
HC
62502013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6251
6252 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6253 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6254 unsigned.
6255
d34c9158
JBG
62562013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6257
6258 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6259
2169712d
SP
62602013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6261
6262 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6263 size just once.
6264
29c5de99
DM
62652013-04-21 David S. Miller <davem@davemloft.net>
6266
6267 * po/ru.po: Update Russion translation from translation project.
6268
ccdad15d
AC
62692013-04-17 Adam Conrad <adconrad@0c3.net>
6270
6271 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6272 and setfsgid.
6273
0f122b8d
CD
62742013-04-17 Carlos O'Donell <carlos@redhat.com>
6275
5c5b07da 6276 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 6277 * configure: Regenerate.
5c5b07da 6278 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
6279 Add example to error message.
6280 * sysdeps/i386/configure: Regenerate.
6281
037714dd
SP
62822013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6283
6284 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6285 slowtan.
6286 * benchtests/cos-inputs: New file.
6287 * benchtests/slowcos-inputs: New file.
6288 * benchtests/slowcos.c: New file.
6289 * benchtests/slowtan-inputs: New file.
6290 * benchtests/slowtan.c: New file.
6291 * benchtests/tan-inputs: New file.
6292
e913141d
RM
62932013-04-16 Roland McGrath <roland@hack.frob.com>
6294
6295 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6296 considered kosher.
6297
a2964074
SP
62982013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6299
4856bcd2
SP
6300 * benchtests/Makefile: Include cppflags-iterator.mk to add
6301 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6302
a2964074
SP
6303 * Makefile.in (bench-clean): New target.
6304 * benchtests/Makefile (bench-clean): Likewise.
6305
9fbf9aca
DH
63062013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6307
6308 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6309
207d1e2a
TS
63102013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6311
6312 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6313
306dfba9
AS
63142013-04-15 Andreas Schwab <schwab@suse.de>
6315
6316 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6317 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6318 * nscd/pwdcache.c (cache_addpw): Likewise.
6319 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6320 more than recsize.
6321
206a6699
SP
63222013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6323
6324 * benchtests/Makefile (bench): Write all output to
6325 bench-out.tmp together.
6326
0582f6b3
AS
63272013-04-15 Andreas Schwab <schwab@suse.de>
6328
6329 * nscd/nscd.c (main): Don't fork again after closing files.
6330
acb4325f
SP
63312013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6332
5cb26d0a
SP
6333 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6334
acb4325f
SP
6335 * benchtests/Rules (bench-deps): Collect dependencies into a
6336 single variable. Add Makefile to dependencies.
6337 ($(objpfx)bench-%.c): Depend on bench-deps.
6338
47792506
RM
63392013-04-12 Roland McGrath <roland@hack.frob.com>
6340 Xavier Roche <roche+kml2@exalead.com>
6341
6342 [BZ #15361]
6343 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6344 just that it's a file descriptor.
6345 * manual/llio.texi (Synchronizing AIO Operations): Update description
6346 for EBADF error from aio_fsync.
6347
8fc1bee5
SP
63482013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6349
6350 * Rules (bench): Move target definition...
6351 * benchtests/Makefile: ... here.
6352
aba5e333
CD
63532013-04-11 Carlos O'Donell <carlos@redhat.com>
6354
6355 * math/libm-test.inc (cos_test): Fix PI/2 test.
6356 (sincos_test): Likewise.
6357 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6358 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6359
273cdee8
AS
63602013-04-11 Andreas Schwab <schwab@suse.de>
6361
6ecec3b6
AS
6362 [BZ #13988]
6363 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6364 accept exponent character only when digits were seen.
6365 * stdio-common/Makefile (tests): Add bug26.
6366 * stdio-common/bug26.c: New file.
6367
273cdee8
AS
6368 [BZ #14293]
6369 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6370 non-freeable.
6371
8da491f5
SP
63722013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6373
01dc6df9
SP
6374 * Makeconfig (rtld-prefix): Define built linker prefix.
6375 * Rules (run-bench): Use it.
6376 * math/Makefile (run-regen-ulps): Likewise.
6377
8da491f5
SP
6378 * Rules (bench): Remove eval.
6379
abe7f530
SP
63802013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6381 Roland McGrath <roland@hack.frob.com>
6382 Ondrej Bilka <neleai@seznam.cz>
6383
6384 [BZ #15346]
6385 * time/getdate.c: Include ctype.h and alloca.h.
6386 (__getdate_r): Trim leading and trailing spaces of input.
6387 * time/tst-getdate.c (tests): Add tests with leading and
6388 trailing spaces.
6389
61c23e62
RM
63902013-04-08 Roland McGrath <roland@hack.frob.com>
6391
6392 [BZ #14280]
6393 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6394 when computing value.
6395
7208a313
CD
63962013-04-06 Carlos O'Donell <carlos@redhat.com>
6397
085b2d41
CD
6398 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6399 Use testrun.sh to run libm tests.
6400
7208a313
CD
6401 [BZ #15309]
6402 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6403
872c0acd
MM
64042013-04-06 Marko Myllynen <myllynen@redhat.com>
6405
6406 [BZ #15264]
6407 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6408
26510bdd
CD
64092013-04-06 Carlos O'Donell <carlos@redhat.com>
6410
6411 * Makefile.in (regen-ulps): New target.
6412 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6413 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6414 [ifneq (no,$(PERL)] (regen-ulps): New target.
6415 [ifeq (no,$(PERL)] (regen-ulps): New target.
6416 * math/libm-test.inc (ulps_file_name): Define.
6417 (output_dir): New variable.
6418 (options): Add "output-dir" option.
6419 (parse_opt): Handle 'o' case.
6420 (main): If output_dir is non-NULL use it as a prefix
6421 otherwise use "".
6422 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6423
a01f19c8
CD
64242013-04-06 Carlos O'Donell <carlos@redhat.com>
6425
6426 [BZ #10060, #10062]
6427 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6428 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6429 fail configure if __sync_val_compare_and_swap is not inlined.
6430 * sysdeps/i386/configure: Regenerate.
6431 * configure.in: Build for i686 when configured for i386.
6432 * configure: Regenerate.
6433 * README: Remove i386 reference.
6434
b7a329a5
CD
64352013-04-06 Carlos O'Donell <carlos@redhat.com>
6436
6437 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6438 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6439
bf0f50df
TS
64402013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6441
ee091edf
TS
6442 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6443 (lmsnanval): New variables.
6444 (F): Add conversion tests.
6445 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6446 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6447
a8b792d6
TS
6448 * stdio-common/tstdiomisc.c (F): Properly collect individual
6449 tests' results.
6450
a1cbf437
TS
6451 [BZ #14686, #15336]
6452 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6453 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6454 Instead, use input NaN values or generate a qNaN by arithmetic
6455 operation. Also fix bugs to comply with the standard.
6456 * math/libm-test.inc (remainder_test): Add more tests.
6457
8b43a0c9
TS
6458 [BZ #15335, #15342]
6459 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6461 input NaN values or generate a qNaN by arithmetic operation.
6462
d91da4ce
TS
6463 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6464 unreachable code.
6465
bf0f50df
TS
6466 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6467 definitions.
6468
05e166c8
JM
64692013-04-03 Joseph Myers <joseph@codesourcery.com>
6470
6471 [BZ #14478]
6472 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6473 underflowed result.
6474 * math/s_cexpf.c (__cexpf): Likewise.
6475 * math/s_cexpl.c (__cexpl): Likewise.
6476 * math/libm-test.inc (cexp_test): Add more tests.
6477
1cef1b19
AS
64782013-04-03 Andreas Schwab <schwab@suse.de>
6479
6480 [BZ #15330]
6481 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6482 order arrays from heap if bigger than alloca cutoff.
6483
74d87055
TS
64842013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6485
6486 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6487 (SNAN_TESTS_double): Refer to GCC PR56831.
6488 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6489 GCC PR56828.
6490
d755bba4
SP
64912013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6492
90d5d5bb
SP
6493 * Rules (bench): Move bench.out after the run is complete.
6494
73e0cd5d
SP
6495 * Rules (bench): Echo currently running benchmark.
6496
64aabd4b
SP
6497 * benchtests/Makefile (bench): Add atan and slowatan.
6498 * benchtests/atan-inputs: New file.
6499 * benchtests/slowatan-inputs: New file.
6500 * benchtests/slowatan.c: New file.
6501
c871eccd
SP
6502 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6503 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6504 its value.
6505
d755bba4
SP
6506 [BZ #15305]
6507 * sysdeps/unix/sysv/linux/kernel-features.h
6508 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6509 __ASSUME_XFS_RESTRICTED_CHOWN.
6510 * sysdeps/unix/sysv/linux/pathconf.c
6511 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6512 Save and restore errno.
6513
52ce4860
JM
65142013-04-02 Joseph Myers <joseph@codesourcery.com>
6515
6516 [BZ #15327]
6517 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6518 arguments using __kernel_casinh.
6519 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6520 arguments using __kernel_casinhf.
6521 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6522 arguments using __kernel_casinhl.
6523 * math/libm-test.inc (cacosh_test): Add more tests.
6524 * sysdeps/i386/fpu/libm-test-ulps: Update.
6525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6526
81f311c2
SP
65272013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6528
e7906a47
SP
6529 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6530 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6531
92e3664b
SP
6532 * bench/Makefile (bench): Add sin and slowsin.
6533 * benchtests/sin-inputs: New file.
6534 * benchtests/slowsin-inputs: New file.
6535 * benchtests/slowsin.c: New file.
6536
81f311c2
SP
6537 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6538 (bench): Add slowexp and slowpow.
6539 (exp-ITER): Increase iterations.
6540 (pow-ITER): Likewise.
6541 * benchtests/exp-inputs: Change input.
6542 * benchtests/pow-inputs: Likewise.
6543 * benchtests/slowexp-inputs: New file.
6544 * benchtests/slowexp.c: New file.
6545 * benchtests/slowpow-inputs: New file.
6546 * benchtests/slowpow.c: New file.
6547
ab0f1aa9
AZ
65482013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6549
6550 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6551 instructions.
6552 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6553 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6554 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6555 * benchtests/Makefile: Add rint benchtest.
6556 * benchtests/rint-inputs: Input for rint benchtest.
6557
57267616
TS
65582013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6559
6560 * Versions.def (libm): Add GLIBC_2.18.
6561 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6562 hidden libm prototypes.
6563 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6564 * math/Makefile (libm-calls): Add s_issignaling.
6565 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6566 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6567 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6568 declaration.
6569 * math/math.h [__USE_GNU] (issignaling): New macro.
6570 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6571 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6572 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6573 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6574 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6575 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6576 * manual/arith.texi (issignaling): New section.
6577 * manual/libm-err-tab.pl (@all_functions): Update comment.
6578 * math/gen-libm-test.pl (parse_args): Apply special handling for
6579 issignaling.
6580 * math/libm-test.inc (print_float, issignaling_test): New
6581 functions.
6582 (check_float_internal): Add issignaling checks.
6583 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6584 default definition.
6585 * sysdeps/powerpc/math-tests.h: New file.
6586 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6587 tests.
6588 * math/test-snan.c (TEST_FUNC): Likewise.
6589
6142896d
DM
65902013-03-30 David S. Miller <davem@davemloft.net>
6591
6592 * po/de.po: Update from translation team.
6593
ccc8cadf
JM
65942013-03-30 Joseph Myers <joseph@codesourcery.com>
6595
6596 [BZ #10357]
6597 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6598 imaginary part less than 1.0 and real part less than 0.5
6599 specially.
6600 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6601 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6602 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6603 (cacos_test): Add more tests.
6604 (casin_test): Likewise.
6605 (casinh_test): Likewise.
6606 * sysdeps/i386/fpu/libm-test-ulps: Update.
6607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6608
0f6a8d4b
SP
66092013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6610
0d1029de
SP
6611 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6612 ONE with its value.
6613
c2d94018
SP
6614 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6615 (__pow_mp): Replace ONE and MONE with their values.
6616 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6617 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6618 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6619 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6620 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6621 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6622
27ec37f1
SP
6623 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6624
a64d7e0e
SP
6625 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6626 (__pow_mp): Replace ZERO and MZERO with their values.
6627 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6628 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6629 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6630 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6631 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6632 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6633 (__sqr): Likewise.
6634
d26dd3eb
SP
6635 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6636
0f6a8d4b
SP
6637 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6638
e57b0c61
RM
66392013-03-28 Roland McGrath <roland@hack.frob.com>
6640
6641 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6642 Declare with __attribute__ ((weak)).
6643 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6644 Call __call_tls_dtors only if it's not NULL.
6645
356b3480
RM
66462013-03-28 Roland McGrath <roland@hack.frob.com>
6647
288f7d79
RM
6648 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6649 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6650 magic __ehdr_start linker symbol if it's defined.
6651 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6652 them up here if it was already done.
6653
dc0a0263
RM
6654 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6655 (_dl_aux_init): Use const in cast when setting it.
6656 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6657 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6658 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6659
3d3436ae
RM
6660 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6661 Declare them here.
6662 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6663 * csu/libc-tls.c: Nor here.
6664 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6665
356b3480
RM
6666 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6667 (__libc_message): Never call vsyslog.
6668
b0f1246a
AM
66692013-03-28 Alan Modra <amodra@gmail.com>
6670
6671 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6672 Define as empty.
6673 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6674 Likewise.
6675
fbbe2b9a
AZ
66762013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6677
6678 [BZ #15214]
6679 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6680 underflow.
6681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6682
1728ab37
SP
66832013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6684
7a86be6e
SP
6685 [BZ #15304]
6686 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6687 Don't add gid passed as argument.
6688
1728ab37
SP
6689 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6690
3a7182a1
JM
66912013-03-27 Joseph Myers <joseph@codesourcery.com>
6692
6693 [BZ #15307]
6694 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6695 imaginary part between 1.0 and 1.5 and real part less than 0.5
6696 specially.
6697 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6698 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6699 * math/libm-test.inc (cacos_test): Add more tests.
6700 (casin_test): Likewise.
6701 (casinh_test): Likewise.
6702 * sysdeps/i386/fpu/libm-test-ulps: Update.
6703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6704
6f2e90e7
SP
67052013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6706
5739f705
SP
6707 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6708 constants.
6709 (norm): Likewise.
6710 (denorm): Likewise.
6711 (__dbl_mp): Likewise.
6712 (add_magnitudes): Likewise.
6713 (sub_magnitudes): Likewise.
6714 (__add): Likewise.
6715 (__sub): Likewise.
6716 (__mul): Likewise.
6717 (__sqr): Likewise.
6718 (__inv): Likewise.
6719 (__dvd): Likewise.
6720
e375e83d
SP
6721 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6722 commented code.
6723 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6724 (__dubcos): Likewise.
6725 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6726 (__ieee754_acos): Likewise.
6727 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6728 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6729 (__exp1): Likewise.
6730 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6731 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6732 (log1): Likewise.
6733 (my_log2): Likewise.
6734 (checkint): Likewise.
6735 * sysdeps/ieee754/dbl-64/e_remainder.c
6736 (__ieee754_remainder): Likewise.
6737 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6738 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6739 (bsloww): Likewise.
6740 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6741
6f2e90e7
SP
6742 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6743 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6744 MANTISSA_STORE_T to store computations on mantissa. Use
6745 macros for rounding and division.
6746 (denorm): Likewise.
6747 (__dbl_mp): Likewise.
6748 (add_magnitudes): Likewise.
6749 (sub_magnitudes): Likewise.
6750 (__mul): Likewise.
6751 (__sqr): Likewise.
6752 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6753 powers of two in terms of TWOPOW macro.
6754 (mp_no): Make type of mantissa as MANTISSA_T.
6755 [!RADIXI]: Define RADIXI.
6756 [!TWO52]: Define TWO52.
6757 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6758
fce14d4e
AZ
67592013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6760
6761 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6762 llroundl symbol when building for PPC32.
6763
9ad027fb
MW
67642013-03-24 Mark H Weaver <mhw@netris.org>
6765
6766 * manual/arith.texi (Normalization Functions): Fix prototypes for
6767 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6768
e42a38dd
AZ
67692013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6770
6771 [BZ #13889]
6772 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6773 high value to check if expl overflow.
6774 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6775 to check for underflow and overflow.
6776 * math/libm-test.inc: Add exp test.
6777
2e0fb521
DL
67782013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6779
6780 [BZ #11120]
6781 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6782 with NOT_IN_libc.
6783
b5784d95
AZ
67842013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6785
6786 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6787 symbol.
6788
5aa4a1a1
TS
67892013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6790
bdef0be7
TS
6791 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6792 wrap blocks consisting of several statements.
6793
5aa4a1a1
TS
6794 * sysdeps/generic/math-tests.h: New file.
6795 * sysdeps/i386/fpu/math-tests.h: Likewise.
6796 * math/test-snan.c: Include it.
6797 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6798
98c48fe5
JM
67992013-03-21 Joseph Myers <joseph@codesourcery.com>
6800
6801 [BZ #15285]
6802 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6803 (__ieee754_j0l): Do not improve calculations using cos of twice
6804 input for inputs above LDBL_MAX / 2.0L.
6805 (__ieee754_y0l): Likewise.
6806 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6807 (__ieee754_j1l): Do not improve calculations using cos of twice
6808 input for inputs above LDBL_MAX / 2.0L.
6809 (__ieee754_y1l): Likewise.
6810 * math/libm-test.inc (j0_test): Add another test.
6811 (j1_test): Likewise.
6812 (y0_test): Likewise.
6813 (y1_test): Likewise.
6814 * sysdeps/i386/fpu/libm-test-ulps: Update.
6815
3775a8bc
SP
68162013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6817
6818 * Rules ($(objpfx)bench-%.c): Include code from a C source
6819 file.
6820
0a1b2ae6
JM
68212013-03-21 Joseph Myers <joseph@codesourcery.com>
6822
6823 [BZ #15287]
6824 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6825 imaginary part 1.0 and real part less than 0.5 specially.
6826 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6827 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6828 * math/libm-test.inc (cacos_test): Add more tests.
6829 (casin_test): Likewise.
6830 (casinh_test): Likewise.
6831 * sysdeps/i386/fpu/libm-test-ulps: Update.
6832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6833
b33d4ce4
SP
68342013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6835
6836 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6837 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6838
bef0b507
JM
68392013-03-20 Joseph Myers <joseph@codesourcery.com>
6840
6841 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6842 * config.make.in (config-cflags-sse4): Remove variable.
6843 (config-cflags-avx): Likewise.
6844 (config-cflags-sse2avx): Likewise.
6845 (config-cflags-novzeroupper): Likewise.
6846 (config-asflags-i686): Likewise.
6847 (have-mfma4): Likewise.
6848 (have-as-vis3): Likewise.
6849 (MIG): Likewise.
6850 * configure.in (MIG): Do not AC_SUBST.
6851 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6852 (libc_cv_cc_sse4): Do not AC_SUBST.
6853 (libc_cv_cc_avx): Likewise.
6854 (libc_cv_cc_sse2avx): Likewise.
6855 (libc_cv_cc_novzeroupper): Likewise.
6856 (libc_cv_cc_fma4): Likewise.
6857 (libc_cv_as_i686): Likewise.
6858 (libc_cv_sparc_as_vis3): Likewise.
6859 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6860 LIBC_CONFIG_VAR.
6861 (config-asflags-i686): Likewise.
6862 (config-cflags-avx): Likewise.
6863 (config-cflags-sse2avx): Likewise.
6864 (have-mfma4): Likewise.
6865 (config-cflags-novzeroupper): Likewise.
6866 * sysdeps/mach/configure.in (MIG): Likewise.
6867 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6868 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6869 LIBC_CONFIG_VAR.
6870 (config-cflags-avx): Likewise.
6871 (config-cflags-sse2avx): Likewise.
6872 (have-mfma4): Likewise.
6873 (config-cflags-novzeroupper): Likewise.
6874 * configure: Regenerated.
6875 * sysdeps/i386/configure: Likewise.
6876 * sysdeps/mach/configure: Likewise.
6877 * sysdeps/sparc/configure: Likewise.
6878 * sysdeps/x86_64/configure: Likewise.
6879
912cc4b3
RM
68802013-03-20 Roland McGrath <roland@hack.frob.com>
6881
6882 [BZ #14812]
6883 * locale/programs/localedef.c (options): Put N_ translation marker
6884 on argument names, not just descriptions.
6885
04eed2b0
MS
68862013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6887
6888 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6889
a065ceff
OB
68902013-03-20 Ondřej Bílka <neleai@seznam.cz>
6891
9bb2a810 6892 [BZ #14176]
a065ceff
OB
6893 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6894
a600e5ce
RM
68952013-03-19 Roland McGrath <roland@hack.frob.com>
6896
6897 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6898 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6899 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6900 [!BEFORE_ABORT] (before_abort): New function.
6901 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6902 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6903 (writev_for_fatal): New function.
6904 (WRITEV_FOR_FATAL): New macro; call that.
6905 (backtrace_and_maps): New function.
6906 (BEFORE_ABORT): New macro; call that.
6907 (struct str_list): Type removed.
6908 (__libc_message, __libc_fatal): Functions removed.
6909 Include <sysdeps/posix/libc_fatal.c> instead.
6910
6b18bea6
JM
69112013-03-19 Joseph Myers <joseph@codesourcery.com>
6912
6913 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6914 constants.
6915 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6916 double constants.
6917
aaa8cb4b
AS
69182013-03-19 Andreas Schwab <schwab@suse.de>
6919
44673770
AS
6920 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6921 * sysdeps/gnu/configure: Regenerate.
6922
aaa8cb4b
AS
6923 * configure.in: Substitute libc_cv_rtlddir.
6924 * configure: Regenerate.
6925 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6926 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6927 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6928 * elf/Makefile (install-others, CFLAGS-interp.c)
6929 (ldso_install, common-ldd-rewrite): Likewise.
6930 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6931 $(inst_slibdir)/$(rtld-installed-name).
6932 * scripts/rellns-sh: Add -p option.
6933 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6934 for source.
6935
d3cfc668
SP
69362013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6937
6938 * manual/nptl.texi: Renamed to ...
6939 * manual/threads.texi: ... this.
6940 * manual/Makefile (chapters): Update.
6941
0e2b9cdd
RM
69422013-03-18 Roland McGrath <roland@hack.frob.com>
6943
6944 [BZ #14812]
6945 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6946 on argument names, not just descriptions.
0e2b9cdd
RM
6947 * malloc/memusagestat.c (options): Likewise.
6948 * nss/getent.c (options): Likewise.
63270c24
RM
6949
69502013-03-18 Benno Schulenberg <bensberg@justemail.net>
6951
6952 [BZ #14812]
6953 * iconv/iconv_prog.c (options): Put N_ translation marker
6954 on argument names, not just descriptions.
6955 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6956
b2e1393c
OB
69572013-03-18 Ondrej Bilka <neleai@seznam.cz>
6958
6959 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6960 implementation which is faster on all x86_64 architectures.
6961 Tested on AMD, Intel Nehalem, SNB, IVB.
6962 * sysdeps/x86_64/strnlen.S: Likewise.
6963
6964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6965 Remove all multiarch strlen and strnlen versions.
6966 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6967 Remove strlen and strnlen related parts.
6968
6969 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6970 Inline strlen part.
6971 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6972
6973 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6974 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6975 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6976 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6977 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6978 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6979
ec4ff04d
CD
69802013-03-17 Carlos O'Donell <carlos@redhat.com>
6981
6982 * manual/memory.texi (Malloc Tunable Parameters):
6983 Sort parameters alphabetically. Add comments for missing entries.
6984
cd18e90a
DM
69852013-03-17 David S. Miller <davem@davemloft.net>
6986
6987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6988
2a185d32
JM
69892013-03-16 Joseph Myers <joseph@codesourcery.com>
6990
d2f9799e
JM
6991 [BZ #15283]
6992 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6993 for arguments at most half maximum finite value.
6994 * math/libm-test.inc (j0_test): Add more tests.
6995 (j1_test): Likewise.
6996 (y0_test): Likewise.
6997 (y1_test): Likewise.
6998 * sysdeps/i386/fpu/libm-test-ulps: Update.
6999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7000
2a185d32
JM
7001 [BZ #14155]
7002 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7003 1 / x and functions P and Q for arguments above 0x1p256L.
7004 (__ieee754_y0l): Likewise.
7005 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7006 (__ieee754_y1l): Likewise.
7007 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7008 (j1_test): Likewise.
7009 (y0_test): Likewise.
7010 (y1_test): Likewise.
7011
6cbec759
TS
70122013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7013
7014 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7015 variable.
7016
bc16e260
RM
70172013-03-15 Roland McGrath <roland@hack.frob.com>
7018
aefc9b8c
RM
7019 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7020 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7021 zero since it's initialized to EXEC_PAGESIZE.
7022
bc16e260
RM
7023 * sysdeps/unix/sysv/linux/ldsodefs.h
7024 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7025 * sysdeps/generic/ldsodefs.h: ... here.
7026
a57da955
TS
70272013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7028
af00a34d
TS
7029 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7030
495ded2c
TS
7031 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7032 math/test-snan.c.
7033 * math/test-snan.c: Renamed from
7034 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7035 * math/Makefile (tests): Add test-snan.
7036 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7037 test-powerpc-snan.
7038
777b0332
TS
7039 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7040 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7041 functions.
7042 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7043 __builtin_nan family of functions.
7044 * math/libm-test.inc (initialize): Initialize qnan_value with
7045 __builtin_nan family of functions.
7046 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7047 Remove variables.
7048 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7049 Remove functions.
7050 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7051 storage class. Initialize qNaN_var and sNaN_var with
7052 __builtin_nan and __builtin_nans families of functions,
7053 respectively.
7054
64d063b8
TS
7055 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7056 (sqrt_test): Remove duplicate test with qNaN input.
7057 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7058 (round_test, signbit_test, significand_test): Note missing +/-Inf
7059 as well as qNaN tests.
7060
67e971f1
TS
7061 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7062 qNaN_var. Fix a few strings, too.
7063 * math/libm-test.inc (nan_value): Rename to qnan_value.
7064 * math/gen-libm-test.pl (%beautify): Adjust to that.
7065 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7066 * math/test-misc.c (main): Likewise.
7067 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7068 to __qnan_bytes, and __qnan_union, respectively.
7069 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7070 Likewise.
7071 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7072 and lqnanval, respectively.
7073 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7074 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7075 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7076 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7077
64487e12
TS
7078 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7079 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7080 doubles.
7081
e015e27b
TS
7082 * math/test-misc.c (main): Fix copy'n'pastos.
7083 * misc/tst-efgcvt.c (special): Likewise.
7084
a57da955
TS
7085 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7086 Remove declarations.
7087
1e380345
SP
70882013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7089
7090 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7091 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7092 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7093 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7094
ef26eece
AZ
70952013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7096
7097 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7098 macro to return vdso values correctly in IFUNC implementations.
7099 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7100 Optimization by using IFUNC.
7101
8cfdb7e0
SP
71022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7103 Richard Henderson <rth@redhat.com>
7104 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7105
7106 * Makefile.in (bench): New target.
7107 * NEWS: Mention the benchmark framework.
7108 * Rules (bench): Likewise.
7109 (binaries-bench): Generate binaries for functions to
7110 benchmark.
7111 * benchtests/Makefile: New makefile for benchmark tests.
7112 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7113 programs.
7114 * benchtests/exp-inputs: New input file for EXP function.
7115 * benchtests/pow-inputs: New input file for POW function.
7116 * scripts/bench.pl: New script to generate source files for
7117 benchmark programs.
7118
bcda9880
SP
71192013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7120
d22ca8cd
SP
7121 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7122 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7123 computations on mantissa. Use macros for rounding and
7124 division.
7125 (denorm): Likewise.
7126 (__dbl_mp): Likewise.
7127 (add_magnitudes): Likewise.
7128 (sub_magnitudes): Likewise.
7129 (__mul): Likewise.
7130 (__sqr): Likewise.
7131 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7132 powers of two in terms of TWOPOW macro.
7133 (mp_no): Make type of mantissa as MANTISSA_T.
7134 [!RADIXI]: Define RADIXI.
7135 [!TWO52]: Define TWO52.
7136 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7137
bcda9880
SP
7138 * manual/nptl.texi (cindex): Modify threads to pthreads.
7139
06d5adfb
JM
71402013-03-15 Joseph Myers <joseph@codesourcery.com>
7141
7142 * sysdeps/x86_64/preconfigure: Regenerated.
7143
41c7328e
JM
71442013-03-14 Joseph Myers <joseph@codesourcery.com>
7145
7146 [BZ #14155]
7147 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7148 0x1p28 and above.
7149 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7150 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7151 0x1p28 and above.
7152 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7153 * math/libm-test.inc (j0_test): Do not allow one spurious
7154 underflow exception.
7155 (y1_test): Likewise.
7156
e25cfa60
SP
71572013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7158
0409959c
SP
7159 * manual/Makefile (chapters): Add nptl.
7160 * manual/debug.texi (Debugging Support): Add link to Threads
7161 chapter.
7162 * manual/nptl.texi: New file.
7163
e25cfa60
SP
7164 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7165
58a1335e
PB
71662013-03-14 Petr Baudis <pasky@ucw.cz>
7167
7168 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7169 for non-NULL pointer before the memory validity test. Pointed
7170 out by Holger Brunck <holger.brunck@keymile.com>.
7171
9dc7c64f
AS
71722013-03-13 Andreas Schwab <schwab@suse.de>
7173
7174 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7175 instead of .os.
7176
54206aa6
JM
71772013-03-13 Joseph Myers <joseph@codesourcery.com>
7178
7179 * timezone/zic.c: Update from tzcode 2013b.
7180
e98cdb38
CD
71812013-03-12 Carlos O'Donell <carlos@redhat.com>
7182
7183 * manual/install.texi (Configuring and compiling):
7184 Mention i686 and i586.
7185 * INSTALL: Regenerate.
7186
9967e003
RM
71872013-03-12 Roland McGrath <roland@hack.frob.com>
7188
7189 * sysdeps/init_array/elf-init.c: New file.
7190 * csu/elf-init.c
7191 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7192 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7193
7194 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7195 __gmon_start__ as global, but as static with a .preinit_array pointer.
7196 * sysdeps/init_array/gmon-start.c: New file. Use that.
7197 * sysdeps/init_array/crti.S: New file, empty except for comments.
7198 * sysdeps/init_array/crtn.S: Likewise.
7199
e6b5a293 72002013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
7201
7202 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7203 definining bcopy.
80f844c9
OB
7204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7205 Remove Prefer_SSE_for_memop.
7206 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7207 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7208 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
7209 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7210 memset-x86-64.
80f844c9 7211 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 7212 Remove bzero, memset ifunc support.
80f844c9
OB
7213 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7214 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7215 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7216 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7217
fb6b0fcb
AS
72182013-03-11 Andreas Schwab <schwab@suse.de>
7219
7220 [BZ #15234]
7221 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7222 by SHLIB_COMPAT.
7223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7224 (GLIBC_2.16): Remove pthread_atfork.
7225
3e6bd4b1
PP
72262013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7227
7228 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7229 (ptestcases.h): Likewise.
7230
222d7f00
RM
72312013-03-08 Roland McGrath <roland@hack.frob.com>
7232
7233 * Makeconfig ($(common-objpfx)config.status): Depend on
7234 sysdeps/*/preconfigure{,.in} too.
7235
1ba4f030
JM
72362013-03-08 Joseph Myers <joseph@codesourcery.com>
7237
a222d91a
JM
7238 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7239 (__free_hook): Use void * instead of __malloc_ptr_t.
7240 (__malloc_hook): Likewise.
7241 (__realloc_hook): Likewise.
7242 (__memalign_hook): Likewise.
7243 (__after_morecore_hook): Likewise.
7244 * malloc/arena.c (save_malloc_hook): Likewise.
7245 (save_free_hook): Likewise.
7246 * malloc/hooks.c (malloc_hook_ini): Likewise.
7247 (realloc_hook_ini): Likewise.
7248 (memalign_hook_ini): Likewise.
7249 * malloc/malloc.c (malloc_hook_ini): Likewise.
7250 (realloc_hook_ini): Likewise.
7251 (memalign_hook_ini): Likewise.
7252 (__free_hook): Likewise.
7253 (__malloc_hook): Likewise.
7254 (__realloc_hook): Likewise.
7255 (__memalign_hook): Likewise.
7256 (__libc_malloc): Likewise.
7257 (__libc_free): Likewise.
7258 (__libc_realloc): Likewise.
7259 (__libc_memalign): Likewise.
7260 (__libc_valloc): Likewise.
7261 (__libc_pvalloc): Likewise.
7262 (__libc_calloc): Likewise.
7263 (__posix_memalign): Likewise.
7264 * malloc/morecore.c (__sbrk): Likewise.
7265 (__default_morecore): Likewise.
7266
5cc45e10
JM
7267 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7268
dd54b864
JM
7269 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7270 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7271 __malloc_ptrdiff_t.
7272
1ba4f030
JM
7273 * malloc/malloc.h (__malloc_size_t): Remove macro.
7274 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7275 __malloc_size_t.
7276 (old_memalign_hook): Likewise.
7277 (old_realloc_hook): Likewise.
7278 (struct hdr): Likewise.
7279 (flood): Likewise.
7280 (mallochook): Likewise.
7281 (memalignhook): Likewise.
7282 (reallochook): Likewise.
7283 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7284 (tr_old_realloc_hook): Likewise.
7285 (tr_old_memalign_hook): Likewise.
7286 (tr_mallochook): Likewise.
7287 (tr_reallochook): Likewise.
7288 (tr_memalignhook): Likewise.
7289
edf66e57
AZ
72902013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7291
7292 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7293 default_ldbl_pack and using as default implementation.
7294 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7295 implementation.
7296 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7297 redundant definition.
7298 (ldbl_insert_mantissa): Likewise.
7299 (ldbl_canonicalize): Likewise.
7300 (ldbl_nearbyint): Likewise.
7301 (ldbl_pack): Rename to ldbl_pack_ppc.
7302 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7303 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7304 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7305
6d9145d8
SP
73062013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7307
7308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7309 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7310 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7311 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7313 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7314 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7315 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7316
4dd4e157
AJ
73172013-03-07 Andreas Jaeger <aj@suse.de>
7318
7319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7320 bits/mman-linux.h.
7321
adbb8027
SP
73222013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7323
ce544b5b
SP
7324 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7325 Include mpa.h and declare __MPEXP.
7326 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7327 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7328 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7329 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7330 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7331 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7332 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7333
4cc149fd
SP
7334 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7335 (__slowpow): Use long double EXPL and LOGL functions to
7336 compute POW.
7337 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7338 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7339 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7340 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7341 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7342 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7343
e6ebd4a7
SP
7344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7345 intermediate variable to calculate exponent.
7346 (__sqr): Likewise.
7347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7348 Likewise.
7349 (__sqr): Likewise.
7350
82a9811d
SP
7351 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7352 [!NO__SQR]: Define __sqr.
7353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7354 and NO__SQR. Remove all code except __mul and __sqr. Include
7355 sysdeps/ieee754/dbl-64/mpa.c.
7356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7357
adbb8027
SP
7358 [BZ #12723]
7359 * posix/Makefile (tests): Add tst-pathconf.
7360 * posix/tst-pathconf.c: New test case.
7361 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7362 _PC_PIPE_BUF.
7363 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7364
39120df9
PF
73652013-03-06 Patsy Franklin <pfrankli@redhat.com>
7366
7367 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7368
67525cb8
AJ
73692013-03-06 Andreas Jaeger <aj@suse.de>
7370
664a9ce4
AJ
7371 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7372 definition via __MAP_ANONYMOUS.
7373
8e39047d
AJ
7374 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7375 it's not part of Linux headers.
7376
67525cb8
AJ
7377 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7378 (MAP_HUGE_MASK): Define.
7379
7380 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7381 Define.
7382 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7383 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7384 Define.
7385 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7386 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7387 Define.
7388 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7389 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7390 Define.
7391 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7392
7393 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7394 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7395 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7396 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7397 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7398 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7399
7400 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7401 Handle f2fs.
7402
7403 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7404 Handle f2fs and efivarfs.
7405
7406 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7407 f2fs.
7408
7409 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7410 (EFIVARFS_MAGIC): Add.
7411 (F2FS_LINK_MAX): Add.
7412
e1b42695
PP
74132013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7414
7415 * stdio-common/vfprintf.c: Replace __builtin_expect with
7416 __glibc_unlikely.
7417
2d67d91a
JM
74182013-03-06 Joseph Myers <joseph@codesourcery.com>
7419
7420 [BZ #13550]
7421 * sysdeps/generic/bp-sym.h: Remove file.
7422 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7423 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7424 <bp-sym.h> and <bp-asm.h>.
7425 (__longjmp): Don't use BP_SYM.
7426 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7427 and <bp-asm.h>.
7428 (memcpy): Don't use BP_SYM.
7429 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7430 <bp-sym.h> and <bp-asm.h>.
7431 (memcpy): Don't use BP_SYM.
7432 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7433 <bp-asm.h>.
7434 (memcpy): Don't use BP_SYM.
7435 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7436 <bp-asm.h>.
7437 (memset): Don't use BP_SYM.
7438 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7439 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7440 (__bzero): Don't use BP_SYM.
7441 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7442 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7443 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7444 <bp-sym.h> and <bp-asm.h>.
7445 (memcmp): Don't use BP_SYM. Remove comment about bounded
7446 pointers.
7447 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7448 <bp-sym.h> and <bp-asm.h>.
7449 (memcpy): Don't use BP_SYM.
7450 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7451 <bp-sym.h> and <bp-asm.h>.
7452 (memset): Don't use BP_SYM.
7453 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7454 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7455 (__bzero): Don't use BP_SYM.
7456 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7457 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7458 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7459 <bp-sym.h> and <bp-asm.h>.
7460 (strncmp): Don't use BP_SYM. Remove comment about bounded
7461 pointers.
7462 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7463 <bp-sym.h> and <bp-asm.h>.
7464 (memcpy): Don't use BP_SYM.
7465 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7466 <bp-sym.h> and <bp-asm.h>.
7467 (memset): Don't use BP_SYM.
7468 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7469 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7470 (__bzero): Don't use BP_SYM.
7471 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7472 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7473 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7474 <bp-sym.h> and <bp-asm.h>.
7475 (__memchr): Don't use BP_SYM.
7476 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7477 <bp-sym.h> and <bp-asm.h>.
7478 (memcmp): Don't use BP_SYM. Remove comment about bounded
7479 pointers.
7480 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7481 <bp-sym.h> and <bp-asm.h>.
7482 (memcpy): Don't use BP_SYM.
7483 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7484 <bp-sym.h> and <bp-asm.h>.
7485 (__mempcpy): Don't use BP_SYM.
7486 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7487 <bp-sym.h> and <bp-asm.h>.
7488 (__memrchr): Don't use BP_SYM.
7489 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7490 <bp-sym.h> and <bp-asm.h>.
7491 (memset): Don't use BP_SYM.
7492 (__bzero): Likewise.
7493 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7494 <bp-sym.h> and <bp-asm.h>.
7495 (__rawmemchr): Don't use BP_SYM.
7496 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7497 <bp-sym.h> and <bp-asm.h>.
7498 (__STRCMP): Don't use BP_SYM.
7499 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7500 <bp-sym.h> and <bp-asm.h>.
7501 (strchr): Don't use BP_SYM.
7502 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7503 <bp-sym.h> and <bp-asm.h>.
7504 (__strchrnul): Don't use BP_SYM.
7505 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7506 <bp-sym.h> and <bp-asm.h>.
7507 (strlen): Don't use BP_SYM.
7508 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7509 <bp-sym.h> and <bp-asm.h>.
7510 (strncmp): Don't use BP_SYM. Remove comment about bounded
7511 pointers.
7512 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7513 <bp-sym.h> and <bp-asm.h>.
7514 (__strnlen): Don't use BP_SYM.
7515 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7516 <bp-sym.h> and <bp-asm.h>.
7517 (__GI__setjmp): Don't use BP_SYM.
7518 (_setjmp): Likewise.
7519 (__sigsetjmp): Likewise.
7520 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7521 (L(start_addresses)): Don't use BP_SYM.
7522 (_start): Likewise.
7523 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7524 <bp-asm.h>.
7525 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7526 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7527 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7528 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7529 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7530 <bp-asm.h>.
7531 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7532 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7533 about bounded pointers.
7534 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7535 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7536 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7537 <bp-asm.h>.
7538 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7539 about bounded pointers. Remove GKM FIXME comments.
7540 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7541 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7542 <bp-asm.h>.
7543 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7544 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7545 Remove GKM FIXME comments.
7546 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7547 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7548 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7549 <bp-asm.h>.
7550 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7551 about bounded pointers. Remove GKM FIXME comment.
7552 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7553 and <bp-asm.h>.
7554 (strncmp): Don't use BP_SYM. Remove comment about bounded
7555 pointers.
7556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7557 <bp-sym.h> and <bp-asm.h>.
7558 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7560 <bp-sym.h> and <bp-asm.h>.
7561 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7562 comment.
7563
cdcf361f
PP
75642013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7565
7566 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7567 call free(NULL).
7568
3c4a2b15
DM
75692013-03-05 David S. Miller <davem@davemloft.net>
7570
7571 * po/es.po: Update from translation team.
7572
cdcf361f 75732013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
7574
7575 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7576 <bits/mman-linux.h>.
7577 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7578 is fine.
7579 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7580 <bits/mman-linux.h> to end of file.
7581 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7582 is fine.
7583 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7584 <bits/mman-linux.h> to end of file.
7585 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7586 is fine.
7587 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7588 <bits/mman-linux.h> to end of file.
7589
7590 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7591 (MCL_CURRENT, MCL_FUTURE): Define here.
7592
5f67c04f
AK
75932013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7594
8a4473cc 7595 [BZ #15232]
5f67c04f
AK
7596 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7597 attribute_hidden.
7598 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7599
c3e94a95
AK
76002013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7601
7602 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7603 fourth parameter needed for rt_sigprocmask syscall.
7604 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7605 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7606 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7607 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7608 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7609 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7610
cfb6382a
JM
76112013-03-04 Joseph Myers <joseph@codesourcery.com>
7612
7613 [BZ #13550]
7614 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7615 comment about bounded pointers.
7616 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7617 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7618
539d8e01
AJ
76192013-03-04 Andreas Jaeger <aj@suse.de>
7620
7621 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7622 common definitions.
7623
7624 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7625 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7626 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7627 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7628 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7629 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7630
2e167a70 76312013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7632
7633 [BZ #15055]
7634 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7635 __ieee754_sqrl instead of __sqrl.
7636
68508633
JM
76372013-03-01 Joseph Myers <joseph@codesourcery.com>
7638
7639 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7640 * sysdeps/powerpc/fpu_control.h: ... here.
7641 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7642 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7643 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7644 * sysdeps/powerpc/bits/mathinline.h: ... here.
7645
7775448e
RM
76462013-03-01 Roland McGrath <roland@hack.frob.com>
7647
7648 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7649 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7650 to just [NEED_DL_SYSINFO_DSO].
7651 * elf/dl-support.c: Likewise.
7652 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7653 * elf/rtld.c (dl_main): Likewise.
7654 * elf/setup-vdso.h (setup_vdso): Likewise.
7655 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7656 * sysdeps/unix/sysv/linux/dl-sysdep.c
7657 (_dl_discover_osversion): Likewise.
7658
4e9b5995
CD
76592013-03-01 Carlos O'Donell <carlos@redhat.com>
7660
7661 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7662 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7663
e23872c8
SP
76642013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7665
e5c74c63
SP
7666 * NEWS: Mention libm performance improvements and non-x86 PI
7667 futex support.
7668
e23872c8
SP
7669 * csu/libc-start.c (__pthread_initialize_minimal): Change
7670 function arguments.
7671 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7672
b5510883
JM
76732013-02-28 Joseph Myers <joseph@codesourcery.com>
7674
7675 [BZ #13550]
7676 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7677 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7678 <bp-sym.h> and <bp-asm.h>.
7679 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7680 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7681 and <bp-asm.h>.
7682 (memcpy): Don't use BP_SYM.
7683 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7684 <bp-asm.h>.
7685 (__mpn_add_n): Don't use BP_SYM.
7686 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7687 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7688 and <bp-asm.h>.
7689 (__mpn_addmul_1): Don't use BP_SYM.
7690 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7691 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7692 <bp-sym.h>.
7693 (_setjmp): Don't use BP_SYM.
7694 (__novmx_setjmp): Likewise.
7695 (__GI__setjmp): Likewise.
7696 (__vmx_setjmp): Likewise.
7697 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7698 <bp-sym.h>.
7699 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7700 (__bzero): Don't use BP_SYM.
7701 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7702 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7703 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7704 <bp-sym.h> and <bp-asm.h>.
7705 (memcpy): Don't use BP_SYM.
7706 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7707 <bp-sym.h> and <bp-asm.h>.
7708 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7709 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7710 <bp-sym.h> and <bp-asm.h>.
7711 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7712 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7713 <bp-asm.h>.
7714 (__mpn_lshift): Don't use BP_SYM.
7715 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7716 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7717 <bp-asm.h>.
7718 (memset): Don't use BP_SYM.
7719 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7720 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7721 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7722 <bp-asm.h>.
7723 (__mpn_mul_1): Don't use BP_SYM.
7724 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7725 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7726 <bp-sym.h> and <bp-asm.h>.
7727 (memcmp): Don't use BP_SYM.
7728 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7729 <bp-sym.h> and <bp-asm.h>.
7730 (memcpy): Don't use BP_SYM.
7731 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7732 <bp-sym.h> and <bp-asm.h>.
7733 (memset): Don't use BP_SYM.
7734 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7735 <bp-sym.h> and <bp-asm.h>.
7736 (strncmp): Don't use BP_SYM.
7737 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7738 <bp-sym.h> and <bp-asm.h>.
7739 (memcpy): Don't use BP_SYM.
7740 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7741 <bp-sym.h> and <bp-asm.h>.
7742 (memset): Don't use BP_SYM.
7743 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7744 <bp-sym.h> and <bp-asm.h>.
7745 (__memchr): Don't use BP_SYM.
7746 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7747 <bp-sym.h> and <bp-asm.h>.
7748 (memcmp): Don't use BP_SYM.
7749 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7750 <bp-sym.h> and <bp-asm.h>.
7751 (memcpy): Don't use BP_SYM.
7752 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7753 <bp-sym.h> and <bp-asm.h>.
7754 (__mempcpy): Don't use BP_SYM.
7755 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7756 <bp-sym.h> and <bp-asm.h>.
7757 (__memrchr): Don't use BP_SYM.
7758 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7759 <bp-sym.h> and <bp-asm.h>.
7760 (memset): Don't use BP_SYM.
7761 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7762 <bp-sym.h> and <bp-asm.h>.
7763 (__rawmemchr): Don't use BP_SYM.
7764 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7765 <bp-sym.h> and <bp-asm.h>.
7766 (__STRCMP): Don't use BP_SYM.
7767 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7768 <bp-sym.h> and <bp-asm.h>.
7769 (strchr): Don't use BP_SYM.
7770 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7771 <bp-sym.h> and <bp-asm.h>.
7772 (__strchrnul): Don't use BP_SYM.
7773 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7774 <bp-sym.h> and <bp-asm.h>.
7775 (strlen): Don't use BP_SYM.
7776 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7777 <bp-sym.h> and <bp-asm.h>.
7778 (strncmp): Don't use BP_SYM.
7779 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7780 <bp-sym.h> and <bp-asm.h>.
7781 (__strnlen): Don't use BP_SYM.
7782 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7783 <bp-asm.h>.
7784 (__mpn_rshift): Don't use BP_SYM.
7785 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7786 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7787 <bp-sym.h> and <bp-asm.h>.
7788 (__sigsetjmp): Don't use BP_SYM.
7789 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7790 (L(start_addresses)): Don't use BP_SYM.
7791 (_start): Likewise.
7792 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7793 <bp-asm.h>.
7794 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7795 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7796 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7797 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7798 <bp-asm.h>.
7799 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7800 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7801 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7802 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7803 <bp-asm.h>.
7804 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7805 comments.
7806 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7807 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7808 <bp-asm.h>.
7809 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7810 FIXME comments.
7811 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7812 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7813 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7814 <bp-asm.h>.
7815 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7816 comment.
7817 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7818 and <bp-asm.h>.
7819 (strncmp): Don't use BP_SYM,
7820 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7821 <bp-asm.h>.
7822 (__mpn_sub_n): Don't use BP_SYM.
7823 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7824 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7825 and <bp-asm.h>.
7826 (__mpn_submul_1): Don't use BP_SYM.
7827 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7829 <bp-sym.h> and <bp-asm.h>.
7830 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7832 <bp-sym.h> and <bp-asm.h>.
7833 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7834 comment.
7835
8d19fe64
SP
78362013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7837
7838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7839 Use ZK to minimize writes to Z.
7840 (sub_magnitudes): Simplify code a bit.
7841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7842 Use ZK to minimize writes to Z.
7843 (sub_magnitudes): Simplify code a bit.
7844
85bd816a
RM
78452013-02-27 Roland McGrath <roland@hack.frob.com>
7846
7847 * csu/gmon-start.c: Add special exception to license text.
7848
b5977bf2
RH
78492013-02-27 Richard Henderson <rth@redhat.com>
7850
7851 * scripts/config.guess: Update from config.git.
7852 * scripts/config.sub: Likewise.
7853
11d6e2f2
SP
78542013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7855
09c14ed2
SP
7856 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7857
a688864e
SP
7858 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7859
6295157a
SP
7860 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7861
b8de2202
SP
7862 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7863
11d6e2f2
SP
7864 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7865
7e80ddb8
RM
78662013-02-26 Roland McGrath <roland@hack.frob.com>
7867
7868 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7869 [$(build-shared = yes].
7e80ddb8 7870
7da6d9ed
SP
78712013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7872
45f05884
SP
7873 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7874 (__mul): Reduce iterations for calculating mantissa.
7875
2236d359
SP
7876 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7877 MPTWO.
7878 (__mpranred): Likewise.
7879
7da6d9ed
SP
7880 [BZ #15160]
7881 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7882 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7883
b7688c42
PE
78842013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7885
7886 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7887 Define __attribute__.
7888
53a5c423
SP
78892013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7890
7891 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7892 unused.
7893 * posix/regex_internal.h (__attribute): Remove.
7894 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7895 (re_string_context_at): Likewise.
7896 (bitset_not): Use __attribute__ and mark function as possibly
7897 unused.
7898 (bitset_merge): Likewise.
7899 (bitset_mask): Likewise.
7900 (re_string_char_size_at): Likewise.
7901 (re_string_wchar_at): Likewise.
7902 (re_string_elem_size_at): Likewise.
7903
60f5a8b5
SP
79042013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7905
2a983a2e
SP
7906 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7907 code.
7908 (cc32): Likewise.
7909
e69804d1
SP
7910 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7911 (__acr): Likewise.
7912 (__cpy): Likewise.
7913 (norm): Likewise.
7914 (denorm): Likewise.
7915 (__dbl_mp): Likewise.
7916 (add_magnitudes): Likewise.
7917 (sub_magnitudes): Likewise.
7918 (__mul): Likewise.
7919 (__inv): Likewise.
7920
2f22a1e8
SP
7921 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7922 style.
7923
8930ddc7
SP
7924 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7925 style.
7926
dc60cb11
SP
7927 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7928 code.
7929
60f5a8b5
SP
7930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7931 up changes with default code.
7932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7933 Likewise.
7934
b4d1fd33
AM
79352013-02-24 Allan McRae <allan@archlinux.org>
7936
faf6f8bc
AM
7937 * manual/socket.texi (The Internet Namespace): Order menu items
7938 to match that in the file.
7939
b4d1fd33
AM
7940 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7941 node listing of the info page menu.
7942
2366713d
JM
79432013-02-21 Joseph Myers <joseph@codesourcery.com>
7944
7945 [BZ #13550]
7946 * sysdeps/i386/bp-asm.h: Remove file.
7947 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7948 (PARMS): Do not use macros from bp-asm.h.
7949 (S1): Likewise.
7950 (S2): Likewise.
7951 (SIZE): Likewise.
7952 (__mpn_add_n): Do not use BP_SYM
7953 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7954 "bp-asm.h".
7955 (PARMS): Do not use macros from bp-asm.h.
7956 (S1): Likewise.
7957 (SIZE): Likewise.
7958 (__mpn_addmul_1): Do not use BP_SYM
7959 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7960 "bp-asm.h".
7961 (PARMS): Do not use macros from bp-asm.h.
7962 (SIGMSK): Likewise.
7963 (_setjmp): Likewise. Do not use BP_SYM.
7964 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7965 "bp-asm.h".
7966 (PARMS): Do not use macros from bp-asm.h.
7967 (SIGMSK): Likewise.
7968 (setjmp): Likewise. Do not use BP_SYM.
7969 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7970 "bp-asm.h".
7971 (PARMS): Do not use macros from bp-asm.h.
7972 (__frexp): Do not use BP_SYM.
7973 (frexp): Likewise.
7974 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7975 "bp-asm.h".
7976 (PARMS): Do not use macros from bp-asm.h.
7977 (__frexpf): Do not use BP_SYM.
7978 (frexpf): Likewise.
7979 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7980 "bp-asm.h".
7981 (PARMS): Do not use macros from bp-asm.h.
7982 (__frexpl): Do not use BP_SYM.
7983 (frexpl): Likewise.
7984 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7985 "bp-asm.h".
7986 (PARMS): Do not use macros from bp-asm.h.
7987 (__remquo): Do not use BP_SYM.
7988 (remquo): Likewise.
7989 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7990 "bp-asm.h".
7991 (PARMS): Do not use macros from bp-asm.h.
7992 (__remquof): Do not use BP_SYM.
7993 (remquof): Likewise.
7994 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7995 "bp-asm.h".
7996 (PARMS): Do not use macros from bp-asm.h.
7997 (__remquol): Do not use BP_SYM.
7998 (remquol): Likewise.
7999 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8000 "bp-asm.h".
8001 (PARMS): Do not use macros from bp-asm.h.
8002 (DEST): Likewise.
8003 (SRC): Likewise.
8004 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8005 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8006 "bp-asm.h".
8007 (PARMS): Do not use macros from bp-asm.h.
8008 (strlen): Do not use BP_SYM.
8009 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8010 "bp-asm.h".
8011 (PARMS): Do not use macros from bp-asm.h.
8012 (S1): Likewise.
8013 (S2): Likewise.
8014 (SIZE): Likewise.
8015 (__mpn_add_n): Do not use BP_SYM.
8016 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8017 "bp-asm.h".
8018 (PARMS): Do not use macros from bp-asm.h.
8019 (S1): Likewise.
8020 (SIZE): Likewise.
8021 (__mpn_addmul_1): Do not use BP_SYM.
8022 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8023 weak_alias.
8024 (bzero): Likewise.
8025 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8026 "bp-asm.h".
8027 (PARMS): Do not use macros from bp-asm.h.
8028 (S): Likewise.
8029 (SIZE): Likewise.
8030 (__mpn_lshift): Do not use BP_SYM.
8031 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8032 "bp-asm.h".
8033 (PARMS): Do not use macros from bp-asm.h.
8034 (DEST): Likewise.
8035 (SRC): Likewise.
8036 (LEN): Likewise.
8037 (memcpy): Likewise. Do not use BP_SYM.
8038 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8039 libc_hidden_def and weak_alias.
8040 (mempcpy): Do not use BP_SYM in weak_alias.
8041 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8042 "bp-asm.h".
8043 (PARMS): Do not use macros from bp-asm.h.
8044 (DEST): Likewise.
8045 (LEN): Likewise.
8046 [!BZERO_P] (CHR): Likewise.
8047 (memset): Likewise. Do not use BP_SYM.
8048 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8049 "bp-asm.h".
8050 (PARMS): Do not use macros from bp-asm.h.
8051 (S1): Likewise.
8052 (SIZE): Likewise.
8053 (__mpn_mul_1): Do not use BP_SYM.
8054 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8055 "bp-asm.h".
8056 (PARMS): Do not use macros from bp-asm.h.
8057 (S): Likewise.
8058 (SIZE): Likewise.
8059 (__mpn_rshift): Do not use BP_SYM.
8060 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8061 "bp-asm.h".
8062 (PARMS): Do not use macros from bp-asm.h.
8063 (STR): Likewise.
8064 (CHR): Likewise.
8065 (strchr): Likewise. Do not use BP_SYM.
8066 (index): Do not use BP_SYM in weak_alias.
8067 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8068 "bp-asm.h".
8069 (PARMS): Do not use macros from bp-asm.h.
8070 (DEST): Likewise.
8071 (SRC): Likewise.
8072 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8073 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8074 "bp-asm.h".
8075 (PARMS): Do not use macros from bp-asm.h.
8076 (strlen): Do not use BP_SYM.
8077 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8078 "bp-asm.h".
8079 (PARMS): Do not use macros from bp-asm.h.
8080 (S1): Likewise.
8081 (S2): Likewise.
8082 (SIZE): Likewise.
8083 (__mpn_sub_n): Do not use BP_SYM.
8084 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8085 "bp-asm.h".
8086 (PARMS): Do not use macros from bp-asm.h.
8087 (S1): Likewise.
8088 (SIZE): Likewise.
8089 (__mpn_submul_1): Do not use BP_SYM.
8090 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8091 "bp-asm.h".
8092 (PARMS): Do not use macros from bp-asm.h.
8093 (S1): Likewise.
8094 (S2): Likewise.
8095 (SIZE): Likewise.
8096 (__mpn_add_n): Do not use BP_SYM.
8097 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8098 weak_alias.
8099 (bzero): Likewise.
8100 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8101 "bp-asm.h".
8102 (PARMS): Do not use macros from bp-asm.h.
8103 (BLK2): Likewise.
8104 (LEN): Likewise.
8105 (memcmp): Do not use BP_SYM.
8106 (bcmp): Do not use BP_SYM in weak_alias.
8107 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8108 "bp-asm.h".
8109 (PARMS): Do not use macros from bp-asm.h.
8110 (DEST): Likewise.
8111 (SRC): Likewise.
8112 (LEN): Likewise.
8113 (memcpy): Likewise. Do not use BP_SYM.
8114 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8115 "bp-asm.h".
8116 (PARMS): Do not use macros from bp-asm.h.
8117 (DEST): Likewise.
8118 (SRC): Likewise.
8119 (LEN): Likewise.
8120 (memmove): Likewise. Do not use BP_SYM.
8121 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8122 "bp-asm.h".
8123 (PARMS): Do not use macros from bp-asm.h.
8124 (DEST): Likewise.
8125 (SRC): Likewise.
8126 (LEN): Likewise.
8127 (__mempcpy): Likewise. Do not use BP_SYM.
8128 (mempcpy): Do not use BP_SYM in weak_alias.
8129 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8130 "bp-asm.h".
8131 (PARMS): Do not use macros from bp-asm.h.
8132 (DEST): Likewise.
8133 (LEN): Likewise.
8134 [!BZERO_P] (CHR): Likewise.
8135 (memset): Likewise. Do not use BP_SYM.
8136 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8137 "bp-asm.h".
8138 (PARMS): Do not use macros from bp-asm.h.
8139 (STR2): Likewise.
8140 (strcmp): Do not use BP_SYM.
8141 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8142 "bp-asm.h".
8143 (PARMS): Do not use macros from bp-asm.h.
8144 (STR): Likewise.
8145 (DELIM): Likewise.
8146 [USE_AS_STRTOK_R] (SAVE): Likewise.
8147 (FUNCTION): Likewise. Do not use BP_SYM.
8148 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8149 aliases.
8150 (strtok_r): Likewise.
8151 (__GI___strtok_r): Likewise.
8152 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8153 (PARMS): Do not use macros from bp-asm.h.
8154 (S): Likewise.
8155 (SIZE): Likewise.
8156 (__mpn_lshift): Do not use BP_SYM.
8157 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8158 (PARMS): Do not use macros from bp-asm.h.
8159 (STR): Likewise.
8160 (CHR): Likewise.
8161 (__memchr): Do not use BP_SYM.
8162 (memchr): Do not use BP_SYM in weak_alias.
8163 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8164 (PARMS): Do not use macros from bp-asm.h.
8165 (BLK2): Likewise.
8166 (LEN): Likewise.
8167 (memcmp): Do not use BP_SYM.
8168 (bcmp): Do not use BP_SYM in weak_alias.
8169 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8170 (PARMS): Do not use macros from bp-asm.h.
8171 (S1): Likewise.
8172 (SIZE): Likewise.
8173 (__mpn_mul_1): Do not use BP_SYM.
8174 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8175 "bp-asm.h".
8176 (PARMS): Do not use macros from bp-asm.h.
8177 (STR): Likewise.
8178 (CHR): Likewise.
8179 (__rawmemchr): Do not use BP_SYM.
8180 (rawmemchr): Do not use BP_SYM in weak_alias.
8181 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8182 (PARMS): Do not use macros from bp-asm.h.
8183 (S): Likewise.
8184 (SIZE): Likewise.
8185 (__mpn_rshift): Do not use BP_SYM.
8186 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8187 (PARMS): Do not use macros from bp-asm.h.
8188 (SIGMSK): Likewise.
8189 (__sigsetjmp): Likewise. Do not use BP_SYM.
8190 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8191 (_start): Do not use BP_SYM.
8192 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8193 (PARMS): Do not use macros from bp-asm.h.
8194 (DEST): Likewise.
8195 (SRC): Likewise.
8196 (__stpcpy): Likewise. Do not use BP_SYM.
8197 (stpcpy): Do not use BP_SYM in weak_alias.
8198 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8199 "bp-asm.h".
8200 (PARMS): Do not use macros from bp-asm.h.
8201 (DEST): Likewise.
8202 (SRC): Likewise.
8203 (LEN): Likewise.
8204 (__stpncpy): Likewise. Do not use BP_SYM.
8205 (stpncpy): Do not use BP_SYM in weak_alias.
8206 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8207 (PARMS): Do not use macros from bp-asm.h.
8208 (STR): Likewise.
8209 (CHR): Likewise.
8210 (strchr): Likewise. Do not use BP_SYM.
8211 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8212 "bp-asm.h".
8213 (PARMS): Do not use macros from bp-asm.h.
8214 (STR): Likewise.
8215 (CHR): Likewise.
8216 (__strchrnul): Likewise. Do not use BP_SYM.
8217 (strchrnul): Do not use BP_SYM in weak_alias.
8218 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8219 "bp-asm.h".
8220 (PARMS): Do not use macros from bp-asm.h.
8221 (STOP): Likewise.
8222 (strcspn): Do not use BP_SYM.
8223 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8224 "bp-asm.h".
8225 (PARMS): Do not use macros from bp-asm.h.
8226 (STR): Likewise.
8227 (STOP): Likewise.
8228 (strpbrk): Likewise. Do not use BP_SYM.
8229 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8230 "bp-asm.h".
8231 (PARMS): Do not use macros from bp-asm.h.
8232 (STR): Likewise.
8233 (CHR): Likewise.
8234 (strrchr): Likewise. Do not use BP_SYM.
8235 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8236 (PARMS): Do not use macros from bp-asm.h.
8237 (SKIP): Likewise.
8238 (strspn): Do not use BP_SYM.
8239 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8240 (PARMS): Do not use macros from bp-asm.h.
8241 (STR): Likewise.
8242 (DELIM): Likewise.
8243 (SAVE): Likewise.
8244 (FUNCTION): Likewise. Do not use BP_SYM.
8245 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8246 aliases.
8247 (strtok_r): Likewise.
8248 (__GI___strtok_r): Likewise.
8249 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8250 (PARMS): Do not use macros from bp-asm.h.
8251 (S1): Likewise.
8252 (S2): Likewise.
8253 (SIZE): Likewise.
8254 (__mpn_sub_n): Do not use BP_SYM.
8255 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8256 "bp-asm.h".
8257 (PARMS): Do not use macros from bp-asm.h.
8258 (S1): Likewise.
8259 (SIZE): Likewise.
8260 (__mpn_submul_1): Do not use BP_SYM.
8261 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8262 <bp-sym.h>.
8263 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8264 and <bp-asm.h>.
8265 (PARMS): Do not use macros from bp-asm.h.
8266 (FLAGS): Likewise.
8267 (PTID): Likewise.
8268 (TLS): Likewise.
8269 (CTID): Likewise.
8270 (__clone): Do not use BP_SYM.
8271 (clone): Do not use BP_SYM in weak_alias.
8272 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8273 and <bp-asm.h>.
8274 (PARMS): Do not use macros from bp-asm.h.
8275 (LEN): Likewise.
8276 (__mmap64): Do not use BP_SYM.
8277 (mmap64): Do not use BP_SYM in weak_alias.
8278 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8279 <bp-sym.h> and <bp-asm.h>.
8280 (PARMS): Do not use macros from bp-asm.h.
8281 (__posix_fadvise64_l64): Do not use BP_SYM.
8282 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8283 (PARMS): Do not use macros from bp-asm.h.
8284 (NSOPS): Likewise.
8285 (semtimedop): Do not use BP_SYM.
8286 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8287 and <bp-asm.h>.
8288
582a3cff
AM
82892013-02-21 Allan McRae <allan@archlinux.org>
8290
8291 * manual/message.texi (Charset conversion in gettext):
8292 Move @end statement to beginning of line.
8293
bab8a695
SP
82942013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8295
80945231
SP
8296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8297 static.
8298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8299 Likewise.
8300
bab8a695
SP
8301 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8302 (denorm): Likewise.
8303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8305
e21d7aa7
AK
83062013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8307
8308 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8309 tail-call to the resolved function if pltexit isn't needed.
8310
4c7a4263
SP
83112013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8312
8313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8314 or Y being zero as being unlikely.
8315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8316 Likewise.
8317
41f49342
CD
83182013-02-20 Carlos O'Donell <carlos@redhat.com>
8319
8320 * manual/nss.texi (System Databases and Name Service Switch):
8321 Remove frobnicate @pxref.
8322
50022a93
TS
83232013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8324
8325 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8326 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8327
08cbd996
PM
83282013-02-20 Petr Machata <pmachata@redhat.com>
8329
8330 * elf/elf.h (R_ARM_TARGET1): New macro.
8331 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8332 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8333 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8334 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8335 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8336 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8337 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8338 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8339 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8340 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8341 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8342 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8343 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8344 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8345 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8346 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8347 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8348 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8349 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8350 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8351 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8352 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8353 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8354 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8355 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8356 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8357 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8358 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8359 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8360 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8361 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8362 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8363 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8364 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8365 (R_ARM_THM_GOT_BREL12): Likewise.
8366 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8367 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8368 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8369 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8370 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8371 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8372 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8373 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8374 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8375
c7b275d6
TS
83762013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8377
8378 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8379 __attribute_used__ to __attribute__ ((unused)).
8380
20cd7fb3
SP
83812013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8382
8383 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8384 powerpc mpa.c.
8385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8386 comment formatting.
8387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8388
92945b52
JM
83892013-02-19 Joseph Myers <joseph@codesourcery.com>
8390
8391 [BZ #13550]
8392 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8393 Remove macro.
8394 (ENTER): Remove both macro definitions.
8395 (LEAVE): Likewise.
8396 (CHECK_BOUNDS_LOW): Likewise.
8397 (CHECK_BOUNDS_HIGH): Likewise.
8398 (CHECK_BOUNDS_BOTH): Likewise.
8399 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8400 (RETURN_BOUNDED_POINTER): Likewise.
8401 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8402 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8403 (POP_ERRNO_LOCATION_RETURN): Likewise.
8404 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8405 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8406 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8407 macros.
8408 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8409 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8410 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8411 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8412 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8413 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8414 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8415 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8416 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8417 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8418 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8419 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8420 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8421 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8422 removed macros.
8423 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8424 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8425 macros.
8426 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8427 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8428 * sysdeps/i386/i586/memset.S (memset): Likewise.
8429 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8430 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8431 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8432 macros.
8433 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8434 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8435 Change uses of L(2) to L(out).
8436 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8437 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8438 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8439 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8440 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8441 removed macros.
8442 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8443 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8444 macros.
8445 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8446 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8447 (RETURN): Do not use macro LEAVE.
8448 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8449 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8450 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8451 * sysdeps/i386/i686/memset.S (memset): Likewise.
8452 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8453 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8454 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8455 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8456 Likewise.
8457 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8458 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8459 L(1_2) and L(1_3) into L(1).
8460 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8461 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8462 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8463 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8464 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8465 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8466 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8467 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8468 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8469 macros.
8470 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8471 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8472 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8473 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8474 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8475 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8476 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8477 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8478 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8479 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8480 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8481 * sysdeps/i386/strspn.S (strspn): Likewise.
8482 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8483 conditional code.
8484 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8485 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8486 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8487 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8488 L(1_3) into L(1_1).
8489 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8490 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8491 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8492 macros.
8493 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8494
2389741a
JJ
84952013-02-19 Jakub Jelinek <jakub@redhat.com>
8496
8497 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8498 macro.
8499
2016b3cd
SP
85002013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8501
e4f22324
SP
8502 * math/atest-exp.c (exp_mpn): Remove ROUND.
8503 * math/atest-exp2.c (exp_mpn): Likewise.
8504 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8505
2016b3cd
SP
8506 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8507 * stdlib/tst-tls-atexit-lib.c: Likewise.
8508 * stdlib/tst-tls-atexit.c: Likewise.
8509
4be9b544
MF
85102013-02-18 Mike Frysinger <vapier@gentoo.org>
8511
8512 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8513 and __attribute_alloc_size__.
8514
2f62b9ee
MF
85152013-02-18 Mike Frysinger <vapier@gentoo.org>
8516
8517 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8518 __attribute_alloc_size__.
8519 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8520 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8521
6ff444c4
MF
85222013-02-18 Mike Frysinger <vapier@gentoo.org>
8523
8524 * include/programs/xmalloc.h: New file.
8525 * catgets/gencat.c: Include it.
8526 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8527 * elf/pldd.c: Likewise.
8528 * iconv/iconv_charmap.c: Likewise.
8529 * iconv/iconvconfig.c: Likewise.
8530 * iconv/strtab.c: Likewise.
8531 * locale/programs/locale.c: Likewise.
8532 * locale/programs/localedef.h: Likewise.
8533 * locale/programs/simple-hash.c: Likewise.
8534 * nscd/nscd.h: Likewise.
8535 * nss/makedb.c: Likewise.
8536 * sysdeps/generic/ldconfig.h: Likewise.
8537
be179c8a
SP
85382013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8539
ba384f6e
SP
8540 * Versions.def: Add GLIBC_2.18.
8541 * include/link.h (struct link_map): New member l_tls_dtor_count.
8542 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8543 (__call_tls_dtors): Likewise.
8544 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8545 __cxa_thread_atexit_impl.
8546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8547 Likewise.
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8549 Likewise.
8550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8551 Likewise.
8552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8553 Likewise.
8554 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8556 Likewise.
8557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8558 Likewise.
8559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8561 Likewise.
8562 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8563 (tests): Add test case tst-tls-atexit.
8564 (modules-names): Add shared library for tst-tls-atexit.
85891aca 8565 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
8566 (GLIBC_PRIVATE): Add __call_tls_dtors.
8567 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8568 for libstdc++.
8569 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8570 * stdlib/tst-tls-atexit.c: New test case.
8571 * stdlib/tst-tls-atexit-lib.c: New test case.
8572
ffaa74cf 8573 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 8574
be179c8a
SP
8575 * elf/Versions (ld): Add _dl_find_dso_for_object.
8576 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8577 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8578 (dl_open_worker): Use _dl_find_dso_for_object.
8579 * elf/dl-sym.c (do_sym): Likewise.
8580 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8581
f78b5caa
AK
85822013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8583
8584 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8585 Syntactic changes only.
8586 (_dl_runtime_profile): Do a tail-call to the resolved function.
8587
29691210
JM
85882013-02-17 Joseph Myers <joseph@codesourcery.com>
8589
8590 [BZ #13550]
8591 * sysdeps/x86_64/bp-asm.h: Remove file.
8592 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8593 <bp-sym.h> and <bp-asm.h>.
8594 (__clone): Do not use BP_SYM.
8595 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8596 <bp-sym.h> and <bp-asm.h>.
8597 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8598 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8599 "bp-asm.h".
8600 (_setjmp): Do not use BP_SYM.
8601 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8602 "bp-asm.h".
8603 (setjmp): Do not use BP_SYM.
8604 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8605 libc_hidden_def.
8606 (mempcpy): Do not use BP_SYM in weak_alias.
8607 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8608 "bp-asm.h".
8609 (strchr): Do not use BP_SYM.
8610 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8611 "bp-asm.h".
8612 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8613 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8614 (_start): Do not use BP_SYM.
8615 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8616 "bp-asm.h".
8617 (strcat): Do not use BP_SYM.
8618 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8619 "bp-asm.h".
8620 (STRCMP): Do not use BP_SYM.
8621 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8622 "bp-asm.h".
8623 (STRCPY): Do not use BP_SYM.
8624 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8625 "bp-asm.h".
8626 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8627 "bp-asm.h".
8628 (FUNCTION): Do not use BP_SYM.
8629 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8630 weak_alias.
8631 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8632
f238fd19
AJ
86332013-02-17 Andreas Jaeger <aj@suse.de>
8634
8635 * time/Versions: Sort entries.
8636 * string/Versions: Likewise.
8637 * resolv/Versions: Likewise.
8638 * posix/Versions: Likewise.
8639 * iconv/Versions: Likewise.
8640 * elf/Versions: Likewise.
8641 * wcsmbs/Versions: Likewise.
8642
bd07f23c 86432013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8644
22af19f9
SP
8645 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8646 loop termination condition.
8647
4709fe76
SP
8648 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8649 variable to calculate EZ.
8650 (__sqr): Likewise.
2d0e0f29
SP
8651
8652 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8653 the lower precision input.
8654
daaa7713
JM
86552013-02-15 Joseph Myers <joseph@codesourcery.com>
8656
8657 [BZ #13550]
8658 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8659 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8660 (run-via-rtld-prefix): Do not handle %-bp tests.
8661 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8662 (all-object-suffixes): Remove .ob.
8663 (bppfx): Remove variable.
8664 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8665 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8666 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8667 [$(build-bounded) = yes] (libtype.ob): Likewise.
8668 * Makerules (elide-routines.ob): Remove variable.
8669 (do-tests-clean): Do not handle *-bp.out.
8670 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8671 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8672 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8673 (tests): Do not include $(tests-bp.out).
8674 (xtests): Do not include $(xtests-bp.out).
8675 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8676 [$(build-bounded) = yes] ($(addprefix
8677 $(objpfx),$(binaries-bounded))): Remove rule.
8678 ($(objpfx)%-bp.out): Remove rule.
8679 * config.make.in (build-bounded): Remove variable.
8680 * crypt/Makefile [$(build-bounded) = yes]
8681 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8682 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8683 append to variable.
8684 [$(build-bounded) = yes] (install-lib): Likewise.
8685 [$(build-bounded) = yes] (generated): Likewise.
8686 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8687 Remove rule.
8688 * intl/Makefile [$(build-bounded) = yes]
8689 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8690 * math/Makefile [$(build-bounded) = yes]
8691 ($(tests:%=$(objpfx)%-bp): Likewise.
8692 * misc/Makefile [$(build-bounded) = yes]
8693 ($(objpfx)tst-tsearch-bp): Likewise.
8694 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8695 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8696 Remove dependency.
8697 * string/Makefile (o-objects.ob): Remove variable.
8698 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8699 (CFLAGS-.ob): Remove variable.
8700 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8701 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8702 both definitions of variable.
8703 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8704 (ASFLAGS-.ob): Remove variable.
8705
e97ed6dd
JM
87062013-02-14 Joseph Myers <joseph@codesourcery.com>
8707
2bdd4ca6
JM
8708 [BZ #13550]
8709 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8710 Remove __BOUNDED_POINTERS__ from condition.
8711 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8712 * string/bits/string2.h [!__NO_STRING_INLINES &&
8713 !__BOUNDED_POINTERS__]: Likewise.
8714 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8715 Likewise.
8716 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8717 Remove conditional code.
8718 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8719 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8720 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8721 condition.
8722
e97ed6dd
JM
8723 [BZ #13550]
8724 * csu/libc-start.c: Do not include <bp-sym.h>.
8725 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8726 * elf/dl-open.c: Do not include <bp-sym.h>.
8727 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8728 * math/fegetenv.c: Do not include <bp-sym.h>.
8729 (fegetenv): Do not use BP_SYM in versioned symbols.
8730 * nptl/sysdeps/pthread/bits/libc-lockP.h
8731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8732 <bp-sym.h>.
8733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8734 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8736 (__pthread_mutex_destroy): Likewise.
8737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8738 (__pthread_mutex_lock): Likewise.
8739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8740 (__pthread_mutex_trylock): Likewise.
8741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8742 (__pthread_mutex_unlock): Likewise.
8743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8744 (__pthread_mutexattr_init): Likewise.
8745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8746 (__pthread_mutexattr_destroy): Likewise.
8747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8748 (__pthread_mutexattr_settype): Likewise.
8749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8750 (__pthread_rwlock_init): Likewise.
8751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8752 (__pthread_rwlock_destroy): Likewise.
8753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8754 (__pthread_rwlock_rdlock): Likewise.
8755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8756 (__pthread_rwlock_tryrdlock): Likewise.
8757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8758 (__pthread_rwlock_wrlock): Likewise.
8759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8760 (__pthread_rwlock_trywrlock): Likewise.
8761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8762 (__pthread_rwlock_unlock): Likewise.
8763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8764 (__pthread_key_create): Likewise.
8765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8766 (__pthread_setspecific): Likewise.
8767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8768 (__pthread_getspecific): Likewise.
8769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8770 Likewise.
8771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8772 (_pthread_cleanup_push_defer): Likewise.
8773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8774 (_pthread_cleanup_pop_restore): Likewise.
8775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8776 (pthread_setcancelstate): Likewise.
8777 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8778 <bp-sym.h>.
8779 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8780 (memchr): Do not use BP_SYM in weak_alias.
8781 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8782 (fegetenv): Do not use BP_SYM in versioned symbols.
8783 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8784 (fesetenv): Do not use BP_SYM in versioned symbols.
8785 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8786 (feupdateenv): Do not use BP_SYM in versioned symbols.
8787 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8788 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8789 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8790 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8791 (open64): Do not use BP_SYM in weak_alias.
8792 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8793 (fegetenv): Do not use BP_SYM in versioned symbols.
8794 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8795 (fesetenv): Do not use BP_SYM in versioned symbols.
8796 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8797 (feupdateenv): Do not use BP_SYM in versioned symbols.
8798 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8799 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8800 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8801 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8802 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8803 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8804 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8805 <bp-sym.h>.
8806 (__libc_start_main): Do not use BP_SYM.
8807
d6752ccd
SP
88082013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8809
cb57ce60
SP
8810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8811 redundant return line.
8812 (norm): Likewise.
8813 (denorm): Likewise.
8814 (dbl_mp): Likewise.
8815 (sub_magnitudes): Likewise.
8816 (__add): Likewise.
8817 (__sub): Likewise.
8818 (__mul): Likewise.
8819 (__inv): Likewise.
8820 (__dvd): Likewise.
8821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8822 (norm): Likewise.
8823 (denorm): Likewise.
8824 (dbl_mp): Likewise.
8825 (sub_magnitudes): Likewise.
8826 (__add): Likewise.
8827 (__sub): Likewise.
8828 (__mul): Likewise.
8829 (__inv): Likewise.
8830 (__dvd): Likewise.
8831
f414520d
SP
8832 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8833 instead of __mul.
8834 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8835 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8836 (cc32): Likewise.
8837
d6752ccd
SP
8838 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8839 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8840 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8841 of __mul for squares.
8842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8843 function
8844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8845 Likewise.
8846 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8847 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8848
70d9946a
JM
88492013-02-13 Joseph Myers <joseph@codesourcery.com>
8850
8851 [BZ #13550]
8852 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8853 code.
8854 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8855 prototype or function definition. Rename ubp_* variables and
8856 parameters. Remove argv definitions conditional on
8857 [__BOUNDED_POINTERS__].
8858 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8859 * elf/dl-runtime.c (_dl_fixup): Likewise.
8860 * include/set-hooks.h (RUN_HOOK): Likewise.
8861 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8862 definition.
8863 * string/strcpy.c (strcpy): Do not use __unbounded.
8864 * sysdeps/generic/frame.h (struct layout): Likewise.
8865 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8866 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8867 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8868 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8869 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8870 (__backtrace): Likewise.
8871 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8872 use __ptrvalue.
8873 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8874 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8875 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8876 Likewise.
8877 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8878 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8879 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8880 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8881 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8882 Do not use __unbounded.
8883 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8884 Rename __unboundedrlimits parameter to rlimits in prototype.
8885 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8886 Do not use __unbounded.
8887 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8888 not use __ptrvalue.
8889 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8890 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8891 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8892 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8893 __ptrvalue or __unbounded.
8894 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8895 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8896 use __unbounded.
8897 (__new_msgctl): Do not use __ptrvalue.
8898 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8899 __unbounded.
8900 (__libc_msgrcv): Do not use __ptrvalue.
8901 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8902 startup_info): Do not use __unbounded.
8903 (__libc_start_main): Likewise. Rename ubp_* variables and
8904 parameters. Remove argv definitions conditional on
8905 [__BOUNDED_POINTERS__].
8906 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8907 __ptrvalue.
8908 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8909 use __unbounded.
8910 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8911 or __ptrvalue.
8912 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8913 use __unbounded.
8914 (__new_shmctl): Do not use __ptrvalue.
8915 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8916 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8917 Likewise.
8918 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8919 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8920 (__libc_sigaction): Likewise.
8921 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8922 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8923 Likewise.
8924 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8925
cc7834d6
OB
89262013-02-13 Ondřej Bílka <neleai@seznam.cz>
8927
ffb1ec7b 8928 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8929
8930 * string/mempcpy.c: Implement by calling memcpy.
8931
bdf02814
SP
89322013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8933
c2af38aa
SP
8934 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8935
4e92d59e
SP
8936 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8937 evaluation.
8938
909279a5
SP
8939 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8940 values in the mantissa.
8941
bdf02814
SP
8942 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8943 minimize writes to Z.
8944 (sub_magnitudes): Simplify code a bit.
8945
cd525923
RM
89462013-02-12 Roland McGrath <roland@hack.frob.com>
8947
8948 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8949 from the message. The linker prefixes all warnings with that already.
8950
7e2f0d2d
AS
89512013-02-12 Andreas Schwab <schwab@suse.de>
8952
a445af0b
AS
8953 [BZ #15078]
8954 * posix/regexec.c (extend_buffers): Add parameter min_len.
8955 (check_matching): Pass minimum needed length.
8956 (clean_state_log_if_needed): Likewise.
8957 (get_subexp): Likewise.
8958 * posix/Makefile (tests): Add bug-regex34.
8959 (bug-regex34-ENV): Define.
8960 * posix/bug-regex34.c: New file.
8961
7e2f0d2d
AS
8962 [BZ #11561]
8963 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8964 elements compare against the byte sequence of it, not its name.
8965 * posix/Makefile (tests): Add bug-regex35.
8966 (bug-regex35-ENV): Define.
8967 * posix/bug-regex35.c: New file.
8968
a175b684
TV
89692013-02-11 Tom de Vries <tom@codesourcery.com>
8970
8971 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8972 comment.
8973 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8974 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8975 (CHECK_EOL): Add undef.
8976
310998fe 89772013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8978
8979 * bits/stdlib-bsearch.h: New file.
8980 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8981 * stdlib/stdlib.h: Likewise.
41eda41d 8982
8ded91fb
RM
89832013-02-11 Roland McGrath <roland@hack.frob.com>
8984
8985 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8986 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8987 declaration.
8988 * manual/search.texi (Array Search Function): Add missing const in
8989 lfind prototype.
8990 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8991 declaration to use rlim_t.
8992 (Basic Scheduling Functions): Remove erroneous const from
8993 sched_getparam prototype. Remove erroneous * from
8994 sched_get_priority_max and sched_get_priority_min prototypes.
8995 (Resource Usage): Fix summary @comment on vtimes to refer to
8996 sys/vtimes.h rather than vtimes.h.
8997 Add missing *s in vtimes prototype.
8998 (Limits on Resources): Fix ulimit prototype to return long int.
8999 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9000 prototypes to use long int rather than double.
9001 (BSD Random): Fix initstate and setstate to use char *, not void *.
9002 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9003 prototype to make second argument 'struct aiocb64 *const[]'.
9004 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9005 (Status of AIO Operations): Remove erroneous const in aio_return and
9006 aio_return64 prototypes.
9007 (Synchronizing I/O): Fix sync prototype to return void.
9008 * manual/startup.texi (Suboptions): Remove an erroneous const in
9009 getsubopt prototype.
9010 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9011 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9012 use size_t rather than int.
9013 (Scanning All Users): Likewise for getpwent_r.
9014 (Setting Groups): Add missing const to setgroups prototype.
9015 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9016 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9017 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9018 'const void *' rather than 'const char *'.
9019 (Host Address Functions): Likewise for inet_ntop.
9020 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9021 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9022 ssize_t for return value.
9023 (Sending Data): Likewise for send, sendto, sendmsg.
9024 (Socket Option Functions): Add a missing const in setsockopt prototype.
9025 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9026 use wchar_t for the argument.
9027 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9028 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9029 take no arguments.
9030 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9031 double/float/long double for second argument.
9032 Fix return types of significand, significandf, significandl.
9033 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9034 argument in fchmod prototype.
9035 (File Owner): Use uid_t and gid_t in fchown prototype.
9036 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9037 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9038 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9039 use 'const struct dirent **' as argument types to CMP function pointer
9040 argument.
9041 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9042 (File Times): Fix summary magic @comment for struct utimbuf and utime
9043 to refer to utime.h, not time.h.
9044 * manual/string.texi (Argz Functions): Add missing const in
9045 argz_extract and argz_next prototypes.
9046 (Finding Tokens in a String): Likewise for basename.
9047 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9048 (Copying and Concatenation): Fix typo in wmemmove prototype.
9049 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9050 (Signal Stack): Remove erroneous const in sigstack prototype.
9051 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9052 prototype.
9053 (Simple Calendar Time): Likewise for stime.
9054 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9055 prototype.
9056 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9057 say sys/sysctl.h instead.
9058 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9059 and vsyslog prototypes.
9060
fe77fe6d
TV
90612013-02-11 Tom de Vries <tom@codesourcery.com>
9062
9063 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9064 Remove.
9065
3a09b620
RM
90662013-02-11 Roland McGrath <roland@hack.frob.com>
9067
9068 * misc/sys/mman.h: Fix typo in mremap comment.
9069
550a0b89
RM
90702013-02-08 Roland McGrath <roland@hack.frob.com>
9071
9072 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9073 the '\0' terminator.
9074
a2da1673
JM
90752013-02-08 Joseph Myers <joseph@codesourcery.com>
9076
9077 [BZ #13550]
9078 * debug/segfault.c: Don't include <bp-checks.h>.
9079 * sysdeps/generic/bp-checks.h: Remove file.
9080 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9081 (__GETDENTS): Don't use CHECK_N.
9082 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9083 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9084 (__getgroups): Don't use CHECK_N.
9085 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9086 (setgroups): Don't use CHECK_N.
9087 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9088 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9089 (__libc_msgrcv): Don't use CHECK_N.
9090 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9091 (__libc_msgsnd): Don't use CHECK_N.
9092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9093 <bp-checks.h>.
9094 (__libc_pread): Don't use CHECK_N.
9095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9096 include <bp-checks.h>.
9097 (__libc_pread64): Don't use CHECK_N.
9098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9099 include <bp-checks.h>.
9100 (__libc_pwrite): Don't use CHECK_N.
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9102 include <bp-checks.h>.
9103 (__libc_pwrite64): Don't use CHECK_N.
9104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9105 <bp-checks.h>.
9106 (__libc_pread): Don't use CHECK_N.
9107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9108 include <bp-checks.h>.
9109 (__libc_pread64): Don't use CHECK_N.
9110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9111 include <bp-checks.h>.
9112 (__libc_pwrite): Don't use CHECK_N.
9113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9114 include <bp-checks.h>.
9115 (__libc_pwrite64): Don't use CHECK_N.
9116 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9117 (do_pread): Don't use CHECK_N.
9118 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9119 (do_pread64): Don't use CHECK_N.
9120 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9121 (do_pwrite): Don't use CHECK_N.
9122 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9123 (do_pwrite64): Don't use CHECK_N.
9124 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9125 (__libc_readv): Don't use CHECK_N.
9126 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9127 (semop): Don't use CHECK_N.
9128 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9129 <bp-checks.h>.
9130 (semtimedop): Don't use CHECK_N.
9131 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9132 (__libc_pread): Don't use CHECK_N.
9133 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9134 <bp-checks.h>.
9135 (__libc_pread64): Don't use CHECK_N.
9136 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9137 <bp-checks.h>.
9138 (__libc_pwrite): Don't use CHECK_N.
9139 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9140 <bp-checks.h>.
9141 (__libc_pwrite64): Don't use CHECK_N.
9142 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9143 <bp-checks.h>.
9144 (__libc_msgrcv): Don't use CHECK_N.
9145 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9146 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9147 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9148 (__libc_writev): Don't use CHECK_N.
9149
b84660a8
RM
91502013-02-08 Roland McGrath <roland@hack.frob.com>
9151
7f3e75f8
RM
9152 * string/strcpy.c: Removed unused variable.
9153
b84660a8
RM
9154 * Makeconfig (+sysdep-includes): Define with := rather than =.
9155 Use an existing include/ subdir of each sysdeps dir before it.
9156
471514d3
CD
91572013-02-08 Carlos O'Donell <carlos@redhat.com>
9158
9159 * nscd/connection.c (register_traced_file): Comment function.
9160 [HAVE_INOTIFY] (union __inev): Define.
9161 [HAVE_INOTIFY] (inotify_check_files): New function.
9162 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9163 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9164 clear_db_cache.
9165 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9166
b2d3c3be
CD
91672013-02-08 Carlos O'Donell <carlos@redhat.com>
9168
9169 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9170 loaded if not already and that a failure is permanent.
9171
b39949d2
CD
91722013-02-08 Carlos O'Donell <carlos@redhat.com>
9173
ddacd1db 9174 [BZ #15006]
b39949d2
CD
9175 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9176 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9177
b2c9eff4
JM
91782013-02-08 Joseph Myers <joseph@codesourcery.com>
9179
f3aae3f3
JM
9180 [BZ #13550]
9181 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9182 (CHECK_1_NULL_OK): Likewise.
9183 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9184 (__fxstat): Do not use CHECK_1.
9185 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9186 <bp-checks.h>.
9187 (___fxstat64): Do not use CHECK_1.
9188 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9189 <bp-checks.h>.
9190 (__fxstatat): Do not use CHECK_1.
9191 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9192 <bp-checks.h>.
9193 (__fxstatat64): Do not use CHECK_1.
9194 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9195 <bp-checks.h>.
9196 (__fxstat): Do not use CHECK_1.
9197 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9198 <bp-checks.h>.
9199 (__fxstatat): Do not use CHECK_1.
9200 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9201 <bp-checks.h>.
9202 (__getresgid): Do not use CHECK_1.
9203 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9204 <bp-checks.h>.
9205 (__getresuid): Do not use CHECK_1.
9206 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9207 <bp-checks.h>.
9208 (__lxstat): Do not use CHECK_1.
9209 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9210 <bp-checks.h>.
9211 (__old_msgctl): Do not use CHECK_1.
9212 (__new_msgctl): Likewise.
9213 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9214 <bp-checks.h>.
9215 (__new_setrlimit): Do not use CHECK_1.
9216 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9217 <bp-checks.h>.
9218 (__old_shmctl): Do not use CHECK_1.
9219 (__new_shmctl): Likewise.
9220 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9221 <bp-checks.h>.
9222 (__xstat): Do not use CHECK_1.
9223 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9224 (__lxstat): Do not use CHECK_1.
9225 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9226 <bp-checks.h>.
9227 (___lxstat64): Do not use CHECK_1.
9228 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9229 (__old_msgctl): Do not use CHECK_1.
9230 (__new_msgctl): Likewise.
9231 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9232 <bp-checks.h>.
9233 (__gettimeofday): Do not use CHECK_1.
9234 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9235 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9236 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9237 <bp-checks.h>.
9238 (__gettimeofday): Do not use CHECK_1.
9239 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9240 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9241 (__new_shmctl): Do not use CHECK_1.
9242 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9243 <bp-checks.h>.
9244 (do_sigtimedwait): Do not use CHECK_1.
9245 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9246 <bp-checks.h>.
9247 (do_sigwaitinfo): Do not use CHECK_1.
9248 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9249 <bp-checks.h>.
9250 (msgctl): Do not use CHECK_1.
9251 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9252 <bp-checks.h>.
9253 (shmctl): Do not use CHECK_1.
9254 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9255 (ustat): Do not use CHECK_1.
9256 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9257 <bp-checks.h>.
9258 (__fxstat): Do not use CHECK_1.
9259 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9260 <bp-checks.h>.
9261 (__fxstatat): Do not use CHECK_1.
9262 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9263 <bp-checks.h>.
9264 (__lxstat): Do not use CHECK_1.
9265 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9266 <bp-checks.h>.
9267 (__xstat): Do not use CHECK_1.
9268 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9269 (__xstat): Do not use CHECK_1.
9270 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9271 (___xstat64): Do not use CHECK_1.
9272
b2c9eff4
JM
9273 [BZ #13550]
9274 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9275 definitions.
9276 (CHECK_BOUNDS_HIGH): Likewise.
9277 * string/strcpy.c: Do not include <bp-checks.h>.
9278 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9279
f1d70dad
RM
92802013-02-07 Roland McGrath <roland@hack.frob.com>
9281
9282 * nscd/nscd-client.h (__nscd_drop_map_ref):
9283 Add __attribute__ ((unused)).
9284 * nis/nss-nisplus.h (niserr2nss): Likewise.
9285
9286 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9287 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9288
9289 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9290 Remove inline keyword.
9291 * include/rounding-mode.h (round_away): Likewise.
9292 * libio/wfileops.c (adjust_wide_data): Likewise.
9293 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9294 (__m128i_strloadu_tolower): Likewise.
9295 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9296 (__m128i_strloadu_tolower): Likewise.
9297 * time/mktime.c (ydhms_diff): Likewise.
9298 * locale/elem-hash.h (elem_hash): Likewise.
9299 * locale/setlocale.c (setdata): Likewise.
9300 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9301 (re_string_wchar_at): Likewise.
9302 (bitset_not, bitset_merge, bitset_mask): Likewise.
9303 [!(__GNUC__ > 3)] (inline): Remove macro.
9304 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9305 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9306 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9307 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9308 * string/memcmp.c (memcmp_bytes): Likewise.
9309 * locale/programs/locarchive.c (compute_hashval): Likewise.
9310 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9311 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9312 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9313 * nss/getent.c (print_rpc, print_protocols): Likewise.
9314 (print_passwd, print_group, print_aliases): Likewise.
9315 * nis/nss-nisplus.h (niserr2nss): Likewise.
9316 * nscd/connections.c (restart_p): Likewise.
9317 Change return type to bool.
9318
eab55bfb
RM
93192013-02-05 Roland McGrath <roland@hack.frob.com>
9320
7bd642f5
RM
9321 * Makeconfig (all-Depend-files): Add existing
9322 $(sorted-subdirs:=/Depend) files.
9323 (all-subdirs): Remove nss.
9324 * sysdeps/unix/inet/Subdirs: Add it here instead.
9325 * hesiod/Depend: New file.
9326
573c29b2
RM
9327 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9328 instead of calling alloca.
9329
b2e25af0
RM
9330 * io/lseek.c (__lseek): Rename to __libc_lseek.
9331 Define __lseek as an alias.
9332
eab55bfb
RM
9333 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9334
9a0d1941
CD
93352013-02-04 Carlos O'Donell <carlos@redhat.com>
9336
9337 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9338 else clause and remove check for non-standard endianness.
9339
b83bbec4
DM
93402013-02-04 David S. Miller <davem@davemloft.net>
9341
9342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9343
6277fdab
JM
93442013-02-04 Joseph Myers <joseph@codesourcery.com>
9345
9346 [BZ #13550]
9347 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9348 (__ubp_memchr): Remove prototype.
9349 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9350 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9351 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9352 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9353 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9354 Remove alias.
9355 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9356 (__ubp_memchr): Likewise.
9357 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9358 (__ubp_memchr): Likewise.
9359 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9360 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9361 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9362 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9363 CHECK_STRING.
9364 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9365 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9366 (__getcwd): Do not use CHECK_STRING.
9367 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9368 <bp-checks.h>.
9369 (__real_chown): Do not use CHECK_STRING.
9370 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9371 <bp-checks.h>.
9372 (fchownat): Do not use CHECK_STRING.
9373 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9374 CHECK_STRING.
9375 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9376 <bp-checks.h>.
9377 (__lchown): Do not use CHECK_STRING.
9378 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9379 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9380 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9381 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9383 include <bp-checks.h>.
9384 (truncate64): Do not use CHECK_STRING.
9385 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9386 <bp-checks.h>.
9387 (__real_chown): Do not use CHECK_STRING.
9388 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9389 <bp-checks.h>.
9390 (__lchown): Do not use CHECK_STRING.
9391 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9392 <bp-checks.h>.
9393 (__chown): Do not use CHECK_STRING.
9394 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9395 <bp-checks.h>.
9396 (truncate64): Do not use CHECK_STRING.
9397 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9398 Likewise.
9399 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9400 (__xmknod): Do not use CHECK_STRING.
9401 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9402 <bp-checks.h>.
9403 (__xmknodat): Do not use CHECK_STRING.
9404 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9405 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9406
903ae060
AS
94072013-02-04 Andreas Schwab <schwab@suse.de>
9408
9409 [BZ #14142]
9410 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9411 * include/netdb.h: Likewise for h_errno.
9412 * elf/tst-stackguard1.c: Include <tls.h>.
9413
542f9466
JK
94142013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9415
9416 * elf/link.h (struct link_map): Extend the l_addr comment.
9417 * include/link.h (struct link_map): Likewise.
9418
e782a927
JM
94192013-02-01 Joseph Myers <joseph@codesourcery.com>
9420
9421 [BZ #13550]
9422 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9423 (BOUNDED_1): Remove macro.
9424 * debug/backtrace.c: Don't include <bp-checks.h>.
9425 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9426 (__backtrace): Likewise.
9427 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9428 <bp-checks.h>.
9429 (__backtrace): Don't use BOUNDED_1.
9430 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9431 <bp-checks.h>.
9432 (__backtrace): Don't use BOUNDED_1.
9433 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9434 (__backtrace): Don't use BOUNDED_1.
9435 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9436 (shmat): Don't use BOUNDED_N.
9437
8cf28c5e
JM
94382013-01-31 Joseph Myers <joseph@codesourcery.com>
9439
3a7ac8a0
JM
9440 [BZ #13550]
9441 * sysdeps/generic/bp-start.h: Remove file.
9442 * csu/libc-start.c: Don't include <bp-start.h>.
9443 (LIBC_START_MAIN): Set up __environ directly instead of using
9444 INIT_ARGV_and_ENVIRON.
9445 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9446 <bp-start.h>.
9447
f3499f95
JM
9448 [BZ #13550]
9449 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9450 definitions.
9451 (CHECK_FCNTL): Likewise.
9452 (CHECK_N_PAGES): Likewise.
9453
32a45bea
JM
9454 [BZ #13550]
9455 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9456 definitions.
9457 (CHECK_SIGSET_NULL_OK): Likewise.
9458 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9459 <bp-checks.h>.
9460 (sigpending): Don't use CHECK_SIGSET.
9461 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9462 <bp-checks.h>.
9463 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9464 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9465 <bp-checks.h>.
9466 (do_sigsuspend): Don't use CHECK_SIGSET.
9467 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9468 use CHECK_SIGSET.
9469 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9470 (do_sigwait): Don't use CHECK_SIGSET.
9471 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9472 use CHECK_SIGSET.
9473 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9474 include <bp-checks.h>.
9475 (sigpending): Don't use CHECK_SIGSET.
9476 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9477 include <bp-checks.h>.
9478 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9479 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9480 <bp-checks.h>.
9481 (sigpending): Don't use CHECK_SIGSET.
9482 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9483 <bp-checks.h>.
9484 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9485
2e8a5c8c
JM
9486 [BZ #13550]
9487 * sysdeps/generic/bp-semctl.h: Remove file.
9488 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9489 <bp-checks.h> and <bp-semctl.h>.
9490 (__old_semctl): Don't use CHECK_SEMCTL.
9491 (__new_semctl): Likewise.
9492 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9493 and <bp-semctl.h>.
9494 (__old_semctl): Don't use CHECK_SEMCTL.
9495 (__new_semctl): Likewise.
9496 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9497 <bp-checks.h> and <bp-semctl.h>.
9498 (__old_semctl): Don't use CHECK_SEMCTL.
9499 (__new_semctl): Likewise.
9500 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9501 <bp-checks.h> and <bp-semctl.h>.
9502 (semctl): Don't use CHECK_SEMCTL.
9503
c2d54929
JM
9504 [BZ #13550]
9505 * Makerules (elide-bp-thunks): Remove variable.
9506 (elide-routines.oS): Don't use $(elide-bp-thunks).
9507 (elide-routines.os): Likewise.
9508 (elide-routines.o): Likewise.
9509 (elide-routines.op): Likewise.
9510 (elide-routines.og): Likewise.
9511 (objects): Don't use $(bp-thunks).
9512 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9513 include.
9514 (common-generated): Do not add s-proto-bp.d.
9515 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9516 (int): Likewise.
9517 (typ): Likewise.
9518 Do not generate makefile rules for bounded-pointer thunks.
9519 * sysdeps/generic/bp-thunks.h: Remove file.
9520 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9521 * sysdeps/unix/s-proto-bp.S: Likewise.
9522
8cf28c5e
JM
9523 [BZ #15062]
9524 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9525 parts of result separately when argument is not close to line from
9526 -i to i and one part of argument is small.
9527 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9528 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9529 * math/libm-test.inc (cacos_test): Add more tests.
9530 (casin_test): Likewise.
9531 (casinh_test): Likewise.
9532 * sysdeps/i386/fpu/libm-test-ulps: Update.
9533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9534
c4e33b8d
DM
95352013-01-31 David S. Miller <davem@davemloft.net>
9536
9537 * po/de.po: Update from translation team.
9538
3b60b421
MK
95392013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9540
9541 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9542
bb931195
TS
95432013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9544
b5a5da23
TS
9545 * configure.in (_AC_PROG_CC_C89): New definition.
9546 * configure: Regenerate.
9547
bb931195
TS
9548 * configure.in (AC_PROG_CPP): New definition.
9549 * configure: Regenerate.
9550
8c53a12c
JM
95512013-01-23 Joseph Myers <joseph@codesourcery.com>
9552
9553 * debug/tst-backtrace.h: New file.
9554 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9555 (ret): Remove variable.
9556 (x): Likewise.
9557 (FAIL): Remove macro.
9558 (NO_INLINE): Likewise.
9559 (fn1): Use match function instead of strstr.
9560 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9561 (ret): Remove variable.
9562 (x): Likewise.
9563 (FAIL): Remove macro.
9564 (NO_INLINE): Likewise.
9565 (fn): Use match function instead of strstr.
9566 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9567 (ret): Remove variable.
9568 (x): Likewise.
9569 (FAIL): Remove macro.
9570 (NO_INLINE): Likewise.
9571 (handle_signal): Use match function instead of strstr.
9572 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9573 (ret): Remove variable.
9574 (x): Likewise.
9575 (FAIL): Remove macro.
9576 (NO_INLINE): Likewise.
9577 (handle_signal): Use match function instead of strstr.
9578
4858fa2a
RM
95792013-01-23 Roland McGrath <roland@hack.frob.com>
9580
9581 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9582
bae8e7f5
DM
95832013-01-23 David S. Miller <davem@davemloft.net>
9584
9585 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9586 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9587 argument of CAS if possible.
9588 * sysdeps/sparc/sparc64/bits/atomic.h
9589 (__arch_compare_and_exchange_val_32_acq): Likewise.
9590 (__arch_compare_and_exchange_val_64_acq): Likewise.
9591
9cbbc4ae
PT
95922013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9593
9594 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9595 * sysdeps/posix/ulimit.c: ... this.
92a601b8 9596 Include <limits.h>.
67b3f58c 9597 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 9598
5655a0b5
AC
95992013-01-23 Adam Conrad <adconrad@0c3.net>
9600
9601 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9602 (LDFLAGS-tst-array5): Likewise.
9603
052aff95
JM
96042013-01-23 Joseph Myers <joseph@codesourcery.com>
9605
9606 [BZ #15036]
9607 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9608 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9609 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9610 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9611
7c1e01aa
DM
96122013-01-21 David S. Miller <davem@davemloft.net>
9613
9614 * sysdeps/sparc/backtrace.c: New file.
9615 * sysdeps/sparc/sparc32/backtrace.h: New file.
9616 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9617 * sysdeps/sparc/sparc64/backtrace.h: New file.
9618 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9619 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9620 -funwind-tables.
9621
ab087e0a
AS
96222013-01-21 Andreas Schwab <schwab@suse.de>
9623
9624 [BZ #15020]
9625 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9626 closed its stdout.
9627
ed689c2f
AS
96282013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9629
9630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9631 "mpa2.h".
9632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9633
31d470ac
JM
96342013-01-18 Joseph Myers <joseph@codesourcery.com>
9635 Mark Mitchell <mark@codesourcery.com>
9636 Tom de Vries <tom@codesourcery.com>
9637 Paul Pluzhnikov <ppluzhnikov@google.com>
9638
9639 * debug/tst-backtrace2.c: New file.
9640 * debug/tst-backtrace3.c: Likewise.
9641 * debug/tst-backtrace4.c: Likewise.
9642 * debug/tst-backtrace5.c: Likewise.
9643 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9644 (CFLAGS-tst-backtrace3.c): Likewise.
9645 (CFLAGS-tst-backtrace4.c): Likewise.
9646 (CFLAGS-tst-backtrace5.c): Likewise.
9647 (LDFLAGS-tst-backtrace2): Likewise.
9648 (LDFLAGS-tst-backtrace3): Likewise.
9649 (LDFLAGS-tst-backtrace4): Likewise.
9650 (LDFLAGS-tst-backtrace5): Likewise.
9651 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9652 tst-backtrace4 and tst-backtrace5.
9653
90567f30 96542013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9655 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9656
9657 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9658 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9659 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9660 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9662 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9663 "+r" and remove output regs list as redundant. Add explicit inline
9664 asm to specify register of return val to work around compiler codegen
9665 bug. Remove (int) cast on return value. Add return type parameter to
9666 use in macro so that this macro does not truncate return value for
9667 64-bit values.
9668 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9669 pass to INTERNAL_VSYSCALL_NCS.
9670 (INLINE_VSYSCALL): Add 'long int' as return type to
9671 INTERNAL_VSYSCALL_NCS macro invocation.
9672 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9673 INTERNAL_VSYSCALL_NCS macro invocation.
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9675
d3b9ea61
SP
96762013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9677
0b57daeb
SP
9678 [BZ #14496]
9679 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9680 Fix application of SIMD FP exception mask.
9681
caa99d06
SP
9682 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9683 mp_no from a power of two.
9684 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9685 __mpexp_twomm1. Use __pow_mp.
9686
d3b9ea61
SP
9687 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9688 multiplication.
9689
1dbaee3c
DM
96902013-01-17 David S. Miller <davem@davemloft.net>
9691
9692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9693
728d7b43
JM
96942013-01-17 Joseph Myers <joseph@codesourcery.com>
9695
9696 [BZ #15023]
9697 * include/complex.h: Condition contents on [!_COMPLEX_H].
9698 (__kernel_casinhf): New prototype.
9699 (__kernel_casinh): Likewise.
9700 (__kernel_casinhl): Likewise.
9701 * math/Makefile (libm_calls): Add k_casinh.
9702 * math/k_casinh.c: New file.
9703 * math/k_casinhf.c: Likewise.
9704 * math/k_casinhl.c: Likewise.
9705 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9706 finite nonzero arguments.
9707 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9708 finite nonzero arguments.
9709 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9710 finite nonzero arguments.
9711 * math/s_casinh.c: Do not include <float.h>.
9712 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9713 * math/s_casinhf.c: Do not include <float.h>.
9714 (__casinhf): Move code for finite nonzero arguments to
9715 k_casinhf.c.
9716 * math/s_casinhl.c: Do not include <float.h>.
9717 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9718 redefine.
9719 (__casinhl): Move code for finite nonzero arguments to
9720 k_casinhl.c.
9721 * math/libm-test.inc (cacos_test): Add more tests.
9722 * sysdeps/i386/fpu/libm-test-ulps: Update.
9723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9724
2a26ef3a
PT
97252013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9726
9727 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9728 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9729 [!HAVE_MREMAP]: Remove [defined linux] case.
9730 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9731
a897655d
SP
97322013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9733
9734 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9735
881ebe89 97362013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9737
9738 * elf/elf.h (R_386_SIZE32): New relocation.
9739 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9740 R_386_SIZE32.
9741 (elf_machine_rela): Likewise.
9742 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9743 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9744
59981e9b
JM
97452013-01-17 Joseph Myers <joseph@codesourcery.com>
9746
9747 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9748 (FP_FAST_FMA): Do not define.
9749 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9750 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9751 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9752 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9753 !_SOFT_FLOAT]: Likewise.
9754 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9755 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9756 value.
9757 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9758 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9759 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9760 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9761 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9762 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9763 file.
9764
cfa8054f
AS
97652013-01-16 Andreas Schwab <schwab@suse.de>
9766
9767 [BZ #14327]
9768 * include/stdlib.h (__mktemp): Add declaration.
9769 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9770 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9771
dd930cc5
SP
97722013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9773
881ebe89
SP
9774 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9775 definitions.
9776 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9777 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9778 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9779 definitions here.
9780 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9781 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9782 definitions.
9783 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9784 and ONE.
9785 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9786 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9787 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9788 definitions.
9789 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9790 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9791 definitions.
9792 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9793
dd930cc5
SP
9794 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9795
c19a9f89
DM
97962013-01-15 David S. Miller <davem@davemloft.net>
9797
1aa61767
DM
9798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9799 trunc{,f} to libm-sysdep_routes.
9800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9802 file.
9803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9805 file.
9806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9807 file.
9808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9810 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9811 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9812 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9813 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9814 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9815 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9816
c42d5e98
DM
9817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9818 nearbyint{,f} to libm-sysdep_routes.
9819 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9821 New file.
9822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9823 file.
9824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9825 New file.
9826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9827 file.
9828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9830 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9831 file.
9832 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9833 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9834 file.
9835 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9836 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9837 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9838
c19a9f89
DM
9839 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9840 libc_feholdexcept and libc_fesetenv.
9841
357679d2
MF
98422013-01-15 Mike Frysinger <vapier@gentoo.org>
9843
9844 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9845
65a82e3d
DM
98462013-01-14 David S. Miller <davem@davemloft.net>
9847
8b954ab9
DM
9848 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9849 (SPARC_ASM_VIS2_IFUNC): Likewise.
9850 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9852 use of 'siam' instruction.
9853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9854 Likewise.
9855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9856 Likewise.
9857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9858 Likewise.
9859 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9860 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9864 file.
9865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9866 file.
9867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9868 file.
9869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9870 file.
9871 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9873 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9874 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9876 new VIS2 routines.
9877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9880 Likewise.
9881 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9883 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9884 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9886 routines to libm-sysdep_routines.
9887 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9888
65a82e3d
DM
9889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9890 fdim/fdimf to libm-sysdep_routines.
9891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9892 file.
9893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9895 file.
9896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9899 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9900 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9901 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9902 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9903
e34ab705
SP
99042013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9905
2a91b573
SP
9906 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9907 to optimize copies.
9908
1066a534
SP
9909 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9910 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9912
e34ab705
SP
9913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9914 local variable MPTWO.
9915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9916 Likewise.
9917
aba5e596
MF
99182013-01-13 Mike Frysinger <vapier@gentoo.org>
9919
9920 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9921 GLOB_NOESCAPE.
9922
e557e9e5
MF
99232013-01-13 Mike Frysinger <vapier@gentoo.org>
9924
9925 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9926
0428cec9
MF
99272013-01-13 Mike Frysinger <vapier@gentoo.org>
9928
9929 * manual/pattern.texi (glob_t): Document gl_flags.
9930 (glob64_t): Likewise.
9931
8794a964
DM
99322013-01-11 David S. Miller <davem@davemloft.net>
9933
66438c3f
RM
9934 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9935 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9936 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9937 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9938 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9939 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9940 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9941 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9942 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9943 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9944 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9945 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9946 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9947
4ae4244d
DM
9948 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9949 sparc V9 rather than using V8 code.
9950 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9951 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9952
8794a964
DM
9953 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9954 Move to...
9955 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9956 Here.
9957
6270516e
RM
99582013-01-11 Roland McGrath <roland@hack.frob.com>
9959
9960 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9961 not in the main loop.
9962 * configure: Regenerated.
9963
6a57d931
JM
99642013-01-11 Joseph Myers <joseph@codesourcery.com>
9965
9966 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9967 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9968 to just #else.
9969 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9970 [!__GLIBC_HAVE_LONG_LONG] case.
9971 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9972 condition to just #else.
9973 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9974 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9975 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9976 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9977 unconditional.
9978 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9979 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9980 #elif condition to just #else.
9981 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9982 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9983 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9984 #elif condition to just #else.
9985
0e8529e9
SE
99862013-01-11 Steve Ellcey <sellcey@mips.com>
9987
9988 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9989 (EF_MIPS_ARCH_64): Fix value.
9990 (EF_MIPS_ARCH_32R2): New.
9991 (EF_MIPS_ARCH_64R2): New.
9992
740b3dbe
L
99932013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9994
9995 * Makeconfig (+link-pie-before-libc): New.
9996 (+link-pie-after-libc): Likewise.
9997 (+link-pie-tests): Likewise.
9998 (+link-pie): Rewritten.
9999 (link-before-libc): Remove $(config-LDFLAGS).
10000 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10001 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10002 (config-LDFLAGS): Renamed to ...
10003 (rtld-LDFLAGS): This.
10004 (rtld-tests-LDFLAGS): New macro.
10005 (link-libc-rpath-link): Likewise.
10006 (link-libc-tests-rpath-link): Likewise.
10007 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10008 (link-libc): Prepand $(link-libc-rpath-link).
10009 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10010 (test-program-prefix): New macro.
10011 (test-via-rtld-prefix): Likewise.
10012 (test-program-cmd): Likewise.
10013 (host-test-program-cmd): Likewise.
10014 * Makefile ($(common-objpfx)testrun.sh): Replace
10015 $(run-program-prefix) with $(test-program-prefix).
10016 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10017 $(rtld-LDFLAGS).
10018 ($(common-objpfx)shlib.lds): Likewise.
10019 (build-module-helper): Likewise.
10020 ($(common-objpfx)format.lds): Likewise.
10021 * Rules (binaries-pie-tests): New.
10022 (binaries-pie-notests): Likewise.
10023 (binaries-pie): Rewritten.
10024 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10025 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10026 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10027 (make-test-out): Replace $(host-built-program-cmd) with
10028 $(host-test-program-cmd).
10029 * config.make.in (build-hardcoded-path-in-tests): New variable.
10030 * configure.in (--enable-hardcoded-path-in-tests): New configure
10031 option.
10032 (hardcoded_path_in_tests): New AC_SUBST.
10033 * configure: Regenerated.
10034 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10035 $(built-program-cmd) with $(test-program-cmd).
10036 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10037 (test_program_cmd): This.
10038 * elf/Makefile ($(objpfx)order.out): Run test with
10039 $(test-program-prefix).
10040 ($(objpfx)order2.out): Likewise.
10041 ($(objpfx)tst-initorder.out): Likewise.
10042 ($(objpfx)tst-initorder2.out): Likewise.
10043 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10044 $(test-program-cmd).
10045 ($(objpfx)tst-array1-static.out): Likewise.
10046 ($(objpfx)tst-array2.out): Likewise.
10047 ($(objpfx)tst-array3.out): Likewise.
10048 ($(objpfx)tst-array4.out): Likewise.
10049 ($(objpfx)tst-array5.out): Likewise.
10050 ($(objpfx)tst-array5-static.out): Likewise.
10051 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10052 $(test-program-cmd).
10053 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10054 $(run-program-prefix) with $(test-program-prefix).
10055 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10056 (test_program_prefix): This.
10057 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10058 $(run-program-prefix) with $(test-program-prefix).
10059 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10060 (test_program_prefix): This.
10061 * iconvdata/tst-tables.sh: Likewise.
10062 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10063 $(run-program-prefix) with $(test-program-prefix).
10064 ($(objpfx)tst-translit.out): Likewise.
10065 ($(objpfx)tst-gettext2.out): Likewise.
10066 ($(objpfx)tst-gettext4.out): Likewise.
10067 ($(objpfx)tst-gettext6.out): Likewise.
10068 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10069 (test_program_prefix): This.
10070 * intl/tst-gettext2.sh: Likewise.
10071 * intl/tst-gettext4.sh Likewise.
10072 * intl/tst-gettext6.sh: Likewise.
10073 * intl/tst-translit.sh: Likewise.
10074 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10075 with $(test-program-cmd).
10076 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10077 $(run-program-prefix) with $(test-program-prefix).
10078 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10079 (test_program_prefix): This.
10080 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10081 $(run-program-prefix) with $(test-program-prefix).
10082 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10083 (test_program_prefix): This.
10084 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10085 * posix/Makefile ($(objpfx)globtest.out): Replace
10086 $(run-via-rtld-prefix) and $(test-wrapper) with
10087 $(test-program-prefix) and $(test-via-rtld-prefix).
10088 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10089 $(test-program-prefix).
10090 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10091 $(host-test-program-cmd).
10092 (tst-spawn-ARGS): Likewise.
10093 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10094 $(test-program-prefix).
10095 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10096 (test_via_rtld_prefix): This.
10097 (test_wrapper): Renamed to ...
10098 (test_program_prefix): This.
10099 (run_program_prefix): Replaced by test_program_prefix.
10100 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10101 (test_program_prefix): This.
10102 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10103 with $(host-test-program-cmd).
10104 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10105 $(run-program-prefix) with $(test-program-prefix).
10106 ($(objpfx)tst-printf.out): Likewise.
10107 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10108 $(test-program-cmd).
10109 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10110 (test_program_prefix): This.
10111 * stdio-common/tst-unbputc.sh: Likewise.
10112 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10113 $(run-program-prefix) with $(test-program-prefix).
10114 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10115 (test_program_prefix): This.
10116 * string/Makefile ($(objpfx)tst-svc.out): Replace
10117 $(built-program-cmd) with $(test-program-cmd).
10118
c6fe55cf
AJ
101192013-01-11 Andreas Jaeger <aj@suse.de>
10120
10121 [BZ #15003]
10122 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10123 value. Sync with Linux 3.7.
10124
9e6919c8
DM
101252013-01-10 David S. Miller <davem@davemloft.net>
10126
10127 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10128 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10129 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10130
1c9f1a02
RM
101312013-01-10 Roland McGrath <roland@hack.frob.com>
10132
10133 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10134 never set.
10135 * configure: Regenerated.
10136
b9de2dde
DM
101372013-01-10 David S. Miller <davem@davemloft.net>
10138
10139 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10140 sparc V9 rather than using V8 code.
10141 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10142 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10143
e7f68ef4
RM
101442013-01-10 Roland McGrath <roland@hack.frob.com>
10145
10146 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10147 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10148 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10149 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10150 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10151 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10152 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10153 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10154 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10155 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10156 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10157 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10158 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10159 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10160 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10161 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10162 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10163 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10164 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10165 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10166 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10167 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10168 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10169 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10170 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10171 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10172 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10173
5a47cc9c
DM
101742013-01-10 David S. Miller <davem@davemloft.net>
10175
10176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10177
4cf8f209
L
101782013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10179
10180 * posix/Makefile (tests-static): New variable.
10181 (tests): Add $(tests-static).
10182 (tst-exec-static-ARGS): New variable.
10183 (tst-spawn-static-ARGS): Likewise.
10184 * posix/tst-exec-static.c: New file.
10185 * posix/tst-spawn-static.c: Likewise.
10186 * posix/tst-exec.c: Support run directly.
10187 * posix/tst-spawn.c: Likewise.
10188
fed0faa1
JM
101892013-01-10 Joseph Myers <joseph@codesourcery.com>
10190
828beb13
JM
10191 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10192 long.
10193 * math/bits/mathcalls.h (llrint): Likewise.
10194 (llround): Likewise.
10195 * stdlib/stdlib.h (struct drand48_data): Likewise.
10196 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10197 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10198 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10199 Likewise.
10200 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10201 Likewise.
10202 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10203 (elf_greg_t): Likewise.
10204 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10205 (__jmp_buf): Likewise.
10206 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10207 definitions.
10208 (llrint): Likewise, for all definitions.
10209 (llrintl): Likewise.
10210
fed0faa1
JM
10211 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10212 Remove [__GNUC__] condition.
10213 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10214 condition to just [__USE_ISOC99].
10215 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10216
1a20cb20
L
102172013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10218
10219 [BZ #14200]
10220 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10221 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10222 defined.
10223 (_POSIX_V6_ILP32_OFF32): Likewise.
10224 (_XBS5_ILP32_OFF32): Likewise.
10225 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10226 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10227
751b85f7
SP
102282013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10229
7490eb81
SP
10230 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10231
751b85f7
SP
10232 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10233 doubles __mpexp_twomm1. Adjust usage.
10234 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10235 Remove.
10236
988197f0
AS
102372013-01-10 Andreas Schwab <schwab@suse.de>
10238
10239 [BZ #14964]
10240 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10241 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10242
e83d7298
DM
102432013-01-09 David S. Miller <davem@davemloft.net>
10244
034ed64b 10245 [BZ #15003]
e83d7298
DM
10246 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10247 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10248 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10249 TCP_FASTOPEN): Define.
10250 (tcp_repair_opt): New structure.
10251 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10252 enum values.
10253 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10254 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10255 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10256 (tcp_cookie_transactions): New structure.
10257
d5e0b9bd
AB
102582013-01-09 Anton Blanchard <anton@samba.org>
10259
10260 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10261 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10262 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10263 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10264
0c07e3ea
JM
102652013-01-09 Joseph Myers <joseph@codesourcery.com>
10266
10267 * include/features.h (__USE_ANSI): Remove.
10268
232f7002
RM
102692013-01-09 Roland McGrath <roland@hack.frob.com>
10270
ad98e30c
RM
10271 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10272
232f7002
RM
10273 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10274
950c99ca
SP
102752013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10276
b5792741
SP
10277 * sysdeps/s390/fpu/libm-test-ulps: Update.
10278
47cf2278
SP
10279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10280
950c99ca
SP
10281 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10282 (__acr): Likewise.
10283 (__cpy): Likewise.
10284 (norm): Likewise.
10285 (denorm): Likewise.
10286 (__mp_dbl): Likewise.
10287 (__dbl_mp): Likewise.
10288 (add_magnitudes): Likewise.
10289 (sub_magnitudes): Likewise.
10290 (__add): Likewise.
10291 (__sub): Likewise.
10292 (__mul): Likewise.
10293 (__inv): Likewise.
10294 (__dvd): Likewise.
10295 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10296 (__acr): Likewise.
10297 (__cpy): Likewise.
10298 (norm): Likewise.
10299 (denorm): Likewise.
10300 (__mp_dbl): Likewise.
10301 (__dbl_mp): Likewise.
10302 (add_magnitudes): Likewise.
10303 (sub_magnitudes): Likewise.
10304 (__add): Likewise.
10305 (__sub): Likewise.
10306 (__mul): Likewise.
10307 (__inv): Likewise.
10308 (__dvd): Likewise.
10309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10310 (__acr): Likewise.
10311 (__cpy): Likewise.
10312 (norm): Likewise.
10313 (denorm): Likewise.
10314 (__mp_dbl): Likewise.
10315 (__dbl_mp): Likewise.
10316 (add_magnitudes): Likewise.
10317 (sub_magnitudes): Likewise.
10318 (__add): Likewise.
10319 (__sub): Likewise.
10320 (__mul): Likewise.
10321 (__inv): Likewise.
10322 (__dvd): Likewise.
10323
eede9df9
JM
103242013-01-08 Joseph Myers <joseph@codesourcery.com>
10325
10326 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10327 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10328 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10329 2 && __USE_EXTERN_INLINES]: Likewise.
10330
c40ea3d9
AJ
103312013-01-08 Andreas Jaeger <aj@suse.de>
10332
10333 [BZ# 14985]
10334 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10335 Remove.
10336 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10337 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10338
2ccdea26
AB
103392013-01-07 Anton Blanchard <anton@samba.org>
10340
10341 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10342 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10343 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10344 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10345 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10346 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10347 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10348 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10350 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10351 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10352 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10353 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10354 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10355 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10356 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10357 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10358 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10359 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10360 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10361 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10362 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10363 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10364 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10365 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10366 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10367 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10368 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10369 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10370 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10371 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10373 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10374 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10375 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10376 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10377 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10378 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10379 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10380 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10381 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10382 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10383 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10384
a9708fed
JM
103852013-01-07 Joseph Myers <joseph@codesourcery.com>
10386
375607b9
JM
10387 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10388 (__MALLOC_PMT): Likewise.
10389 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10390 [__GNUC__], only on [_LIBC].
10391 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10392 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10393 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10394 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10395 forward declaration.
10396 (realloc_hook_ini): Likewise.
10397 (memalign_hook_ini): Likewise.
10398 (__libc_memalign): Do not use __MALLOC_PMT in variable
10399 declaration.
10400 (__libc_valloc): Likewise.
10401 (__libc_pvalloc): Likewise.
10402 (__libc_calloc): Likewise.
10403 (__posix_memalign): Likewise.
10404
a9708fed
JM
10405 [BZ #14996]
10406 * math/s_casinh.c: Include <float.h>.
10407 (__casinh): Do not do computation with squaring and square root
10408 for large arguments.
10409 * math/s_casinhf.c: Include <float.h>.
10410 (__casinhf): Do not do computation with squaring and square root
10411 for large arguments.
10412 * math/s_casinhl.c: Include <float.h>.
10413 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10414 (__casinhl): Do not do computation with squaring and square root
10415 for large arguments.
10416 * math/libm-test.inc (casin_test): Add more tests.
10417 (casinh_test): Likewise.
10418 * sysdeps/i386/fpu/libm-test-ulps: Update.
10419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10420
afec409a
L
104212013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10422
10423 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10424 (__x86_64_raw_data_cache_size): Likewise.
10425 (__x86_64_data_cache_size_half): Likewise.
10426 (__x86_64_raw_data_cache_size_half): Likewise.
10427 (__x86_64_shared_cache_size): Likewise.
10428 (__x86_64_raw_shared_cache_size): Likewise.
10429 (__x86_64_shared_cache_size_half): Likewise.
10430 (__x86_64_raw_shared_cache_size_half): Likewise.
10431 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10432 to ...
10433 (__x86_data_cache_size): This.
10434 (__x86_64_raw_data_cache_size): Renamed to ...
10435 (__x86_raw_data_cache_size): This.
10436 (__x86_64_data_cache_size_half): Renamed to ...
10437 (__x86_data_cache_size_half): This.
10438 (__x86_64_raw_data_cache_size_half): Renamed to ...
10439 (__x86_raw_data_cache_size_half): This.
10440 (__x86_64_shared_cache_size): Renamed to ...
10441 (__x86_shared_cache_size): This.
10442 (__x86_64_raw_shared_cache_size): Renamed to ...
10443 (__x86_raw_shared_cache_size): This.
10444 (__x86_64_shared_cache_size_half): Renamed to ...
10445 (__x86_shared_cache_size_half): This.
10446 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10447 (__x86_raw_shared_cache_size_half): This.
10448 * sysdeps/x86_64/memcpy.S: Updated.
10449 * sysdeps/x86_64/memset.S: Likewise.
10450 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10451 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10452 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10453
0b3986d0
DM
104542013-01-04 David S. Miller <davem@davemloft.net>
10455
10456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10457
e47686e9
AS
104582013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10459
d643bac1
AS
10460 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10461 1 to avoid redefinition warning.
10462 (__USE_GNU): Don't define.
10463 (init_signaling_nan): Protoize.
10464
e47686e9
AS
10465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10466
b18decba
SP
104672013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10468
fffb407f
SP
10469 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10471 (__cpymn): Likewise.
10472 (norm): Remove commented code.
10473 (denorm): Likewise.
10474 (__mp_dbl): Likewise.
10475 (__inv): Likewise.
10476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10477 (__cpymn): Likewise.
10478 (norm): Remove commented code.
10479 (denorm): Likewise.
10480 (__mp_dbl): Likewise.
10481 (__inv): Likewise.
10482
b18decba
SP
10483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10484 mp_no value for 1.0 and 2.0.
10485 (norm): Use RADIXI instead of radixi.d.
10486 (denorm): Likewise.
10487 (__mul): Use 0.0 instead of zero.d.
10488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10489 mp_no value for 1.0 and 2.0.
10490 (norm): Use RADIXI instead of radixi.d.
10491 (denorm): Likewise.
10492 (__mul): Use 0.0 instead of zero.d.
10493
cdc1c96f
JM
104942013-01-04 Joseph Myers <joseph@codesourcery.com>
10495
10496 [BZ #14994]
10497 * math/s_casinh.c (__casinh): Reduce finite argument to first
10498 quadrant then set signs of results at the end.
10499 * math/s_casinhf.c (__casinhf): Likewise.
10500 * math/s_casinhl.c (__casinhl): Likewise.
10501 * math/libm-test.inc (casin_test): Add more tests.
10502 (casinh_test): Likewise.
10503 * sysdeps/i386/fpu/libm-test-ulps: Update.
10504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10505
302913e1
SP
105062013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10507
6420d207
SP
10508 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10509
a9e48ab4
SP
10510 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10511
b7837264
SP
10512 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10513 declarations.
10514 (denorm): Likewise.
10515 (__mp_dbl): Likewise.
10516 (__inv): Likewise.
10517
f8af25d2
SP
10518 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10519 and adjust the header comment.
10520
302913e1
SP
10521 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10522 variable name from declaration.
10523
5d7dd1ca
L
105242013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10525
10526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10527 Initialize COMMON_CPUID_INDEX_7 element.
10528 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10529 (CPUID_RTM): Likewise.
10530 (HAS_RTM): Likewise.
10531 (COMMON_CPUID_INDEX_7): New enum.
10532
2f5f40f4
AS
105332013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10534
10535 [BZ #14981]
10536 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10537 size is zero, record memory as freed.
10538
4056f4a0
AJ
105392013-01-03 Andreas Jaeger <aj@suse.de>
10540
10541 * po/ia.po: Add new Interlingua translation.
10542
ab15736f 105432012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
10544
10545 * locale/programs/localedef.c: Fix description of '--posix' flag.
10546
568035b7
JM
105472013-01-02 Joseph Myers <joseph@codesourcery.com>
10548
e6898b8d
JM
10549 * NEWS: Update dates in second copyright notice.
10550 * README: Update copyright dates in example.
10551 * manual/libc.texinfo: Update copyright dates.
10552 * scripts/test-installation.pl: Update copyright date in --version
10553 output.
10554
0e2f9562
JM
10555 * hurd/ctty-input.c: Fix copyright notice formatting.
10556 * hurd/ctty-output.c: Likewise.
10557 * hurd/dtable.c: Likewise.
10558 * hurd/hurd-raise.c: Likewise.
10559 * hurd/hurdprio.c: Likewise.
10560 * hurd/msgportdemux.c: Likewise.
10561 * misc/sys/file.h: Likewise.
10562 * misc/sys/ioctl.h: Likewise.
10563 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10564 * sysdeps/mach/hurd/chdir.c: Likewise.
10565 * sysdeps/mach/hurd/fchdir.c: Likewise.
10566 * sysdeps/mach/hurd/rename.c: Likewise.
10567 * sysdeps/mach/hurd/rmdir.c: Likewise.
10568 * sysdeps/mach/hurd/seekdir.c: Likewise.
10569 * sysdeps/mach/hurd/setsid.c: Likewise.
10570 * sysdeps/posix/wait3.c: Likewise.
10571
568035b7
JM
10572 * All files with FSF copyright notices: Update copyright dates
10573 using scripts/update-copyrights.
10574 * intl/plural.c: Regenerated.
10575 * locale/programs/charmap-kw.h: Likewise.
10576 * locale/programs/locfile-kw.h: Likewise.
10577
da08f647
SP
105782013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10579
0f5477af
SP
10580 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10581 four values.
10582
44e0d4c2
SP
10583 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10584 calculation loop and add branch prediction.
10585
4d55b4e5
SP
10586 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10587 check access beyond bounds of m1np.
10588
da08f647
SP
10589 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10590 MPTWO.
10591 (__inv): Remove local variable MPTWO to use the global
10592 constant.
10593 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10594 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10595 variable MPTWO.
10596 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10597 MP3HALFS static const.
10598
8e051029
DM
105992013-01-01 David S. Miller <davem@davemloft.net>
10600
10601 * po/ca.po: Update from translation team.
10602
f4cf5f2d
JM
106032013-01-01 Joseph Myers <joseph@codesourcery.com>
10604
10605 * scripts/update-copyrights: New file.
10606 * Makeconfig: Reformat copyright notice.
10607 * ctype/ctype.h: Likewise.
10608 * debug/swprintf_chk.c: Likewise.
10609 * elf/dl-cache.c: Likewise.
10610 * elf/dl-debug.c: Likewise.
10611 * elf/dl-object.c: Likewise.
10612 * grp/initgroups.c: Likewise.
10613 * hurd/Makefile: Likewise.
10614 * hurd/hurd/signal.h: Likewise.
10615 * hurd/hurdfault.c: Likewise.
10616 * hurd/hurdioctl.c: Likewise.
10617 * hurd/hurdlookup.c: Likewise.
10618 * hurd/intr-msg.c: Likewise.
10619 * iconv/gconv_open.c: Likewise.
10620 * libio/swprintf.c: Likewise.
10621 * locale/lc-ctype.c: Likewise.
10622 * locale/nl_langinfo.c: Likewise.
10623 * mach/Machrules: Likewise.
10624 * mach/Makefile: Likewise.
10625 * malloc/obstack.h: Likewise.
10626 * manual/Makefile: Likewise.
10627 * manual/tsort.awk: Likewise.
10628 * misc/bits/stab.def: Likewise.
10629 * nis/nis_print_group_entry.c: Likewise.
10630 * nis/nis_table.c: Likewise.
10631 * nis/nss_compat/compat-pwd.c: Likewise.
10632 * nis/nss_compat/compat-spwd.c: Likewise.
10633 * po/Makefile: Likewise.
10634 * posix/fnmatch.c: Likewise.
10635 * posix/regex.h: Likewise.
10636 * resolv/Makefile: Likewise.
10637 * resolv/nss_dns/dns-network.c: Likewise.
10638 * resolv/res_hconf.c: Likewise.
10639 * scripts/gen-sorted.awk: Likewise.
10640 * soft-fp/soft-fp.h: Likewise.
10641 * stdio-common/printf.h: Likewise.
10642 * stdlib/monetary.h: Likewise.
10643 * stdlib/random.c: Likewise.
10644 * stdlib/random_r.c: Likewise.
10645 * sysdeps/generic/Makefile: Likewise.
10646 * sysdeps/gnu/Makefile: Likewise.
10647 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10648 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10649 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10650 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10651 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10652 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10653 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10654 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10655 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10657 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10658 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10659 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10660 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10663 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10664 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10665 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10666 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10667 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10668 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10669 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10670 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10671 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10672 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10673 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10674 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10675 * sysdeps/mach/hurd/errnos.awk: Likewise.
10676 * sysdeps/mach/hurd/fork.c: Likewise.
10677 * sysdeps/mach/hurd/getcwd.c: Likewise.
10678 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10679 * sysdeps/mach/hurd/mmap.c: Likewise.
10680 * sysdeps/mach/hurd/utimes.c: Likewise.
10681 * sysdeps/mach/hurd/xmknod.c: Likewise.
10682 * sysdeps/posix/profil.c: Likewise.
10683 * sysdeps/posix/readdir_r.c: Likewise.
10684 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10685 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10686 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10687 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10689 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10690 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10691 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10693 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10694 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10695 * sysdeps/pthread/lio_listio.c: Likewise.
10696 * sysdeps/sparc/dl-procinfo.h: Likewise.
10697 * sysdeps/unix/i386/sysdep.S: Likewise.
10698 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10699 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10700 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10701 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10703 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10704 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10705 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10706 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10707 * sysdeps/wordsize-32/divdi3.c: Likewise.
10708 * time/sys/time.h: Likewise.
10709 * wcsmbs/Makefile: Likewise.
10710
0549fbba
DM
107112013-01-01 David S. Miller <davem@davemloft.net>
10712
a141f1a7
DM
10713 * po/fr.po: Update from translation team.
10714
0549fbba
DM
10715 * catgets/gencat.c: Update copyright year.
10716 * csu/version.c: Likewise.
10717 * debug/catchsegv.sh: Likewise.
10718 * debug/pcprofiledump.c: Likewise.
10719 * debug/xtrace.sh: Likewise.
10720 * elf/ldconfig.c: Likewise.
10721 * elf/ldd.bash.in: Likewise.
10722 * elf/pldd.c: Likewise.
10723 * elf/sotruss.ksh: Likewise.
10724 * elf/sprof.c: Likewise.
10725 * iconv/iconv_prog.c: Likewise.
10726 * iconv/iconvconfig.c: Likewise.
10727 * locale/programs/locale.c: Likewise.
10728 * locale/programs/localedef.c: Likewise.
10729 * login/programs/pt_chown.c: Likewise.
10730 * malloc/memusage.sh: Likewise.
10731 * malloc/memusagestat.c: Likewise.
10732 * malloc/mtrace.pl: Likewise.
10733 * nscd/nscd.c: Likewise.
10734 * nss/getent.c: Likewise.
10735 * nss/makedb.c: Likewise.
10736 * posix/getconf.c: Likewise.
10737
18ea052c
SP
107382012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10739
10740 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10741 numbers.
10742
9c89fca6
MF
107432012-12-30 Mike Frysinger <vapier@gentoo.org>
10744
10745 * math/bits/mathcalls.h (modf): Use __nonnull.
10746
085ec079
SP
107472012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10748
10749 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10750 (split): Use macro CN instead of the bare value.
10751 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10752 could be used.
10753 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10754 instead of the bare value.
10755 (power1): Likewise.
10756
6d9f97e1
SP
107572012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10758
d63f73be
SP
10759 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10760 __ATAN_TWOM.
10761 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10762
6d9f97e1
SP
10763 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10764 their values.
10765 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10766 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10767 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10768 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10769
4c4febf5
AJ
107702012-12-28 Andreas Jaeger <aj@suse.de>
10771
af5843ef
AJ
10772 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10773 values are from Linux 3.7.
10774
4c4febf5
AJ
10775 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10776 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10777
99136f82
SP
107782012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10779
2f216c3c 10780 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10781 TRUE case.
10782
99136f82
SP
10783 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10784 (norm): Likewise.
10785 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10786 variables with preprocessor constants.
10787 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10788 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10789 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10790
7fffbdff
BH
107912012-12-27 Bruno Haible <bruno@clisp.org>
10792
10793 [BZ #14317]
10794 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10795 only if needed.
10796
b76eb5f0
SP
107972012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10798
31a7fe5c
SP
10799 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10800 and use variable directly.
10801 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10802
b76eb5f0
SP
10803 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10804 MPONE.
10805 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10806 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10807 variable MPONE.
10808 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10809 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10810 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10811 include directive. Remove local variable MPONE.
10812 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10813 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10814 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10815
2c8bfe7d
DM
108162012-12-25 David S. Miller <davem@davemloft.net>
10817
10818 * version.h (RELEASE): Set to "development".
10819 (VERSION): Set to "2.17.90".
10820 * NEWS: Add 2.18 section.
10821
147d03b0
DM
108222012-12-21 David S. Miller <davem@davemloft.net>
10823
10824 * po/hr.po: Update from translation team.
10825
a8ebb2b9
AK
108262012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10827
10828 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10829
95b4f1b6
SE
108302012-12-19 Steve Ellcey <sellcey@mips.com>
10831
b2d94007 10832 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10833
cedb2a90
MS
108342012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10835
10836 * manual/contrib.texi (Contributors): Spelling correction.
10837
bbf527d6
DM
108382012-12-15 David S. Miller <davem@davemloft.net>
10839
10840 * po/ru.po: Update from translation team.
10841
bc38c906
DM
108422012-12-13 David S. Miller <davem@davemloft.net>
10843
85429b1a
DM
10844 * NEWS: Mention IFUNC testsuite enhancements.
10845
d283e353
DM
10846 * po/pl.po: Update from translation team.
10847 * po/bg.po: Likewise.
10848
bc38c906
DM
10849 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10850 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10851
a181b0d7
DM
108522012-12-11 David S. Miller <davem@davemloft.net>
10853
4641d57e
DM
10854 * po/sv.po: Update from translation team.
10855
f7bc6495
DM
10856 * po/vi.po: Update from translation team.
10857
6fc9048f
DM
10858 * po/cs.po: Update from translation team.
10859
a181b0d7
DM
10860 * po/de.po: Update from translation team.
10861 * po/eo.po: Likewise.
10862 * po/nl.po: Likewise.
10863
f70bfe80
SP
108642012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10865
3c8b4190
SP
10866 [BZ #14246]
10867 * manual/argp.texi (Argp Helper Functions): Move node to follow
10868 Argp Parsing State.
10869
f70bfe80
SP
10870 [BZ #14872]
10871 * manual/conf.texi (Limits on File System Capacity): Mention if
10872 terminating null is included in the max size.
10873
188f0adf
AJ
108742012-12-10 Andreas Jaeger <aj@suse.de>
10875
10876 * po/cs.po: Update from translation team.
10877
56e7d3ad
SP
108782012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10879
10880 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10881 void pointer and cast to uintptr_t.
10882 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10883 path.
10884 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10885 * sysdeps/s390/s390-64/memset.S: Likewise.
10886
76f2d2ea 108872012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10888
10889 [BZ #14833]
10890 * menual/message.texi (Message Translation): Fix typos.
10891 (Helper programs for gettext): Likewise.
10892
67cbf9a2
AS
108932012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10894
10895 [BZ #14898]
10896 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10897 Change to -1.
10898
682d0e9a
DM
108992012-12-07 David S. Miller <davem@davemloft.net>
10900
10901 * po/libc.pot: Update.
10902
573cd484
RH
109032012-12-07 Richard Henderson <rth@redhat.com>
10904
7e9da188 10905 [BZ #10114]
573cd484
RH
10906 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10907 normal/normal case to before the switch.
10908 (_FP_DIV): Likewise.
10909
e933a943
MF
109102012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10911 Mike Frysinger <vapier@gentoo.org>
10912
10913 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10914 check for __NR_fadvise64_64.
10915
82123268
CM
109162012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10917
10918 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10919 0, not just to plain "0" as a statement.
10920 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10921 with cw.
10922
d9814526
JM
109232012-12-06 Joseph Myers <joseph@codesourcery.com>
10924
10925 * NEWS: Use sourceware.org in Bugzilla URL.
10926
7728c574
SP
109272012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10928
f16946dd
SP
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10930 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10931
5704bbcb
SP
10932 * stdio-common/tst-put-error.c (do_test): Add newline to the
10933 padded test to ensure flush.
10934
17aa0516
JL
109352012-12-05 Jeff Law <law@redhat.com>
10936
10937 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10938
363313b5
JM
109392012-12-05 Joseph Myers <joseph@codesourcery.com>
10940
effbd42a
JM
10941 * README: Don't refer to ports add-on as distributed separately.
10942 Mention AArch64 in list of systems supported in the ports add-on.
10943
87600365
JM
10944 * LICENSES: Add more non-FSF copyright and license notices.
10945
a0d7066a
JM
10946 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10947 ((unused)).
10948
66ca5a5b
JM
10949 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10950
363313b5
JM
10951 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10952 10000 as width of padded output.
10953
b37984ad
JM
109542012-12-04 Joseph Myers <joseph@codesourcery.com>
10955
9003570a
JM
10956 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10957
b37984ad
JM
10958 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10959 variable LX with __attribute__ ((unused)).
10960 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10961 Likewise.
10962 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10963 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10964 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10965 with __attribute__ ((unused)).
10966
c8df52ec
DM
109672012-12-04 David S. Miller <davem@abraco.davemloft.net>
10968
10969 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10970
b3b099af
JM
109712012-12-04 Joseph Myers <joseph@codesourcery.com>
10972
c33aa6e3
JM
10973 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10974 (CFLAGS-nldbl-acos.c): New variable.
10975 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10976 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10977 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10978 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10979 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10980 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10981 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10982 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10983 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10984 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10985 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10986 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10987 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10988 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10989 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10990 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10991 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10992 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10993 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10994 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10995 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10996 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10997 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10998 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10999 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11000 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11001 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11002 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11003 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11004 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11005 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11006 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11007 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11008 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11009 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11010 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11011 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11012 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11013 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11014 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11015 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11016 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11017 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11018 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11019 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11020 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11021 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11022 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11023 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11024 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11025 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11026 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11027 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11028 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11029 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11030 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11031 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11032 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11033 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11034 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11035 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11036 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11037 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11038 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11039 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11040 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11041 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11042 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11043 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11044 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11045 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11046 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11047 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11048 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11049 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11050 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11051 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11052 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11053 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11054 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11055 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11056 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11057 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11058 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11059 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11060 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11061 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11062 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11063 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11064 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11065 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11066 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11067 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11068 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11069 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11070 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11071 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11072
20f0018d
JM
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11074 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11075
b3b099af
JM
11076 [BZ #14914]
11077 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11078 whole low double instead of just low 47 bits when splitting values
11079 into two parts.
11080
029264d1
AM
110812012-12-03 Allan McRae <allan@archlinux.org>
11082
11083 * manual/stdio.texi (Predefined Printf Handlers): Remove
11084 @hsep and @vsep usage.
11085
c9d6789e
MF
110862012-12-03 Mike Frysinger <vapier@gentoo.org>
11087
11088 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11089 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11090
4b7634a5
JL
110912012-12-03 Jeff Law <law@redhat.com>
11092
11093 * time/sys/time.h (settimeofday): Do not mark TV argument
11094 as __nonnull.
11095
eb6cbd24
MF
110962012-12-01 Mike Frysinger <vapier@gentoo.org>
11097
11098 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11099 when currently writing and seek to current position when not.
11100 * libio/Makefile (tests): Remove bug-fclose1.
11101 * libio/bug-fclose1.c: Delete.
11102
f638872a
JM
111032012-12-01 Joseph Myers <joseph@codesourcery.com>
11104
11105 * manual/arith.texi (feenableexcept): Fix typo.
11106 (fedisableexcept): Likewise.
11107
48085d14
RM
111082012-11-30 Roland McGrath <roland@hack.frob.com>
11109
11110 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11111 second, differently-typed declaration, rather than a cast.
11112
1a538b9f
SP
111132012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11114
11115 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11116 * include/rpc/svc.h: ... here.
11117
d07f2ff1 111182012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
11119
11120 [BZ #13013]
11121 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11122 depending n and resplen2 to catch cases where answer
11123 equals answerp2.
11124
c93ec1f0
CD
111252012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11126
11127 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11128 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11129
37db69de
MF
111302012-11-29 Mike Frysinger <vapier@gentoo.org>
11131
11132 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11133
e10c4e4f
RM
111342012-11-29 Roland McGrath <roland@hack.frob.com>
11135
11136 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11137
2af1b328
JL
111382012-11-28 Jeff Law <law@redhat.com>
11139
11140 [BZ #13761]
11141 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11142 dataset_temporary. Track alloca usage into alloca_used.
11143 If dataset is large allocate and release it via malloc/free.
11144
111db5b1
FW
111452012-06-04 Florian Weimer <fweimer@redhat.com>
11146
f06cc227 11147 [BZ #14197]
111db5b1
FW
11148 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11149
dd694abd
DM
111502012-11-28 David S. Miller <davem@davemloft.net>
11151
11152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11153
9984dd01
JM
111542012-11-28 Joseph Myers <joseph@codesourcery.com>
11155
11156 [BZ #14803]
11157 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11158 of pi/2 rounded to nearest to 64 bits.
11159 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11160 nearest to 64 bits.
11161 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11162 bits.
11163
14bc93a9
JL
111642012-11-28 Jeff Law <law@redhat.com>
11165 Martin Osvald <mosvald@redhat.com>
11166
11167 [BZ #14889]
11168 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11169 * sunrpc/svc.c: Include time.h.
11170 (__svc_accept_failed): New function.
11171 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11172 any reason other than EINTR, call __svc_accept_failed.
11173 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11174 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11175
e3c6aa3a
AS
111762012-11-28 Andreas Schwab <schwab@suse.de>
11177
11178 * scripts/abilist.awk: Also handle indirect functions in .opd
11179 section.
11180
1bead169
JM
111812012-11-28 Joseph Myers <joseph@codesourcery.com>
11182
11183 [BZ #13881]
11184 * sysdeps/x86/fpu/powl_helper.c: New file.
11185 * sysdeps/x86/fpu/Makefile: Likewise.
11186 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11187 (p3): New object.
11188 (__ieee754_powl): Use __powl_helper for finite arguments except
11189 integer exponents below 8.
11190 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11191 (p3): New object.
11192 (__ieee754_powl): Use __powl_helper for finite arguments except
11193 integer exponents below 8.
11194 * math/libm-test.inc (pow_test): Add more tests and enable some
11195 previously disabled tests.
11196 * sysdeps/i386/fpu/libm-test-ulps: Update.
11197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11198
0817d63d
SP
111992012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11200 Carlos O'Donell <carlos_odonell@mentor.com>
11201
11202 * nss/makedb.c (is_prime): Assert that input is odd and greater
11203 than 4. Note that fact in a comment too.
11204 (next_prime): Add 4 to input.
11205
de2fd463
SP
112062012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11207
11208 [BZ #11741]
11209 * libio/Makefile (tests): Add test case tst-fwrite-error.
11210 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11211 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11212 * libio/tst-fwrite-error.c: New test case.
11213
c515fb51
L
112142012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11215
11216 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11217 before casting to void *.
11218 * include/libc-internal.h (__pointer_type): New macro.
11219 (__integer_if_pointer_type_sub): Likewise.
11220 (__integer_if_pointer_type): Likewise.
11221 (cast_to_integer): Likewise.
11222 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11223 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11224 before casting to atomic64_t.
11225 (atomic_exchange_acq): Likewise.
11226 (__arch_exchange_and_add_body): Likewise.
11227 (__arch_add_body): Likewise.
11228 (atomic_add_negative): Likewise.
11229 (atomic_add_zero): Likewise.
11230
4cf77aa9
JM
112312012-11-26 Joseph Myers <joseph@codesourcery.com>
11232
11233 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11234 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11235 (add_fdes): Likewise.
11236 (linear_search_fdes): Likewise.
11237 (binary_search_unencoded_fdes): Likewise.
11238
d260b3b4
AS
112392012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11240
11241 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11242
67060746
AC
112432012-11-24 Adam Conrad <adconrad@0c3.net>
11244
11245 * configure.in: Autodetect C++ header directories.
11246 * configure: Regenerated.
11247
800938a1
MF
112482012-11-23 Mike Frysinger <vapier@gentoo.org>
11249
11250 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11251
4e6e34e6
AS
112522012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11253
11254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11255
7c7feb47
JM
112562012-11-22 Joseph Myers <joseph@codesourcery.com>
11257
7184dcdf
JM
11258 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11259 LDBL_MANT_DIG == 106]: Disable some tests.
11260 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11261 Likewise.
11262 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11263 Likewise.
11264
0a42601f
JM
11265 [BZ #14871]
11266 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11267 input for small inputs. Return +/- pi/2 for large inputs.
11268 * math/libm-test.inc (atan_test): Add more tests.
11269
79c9b9fe
JM
11270 * sysdeps/generic/unwind-dw2-fde-glibc.c
11271 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11272 __attribute__ ((unused)).
11273
c60d3bf2
JM
11274 [BZ #14645]
11275 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11276 x * y if x and y are nonzero and z is zero.
11277
ef1e0867
JM
11278 [BZ #14811]
11279 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11280 nonzero exponents with absolute value below 0x1p-117 to +/-
11281 0x1p-117.
11282
1468ded3
JM
11283 [BZ #14869]
11284 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11285 up arguments below 2**-450, not just those below 2**-500.
11286 * math/libm-test.inc (hypot_test): Add another test.
11287
8e27e3cc
JM
11288 [BZ #14868]
11289 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11290 Return a+b for ratio over 2**120, not 2**60.
11291 * math/libm-test.inc (hypot_test): Add another test.
11292
c9c0279b
JM
11293 * math/libm-test.inc (clog_test): Use
11294 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11295 (clog10_test): Likewise.
11296
7c7feb47
JM
11297 [BZ #6778]
11298 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11299
fff1530e
AS
113002012-11-22 Andreas Schwab <schwab@suse.de>
11301
11302 * sysdeps/i386/fpu/libm-test-ulps: Update.
11303
94558d30
PT
113042012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11305
11306 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11307 printf output with newline.
11308
7e1be741
L
113092012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11310
6bfea974
L
11311 [BZ #14865]
11312 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11313 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11314 -z nodlopen, -z initfirst and -z execstack support.
11315 * configure: Regenerated.
11316
7e1be741
L
11317 * elf/elf.h (DF_1_NODIRECT): New macro.
11318 (DF_1_IGNMULDEF): Likewise.
11319 (DF_1_NOKSYMS): Likewise.
11320 (DF_1_NOHDR): Likewise.
11321 (DF_1_EDITED): Likewise.
11322 (DF_1_NORELOC): Likewise.
11323 (DF_1_SYMINTPOSE): Likewise.
11324 (DF_1_GLOBAUDIT): Likewise.
11325 (DF_1_SINGLETON): Likewise.
11326 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11327 DT_1_SUPPORTED_MASK bits.
11328 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11329
105ce2ce
CD
113302012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11331
11332 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11333
123be9de
TS
113342012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11335
d072f3f7
TS
11336 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11337 macro.
11338
123be9de
TS
11339 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11340 (sendmmsg): Move declarations...
11341 * socket/sys/socket.h: ... here.
11342 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11343 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11344 include it from...
11345 * socket/recvmmsg.c: ... this new file.
11346 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11347 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11348 definition of __sendmmsg hidden.
11349 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11350 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11351 Move ENOSYS stub into and include it from...
11352 * socket/sendmmsg.c: ... this new file.
11353 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11354 (sysdep_routines): Move recvmmsg and sendmmsg...
11355 * socket/Makefile (routines): ... here.
11356 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11357 (GLIBC_PRIVATE): Add __sendmmsg.
11358 * include/sys/socket.h (__sendmmsg): Add declarations.
11359 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11360 sendmmsg.
11361
cf9a5d18
JM
113622012-11-20 Joseph Myers <joseph@codesourcery.com>
11363
11364 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11365 variable I1 with __attribute__ ((unused)).
11366 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11367
ecd4caf9
JM
113682012-11-19 Joseph Myers <joseph@codesourcery.com>
11369
be14d48f
JM
11370 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11371 DUMMY variables with __attribute__ ((unused)).
11372
ecd4caf9
JM
11373 * bits/byteswap.h: Include <bits/types.h>.
11374 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11375
986cab95
PT
113762012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11377
11378 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11379 string_t. Do not manually set errno.
11380 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11381 length with __strnlen. Make sure to both set errno and return it on
11382 failure.
11383
6d33cc9d
DM
113842012-11-19 David S. Miller <davem@davemloft.net>
11385
11386 With help from Joseph Myers.
11387 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11388 very large arguments properly.
11389 * math/libm-test.inc (atan_test): New tests.
11390 (atan2_test): New tests.
11391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11393
ee663277
JM
113942012-11-19 Joseph Myers <joseph@codesourcery.com>
11395
877f2d8e
JM
11396 [BZ #14856]
11397 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11398 Define to 3.
11399
116fc08a
JM
11400 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11401 [POSIX] (EADDRNOTAVAIL): Likewise.
11402 [POSIX] (EAFNOSUPPORT): Likewise.
11403 [POSIX] (EALREADY): Likewise.
11404 [POSIX] (ECONNABORTED): Likewise.
11405 [POSIX] (ECONNREFUSED): Likewise.
11406 [POSIX] (ECONNRESET): Likewise.
11407 [POSIX] (EDESTADDRREQ): Likewise.
11408 [POSIX] (EDQUOT): Likewise.
11409 [POSIX] (EHOSTUNREACH): Likewise.
11410 [POSIX] (EIDRM): Likewise.
11411 [POSIX] (EISCONN): Likewise.
11412 [POSIX] (ELOOP): Likewise.
11413 [POSIX] (EMULTIHOP): Likewise.
11414 [POSIX] (ENETDOWN): Likewise.
11415 [POSIX] (ENETUNREACH): Likewise.
11416 [POSIX] (ENOBUFS): Likewise.
11417 [POSIX] (ENODATA): Likewise.
11418 [POSIX] (ENOLINK): Likewise.
11419 [POSIX] (ENOMSG): Likewise.
11420 [POSIX] (ENOPROTOOPT): Likewise.
11421 [POSIX] (ENOSR): Likewise.
11422 [POSIX] (ENOSTR): Likewise.
11423 [POSIX] (ENOTCONN): Likewise.
11424 [POSIX] (ENOTSOCK): Likewise.
11425 [POSIX] (EOPNOTSUPP): Likewise.
11426 [POSIX] (EOVERFLOW): Likewise.
11427 [POSIX] (EPROTO): Likewise.
11428 [POSIX] (EPROTONOSUPPORT): Likewise.
11429 [POSIX] (EPROTOTYPE): Likewise.
11430 [POSIX] (ESTALE): Likewise.
11431 [POSIX] (ETIME): Likewise.
11432 [POSIX] (ETXTBSY): Likewise.
11433 [POSIX] (EWOULDBLOCK): Likewise.
11434 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11435 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11436 [POSIX] (SEEK_CUR): Likewise.
11437 [POSIX] (SEEK_END): Likewise.
11438 [POSIX || UNIX98] (mode_t): Do not require.
11439 [POSIX] (off_t): Likewise.
11440 [POSIX] (pid_t): Likewise.
11441 [POSIX] (sys/stat.h): Do not allow header.
11442 [POSIX] (unistd.h): Likewise.
11443 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11444 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11445 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11446 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11447 require.
11448 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11449 sigevent): Specify elements.
11450 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11451 entry.
11452 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11453 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11454
a483863f
JM
11455 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11456 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11457 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11458 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11459 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11460 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11461 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11462 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11463 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11464 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11465 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11466 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11467 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11468 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11469 Likewise.
11470 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11471 Likewise.
11472 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11473 Likewise.
11474 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11475 Likewise.
11476 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11477 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11478 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11479 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11480 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11481 Specify lower bound on value.
11482 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11483 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11484 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11485 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11486 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11487 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11488 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11489 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11490 value.
11491 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11492 as optional.
11493 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11494 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11495 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11496 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11497 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11498 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11499 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11500 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11501 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11502 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11503 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11504 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11505 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11506 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11507 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11508 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11509 entry.
11510 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11511 optional.
11512 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11513 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11514 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11515 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11516 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11517 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11518 Likewise.
11519 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11520 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11521 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11522 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11523 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11524 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11525 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11526 as optional.
11527 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11528 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11529 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11530 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11531 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11532 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11533 specify as optional.
11534 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11535 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11536 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11537 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11538 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11539 [XPG3] (NL_LANGMAX): Likewise.
11540 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11541 [POSIX || XPG3] (NL_NMAX): Likewise.
11542 [POSIX || XPG3] (NL_SETMAX): Likewise.
11543 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11544 [XPG3] (NZERO): Likewise.
11545 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11546 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11547 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11548 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11549 (REG_ERANGE): Expect.
11550 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11551 optional-constant.
11552 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11553 Use (void) in prototype.
11554 [POSIX] (*_t): Allow.
11555 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11556 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11557 (WRDE_BADVAL): Expect.
11558
5ba924e3
JM
11559 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11560 expect.
11561 [XPG3 || XPG4] (O_RSYNC): Likewise.
11562 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11563 Likewise.
11564 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11565 [XPG3 || XPG4] (sigqueue): Likewise.
11566 [XPG3 || XPG4] (sigtimedwait): Likewise.
11567 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11568 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11569 [XPG3 || XPG4] (vsnprintf): Likewise.
11570 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11571 Likewise.
11572 [XPG3 || XPG4] (blksize_t): Likewise.
11573 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11574 Likewise.
11575 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11576 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11577 [XPG3 || XPG4] (struct itimerspec): Likewise.
11578 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11579 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11580 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11581 [XPG3 || XPG4] (clockid_t): Likewise.
11582 [XPG3 || XPG4] (timer_t): Likewise.
11583 [XPG3 || XPG4] (clock_getres): Likewise.
11584 [XPG3 || XPG4] (clock_gettime): Likewise.
11585 [XPG3 || XPG4] (clock_settime): Likewise.
11586 [XPG3 || XPG4] (nanosleep): Likewise.
11587 [XPG3 || XPG4] (timer_create): Likewise.
11588 [XPG3 || XPG4] (timer_delete): Likewise.
11589 [XPG3 || XPG4] (timer_gettime): Likewise.
11590 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11591 [XPG3 || XPG4] (timer_settime): Likewise.
11592 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11593 [XPG3 || XPG4] (getlogin_r): Likewise.
11594 [XPG3 || XPG4] (pread): Likewise.
11595 [XPG3 || XPG4] (pthread_atfork): Likewise.
11596 [XPG3 || XPG4] (pwrite): Likewise.
11597
ee663277
JM
11598 [BZ #14835]
11599 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11600 <bits/siginfo.h>.
11601
942caa16
PT
116022012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11603
e19af380
PT
11604 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11605 finalizing MALLSTREAM.
11606
942caa16
PT
11607 * sysdeps/mach/hurd/syncfs.c: New file.
11608
cfde9b46
SP
116092012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11610
11611 [BZ #14719]
11612 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11613 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11614 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11615 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11616 (_nss_dns_gethostbyname4_r): Likewise.
11617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11618 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11619
f6da27e5
PH
116202012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11621
11622 [BZ #13763]
11623 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11624
6665d4a2
SM
116252012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11626
1f51ee92
SM
11627 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11628 * elf/cache.c (print_entry): Print ",AArch64" for
11629 FLAG_AARCH64_LIB64
11630
6665d4a2
SM
11631 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11632 * elf/cache.c (print_entry): Print ",hard-float" for
11633 FLAG_ARM_LIBHF.
11634
05b227bd
DM
116352012-11-18 David S. Miller <davem@davemloft.net>
11636
11637 With help from Joseph Myers.
11638 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11639 cutoff to 2**-13.
11640 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11641 cutoff to 2**-25.
11642 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11643 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11644 small.
11645 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11646 * math/libm-test.inc (y0_test): New tests.
11647 (y1_test): New tests.
11648 * sysdeps/i386/fpu/libm-test-ulps: Update.
11649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11651
786b0b67
AS
116522012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11653
11654 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11655 64-bit targets.
11656 * configure: Regenerated.
11657
8e18b86d
DM
116582012-11-17 David S. Miller <davem@davemloft.net>
11659
11660 [BZ #14811]
11661 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11662 nonzero exponents with absolute value below 0x1p-128 to +/-
11663 0x1p-128.
11664
531f1ae0
JM
116652012-11-17 Joseph Myers <joseph@codesourcery.com>
11666
12df29e2
JM
11667 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11668
150dc1a0
JM
11669 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11670
531f1ae0
JM
11671 * posix/getconf-speclist.c: New file.
11672 * posix/posix-envs.def: Likewise.
11673 * posix/confstr.c (START_ENV_GROUP): New macro.
11674 (END_ENV_GROUP): Likewise.
11675 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11676 (KNOWN_PRESENT_ENV_STRING): Likewise.
11677 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11678 (UNKNOWN_ENVIRONMENT): Likewise.
11679 (confstr): Include posix-envs.def instead of handling
11680 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11681 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11682 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11683 (END_ENV_GROUP): Likewise.
11684 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11685 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11686 (UNKNOWN_ENVIRONMENT): Likewise.
11687 (__sysconf): Include posix-envs.def instead of handling associated
11688 cases directly here.
11689 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11690 preprocessing getconf-speclist.c rather than running getconf or
11691 generating empty file.
11692
a93f9cbc
PT
116932012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11694
11695 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11696
d64d9f87
AL
116972012-11-16 Andrej Lajovic <natrij@gmail.com>
11698
11699 [BZ #14672]
11700 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11701
447885eb
DM
117022012-11-16 David S. Miller <davem@davemloft.net>
11703
11704 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11705 smaller than LDBL_EPSILON/2.0L, just return xm1.
11706
bcbf9830
L
117072012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11708
11709 * elf/tst-array1.c (init): Set constructor priority to 1000.
11710 (fini): Set destructor priority to 1000.
11711 * elf/tst-array2dep.c: Likewise.
11712
2b766585
SP
117132012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11714
11715 [BZ #11741]
11716 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11717 (_IO_new_file_xsputn): Also return EOF if none of the input
11718 data was written when overflow failed.
11719 * libio/iopadn.c (_IO_padn): Likewise.
11720 * libio/iowpadn.c (_IO_wpadn): Likewise.
11721 * stdio-common/tst-put-error.c: Add copyright notice.
11722 (do_test): Add case for printing padded string.
11723 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11724 _IO_padn returned error.
11725 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11726 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11727 return EOF.
11728
b1848fde
SP
117292012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11730
11731 * libio/libioP.h: Add comment note that the references to C++
11732 bits are now obsolete.
11733
2fd89785
MS
117342012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11735
11736 * math/libm-test.inc (check_complex): Use asprintf.
11737
e3ea5409
JM
117382012-11-14 Joseph Myers <joseph@codesourcery.com>
11739
11740 * debug/pcprofiledump.c (print_version): Update copyright year.
11741 * malloc/memusagestat.c (print_version): Likewise.
11742
2e64d265
L
117432012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11744
11745 [BZ #14831]
11746 * elf/Makefile (tests): Add tst-audit8.
11747 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11748 ($(objpfx)tst-audit8.out): New target.
11749 (tst-audit8-ENV): New variable.
11750 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11751 audit if l_reloc_result is NULL.
11752 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11753 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11754 * elf/tst-audit8.c: New file.
11755
c485e4d2
MS
117562012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11757
11758 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11759 * misc/Makefile (CFLAGS-select.c): Define.
11760 * posix/Makefile (CFLAGS-pause.c): Define.
11761
3a0d900a
DM
117622012-11-13 David S. Miller <davem@davemloft.net>
11763
11764 * crypt/Makefile: Move test targets after toplevel Rules
11765 inclusion. Grab any necessary sysdep routines when linking.
11766 * crypt/md5.c (md5_process_block): Remove define, we will always
11767 name it __md5_process_block.
11768 (md5_finish_ctx): Update md5_process_block call.
11769 (md5_stream): Likewise.
11770 (md5_process_bytes): Likewise.
11771 (md5_process_block): Rename to __md5_process_block and move to ...
11772 * crypt/md5-block.c: ... here.
11773 * crypt/sha256.c (sha256_process_block): Move to ...
11774 * crypt/sha256-block.c: ... here.
11775 * crypt/sha512.c (sha512_process_block): Move to ...
11776 * crypt/sha512-block.c: ... here.
11777 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11778 path.
11779 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11780 * sysdeps/sparc/sparc64/multiarch/Makefile
11781 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11782 crypt subdir.
11783 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11784 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11785 multiarch changes.
11786 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11787 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11788 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11789 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11790 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11791 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11792 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11793 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11794 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11795 file.
11796 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11797 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11798 file.
11799 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11800
8ca89318
JM
118012012-11-13 Joseph Myers <joseph@codesourcery.com>
11802
e27d476a
JM
11803 * timezone/tzselect.ksh: Update from tzcode git revision
11804 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11805 * timezone/zdump.c: Likewise.
11806 * timezone/zic.c: Likewise.
11807 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11808 in TZVERSION setting, not $(PKGVERSION).
11809 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11810 REPORT_BUGS_TO settings.
11811
8ca89318
JM
11812 [BZ #14838]
11813 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11814 macro.
11815
47594329
MS
118162012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11817
11818 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11819 detection to immediately after _FP_ROUND().
11820 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11821 bits are 0.
11822
640ac3f1
DM
118232012-11-11 David S. Miller <davem@davemloft.net>
11824
11825 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11826 inttypes.h
11827 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11828 __close rather than their public counterparts.
11829
3d2577bb
JM
118302012-11-10 Joseph Myers <joseph@codesourcery.com>
11831
11832 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11833 file.
11834 [UNIX98] (sem_timedwait): Do not expect.
11835 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11836 [XPG4 || UNIX98] (sockatmark): Do not expect.
11837 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11838 (clock_getcpuclockid): Do not expect.
11839 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11840 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11841 Do not expect.
11842 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11843 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11844 [UNIX98] (vwscanf): Likewise.
11845 [UNIX98] (vswscanf): Likewise.
11846
fb1ae1ee
JM
118472012-11-09 Joseph Myers <joseph@codesourcery.com>
11848
9ec6f8bd
JM
11849 * timezone/version.h: Remove file.
11850 * timezone/README: Do not refer to version.h.
11851 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11852 $(objpfx)version.h.
11853 ($(objpfx)zdump.o): Likewise.
c3f81911 11854 ($(objpfx)version.h): New target.
9ec6f8bd 11855
0aa8f8a1
JM
11856 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11857 2012i.
11858 * timezone/README: Don't mention modification to tzselect.ksh.
11859 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11860 work on unmodified tzselect.ksh. Substitute version numbers in
11861 tzselect.ksh.
11862
4e87147f
JM
11863 * Makefile (format-me): Remove.
11864 (INSTALL): Adjust indentation. Use commands directly instead of
11865 using $(format-me).
11866
8b748aed
JM
11867 * aclocal.m4 (ACX_PKGVERSION): New macro.
11868 (ACX_BUGURL): Likewise.
11869 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11870 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11871 (REPORT_BUGS_TO): Likewise.
11872 * configure: Regenerated.
11873 * config.h.in (PKGVERSION): New macro.
11874 (REPORT_BUGS_TO): Likewise.
11875 * config.make.in (PKGVERSION): New variable.
11876 (PKGVERSION_TEXI): Likewise.
11877 (REPORT_BUGS_TO): Likewise.
11878 (REPORT_BUGS_TEXI): Likewise.
11879 * Makefile (format-me): Use -I$(common-objpfx)manual.
11880 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11881 ($(common-objpfx)manual/%): New target.
11882 (manual/%): Remove target.
11883 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11884 (print_version): Use PKGVERSION.
11885 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11886 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11887 and REPORT_BUGS_TO.
11888 ($(objpfx)xtrace): Likewise.
11889 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11890 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11891 (print_version): Use PKGVERSION.
11892 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11893 (do_version): Use PKGVERSION.
11894 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11895 REPORT_BUGS_TO.
11896 (common-ldd-rewrite): Likewise.
11897 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11898 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11899 (print_version): Use PKGVERSION.
11900 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11901 * elf/pldd.c (argp_program_bug_address): Remove variable.
11902 (more_help): New function.
11903 (argp): Use more_help.
11904 (print_version): Use PKGVERSION.
11905 * elf/sln.c (main): Use PKGVERSION.
11906 (usage): Use REPORT_BUGS_TO.
11907 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11908 (top level): Use PKGVERSION.
11909 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11910 (print_version): Use PKGVERSION.
11911 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11912 (print_version): Use PKGVERSION.
11913 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11914 (print_version): Use PKGVERSION.
11915 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11916 (print_version): Use PKGVERSION.
11917 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11918 (print_version): Use PKGVERSION.
11919 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11920 (print_version): Use PKGVERSION.
11921 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11922 and BUGURL.
11923 ($(objpfx)memusage): Likewise.
11924 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11925 (do_version): Use PKGVERSION.
11926 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11927 (print_version): Use PKGVERSION.
11928 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11929 ($PKGVERSION): New variable.
11930 ($REPORT_BUGS_TO): Likewise.
11931 (usage): Use $REPORT_BUGS_TO.
11932 (top level): Use $PKGVERSION.
11933 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11934 ($(objpfx)pkgvers.texi): New rule.
11935 ($(objpfx)stamp-pkgvers): Likewise.
11936 * manual/install.texi: Include pkgvers.texi.
11937 (--with-pkgversion): Document new configure option.
11938 (--with-bugurl): Likewise.
11939 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11940 than necessarily for this particular distribution. Use
11941 REPORT_BUGS_TO for where to report bugs.
11942 * INSTALL: Regenerated.
11943 * manual/libc.texinfo: Include pkgvers.texi.
11944 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11945 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11946 (print_version): Use PKGVERSION.
11947 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11948 (print_version): Use PKGVERSION.
11949 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11950 (print_version): Use PKGVERSION.
11951 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11952 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11953 macro.
11954 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11955 (print_version): Use PKGVERSION.
11956 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11957 (print_version): Use PKGVERSION.
11958 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11959 and PKGVERSION.
11960
92e4b6a9
JM
11961 * timezone/checktab.awk: Update from tzcode 2012i.
11962 * timezone/ialloc.c: Likewise.
11963 * timezone/private.h: Likewise.
11964 * timezone/scheck.c: Likewise.
11965 * timezone/tzfile.h: Likewise.
11966 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11967 (TZVERSION): Hardcode tzcode version number.
11968 * timezone/zdump.c: Update from tzcode 2012i.
11969 * timezone/zic.c: Likewise.
11970 * timezone/version.h: New file.
11971 * timezone/README: Describe version.h. Update upstream location.
11972
9bde902c
JM
11973 [BZ #14824]
11974 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11975 (mktemp): Enable declaration.
11976 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11977 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11978 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11979 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11980 Likewise.
11981 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11982 Likewise.
11983 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11984 Likewise.
11985 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11986 Likewise.
11987 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11988 Likewise.
11989 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11990 Likewise.
11991
fb1ae1ee
JM
11992 [BZ #14821]
11993 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11994 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11995 for copies of such integer values.
11996 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11997 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11998
2c1adbcb
AJ
119992012-11-09 Andreas Jaeger <aj@suse.de>
12000
12001 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12002 definitions and declarations that are provided by
12003 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12004
d0f8457e
AK
120052012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12006
3a235abb 12007 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
12008 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12009 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12010 definition.
12011
57241e26
MS
120122012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12013
12014 * elf/elf.h: Update comment before AArch64 relocations.
12015
60e8270d
DM
120162012-11-07 David S. Miller <davem@davemloft.net>
12017
12018 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12019 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12020 (__start_context): Declare.
12021 (__makecontext_ret): Delete.
12022 (__makecontext): Hook up __start_context instead of
12023 __makecontext_ret.
12024 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12025 (sysdep_routines): Add __start_context when in stdlib.
12026
0fbb0fbc
JM
120272012-11-07 Joseph Myers <joseph@codesourcery.com>
12028
12029 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12030 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12031 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12032 hardcoded "nm".
12033 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12034 (READELF): New variable. Use it instead of hardcoded "readelf".
12035
eb48db7e
L
120362012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12037
12038 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12039 * sysdeps/x86/Makefile: Here.
12040 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12041 * sysdeps/x86/tst-xmmymm.sh: This.
12042
05bcf62a
JM
120432012-11-07 Joseph Myers <joseph@codesourcery.com>
12044
c4b6cf53
JM
12045 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12046 expectations.
12047 [UNIX98] (pthread_barrier_t): Do not expect.
12048 [UNIX98] (pthread_barrierattr_t): Likewise.
12049 [UNIX98] (pthread_spinlock_t): Likewise.
12050 [UNIX98] (pthread_barrier_destroy): Likewise.
12051 [UNIX98] (pthread_barrier_init): Likewise.
12052 [UNIX98] (pthread_barrier_wait): Likewise.
12053 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12054 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12055 [UNIX98] (pthread_barrierattr_init): Likewise.
12056 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12057 [UNIX98] (pthread_getcpuclockid): Likewise.
12058 [UNIX98] (pthread_mutex_timedlock): Likewise.
12059 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12060 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12061 [UNIX98] (pthread_sigmask): Likewise.
12062 [UNIX98] (pthread_spin_destroy): Likewise.
12063 [UNIX98] (pthread_spin_init): Likewise.
12064 [UNIX98] (pthread_spin_lock): Likewise.
12065 [UNIX98] (pthread_spin_trylock): Likewise.
12066 [UNIX98] (pthread_spin_unlock): Likewise.
12067 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12068 Do not expect.
12069 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12070 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12071 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12072 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12073 [XPG3 || XPG4] (pthread_key_t): Likewise.
12074 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12075 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12076 [XPG3 || XPG4] (pthread_once_t): Likewise.
12077 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12078 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12079 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12080 [XPG3 || XPG4] (pthread_t): Likewise.
12081
cbe6e120
JM
12082 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12083 not expect.
12084 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12085
1b126443
JM
12086 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12087 Change function return type to int.
12088
b961a573
JM
12089 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12090 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12091 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12092 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12093 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12094 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12095 [!POSIX] (posix_madvise): Likewise.
12096 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12097 && !UNIX98].
12098 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12099 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12100 (mode_t): Likewise.
12101 (posix_mem_offset): Likewise.
12102 (posix_typed_mem_get_info): Likewise.
12103 (posix_typed_mem_open): Likewise.
12104
9e188909
JM
12105 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12106 Change condition to [XOPEN2K8].
12107
05bcf62a
JM
12108 * conform/conformtest.pl: Preprocess allow-header data with -x c
12109 instead of from stdin.
12110 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12111 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12112 [C99-based standards] (cerfc): Likewise.
12113 [C99-based standards] (cexp2): Likewise.
12114 [C99-based standards] (cexpm1): Likewise.
12115 [C99-based standards] (clog10): Likewise.
12116 [C99-based standards] (clog1p): Likewise.
12117 [C99-based standards] (clog2): Likewise.
12118 [C99-based standards] (clgamma): Likewise.
12119 [C99-based standards] (ctgamma): Likewise.
12120 [C99-based standards] (cerff): Likewise.
12121 [C99-based standards] (cerfcf): Likewise.
12122 [C99-based standards] (cexp2f): Likewise.
12123 [C99-based standards] (cexpm1f): Likewise.
12124 [C99-based standards] (clog10f): Likewise.
12125 [C99-based standards] (clog1pf): Likewise.
12126 [C99-based standards] (clog2f): Likewise.
12127 [C99-based standards] (clgammaf): Likewise.
12128 [C99-based standards] (ctgammaf): Likewise.
12129 [C99-based standards] (cerfl): Likewise.
12130 [C99-based standards] (cerfcl): Likewise.
12131 [C99-based standards] (cexp2l): Likewise.
12132 [C99-based standards] (cexpm1l): Likewise.
12133 [C99-based standards] (clog10l): Likewise.
12134 [C99-based standards] (clog1pl): Likewise.
12135 [C99-based standards] (clog2l): Likewise.
12136 [C99-based standards] (clgammal): Likewise.
12137 [C99-based standards] (ctgammal): Likewise.
12138 * conform/data/inttypes.h-data [C99-based standards]: Include
12139 stdint.h-data. Remove all expectations for stdint.h contents.
12140 [C99-based standards] (PRI*): Do not allow.
12141 [C99-based standards] (SCN*): Likewise.
12142 [C99-based standards] (*_t): Likewise.
12143 [C99-based-standards] (PRId8): Expect macro.
12144 [C99-based-standards] (PRIi8): Likewise.
12145 [C99-based-standards] (PRIo8): Likewise.
12146 [C99-based-standards] (PRIu8): Likewise.
12147 [C99-based-standards] (PRIx8): Likewise.
12148 [C99-based-standards] (PRIX8): Likewise.
12149 [C99-based-standards] (SCNd8): Likewise.
12150 [C99-based-standards] (SCNi8): Likewise.
12151 [C99-based-standards] (SCNo8): Likewise.
12152 [C99-based-standards] (SCNu8): Likewise.
12153 [C99-based-standards] (SCNx8): Likewise.
12154 [C99-based-standards] (PRIdLEAST8): Likewise.
12155 [C99-based-standards] (PRIiLEAST8): Likewise.
12156 [C99-based-standards] (PRIoLEAST8): Likewise.
12157 [C99-based-standards] (PRIuLEAST8): Likewise.
12158 [C99-based-standards] (PRIxLEAST8): Likewise.
12159 [C99-based-standards] (PRIXLEAST8): Likewise.
12160 [C99-based-standards] (SCNdLEAST8): Likewise.
12161 [C99-based-standards] (SCNiLEAST8): Likewise.
12162 [C99-based-standards] (SCNoLEAST8): Likewise.
12163 [C99-based-standards] (SCNuLEAST8): Likewise.
12164 [C99-based-standards] (SCNxLEAST8): Likewise.
12165 [C99-based-standards] (PRIdFAST8): Likewise.
12166 [C99-based-standards] (PRIiFAST8): Likewise.
12167 [C99-based-standards] (PRIoFAST8): Likewise.
12168 [C99-based-standards] (PRIuFAST8): Likewise.
12169 [C99-based-standards] (PRIxFAST8): Likewise.
12170 [C99-based-standards] (PRIXFAST8): Likewise.
12171 [C99-based-standards] (SCNdFAST8): Likewise.
12172 [C99-based-standards] (SCNiFAST8): Likewise.
12173 [C99-based-standards] (SCNoFAST8): Likewise.
12174 [C99-based-standards] (SCNuFAST8): Likewise.
12175 [C99-based-standards] (SCNxFAST8): Likewise.
12176 [C99-based-standards] (PRId16): Likewise.
12177 [C99-based-standards] (PRIi16): Likewise.
12178 [C99-based-standards] (PRIo16): Likewise.
12179 [C99-based-standards] (PRIu16): Likewise.
12180 [C99-based-standards] (PRIx16): Likewise.
12181 [C99-based-standards] (PRIX16): Likewise.
12182 [C99-based-standards] (SCNd16): Likewise.
12183 [C99-based-standards] (SCNi16): Likewise.
12184 [C99-based-standards] (SCNo16): Likewise.
12185 [C99-based-standards] (SCNu16): Likewise.
12186 [C99-based-standards] (SCNx16): Likewise.
12187 [C99-based-standards] (PRIdLEAST16): Likewise.
12188 [C99-based-standards] (PRIiLEAST16): Likewise.
12189 [C99-based-standards] (PRIoLEAST16): Likewise.
12190 [C99-based-standards] (PRIuLEAST16): Likewise.
12191 [C99-based-standards] (PRIxLEAST16): Likewise.
12192 [C99-based-standards] (PRIXLEAST16): Likewise.
12193 [C99-based-standards] (SCNdLEAST16): Likewise.
12194 [C99-based-standards] (SCNiLEAST16): Likewise.
12195 [C99-based-standards] (SCNoLEAST16): Likewise.
12196 [C99-based-standards] (SCNuLEAST16): Likewise.
12197 [C99-based-standards] (SCNxLEAST16): Likewise.
12198 [C99-based-standards] (PRIdFAST16): Likewise.
12199 [C99-based-standards] (PRIiFAST16): Likewise.
12200 [C99-based-standards] (PRIoFAST16): Likewise.
12201 [C99-based-standards] (PRIuFAST16): Likewise.
12202 [C99-based-standards] (PRIxFAST16): Likewise.
12203 [C99-based-standards] (PRIXFAST16): Likewise.
12204 [C99-based-standards] (SCNdFAST16): Likewise.
12205 [C99-based-standards] (SCNiFAST16): Likewise.
12206 [C99-based-standards] (SCNoFAST16): Likewise.
12207 [C99-based-standards] (SCNuFAST16): Likewise.
12208 [C99-based-standards] (SCNxFAST16): Likewise.
12209 [C99-based-standards] (PRId32): Likewise.
12210 [C99-based-standards] (PRIi32): Likewise.
12211 [C99-based-standards] (PRIo32): Likewise.
12212 [C99-based-standards] (PRIu32): Likewise.
12213 [C99-based-standards] (PRIx32): Likewise.
12214 [C99-based-standards] (PRIX32): Likewise.
12215 [C99-based-standards] (SCNd32): Likewise.
12216 [C99-based-standards] (SCNi32): Likewise.
12217 [C99-based-standards] (SCNo32): Likewise.
12218 [C99-based-standards] (SCNu32): Likewise.
12219 [C99-based-standards] (SCNx32): Likewise.
12220 [C99-based-standards] (PRIdLEAST32): Likewise.
12221 [C99-based-standards] (PRIiLEAST32): Likewise.
12222 [C99-based-standards] (PRIoLEAST32): Likewise.
12223 [C99-based-standards] (PRIuLEAST32): Likewise.
12224 [C99-based-standards] (PRIxLEAST32): Likewise.
12225 [C99-based-standards] (PRIXLEAST32): Likewise.
12226 [C99-based-standards] (SCNdLEAST32): Likewise.
12227 [C99-based-standards] (SCNiLEAST32): Likewise.
12228 [C99-based-standards] (SCNoLEAST32): Likewise.
12229 [C99-based-standards] (SCNuLEAST32): Likewise.
12230 [C99-based-standards] (SCNxLEAST32): Likewise.
12231 [C99-based-standards] (PRIdFAST32): Likewise.
12232 [C99-based-standards] (PRIiFAST32): Likewise.
12233 [C99-based-standards] (PRIoFAST32): Likewise.
12234 [C99-based-standards] (PRIuFAST32): Likewise.
12235 [C99-based-standards] (PRIxFAST32): Likewise.
12236 [C99-based-standards] (PRIXFAST32): Likewise.
12237 [C99-based-standards] (SCNdFAST32): Likewise.
12238 [C99-based-standards] (SCNiFAST32): Likewise.
12239 [C99-based-standards] (SCNoFAST32): Likewise.
12240 [C99-based-standards] (SCNuFAST32): Likewise.
12241 [C99-based-standards] (SCNxFAST32): Likewise.
12242 [C99-based-standards] (PRId64): Likewise.
12243 [C99-based-standards] (PRIi64): Likewise.
12244 [C99-based-standards] (PRIo64): Likewise.
12245 [C99-based-standards] (PRIu64): Likewise.
12246 [C99-based-standards] (PRIx64): Likewise.
12247 [C99-based-standards] (PRIX64): Likewise.
12248 [C99-based-standards] (SCNd64): Likewise.
12249 [C99-based-standards] (SCNi64): Likewise.
12250 [C99-based-standards] (SCNo64): Likewise.
12251 [C99-based-standards] (SCNu64): Likewise.
12252 [C99-based-standards] (SCNx64): Likewise.
12253 [C99-based-standards] (PRIdLEAST64): Likewise.
12254 [C99-based-standards] (PRIiLEAST64): Likewise.
12255 [C99-based-standards] (PRIoLEAST64): Likewise.
12256 [C99-based-standards] (PRIuLEAST64): Likewise.
12257 [C99-based-standards] (PRIxLEAST64): Likewise.
12258 [C99-based-standards] (PRIXLEAST64): Likewise.
12259 [C99-based-standards] (SCNdLEAST64): Likewise.
12260 [C99-based-standards] (SCNiLEAST64): Likewise.
12261 [C99-based-standards] (SCNoLEAST64): Likewise.
12262 [C99-based-standards] (SCNuLEAST64): Likewise.
12263 [C99-based-standards] (SCNxLEAST64): Likewise.
12264 [C99-based-standards] (PRIdFAST64): Likewise.
12265 [C99-based-standards] (PRIiFAST64): Likewise.
12266 [C99-based-standards] (PRIoFAST64): Likewise.
12267 [C99-based-standards] (PRIuFAST64): Likewise.
12268 [C99-based-standards] (PRIxFAST64): Likewise.
12269 [C99-based-standards] (PRIXFAST64): Likewise.
12270 [C99-based-standards] (SCNdFAST64): Likewise.
12271 [C99-based-standards] (SCNiFAST64): Likewise.
12272 [C99-based-standards] (SCNoFAST64): Likewise.
12273 [C99-based-standards] (SCNuFAST64): Likewise.
12274 [C99-based-standards] (SCNxFAST64): Likewise.
12275 [C99-based-standards] (PRIdMAX): Likewise.
12276 [C99-based-standards] (PRIiMAX): Likewise.
12277 [C99-based-standards] (PRIoMAX): Likewise.
12278 [C99-based-standards] (PRIuMAX): Likewise.
12279 [C99-based-standards] (PRIxMAX): Likewise.
12280 [C99-based-standards] (PRIXMAX): Likewise.
12281 [C99-based-standards] (SCNdMAX): Likewise.
12282 [C99-based-standards] (SCNiMAX): Likewise.
12283 [C99-based-standards] (SCNoMAX): Likewise.
12284 [C99-based-standards] (SCNuMAX): Likewise.
12285 [C99-based-standards] (SCNxMAX): Likewise.
12286 [C99-based-standards] (PRIdPTR): Likewise.
12287 [C99-based-standards] (PRIiPTR): Likewise.
12288 [C99-based-standards] (PRIoPTR): Likewise.
12289 [C99-based-standards] (PRIuPTR): Likewise.
12290 [C99-based-standards] (PRIxPTR): Likewise.
12291 [C99-based-standards] (PRIXPTR): Likewise.
12292 [C99-based-standards] (SCNdPTR): Likewise.
12293 [C99-based-standards] (SCNiPTR): Likewise.
12294 [C99-based-standards] (SCNoPTR): Likewise.
12295 [C99-based-standards] (SCNuPTR): Likewise.
12296 [C99-based-standards] (SCNxPTR): Likewise.
12297 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12298 allow.
12299 * conform/data/stdint.h-data: Update comments to clarify
12300 requirements.
12301 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12302 type.
12303 [C99-based standards] (INT8_MAX): Likewise.
12304 [C99-based standards] (INT16_MIN): Likewise.
12305 [C99-based standards] (INT16_MAX): Likewise.
12306 [C99-based standards] (INT32_MIN): Likewise.
12307 [C99-based standards] (INT32_MAX): Likewise.
12308 [C99-based standards] (INT64_MIN): Likewise.
12309 [C99-based standards] (INT64_MAX): Likewise.
12310 [C99-based standards] (UINT8_MAX): Likewise.
12311 [C99-based standards] (UINT16_MAX): Likewise.
12312 [C99-based standards] (UINT32_MAX): Likewise.
12313 [C99-based standards] (UINT64_MAX): Likewise.
12314 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12315 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12316 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12317 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12318 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12319 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12320 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12321 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12322 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12323 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12324 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12325 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12326 [C99-based standards] (INT_FAST8_MIN): Likewise.
12327 [C99-based standards] (INT_FAST8_MAX): Likewise.
12328 [C99-based standards] (INT_FAST16_MIN): Likewise.
12329 [C99-based standards] (INT_FAST16_MAX): Likewise.
12330 [C99-based standards] (INT_FAST32_MIN): Likewise.
12331 [C99-based standards] (INT_FAST32_MAX): Likewise.
12332 [C99-based standards] (INT_FAST64_MIN): Likewise.
12333 [C99-based standards] (INT_FAST64_MAX): Likewise.
12334 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12335 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12336 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12337 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12338 [C99-based standards] (INTPTR_MIN): Likewise.
12339 [C99-based standards] (INTPTR_MAX): Likewise.
12340 [C99-based standards] (UINTPTR_MAX): Likewise.
12341 [C99-based standards] (INTMAX_MIN): Likewise.
12342 [C99-based standards] (INTMAX_MAX): Likewise.
12343 [C99-based standards] (UINTMAX_MAX): Likewise.
12344 [C99-based standards] (PTRDIFF_MIN): Likewise.
12345 [C99-based standards] (PTRDIFF_MAX): Likewise.
12346 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12347 [C99-based standards] (SIZE_MAX): Likewise.
12348 [C99-based standards] (WCHAR_MAX): Likewise.
12349 [C99-based standards] (WINT_MAX): Likewise.
12350 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12351 constraint on value.
12352 [C99-based standards] (WCHAR_MIN): Likewise.
12353 [C99-based standards] (WINT_MIN): Likewise.
12354 [C99-based standards] (*_t): Allow.
12355 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12356 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12357 Include math.h-data and complex.h-data. Remove all expectations
12358 of math.h and complex.h contents.
12359 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12360 at end of line.
12361 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12362 (struct tm): Expect tag.
12363 [C99-based-standards] (wcstof): Expect function.
12364 [C99-based-standards] (wcstold): Likewise.
12365 [C99-based-standards] (wcstoll): Likewise.
12366 [C99-based-standards] (wcstoull): Likewise.
12367 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12368 macro-int-constant. Specify type.
12369 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12370 constraint on value.
12371 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12372 Specify type.
12373 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12374 Specify value.
12375 [ISO C standards]: Do not allow headers.
12376 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12377 wcs[abcdefghijklmnopqrstuvwxyz]*.
12378 [ISO C standards] (*_t): Do not allow.
12379 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12380 Expect function.
12381 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12382 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12383 Specify type.
12384 [ISO C standards]: Do not allow headers.
12385 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12386 is[abcdefghijklmnopqrstuvwxyz]*.
12387 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12388 to[abcdefghijklmnopqrstuvwxyz]*.
12389 [ISO C standards] (*_t): Do not allow.
12390 * conform/data/stdalign.h-data: New file.
12391 * conform/data/stdbool.h-data: Likewise.
12392 * conform/data/stdnoreturn.h-data: Likewise.
12393
7514feb8
RM
123942012-11-07 Roland McGrath <roland@hack.frob.com>
12395
12396 [BZ #14815]
12397 * manual/filesys.texi (Directory Entries): Typo fix.
12398 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12399
19b2ecfc
MS
124002012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12401
12402 * elf/elf.h (EM_AARCH64): New macro.
12403 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12404 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12405 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12406 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12407 (R_AARCH64_TLSDESC): Likewise.
12408 (NT_ARM_TLS): Likewise.
12409 (NT_ARM_HW_BREAK): Likewise.
12410 (NT_ARM_HW_WATCH): Likewise.
12411
60e235ee
JM
124122012-11-07 Joseph Myers <joseph@codesourcery.com>
12413
12414 [BZ #14811]
12415 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12416 (__ieee754_powl): Saturate nonzero exponents with absolute value
12417 below 0x1p-79 to +/- 0x1p-79.
12418 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12419 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12420 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12421 nonzero exponents with absolute value below 0x1p-32 to +/-
12422 0x1p-32.
12423 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12424 (__ieee754_powl): Saturate nonzero exponents with absolute value
12425 below 0x1p-79 to +/- 0x1p-79.
12426 * math/libm-test.inc (pow_test): Add more tests.
12427
0ab234b7
AK
124282012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12429
12430 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12431 _dl_s390_cap_flags with kernel. Increase string length.
12432 (_dl_s390_platforms): Add z196 and zEC12.
12433
45832f74
JM
124342012-11-07 Joseph Myers <joseph@codesourcery.com>
12435
12436 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12437 Change XOPEN21K to XOPEN2K.
12438
19218757
MK
124392012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12440
12441 * string/memmove.c: Use memcpy when possible.
12442
c5f45721
AJ
124432012-11-06 Andreas Jaeger <aj@suse.de>
12444
12445 * po/eo.po: Update from translation team.
12446
82477c28
JM
124472012-11-06 Joseph Myers <joseph@codesourcery.com>
12448
12449 [BZ #14793]
12450 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12451 exponent and small x and y exponents, scale x or y up. Increase
12452 by 2 the exponent used in scaling up.
12453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12454 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12455 * math/libm-test.inc (fma_test): Add more tests.
12456 (fma_test_towardzero): Likewise.
12457 (fma_test_downward): Likewise.
12458 (fma_test_upward): Likewise.
12459
99252c8c
JM
124602012-11-05 Joseph Myers <joseph@codesourcery.com>
12461
acfa885f
JM
12462 [BZ #14805]
12463 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12464 fenv_t *.
12465
99252c8c
JM
12466 [BZ #14801]
12467 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12468 namespace for names of struct fields.
12469 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12470 fenv_t fields.
12471 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12472 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12473
d6d98dea
ST
124742012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12475
12476 [BZ #3665]
12477 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12478
e10bb107
TS
124792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12480
12481 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12482 PTR_DEMANGLE.
12483
12484 [BZ #5246]
12485 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12486 PTR_DEMANGLE.
12487
a0c2940d
JM
124882012-11-04 Joseph Myers <joseph@codesourcery.com>
12489
12490 [BZ #14797]
12491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12492 definitely overflow as x * y not x * y + z.
12493 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12494 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12495 * math/libm-test.inc (fma_test): Add more tests.
12496 (fma_test_towardzero): Likewise.
12497 (fma_test_downward): Likewise.
12498 (fma_test_upward): Likewise.
12499
b830319d
TS
125002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12501
12502 [BZ #157]
12503
12504 * include/stub-tag.h: Remove file.
12505 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12506 '#include' of it.
12507 * manual/maint.texi (Porting): Don't reference it.
12508 * Makerules ($(objpfx)stubs): Likewise.
12509 * dirent/closedir.c: Don't include <stub-tag.h>.
12510 * dirent/dirfd.c: Likewise.
12511 * dirent/fdopendir.c: Likewise.
12512 * dirent/getdents.c: Likewise.
12513 * dirent/getdents64.c: Likewise.
12514 * dirent/opendir.c: Likewise.
12515 * dirent/readdir.c: Likewise.
12516 * dirent/readdir64.c: Likewise.
12517 * dirent/readdir64_r.c: Likewise.
12518 * dirent/readdir_r.c: Likewise.
12519 * dirent/rewinddir.c: Likewise.
12520 * dirent/seekdir.c: Likewise.
12521 * dirent/telldir.c: Likewise.
12522 * gmon/profil.c: Likewise.
12523 * grp/setgroups.c: Likewise.
12524 * inet/if_index.c: Likewise.
12525 * io/access.c: Likewise.
12526 * io/chdir.c: Likewise.
12527 * io/chmod.c: Likewise.
12528 * io/chown.c: Likewise.
12529 * io/close.c: Likewise.
12530 * io/dup.c: Likewise.
12531 * io/dup2.c: Likewise.
12532 * io/dup3.c: Likewise.
12533 * io/euidaccess.c: Likewise.
12534 * io/faccessat.c: Likewise.
12535 * io/fchdir.c: Likewise.
12536 * io/fchmod.c: Likewise.
12537 * io/fchmodat.c: Likewise.
12538 * io/fchown.c: Likewise.
12539 * io/fchownat.c: Likewise.
12540 * io/fcntl.c: Likewise.
12541 * io/flock.c: Likewise.
12542 * io/fstatfs.c: Likewise.
12543 * io/fstatfs64.c: Likewise.
12544 * io/fstatvfs.c: Likewise.
12545 * io/fstatvfs64.c: Likewise.
12546 * io/futimens.c: Likewise.
12547 * io/fxstat.c: Likewise.
12548 * io/fxstat64.c: Likewise.
12549 * io/fxstatat.c: Likewise.
12550 * io/fxstatat64.c: Likewise.
12551 * io/getcwd.c: Likewise.
12552 * io/isatty.c: Likewise.
12553 * io/lchmod.c: Likewise.
12554 * io/lchown.c: Likewise.
12555 * io/link.c: Likewise.
12556 * io/linkat.c: Likewise.
12557 * io/lseek.c: Likewise.
12558 * io/lseek64.c: Likewise.
12559 * io/lxstat64.c: Likewise.
12560 * io/mkdir.c: Likewise.
12561 * io/mkdirat.c: Likewise.
12562 * io/mkfifo.c: Likewise.
12563 * io/mkfifoat.c: Likewise.
12564 * io/open.c: Likewise.
12565 * io/open64.c: Likewise.
12566 * io/openat.c: Likewise.
12567 * io/openat64.c: Likewise.
12568 * io/pipe.c: Likewise.
12569 * io/pipe2.c: Likewise.
12570 * io/poll.c: Likewise.
12571 * io/posix_fadvise.c: Likewise.
12572 * io/posix_fadvise64.c: Likewise.
12573 * io/posix_fallocate.c: Likewise.
12574 * io/posix_fallocate64.c: Likewise.
12575 * io/read.c: Likewise.
12576 * io/readlink.c: Likewise.
12577 * io/readlinkat.c: Likewise.
12578 * io/rmdir.c: Likewise.
12579 * io/sendfile.c: Likewise.
12580 * io/sendfile64.c: Likewise.
12581 * io/statfs.c: Likewise.
12582 * io/statfs64.c: Likewise.
12583 * io/statvfs.c: Likewise.
12584 * io/statvfs64.c: Likewise.
12585 * io/symlink.c: Likewise.
12586 * io/symlinkat.c: Likewise.
12587 * io/ttyname.c: Likewise.
12588 * io/ttyname_r.c: Likewise.
12589 * io/umask.c: Likewise.
12590 * io/unlink.c: Likewise.
12591 * io/unlinkat.c: Likewise.
12592 * io/utime.c: Likewise.
12593 * io/utimensat.c: Likewise.
12594 * io/write.c: Likewise.
12595 * io/xmknod.c: Likewise.
12596 * io/xmknodat.c: Likewise.
12597 * io/xstat.c: Likewise.
12598 * io/xstat64.c: Likewise.
12599 * login/getpt.c: Likewise.
12600 * login/grantpt.c: Likewise.
12601 * login/unlockpt.c: Likewise.
12602 * math/e_acoshl.c: Likewise.
12603 * math/e_acosl.c: Likewise.
12604 * math/e_asinl.c: Likewise.
12605 * math/e_atan2l.c: Likewise.
12606 * math/e_atanhl.c: Likewise.
12607 * math/e_coshl.c: Likewise.
12608 * math/e_expl.c: Likewise.
12609 * math/e_fmodl.c: Likewise.
12610 * math/e_gammal_r.c: Likewise.
12611 * math/e_hypotl.c: Likewise.
12612 * math/e_j0l.c: Likewise.
12613 * math/e_j1l.c: Likewise.
12614 * math/e_jnl.c: Likewise.
12615 * math/e_lgammal_r.c: Likewise.
12616 * math/e_log10l.c: Likewise.
12617 * math/e_log2l.c: Likewise.
12618 * math/e_logl.c: Likewise.
12619 * math/e_powl.c: Likewise.
12620 * math/e_rem_pio2l.c: Likewise.
12621 * math/e_sinhl.c: Likewise.
12622 * math/e_sqrtl.c: Likewise.
12623 * math/fclrexcpt.c: Likewise.
12624 * math/fedisblxcpt.c: Likewise.
12625 * math/feenablxcpt.c: Likewise.
12626 * math/fegetenv.c: Likewise.
12627 * math/fegetexcept.c: Likewise.
12628 * math/fegetround.c: Likewise.
12629 * math/feholdexcpt.c: Likewise.
12630 * math/fesetenv.c: Likewise.
12631 * math/fesetround.c: Likewise.
12632 * math/feupdateenv.c: Likewise.
12633 * math/fgetexcptflg.c: Likewise.
12634 * math/fraiseexcpt.c: Likewise.
12635 * math/fsetexcptflg.c: Likewise.
12636 * math/ftestexcept.c: Likewise.
12637 * math/k_cosl.c: Likewise.
12638 * math/k_rem_pio2l.c: Likewise.
12639 * math/k_sinl.c: Likewise.
12640 * math/k_tanl.c: Likewise.
12641 * math/s_asinhl.c: Likewise.
12642 * math/s_atanl.c: Likewise.
12643 * math/s_cbrtl.c: Likewise.
12644 * math/s_erfl.c: Likewise.
12645 * math/s_expm1l.c: Likewise.
12646 * math/s_log1pl.c: Likewise.
12647 * math/s_tanhl.c: Likewise.
12648 * misc/acct.c: Likewise.
12649 * misc/brk.c: Likewise.
12650 * misc/chflags.c: Likewise.
12651 * misc/chroot.c: Likewise.
12652 * misc/fchflags.c: Likewise.
12653 * misc/fgetxattr.c: Likewise.
12654 * misc/flistxattr.c: Likewise.
12655 * misc/fremovexattr.c: Likewise.
12656 * misc/fsetxattr.c: Likewise.
12657 * misc/fsync.c: Likewise.
12658 * misc/ftruncate.c: Likewise.
12659 * misc/futimes.c: Likewise.
12660 * misc/futimesat.c: Likewise.
12661 * misc/getdomain.c: Likewise.
12662 * misc/getdtsz.c: Likewise.
12663 * misc/gethostid.c: Likewise.
12664 * misc/gethostname.c: Likewise.
12665 * misc/getloadavg.c: Likewise.
12666 * misc/getpagesize.c: Likewise.
12667 * misc/getsysstats.c: Likewise.
12668 * misc/getxattr.c: Likewise.
12669 * misc/gtty.c: Likewise.
12670 * misc/ioctl.c: Likewise.
12671 * misc/lgetxattr.c: Likewise.
12672 * misc/listxattr.c: Likewise.
12673 * misc/llistxattr.c: Likewise.
12674 * misc/lremovexattr.c: Likewise.
12675 * misc/lsetxattr.c: Likewise.
12676 * misc/lutimes.c: Likewise.
12677 * misc/madvise.c: Likewise.
12678 * misc/mincore.c: Likewise.
12679 * misc/mlock.c: Likewise.
12680 * misc/mlockall.c: Likewise.
12681 * misc/mmap.c: Likewise.
12682 * misc/mprotect.c: Likewise.
12683 * misc/msync.c: Likewise.
12684 * misc/munlock.c: Likewise.
12685 * misc/munlockall.c: Likewise.
12686 * misc/munmap.c: Likewise.
12687 * misc/preadv.c: Likewise.
12688 * misc/preadv64.c: Likewise.
12689 * misc/ptrace.c: Likewise.
12690 * misc/pwritev.c: Likewise.
12691 * misc/pwritev64.c: Likewise.
12692 * misc/readv.c: Likewise.
12693 * misc/reboot.c: Likewise.
12694 * misc/remap_file_pages.c: Likewise.
12695 * misc/removexattr.c: Likewise.
12696 * misc/revoke.c: Likewise.
12697 * misc/select.c: Likewise.
12698 * misc/setdomain.c: Likewise.
12699 * misc/setegid.c: Likewise.
12700 * misc/seteuid.c: Likewise.
12701 * misc/sethostid.c: Likewise.
12702 * misc/sethostname.c: Likewise.
12703 * misc/setregid.c: Likewise.
12704 * misc/setreuid.c: Likewise.
12705 * misc/setxattr.c: Likewise.
12706 * misc/sstk.c: Likewise.
12707 * misc/stty.c: Likewise.
12708 * misc/swapoff.c: Likewise.
12709 * misc/swapon.c: Likewise.
12710 * misc/sync.c: Likewise.
12711 * misc/syncfs.c: Likewise.
12712 * misc/syscall.c: Likewise.
12713 * misc/truncate.c: Likewise.
12714 * misc/ualarm.c: Likewise.
12715 * misc/usleep.c: Likewise.
12716 * misc/ustat.c: Likewise.
12717 * misc/utimes.c: Likewise.
12718 * misc/vhangup.c: Likewise.
12719 * misc/writev.c: Likewise.
12720 * posix/_exit.c: Likewise.
12721 * posix/alarm.c: Likewise.
12722 * posix/execve.c: Likewise.
12723 * posix/fexecve.c: Likewise.
12724 * posix/fork.c: Likewise.
12725 * posix/fpathconf.c: Likewise.
12726 * posix/getaddrinfo.c: Likewise.
12727 * posix/getegid.c: Likewise.
12728 * posix/geteuid.c: Likewise.
12729 * posix/getgid.c: Likewise.
12730 * posix/getgroups.c: Likewise.
12731 * posix/getlogin.c: Likewise.
12732 * posix/getlogin_r.c: Likewise.
12733 * posix/getpgid.c: Likewise.
12734 * posix/getpid.c: Likewise.
12735 * posix/getppid.c: Likewise.
12736 * posix/getresgid.c: Likewise.
12737 * posix/getresuid.c: Likewise.
12738 * posix/getsid.c: Likewise.
12739 * posix/getuid.c: Likewise.
12740 * posix/glob64.c: Likewise.
12741 * posix/nanosleep.c: Likewise.
12742 * posix/pathconf.c: Likewise.
12743 * posix/pause.c: Likewise.
12744 * posix/posix_madvise.c: Likewise.
12745 * posix/pread.c: Likewise.
12746 * posix/pread64.c: Likewise.
12747 * posix/pwrite.c: Likewise.
12748 * posix/pwrite64.c: Likewise.
12749 * posix/sched_getaffinity.c: Likewise.
12750 * posix/sched_getp.c: Likewise.
12751 * posix/sched_gets.c: Likewise.
12752 * posix/sched_primax.c: Likewise.
12753 * posix/sched_primin.c: Likewise.
12754 * posix/sched_rr_gi.c: Likewise.
12755 * posix/sched_setaffinity.c: Likewise.
12756 * posix/sched_setp.c: Likewise.
12757 * posix/sched_sets.c: Likewise.
12758 * posix/sched_yield.c: Likewise.
12759 * posix/setgid.c: Likewise.
12760 * posix/setlogin.c: Likewise.
12761 * posix/setpgid.c: Likewise.
12762 * posix/setresgid.c: Likewise.
12763 * posix/setresuid.c: Likewise.
12764 * posix/setsid.c: Likewise.
12765 * posix/setuid.c: Likewise.
12766 * posix/sleep.c: Likewise.
12767 * posix/spawni.c: Likewise.
12768 * posix/sysconf.c: Likewise.
12769 * posix/times.c: Likewise.
12770 * posix/wait.c: Likewise.
12771 * posix/wait3.c: Likewise.
12772 * posix/wait4.c: Likewise.
12773 * posix/waitpid.c: Likewise.
12774 * resolv/gai_sigqueue.c: Likewise.
12775 * resource/getpriority.c: Likewise.
12776 * resource/getrlimit.c: Likewise.
12777 * resource/getrusage.c: Likewise.
12778 * resource/nice.c: Likewise.
12779 * resource/setpriority.c: Likewise.
12780 * resource/setrlimit.c: Likewise.
12781 * resource/ulimit.c: Likewise.
12782 * rt/aio_cancel.c: Likewise.
12783 * rt/aio_fsync.c: Likewise.
12784 * rt/aio_read.c: Likewise.
12785 * rt/aio_sigqueue.c: Likewise.
12786 * rt/aio_suspend.c: Likewise.
12787 * rt/aio_write.c: Likewise.
12788 * rt/clock_getres.c: Likewise.
12789 * rt/clock_gettime.c: Likewise.
12790 * rt/clock_nanosleep.c: Likewise.
12791 * rt/clock_settime.c: Likewise.
12792 * rt/lio_listio.c: Likewise.
12793 * rt/mq_close.c: Likewise.
12794 * rt/mq_getattr.c: Likewise.
12795 * rt/mq_notify.c: Likewise.
12796 * rt/mq_open.c: Likewise.
12797 * rt/mq_receive.c: Likewise.
12798 * rt/mq_send.c: Likewise.
12799 * rt/mq_setattr.c: Likewise.
12800 * rt/mq_timedreceive.c: Likewise.
12801 * rt/mq_timedsend.c: Likewise.
12802 * rt/mq_unlink.c: Likewise.
12803 * rt/shm_open.c: Likewise.
12804 * rt/shm_unlink.c: Likewise.
12805 * rt/timer_create.c: Likewise.
12806 * rt/timer_delete.c: Likewise.
12807 * rt/timer_getoverr.c: Likewise.
12808 * rt/timer_gettime.c: Likewise.
12809 * rt/timer_settime.c: Likewise.
12810 * setjmp/__longjmp.c: Likewise.
12811 * setjmp/setjmp.c: Likewise.
12812 * signal/kill.c: Likewise.
12813 * signal/killpg.c: Likewise.
12814 * signal/raise.c: Likewise.
12815 * signal/sigaction.c: Likewise.
12816 * signal/sigaltstack.c: Likewise.
12817 * signal/sigblock.c: Likewise.
12818 * signal/sigignore.c: Likewise.
12819 * signal/sigintr.c: Likewise.
12820 * signal/signal.c: Likewise.
12821 * signal/sigpause.c: Likewise.
12822 * signal/sigpending.c: Likewise.
12823 * signal/sigqueue.c: Likewise.
12824 * signal/sigreturn.c: Likewise.
12825 * signal/sigset.c: Likewise.
12826 * signal/sigsetmask.c: Likewise.
12827 * signal/sigstack.c: Likewise.
12828 * signal/sigsuspend.c: Likewise.
12829 * signal/sigtimedwait.c: Likewise.
12830 * signal/sigvec.c: Likewise.
12831 * signal/sigwait.c: Likewise.
12832 * signal/sigwaitinfo.c: Likewise.
12833 * signal/sysv_signal.c: Likewise.
12834 * socket/accept.c: Likewise.
12835 * socket/accept4.c: Likewise.
12836 * socket/bind.c: Likewise.
12837 * socket/connect.c: Likewise.
12838 * socket/getpeername.c: Likewise.
12839 * socket/getsockname.c: Likewise.
12840 * socket/getsockopt.c: Likewise.
12841 * socket/isfdtype.c: Likewise.
12842 * socket/listen.c: Likewise.
12843 * socket/recv.c: Likewise.
12844 * socket/recvfrom.c: Likewise.
12845 * socket/recvmsg.c: Likewise.
12846 * socket/send.c: Likewise.
12847 * socket/sendmsg.c: Likewise.
12848 * socket/sendto.c: Likewise.
12849 * socket/setsockopt.c: Likewise.
12850 * socket/shutdown.c: Likewise.
12851 * socket/sockatmark.c: Likewise.
12852 * socket/socket.c: Likewise.
12853 * socket/socketpair.c: Likewise.
12854 * stdio-common/ctermid.c: Likewise.
12855 * stdio-common/cuserid.c: Likewise.
12856 * stdio-common/remove.c: Likewise.
12857 * stdio-common/rename.c: Likewise.
12858 * stdio-common/renameat.c: Likewise.
12859 * stdio-common/tempname.c: Likewise.
12860 * stdlib/getcontext.c: Likewise.
12861 * stdlib/makecontext.c: Likewise.
12862 * stdlib/setcontext.c: Likewise.
12863 * stdlib/swapcontext.c: Likewise.
12864 * stdlib/system.c: Likewise.
12865 * streams/fattach.c: Likewise.
12866 * streams/fdetach.c: Likewise.
12867 * streams/getmsg.c: Likewise.
12868 * streams/getpmsg.c: Likewise.
12869 * streams/putmsg.c: Likewise.
12870 * streams/putpmsg.c: Likewise.
12871 * sysdeps/unix/bsd/getpt.c: Likewise.
12872 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12873 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12874 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12876 Likewise.
12877 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12878 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12879 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12880 * sysvipc/msgctl.c: Likewise.
12881 * sysvipc/msgget.c: Likewise.
12882 * sysvipc/msgrcv.c: Likewise.
12883 * sysvipc/msgsnd.c: Likewise.
12884 * sysvipc/semctl.c: Likewise.
12885 * sysvipc/semget.c: Likewise.
12886 * sysvipc/semop.c: Likewise.
12887 * sysvipc/semtimedop.c: Likewise.
12888 * sysvipc/shmat.c: Likewise.
12889 * sysvipc/shmctl.c: Likewise.
12890 * sysvipc/shmdt.c: Likewise.
12891 * sysvipc/shmget.c: Likewise.
12892 * termios/tcdrain.c: Likewise.
12893 * termios/tcflow.c: Likewise.
12894 * termios/tcflush.c: Likewise.
12895 * termios/tcgetattr.c: Likewise.
12896 * termios/tcgetpgrp.c: Likewise.
12897 * termios/tcsendbrk.c: Likewise.
12898 * termios/tcsetattr.c: Likewise.
12899 * termios/tcsetpgrp.c: Likewise.
12900 * time/adjtime.c: Likewise.
12901 * time/clock.c: Likewise.
12902 * time/getitimer.c: Likewise.
12903 * time/gettimeofday.c: Likewise.
12904 * time/setitimer.c: Likewise.
12905 * time/settimeofday.c: Likewise.
12906 * time/stime.c: Likewise.
12907 * time/time.c: Likewise.
12908
129092012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12910
a20492cf
PT
12911 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12912 /usr/old/bin.
12913
72e182e3
PT
12914 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12915 instead of spaces.
12916 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12917
fbeafede
JM
129182012-11-03 Joseph Myers <joseph@codesourcery.com>
12919
5b5b04d6
JM
12920 [BZ #14796]
12921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12922 FE_TONEAREST before applying Dekker multiplication and Knuth
12923 addition. Clear inexact exceptions and check for exact zero
12924 results afterwards.
12925 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12926 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12927 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12928 * math/libm-test.inc (fma_test): Add more tests.
12929 (fma_test_towardzero): Likewise.
12930 (fma_test_downward): Likewise.
12931 (fma_test_upward): Likewise.
12932 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12933 function.
12934 (libc_fesetround): New macro.
12935 (libc_fesetroundf): Likewise.
12936 (libc_fesetroundl): Likewise.
12937 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12938 function.
12939 (libc_fesetround_387): Likewise.
12940 (libc_fesetroundf): New macro.
12941 (libc_fesetround): Likewise.
12942 (libc_fesetroundl): Likewise.
12943 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12944 function.
12945 (libc_fesetroundf): New macro.
12946 (libc_fesetround): Likewise.
12947 (libc_fesetroundl): Likewise.
12948 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12949 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12950 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12951 libm_hidden_ver.
12952 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12953 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12954 libm_hidden_def.
12955 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12956 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12957 libm_hidden_ver.
12958 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12959 libm_hidden_def.
12960
fbeafede
JM
12961 [BZ #3439]
12962 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12963 integer constant usable in #if and use that to give value to enum
12964 constant.
12965 (FE_DIVBYZERO): Likewise.
12966 (FE_UNDERFLOW): Likewise.
12967 (FE_OVERFLOW): Likewise.
12968 (FE_INVALID): Likewise.
12969 (FE_INVALID_SNAN): Likewise.
12970 (FE_INVALID_ISI): Likewise.
12971 (FE_INVALID_IDI): Likewise.
12972 (FE_INVALID_ZDZ): Likewise.
12973 (FE_INVALID_IMZ): Likewise.
12974 (FE_INVALID_COMPARE): Likewise.
12975 (FE_INVALID_SOFTWARE): Likewise.
12976 (FE_INVALID_SQRT): Likewise.
12977 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12978 (FE_TONEAREST): Likewise.
12979 (FE_TOWARDZERO): Likewise.
12980 (FE_UPWARD): Likewise.
12981 (FE_DOWNWARD): Likewise.
12982 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12983 (FE_DIVBYZERO): Likewise.
12984 (FE_OVERFLOW): Likewise.
12985 (FE_UNDERFLOW): Likewise.
12986 (FE_INEXACT): Likewise.
12987 (FE_TONEAREST): Likewise.
12988 (FE_DOWNWARD): Likewise.
12989 (FE_UPWARD): Likewise.
12990 (FE_TOWARDZERO): Likewise.
12991 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12992 (FE_UNDERFLOW): Likewise.
12993 (FE_OVERFLOW): Likewise.
12994 (FE_DIVBYZERO): Likewise.
12995 (FE_INVALID): Likewise.
12996 (FE_TONEAREST): Likewise.
12997 (FE_TOWARDZERO): Likewise.
12998 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12999 (FE_OVERFLOW): Likewise.
13000 (FE_UNDERFLOW): Likewise.
13001 (FE_DIVBYZERO): Likewise.
13002 (FE_INEXACT): Likewise.
13003 (FE_TONEAREST): Likewise.
13004 (FE_TOWARDZERO): Likewise.
13005 (FE_UPWARD): Likewise.
13006 (FE_DOWNWARD): Likewise.
13007 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13008 (FE_DIVBYZERO): Likewise.
13009 (FE_OVERFLOW): Likewise.
13010 (FE_UNDERFLOW): Likewise.
13011 (FE_INEXACT): Likewise.
13012 (FE_TONEAREST): Likewise.
13013 (FE_DOWNWARD): Likewise.
13014 (FE_UPWARD): Likewise.
13015 (FE_TOWARDZERO): Likewise.
13016
105ca950
CM
130172012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13018
13019 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13020
a542b389
AS
130212012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13022
13023 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13024 commands. Quote $PWD.
13025 (blacklist_exports): Don't use remove_newlines. Replace "declare
13026 -x" by "export".
13027 (remove_newlines): Remove.
13028
f62c8abc
L
130292012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13030
13031 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13032 * stdlib/stdlib.h (atof): Moved to ...
13033 * include/bits/stdlib-float.h: Here. New file.
13034 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13035 * stdlib/bits/stdlib-float.h: New file.
13036 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13037 -mno-sse -mno-mmx.
13038 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13039 <xmmintrin.h>.
13040
0155d5b2
JM
130412012-11-02 Joseph Myers <joseph@codesourcery.com>
13042
a68d0680
JM
13043 * conform/conformtest.pl (@headers): Add fenv.h.
13044 * conform/data/fenv.h-data: New file.
13045 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13046 include of <math/fenv.h>.
13047
caf7f573
JM
13048 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13049 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13050 && !UNIX98]. Enables tests for XOPEN2K8.
13051 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13052 POSIX2008]: Likewise.
13053
6c073ad6
JM
13054 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13055 (struct rusage): Do not expect type or its members.
13056
0155d5b2
JM
13057 [BZ #3439]
13058 * math/math.h (FP_NAN): Define macro to integer constant usable in
13059 #if and use that to give value to enum constant.
13060 (FP_INFINITE): Likewise.
13061 (FP_ZERO): Likewise.
13062 (FP_SUBNORMAL): Likewise.
13063 (FP_NORMAL): Likewise.
13064
b5dcacb4
AS
130652012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13066
13067 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13068 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13069 arguments.
13070
f7934be8
RM
130712012-11-02 Roland McGrath <roland@hack.frob.com>
13072
13073 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13074 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13075 autoconf-time if not.
13076 * configure.in: Remove AC_PREREQ.
13077
d7d08bde
TMQMF
130782012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13079
13080 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13081 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13082 of the internal implementation.
13083
dcdae19a
JM
130842012-11-02 Joseph Myers <joseph@codesourcery.com>
13085
13086 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13087 except include of <misc/sys/syslog.h>.
13088
d6cffd3e
AS
130892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13090
13091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13092 function returns with a NULL context exit with zero.
13093
b3563932
TMQMF
130942012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13095
13096 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13097
b288a93d
L
130982012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13099
13100 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13101 (run_program_cmd): This.
13102 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13103 (tst_langinfo): New variable. Use it.
13104
a2421a68
SAS
131052012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13106
13107 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13108 floating point opcodes.
13109
6f796e1b
TS
131102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13111
7402596b
TS
13112 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13113 variable.
13114
d0d4f868
TS
13115 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13116
6f796e1b
TS
13117 * sysdeps/mach/hurd/powerpc: Remove directory.
13118 * sysdeps/mach/powerpc: Likewise.
13119
4da224a2
AS
131202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13121
13122 * scripts/check-local-headers.sh: Ignore c++ headers.
13123
341dd673
TS
131242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13125
13126 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13127 __libc_cleanup_region_start argument.
13128
473611b2
JM
131292012-11-01 Joseph Myers <joseph@codesourcery.com>
13130
13131 [BZ #14784]
13132 [BZ #14785]
13133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13134 x * y using scaling, not as x * y + z.
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.
13138 (fma_test_towardzero): Likewise.
13139 (fma_test_downward): Likewise.
13140 (fma_test_upward): Likewise.
13141
4078da3d
TS
131422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13143
13144 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13145
903252aa
JM
131462012-10-31 Joseph Myers <joseph@codesourcery.com>
13147
13148 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13149 New variable.
13150
cbc818d0
TS
131512012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13152
13153 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13154
5a03cb1e
AS
131552012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13156
13157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13158 Fix sort order.
13159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13160 Likewise.
13161
90aff2ff
TMQMF
131622012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13163
13164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13165 Fix the order of the list for glibc 2.17.
13166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13167 Likewise.
13168
1818fcb7
AS
131692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13170
13171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13172
ef82f4da
JM
131732012-10-31 Joseph Myers <joseph@codesourcery.com>
13174
16a0e2ec
JM
13175 [BZ #14610]
13176 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13177 for low part of x being zero before using __atanl (y).
13178 * math/libm-test.inc (atan2_test): Add another test.
13179
0eb69512
JM
13180 * manual/install.texi (Configuring and compiling): Document
13181 general use of test-wrapper and test-wrapper-env.
13182 * INSTALL: Regenerated.
13183
ef82f4da
JM
13184 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13185 (__fma): Do not extract and scale down low bits on after-rounding
13186 systems when result rounded to normal precision would have normal
13187 exponent.
13188 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13189 (__fmal): Do not extract and scale down low bits on after-rounding
13190 systems when result rounded to normal precision would have normal
13191 exponent.
13192 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13193 (__fmal): Do not extract and scale down low bits on after-rounding
13194 systems when result rounded to normal precision would have normal
13195 exponent.
13196 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13197 macro.
13198 (fma_test): Add more tests.
13199 (fma_test_towardzero): Likewise.
13200 (fma_test_downward): Likewise.
13201 (fma_test_upward): Likewise.
13202
954ef0d9
L
132032012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13204
13205 * sysdeps/i386/tininess.h: Renamed to ...
13206 * sysdeps/x86/tininess.h: This.
13207 * sysdeps/x86_64/tininess.h: Removed.
13208
df61ffb2
JM
132092012-10-30 Joseph Myers <joseph@codesourcery.com>
13210
13211 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13212 input. Use $(build-program-cmd).
13213 ($(objpfx)tst-array1-static.out): Likewise.
13214 ($(objpfx)tst-array2.out): Likewise.
13215 ($(objpfx)tst-array3.out): Likewise.
13216 ($(objpfx)tst-array4.out): Likewise.
13217 ($(objpfx)tst-array5.out): Likewise.
13218 ($(objpfx)tst-array5-static.out): Likewise.
13219
01767843
CM
132202012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13221
47cc1490
CM
13222 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13223 if defined.
13224
01767843
CM
13225 * nss/nsswitch.h (nss_interface_function): Provide new
13226 macro for use with NSS functions.
13227 * grp/initgroups.c: Use new macro.
13228 * nss/getXXbyYY.c: Likewise.
13229 * nss/getXXbyYY_r.c: Likewise.
13230 * nss/getXXent.c: Likewise.
13231 * nss/getXXent_r.c: Likewise.
13232 * sysdeps/posix/getaddrinfo.c: Likewise.
13233
8321aa97
AJ
132342012-10-30 Andreas Jaeger <aj@suse.de>
13235
13236 * po/ru.po: Update Russion translation from translation project.
13237
2a27fd6d
JM
132382012-10-30 Joseph Myers <joseph@codesourcery.com>
13239
8627a232
JM
13240 [BZ #14152]
13241 [BZ #14783]
13242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13243 result and shift together with sticky bit instead of replicating
13244 round-to-nearest rounding.
13245 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13246 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13247 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13248 missing underflow exceptions.
13249 (fma_test_towardzero): Add more tests.
13250 (fma_test_downward): Likewise.
13251 (fma_test_upward): Likewise.
13252
2a27fd6d
JM
13253 [BZ #14047]
13254 * sysdeps/generic/tininess.h: New file.
13255 * sysdeps/i386/tininess.h: Likewise.
13256 * sysdeps/sh/tininess.h: Likewise.
13257 * sysdeps/x86_64/tininess.h: Likewise.
13258 * stdlib/tst-strtod-underflow.c: Likewise.
13259 * stdlib/tst-tininess.c: Likewise.
13260 * stdlib/strtod_l.c: Include <tininess.h>.
13261 (round_and_return): Do not set errno for exact underflow cases.
13262 Force an underflow exception when setting errno for underflow.
13263 Determine underflow based on rounding to normal precision if
13264 TININESS_AFTER_ROUNDING.
13265 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13266 ERANGE for exact underflow cases.
13267 * stdlib/Makefile (tests): Add tst-tininess and
13268 tst-strtod-underflow.
13269 ($(objpfx)tst-tininess): Use $(link-libm).
13270 ($(objpfx)tst-strtod-underflow): Likewise.
13271
e7170363
AJ
132722012-10-30 Andreas Jaeger <aj@suse.de>
13273
e5088dc6
AJ
13274 [BZ#14767]
13275 * elf/Makefile (tests): Remove conditional for have-initfini-array
13276 since this is now always required and the variable does not exist
13277 anymore.
13278 (tests-static): Likewise.
13279 (modules-names): Likewise.
13280
e7170363 13281 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
13282
13283 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13284 merged with constructor/destructor.
13285 (init_array): Likewise.
13286 * elf/tst-array2dep.c (fini_array): Likewise.
13287 (init_array): Likewise.
13288
60457d8a
MF
132892012-10-29 Mike Frysinger <vapier@gentoo.org>
13290
13291 * manual/message.texi: Delete @cartouche tags.
13292
8bece752
PT
132932012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13294
94ce799f
PT
13295 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13296 EOPNOTSUPP.
13297 * sysdeps/mach/hurd/fsync.c: Likewise.
13298
8bece752
PT
13299 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13300 [_POSIX_REALTIME_SIGNALS]: Change condition to
13301 [_POSIX_REALTIME_SIGNALS > 0].
13302
86ebe6b1
AJ
133032012-10-27 Andreas Jaeger <aj@suse.de>
13304
13305 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13306 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13307 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13308 [__WORDSIZE != 64]: Likewise.
13309
54399c08
L
133102012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13311
13312 * iconvdata/tst-table.sh: Remove ${SHELL}.
13313 * iconvdata/tst-tables.sh: Likewise.
13314
e2211bed
DM
133152012-10-25 David S. Miller <davem@davemloft.net>
13316
13317 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13318 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13319 of strtoull.
13320
f303f97c
DM
13321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13322 ifunc-impl-list.c
13323 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13324 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13325 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13326 file.
13327
1e9d84cd
RM
133282012-10-25 Roland McGrath <roland@hack.frob.com>
13329
13330 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13331 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13332 __getdirentries.
13333
df381762
JM
133342012-10-25 Joseph Myers <joseph@codesourcery.com>
13335 Jim Blandy <jimb@codesourcery.com>
13336
13337 * scripts/cross-test-ssh.sh: New file.
13338 * manual/install.texi (Configuring and compiling): Document use of
13339 cross-test-ssh.sh.
13340 * INSTALL: Regenerated.
13341
bff64913
PT
133422012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13343
13344 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13345 EOPNOTSUPP.
13346
25fe8932
JM
133472012-10-25 Joseph Myers <joseph@codesourcery.com>
13348
13349 * Makeconfig (run-program-prefix): Fix comment.
13350
cc1290d0
JM
133512012-10-24 Joseph Myers <joseph@codesourcery.com>
13352 Jim Blandy <jimb@codesourcery.com>
13353
13354 * Makeconfig (test-wrapper): New variable,
13355 (test-wrapper-env): Likewise.
13356 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13357 (run-built-tests): Define to yes.
13358 (run-program-prefix): Use $(test-wrapper).
13359 (built-program-cmd): Likewise.
13360 * Rules (make-test-out): Use $(test-wrapper-env) and
13361 $(host-built-program-cmd).
13362 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13363 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13364 tst-pathopt.sh.
13365 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13366 $(test-wrapper-env) to tst-rtld-load-self.sh.
13367 ($(objpfx)order2.out): Use $(test-wrapper).
13368 ($(objpfx)tst-initorder.out): Likewise.
13369 ($(objpfx)tst-initorder2.out): Likewise.
13370 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13371 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13372 (test_wrapper_env): New variable. Use it to run ld.so.
13373 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13374 Use it to run ld.so.
13375 (test_wrapper_env): Likewise.
13376 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13377 $(test-wrapper) to run-iconv-test.sh.
13378 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13379 (ICONV): Use $test_wrapper.
13380 * posix/Makefile ($(objpfx)globtest.out): Pass
13381 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13382 globtest.sh, not $(run-program-prefix).
13383 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13384 (test_wrapper): Likewise.
13385 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13386 set together with run_via_rtld_prefix.
13387 (run_program_prefix): Define in terms of test_wrapper and
13388 run_via_rtld_prefix.
13389
6e6249d0
RM
133902012-10-24 Roland McGrath <roland@hack.frob.com>
13391
13392 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13393 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13394 Targets removed.
13395
13396 [BZ #14743]
13397 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13398 Declare __clock_getres, __clock_gettime, __clock_settime,
13399 __clock_nanosleep, and __clock_getcpuclockid.
13400 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13401 Remove librt_hidden_def (clock_gettime).
13402 * sysdeps/unix/clock_gettime.c: Likewise.
13403 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13404 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13405 * rt/clock_getres.c: Define __clock_getres as an alias.
13406 * sysdeps/posix/clock_getres.c: Likewise.
13407 * rt/clock_settime.c: Define __clock_settime as an alias.
13408 * sysdeps/unix/clock_settime.c: Likewise.
13409 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13410 * sysdeps/unix/clock_nanosleep.c: Likewise.
13411 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13412 * rt/clock-compat.c: New file.
13413 * rt/Makefile (librt-routines): Add clock-compat and move
13414 $(clock-routines) to ...
13415 (routines): ... here, new variable.
13416 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13417 Don't add get_clockfreq here.
13418 * rt/Versions (libc: GLIBC_2.17): New version set.
13419 Add clock_* symbols here.
13420 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13421 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13422 (GLIBC_2.17): Add clock_* symbols.
13423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13425 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13427 Likewise.
13428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13429 Likewise.
13430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13434 * NEWS: Mention the move.
13435
13436 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13437 Use __open, __read, __close rather than their public counterparts.
13438 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13439 (__get_clockfreq_via_cpuinfo): Likewise.
13440 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13441 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13442
13443 * config.h.in (HAVE_IFUNC): New #undef.
13444 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13445 was successful.
13446 * configure: Regenerated.
13447
0cae3f4b
MF
134482012-10-24 Mike Frysinger <vapier@gentoo.org>
13449
13450 * configure.in: Move READELF check to start of file.
13451 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13452 libc_cv_asm_gnu_indirect_function in the process.
13453 * configure: Regenerated.
13454
8175a253
MF
134552012-10-24 Mike Frysinger <vapier@gentoo.org>
13456
13457 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13458 send the output to /dev/null.
13459 (libc_cv_cc_with_libunwind): Likewise.
13460 (libc_cv_as_noexecstack): Likewise.
13461 * configure: Regenerate.
13462
0708a7d1
JM
134632012-10-24 Joseph Myers <joseph@codesourcery.com>
13464
10b40d85
JM
13465 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13466
0708a7d1
JM
13467 * posix/globtest.sh (TMPDIR): Do not set.
13468 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13469 (testout): Likewise.
13470
9fddec1a
AJ
134712012-10-24 Andreas Jaeger <aj@suse.de>
13472
3a8db22f
AJ
13473 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13474 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13475 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13476 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13477 posix_fadvise64, posix_fallocate64.
13478
9fddec1a
AJ
13479 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13480 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13481 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13482 Likewise.
13483 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13484 Likewise.
13485 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13486
13487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13488 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13489 <bits/fcntl-linux.h>.
13490 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13491
13492 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13493 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13494 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13495 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13496 [__WORDSIZE != 64]: Likewise.
13497
ebfd1bbd
JM
134982012-10-23 Joseph Myers <joseph@codesourcery.com>
13499
03ac099f
JM
13500 * Makeconfig (run-built-tests): New variable.
13501 * Rules [$(cross-compiling) = yes]: Change condition to
13502 [$(run-built-tests) = no].
13503 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13504 to [$(run-built-tests) = yes].
13505 * elf/Makefile [$(cross-compiling) = no]: Likewise
13506 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13507 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13508 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13509 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13510 * io/Makefile [$(cross-compiling) = no]: Likewise.
13511 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13512 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13513 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13514 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13515 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13516 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13517 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13518 * string/Makefile [$(cross-compiling) = no]: Likewise.
13519
ebfd1bbd
JM
13520 * posix/Makefile ($(objpfx)globtest.out): Pass
13521 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13522 $(rtld-installed-name).
13523 * posix/globtest.sh (elf_objpfx): Remove variable.
13524 (rtld_installed_name): Likewise.
13525 (library_path): Likewise.
13526 (run_program_prefix): New variable. Use for running globtest
13527 binary.
13528
166bca24
JB
135292012-10-23 Jim Blandy <jimb@codesourcery.com>
13530 Joseph Myers <joseph@codesourcery.com>
13531
13532 * Makeconfig (host-built-program-cmd): New variable.
13533 * elf/Makefile (tst-stackguard1-ARGS): Use
13534 $(host-built-program-cmd).
13535 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13536 (tst-spawn-ARGS): Likewise.
13537 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13538
88866099
JM
135392012-10-23 Joseph Myers <joseph@codesourcery.com>
13540 Jim Blandy <jimb@codesourcery.com>
13541
13542 * Makeconfig (run-via-rtld-prefix): New variable.
13543 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13544 (built-program-cmd): Likewise.
13545
b4b4c296
AJ
135462012-10-22 Andreas Jaeger <aj@suse.de>
13547
13548 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13549 __O_RSYNC if it exists, otherwise to O_SYNC.
13550
6fb54a22
JB
135512012-10-22 Jim Blandy <jimb@codesourcery.com>
13552 Joseph Myers <joseph@codesourcery.com>
13553
13554 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13555 /dev/null.
13556 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13557 from /dev/null
13558 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13559 /dev/null.
13560
481b90b9
AJ
135612012-10-22 Andreas Jaeger <aj@suse.de>
13562
2a0e2669
AJ
13563 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13564 Define always.
13565 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13566
76e38f9a
AJ
13567 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13568 bits/fcntl-linux.h.
13569
7cd37b43
AJ
13570 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13571 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13572
481b90b9
AJ
13573 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13574 to __O_LARGEFILE.
13575 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13576 to __O_LARGEFILE.
13577
aba75984
JB
135782012-10-21 Jim Blandy <jimb@codesourcery.com>
13579 Joseph Myers <joseph@codesourcery.com>
13580
13581 * config.make.in (NM): New variable.
13582
88d4247f
AJ
135832012-10-21 Andreas Jaeger <aj@suse.de>
13584
13585 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13586 definitions and declarations that are provided by
13587 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13588
f2eed205
L
135892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13590
13591 [BZ #14683]
13592 * elf/Makefile (tests-static): Add tst-leaks1-static.
13593 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13594 ($(objpfx)tst-leaks1-static): New rule.
13595 ($(objpfx)tst-leaks1-static-mem): Likewise.
13596 (tst-leaks1-static-ENV): New macro.
13597 * elf/dl-open.c (dl_open_worker): Check the main application
13598 only if SHARED is defined.
13599 * elf/tst-leaks1-static.c: New file.
13600
335e6931
AJ
136012012-10-20 Andreas Jaeger <aj@suse.de>
13602
13603 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13604 generic values for Linux.
13605 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13606 and declarations that are provided by <bits/fcntl-linux.h> and
13607 include <bits/fcntl-linux.h>.
13608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13610
ac5c94d3
RM
136112012-10-20 Roland McGrath <roland@hack.frob.com>
13612
13613 * io/fcntl.h: Move include of <bits/types.h> to the top and
13614 include it unconditionally.
13615
de54b33a
L
136162012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13617
228cfb01
L
13618 * wcsmbs/Makefile (tests-ifunc): New variable.
13619 (tests): Add $(tests-ifunc).
13620 * wcsmbs/test-wcschr-ifunc.c: New file.
13621 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13622 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13623 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13624 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13625 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13626
69f07e5f
L
13627 * string/Makefile (tests-ifunc): New variable.
13628 (tests): Add $(tests-ifunc).
13629 * string/test-memccpy.c (TEST_NAME): New macro.
13630 * string/test-memchr.c (TEST_NAME): Likewise.
13631 * string/test-memcmp.c (TEST_NAME): Likewise.
13632 * string/test-memcpy.c (TEST_NAME): Likewise.
13633 * string/test-memmem.c (TEST_NAME): Likewise.
13634 * string/test-memmove.c (TEST_NAME): Likewise.
13635 * string/test-memset.c (TEST_NAME): Likewise.
13636 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13637 * string/test-stpcpy.c (TEST_NAME): Likewise.
13638 * string/test-stpncpy.c (TEST_NAME): Likewise.
13639 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13640 * string/test-strcasestr.c (TEST_NAME): Likewise.
13641 * string/test-strcat.c (TEST_NAME): Likewise.
13642 * string/test-strchr.c (TEST_NAME): Likewise.
13643 * string/test-strcmp.c(TEST_NAME): Likewise.
13644 * string/test-strcpy.c (TEST_NAME): Likewise.
13645 * string/test-strcspn.c (TEST_NAME): Likewise.
13646 * string/test-strlen.c (TEST_NAME): Likewise.
13647 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13648 * string/test-strncmp.c (TEST_NAME): Likewise.
13649 * string/test-strncpy.c (TEST_NAME): Likewise.
13650 * string/test-strnlen.c (TEST_NAME): Likewise.
13651 * string/test-strpbrk.c (TEST_NAME): Likewise.
13652 * string/test-strrchr.c (TEST_NAME): Likewise.
13653 * string/test-strspn.c (TEST_NAME): Likewise.
13654 * string/test-strstr.c (TEST_NAME): Likewise.
13655 * string/test-bcopy-ifunc.c: New file.
13656 * string/test-bzero-ifunc.c: Likewise.
13657 * string/test-memccpy-ifunc.c: Likewise.
13658 * string/test-memchr-ifunc.c: Likewise.
13659 * string/test-memcmp-ifunc.c: Likewise.
13660 * string/test-memcpy-ifunc.c: Likewise.
13661 * string/test-memmem-ifunc.c: Likewise.
13662 * string/test-memmove-ifunc.c: Likewise.
13663 * string/test-mempcpy-ifunc.c: Likewise.
13664 * string/test-memset-ifunc.c: Likewise.
13665 * string/test-rawmemchr-ifunc.c: Likewise.
13666 * string/test-stpcpy-ifunc.c: Likewise.
13667 * string/test-stpncpy-ifunc.c: Likewise.
13668 * string/test-strcasecmp-ifunc.c: Likewise.
13669 * string/test-strcasestr-ifunc.c: Likewise.
13670 * string/test-strcat-ifunc.c: Likewise.
13671 * string/test-strchr-ifunc.c: Likewise.
13672 * string/test-strchrnul-ifunc.c: Likewise.
13673 * string/test-strcmp-ifunc.c: Likewise.
13674 * string/test-strcpy-ifunc.c: Likewise.
13675 * string/test-strcspn-ifunc.c: Likewise.
13676 * string/test-strlen-ifunc.c: Likewise.
13677 * string/test-strncasecmp-ifunc.c: Likewise.
13678 * string/test-strncat-ifunc.c: Likewise.
13679 * string/test-strncmp-ifunc.c: Likewise.
13680 * string/test-strncpy-ifunc.c: Likewise.
13681 * string/test-strnlen-ifunc.c: Likewise.
13682 * string/test-strpbrk-ifunc.c: Likewise.
13683 * string/test-strrchr-ifunc.c: Likewise.
13684 * string/test-strspn-ifunc.c: Likewise.
13685 * string/test-strstr-ifunc.c: Likewise.
13686
de54b33a
L
13687 * debug/Makefile (tests-ifunc): New variable.
13688 (tests): Add $(tests-ifunc).
13689 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13690 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13691 * debug/test-stpcpy_chk-ifunc.c: New file.
13692 * debug/test-strcpy_chk-ifunc.c: Likewise.
13693
88481c16
SP
136942012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13695
13696 [BZ #13601]
13697 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13698 header is not read in.
13699
135948bd
JM
137002012-10-19 Joseph Myers <joseph@codesourcery.com>
13701
89f1c388
JM
13702 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13703 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13704 directly. Pass built executable to script as
13705 $(built-program-cmd).
13706 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13707 $testprogram without using LD_LIBRARY_PATH and $ldso.
13708
e40a0d21
JM
13709 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13710 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13711 $(rtld-installed-name).
13712 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13713 (rtld_installed_name): Likewise.
13714 (library_path): Likewise.
13715 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13716 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13717 $(run-program-prefix) to tst-tables.sh.
13718 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13719 it to run tst-table-from and tst-table-to.
13720 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13721 Pass it to tst-table.sh.
13722 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13723 $(run-program-prefix) to tst-gettext.sh.
13724 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13725 tst-translit.sh.
13726 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13727 tst-gettext2.sh.
13728 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13729 to run tst-gettext.
13730 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13731 to run tst-gettext2.
13732 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13733 to run tst-translit.
13734 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13735 $(run-program-prefix) to tst-mtrace.sh.
13736 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13737 to run tst-mtrace.
13738 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13739 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13740 $(rtld-installed-name).
13741 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13742 (rtld_installed_name): Likewise.
13743 (run_program_prefix): New variable. Use it to run wordexp-test.
13744
728e272a
JM
13745 * Makeconfig (ARCH): Remove all definitions.
13746 (machine): Likewise.
13747 [ARCH]: Remove conditional code.
13748 [!objdir]: Give error.
13749 [!objdir] (objpfx): Remove.
13750 [!objdir] (common-objpfx): Likewise.
13751 [!objdir] (common-objdir): Likewise.
13752 * configure.in (config_makefile): Remove. Hardcode Makefile in
13753 AC_CONFIG_FILES call.
13754 * configure: Regenerated.
13755
d528cdcf
JM
13756 [BZ #13888]
13757 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13758 or TMPDIR.
13759 (testout): Likewise.
13760
135948bd
JM
13761 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13762 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13763 $(rtld-installed-name).
13764 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13765 (rtld_installed_name): Likwise.
13766 (runit): Remove function.
13767 (run_getconf): New variable, Use it for running getconf binary.
13768
38c78296
L
137692012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13770
13771 [BZ #14716]
13772 * string/test-memmem.c (check_result): New function.
13773 (do_one_test): Use it.
13774 (check1): New function.
13775 (test_main): Use it.
13776
d077f65f
MT
137772012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13778
13779 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13780
ced52c71
JM
137812012-10-18 Joseph Myers <joseph@codesourcery.com>
13782
13783 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13784 (_G_LSEEK64): Likewise.
13785 (_G_MMAP64): Likewise.
13786 (_G_FSTAT64): Likewise.
13787 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13788 (_G_LSEEK64): Likewise.
13789 (_G_MMAP64): Likewise.
13790 (_G_FSTAT64): Likewise.
13791 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13792 unconditional. Call __mmap64 directly.
13793 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13794 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13795 __lseek64 directly.
13796 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13797 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13798 __mmap64 directly.
13799 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13800 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13801 __lseek64 directly.
13802 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13803 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13804 __lseek64 directly.
13805 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13806 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13807 __lseek64 directly.
13808 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13809 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13810 __fxstat64 directly.
13811 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13812 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13813 unconditional.
13814 (freopen64) [!_G_OPEN64]: Remove conditional code.
13815 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13816 unconditional.
13817 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13818 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13819 unconditional.
13820 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13821 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13822 unconditional.
13823 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13824 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13825 unconditional.
13826 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13827 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13828 unconditional.
13829 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13830 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13831 unconditional.
13832 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13833 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13834 unconditional.
13835 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13836
b741de23
SP
138372012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13838
13839 [BZ #12140]
13840 * manual/memory.texi (Malloc Tunable Parameters): Add note
13841 about free list pointers overwriting some perturb bytes.
13842 Wording suggested by Roland McGrath.
13843
f9b9d9c9
JM
138442012-10-17 Joseph Myers <joseph@codesourcery.com>
13845
13846 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13847 (lgamma_test): Likewise.
13848 (tgamma_test): Likewise.
13849
172a631a
FW
138502012-10-16 Florian Weimer <fweimer@redhat.com>
13851
13852 [BZ #14700]
13853 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13854 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13855
e9f37252
MK
138562012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13857
13858 * NEWS: Mention BZ #14716.
13859 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13860 when removing AVAILABLE1_USES_J macro.
13861
d394eb74
L
138622012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13863
13864 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13865 (__bswap_64): __uint64_t for unsigned 64-bit int.
13866
ca38dc17
AS
138672012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13868
13869 * include/string.h (memmem): Declare libc hidden alias.
13870 * string/memmem.c (memmem): Define libc hidden alias.
13871 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13872 __read, __close instead of open, read, close.
13873
9a387d1f
L
138742012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13875
ac49ecaf
L
13876 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13877 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13878 global and hidden.
13879 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13880 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13881 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13882 Likewise.
13883 (__rawmemchr_sse2): Likewise.
13884 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13885 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13886 (__strchr_sse2): Likewise.
13887 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13888 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13889 (__strcasecmp_sse2): Likewise.
13890 (__strncasecmp_sse2): Likewise.
13891 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13892 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13893 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13894 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13895 (__strrchr_sse2): Likewise.
13896 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13897 ifunc-impl-list.c.
13898 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13899 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13900 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13901 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13902 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13903 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13904 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13905 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13906 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13907 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13908 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13909 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13910 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13911 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13912 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13913 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13914 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13915 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13916 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13917 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13918 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13919 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13920 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13921 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13922 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13923 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13924 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13925 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13926 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13927 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13928
b090e8ea
L
13929 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13930 global and hidden.
13931 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13932 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13933 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13934 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13935 Likewise.
13936 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13937 Likewise.
13938 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13939 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13940 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13941 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13942 ifunc-impl-list.c.
13943 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13944 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13945 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13946 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13947 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13948 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13949 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13950 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13951 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13952 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13953 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13954 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13955 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13956 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13957 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13958 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13959 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13960 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13961 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13962 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13963 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13964 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13965 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13966 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13967 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13968 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13969 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13970 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13971 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13972 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13973 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13974 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13975 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13976 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13977 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13978 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13979 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13980 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13981 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13982 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13983 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13984
11dd4af6
L
13985 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13986 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13987 * include/ifunc-impl-list.h: New file.
13988 * misc/ifunc-impl-list.c: Likewise.
13989 * misc/Makefile (routines): Add ifunc-impl-list.
13990 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13991 * string/test-string.h: Include <ifunc-impl-list.h>.
13992 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13993 impl_array): New variables.
13994 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13995 are defined.
13996 (test_init): Call __libc_ifunc_impl_list to initialize
13997 func_list if TEST_IFUNC and TEST_NAME are defined.
13998
9a387d1f
L
13999 * string/Makefile (strop-tests): Add bcopy and bzero.
14000 * string/test-bcopy.c: New file.
14001 * string/test-bzero.c: Likewise.
14002 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14003 defined.
14004 * string/test-memset.c: Support bzero test if TEST_BZERO is
14005 defined.
14006 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14007 __libc_memmove.
14008 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14009 __libc_memset.
14010 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14011 of memset.
14012
472371b9
JM
140132012-10-10 Joseph Myers <joseph@codesourcery.com>
14014
1e4a9536
JM
14015 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14016 * configure: Regenerated.
14017
d173d12e
JM
14018 * Makeconfig (+link-static-before-libc): Don't include
14019 $(link-static-libc).
14020
472371b9
JM
14021 * libio/libio.h (_IO_pos_t): Remove.
14022
89a3ad0b
AO
140232012-10-10 Alexandre Oliva <aoliva@redhat.com>
14024
14025 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14026 McGrath.
14027
e7451425
AO
140282012-10-10 Alexandre Oliva <aoliva@redhat.com>
14029
14030 * crypt/crypt-entry.c: Include fips-private.h.
14031 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14032 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14033 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14034 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14035
4ba74a35
AO
140362012-10-10 Alexandre Oliva <aoliva@redhat.com>
14037
14038 * crypt/crypt-private.h: Include stdbool.h.
14039 (_ufc_setup_salt_r): Return bool.
14040 * crypt/crypt-entry.c: Include errno.h.
14041 (__crypt_r): Return NULL with EINVAL for bad salt.
14042 * crypt/crypt_util.c (bad_for_salt): New.
14043 (_ufc_setup_salt_r): Check that salt is long enough and within
14044 the specified alphabet.
14045 * crypt/badsalttest.c: New file.
14046 * crypt/Makefile (tests): Add it.
14047 ($(objpfx)badsalttest): New.
14048
f96f1242
MK
140492012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14050
14051 * NEWS: Add entry for BZ #14602.
14052
0e8e0c1c
JM
140532012-10-09 Joseph Myers <joseph@codesourcery.com>
14054
14055 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14056 type-generic.
14057 * math/libm-test.inc: Update comment listing what functions and
14058 macros are tested.
14059 (isgreater_test): New function.
14060 (isgreaterequal_test): Likewise.
14061 (isless_test): Likewise.
14062 (islessequal_test): Likewise.
14063 (islessgreater_test): Likewise.
14064 (isunordered_test): Likewise.
14065 (main): Call the new functions.
14066
273edc5e
RM
140672012-10-09 Roland McGrath <roland@hack.frob.com>
14068
b8493de0
RM
14069 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14070 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14071 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14072 * sysdeps/i386/configure: Regenerated.
14073 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14074 * sysdeps/mach/configure: Regenerated.
14075 * sysdeps/mach/hurd/configure: Regenerated.
14076 * sysdeps/powerpc/configure: Regenerated.
14077 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14078 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14079 * sysdeps/s390/s390-32/configure: Regenerated.
14080 * sysdeps/s390/s390-64/configure: Regenerated.
14081 * sysdeps/sh/configure: Regenerated.
14082 * sysdeps/sparc/configure: Regenerated.
14083 * sysdeps/unix/sysv/linux/configure: Regenerated.
14084 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14085 * sysdeps/x86_64/configure: Regenerated.
14086
273edc5e
RM
14087 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14088 defined. Don't check if MAP is NULL.
14089
c8450f70
JM
140902012-10-09 Joseph Myers <joseph@codesourcery.com>
14091
14092 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14093 (_G_stat64): Likewise.
14094 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14095 (_G_stat64): Likewise.
14096 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14097 instead of struct _G_stat64.
14098 * libio/fileops.c (mmap_remap_check): Likewise.
14099 (decide_maybe_mmap): Likewise.
14100 (_IO_new_file_seekoff): Likewise.
14101 (_IO_file_stat): Likewise.
14102 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14103 _G_off64_t.
14104 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14105 instead of struct _G_stat64.
14106 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14107
57e605ba
MK
141082012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14109
14110 [BZ #14602]
14111 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14112 Replace with ...
14113 (CHECK_EOL): New macro.
14114 (two_way_short_needle): Check beginning of haystack for EOL. Use
14115 CHECK_EOL.
14116 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14117 Replace with CHECK_EOL.
14118 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14119 Replace with CHECK_EOL.
14120
ef1bb361
JM
141212012-10-08 Joseph Myers <joseph@codesourcery.com>
14122
14123 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14124 type-generic.
14125 * math/libm-test.inc: Update comment listing what functions and
14126 macros are tested.
14127 (finite_test): New function.
14128 (isinf_test): Likewise.
14129 (isnan_test): Likewise.
14130 (fpclassify_test): Test subnormal input.
14131 (isfinite_test): Likewise.
14132 (isnormal_test): Likewise.
14133 (main): Call the new functions.
14134
55f11534
JN
141352012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14136
14137 [BZ #14660]
14138 * Makerules (%.dynsym): Force C locale when running
14139 $(OBJDUMP) --dynamic-syms.
14140
1ab29350
AS
141412012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14142
14143 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14144 <stdint.h>.
14145
f1ecb7ef
DM
141462012-10-06 David S. Miller <davem@davemloft.net>
14147
14148 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14149 upper 32-bits of the length value in %o2 since we use branch-on-register
14150 tests which consider the entire 64-bit register.
14151
5d41d91a
L
141522012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14153
14154 * string/test-strstr.c (check2): Add a test for page boundary.
14155
3baddb72
DM
141562012-10-05 David S. Miller <davem@davemloft.net>
14157
14158 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14159 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14160 file.
14161 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14162 sysdep_routines.
14163 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14164 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14165 and bzero when HWCAP_SPARC_CRYPTO is present.
14166
9cee5585
L
141672012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14168
d7e0dab9
L
14169 [BZ #14602]
14170 * string/test-strstr.c (check2): New function.
14171 (test_main): Call check2.
14172
03759f47
L
14173 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14174 and bug-strchr1.
14175 * string/bug-strcasestr1.c (do_test): Moved to ...
14176 * string/test-strcasestr.c (check1): Here. New function.
14177 (do_one_test): Break out result checking code into ...
14178 (check_result): This. New function.
14179 (do_one_test): Call check_result.
14180 (test_main): Call check1.
14181 * string/bug-strchr1.c (do_test): Moved to ...
14182 * string/test-strchr.c (check1): Here. New function.
14183 (do_one_test): Break out result checking code into ...
14184 (check_result): This. New function.
14185 (do_one_test): Call check_result.
14186 (test_main): Call check1.
14187 * string/bug-strstr1.c (main): Moved to ...
046f153e 14188 * string/test-strstr.c (check1): Here. New function.
03759f47
L
14189 (do_one_test): Break out result checking code into ...
14190 (check_result): This. New function.
14191 (do_one_test): Call check_result.
14192 (test_main): Call check1.
14193 * string/bug-strcasestr1.c: Removed.
14194 * string/bug-strchr1.c: Likewise.
14195 * string/bug-strstr1.c: Likewise.
14196
53cea63e
L
14197 * elf/Makefile (dl-routines): Add hwcaps.
14198 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14199 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14200 (_dl_important_hwcaps): Moved to ...
14201 * elf/dl-hwcaps.c: Here. New file.
14202 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14203
9cee5585 14204 [BZ #14557]
bb859b06
L
14205 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14206 if IS_IN_rtld isn't defined.
14207
9cee5585
L
14208 * elf/dl-support.c (_dl_sysinfo_map): New.
14209 Include "get-dynamic-info.h" and "setup-vdso.h".
14210 (_dl_non_dynamic_init): Call setup_vdso.
14211 * elf/dynamic-link.h: Don't include <assert.h>.
14212 (elf_get_dynamic_info): Moved to ...
14213 * elf/get-dynamic-info.h: Here. New file.
14214 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14215 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14216 * elf/setup-vdso.h: Here. New file.
14217 * elf/rtld.c: Include "setup-vdso.h".
14218 (dl_main): Call setup_vdso.
14219
23c31b76
JM
142202012-10-05 Joseph Myers <joseph@codesourcery.com>
14221
28234b07
JM
14222 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14223 creal in comment listing functions tested. List finite, isinf,
14224 isnan, isless, islessequal, isgreater, isgreaterequal,
14225 islessgreater, isunordered, lgamma_r and pow10 as functions and
14226 macros not tested. Mention which functions not tested are aliases
14227 for other functions. Fix typo. Note that signs of NaNs are not
14228 tested.
14229
23c31b76
JM
14230 * scripts/config.guess: Update from config.git.
14231 * scripts/config.sub: Likewise.
14232
9043e228
RM
142332012-10-04 Roland McGrath <roland@hack.frob.com>
14234
14235 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14236 * misc/madvise.c (madvise): Renamed to __madvise.
14237 Make madvise a weak alias.
14238 * include/sys/mman.h: Declare __madvise.
14239 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14240 * sysdeps/unix/syscalls.list
14241 (madvise): Make __madvise the strong name, and madvise a weak alias.
14242 * sysdeps/unix/sysv/linux/syscalls.list
14243 (madvise, mmap): Remove redundant entries.
14244 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14245 * malloc/malloc.c (mtrim): Likewise.
14246 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14247
f57f8055
RM
142482012-10-03 Roland McGrath <roland@hack.frob.com>
14249
14250 * sysdeps/mach/hurd/dl-cache.c: File removed.
14251 * config.h.in (USE_LDCONFIG): New #undef.
14252 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14253 * configure: Regenerated.
14254 * elf/Makefile (dl-routines): Add dl-cache only under
14255 [$(use-ldconfig) = yes].
14256 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14257 cache on [USE_LDCONFIG].
14258 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14259 [USE_LDCONFIG].
14260 * elf/rtld.c (dl_main): Likewise.
14261
5bb0c10a
PT
142622012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14263
14264 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14265 _SC_LEVEL4_CACHE_LINESIZE.
14266
010188c6
RM
142672012-10-03 Roland McGrath <roland@hack.frob.com>
14268
14269 * sysdeps/unix/bsd/confstr.h: File removed.
14270
b6c5ec07
AO
142712012-10-02 Alexandre Oliva <aoliva@redhat.com>
14272
14273 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14274 sys/sdt-config.h.
14275
408223d4
RM
142762012-10-02 Roland McGrath <roland@hack.frob.com>
14277
14278 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14279 Make 'mapoff' field ElfW(Off) rather than off_t.
14280
bb9510dc
DL
142812012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14282
fc997c6e
DL
14283 * nscd/Makefile: Remove nscd-cflags and all its users.
14284 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14285 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14286
bb9510dc
DL
14287 [BZ #10631]
14288 * malloc.c (malloc_printerr): Clarify error message.
14289
05699367
L
142902012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14291
14292 [BZ #14648]
14293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14294 Set bit_FMA_Usable if FMA is supported.
14295 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14296 macro.
14297 (bit_FMA4_Usable): Updated.
14298 (index_FMA_Usable): New macro.
14299 (CPUID_FMA): Likewise
14300 (HAS_FMA): Defined with bit_FMA_Usable.
14301
51367701
RM
143022012-10-01 Roland McGrath <roland@hack.frob.com>
14303
14304 * bits/types.h (__swblk_t): Type removed.
14305 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14306 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14307 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14308 (__SWBLK_T_TYPE): Likewise.
14309 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14310 (__SWBLK_T_TYPE): Likewise.
14311 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14312 (__SWBLK_T_TYPE): Likewise.
14313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14314 (__SWBLK_T_TYPE): Likewise.
14315
4d57bf63 143162012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 14317 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
14318
14319 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14320 (xdr_mapname): Use YPMAXMAP as maxsize.
14321 (xdr_peername): Use YPMAXPEER as maxsize.
14322 (xdr_keydat): Use YPAXRECORD as maxsize.
14323 (xdr_valdat): Use YPMAXRECORD as maxsize.
14324
93c65d43
RM
143252012-10-01 Roland McGrath <roland@hack.frob.com>
14326
497a03d6
RM
14327 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14328
93c65d43
RM
14329 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14330 * csu/init-first.c: ... here.
14331 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14332 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14333 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14334 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14335 * sysdeps/i386/init-first.c: File removed.
14336 * sysdeps/sh/init-first.c: File removed.
14337
bec749fd
JM
143382012-10-01 Joseph Myers <joseph@codesourcery.com>
14339
14340 [BZ #14645]
14341 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14342 if x * y might underflow to zero and z is zero.
14343 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14344 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14345 * math/libm-test.inc (min_subnorm_value): New variable.
14346 (fma_test): Add more tests.
14347 (fma_test_towardzero): Likewise.
14348 (fma_test_downward): Likewise
14349 (fma_test_upward): Likewise.
14350 (initialize): Set min_subnorm_value.
14351
8ec5b013
JM
143522012-09-29 Joseph Myers <joseph@codesourcery.com>
14353
14354 [BZ #14638]
14355 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14356 0 + 0.
14357 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14358 mode for addition resulting in exact zero.
14359 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14361 exact 0 + 0.
14362 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14363 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14364 * math/libm-test.inc (fma_test): Add more tests.
14365 (fma_test_towardzero): New function.
14366 (fma_test_downward): Likewise.
14367 (fma_test_upward): Likewise.
14368 (main): Call the new functions.
14369
b1fa802e
DM
143702012-09-28 David S. Miller <davem@davemloft.net>
14371
14372 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14373
d3b9fd9e
RM
143742012-09-28 Roland McGrath <roland@hack.frob.com>
14375
ea4d37b3
RM
14376 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14377 instead of SIGALRM.
14378
ac51c949
RM
14379 * sysdeps/gnu/_G_config.h: Moved to ...
14380 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14381 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14382 * sysdeps/generic/_G_config.h: ... here.
14383
28c195f7
RM
14384 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14385
848917f9
RM
14386 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14387
6bacf05b
RM
14388 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14389 Conditionalize target on [libnss_test1.so-version].
14390
91363dbb
RM
14391 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14392
cc87f7d8
RM
14393 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14394 (elfobjdir): Move out of conditionals.
14395
b1c608fe
RM
14396 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14397 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14398 (__nss_lookup_function): Conditionalize label remove_from_tree on
14399 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 14400
1d9a6d96
DM
144012012-09-28 David S. Miller <davem@davemloft.net>
14402
14403 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14404 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14405 file.
14406 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14407 sysdep_routines.
14408 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14409 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14410 when HWCAP_SPARC_CRYPTO is present.
14411
72581615
PT
144122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14413
14414 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14415
715a900c
JL
144162012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14417
14418 [BZ #6530]
14419 * stdio-common/vfprintf.c (process_string_arg): Revert
14420 2000-07-22 change.
14421
144222011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14423
14424 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14425 for testcase.
14426 * stdio-common/tst-sprintf.c: Include <locale.h>
14427 (main): Test sprintf's handling of incomplete multibyte
14428 characters.
14429
9bac1d86
L
144302012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14431
14432 * elf/dl-runtime.c (VERSYMIDX): Removed.
14433 * elf/dl-version.c (VERSYMIDX): Likewise.
14434 * elf/do-rel.h (VERSYMIDX): Likewise.
14435 (VALIDX): Likewise.
14436 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14437 * elf/rtld.c (VALIDX): Likewise.
14438 (ADDRIDX): Likewise.
9bac1d86
L
14439 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14440 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14441 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
14442 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14443 (VALIDX): Likewise.
14444 (ADDRIDX): Likewise.
9bac1d86 14445
b31606c0
PT
144462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14447
14448 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14449
11541177
JL
144502012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14451
14452 [BZ #11438]
14453 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14454 to global scope.
14455 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14456 addresses are in the same scope as 192.0.2/24.
14457 * posix/gai.conf: Document new scope table defaults.
14458
adb26fae
SP
144592012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14460
14461 [BZ #5298]
14462 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14463 for ftell. Compute offsets from write pointers instead.
14464 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14465
4573c6b0
SP
144662012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14467
14468 [BZ #14543]
14469 * libio/Makefile (tests): New test case tst-fseek.
14470 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14471 combination works in wide mode.
14472 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14473 state when the external buffer state changes.
14474
aa9bbfe6
DM
144752012-09-27 David S. Miller <davem@davemloft.net>
14476
14477 [BZ #14376]
14478 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14479 pass reloc->r_addend in as the 'high' argument to
14480 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14481
784421e7
DM
14482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14483
c39bc8b8
PT
144842012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14485
14486 * rt/tst-aio2.c: Include <pthread.h>.
14487 * rt/tst-aio3.c: Likewise.
14488
1ccc2399
SE
144892012-09-27 Steve Ellcey <sellcey@mips.com>
14490
14491 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14492
31ed4153
L
144932012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14494
25f5f885
L
14495 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14496 contents on [SHARED].
31ed4153 14497
b7bfe116
MP
144982012-09-26 Marek Polacek <polacek@redhat.com>
14499
14500 [BZ #14530]
14501 [BZ #13741]
14502 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14503 for C++ and GCC <4.3 as well as for non GCC compilers.
14504
43c4edba
MT
145052012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14506
14507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14508
6a1bf82f
RM
145092012-09-25 Roland McGrath <roland@hack.frob.com>
14510
14511 * Makefile.in (all, install): Declare with .PHONY.
14512 Reported by Michael Hope <michael.hope@linaro.org>.
14513
8ad11b9a
TMQMF
145142012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14515
14516 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14517 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14518 system header.
14519 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14520 Likewise.
14521 (sydep_routines): Add the new and the internal functions.
14522 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14523 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14525 (GLIBC_2.17): Add the new function.
14526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14527 (GLIBC_2.17): Likewise.
14528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14529 (GLIBC_2.17): Likewise.
14530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14531 (GLIBC_2.17): Likewise.
14532 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14533
7e2fca8d
AM
145342012-09-25 Alan Modra <amodra@gmail.com>
14535
14536 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14537 Add release barrier before setting once_control to say
14538 initialisation is done. Add hints on lwarx. Use macro in
14539 place of isync.
14540 (clear_once_control): Add release barrier.
14541
b87c4b24
JM
145422012-09-25 Joseph Myers <joseph@codesourcery.com>
14543
d032e0d2
JM
14544 [BZ #13629]
14545 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14546 specially.
14547 * math/s_clog10.c (__clog10): Likewise.
14548 * math/s_clog10f.c (__clog10f): Likewise.
14549 * math/s_clog10l.c (__clog10l): Likewise.
14550 * math/s_clogf.c (__clogf): Likewise.
14551 * math/s_clogl.c (__clogl): Likewise.
14552 * math/Makefile (libm-calls): Add x2y2m1.
14553 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14554 (__x2y2m1): Likewise.
14555 (__x2y2m1l): Likewise.
14556 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14557 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14558 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14559 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14560 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14561 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14562 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14563 * sysdeps/i386/fpu/libm-test-ulps: Update.
14564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14565
b87c4b24
JM
14566 [BZ #14621]
14567 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14568 int as type of variable DEPTH.
14569 (glob): Use size_t instead of int as type of variables NEWCOUNT
14570 and OLD_PATHC.
14571
6d3bf199
LD
145722012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14573
22bf5c17
LD
14574 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14575 Add s_sincosf-sse2.
14576 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14577 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14578 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14579 macros for using routine as __sincosf_ia32.
14580 Use macro for function declaration and weak_alias.
14581 * sysdeps/i386/fpu/libm-test-ulps: Update.
14582
14583 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14585
14586 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
14587 subnormal argument.
14588 * math/s_cexpf.c (__cexpf): Likewise.
14589 * math/s_csinf.c (__csinf): Likewise.
14590 * math/s_csinhf.c (__csinhf): Likewise.
14591 * math/s_ctanf.c (__ctanf): Likewise.
14592 * math/s_ctanhf.c (__ctanhf): Likewise.
14593 * math/s_ccosh.c (__ccoshf): Likewise.
14594 * math/s_cexp.c (__cexpl): Likewise.
14595 * math/s_csin.c (__csin): Likewise.
14596 * math/s_csinh.c (__csinh): Likewise.
14597 * math/s_ctan.c (__ctan): Likewise.
14598 * math/s_ctanh.c (ctanh): Likewise.
14599 * math/s_ccoshl.c (__ccoshl): Likewise.
14600 * math/s_cexpl.c (__cexpl): Likewise.
14601 * math/s_csinl.c (__csinl): Likewise.
14602 * math/s_csinhl.c (__csinhl): Likewise.
14603 * math/s_ctanl.c (__ctanl): Likewise.
14604 * math/s_ctanhl.c (__ctanhl): Likewise.
14605
203e5603
JM
146062012-09-25 Joseph Myers <joseph@codesourcery.com>
14607
14608 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14609 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14610 (_IO_off_t): Define to __off_t, not _G_off_t.
14611 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14612 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14613 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14614 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14615 type of __dummy and __dummy2 fields.
14616 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14617 (_G_ssize_t): Likewise.
14618 (_G_off_t): Likewise.
14619 (_G_pid_t): Likewise.
14620 (_G_uid_t): Likewise.
14621 (_G_wchar_t): Likewise.
14622 (_G_wint_t): Likewise.
14623 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14624 (_G_ssize_t): Likewise.
14625 (_G_off_t): Likewise.
14626 (_G_pid_t): Likewise.
14627 (_G_uid_t): Likewise.
14628 (_G_wchar_t): Likewise.
14629 (_G_wint_t): Likewise.
14630 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14631 (_G_ssize_t): Likewise.
14632 (_G_off_t): Likewise.
14633 (_G_pid_t): Likewise.
14634 (_G_uid_t): Likewise.
14635 (_G_wchar_t): Likewise.
14636 (_G_wint_t): Likewise.
14637
9fab36eb
SP
146382012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14639
14640 * malloc/arena.c: Include malloc-sysdep.h.
14641 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14642 is sufficient to shrink the heap or an unmap is needed.
14643 * sysdeps/generic/malloc-sysdep.h: New file. Define
14644 new function check_may_shrink_heap.
14645 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14646 new function check_may_shrink_heap.
14647
2b4f00d1
SP
146482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14649
14650 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14651 comments.
14652
9a9028b1
DL
146532012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14654
57c69bef
DL
14655 * catgets/test-gencat.sh: Add "set -e".
14656 * elf/tst-pathopt.sh: Likewise.
14657 * grp/tst_fgetgrent.sh: Likewise.
14658 * iconvdata/run-iconv-test.sh: Likewise.
14659 * intl/tst-gettext.sh: Likewise.
14660 * intl/tst-gettext2.sh: Likewise.
14661 * intl/tst-gettext4.sh: Likewise.
14662 * intl/tst-gettext6.sh: Likewise.
14663 * intl/tst-translit.sh: Likewise.
14664 * io/ftwtest-sh: Likewise.
14665 * libio/test-freopen.sh: Likewise.
14666 * malloc/tst-mtrace.sh: Likewise.
14667 * posix/globtest.sh: Likewise.
14668 * posix/tst-getconf.sh: Likewise.
14669 * posix/wordexp-tst.sh: Likewise.
14670 * stdio-common/tst-printf.sh: Likewise.
14671 * stdio-common/tst-unbputc.sh: Likewise.
14672 * stdlib/tst-fmtmsg.sh: Likewise.
14673 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14674 * catgets/Makefile: Do not specify -e option when running
14675 testsuite shell scripts.
14676 * elf/Makefile: Likewise.
14677 * grp/Makefile: Likewise.
14678 * iconvdata/Makefile: Likewise.
14679 * intl/Makefile: Likewise.
14680 * io/Makefile: Likewise.
14681 * libio/Makefile: Likewise.
14682 * malloc/Makefile: Likewise.
14683 * posix/Makefile: Likewise.
14684 * stdio-common/Makefile: Likewise.
14685 * stdlib/Makefile: Likewise.
14686 * sysdeps/x86_64/Makefile: Likewise.
14687
9a9028b1
DL
14688 * io/ftwtest-sh: Add copyright header.
14689 * posix/globtest.sh: Likewise.
14690 * posix/tst-getconf.sh: Likewise.
14691 * posix/wordexp-tst.sh: Likewise.
14692 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14693
ced6f16e
L
146942012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14695
94b32c39
L
14696 [BZ #13679]
14697 * Makeconfig (+link): Defined as $(+link-static) if
14698 $(build-shared) isn't yes.
14699 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14700 isn't yes.
14701 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14702
189e935b
L
14703 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14704
ced6f16e
L
14705 [BZ #14562]
14706 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14707 new chunk size with MALLOC_ALIGN_MASK.
14708
a9f8e53a
JM
147092012-09-24 Joseph Myers <joseph@codesourcery.com>
14710
14711 [BZ #5044]
14712 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14713 <rounding-mode.h>.
14714 (__printf_fphex): Determine rounding using get_rounding_mode and
14715 round_away.
14716 * stdio-common/tst-printf-round.c (struct hex_test): New
14717 structure.
14718 (hex_tests): New variable.
14719 (test_hex_in_one_mode): New function.
14720 (do_test): Also run tests for hex float output.
14721
43153109
JM
147222012-09-21 Joseph Myers <joseph@codesourcery.com>
14723
14724 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14725 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14726 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14727 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14728 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14729 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14730 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14731 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14732
8a26625d
JM
147332012-09-20 Joseph Myers <joseph@codesourcery.com>
14734
14735 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14736 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14737 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14738 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14739
f3fd569c
DL
147402012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14741
14742 [BZ #14579]
14743 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14744 mode only.
14745 * elf/tst-rtld-load-self.sh: New test.
14746 * elf/Makefile: Run it.
14747
63bbedd4
JM
147482012-09-18 Joseph Myers <joseph@codesourcery.com>
14749
14750 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14751 (tst-writev-ENV): Remove.
14752 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14753
626f8b6a
CM
147542012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14755
14756 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14757
b7aaa4d6
JM
147582012-09-17 Joseph Myers <joseph@codesourcery.com>
14759
14760 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14761 unconditional.
14762 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14763 Likewise.
14764 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14765 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14766 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14767 Likewise.
14768
65513990
L
147692012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14770
14771 [BZ #14587]
14772 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14773 * config.make.in (have-cpp-asm-debuginfo): Removed.
14774 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14775 * configure: Regenerated.
14776
784761be
JM
147772012-09-14 Joseph Myers <joseph@codesourcery.com>
14778
14779 [BZ #5044]
14780 * stdio-common/printf_fp.c: Include <stdbool.h> and
14781 <rounding-mode.h>.
14782 (___printf_fp): Determine rounding using get_rounding_mode and
14783 round_away.
14784 * stdio-common/tst-printf-round.c: New file.
14785 * stdio-common/Makefile (tests): Add tst-printf-round.
14786 (link-libm): New variable.
14787 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14788
9503345f
L
147892012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14790
14791 [BZ #14576]
14792 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14793 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14794 Likewise.
14795 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14796 Likewise.
14797
ad35fc00
JM
147982012-09-13 Joseph Myers <joseph@codesourcery.com>
14799
14800 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14801 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14802 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14803 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14804
6c9b0f68
JM
148052012-09-12 Joseph Myers <joseph@codesourcery.com>
14806
14807 [BZ #14518]
14808 * include/rounding-mode.h: New file.
14809 * sysdeps/generic/get-rounding-mode.h: Likewise.
14810 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14811 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14812 (MAX_VALUE): New macro.
14813 (MIN_VALUE): Likewise.
14814 (overflow_value): New function.
14815 (underflow_value): Likewise.
14816 (round_and_return): Use overflow_value and underflow_value to
14817 determine return values in overflow and underflow cases. Use
14818 round_away to determine rounding depending on rounding mode.
14819 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14820 determine return values in overflow and underflow cases.
14821 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14822 (struct test_results): New structure.
14823 (struct test): Use struct test_results to store expected results
14824 for all rounding modes.
14825 (TEST): Include expected results for all rounding modes.
14826 (test_in_one_mode): New function.
14827 (do_test): Use test_in_one_mode to compute and check results.
14828 Check results for all rounding modes.
14829 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14830 $(link-libm).
14831
19fcedd5
AM
148322012-12-09 Allan McRae <allan@archlinux.org>
14833
1e9d84cd 14834 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14835
8bbfd2f1
JM
148362012-09-11 Joseph Myers <joseph@codesourcery.com>
14837
14838 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14839 (_G_int32_t): Likewise.
14840 (_G_uint16_t): Likewise.
14841 (_G_uint32_t): Likewise.
14842 (_G_HAVE_BOOL): Likewise.
14843 (_G_HAVE_ATEXIT): Likewise.
14844 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14845 (_G_HAVE_IO_FILE_OPEN): Likewise.
14846 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14847 (_G_int32_t): Likewise.
14848 (_G_uint16_t): Likewise.
14849 (_G_uint32_t): Likewise.
14850 (_G_HAVE_BOOL): Likewise.
14851 (_G_HAVE_ATEXIT): Likewise.
14852 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14853 (_G_HAVE_IO_FILE_OPEN): Likewise.
14854 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14855 (_G_int32_t): Likewise.
14856 (_G_uint16_t): Likewise.
14857 (_G_uint32_t): Likewise.
14858 (_G_HAVE_BOOL): Likewise.
14859 (_G_HAVE_ATEXIT): Likewise.
14860 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14861 (_G_HAVE_IO_FILE_OPEN): Likewise.
14862
b1dc5912
L
148632012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14864
14865 * csu/libc-tls.c: Update copyright years.
14866
0e886ef9
JM
148672012-09-10 Joseph Myers <joseph@codesourcery.com>
14868
28361c5e
JM
14869 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14870 [!_G_USING_THUNKS]: Remove conditional code.
14871 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14872 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14873
0e886ef9
JM
14874 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14875 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14876 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14877 (_G_VTABLE_LABEL_PREFIX): Likewise.
14878 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14879 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14880 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14881 (_G_VTABLE_LABEL_PREFIX): Likewise.
14882 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14883 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14884 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14885 (_G_VTABLE_LABEL_PREFIX): Likewise.
14886 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14887
bcba7aa2
L
148882012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14889
14890 * libio/Makefile: Include ../Makeconfig before tests.
14891 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14892 only if $(build-shared) is yes.
14893
06585ee8
L
14894 * iconv/gconv_db.c: Update copyright years.
14895
80ccd52c
LD
148962012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14897
14898 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14899 unwind info if defined PIC. Fix special cases description.
14900 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14901
14902 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14903 DP_HI_MASK entry.
14904 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14905
691bc9c1
L
149062012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14907
3d9b46b3
L
14908 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14909
de2139a9
L
14910 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14911 is NULL.
14912
5ca78dd0
L
14913 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14914 (LDLIBS-tst-chk4): This.
14915 (LDFLAGS-tst-chk5): Renamed to ...
14916 (LDLIBS-tst-chk5): This.
14917 (LDFLAGS-tst-chk6): Renamed to ...
14918 (LDLIBS-tst-chk6): This.
14919 (LDFLAGS-tst-lfschk4): Renamed to ...
14920 (LDLIBS-tst-lfschk4): This.
14921 (LDFLAGS-tst-lfschk5): Renamed to ...
14922 (LDLIBS-tst-lfschk5): This.
14923 (LDFLAGS-tst-lfschk6): Renamed to ...
14924 (LDLIBS-tst-lfschk6): This.
14925
691bc9c1
L
14926 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14927 on $(common-objpfx)soversions.mk.
14928
65cafb1c
JM
149292012-09-07 Joseph Myers <joseph@codesourcery.com>
14930
14931 [BZ #10014]
14932 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14933 example host name.
14934
c78ab094
SP
149352012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14936
14937 * malloc/arena.c (arena_get_retry): New function that gets
14938 another arena for the caller to try its request on.
14939 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14940 current arena cannot fulfill the request.
14941 (__libc_memalign): Likewise.
14942 (__libc_memalign): Likewise.
14943 (__libc_pvalloc): Likewise.
14944 (__libc_calloc): Likewise.
14945
01f49f59
JT
149462012-09-05 John Tobey <john.tobey@gmail.com>
14947
14948 [BZ #13542]
14949 * manual/arith.texi (Operations on Complex): Fix description
14950 of carg branch cut.
14951
4c23fed5
JM
149522012-09-06 Joseph Myers <joseph@codesourcery.com>
14953
1d3c8572
JM
14954 [BZ #10014]
14955 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14956 host name.
14957
4c23fed5
JM
14958 [BZ #10038]
14959 * manual/memory.texi (Memory): Make order of menu items match
14960 order of sections.
14961
04570aaa
L
149622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14963
14964 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14965 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14966 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14967
b80af2f4
L
149682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14969
14970 * csu/libc-tls.c (static_dtv): Renamed to ...
14971 (_dl_static_dtv): This. Make it global.
14972 (_dl_initial_dtv): Removed.
14973 (__libc_setup_tls): Updated.
14974 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14975 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14976 DL_INITIAL_DTV.
14977
2abe9f15
PM
149782012-09-06 Petr Machata <pmachata@redhat.com>
14979
14980 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14981 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14982 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14983 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14984
0948c3af
L
149852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14986
14987 [BZ #14545]
14988 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14989 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14990 freeing dtv[-1].
14991
a5055ad1
L
149922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14993
14994 [BZ #14544]
14995 * Makeconfig (link-static-before-libc): Replace $(+prector)
14996 with $(+prectorT).
14997 (link-static-after-libc): Replace $(+postctor) with
14998 $(+postctorT).
14999 (link-bounded): Replace $(+prector)/$(+postctor) with
15000 $(+prectorT)/$(+postctorT).
15001 (+prectorT): New macro.
15002 (+postctorT): Likewise.
15003
ed8c2ecd
JM
150042012-09-06 Joseph Myers <joseph@codesourcery.com>
15005
15006 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15007 (round_str): Handle values above the maximum for IBM long double
15008 as inexact.
15009 * stdlib/tst-strtod-round.c (tests): Regenerated.
15010
14c996c8
AK
150112012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15012
15013 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15014 assembler flag.
15015 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15016 zarch_nohighgprs around the zarch optimized routines.
15017 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15018 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15019 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15020 for zarch.
15021
430d6ce6
DM
150222012-09-05 David S. Miller <davem@davemloft.net>
15023
15024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15025
ff04dda4
DM
15026 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15027 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15028 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15029 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15030 entries.
15031
24d4e01b
AO
150322012-09-05 Alexandre Oliva <aoliva@redhat.com>
15033
15034 * malloc/arena.c: Fold copyright years.
15035 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15036
61d58174
AO
150372012-09-05 Alexandre Oliva <aoliva@redhat.com>
15038
15039 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15040
20196a5e
AO
150412012-09-05 Alexandre Oliva <aoliva@redhat.com>
15042
15043 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15044
5c447383
AO
150452012-09-05 Alexandre Oliva <aoliva@redhat.com>
15046
15047 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15048 change internal state upon failure.
15049
fad64255
AO
150502012-09-05 Alexandre Oliva <aoliva@redhat.com>
15051
15052 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15053 * malloc/memusage.c (mmap): Likewise.
15054 (mmap64, mremap): Likewise. Adjust name in comment.
15055
1ffb8c90
SP
150562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15057
15058 * libio/fileops.c: Fix typos in comments.
15059 * libio/oldfileops.c: Likewise.
15060 * libio/wfileops.c: Likewise.
15061
6ef9cc37
SP
150622012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15063
15064 [BZ #1349]
15065 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15066 (tst-malloc-usable-ENV): Set environment for test case.
15067 * malloc/hooks.c (malloc_check_get_size): New function to get
15068 requested size.
15069 * malloc/malloc.c (musable): Use malloc_check_get_size.
15070 * malloc/tst-malloc-usable.c: New test case.
15071
4d038ae3
AS
150722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15073
15074 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15075
c4e85184
AM
150762012-09-05 Allan McRae <allan@archlinux.org>
15077
b9dafc56 15078 [BZ #13966]
c4e85184
AM
15079 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15080 determine header location.
15081 * configure: Regenerated.
15082
e1343020
AS
150832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15084
15085 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15086 float format.
15087 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
15088 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15089 format.
e1343020
AS
15090 (test): Regenerate.
15091
0a9f1987
DM
150922012-09-04 David S. Miller <davem@davemloft.net>
15093
15094 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15095 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15096 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15097
29237804
FW
150982012-09-04 Florian Weimer <fweimer@redhat.com>
15099
15100 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15101 failures.
15102
edb3cb88
FW
15103 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15104
60160d83
JM
151052012-09-04 Joseph Myers <joseph@codesourcery.com>
15106
15107 [BZ #9914]
15108 * libio/iogetdelim.c: Include <limits.h>.
15109 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15110 + len + 1 would overflow.
15111
bcd6c8dc
AJ
151122012-09-03 Andreas Jaeger <aj@suse.de>
15113
15114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15115 * sysdeps/i386/fpu/libm-test-ulps: Update.
15116
4ffffbd2
LD
151172012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15118
15119 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15120 Add s_sinf-sse2, s_conf-sse2.
15121
15122 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15123 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15124 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15125 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15126
15127 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15128 for using routine as __sinf_ia32.
15129 Use macro for function declaration and weak_alias.
15130 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15131 for using routine as __cosf_ia32.
15132 Use macro for function declaration and weak_alias.
15133
15134 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15135 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15136
15137 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15138 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15140
15141 * math/libm-test.inc (cos_test): Add more test cases.
15142 (sin_test): Likewise.
15143 (sincos_test): Likewise.
15144
511fa286
AK
151452012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15146
15147 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15148 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15149 hidden.
15150 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15151
5f30cfec
L
151522012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15153
15154 [BZ #14538]
15155 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15156 first element of the GOT.
15157 (elf_machine_load_address): Return the difference between
15158 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15159
0786794f
AM
151602012-09-01 Allan McRae <allan@archlinux.org>
15161
5f30cfec
L
15162 [BZ #13412]
15163 * configure.in (AWK): Require gawk version 3.0 or later.
15164 * configure: Regenerated.
0786794f 15165
26889eac
JM
151662012-09-01 Joseph Myers <joseph@codesourcery.com>
15167
15168 * sysdeps/unix/sysv/linux/kernel-features.h
15169 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15170 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15171 [__NR_clock_getres]: Make code unconditional.
15172 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15173 (clock_getcpuclockid): Remove code left unreachable by removal of
15174 conditionals.
15175 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15176 code unconditional.
15177 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15178 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15179 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15180 Make code unconditional.
15181 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15182 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15183 * sysdeps/unix/sysv/linux/clock_settime.c
15184 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15185 conditional code.
15186 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15187 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15188
d22e28b0
L
151892012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15190
15191 [BZ #14476]
15192 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15193 scripts/test-installation.pl.
15194
15195 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15196 and $ld_so_version if it is set.
15197
050af9c4
SP
151982012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15199
15200 [BZ #14516]
15201 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15202 failure if reading from procfs failed.
15203 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15204
ad845c0b
JM
152052012-08-27 Joseph Myers <joseph@codesourcery.com>
15206
15207 * sysdeps/unix/sysv/linux/kernel-features.h
15208 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15209 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15210 Remove conditional code.
15211 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15212 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15213 Remove conditional code.
15214 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15215 * sysdeps/unix/sysv/linux/i386/fxstat.c
15216 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15217 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15218 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15219 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15220 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15221 * sysdeps/unix/sysv/linux/i386/lxstat.c
15222 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15223 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15224 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15225 Remove conditional code.
15226 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15227 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15228 Remove conditional code.
15229 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15230 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15231 <kernel-features.h>.
15232 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15233 Remove.
15234 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15235 Remove conditional code.
15236 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15237 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15238 Remove conditional.
15239
5dbf56af
MF
152402012-08-27 Mike Frysinger <vapier@gentoo.org>
15241
15242 [BZ #5400]
15243 * NEWS: Add fixed bug number.
15244
d6e70f43
JM
152452012-08-27 Joseph Myers <joseph@codesourcery.com>
15246
7efb4737
JM
15247 [BZ #14519]
15248 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15249 underflowing exponent in case of negative sign.
15250 * stdlib/tst-strtod-round-data: Add more tests.
15251 * stdlib/tst-strtod-round.c (tests): Regenerated.
15252
af92131a
JM
15253 [BZ #3479]
15254 * stdlib/strtod_l.c (NDIG): Remove.
15255 (HEXNDIG): Likewise.
15256 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15257 smallest representable value.
15258 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15259 lie within an exact representation of 1/2 ulp of the result.
15260 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15261 unconditionally.
15262 (TENS_P9_IDX): Define unconditionally.
15263 (TENS_P9_SIZE): Likewise.
15264 (TENS_P10_IDX): Likewise.
15265 (TENS_P10_SIZE): Likewise.
15266 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15267 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15268 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15269 entries for 10^2^13 and 10^2^14.
15270 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15271 (TENS_P13_IDX): Define.
15272 (TENS_P13_SIZE): Likewise.
15273 (TENS_P14_IDX): Likewise.
15274 (TENS_P14_SIZE): Likewise.
15275 (_fpioconst_pow10): Change array size to
15276 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15277 unconditional.
15278 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15279 1024]: Add entries for 10^2^13 and 10^2^14.
15280 [LAST_POW10 > _LAST_POW10]: Remove #error.
15281 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15282 (_fpioconst_pow10): Change array size to
15283 FPIOCONST_POW10_ARRAY_SIZE.
15284 * stdlib/gen-fpioconst.c: New file.
15285 * stdlib/gen-tst-strtod-round.c: Likewise.
15286 * stdlib/tst-strtod-round-data: Likewise.
15287 * stdlib/tst-strtod-round.c: Likewise.
15288 * stdlib/Makefile (tests): Add tst-strtod-round.
15289
d6e70f43
JM
15290 [BZ #14459]
15291 * stdlib/strtod_l.c: Include <stdint.h>.
15292 (NDEBUG): Do not define.
15293 (round_and_return): Change EXPONENT parameter to type intmax_t.
15294 Rearrange calculations to avoid internal overflow possibilities.
15295 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15296 Rearrange calculations to avoid internal overflow possibilities.
15297 Assert that number fits inside MPNSIZE limbs.
15298 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15299 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15300 calculations and add assertions to avoid internal overflow
15301 possibilities. Add casts to avoid signed/unsigned operations.
15302 * stdlib/tst-strtod-overflow.c: New file.
15303 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15304
1f529f7d
MP
153052012-08-25 Marek Polacek <polacek@redhat.com>
15306
15307 * time/time.h: Fix some typos in comments.
15308
59a629f1
RM
153092012-08-23 Roland McGrath <roland@hack.frob.com>
15310
15311 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15312 * posix/tst-rfc3484-2.c: Likewise.
15313 * posix/tst-rfc3484-3.c: Likewise.
15314
d3bafbc9
SM
153152012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15316
15317 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15318 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15319
4efcc022
JM
153202012-08-23 Joseph Myers <joseph@codesourcery.com>
15321
15322 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15323 #include of fxstatat64.c.
15324
3cc3ef96
RM
153252012-08-22 Roland McGrath <roland@hack.frob.com>
15326
f04e2132
RM
15327 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15328 * shadow/getspent_r.c: Likewise.
15329 * shadow/getspnam.c: Likewise.
15330 * shadow/getspnam_r.c: Likewise.
15331 * gshadow/getsgent.c: Likewise.
15332 * gshadow/getsgent_r.c: Likewise.
15333 * gshadow/getsgnam.c: Likewise.
15334 * gshadow/getsgnam_r.c: Likewise.
15335 * inet/getnetbyad.c: Likewise.
15336 * inet/getnetbyad_r.c: Likewise.
15337 * inet/getnetbynm.c: Likewise.
15338 * inet/getnetbynm_r.c: Likewise.
15339 * inet/getnetent.c: Likewise.
15340 * inet/getnetent_r.c: Likewise.
15341 * inet/getproto.c: Likewise.
15342 * inet/getproto_r.c: Likewise.
15343 * inet/getprtent.c: Likewise.
15344 * inet/getprtent_r.c: Likewise.
15345 * inet/getprtname.c: Likewise.
15346 * inet/getprtname_r.c: Likewise.
15347 * inet/getrpcbyname.c: Likewise.
15348 * inet/getrpcbyname_r.c: Likewise.
15349 * inet/getrpcbynumber.c: Likewise.
15350 * inet/getrpcbynumber_r.c: Likewise.
15351 * inet/getrpcent.c: Likewise.
15352 * inet/getrpcent_r.c: Likewise.
15353 * inet/getaliasent.c: Likewise.
15354 * inet/getaliasent_r.c: Likewise.
15355 * inet/getaliasname.c: Likewise.
15356 * inet/getaliasname_r.c: Likewise.
15357 * nscd/getgrgid_r.c: Likewise.
15358 * nscd/getgrnam_r.c: Likewise.
15359 * nscd/gethstbyad_r.c: Likewise.
15360 * nscd/gethstbynm3_r.c: Likewise.
15361 * nscd/getpwnam_r.c: Likewise.
15362 * nscd/getpwuid_r.c: Likewise.
15363 * nscd/getsrvbynm_r.c: Likewise.
15364 * nscd/getsrvbypt_r.c: Likewise.
15365 * nscd/gai.c: Likewise.
15366
c53d909c
RM
15367 * configure.in (build_nscd): New substituted variable, set
15368 by --disable-build-nscd and defaults to $use_nscd.
15369 * configure: Regenerated.
15370 * config.make.in (build-nscd): New substituted variable.
15371 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15372 Change conditional to require [$(build-nscd) = yes] as well.
15373 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15374
3cc3ef96
RM
15375 [BZ# 13696]
15376 * configure.in (use_nscd): New substituted variable, set by
15377 --disable-nscd. If enabled, define USE_NSCD.
15378 * configure: Regenerated.
15379 * config.h.in: Add USE_NSCD.
15380 * config.make.in (use-nscd): New substituted variable.
15381 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15382 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15383 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15384 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15385 (CFLAGS-getgrnam_r.c): Likewise.
15386 (CFLAGS-initgroups.c): Likewise.
15387 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15388 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15389 Variables removed.
15390 * inet/getnetgrent_r.c
15391 (nscd_setnetgrent): New function, broken out of ...
15392 (setnetgrent): ... here. Call it.
15393 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15394 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15395 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15396 * nscd/Makefile (routines, aux): Move definitions after include of
15397 Makeconfig. Conditionalize on [$(use-nscd) != no].
15398 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15399 Conditionalize on [USE_NSCD].
15400 (is_nscd, nscd_init_cb): Likewise.
15401 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15402 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15403 * nss/nss_db/db-init.c: Likewise.
15404 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15405 [USE_NSCD].
15406 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15407 (make_request): Use it.
15408 (cache_valid_p): New function.
15409 (__check_pf): Use it.
15410 * NEWS: Add item for --disable-nscd.
15411
07e51550
DL
154122012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15413
15414 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15415 to support sed >= 4.2.1-20-ga9bf076.
15416 * configure: Regenerated.
15417
35a5b08b
RM
154182012-08-22 Roland McGrath <roland@hack.frob.com>
15419
15420 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15421 Conditionalize whole body on [IREL].
15422
8479f23a
JL
154232012-08-22 Jeff Law <law@redhat.com>
15424
15425 [BZ #14505]
15426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15427 if the family is PF_UNSPEC.
15428
48da0b21
MF
154292012-08-22 Mike Frysinger <vapier@gentoo.org>
15430
15431 * Makerules (lib-version): Rename from V.
15432 (install-lib-nosubdir): Change V to lib-version.
15433
15d0da8c
WS
154342012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15435
15436 [BZ #14252]
15437 * powerpc32/power6/wcschr.c: New file.
15438 * powerpc32/power6/wcscpy.c: New file.
15439 * powerpc32/power6/wcsrchr.c: New file.
15440 * powerpc64/power6/wcschr.c: New file.
15441 * powerpc64/power6/wcscpy.c: New file.
15442 * powerpc64/power6/wcsrchr.c: New file.
15443
bcca0895
MK
154442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15445
15446 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15447 (two_way_short_needle): Use it.
5a4aaa33
RM
15448 * string/strstr.c (AVAILABLE1_USES_J): Define.
15449 * string/strcasestr.c: Likewise.
99677e57
MK
15450
15451 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15452 array references.
15453 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15454
400726de
MK
15455 [BZ #11607]
15456 * NEWS: Add an entry.
15457 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15458 define their defaults.
15459 (two_way_short_needle): Detect end-of-string on-the-fly.
15460 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15461 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15462 * string/bug-strcasestr1.c: New test.
15463 * string/Makefile: Run it.
15464
20a71f2c
MK
154652012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15466
15467 [BZ #11607]
15468 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15469 the first character.
15470
21ad0558
RM
154712012-08-21 Roland McGrath <roland@hack.frob.com>
15472
15473 * csu/elf-init.c (__libc_csu_irel): Function removed.
15474 * csu/libc-start.c (apply_irel): New function.
15475 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15476
0e1d9911
JM
154772012-08-21 Joseph Myers <joseph@codesourcery.com>
15478
15479 * sysdeps/unix/sysv/linux/kernel-features.h
15480 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15481 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15482 <kernel-features.h>.
15483 [__NR_fadvise64_64]: Make code unconditional.
15484 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15485 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15486 !__NR_fadvise64_64)]: Likewise.
15487 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15488 !__NR_fadvise64_64))]: Likewise.
15489 [__NR_fadvise64]: Make code unconditional.
15490 [!__NR_fadvise64]: Remove conditional code.
15491 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15492 <kernel-features.h>.
15493 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15494 unconditional.
15495 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15496 conditional code.
15497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15498 not include <kernel-features.h>.
15499 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15500 unconditional.
15501 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15502 conditional code.
15503 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15504 include <kernel-features.h>.
15505 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15506 unconditional.
15507 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15508 conditional code.
15509
14a50c9d
WS
155102012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15511
15512 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15513 slight instruction rearrangements per scrollpipe analysis.
15514 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15515
c0f4faf0
RM
155162012-08-20 Roland McGrath <roland@hack.frob.com>
15517
696da859
RM
15518 * manual/syslog.texi (syslog; vsyslog, closelog):
15519 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15520 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15521
c0f4faf0
RM
15522 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15523 DSOCAPS to match condition on defining it.
15524
348363b2
JM
155252012-08-20 Joseph Myers <joseph@codesourcery.com>
15526
a35cbf28
JM
15527 * sysdeps/unix/sysv/linux/kernel-features.h
15528 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15530 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15531 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15533 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15534 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15536 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15537 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15538
445f7ecd
JM
15539 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15540 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15541
348363b2
JM
15542 * sysdeps/unix/sysv/linux/kernel-features.h
15543 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15544 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15545 unconditional.
15546 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15547 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15548 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15549 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15550 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15551 Make code unconditional.
15552 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15553 (__mmap64) [!__NR_mmap2]: Likewise.
15554 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15555 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15556 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15557 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15558 [__NR_mmap2]: Make code unconditional.
15559 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15560 (__mmap64) [!__NR_mmap2]: Likewise.
15561
bc5bc0e5
AK
155622012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15563
15564 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15565
88d506de
AJ
155662012-08-18 Andreas Jaeger <aj@suse.de>
15567
15568 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15569
493387d2
MF
155702012-08-18 Mike Frysinger <vapier@gentoo.org>
15571
15572 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15573 * include/unistd.h (__have_sock_cloexec): Likewise.
15574 (__have_pipe2): Likewise.
15575 (__have_dup3): Likewise.
15576
a277af22
MF
155772012-08-18 Mike Frysinger <vapier@gentoo.org>
15578
15579 [BZ #9685]
15580 * include/unistd.h (__have_pipe2): Change define into an extern int.
15581 (__have_dup3): Likewise.
15582 * socket/have_sock_cloexec.c: Include fcntl.h.
15583 (__have_pipe2): New variable.
15584 (__have_dup3): Likewise.
15585
fdab8fd3
MF
155862012-08-17 Mike Frysinger <vapier@gentoo.org>
15587
15588 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15589
31035e80
MP
155902012-08-17 Marek Polacek <polacek@redhat.com>
15591
15592 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15593 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15594
3bd9e993
RM
155952012-08-17 Roland McGrath <roland@hack.frob.com>
15596
c91c505f
RM
15597 * configure.in: Add AC_SUBST for sysheaders.
15598 * configure: Regenerated.
15599 * config.make.in (sysheaders): New substituted variable.
15600
7c6f9d53
RM
15601 * sysdeps/unix/mkfifo.c: Moved ...
15602 * sysdeps/posix/mkfifo.c: ... here.
15603 * sysdeps/unix/mkfifoat.c: Moved ...
15604 * sysdeps/posix/mkfifoat.c: ... here.
15605
15606 * sysdeps/unix/utime.c: Moved ...
15607 * sysdeps/posix/utime.c: ... here.
15608
15609 * sysdeps/unix/time.c: Moved ...
15610 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
15611 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15612 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
15613
15614 * sysdeps/unix/nice.c: Moved ...
15615 * sysdeps/posix/nice.c: ... here.
15616
15617 * sysdeps/unix/alarm.c: Moved ...
15618 * sysdeps/posix/alarm.c: ... here.
15619
3bd9e993
RM
15620 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15621
d1f09384
JL
156222012-08-17 Jeff Law <law@redhat.com>
15623
15624 * intl/Makefile (codeset_mo): New variable.
15625 ($(codeset_mo)): New target.
15626 (tst-codeset.out): Depend on that. Remove explicit rule.
15627 (tst-gettext3.out, tst-gettext5.out): Likewise.
15628 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15629 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15630 * intl/tst-codeset.sh: Remove.
15631 * intl/tst-gettext3.sh: Likewise.
15632 * intl/tst-gettext5.sh: Likewise.
15633
2ae1ae5c
RM
156342012-08-17 Roland McGrath <roland@hack.frob.com>
15635
c31fdb83
RM
15636 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15637 * sysdeps/unix/syscalls.list: ... here.
15638
a0844057
RM
15639 * sysdeps/posix/getaddrinfo.c
15640 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15641 (gaiconf_init, gaiconf_reload): Use them.
15642 [!_STATBUF_ST_NSEC]
15643 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15644 Define using time_t rather than struct timespec.
15645
750c1f2a
RM
15646 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15647 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15648 Macros removed.
15649 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15650 [!NO_THREADS].
15651 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15652 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15653 Likewise.
15654
2ae1ae5c
RM
15655 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15656 __libc_cleanup_push argument.
15657
e66a42f5
RM
15658 * bits/param.h: New file.
15659 * misc/sys/param.h: New file.
15660 * include/sys/param.h: New file.
15661 * misc/Makefile (headers): Add bits/param.h.
15662 * sysdeps/generic/sys/param.h: File removed.
15663 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15664 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15665 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15666 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15667
b7c08a66
RM
15668 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15669 last change.
15670
b2e1c562
RM
15671 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15672 [_IO_MTSAFE_IO].
15673 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15674 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15675 New macros.
15676
c75ccd4c
RM
15677 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15678 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15679 rather than -D_IO_MTSAFE_IO conditionally.
15680 * stdio-common/Makefile (CPPFLAGS): Likewise.
15681 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15682 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15683 Use $(libio-mtsafe).
15684 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15685 of -D_IO_MTSAFE_IO.
15686 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15687 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15688 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15689 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15690 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15691 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15692 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15693 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15694 (CFLAGS-fread_u_chk.c): Likewise.
15695 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15696 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15697 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15698 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15699 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15700 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15701 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15702 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15703 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15704
15705 * libio/Makefile: Test [$(libc-reentrant) = yes]
15706 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15707
15708 * Makeconfig
15709 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15710 * sysdeps/pthread/configure: File removed.
15711 * sysdeps/pthread/Makeconfig: New file.
15712 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15713 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15714
d9195db8
GB
157152012-08-16 Gary Benson <gbenson@redhat.com>
15716
15717 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15718 unmapping the first object in a namespace.
15719
86466cd9
RM
157202012-08-16 Roland McGrath <roland@hack.frob.com>
15721
15722 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15723 (__internal_setnetgrent): ... this. Add internal_function to
15724 definition. Add libc_hidden_def.
15725 (setnetgrent): Update caller.
15726 (internal_endnetgrent): Renamed to ...
15727 (__internal_endnetgrent): ... this. Add internal_function to
15728 definition. Add libc_hidden_def.
15729 (endnetgrent): Update caller.
15730 (internal_getnetgrent_r): Renamed to ...
15731 (__internal_getnetgrent_r): ... this. Add internal_function to
15732 definition. Add libc_hidden_def.
15733 (__getnetgrent_r): Update caller.
15734 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15735
c3c8283c
JM
157362012-08-16 Joseph Myers <joseph@codesourcery.com>
15737
15738 * stdlib/longlong.h: Update from GCC.
15739
db1ee0a8
RM
157402012-08-16 Roland McGrath <roland@hack.frob.com>
15741
15742 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15743 on _QL, which is set by umul_ppmm but never used.
15744 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15745 variables, which are set by GMP macros but never used.
15746 * stdio-common/_itowa.c (_itowa): Likewise.
15747 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15748 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15749
30f69637
CD
157502012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15751
15752 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15753 struct La_sh_regs is not constant.
15754 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15755 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15756 and struct La_sparc64_regs are not constant.
15757
93a78ac4
JM
157582012-08-16 Joseph Myers <joseph@codesourcery.com>
15759
15760 * sysdeps/unix/sysv/linux/kernel-features.h
15761 (__ASSUME_POSIX_TIMERS): Remove.
15762 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15763 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15764 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15765 Make code unconditional.
15766 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15767 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15768 Make code unconditional.
15769 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15770 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15771 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15772 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15773 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15774 Make code unconditional.
15775 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15776 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15777 (__libc_missing_posix_timers): Remove.
15778
dd924cd7
RM
157792012-08-15 Roland McGrath <roland@hack.frob.com>
15780
4b4f2771
RM
15781 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15782 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15783
601c888b
RM
15784 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15785
176790a7
RM
15786 * elf/dl-sym.c: Include <stdlib.h>.
15787
329bc018
RM
15788 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15789 constants, which avoids warnings in 32-bit builds.
15790
e04e272d
RM
15791 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15792 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15793
952bf94a
RM
15794 * misc/lseek.c: File moved to ...
15795 * io/lseek.c: ... here.
15796
7c99b50a
RM
15797 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15798
dd924cd7
RM
15799 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15800 shifting LEN more than 31 bits at once.
15801
b3f479a8
LD
158022012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15803
15804 [BZ #14195]
8c4ae0d4
RM
15805 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15806 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15807 * string/test-strncasecmp.c (check1): Renamed to...
15808 (bz12205): ...this.
15809 (bz14195): Add new testcase for two empty input strings and N > 0.
15810 (test_main): Call new testcase, adapt for renamed function.
15811
9c55864e
AJ
158122012-08-15 Andreas Jaeger <aj@suse.de>
15813
15814 [BZ #14090]
15815 * crypt/md5test2.c: New test, based on test supplied by Serge
15816 Belyshev <belyshev@depni.sinp.msu.ru>.
15817 * crypt/Makefile (xtests): Add md5test-giant..
15818 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15819
02dcb6c5
PE
158202012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15821
15822 [BZ #14090]
15823 * crypt/md5.c (md5_process_block): Don't assume the buffer
15824 length is less than 2**32.
15825 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15826 length is less than 2**64.
15827
a3f95dcc
RM
158282012-08-15 Roland McGrath <roland@hack.frob.com>
15829
be75d758
RM
15830 * string/str-two-way.h: Include <sys/param.h>.
15831 (MAX): Macro removed.
15832
7312ca90
RM
15833 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15834 Move #define and #undef of memmove to just before and after
15835 including <string.h>.
15836
9a0a5486
RM
15837 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15838 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15839 and after including <string.h>. Move declarations of
15840 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15841 to before #include "string/memmove.c".
15842
67cc348d
RM
15843 * include/dirent.h: Declare __getdirentries.
15844
a3f95dcc
RM
15845 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15846 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15847
ca98e171
MF
158482012-08-14 Mike Frysinger <vapier@gentoo.org>
15849
15850 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15851 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15852 * sysdeps/i386/configure: Regenerated.
15853 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15854 STABS_CURRENT_FILE, and STABS_FUN.
15855 (END): Remove call to STABS_FUN_END.
15856 (STABS_CURRENT_FILE1): Delete.
15857 (STABS_CURRENT_FILE): Likewise.
15858 (STABS_FUN): Likewise.
15859 (STABS_FUN_END): Likewise.
15860 (STABS_FUN2): Likewise.
15861 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15862 * sysdeps/x86_64/configure: Regenerated.
15863
5908bf46
RM
158642012-08-14 Roland McGrath <roland@hack.frob.com>
15865
15866 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15867 * elf/dl-lookup.c: Likewise.
5908bf46 15868
f2c05b9e
JM
158692012-08-14 Joseph Myers <joseph@codesourcery.com>
15870
15871 * sysdeps/unix/sysv/linux/kernel-features.h
15872 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15873 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15874 unconditionally.
15875 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15876 unconditionally.
15877 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15878 condition on __ASSUME_CLONE_THREAD_FLAGS.
15879
e11f5155
AJ
158802012-08-14 Andreas Jaeger <aj@suse.de>
15881
15882 * sysdeps/i386/fpu/libm-test-ulps: Update.
15883
51a9ba86
MK
158842012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15885
2fdd4f78
AJ
15886 * include/atomic.h (atomic_exchange_and_add): Split into ...
15887 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15888 New atomic macros.
51a9ba86 15889
ba6cba9e
MT
158902012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15891
15892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15893
42443a47
JL
158942012-08-13 Jeff Law <law@redhat.com>
15895
15896 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15897 null byte in the output string.
15898
121dce05
JM
158992012-08-10 Joseph Myers <joseph@codesourcery.com>
15900
15901 * sysdeps/unix/sysv/linux/kernel-features.h
15902 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15903 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15904 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15905 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15906 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15907 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15908 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15909
bf51f568
JL
159102012-08-09 Jeff Law <law@redhat.com>
15911
15912 [BZ #13939]
15913 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15914 When avoid_arena is set, don't retry in the that arena. Pick the
15915 next one, whatever it might be.
15916 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15917 (arena_lock): Pass in new parameter to arena_get2.
15918 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15919 arena_get2.
15920 (__libc_malloc): Unify retrying after main arena failure with
15921 __libc_memalign version.
15922 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15923
f85fa270
L
159242012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15925
15926 [BZ #14166]
15927 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15928 to __redirect_strstr.
15929 (__strstr_sse42): Use typeof __redirect_strstr.
15930 (__strstr_ia32): Likewise.
15931 (__libc_strstr): New prototype.
15932 (strstr): Renamed to ...
15933 (__libc_strstr): This.
15934 (strstr): New strong alias of __libc_strstr.
15935 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15936 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15937 __redirect_time.
15938 Include <time.h>.
15939 (__libc_time): New prototype.
15940 (time_ifunc): Replace time with __libc_time.
15941 (time): New strong alias and hidden definition of __libc_time.
15942 (__GI_time): Remove strong alias.
15943 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15944 Include <stddef.h>.
15945 (memmove): Redefined to __redirect_memmove.
15946 (__memmove_sse2): Use typeof __redirect_memmove.
15947 (__memmove_ssse3): Likewise.
15948 (__memmove_ssse3_back): Likewise.
15949 (__libc_memmove): New prototype.
15950 (memmove): Renamed to ...
15951 (__libc_memmove): This.
15952 (memmove): New strong alias of __libc_memmove.
15953
33b4a91e
MS
159542012-08-08 Mark Salter <msalter@redhat.com>
15955
15956 * elf/elf.h
15957 (R_MN10300_TLS_GD): Define.
15958 (R_MN10300_TLS_LD): Likewise.
15959 (R_MN10300_TLS_LDO): Likewise.
15960 (R_MN10300_TLS_GOTIE): Likewise.
15961 (R_MN10300_TLS_IE): Likewise.
15962 (R_MN10300_TLS_LE): Likewise.
15963 (R_MN10300_TLS_DTPMOD): Likewise.
15964 (R_MN10300_TLS_DTPOFF): Likewise.
15965 (R_MN10300_TLS_TPOFF): Likewise.
15966 (R_MN10300_SYM_DIFF): Likewise.
15967 (R_MN10300_ALIGN): Likewise.
15968 (R_MN10300_NUM): Update.
15969
b36137f1
JM
159702012-08-08 Joseph Myers <joseph@codesourcery.com>
15971
15972 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15973 Remove.
15974
cdd915fd
RM
159752012-08-08 Roland McGrath <roland@hack.frob.com>
15976
a2433aac
RM
15977 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15978
cdd915fd
RM
15979 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15980 sysdeps/unix -> sysdeps/posix move.
15981 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15982
bf9b740a
AM
159832012-08-07 Allan McRae <allan@archlinux.org>
15984
15985 [BZ #14303]
15986 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15987 (SUNOS_CPP): Likewise.
15988 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15989 not found.
15990 (open_input): Call CPP using execvp.
15991
93df14ee
JM
159922012-08-07 Joseph Myers <joseph@codesourcery.com>
15993
15994 * sysdeps/unix/sysv/linux/kernel-features.h
15995 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15996 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15997 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15998 (__ASSUME_WAITID_SYSCALL): Likewise.
15999 * sysdeps/unix/sysv/linux/dl-execstack.c
16000 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16001 code unconditional.
16002 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16003 conditional code.
16004 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16005 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16006 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16007 code.
16008 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16009 unconditional.
16010 [__ASSUME_WAITID_SYSCALL]: Likewise.
16011 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16012
d34689de
RM
160132012-08-07 Roland McGrath <roland@hack.frob.com>
16014
a281decc
RM
16015 * sysdeps/unix/closedir.c: Renamed to ...
16016 * sysdeps/posix/closedir.c: ... here.
16017 * sysdeps/unix/dirfd.c: Renamed to ...
16018 * sysdeps/posix/dirfd.c: ... here.
16019 * sysdeps/unix/dirstream.h: Renamed to ...
16020 * sysdeps/posix/dirstream.h: ... here.
16021 * sysdeps/unix/fdopendir.c: Renamed to ...
16022 * sysdeps/posix/fdopendir.c: ... here.
16023 * sysdeps/unix/opendir.c: Renamed to ...
16024 * sysdeps/posix/opendir.c: ... here.
16025 * sysdeps/unix/readdir.c: Renamed to ...
16026 * sysdeps/posix/readdir.c: ... here.
16027 * sysdeps/unix/readdir_r.c: Renamed to ...
16028 * sysdeps/posix/readdir_r.c: ... here.
16029 * sysdeps/unix/rewinddir.c: Renamed to ...
16030 * sysdeps/posix/rewinddir.c: ... here.
16031 * sysdeps/unix/seekdir.c: Renamed to ...
16032 * sysdeps/posix/seekdir.c: ... here.
16033 * sysdeps/unix/telldir.c: Renamed to ...
16034 * sysdeps/posix/telldir.c: ... here.
16035 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16036 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16037 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16038 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16039
22895b47
RM
16040 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16041 * bits/fcntl.h: ... here.
16042
707a53b6
RM
16043 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16044 not 0.
16045 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16046 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16047 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16048 (struct flock): Move l_start, l_len to the beginning.
16049 Use __pid_t for l_pid.
16050 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16051 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16052 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16053 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16054 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16055 [__USE_LARGEFILE64] (struct flock64): New type.
16056 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16057
f0bd3e25
RM
16058 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16059 * bits/dirent.h: ... here.
16060
d34689de
RM
16061 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16062 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16063
6dad2c06
JM
160642012-08-07 Joseph Myers <joseph@codesourcery.com>
16065
16066 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16067 Change from 2.6.0 to 2.6.16.
16068 * sysdeps/unix/sysv/linux/configure: Regenerated.
16069 * sysdeps/unix/sysv/linux/kernel-features.h
16070 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16071 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16072 version.
16073 (__ASSUME_UTIMES): Likewise.
16074 (__ASSUME_CLONE_STOPPED): Remove.
16075 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16076 architectures, not kernel version.
16077 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16078 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16079 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16080 (__ASSUME_WAITID_SYSCALL): Likewise.
16081 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16082 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16083 * README: State 2.6.16 as minimum Linux kernel version. Do not
16084 refer to older versions.
16085
03af9520
RM
160862012-08-06 Roland McGrath <roland@hack.frob.com>
16087
8e49df1d
RM
16088 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16089 Define alphasort64 as an alias.
16090 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16091 Define versionsort64 as an alias.
16092 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16093 Define scandir64 as an alias.
16094 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16095 Define scandirat64 as an alias.
16096 * dirent/alphasort64.c (alphasort64):
16097 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16098 * dirent/versionsort64.c: Likewise.
16099 * dirent/scandir64.c: Likewise.
16100 * dirent/scandirat64.c: Likewise.
16101 * sysdeps/wordsize-64/alphasort.c: File removed.
16102 * sysdeps/wordsize-64/alphasort64.c: File removed.
16103 * sysdeps/wordsize-64/scandir.c: File removed.
16104 * sysdeps/wordsize-64/scandir64.c: File removed.
16105 * sysdeps/wordsize-64/scandirat.c: File removed.
16106 * sysdeps/wordsize-64/scandirat64.c: File removed.
16107 * sysdeps/wordsize-64/versionsort.c: File removed.
16108 * sysdeps/wordsize-64/versionsort64.c: File removed.
16109 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16110 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16111 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16112 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16113 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16114 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16115 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16116 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16117
16118 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16119 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16120 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16121 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16122 [defined __arch64__ || defined __sparcv9]
16123 (__INO_T_MATCHES_INO64_T): New macro.
16124 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16125 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16126 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16127 * sysdeps/unix/sysv/linux/bits/dirent.h
16128 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16129 (_DIRENT_MATCHES_DIRENT64): New macro.
16130
03af9520
RM
16131 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16132 Define lockf64 as an alias.
16133 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16134 Define fseeko64 as an alias.
16135 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16136 Define ftello64 as an alias.
16137 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16138 Define _IO_fgetpos64 and fgetpos64 as aliases.
16139 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16140 Define _IO_fsetpos64 and fsetpos64 as aliases.
16141 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16142 Conditionalize body on this.
16143 * libio/fseeko64.c: Likewise.
16144 * libio/ftello64.c: Likewise.
16145 * libio/iofgetpos64.c: Likewise.
16146 * libio/iofsetpos64.c: Likewise.
16147 * sysdeps/wordsize-64/lockf.c: File removed.
16148 * sysdeps/wordsize-64/lockf64.c: File removed.
16149 * sysdeps/wordsize-64/fseeko.c: File removed.
16150 * sysdeps/wordsize-64/fseeko64.c: File removed.
16151 * sysdeps/wordsize-64/ftello.c: File removed.
16152 * sysdeps/wordsize-64/ftello64.c: File removed.
16153 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16154 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16155 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16156 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16157 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16158 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16159 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16160 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16161 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16162 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16163 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16164 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16165 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16166 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16167
16168 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16169 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16170 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16171 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16172 [defined __arch64__ || defined __sparcv9]
16173 (__OFF_T_MATCHES_OFF64_T): New macro.
16174 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16175 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16176 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16177 (__OFF_T_MATCHES_OFF64_T): New macro.
16178
c5757acd
L
161792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16180
16181 * stdlib/secure-getenv.c (__secure_getenv): Replace
16182 GLIBC_2_16 with GLIBC_2_17.
16183
3a31811e
L
161842012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16185
16186 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16187 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16188
faa2bccb
DM
161892012-08-03 David S. Miller <davem@davemloft.net>
16190
16191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16192
85fe1997
JM
161932012-08-03 Joseph Myers <joseph@codesourcery.com>
16194
16195 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16196 Remove.
16197 (__ASSUME_CORRECT_SI_PID): Likewise.
16198 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16199 (__ASSUME_TMPFS_NAME): Likewise.
16200 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16201 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16202 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16203 (HAVE_AUX_SECURE): Make definition unconditional.
16204 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16205 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16206
4f75b7a0
RM
162072012-08-03 Roland McGrath <roland@hack.frob.com>
16208
16209 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16210 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16211 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16212 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16213 __eloop_threshold instead of SYMLOOP_MAX.
16214
16215 * sysdeps/generic/eloop-threshold.h: New file.
16216 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16217 of MAXSYMLINKS.
16218 * elf/chroot_canon.c (chroot_canon): Likewise.
16219
7aab07e4
JM
162202012-08-03 Joseph Myers <joseph@codesourcery.com>
16221
16222 [BZ #13717]
16223 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16224 Change to 2.6.0 everywhere.
16225 * sysdeps/unix/sysv/linux/configure: Regenerated.
16226 * sysdeps/unix/sysv/linux/kernel-features.h
16227 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16228 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16229 kernel versions.
16230 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16231 (__ASSUME_FUTEX_REQUEUE): Remove.
16232 (__ASSUME_STATFS64): Define unconditionally.
16233 (__ASSUME_AT_SECURE): Likewise.
16234 (__ASSUME_CORRECT_SI_PID): Likewise.
16235 (__ASSUME_TGKILL): Define without depending on kernel version for
16236 i386.
16237 (__ASSUME_UTIMES): Likewise.
16238 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16239 kernel version.
16240 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16241 (__ASSUME_TMPFS_NAME): Likewise.
16242 * README: Update reference to Linux kernel versions.
16243
b67e9372
MP
162442012-08-02 Marek Polacek <polacek@redhat.com>
16245
1f529f7d 16246 [BZ# 14150]
b67e9372
MP
16247 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16248 libc_cv_asm_type_prefix with %.
16249 * configure: Regenerated.
d2441631
RM
16250 * include/libc-symbols.h: Remove comment about
16251 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
16252 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16253 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16254 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16255 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16256 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16257 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16258 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16259 * elf/tst-unique2mod1.c: Likewise.
16260 * elf/tst-unique1mod2.c: Likewise.
16261 * elf/tst-unique1mod1.c: Likewise.
16262 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16263 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16264 Replace ASM_TYPE_DIRECTIVE with .type.
16265 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16266 * sysdeps/i386/sysdep.h: Likewise.
16267 * sysdeps/x86_64/sysdep.h: Likewise.
16268 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
16269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16270 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 16271 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
16272 * sysdeps/powerpc/powerpc32/sysdep.h:
16273 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
16274 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16275 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16276 * sysdeps/i386/fpu/e_powf.S: Likewise.
16277 * sysdeps/i386/fpu/e_expl.S: Likewise.
16278 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16279 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16280 * sysdeps/i386/fpu/e_pow.S: Likewise.
16281 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16282 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16283 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16284 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16285 * sysdeps/i386/fpu/e_log2.S: Likewise.
16286 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16287 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16288 * sysdeps/i386/fpu/e_powl.S: Likewise.
16289 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16290 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16291 * sysdeps/i386/fpu/e_logl.S: Likewise.
16292 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16293 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16294 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16295 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16296 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16297 * sysdeps/i386/fpu/e_log.S: Likewise.
16298 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16299 * sysdeps/i386/fpu/e_logf.S: Likewise.
16300 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16301 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16302 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16303 * sysdeps/i386/fpu/e_log10.S: Likewise.
16304 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16305 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16306 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16307 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16308 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16309 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16310 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16311 * sysdeps/i386/i686/strtok.S: Likewise.
16312 * sysdeps/i386/i386-mcount.S: Likewise.
16313 * sysdeps/i386/strtok.S: Likewise.
16314 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16315 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16316 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16317 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16318 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16319 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16320 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16321 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16322 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16323 * sysdeps/x86_64/_mcount.S: Likewise.
16324 * sysdeps/x86_64/strtok.S: Likewise.
16325 * sysdeps/sh/_mcount.S: Likewise.
16326
2747bf9a
RM
163272012-08-01 Roland McGrath <roland@hack.frob.com>
16328
16329 * libio/iofopen.c: Include <fcntl.h>.
16330 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16331 (_IO_fopen64, fopen64): Define as aliases.
16332 * libio/iofopen64.c: Include <fcntl.h>.
16333 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16334 Conditionalize body on this.
16335 * sysdeps/wordsize-64/iofopen.c: File removed.
16336 * sysdeps/wordsize-64/iofopen64.c: File removed.
16337
3fb791b8
MP
163382012-08-01 Marek Polacek <polacek@redhat.com>
16339
16340 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16341 Use dlfcn directly instead of a variable.
16342 (binfmt-subdir): Do not define.
16343 (dlfcn): Likewise.
16344
a9f1039f
JM
163452012-08-01 Joseph Myers <joseph@codesourcery.com>
16346
23bddc06
JM
16347 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16348 Remove all definitions.
16349 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16350 <kernel-features.h>.
16351 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16352 (miss_F_GETOWN_EX): Remove all definitions.
16353 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16354 macro definition.
16355 [!__ASSUME_FCNTL64]: Remove conditional code.
16356 [__ASSUME_FCNTL64]: Make code unconditional.
16357 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16358 <kernel-features.h>.
16359 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16360 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16361 (lockf64) [__NR_fcntl64]: Make code unconditional.
16362 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16363
a9f1039f
JM
16364 * sysdeps/unix/sysv/linux/kernel-features.h
16365 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16366 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16367 Make code unconditional.
16368 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16369 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16371 [__NR_vfork]: Make code unconditional.
16372 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16373 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16375 [__NR_vfork]: Make code unconditional.
16376 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16377 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16378
09c0ee5f
RM
163792012-08-01 Roland McGrath <roland@hack.frob.com>
16380
48aec5b9
RM
16381 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16382 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16383
cd97c966
RM
16384 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16385 Define mkstemp64 as an alias.
3f55550c
RM
16386 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16387 Define mkstemps64 as an alias.
cd97c966
RM
16388 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16389 Define mkostemp64 as an alias.
b8625cfc
RM
16390 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16391 Define mkostemps64 as an alias.
cd97c966
RM
16392 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16393 Conditionalize body on this.
16394 * misc/mkostemp64.c: Likewise.
b8625cfc 16395 * misc/mkostemps64.c: Likewise.
3f55550c 16396 * misc/mkstemps64.c: Likewise.
cd97c966
RM
16397 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16398 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16399 * sysdeps/wordsize-64/mkostemp.c: File removed.
16400 * sysdeps/wordsize-64/mkstemp.c: File removed.
16401 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16402 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16403 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16404 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16405
09c0ee5f
RM
16406 [BZ #14138]
16407 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16408 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16409 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16410 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16411
16412 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16413 compat_symbol macros from <shlib-compat.h> rather than the underlying
16414 default_symbol_version and symbol_version macros, so that DEFAULT
16415 lines in shlib-versions are respected.
16416 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16417
7e66ee51
FW
164182012-08-01 Florian Weimer <fweimer@redhat.com>
16419
16420 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16421 Declare with warn_unused_result.
16422 (setgid, setregid, setegid, setresgid): Likewise.
16423 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16424 Likewise.
16425 * WUR-REPORT: Remove set*id functions.
16426
d2a54255
PT
164272012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16428
16429 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16430
7ecdb005
RM
164312012-07-31 Roland McGrath <roland@hack.frob.com>
16432
b4180a5e 16433 [BZ #10191]
789bd351
RM
16434 * include/sys/socket.h (__libc_accept, __libc_accept4):
16435 Add attribute_hidden.
16436 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16437
40ce302d
RM
16438 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16439 use of PTR_MANGLE.
16440 * inet/getnetgrent_r.c (setup): Likewise.
16441
7ecdb005
RM
16442 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16443
e2eabb2c
DM
164442012-07-31 David S. Miller <davem@davemloft.net>
16445
16446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16447
d0419dbf
JM
164482012-07-31 Joseph Myers <joseph@codesourcery.com>
16449
16450 [BZ #13629]
16451 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16452 value between 1.0 and 2.0 and smaller part has absolute value less
16453 than 1.0.
16454 * math/s_clog10.c (__clog10): Likewise.
16455 * math/s_clog10f.c (__clog10f): Likewise.
16456 * math/s_clog10l.c (__clog10l): Likewise.
16457 * math/s_clogf.c (__clogf): Likewise.
16458 * math/s_clogl.c (__clogl): Likewise.
16459 * math/libm-test.inc (clog_test): Add more tests.
16460 (clog10_test): Likewise.
16461 * sysdeps/i386/fpu/libm-test-ulps: Update.
16462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16463
2bc13872
FW
164642012-07-31 Florian Weimer <fweimer@redhat.com>
16465
16466 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16467 Exit with zero in case no suitable GID is found, and write a
16468 message to standard error.
16469
bea9b193
RM
164702012-07-30 Roland McGrath <roland@hack.frob.com>
16471
16472 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16473 rather than to 1.
16474 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16475 (MAXPATHLEN): Removed.
16476 (NOGROUP, NODEV): New macros.
16477 (setbit, clrbit, isset, isclr): New macros.
16478 (howmany, roundup, powerof2): New macros.
16479 (DEV_BSIZE): New macro.
16480
16481 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16482 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16483
16484 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16485 definition on [!__NO_LONG_DOUBLE_MATH].
16486
16487 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16488 PTR_MANGLE and PTR_DEMANGLE.
16489
16490 * socket/accept4.c (accept4): Rename to __libc_accept4.
16491 Define accept4 as a weak alias.
16492
16493 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16494 on [_DIRENT_HAVE_D_TYPE].
16495 * io/ftw.c (ftw_dir): Likewise.
16496
16497 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16498
16499 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16500
16501 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16502 Use the BSD numbers rather than the arbitrary ones we had.
16503 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16504 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16505 (SIGXCPU, SIGXFSZ): New macros.
16506 (_NSIG): Now 32.
16507
16508 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16509 initializer on [_LIBC_REENTRANT].
16510
16511 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16512 definitions inside [_POSIX_MAPPED_FILES].
16513
16514 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16515
16516 * dirent/opendir.c: Include <fcntl.h>.
16517
16518 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16519 (__libc_getspecific): Likewise.
16520 (__libc_key_create): Likewise.
16521
16522 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16523 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16524 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16525 (tmpfile64): Define as alias.
16526 * sysdeps/wordsize-64/tmpfile.c: File removed.
16527 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16528 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16529 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16530
16531 * stdio-common/vfscanf.c: Include <stdbool.h>.
16532 * nss/makedb.c: Likewise.
16533 * stdio-common/_i18n_number.h: Likewise.
16534 * argp/argp-help.c: Likewise.
16535 * posix/wordexp.c: Likewise.
16536 * sysdeps/posix/spawni.c: Likewise.
16537 * nss/nss_files/files-initgroups.c: Likewise.
16538 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16539 * nss/nss_files/files-initgroups.c: Likewise.
16540 * nss/nss_db/db-netgrp.c: Likewise.
16541 * nss/nss_db/db-initgroups.c: Likewise.
16542 * io/fchmodat.c: Include <sys/stat.h>.
16543
16544 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16545 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16546
16547 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16548 [HAVE_MMAP].
16549
16550 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16551 Add multiple inclusion protection.
16552
e5abc686
DM
165532012-07-27 David S. Miller <davem@davemloft.net>
16554
16555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16556
815e6fa3
GB
165572012-07-27 Gary Benson <gbenson@redhat.com>
16558
16559 [BZ #14298]
16560 * elf/rtld.c: Include <stap-probe.h>.
16561 (dl_main): Added static probes "init_start" and "init_complete".
16562 * elf/dl-load.c: Include <stap-probe.h>.
16563 (lose): Take new parameter "nsid".
16564 Added static probe "map_failed".
16565 (_dl_map_object_from_fd): Pass namespace id to lose.
16566 Added static probe "map_start".
16567 (open_verify): Pass namespace id to lose.
16568 * elf/dl-open.c: Include <stap-probe.h>.
16569 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16570 and "reloc_complete".
16571 * elf/dl-close.c: Include <stap-probe.h>.
16572 (_dl_close_worker): Added static probes "unmap_start" and
16573 "unmap_complete".
16574 * elf/rtld-debugger-interface.txt: New file documenting the above.
16575
9f98c16c
RM
165762012-07-26 Roland McGrath <roland@hack.frob.com>
16577
16578 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16579 rather than a string variable.
16580 * sunrpc/rpc_main.c (h_output): Likewise.
16581 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16582
f3c22df3
PT
165832012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16584
16585 * inet/check_native.c: New file.
16586
3129cfc6
JM
165872012-07-26 Joseph Myers <joseph@codesourcery.com>
16588
da865e95
JM
16589 [BZ #13629]
16590 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16591 if larger part has absolute value 1.0.
16592 * math/s_clog10.c (__clog10): Likewise.
16593 * math/s_clog10f.c (__clog10f): Likewise.
16594 * math/s_clog10l.c (__clog10l): Likewise.
16595 * math/s_clogf.c (__clogf): Likewise.
16596 * math/s_clogl.c (__clogl): Likewise.
16597 * math/libm-test.inc (clog_test): Add more tests.
16598 (clog10_test): Likewise.
16599 * sysdeps/i386/fpu/libm-test-ulps: Update.
16600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16601
3129cfc6
JM
16602 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16603 (pltexit): Likewise.
16604 (La_regs): Likewise.
16605 (La_retval): Likewise.
16606 (int_retval): Likewise.
16607 Update #error for removed macros to refer only to definitions in
16608 tst-audit.h.
16609 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16610 macro.
16611 (pltexit): Likewise.
16612 (La_regs): Likewise.
16613 (La_retval): Likewise.
16614 (int_retval): Likewise.
16615 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16616 macro.
16617 (pltexit): Likewise.
16618 (La_regs): Likewise.
16619 (La_retval): Likewise.
16620 (int_retval): Likewise.
16621 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16622 macro.
16623 (pltexit): Likewise.
16624 (La_regs): Likewise.
16625 (La_retval): Likewise.
16626 (int_retval): Likewise.
16627 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16628 macro.
16629 (pltexit): Likewise.
16630 (La_regs): Likewise.
16631 (La_retval): Likewise.
16632 (int_retval): Likewise.
16633 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16634 macro.
16635 (pltexit): Likewise.
16636 (La_regs): Likewise.
16637 (La_retval): Likewise.
16638 (int_retval): Likewise.
16639 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16640 macro.
16641 (pltexit): Likewise.
16642 (La_regs): Likewise.
16643 (La_retval): Likewise.
16644 (int_retval): Likewise.
16645 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16646 macro definitions in tst-audit.h.
16647 * sysdeps/i386/tst-audit.h: New file.
16648 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16649 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16650 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16651 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16652 * sysdeps/sh/tst-audit.h: Likewise.
16653 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16654 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16655 * sysdeps/x86_64/tst-audit.h: Likewise.
16656
bfc07087
AJ
166572012-07-26 Andreas Jaeger <aj@suse.de>
16658
b1b2aaf8
AJ
16659 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16660 ptrace.
16661
16662 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16663 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16664 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16665 PTRACE_O_MASK.
16666 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16667 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16668 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16669
bfc07087
AJ
16670 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16671 value.
16672
16673 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16674 _sigsys.
16675 (si_call_addr, si_syscall, si_arch): Define new macro.
16676 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16677 _sigsys.
16678 (si_call_addr, si_syscall, si_arch): Define new marcro.
16679 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16680 _sigsys.
16681 (si_call_addr, si_syscall, si_arch): Define new macro.
16682 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16683 _sigsys.
16684 (si_call_addr, si_syscall, si_arch): Define new macro.
16685
89b4b02f
JM
166862012-07-25 Joseph Myers <joseph@codesourcery.com>
16687
16688 [BZ #13717]
16689 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16690 Change to 2.4.21 where previously 2.4.1.
16691 * sysdeps/unix/sysv/linux/configure: Regenerated.
16692 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16693 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16694 Linux kernel version.
16695 (__ASSUME_STD_AUXV): Remove.
16696 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16697 kernel version.
16698 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16699 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16700 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16701 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16702 (__ASSUME_NETLINK_SUPPORT): Likewise.
16703 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16704 (__no_netlink_support): Remove conditional definition.
16705 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16706 Remove.
16707 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16708 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16709 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16710 (if_nameindex_ioctl): Remove.
16711 (if_nameindex_netlink): Do not handle __no_netlink_support.
16712 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16713 code.
16714 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16715 Remove conditional code.
16716 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16717 code.
16718 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16719 unconditional.
16720 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16721 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16722 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16723 Remove.
16724 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16725 [!__ASSUME_STD_AUXV]: Remove conditional code.
16726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16727 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16728 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16730 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16731 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16732 code.
16733 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16735 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16736 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16737 conditional code.
16738 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16740 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16741 code.
16742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16743 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16744 conditional code.
16745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16746 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16747 code unconditional.
16748 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16749 conditional code.
16750 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16751 unconditional.
16752 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16753 conditional code.
16754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16755 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16756 unconditional.
16757 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16758 conditional code.
16759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16760 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16761 code unconditional.
16762 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16763 conditional code.
16764 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16765 unconditional.
16766 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16767 conditional code.
16768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16769 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16770 code unconditional.
16771 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16772 conditional code.
16773 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16774 unconditional.
16775 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16776 conditional code.
16777
842a39cd
AS
167782012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16779
16780 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16781 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16782 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16783 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16784 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16785 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16786 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16787 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16788 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16789 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16790 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16791 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16792 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16793 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16794 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16795 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16796 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16797 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16798 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16799 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16800 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16801 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16802 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16803
84b3fd84
FW
168042012-07-25 Florian Weimer <fweimer@redhat.com>
16805
16806 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16807 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16808 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16809 Introduce __libc_secure_getenv.
0c7936d5
FW
16810 * stdlib/Versions (2.17): Add secure_getenv
16811 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16812 * stdlib/secure-getenv.c: Rename __secure_getenv to
16813 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16814 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16815 * stdlib/tst-secure-getenv.c: New.
16816 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16817 * manual/startup.texi (Environment Access): Document
16818 secure_getenv.
84b3fd84
FW
16819 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16820 __libc_secure_getenv.
16821 * inet/ruserpass.c (ruserpass): Likewise.
16822 * malloc/mtrace.c (mtrace): Likewise.
16823 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16824 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16825 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16826 * sysdeps/posix/tempname.c: Likewise. Evaluate
16827 HAVE_SECURE_GETENV.
16828 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16829 __secure_getenv to __libc_secure_getenv.
84b3fd84 16830 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16832 Likewise.
16833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16834 Likewise.
16835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16837 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16842
56e49b71
JM
168432012-07-25 Joseph Myers <joseph@codesourcery.com>
16844
16845 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16846 (struct La_i86_retval): Likewise.
16847 (struct La_x86_64_regs): Likewise.
16848 (struct La_x86_64_retval): Likewise.
16849 (struct La_x32_regs): Likewise.
16850 (struct La_x32_retval): Likewise.
16851 (struct La_ppc32_regs): Likewise.
16852 (struct La_ppc32_retval): Likewise.
16853 (struct La_ppc64_regs): Likewise.
16854 (struct La_ppc64_retval): Likewise.
16855 (struct La_sh_regs): Likewise.
16856 (struct La_sh_retval): Likewise.
16857 (struct La_s390_32_regs): Likewise.
16858 (struct La_s390_32_retval): Likewise.
16859 (struct La_s390_64_regs): Likewise.
16860 (struct La_s390_64_retval): Likewise.
16861 (struct La_sparc32_regs): Likewise.
16862 (struct La_sparc32_retval): Likewise.
16863 (struct La_sparc64_regs): Likewise.
16864 (struct La_sparc64_retval): Likewise.
16865 (struct audit_ifaces): Remove architecture-specific pltenter and
16866 pltexit members.
16867 * sysdeps/i386/ldsodefs.h: New file.
16868 * sysdeps/powerpc/ldsodefs.h: Likewise.
16869 * sysdeps/s390/ldsodefs.h: Likewise.
16870 * sysdeps/sh/ldsodefs.h: Likewise.
16871 * sysdeps/sparc/ldsodefs.h: Likewise.
16872 * sysdeps/x86_64/ldsodefs.h: Likewise.
16873
354691b7
MP
168742012-07-25 Marek Polacek <polacek@redhat.com>
16875
16876 [BZ #6808]
16877 * math/libm-test.inc (yn_test): Add another test.
16878 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16879 to ERANGE when the result is +-Inf.
16880 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16881 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16882 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16883 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16884
bf9e2071
JM
168852012-07-24 Joseph Myers <joseph@codesourcery.com>
16886
16887 * conform/data/time.h-data (NULL): Use macro-constant. Require
16888 equal to 0.
16889 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16890 clock_t.
16891 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16892
57633811
TS
168932012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16894
16895 * configure.in <sysdeps resolving>: Correct printing
16896 Implies_before.
16897 * configure: Regenerate.
16898
c23c33b0
TS
168992012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16900
16901 * math/w_ilogb.c: Include <limits.h>.
16902 * math/w_ilogbl.c: Likewise.
16903
b5982523
JM
169042012-07-20 Joseph Myers <joseph@codesourcery.com>
16905
16906 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16907 va_copy. Document allowing for unavailable va_copy only as
16908 pre-C99 compatibility.
16909 * manual/string.texi (Copying and Concatenation): Use va_copy
16910 instead of __va_copy in concat example.
16911
ac4ea442
PT
169122012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16913
16914 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16915 (__sendto): Use create_address_port. Initialize APORT and deallocate
16916 it if not null.
16917
f98eafbd
PT
16918 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16919 with O_NOLINK passed to __file_name_lookup.
16920
898c7aab
PT
16921 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16922 with O_NOLINK passed to __file_name_lookup.
16923
0ced335a
PT
16924 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16925 negative N or less than NGIDS.
16926
b3404dbd
PT
16927 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16928 type to string_t. Set ERANGE as errno and return it if NAME is not big
16929 enough. Use memcpy instead of strncpy.
16930
0f48659e
JM
169312012-07-20 Joseph Myers <joseph@codesourcery.com>
16932
16933 * elf/Makefile (check-data): Remove.
16934 (localplt.data): New vpath directive.
16935 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16936 instead of $(check-data).
16937 * scripts/data/localplt-generic.data: Move to ...
16938 * sysdeps/generic/localplt.data: ... here.
16939 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16940 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16941 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16943 ... here.
16944 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16946 ... here.
16947 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16949 ... here.
16950 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16952 ... here.
16953 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16955 ... here.
16956 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16958 ... here.
16959
d37cbdaa
AZ
169602012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16961
16962 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16963 PPC32 and PPC64 files.
16964 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16965 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16966
46f85fc2
AK
169672012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16968
16969 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16970 __makecontext_ret to ...
16971 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16972 ... here and call exit if uc_link is NULL. New file.
16973 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16974 __makecontext_ret.S.
16975 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16976 __makecontext_ret to ...
16977 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16978 ... here and call exit if uc_link is NULL. New file.
16979 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16980 __makecontext_ret.S.
16981
08f43f9b
AK
169822012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16983
16984 * elf/elf.h (R_390_IRELATIVE): New definition.
16985 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16986 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16987 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16988 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16989 (elf_machine_lazy_rel): Likewise.
16990 * sysdeps/s390/dl-irel.h: New file.
16991 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16992 * sysdeps/s390/s390-64/memset.S: New asm code.
16993 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16994 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16995 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16996 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16997 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16998 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16999 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17000 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17001 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17002 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17003 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17004 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17005 * sysdeps/s390/s390-32/memset.S: New asm code.
17006 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17007
3b05db33
MP
170082012-07-17 Marek Polacek <polacek@redhat.com>
17009
17010 [BZ #14349]
17011 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17012 * sysdeps/s390/s390-64/configure.in: Likewise.
17013 * sysdeps/sparc/configure.in: Likewise.
17014 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17015 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17016 * sysdeps/i386/configure.in: Likewise.
17017 * sysdeps/x86_64/configure.in: Likewise.
17018 * sysdeps/sh/configure.in: Likewise.
17019 * sysdeps/s390/s390-32/configure: Regenerated.
17020 * sysdeps/s390/s390-64/configure: Likewise.
17021 * sysdeps/x86_64/configure: Likewise.
17022 * sysdeps/sh/configure: Likewise.
17023 * sysdeps/powerpc/powerpc64/configure: Likewise.
17024 * sysdeps/powerpc/powerpc32/configure: Likewise.
17025 * sysdeps/sparc/configure: Likwise.
17026 * sysdeps/i386/configure: Likewise.
17027
a66877c6
MP
17028 * elf/dl-open.c: Comment fixes.
17029
cfc82fd8
JM
170302012-07-17 Joseph Myers <joseph@codesourcery.com>
17031
bd29910a
JM
17032 * Makefile [CXX] (check-data): Remove.
17033 [CXX] (c++-types.data): New vpath directive.
17034 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17035 vpath. Do not allow for C++ type data being missing.
17036 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17037 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17038 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17039 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17040 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17041 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17042 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17044 ... here.
17045 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17047 ... here.
17048 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17050 ... here.
17051 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17053 ... here.
17054 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17056 ... here.
17057 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17059 ... here.
17060 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17062 ... here.
17063 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17065
cfc82fd8
JM
17066 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17067 definitions to architecture-specific files.
17068 (TLS_IE): Likewise.
17069 (TLS_LD): Likewise.
17070 (TLS_GD): Likewise.
17071 * sysdeps/i386/tls-macros.h: New file.
17072 * sysdeps/powerpc/tls-macros.h: Likewise.
17073 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17074 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17075 * sysdeps/sh/tls-macros.h: Likewise.
17076 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17077 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17078 * sysdeps/x86_64/tls-macros.h: Likewise.
17079
f7db3170
TS
170802012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17081
07cbfc23
TS
17082 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17083 zero value for regular exit case.
17084
f7db3170
TS
17085 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17086 (__start_context): Preserve zero value for regular exit case.
17087
dc97c227
TS
170882012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17089 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17090
17091 * manual/setjmp.texi (setcontext): Clarify normal process
17092 termination when uc_link is the null pointer.
17093 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17094 exit call.
17095
d0cd7d02
AS
170962012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17097
17098 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17099 preprocessor. Test for each exception mask separately.
17100
dd318934
AJ
171012012-07-16 Andreas Jaeger <aj@suse.de>
17102
17103 * po/ru.po: Update from translation team.
17104
8048311a
JM
171052012-07-15 Joseph Myers <joseph@codesourcery.com>
17106
17107 * conform/data/string.h-data (NULL): Use macro-constant. Require
17108 equal to 0.
17109 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17110 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17111 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17112 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17113 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17114
b637d46e
AJ
171152012-07-13 Andreas Jaeger <aj@suse.de>
17116
17117 * po/fr.po: Update from translation team.
17118
541428fe
MP
171192012-07-12 Marek Polacek <polacek@redhat.com>
17120
17121 [BZ #14173]
17122 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17123 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17124 loop condition.
17125
ec332e94
JM
171262012-07-12 Joseph Myers <joseph@codesourcery.com>
17127
17128 [BZ #13717]
17129 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17130 Change to 2.4.1 where previously 2.4.0.
17131 * sysdeps/unix/sysv/linux/configure: Regenerated.
17132 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17133 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17134 version.
17135 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17136 (__ASSUME_AT_CLKTCK): Remove.
17137 (__ASSUME_AT_PAGESIZE): Likewise.
17138 (__ASSUME_AT_XID): Likewise.
17139 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17140 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17141 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17142 unconditionally.
17143 (HAVE_AUX_PAGESIZE): Likewise.
17144 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17145 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17146 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17147
7b6e99be
JB
171482012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17149
17150 [BZ #14307]
17151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17152 the temporary buffer used to invoke __gethostbyname2_r,
17153 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17154 host_data / struct gaih_addrtuple.
17155 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17156 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17157 header file nss/nsswitch.h.
17158 * nss/nsswitch.h (global scope): Add definition of implementation
17159 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17160 resolv/nss_dns/dns-host.c).
17161
608404eb
AJ
171622012-07-11 Andreas Jaeger <aj@suse.de>
17163
17164 * po/fr.po: Update from translation team.
17165
71220aca
AJ
17166 * po/sv.po: Update from translation team
17167 * po/fr.po: Another update from translation team.
17168
28cfe843
AZ
171692012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17170
17171 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17172 for subnormals or multiply small sinh result by itself.
17173 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17175
6b90f981
DM
171762012-07-11 David S. Miller <davem@davemloft.net>
17177
17178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17179
c6825772
AS
171802012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17181
17182 [BZ #14347]
17183 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17184 (INTERNAL_MARK): Shift it here.
17185
7b8e0d49
MP
171862012-07-10 Marek Polacek <polacek@redhat.com>
17187
17188 [BZ #14151]
17189 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17190 libc_cv_asm_global_directive with .globl.
17191 * configure: Regenerated.
17192 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17193 with .globl.
17194 * sysdeps/i386/configure: Regenerated.
17195 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17196 with .globl.
17197 * sysdeps/x86_64/configure: Regenerated.
17198 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17199 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17200 * elf/tst-unique2mod2.c: Likewise.
17201 * elf/tst-unique2mod1.c: Likewise.
17202 * elf/tst-unique1mod2.c: Likewise.
17203 * elf/tst-unique1mod1.c: Likewise.
17204 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17205 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17206 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17207 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17208 * sysdeps/mach/sysdep.h: Likewise.
17209 * sysdeps/i386/sysdep.h: Likewise.
17210 * sysdeps/i386/i386-mcount.S: Likewise.
17211 * sysdeps/x86_64/_mcount.S: Likewise.
17212 * sysdeps/x86_64/sysdep.h: Likewise.
17213 * sysdeps/sh/_mcount.S: Likewise.
17214 * sysdeps/sh/sysdep.h: Likewise.
17215 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17216 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17217 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17218 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17219 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17220 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17221 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17222 * locale/localeinfo.h: Likewise.
17223 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17224 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17225
6c55cda3
RM
172262012-07-09 Roland McGrath <roland@hack.frob.com>
17227
17228 [BZ #14336]
17229 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17230 system".
17231 * manual/message.texi (The Uniforum approach): Likewise.
17232 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17233 (glibc iconv Implementation): Likewise.
17234
638a572e
JM
172352012-07-09 Joseph Myers <joseph@codesourcery.com>
17236
17237 [BZ #14337]
17238 * math/s_clog.c (__clog): Avoid scaling a value down where that
17239 could result in underflow.
17240 * math/s_clog10.c (__clog10): Likewise.
17241 * math/s_clog10f.c (__clog10f): Likewise.
17242 * math/s_clog10l.c (__clog10l): Likewise.
17243 * math/s_clogf.c (__clogf): Likewise.
17244 * math/s_clogl.c (__clogl): Likewise.
17245 * math/libm-test.inc (clog_test): Add more tests.
17246 (clog10_test): Likewise.
17247 * sysdeps/i386/fpu/libm-test-ulps: Update.
17248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17249
261f4859
AS
172502012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17251
0abaf3e4
AS
17252 [BZ #14283]
17253 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17254 by 7 not 8 to examine high bit of fractional part.
17255
261f4859
AS
17256 [BZ #14042]
17257 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17258 for call to __mcount_internal.
17259 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17260 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17261 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17262
f17ac40d
JM
172632012-07-06 Joseph Myers <joseph@codesourcery.com>
17264
9ad63c23
JM
17265 [BZ #14154]
17266 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17267 approximation for values within 0x1p-13f of an odd multiple of
17268 pi/4.
17269 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17270 exception. Add more tests.
17271 * sysdeps/i386/fpu/libm-test-ulps: Update.
17272
f17ac40d
JM
17273 [BZ #6778]
17274 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17275 inputs and return -1 for them. Do not check for +Inf in case not
17276 reachable for +Inf.
17277 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17278 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17279 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17280 and return -1 for them. Do not check for +Inf in case not
17281 reachable for +Inf.
17282 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17283 define.
17284 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17285 and return -1 for them. Do not check for +Inf in case not
17286 reachable for +Inf.
17287 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17288 spurious underflow.
17289 * sysdeps/i386/fpu/libm-test-ulps: Update.
17290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17291
fb21f89b
MF
172922012-07-06 Mike Frysinger <vapier@gentoo.org>
17293
17294 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17295
cdfe2c5e
JM
172962012-07-05 Joseph Myers <joseph@codesourcery.com>
17297
17298 [BZ #14157]
17299 [BZ #14331]
17300 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17301 could result in spurious underflow. Scale down values above
17302 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17303 * math/s_csqrtf.c (__csqrtf): Likewise.
17304 * math/s_csqrtl.c (__csqrtl): Likewise.
17305 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17306 spurious underflow.
17307 * sysdeps/i386/fpu/libm-test-ulps: Update.
17308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17309
70d35b67
AS
173102012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17311
704bc459
AS
17312 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17313 xopen-msg.sed.
17314 * catgets/xopen-msg.awk: New file.
17315 * catgets/xopen-msg.sed: Removed.
17316
70d35b67
AS
17317 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17318 po2text.sed.
17319 * intl/po2test.awk: New file.
17320 * intl/po2test.sed: Removed.
17321
ca61cf32
JM
173222012-07-04 Joseph Myers <joseph@codesourcery.com>
17323
17324 [BZ #14328]
17325 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17326 or multiply small sinh result by itself.
17327 * math/s_ctanf.c (__ctanf): Likewise.
17328 * math/s_ctanh.c (__ctanh): Likewise.
17329 * math/s_ctanhf.c (__ctanhf): Likewise.
17330 * math/s_ctanhl.c (__ctanhl): Likewise.
17331 * math/s_ctanl.c (__ctanl): Likewise.
17332 * math/libm-test.inc (ctan_test_tonearest): New function.
17333 (ctan_test_towardzero): Likewise.
17334 (ctan_test_downward): Likewise.
17335 (ctan_test_upward): Likewise.
17336 (ctanh_test_tonearest): Likewise.
17337 (ctanh_test_towardzero): Likewise.
17338 (ctanh_test_downward): Likewise.
17339 (ctanh_test_upward): Likewise.
17340 (main): Call these new functions.
17341 * sysdeps/i386/fpu/libm-test-ulps: Update.
17342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17343
ca48a46a
MF
173442012-07-03 Mike Frysinger <vapier@gentoo.org>
17345
17346 * .gitignore: Delete /ports entry.
17347
9d63d37d
AJ
173482012-07-03 Andreas Jaeger <aj@suse.de>
17349
17350 * po/bg.po: Update from translation team.
17351 * po/cs.po: Likewise.
17352 * po/de.po: Likewise.
17353 * po/hr.po: Likewise.
17354 * po/nl.pl: Likewise.
17355 * po/pl.po: Likewise.
17356 * po/vi.po: Likewise.
17357
370ca3d2
JM
173582012-07-03 Joseph Myers <joseph@codesourcery.com>
17359
95f5a9a8
JM
17360 * Makeconfig [!+link] (+link-before-libc): New variable.
17361 [!+link] (+link-after-libc): Likewise.
17362 [!+link] (+link-tests): Likewise.
17363 [!+link] (+link): Define in terms of $(+link-before-libc) and
17364 $(+link-after-libc).
17365 [!+link-static] (+link-static-before-libc): New variable.
17366 [!+link-static] (+link-static-after-libc): Likewise.
17367 [!+link-static] (+link-static-tests): Likewise.
17368 [!+link-static] (+link-static): Define in terms of
17369 $(+link-static-before-libc) and $(+link-static-after-libc).
17370 [build-shared] (link-libc-before-gnulib): New variable.
17371 [build-shared] (link-libc-tests): Likewise.
17372 [build-shared] (link-libc): Define in terms of
17373 $(link-libc-before-gnulib).
17374 [!build-shared] (link-libc-tests): New variable.
17375 (link-libc-static-tests): New variable.
17376 [!gnulib] (gnulib-arch): New variable.
17377 [!gnulib] (gnulib-tests): Likewise.
17378 [!gnulib] (static-gnulib-arch): Likewise.
17379 [!gnulib] (static-gnulib-tests): Likewise.
17380 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17381 Define with "=" instead of ":=".
17382 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17383 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17384 * Rules (binaries-all-notests): New variable.
17385 (binaries-all-tests): Likewise.
17386 (binaries-static-notests): Likewise.
17387 (binaries-static-tests): Likewise.
17388 (binaries-all): Define using $(binaries-all-notests) and
17389 $(binaries-all-tests).
17390 (binaries-static): Define using $(binaries-static-notests) and
17391 $(binaries-static-tests).
17392 (binaries-shared-tests): New variable.
17393 (binaries-shared-notests): Likewise.
17394 (binaries-shared): Remove variable.
17395 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17396 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17397 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17398 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17399 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17400 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17401 * elf/Makefile (sln-modules): New variable.
17402 (extra-objs): Add $(sln-modules:=.o).
17403 (ldconfig-modules): Add static-stubs.
17404 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17405 * elf/static-stubs.c: New file.
17406
7a845b2c
JM
17407 [BZ #14283]
17408 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17409 by 7 not 8 to examine high bit of fractional part. Use volatile
17410 variables when splitting into final array of floats if
17411 __FLT_EVAL_METHOD__ != 0.
17412 * math/libm-test.inc (cos_test): Add another test.
17413 (sin_test): Likewise.
17414 * sysdeps/i386/fpu/libm-test-ulps: Update.
17415
e2283f38
JM
17416 [BZ #14273]
17417 * math/libm-test.inc (cosh_test): Add more tests.
17418
370ca3d2
JM
17419 * version.h (RELEASE): Set to "development".
17420 (VERSION): Set to "2.16.90".
17421
ee9247c3
CD
174222012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17423
17424 * NEWS: Update copyright. Remove last-updated date.
17425 Mention math library bug fixes and timezone data changes.
17426 * README: Mention GNU/Hurd, x32, and HPPA support status.
17427
4648c381
TS
174282012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17429
17430 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17431
aac78a43
AJ
174322012-06-27 Andreas Jaeger <aj@suse.de>
17433
17434 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17435
ed3dbfad
AJ
174362012-06-25 Andreas Jaeger <aj@suse.de>
17437
17438 * sysdeps/s390/fpu/libm-test-ulps: Update.
17439
4d0ee855
AS
174402012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17441 Thomas Schwinge <thomas@codesourcery.com>
17442
17443 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17444 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17445 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17446 fanotify_mark.
17447
af1bce34
TS
174482012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17449
a9fa33ba
TS
17450 * sysdeps/mach/start.c: Remove file.
17451 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17452 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17453 * sysdeps/sh/init-first.c: Likewise.
17454
58f902b8
TS
17455 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17456 registers for frame unwinding purposes, add CFI directives.
17457 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17458 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17459 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17460 Likewise.
17461
1518f58b
TS
17462 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17463 __fortify_fail returning.
17464 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17465
db9b5059
TS
17466 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17467 sysdeps/sh/____longjmp_chk.S.
17468 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17469 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17470 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17471 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17472
967705fe
TS
17473 * sysdeps/sh/abort-instr.h: New file.
17474 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17475 process in case exit returns.
17476
a9def8c4
TS
17477 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17478 initialize the GOT register before use.
17479
2a649725
TS
17480 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17481 calculation of ARGC > 4.
17482
af1bce34
TS
17483 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17484 meaningful names to some local labels.
17485
d230f50a
KK
174862012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17487 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17488
17489 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17490 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17491 (__arch_compare_and_exchange_val_16_acq): Likewise.
17492 (__arch_compare_and_exchange_val_32_acq): Likewise.
17493 (atomic_exchange_and_add): Fix gUSA sequence.
17494 (atomic_add): Likewise.
17495 (atomic_add_negative): Likewise.
17496 (atomic_add_zero): Likewise.
17497 (atomic_bit_test_set): Likewise.
17498
0479b305
AS
174992012-06-22 Andreas Schwab <schwab@redhat.com>
17500
17501 [BZ #13579]
17502 * include/link.h (struct link_map): Add l_free_initfini.
17503 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17504 l_initfini.
17505 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17506 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17507 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17508 set.
17509
0e3933b9
CD
175102012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17511
17512 * configure.in: Use AC_LANG_SOURCE.
17513 * configure: Regenerate.
17514
4248b1b1
RM
175152012-06-22 Roland McGrath <roland@hack.frob.com>
17516
17517 * configure.in (libc_cv_localstatedir): New substituted variable.
17518 * configure: Regenerated.
17519 * config.make.in (localstatedir): New variable, substituted from
17520 libc_cv_localstatedir.
17521 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17522 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17523 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17524 * sysdeps/gnu/configure: Regenerated.
17525
006dd861
JL
175262012-06-21 Jeff Law <law@redhat.com>
17527
17528 [BZ #14277]
17529 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17530 free. Simplify list management for _LIBC case.
17531
79662d42
JM
175322012-06-21 Joseph Myers <joseph@codesourcery.com>
17533
b7abb4bf
JM
17534 [BZ #14273]
17535 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17536 Clear sign bit of 64-bit integer value before comparing against
17537 overflow value.
17538
79662d42
JM
17539 * sysdeps/mach/configure: Regenerated.
17540
1f150908
L
175412012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17542
17543 [BZ #14278]
17544 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17545
28363bbf
JL
175462012-06-21 Jeff Law <law@redhat.com>
17547
17548 [BZ #13882]
17549 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17550 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 17551 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
17552 * elf/dl-open.c (dl_open_worker): Likewise.
17553
09615db4
CD
175542012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17555
17556 * scripts/list-sources.sh: Scan PORTS for translations.
17557 * po/libc.pot: Regenerated.
17558
2174c6dd
AJ
175592012-06-21 Andreas Jaeger <aj@suse.de>
17560
17561 [BZ #12194]
17562 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17563 warning.
17564 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17565 * bits/byteswap-16.h (__bswap_16): Likewise.
17566 * bits/byteswap.h (__bswap_constant_16): Likewise.
17567
3ee947b1
L
175682012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17569
17570 [BZ #14117]
a2f34833
L
17571 * sysdeps/i386/fpu_control.h: Removed.
17572 * sysdeps/x86_64/fpu_control.h: Moved to ...
17573 * sysdeps/x86/fpu_control.h: Here.
17574
3ee947b1
L
17575 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17576 (_FPU_SETCW): Likewise.
17577
ed1825f8
L
175782012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17579
25f1282a
L
17580 [BZ #14117]
17581 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17582 * sysdeps/x86/fpu/bits/mathinline.h: This.
17583 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17584
ed1825f8
L
17585 [BZ #14050]
17586 [BZ #14117]
17587 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17588 functions if __x86_64__ is defined.
17589
36d54b74
CLT
175902012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17591
17592 * string/endian.h: Add !__ASSEMBLER__ condition for including
17593 conversion interfaces.
17594
10285c21
JM
175952012-06-15 Joseph Myers <joseph@codesourcery.com>
17596
17597 [BZ #14241]
17598 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17599 of ABS(x) in calculating zero to negative powers other than odd
17600 integers.
17601 * math/libm-test.inc (pow_test): Add more tests.
17602
06c5abbd
AJ
176032012-06-15 Andreas Jaeger <aj@suse.de>
17604
17605 * manual/contrib.texi (Contributors): Update entry of Liubov
17606 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17607 Machado Filho.
17608
a3aeac40
CH
176092012-06-15 Cyril Hrubis <metan@ucw.cz>
17610
17611 * string/string.h: Add __wur to GNU version of strerror_r.
17612
49bdf4c1
L
176132012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17614
17615 [BZ #14229]
17616 * string/Makefile (tests): Add tst-strtok_r.
17617 * string/tst-strtok_r.c: New file.
17618 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17619 RAX_LP/RDX_LP on SAVE_PTR.
17620
834f9b8d
RM
176212012-06-14 Roland McGrath <roland@hack.frob.com>
17622
17623 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17624
75fa1921
JM
176252012-06-14 Joseph Myers <joseph@codesourcery.com>
17626
17627 * libm_test.inc (csqrt_test): Allow more spurious underflow
17628 exceptions.
17629 (j0_test): Likewise.
17630 (j1_test): Likewise.
17631 (y0_test): Likewise.
17632 (y1_test): Likewise.
17633
771766df
CD
176342012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17635
17636 * po/Makefile (libc.pot): Use UTF-8 charset.
17637
ceb9e56b
PP
176382012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17639
17640 [BZ #14210]
17641 Suppress sign-conversion warning from FD_SET.
17642 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17643 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17644 not unsigned long int.
17645 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17646
ddb28975
L
176472012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17648
17649 [BZ #14050]
17650 [BZ #14117]
17651 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17652 __extern_always_inline instead of __extern_inline.
17653 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17654 (__signbit): Likewise.
17655 (__signbitl): Support C++ namespace.
17656 (lrintf): New inline function.
17657 (lrint): Likewise.
17658 (llrintf): Likewise.
17659 (llrint): Likewise.
17660 (fmaxf): Likewise.
17661 (fmax): Likewise.
17662 (fminf): Likewise.
17663 (fmin): Likewise.
17664 (rint): Likewise.
17665 (rintf): Likewise.
17666 (ceil): Likewise.
17667 (ceilf): Likewise.
17668 (floor): Likewise.
17669 (floorf): Likewise.
17670 (nearbyint): Likewise.
17671 (nearbyintf): Likewise.
17672
d7b4fb26
TS
176732012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17674
17675 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17676 non-default versions.
17677
eb55f5c2
RM
176782012-06-11 Roland McGrath <roland@hack.frob.com>
17679
17680 [BZ #14218]
17681 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17682
366af02c
TS
176832012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17684
99ff6e5c
TS
17685 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17686 (FE_UPWARD, FE_DOWNWARD): Don't define.
17687 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17688 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17689
366af02c
TS
17690 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17691 reading it.
17692 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17693 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17694
793ea851
KK
176952012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17696
17697 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17698 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17699 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17700 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17701
a728a38f
L
177022012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17703
17704 [BZ #14117]
c08010c7
L
17705 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17706 * sysdeps/i386/fpu/Implies: New file.
17707 * sysdeps/x86_64/fpu/Implies: Likewise.
17708 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17709 * sysdeps/x86/fpu/bits/fenv.h: This.
17710
a728a38f
L
17711 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17712 __SSE_MATH__.
17713
6e230d11
SP
177142012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17715
17716 [BZ #14134]
17717 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17718 character 0xffff that matches the last element of the
17719 conversion table.
17720
1b671feb
AZ
177212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17722
17723 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17724 fmodl commit.
17725
6043738b
AZ
177262012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17727
17728 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17729 values higher than 25.6283.
17730
34ae0b32
AZ
177312012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17732
17733 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17734 subnormal exponent extraction and add some __builtin_expect.
17735 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17736 Fix for subnormal mantissa calculation.
17737
1214ec8f
MF
177382012-06-04 Mike Frysinger <vapier@gentoo.org>
17739
17740 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17741 cpu2 is -1 and errno is not ENOSYS.
17742
f3d1f93c
L
177432012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17744
17745 [BZ #14117]
0e4a3cd7
L
17746 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17747 * sysdeps/x86/bits/string.h: This.
17748 * sysdeps/x86_64/bits/string.h: Removed.
17749
6704c645
L
17750 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17751 if not compiling for x86-64, but compiling for >= i486.
17752
48495318
L
17753 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17754 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17755
14adcbfc
L
17756 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17757 New macro from Linux kernel 3.4.0.
17758 (FP_XSTATE_MAGIC2): Likewise.
17759 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17760 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17761 (struct _fpx_sw_bytes): New struct.
17762 (struct _xsave_hdr): Likewise.
17763 (struct _ymmh_state): Likewise.
17764 (struct _xstate): Likewise.
17765
68e408ab
L
17766 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17767 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17768 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17769 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17770 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17771 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17772
f3d1f93c
L
17773 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17774 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17775 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17776 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17777 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17778 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17779
d9dc34cd
TMQMF
177802012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17781
17782 [BZ #13743]
17783 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17784 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17785 (sysdep_headers): Include sys/platform/ppc.h.
17786 * sysdeps/powerpc/test-gettimebase.c: Test for
17787 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17788 * manual/Makefile (appendices): Include platform.texi.
17789 * manual/contrib.texi (Contributors): Update @node pointers.
17790 * manual/maint.texi (Maintenance): Likewise.
17791 (Platform): New node.
17792 * manual/platform.texi: New file. Document the new features.
17793
4af3879c
SP
177942012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17795 Jakub Jelinek <jakub@redhat.com>
17796
17797 [BZ #14188]
17798 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17799 where __builtin_expect is unavailable.
17800
2fd6ff13
DM
178012012-06-03 David S. Miller <davem@davemloft.net>
17802
17803 * stdlib/longlong.h: Updated from GCC.
17804
173f7220
AS
178052012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17806
17807 [BZ #14042]
17808 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17809 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17810 __mcount_internal.
17811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17812 (GLIBC_2.16): Likewise.
17813
f34a1c6f
L
178142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17815
17816 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17817
88a4576f
JM
178182012-06-01 Joseph Myers <joseph@codesourcery.com>
17819
ea32bcdd
JM
17820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17821 (default-abi): New variable.
17822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17823 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17824 variable.
17825 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17826 Likewise.
17827 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17828 Likewise.
17829 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17830 Likewise.
17831
88a4576f
JM
17832 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17833 definition. Document in comment.
17834
402fe938
DM
178352012-06-01 David S. Miller <davem@davemloft.net>
17836
17837 * stdlib/longlong.h: Updated from GCC.
17838
3553723f
L
178392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17840
17841 [BZ #14117]
3bd872c4
L
17842 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17843 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17844 sys/debugreg.h sys/io.h here.
17845 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17846 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17847 sys/io.h.
17848 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17849 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17850 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17851 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17852 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17853 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17854
3553723f
L
17855 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17856 Define only if __x86_64__ is defined.
17857
4842e4fe
JM
178582012-06-01 Joseph Myers <joseph@codesourcery.com>
17859
c5bfe3d5
JM
17860 [BZ #14048]
17861 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17862 Use int64_t for variable i.
17863 * math/libm-test.inc (fmod_test): Add more tests.
17864
4842e4fe
JM
17865 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17866 z computation is not scheduled after fetestexcept.
17867 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17868 Use math_force_eval instead of asm to ensure calculation scheduled
17869 before exception test.
17870 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17871 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17872
efb73488
AJ
178732012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17874
17875 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17876 computation is not scheduled after fetestexcept.
17877
29bcce7c
L
178782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17879
17880 [BZ #14117]
17881 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17882 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17883
73a68f94
AZ
178842012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17885
17886 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17887 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17888
67b6df78
L
178892012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17890
edf2933a 17891 [BZ #14117]
ebc64a18
L
17892 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17893 <bits/wordsize.h>.
17894 (__WCHAR_MIN): Support __WORDSIZE == 64.
17895 (__WCHAR_MAX): Likewise.
17896
edf2933a
L
17897 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17898 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17899
57c6cf40
L
17900 [BZ #14183]
17901 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17902 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17903
67b6df78 17904 [BZ #14117]
8eb6281e
L
17905 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17906 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17907
aac639f4
L
17908 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17909 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17910
67b6df78
L
17911 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17912 Defined to 1 if __x86_64__ isn't defined.
17913 (_STAT_VER_LINUX_OLD): New.
17914 (st_atime): Remove duplicate.
17915 (st_mtime): Likewise.
17916 (st_ctime): Likewise.
17917
1c2cfe81
DM
179182012-05-31 David S. Miller <davem@davemloft.net>
17919
17920 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17921 entries.
17922
5be8418c
AS
179232012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17924
e7725326
AS
17925 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17926 gen-libm-test.pl.
17927
5be8418c
AS
17928 [BZ #14132]
17929 * elf/dl-reloc.c: Include <_itoa.h>.
17930 (_dl_reloc_bad_type): Remove use of INTUSE.
17931 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17932 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17933 * stdio-common/psiginfo.c (psiginfo): Likewise.
17934 * stdio-common/psignal.c (psignal): Likewise.
17935 * string/strsignal.c (strsignal): Likewise.
17936 * include/signal.h (_sys_siglist): Declare hidden proto.
17937 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17938 INTVARDEF with libc_hidden_data_def.
17939 * stdio-common/itoa-udigits.c: Likewise.
17940 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17941 (_itoa_lower_digits_internal): Remove declaration.
17942 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17943 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17944 (_sys_sigabbrev_internal): Remove aliases.
17945 (_sys_siglist): Define hidden alias.
17946
507352f1
MT
179472012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17948
17949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17950 bits/sysctl.h.
17951
42bbb1c3
L
179522012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17953
17954 [BZ #14117]
6bd784b6
L
17955 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17956 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17957
8bca20f0
L
17958 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17959 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17960 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17961 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17962 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17963 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17964
f9e890a9
L
17965 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17966 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17967 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17968
471101a1
L
17969 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17970 with __addr.
17971 (insw): Likewise.
17972 (insl): Likewise.
17973 (outsb): Likewise.
17974 (outsw): Likewise.
17975 (outsl): Likewise.
17976
6451c862
L
17977 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17978 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17979 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17980
a254b8c9
L
17981 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17982 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17983 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17984 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17985 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17986 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17987
b8dfdd92
L
17988 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17989 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17990
578cd270
L
17991 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17992 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17993
de662f5f
L
17994 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17995 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17996 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17997
25653439
L
17998 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17999 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18000 to ...
18001 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18002
6bad24a0
L
18003 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18004 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18005 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18006
42bbb1c3
L
18007 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18008 for x86-64.
18009 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18010
2d10d547
JM
180112012-05-31 Joseph Myers <joseph@codesourcery.com>
18012
18013 * math/math.h (M_El): Use two more decimal places.
18014 (M_LOG2El): Likewise.
18015 (M_LOG10El): Likewise.
18016 (M_LN2l): Likewise.
18017 (M_LN10l): Likewise.
18018 (M_PIl): Likewise.
18019 (M_PI_2l): Likewise.
18020 (M_PI_4l): Likewise.
18021 (M_1_PIl): Likewise.
18022 (M_2_PIl): Likewise.
18023 (M_2_SQRTPIl): Likewise.
18024 (M_SQRT2l): Likewise.
18025 (M_SQRT1_2l): Likewise.
18026
f230c29b
DM
180272012-05-31 David S. Miller <davem@davemloft.net>
18028
18029 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18030 values between float registers.
18031 * sysdeps/sparc/sparc64/memset.S: Likewise.
18032 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18033
fed806c3
MF
180342012-05-31 Mike Frysinger <vapier@gentoo.org>
18035
18036 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18037 -D_FORTIFY_SOURCE=1.
18038 (CPPFLAGS-tst-longjmp_chk.c): Define.
18039 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18040 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18041 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18042 CFLAGS-tst-wchar-h.c.
18043
30917259
MP
180442012-05-31 Marek Polacek <polacek@redhat.com>
18045
18046 [BZ #14132]
18047 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18048 __endmntent_internal): Remove declaration.
18049 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18050 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18051 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18052
1c58d5dc
DM
180532012-05-30 David S. Miller <davem@davemloft.net>
18054
18055 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18056 (___Q_simulate_exceptions): Use real FP ops rather than writing
18057 into the %fsr.
18058 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18059 Likewise.
18060
7dc00e0d
L
180612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18062
18063 [BZ #14117]
0bd53985
L
18064 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18065 * sysdeps/x86/bits/xtitypes.h: This.
18066
3a257e66
L
18067 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18068 * sysdeps/x86/bits/wordsize.h: This.
18069
62f62904
L
18070 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18071 * sysdeps/x86/bits/huge_vall.h: This.
18072
404fe9d9
L
18073 * sysdeps/i386/bits/select.h: Removed.
18074 * sysdeps/x86_64/bits/select.h: Renamed to ...
18075 * sysdeps/x86/bits/select.h: This.
18076
d48d0446
L
18077 * sysdeps/i386/bits/setjmp.h: Removed.
18078 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18079 * sysdeps/x86/bits/setjmp.h: This.
18080
7dc00e0d
L
18081 * sysdeps/i386/bits/mathdef.h: Removed.
18082 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18083 * sysdeps/x86/bits/mathdef.h: This.
18084
03277f8f
AS
180852012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18086
18087 [BZ #14132]
18088 * include/sys/socket.h (__connect_internal)
18089 (__libc_sa_len_internal): Remove declaration.
18090 (__connect, __libc_sa_len): Declare hidden_proto.
18091 (SA_LEN): Remove use of INTUSE.
18092 * socket/connect.c: Add libc_hidden_def.
18093 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18094 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18095 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18096 alias.
18097 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18098 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18099 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18100 of adding _internal alias.
18101
13764867
L
181022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18103
18104 [BZ #14117]
6bd97696
L
18105 * sysdeps/i386/bits/link.h: Removed.
18106 * sysdeps/i386/bits/linkmap.h: Likewise.
18107 * sysdeps/x86_64/bits/link.h: Renamed to ...
18108 * sysdeps/x86/bits/link.h: This.
18109 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18110 * sysdeps/x86/bits/linkmap.h: This.
18111
f726f0bb
L
18112 * sysdeps/i386/bits/endian.h: Removed.
18113 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18114 * sysdeps/x86/bits/endian.h: This.
18115
13764867
L
18116 * sysdeps/i386/bits/byteswap.h: Removed.
18117 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18118 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18119 * sysdeps/x86/bits/byteswap.h: This.
18120 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18121 * sysdeps/x86/bits/byteswap-16.h: This.
18122 * sysdeps/i386/Implies: Add x86.
18123 * sysdeps/x86_64/Implies: Likewise.
18124
ae251b0b
DM
181252012-05-30 David S. Miller <davem@davemloft.net>
18126
18127 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18128 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18129 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18130 (FP_TRAPPING_EXCEPTIONS): Define.
18131 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18132 (FP_TRAPPING_EXCEPTIONS): Define.
18133 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18134 subnormals only when inexact has been signalled or underflow
18135 exceptions are enabled.
18136 (_FP_PACK_CANONICAL): Likewise.
18137
d5c90867
L
181382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18139
18140 [BZ #14183]
18141 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18142 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18143
63f1549e
RH
181442012-05-30 Richard Henderson <rth@twiddle.net>
18145
8d8f2279
RH
18146 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18147 with #ifndef NOT_IN_libc.
18148
63f1549e
RH
18149 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18150 marked to avoid plt entry.
18151
0ab0291b
L
181522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18153
18154 [BZ #14112]
18155 * Makeconfig (default-abi): New macro.
18156 (abi-includes): Likewise.
18157 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18158 $(abi-$(default-abi)-lib-soname) for soname if defined.
18159 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18160 abi-variants.
18161 * Makefile (installed-stubs): Likewise.
18162 * include/stubs-biarch.h: Removed.
18163 * scripts/lib-names.awk: Only handle one library at a time.
18164 * scripts/soversions.awk: Remove WORDSIZE support.
18165 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18166 entries.
18167 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18168 Removed.
18169 (syscall-list-default-condition): Likewise.
18170 (syscall-list-default-condition): Likewise.
18171 (syscall-list-includes): Likewise.
18172 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18173 syscall-list-* with abi-*. Handle undefined abi-variants.
18174 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18175 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18176 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18177 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18178 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18179 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18180 Removed.
18181 (syscall-list-32-options): Likewise.
18182 (syscall-list-32-condition): Likewise.
18183 (syscall-list-64-options): Likewise.
18184 (syscall-list-64-condition): Likewise.
18185 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18186 macro.
18187 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18188 Renamed to ...
18189 (abi-*): This.
18190 (abi-64-ld-soname): New macro.
18191 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18192 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18193 Renamed to ...
18194 (abi-*): This.
18195 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18196 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18197
4da0431d
JM
181982012-05-30 Joseph Myers <joseph@codesourcery.com>
18199
3a85279c
JM
18200 * sysdeps/unix/sysv/linux/kernel-features.h
18201 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18202 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18203 include <kernel-features.h>.
18204 [!__NR_ftruncate64]: Remove conditional code.
18205 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18206 [__NR_ftruncate64]: Make code unconditional.
18207 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18208 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18209 include <kernel-features.h>.
18210 [!__NR_ftruncate64]: Remove conditional code.
18211 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18212 [__NR_ftruncate64]: Make code unconditional.
18213 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18215 include <kernel-features.h>.
18216 [!__NR_ftruncate64]: Remove conditional code.
18217 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18218 [__NR_ftruncate64]: Make code unconditional.
18219 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18221 include <kernel-features.h>.
18222 [!__NR_ftruncate64]: Remove conditional code.
18223 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18224 [__NR_ftruncate64]: Make code unconditional.
18225 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18226
4da0431d
JM
18227 * configure.in (libc_cv_fpie): Weaken to a compile test using
18228 LIBC_TRY_CC_OPTION.
18229 * configure: Regenerated.
18230
11ef492c
AK
182312012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18232
18233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18237 Refreshed.
18238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18244 Refreshed.
18245
d66ef399
DM
182462012-05-27 David S. Miller <davem@davemloft.net>
18247
18248 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18249 (___Q_zero): New.
18250 (__Q_simulate_exceptions): Return void. Change to simulate
18251 exceptions by writing into the %fsr.
18252 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18253 (__Qp_handle_exceptions): Likewise.
18254 (numbers): Delete.
18255 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18256 __Qp_handle_exceptions.
18257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18258 __Qp_handle_exceptions.
18259 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18260 as unused and give dummy FP_RND_NEAREST initializer.
18261 (FP_INHIBIT_RESULTS): Define.
18262 (___Q_simulate_exceptions): Update declaration.
18263 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18264 formatting.
18265 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18266 as unused and give dummy FP_RND_NEAREST initializer.
18267 (__Qp_handle_exceptions): Update declaration.
18268 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18269 formatting.
18270
04fb54b5
TS
182712012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18272
18273 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18274 the temporary FPU control word.
18275 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18276 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18277 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18278 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18279 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18280 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18281 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18282 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18283 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18284 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18285 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18286
3f99608f
KK
182872012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18288
18289 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18290 fields.
18291
65a4de4e
CLT
182922012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18293
18294 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18295 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18296 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18297 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18298 Likewise.
18299 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18300 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18301 Likewise.
18302
15749d40
UD
183032012-05-27 Ulrich Drepper <drepper@gmail.com>
18304
18305 * po/h.po: Update from translation team.
18306
25dbcb27
AS
183072012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18308
3d3f8e55
AS
18309 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18310
25dbcb27
AS
18311 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18312 handling of denormals.
18313 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18314 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18315 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18316 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18317 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18319 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18320 Likewise.
18321
7ad47a80 183222012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
18323
18324 [BZ #14152]
18325 * math/libm-test.inc (fma_test): Don't always expect underflow
18326 exception.
18327
9c6ea9fa
SP
183282012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18329
18330 [BZ #12416]
18331 * elf/tst-execstack.c: Include stackinfo.h.
18332 (do_test): Adjust test case to ensure that pthread_getattr_np
18333 behaviour remains the same after marking stack executable.
18334
a8239222
JM
183352012-05-25 Joseph Myers <joseph@codesourcery.com>
18336
18337 * sysdeps/unix/sysv/linux/kernel-features.h
18338 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18339 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18340 kernel-features.h.
18341 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18342 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18343 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18344 kernel-features.h.
18345 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18346 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18347
918b5606
L
183482012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18349
18350 * configure.in: Define the default includes to being none.
18351 * configure: Regenerated.
18352
3a097cc7
RM
183532012-05-25 Roland McGrath <roland@hack.frob.com>
18354
8422c9a5
RM
18355 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18356 * sysdeps/x86_64/setjmp.S: Likewise.
18357 * sysdeps/i386/bsd-setjmp.S: Likewise.
18358 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18359 * sysdeps/i386/setjmp.S: Likewise.
18360 * sysdeps/i386/__longjmp.S: Likewise.
18361 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18362 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18363
3a097cc7
RM
18364 * include/stap-probe.h: New file.
18365 * configure.in: Handle --enable-systemtap.
18366 * configure: Regenerated.
18367 * config.h.in (USE_STAP_PROBE): New #undef.
18368 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18369 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18370 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18371
21708942
JM
183722012-05-25 Joseph Myers <joseph@codesourcery.com>
18373
18374 [BZ #13717]
18375 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18376 to 2.4.0 where earlier.
18377 * sysdeps/unix/sysv/linux/configure: Regenerated.
18378 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18379 <kernel-features.h>.
18380 [__ASSUME_32BITUIDS]: Make code unconditional.
18381 [!__ASSUME_32BITUIDS]: Remove conditional code.
18382 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18383 <kernel-features.h>.
18384 [__ASSUME_32BITUIDS]: Make code unconditional.
18385 [!__ASSUME_32BITUIDS]: Remove conditional code.
18386 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18387 [__ASSUME_32BITUIDS]: Make code unconditional.
18388 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18389 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18390 <kernel-features.h>.
18391 [__ASSUME_32BITUIDS]: Make code unconditional.
18392 [!__ASSUME_32BITUIDS]: Remove conditional code.
18393 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18394 <kernel-features.h>.
18395 [__ASSUME_32BITUIDS]: Make code unconditional.
18396 [!__ASSUME_32BITUIDS]: Remove conditional code.
18397 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18398 <kernel-features.h>.
18399 [__ASSUME_32BITUIDS]: Make code unconditional.
18400 [!__ASSUME_32BITUIDS]: Remove conditional code.
18401 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18402 <kernel-features.h>.
18403 [__ASSUME_32BITUIDS]: Make code unconditional.
18404 [!__ASSUME_32BITUIDS]: Remove conditional code.
18405 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18406 <kernel-features.h>.
18407 [__ASSUME_32BITUIDS]: Make code unconditional.
18408 [!__ASSUME_32BITUIDS]: Remove conditional code.
18409 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18410 <kernel-features.h>.
18411 [__ASSUME_32BITUIDS]: Make code unconditional.
18412 [!__ASSUME_32BITUIDS]: Remove conditional code.
18413 * sysdeps/unix/sysv/linux/i386/getuid.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/i386/lchown.c: Do not include
18418 <kernel-features.h>.
18419 [__ASSUME_32BITUIDS]: Make code unconditional.
18420 [!__ASSUME_32BITUIDS]: Remove conditional code.
18421 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18422 <kernel-features.h>.
18423 [__ASSUME_32BITUIDS]: Make code unconditional.
18424 [!__ASSUME_32BITUIDS]: Remove conditional code.
18425 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18426 <kernel-features.h>.
18427 [__ASSUME_32BITUIDS]: Make code unconditional.
18428 [!__ASSUME_32BITUIDS]: Remove conditional code.
18429 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18430 <kernel-features.h>.
18431 [__NR_setresgid] (__setresgid): Do not declare.
18432 [__ASSUME_32BITUIDS]: Make code unconditional.
18433 [!__ASSUME_32BITUIDS]: Remove conditional code.
18434 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18435 <kernel-features.h>.
18436 [__NR_setresuid] (__setresuid): Do not declare.
18437 [__ASSUME_32BITUIDS]: Make code unconditional.
18438 [!__ASSUME_32BITUIDS]: Remove conditional code.
18439 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18440 <kernel-features.h>.
18441 [__ASSUME_32BITUIDS]: Make code unconditional.
18442 [!__ASSUME_32BITUIDS]: Remove conditional code.
18443 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18444 <kernel-features.h>.
18445 [__ASSUME_32BITUIDS]: Make code unconditional.
18446 [!__ASSUME_32BITUIDS]: Remove conditional code.
18447 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18448 <kernel-features.h>.
18449 [__ASSUME_32BITUIDS]: Make code unconditional.
18450 [!__ASSUME_32BITUIDS]: Remove conditional code.
18451 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18452 <kernel-features.h>.
18453 [__ASSUME_32BITUIDS]: Make code unconditional.
18454 [!__ASSUME_32BITUIDS]: Remove conditional code.
18455 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18456 <kernel-features.h>.
18457 [__ASSUME_32BITUIDS]: Make code unconditional.
18458 [!__ASSUME_32BITUIDS]: Remove conditional code.
18459 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18460 <kernel-features.h>.
18461 [__ASSUME_32BITUIDS]: Make code unconditional.
18462 [!__ASSUME_32BITUIDS]: Remove conditional code.
18463 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18464 <kernel-features.h>.
18465 [__ASSUME_32BITUIDS]: Make code unconditional.
18466 [!__ASSUME_32BITUIDS]: Remove conditional code.
18467 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18468 <kernel-features.h>.
18469 [__ASSUME_32BITUIDS]: Make code unconditional.
18470 [!__ASSUME_32BITUIDS]: Remove conditional code.
18471 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18472 <kernel-features.h>.
18473 [__ASSUME_32BITUIDS]: Make code unconditional.
18474 [!__ASSUME_32BITUIDS]: Remove conditional code.
18475 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18476 <kernel-features.h>.
18477 [__ASSUME_32BITUIDS]: Make code unconditional.
18478 [!__ASSUME_32BITUIDS]: Remove conditional code.
18479 * sysdeps/unix/sysv/linux/kernel-features.h
18480 (__ASSUME_SETRESUID_SYSCALL): Remove.
18481 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18482 (__ASSUME_32BITUIDS): Likewise.
18483 (__ASSUME_LDT_WORKS): Likewise.
18484 (__ASSUME_O_DIRECTORY): Likewise.
18485 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18486 architecture but not kernel version.
18487 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18488 (__ASSUME_MMAP2_SYSCALL): Likewise.
18489 (__ASSUME_STAT64_SYSCALL): Likewise.
18490 (__ASSUME_IPC64): Likewise.
18491 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18492 <kernel-features.h>.
18493 [__ASSUME_32BITUIDS]: Make code unconditional.
18494 [!__ASSUME_32BITUIDS]: Remove conditional code.
18495 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18496 <kernel-features.h>.
18497 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18498 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18499 132096]: Remove conditional code.
18500 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18501 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18502 <kernel-features.h>.
18503 [__ASSUME_32BITUIDS]: Make code unconditional.
18504 [!__ASSUME_32BITUIDS]: Remove conditional code.
18505 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18506 <kernel-features.h>.
18507 [__ASSUME_32BITUIDS]: Make code unconditional.
18508 [!__ASSUME_32BITUIDS]: Remove conditional code.
18509 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18510 <kernel-features.h>.
18511 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18512 unconditional.
18513 (__setresgid): Do not declare.
18514 [__ASSUME_32BITUIDS]: Make code unconditional.
18515 [!__ASSUME_32BITUIDS]: Remove conditional code.
18516 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18517 <kernel-features.h>.
18518 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18519 unconditional.
18520 (__setresuid): Do not declare.
18521 [__ASSUME_32BITUIDS]: Make code unconditional.
18522 [!__ASSUME_32BITUIDS]: Remove conditional code.
18523 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18524 <kernel-features.h>.
18525 [__ASSUME_32BITUIDS]: Make code unconditional.
18526 [!__ASSUME_32BITUIDS]: Remove conditional code.
18527 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18528 <kernel-features.h>.
18529 [__ASSUME_32BITUIDS]: Make code unconditional.
18530 [!__ASSUME_32BITUIDS]: Remove conditional code.
18531
a386f1cc
RH
185322012-05-25 Richard Henderson <rth@twiddle.net>
18533
18534 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18535 dl_hwcap to ifunc resolver.
18536 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18537 elf_ifunc_invoke.
18538 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18539 dl_hwcap to ifunc resolver.
18540 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18541
b6550497
JM
185422012-05-24 Joseph Myers <joseph@codesourcery.com>
18543
18544 [BZ #14153]
18545 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18546 for |x| <= 2**-26, not 2**-57.
18547 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18548 exception.
18549
b0bc23a1
JL
185502012-05-24 Jeff Law <law@redhat.com>
18551
18552 * stdio-common/Makefile (tests): Add bug25.
18553 * stdio-common/bug25.c: New test.
18554
347c92e9
L
185552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18556
18557 [BZ #13576]
18558 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18559 multiple of MALLOC_ALIGNMENT in size.
18560 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18561
6bcc8b3f
JM
185622012-05-24 Joseph Myers <joseph@codesourcery.com>
18563
18564 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18565 Require >= 256.
18566 (FILENAME_MAX): Use macro-int-constant.
18567 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18568 (_IOFBF): Use macro-int-constant.
18569 (_IOLBF): Likewise.
18570 (_IONBF): Likewise.
18571 (SEEK_CUR): Likewise.
18572 (SEEK_END): Likewise.
18573 (SEEK_SET): Likewise.
18574 (TMP_MAX): Likewise.
18575 (EOF): Use macro-int-constant. Require < 0.
18576 (NULL): Use macro-constant. Require == 0.
18577 (stdin): Require type to be FILE *.
18578 (stdout): Likewise.
18579 (stderr): Likewise.
18580 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18581 macro-int-constant.
18582 (EXIT_SUCCESS): Likewise.
18583 (NULL): Use macro-constant. Require == 0.
18584 (RAND_MAX): Use macro-int-constant.
18585 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18586 [C99-based standards] (strtof): Require function.
18587 [C99-based standards] (strtold): Likewise.
18588 [C99-based standards] (strtoll): Likewise.
18589 [C99-based standards] (strtoull): Likewise.
18590 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18591 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18592 [ISO || ISO99 || ISO11] (math.h): Likewise.
18593 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18594 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18595 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18596
d18ea0c5
AS
185972012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18598
18599 [BZ #14132]
56d25bb8
AS
18600 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18601 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18602 * intl/dgettext.c (DCGETTEXT): Likewise.
18603 * intl/gettext.c (DCGETTEXT): Likewise.
18604 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18605 * posix/regex_internal.h (gettext): Likewise.
18606 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18607 Remove declaration.
18608 * include/argz.h (__argz_count_internal)
18609 (__argz_stringify_internal): Remove declaration.
18610 (__argz_count, __argz_stringify): Declare hidden proto.
18611 * intl/dcgettext.c: Remove use of INTDEF.
18612 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18613 * string/argz-stringify.c: Likewise.
18614 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18615 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18616 Declare hidden proto.
d18ea0c5
AS
18617 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18618 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18619 Declare hidden proto.
18620 * include/stdio.h (__asprintf_internal): Don't declare.
18621 (__asprintf): Don't define as macro. Declare hidden proto.
18622 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18623 (__fsetlocking): Declare hidden proto.
18624 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18625 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18626 hidden proto.
18627 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18628 (_IO_setlinebuf): Remove use of INTUSE.
18629 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18630 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18631 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18632 Remove declaration.
18633 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18634 (_IO_do_flush): Remove use of INTUSE.
18635 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18636 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18637 (_IO_adjust_column, _IO_least_wmarker)
18638 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18639 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18640 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18641 (_IO_default_doallocate, _IO_wdefault_doallocate)
18642 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18643 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18644 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18645 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18646 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18647 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18648 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18649 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18650 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18651 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18652 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18653 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18654 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18655 proto.
18656 (_IO_flush_all_internal, _IO_adjust_column_internal)
18657 (_IO_default_uflow_internal, _IO_default_finish_internal)
18658 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18659 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18660 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18661 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18662 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18663 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18664 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18665 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18666 (_IO_file_close_internal, _IO_file_close_it_internal)
18667 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18668 (_IO_file_init_internal, _IO_file_attach_internal)
18669 (_IO_file_fopen_internal, _IO_file_read_internal)
18670 (_IO_file_sync_internal, _IO_file_seek_internal)
18671 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18672 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18673 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18674 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18675 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18676 (_IO_list_all_internal, _IO_link_in_internal)
18677 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18678 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18679 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18680 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18681 (_IO_do_write_internal, _IO_padn_internal)
18682 (_IO_getline_info_internal, _IO_getline_internal)
18683 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18684 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18685 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18686 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18687 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18688 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18689 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18690 with libc_hidden_ver, remove use of INTUSE.
18691 * libio/genops.c: Likewise.
18692 * libio/freopen.c: Likewise.
18693 * libio/freopen64.c: Likewise.
18694 * libio/iofclose.c: Likewise.
18695 * libio/iofdopen.c: Likewise.
18696 * libio/iofflush.c: Likewise.
18697 * libio/iofflush_u.c: Likewise.
18698 * libio/iofgets.c: Likewise.
18699 * libio/iofgets_u.c: Likewise.
18700 * libio/iofopen.c: Likewise.
18701 * libio/iofopncook.c: Likewise.
18702 * libio/iofread.c: Likewise.
18703 * libio/iofread_u.c: Likewise.
18704 * libio/ioftell.c: Likewise.
18705 * libio/iofwrite.c: Likewise.
18706 * libio/iogetline.c: Likewise.
18707 * libio/iogets.c: Likewise.
18708 * libio/iogetwline.c: Likewise.
18709 * libio/iopadn.c: Likewise.
18710 * libio/iopopen.c: Likewise.
18711 * libio/ioseekoff.c: Likewise.
18712 * libio/ioseekpos.c: Likewise.
18713 * libio/iosetbuffer.c: Likewise.
18714 * libio/iosetvbuf.c: Likewise.
18715 * libio/ioungetc.c: Likewise.
18716 * libio/ioungetwc.c: Likewise.
18717 * libio/iovdprintf.c: Likewise.
18718 * libio/iovsprintf.c: Likewise.
18719 * libio/iovsscanf.c: Likewise.
18720 * libio/memstream.c: Likewise.
18721 * libio/obprintf.c: Likewise.
18722 * libio/oldfileops.c: Likewise.
18723 * libio/oldiofclose.c: Likewise.
18724 * libio/oldiofdopen.c: Likewise.
18725 * libio/oldiofopen.c: Likewise.
18726 * libio/oldiopopen.c: Likewise.
18727 * libio/oldstdfiles.c: Likewise.
18728 * libio/putc.c: Likewise.
18729 * libio/setbuf.c: Likewise.
18730 * libio/setlinebuf.c: Likewise.
18731 * libio/stdfiles.c: Likewise.
18732 * libio/strops.c: Likewise.
18733 * libio/vasprintf.c: Likewise.
18734 * libio/vscanf.c: Likewise.
18735 * libio/vsnprintf.c: Likewise.
18736 * libio/vswprintf.c: Likewise.
18737 * libio/wfiledoalloc.c: Likewise.
18738 * libio/wfileops.c: Likewise.
18739 * libio/wgenops.c: Likewise.
18740 * libio/wmemstream.c: Likewise.
18741 * libio/wstrops.c: Likewise.
18742 * libio/__fpurge.c: Likewise.
18743 * libio/__fsetlocking.c: Likewise.
18744 * assert/assert.c: Likewise.
18745 * debug/fgets_chk.c: Likewise.
18746 * debug/fgets_u_chk.c: Likewise.
18747 * debug/fread_chk.c: Likewise.
18748 * debug/fread_u_chk.c: Likewise.
18749 * debug/gets_chk.c: Likewise.
18750 * debug/obprintf_chk.c: Likewise.
18751 * debug/vasprintf_chk.c: Likewise.
18752 * debug/vdprintf_chk.c: Likewise.
18753 * debug/vsnprintf_chk.c: Likewise.
18754 * debug/vsprintf_chk.c: Likewise.
18755 * malloc/mtrace.c: Likewise.
18756 * misc/error.c: Likewise.
18757 * misc/syslog.c: Likewise.
18758 * stdio-common/asprintf.c: Likewise.
18759 * stdio-common/fxprintf.c: Likewise.
18760 * stdio-common/getw.c: Likewise.
18761 * stdio-common/isoc99_fscanf.c: Likewise.
18762 * stdio-common/isoc99_scanf.c: Likewise.
18763 * stdio-common/isoc99_vfscanf.c: Likewise.
18764 * stdio-common/isoc99_vscanf.c: Likewise.
18765 * stdio-common/isoc99_vsscanf.c: Likewise.
18766 * stdio-common/printf-prs.c: Likewise.
18767 * stdio-common/printf_fp.c: Likewise.
18768 * stdio-common/printf_fphex.c: Likewise.
18769 * stdio-common/printf_size.c: Likewise.
18770 * stdio-common/putw.c: Likewise.
18771 * stdio-common/scanf.c: Likewise.
18772 * stdio-common/sprintf.c: Likewise.
18773 * stdio-common/tmpfile.c: Likewise.
18774 * stdio-common/vfprintf.c: Likewise.
18775 * stdio-common/vfscanf.c: Likewise.
18776 * stdlib/strfmon_l.c: Likewise.
18777 * sunrpc/openchild.c: Likewise.
18778 * sunrpc/xdr_stdio.c: Likewise.
18779 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18780 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18781
d6c33fda
RM
187822012-05-24 Roland McGrath <roland@hack.frob.com>
18783
c1487492
RM
18784 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18785
18786 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18787 in the third column, to generate for the shared library an IFUNC
18788 that uses _dl_vdso_vsym.
18789 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18790 * Makeconfig (object-suffixes-noshared): New variable.
18791
18792 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18793 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18794 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18795 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18796
d6c33fda
RM
18797 [BZ #14132]
18798 * include/sys/time.h (__gettimeofday): Remove macro.
18799 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18800 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18801 Remove INTDEF.
18802 (__gettimeofday): Add libc_hidden_def.
18803 (gettimeofday): Add libc_hidden_weak.
18804 * sysdeps/mach/gettimeofday.c: Likewise.
18805 * sysdeps/posix/gettimeofday.c: Likewise.
18806 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18807 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18808 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18809 (__gettimeofday_internal): Remove strong_alias.
18810 (__gettimeofday): Add libc_hidden_def.
18811 (gettimeofday): Add libc_hidden_weak.
18812 * sysdeps/unix/syscalls.list (gettimeofday):
18813 Remove __gettimeofday_internal alias.
18814
b5a2bbe6
L
188152012-05-24 Daniel Jacobowitz <drow@false.org>
18816 H.J. Lu <hongjiu.lu@intel.com>
18817
18818 [BZ #12495]
18819 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18820 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18821 (largebin_index_32_big): New.
18822 (largebin_index): Use it for 16-byte alignment.
18823 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18824 correction with front_misalign.
18825
cfba4fda
L
188262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18827
7f907421
L
18828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18830 Likewise.
18831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18832 Likewise.
18833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18834 Likewise.
18835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18836 Likewise.
18837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18838 Likewise.
18839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18840 Likewise.
18841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18842 Likewise.
18843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18844 Likewise.
18845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18846 Likewise.
18847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18848 Likewise.
18849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18850 Likewise.
18851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18852 Likewise.
18853
cfba4fda
L
18854 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18855 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18856
80bad0cc
JM
188572012-05-24 Joseph Myers <joseph@codesourcery.com>
18858
7a25eb06
JM
18859 [BZ #10846]
18860 [BZ #14036]
18861 * math/libm-test.inc (exp_test): Add test from bug 14036.
18862 (pow_test): Add test from bug 10846.
18863
795405f9
JM
18864 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18865 and other flags.
18866 (special_function): Do not include flags in test name.
18867 (parse_args): Likewise.
18868 * sysdeps/i386/fpu/libm-test-ulps: Update.
18869 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18870 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18871 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18873
80bad0cc
JM
18874 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18875 exceptions.
18876 * math/libm-test.inc ("Philosophy"): Update comment about
18877 exception testing.
18878 (UNDERFLOW_EXCEPTION): New macro.
18879 (UNDERFLOW_EXCEPTION_OK): Likewise.
18880 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18881 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18882 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18883 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18884 (INVALID_EXCEPTION_OK): Update value.
18885 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18886 (OVERFLOW_EXCEPTION_OK): Likewise.
18887 (IGNORE_ZERO_INF_SIGN): Likewise.
18888 (test_exceptions): Handle underflow exceptions.
18889 (acos_test): Update for underflow exception expectations.
18890 (cexp_test): Likewise.
18891 (clog_test): Likewise.
18892 (clog10_test): Likewise.
18893 (csqrt_test): Likewise.
18894 (ctan_test): Likewise.
18895 (ctanh_test): Likewise.
18896 (exp_test): Likewise.
18897 (exp10_test): Likewise.
18898 (exp2_test): Likewise.
18899 (expm1_test): Likewise.
18900 (fma_test): Likewise.
18901 (j0_test): Likewise.
18902 (jn_test): Likewise.
18903 (nexttoward_test): Likewise.
18904 (pow_test): Likewise.
18905 (scalbn_test): Likewise.
18906 (scalbln_test): Likewise.
18907 (tan_test): Likewise.
18908 (y1_test): Likewise.
18909 * sysdeps/i386/fpu/libm-test-ulps: Update.
18910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18911
9e0e3d0b
DM
189122012-05-23 David S. Miller <davem@davemloft.net>
18913
18914 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18915 (__libc_sigaction): Remove unused local variables.
18916
ccd0a08f
L
189172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18918
18919 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18920
62bdf9a6
PE
189212012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18922
f8591f80
PE
18923 mktime: avoid signed integer overflow
18924 * time/mktime.c (__mktime_internal): Do not mishandle the case
18925 where diff == INT_MIN.
18926
94c7d826
PE
18927 mktime: simplify computation of average
18928 * time/mktime.c (ranged_convert): Use new time_t_avg function
18929 instead of rolling our own (probably-slower) code.
18930
ce73d683
PE
18931 mktime: do not assume signed right shift propagates sign bit
18932 * time/mktime.c (isdst_differ): New static function.
18933 (__mktime_internal): No need to normalize tm_isdst now.
18934 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18935 tm_isdst values.
18936
72a22e59
PE
18937 mktime: merge another wrapv change from gnulib
18938 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18939 from some compilers.
18940
68605433
PE
18941 mktime: remove incorrect attempt at unusual arithmetics
18942 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18943 The code didn't really work on such machines anyway.
18944 (TYPE_MINIMUM): Assume two's complement.
18945 (twos_complement_arithmetic): Verify that long_int and time_t
18946 are two's complement (or unsigned, in the latter case).
18947
03cf7fe3
PE
18948 mktime: check signed shifts on long_int and time_t, too
18949 * time/mktime.c (SHR): Check that shifts work as desired
18950 on the types long_int and time_t too, as SHR is used on
18951 such types.
18952
f04dfbc2
PE
18953 mktime: do not assume 'long' is wide enough
18954 * time/mktime.c (verify): Move decl up.
18955 (long_int): New type.
18956 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18957 to remove assumption in the code that 'long' is wide enough to
18958 store year values. This assumption is not true on x32 and on
18959 some non-glibc platforms.
18960
62bdf9a6
PE
18961 mktime: merge wrapv change from gnulib
18962 * time/mktime.c (WRAPV): New macro.
18963 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18964 (guess_time_tm, __mktime_internal): Do not assume that signed
18965 integer overflow wraps around; modern compilers generate code
18966 where this assumption is no longer valid.
18967
5e292e4f
L
189682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18969
18970 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18971 Replace "jmp L(pseudo_end)" with "ret".
18972 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18973 Likewise.
18974
8caf8c87
AJ
189752012-05-23 Andreas Jaeger <aj@suse.de>
18976
18977 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18978 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18979
1a09dc56
AJ
189802012-05-23 Andreas Jaeger <aj@suse.de>
18981 Maximilian Attems <max@stro.at>
18982
18983 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18984 New macros.
18985
1c87aba0
L
189862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18987
18988 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18989 code so that pseudo_end is just ret and the stack pointer is
18990 correct also for static library in error case.
18991
40e45bd5
JM
189922012-05-23 Joseph Myers <joseph@codesourcery.com>
18993
c2670533
JM
18994 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18995 move to syscalls.list.
18996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19000
40e45bd5
JM
19001 * manual/install.texi (Running make install): Do not mention Linux
19002 kernel version for which pt_chown is not needed.
19003 (Linux): Do not mention problems with nscd with 2.0 kernels.
19004 * INSTALL: Regenerated.
19005
be08eda5
AJ
190062012-05-23 Andreas Jaeger <aj@suse.de>
19007
19008 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19009 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19010 macro.
19011 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19012 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19013 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19014 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19015 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19016 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19017 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19018 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19019 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19020 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19021 * sysdeps/unix/sysv/linux/bits/in.h
19022 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19023
a6a056bb
RM
190242012-05-22 Roland McGrath <roland@hack.frob.com>
19025
19026 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19027 (PREPARE_VERSION): Just use assert instead, it will be elided
19028 under [NDEBUG] anyway.
19029
c9009328
L
190302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19031
19032 * sysdeps/unix/sysv/linux/Makefile: Include
19033 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 19034 (sysdep_routines): Remove sysctl.
c9009328
L
19035 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19036 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19037 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19038 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19039 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19040
73338355
AJ
190412012-05-22 Andreas Jaeger <aj@suse.de>
19042
19043 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19044 that pseudo_end is just ret and the stack pointer is correct also
19045 for static library in error case.
19046
d44638b0
PP
190472012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19048
19049 [BZ #14122]
19050 * nss/nsswitch.c (defconfig_entries): New variable.
19051 (__nss_database_lookup): Don't leak defconfig entries.
19052 (nss_parse_service_list): Don't leak on error paths.
19053 (free_database_entries): New function.
19054 (free_defconfig): New function.
19055 (free_mem): Move common code to free_database_entries.
19056
31a39bd8
L
190572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19058
da0331a8
L
19059 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19060 Add arch_prctl.
19061 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19062
31a39bd8
L
19063 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19064 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19065 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19066 New macro.
19067 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19068 (INTERNAL_SYSCALL_TYPES): Likewise.
19069 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19070 (LOAD_REGS_TYPES_[1-6]): Likewise.
19071 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19072 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19073
45470df3
AZ
190742012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19075
19076 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19077 copysignl for GLIBC_2_0.
19078 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19079 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19080 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19081 logbl for GLIBC_2_0.
19082 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19083 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19084
98a61bcb
L
190852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19086
a4f6e481
L
19087 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19088 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19089
f63d5db6
L
19090 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19091 Use "neg %eax".
19092
98a61bcb
L
19093 * time/mktime.c: Update copyright years.
19094
95770f14
PE
190952012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19096
6226efbd
PE
19097 mktime: merge comment-quoting-style change from gnulib
19098 * time/mktime.c: Quote 'like this' in comments.
19099 The GNU coding standards suggest that we no longer quote `like this',
19100 as "`" and "'" are typically rendered asymmetrically nowadays.
19101 The typical gnulib style is to quote 'like this' when quoting
19102 code, and "like this" when quoting English.
19103
b99e4f78
PE
19104 * time/mktime.c (compile-command): Add "-I.".
19105
643e01e6
PE
19106 mktime: merge mktime-internal.h change from gnulib
19107 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19108
2554247d
PE
19109 mktime: merge time_r change from gnulib
19110 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19111
826dd0ab
PE
19112 mktime: merge DEBUG change from gnulib
19113 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19114 case system <time.h> has a #define.
19115
bd83aabe
PE
19116 mktime: merge <sys/types.h> change from gnulib
19117 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19118 since <time.t> is now guaranteed to define time_t.
19119
95770f14
PE
19120 mktime: merge HAVE_CONFIG_H change from gnulib
19121 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19122
5e1a27a9
L
191232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19124
0e44a77e
L
19125 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19126 Use "neg %eax".
19127
5e1a27a9
L
19128 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19129 __rlim_t cast.
19130 (struct rusage): Use anonymous union to pad each field to
19131 __syscall_slong_t.
19132
46259bec
DM
191332012-05-21 David S. Miller <davem@davemloft.net>
19134
19135 * Makefules (o-iterator): Remove .s cases.
19136 (compile-command.s): Delete.
19137 (COMPILE.s): Delete.
19138 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19139
59f0c22e
JM
191402012-05-21 Joseph Myers <joseph@codesourcery.com>
19141
19142 * configure.in (libc_cv_predef_stack_protector): Only consider
19143 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19144 * configure: Regenerated.
19145
20c07380
L
191462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19147
bbb3154b
L
19148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19149 New macro. Use R*LP on int and pointer.
19150 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
19151 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19152 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
19153 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19154
20c07380
L
19155 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19156 [__WORDSIZE_TIME64_COMPAT32] instead of
19157 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19158 (struct utmp): Likewise.
19159 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19160 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19161 Renamed to ...
19162 (__WORDSIZE_TIME64_COMPAT32): This.
19163 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19164 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19165 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19166 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19167 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19168 (__WORDSIZE_TIME64_COMPAT32): New macro.
19169
d8d1017e
AJ
191702012-05-21 Andreas Jaeger <aj@suse.de>
19171
19172 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19173 only if [SHARED]. Add prototype for __wcschr_ia32.
19174
6c7fb145
RM
191752012-05-21 Roland McGrath <roland@hack.frob.com>
19176
19177 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19178 of %rbp unmolested in the jmp_buf while mangling the low bits.
19179 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19180 unmolested high bits of %rbp while demangling the low bits.
19181 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19182
66274218
AJ
191832012-05-21 Andreas Jaeger <aj@suse.de>
19184
07c58f8f
AJ
19185 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19186 * sunrpc/svc_simple.c: Use it for registerrpc.
19187 * sunrpc/xcrypt.c: Use it for passwd2des.
19188
66274218
AJ
19189 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19190
61f65140
L
191912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19192
19193 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19194 Don't define if [__SYSCALL_WORDSIZE != 32].
19195 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19196 New macro.
19197
5fefb436
AJ
191982012-05-21 Bruno Haible <bruno@clisp.org>
19199 Andreas Jaeger <aj@suse.de>
19200
19201 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19202 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19203 inptr and inend for must_buffer_ch.
19204 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19205 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19206 * stdio-common/Makefile (tests): Remove bug15.
19207 (bug15-ENV): Remove macro.
19208 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19209 anymore.
19210
d8e272ab
AJ
192112012-05-19 Andreas Jaeger <aj@suse.de>
19212 Roland McGrath <roland@hack.frob.com>
19213
19214 * manual/contrib.texi: Completely rewritten. It contains now an
19215 alphabetical list of contributors and their contributions.
19216
4a56a162
RH
192172012-05-21 Richard Henderson <rth@twiddle.net>
19218
19219 * misc/getauxval.c (__getauxval): Use unsigned long int.
19220 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19221 (getauxval): Use unsigned long int.
19222
d024d23c
L
192232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19224
19225 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19226
cbc00a03
RM
192272012-05-21 Roland McGrath <roland@hack.frob.com>
19228
19229 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19230 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19231 __alignof__ (long double).
19232
478143fa
AZ
192332012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19234
19235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19236
c7683a6d
RH
192372012-05-20 Richard Henderson <rth@twiddle.net>
19238
19239 * misc/getauxval.c: New file.
19240 * misc/sys/auxv.h: New file.
19241 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19242 (routines): Add getauxval.
19243 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19244 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19245 * elf/dl-sysdep.c (_dl_auxv): Remove.
19246 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19247 * elf/dl-support.c (_dl_auxv): New variable.
19248 (_dl_aux_init): Initialize it.
19249 * manual/startup.texi (Auxiliary Vector): New node.
19250 * sysdeps/generic/bits/hwcap.h: New file.
19251 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19252 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19253 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19254 * sysdeps/sparc/sysdep.h: ... here. Include it.
19255 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19256 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
19257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19258 Update.
c7683a6d
RH
19259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19262 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19267
a6f1845d
AZ
192682012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19269
19270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19271
cbcbe830
DM
192722012-05-19 David S. Miller <davem@davemloft.net>
19273
19274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19275
e0b16cc2
JM
192762012-05-19 Joseph Myers <joseph@codesourcery.com>
19277
19278 [BZ #14123]
19279 * math/s_ccosh.c: Include <float.h>
19280 (__ccosh): Avoid internal overflow calculating sinh and cosh
19281 values before multiplying by sin and cos values.
19282 * math/s_ccoshf.c: Likewise.
19283 * math/s_ccoshl.c: Likewise.
19284 * math/s_csin.c: Likewise.
19285 * math/s_csinf.c: Likewise.
19286 * math/s_csinl.c: Likewise.
19287 * math/s_csinh.c: Likewise.
19288 * math/s_csinhf.c: Likewise.
19289 * math/s_csinhl.c: Likewise.
19290 * math/libm-test.inc (ccos_test): Add more tests.
19291 (ccosh_test): Likewise.
19292 (csin_test): Likewise.
19293 (csinh_test): Likewise.
19294 * sysdeps/i386/fpu/libm-test-ulps: Update.
19295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19296
6ad13e08
L
192972012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19298
f66f0ce8
L
19299 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19300 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19301
6ad13e08
L
19302 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19303
b1d072a7
JM
193042012-05-19 Joseph Myers <joseph@codesourcery.com>
19305
19306 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19307 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19308 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19309 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19310 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19311 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19312 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19313 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19314 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19315 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19316 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19317 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19318 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19319 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19320 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19321 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19322 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19323 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19324 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19325 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19326 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19327 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19328 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19329 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19330 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19331 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19332 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19333 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19334 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19335 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19336 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19337
9eae47cb
AJ
193382012-05-18 Andreas Jaeger <aj@suse.de>
19339
19340 * csu/.gitignore: Delete.
19341
bb07f69f
L
193422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19343
19344 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19345 (timex): Use __syscall_slong_t.
19346
e6bdb741
AJ
193472012-05-18 Andreas Jaeger <aj@suse.de>
19348 Carlos O'Donell <carlos_odonell@mentor.com>
19349
19350 * manual/install.texi (Configuring and compiling): Update
19351 description about files modified in the source directory.
d6c33fda 19352 * INSTALL: Regenerated.
e6bdb741 19353
1b74487e
L
193542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19355
19356 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19357 value. Use "or" to set return value to -1.
19358 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19359 negate return value.
19360
a88b64b9
TMQMF
193612012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19362
19363 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19364 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19365 failure if the compiler has Graphite support disabled.
19366 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19367 Likewise.
19368 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19369 CFLAGS-memmove.c): Likewise.
19370 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19371 Likewise.
19372
3707636e
L
193732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19374
610b8622
L
19375 * sysdeps/x86_64/x32/_itoa.h: New file.
19376
7cd195df
L
19377 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19378 getdents system call only if kernel and user dirents have the
19379 same d_ino and d_off.
19380
94b07d20
L
19381 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19382 LLONG_MAX != LONG_MAX.
19383 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19384 (_fitoa_word): Likewise.
19385
18298070
L
19386 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19387 years.
19388 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19389 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19390 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19391
553c7ea4
L
19392 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19393 include <bits/wordsize.h>. Check __x86_64__ instead of
19394 __WORDSIZE.
19395 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19396 if __x86_64__ is defined. Use anonymous union on fpstate.
19397
3707636e
L
19398 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19399 anonymous union.
19400
b53ef01a
AS
194012012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19402
37fb1dc0
AS
19403 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19404 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19405 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19406 Refer to _rtld_local_ro instead of _rtld_global_ro.
19407 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19408 Likewise.
19409 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19410 Likewise.
19411 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19412 Likewise.
19413 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19414 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19415 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19416
b53ef01a
AS
19417 * sysdeps/powerpc/powerpc32/dl-machine.c
19418 (__elf_machine_runtime_setup) [PROF]: Don't reference
19419 _dl_prof_resolve.
19420
7a185db2
AJ
194212012-05-18 Andreas Jaeger <aj@suse.de>
19422
19423 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19424 function only available for GCCs before 3.4 since GCC 3.4
19425 introduced a builtin.
19426 (lrint): Likewise.
19427 (llrintf): Likewise.
19428 (llrint): Likewise.
19429 (fmaxf): Likewise.
19430 (fmax): Likewise.
19431 (fminf): Likewise.
19432 (fmin): Likewise.
19433 (rint): Likewise.
19434 (rintf): Likewise.
19435 (nearbyint): Likewise.
19436 (nearbyintf): Likewise.
19437 (ceil): Likewise.
19438 (ceilf): Likewise.
19439 (floor): Likewise.
19440 (floorf): Likewise.
19441
3e5aef87
L
194422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19443
428bd707
L
19444 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19445 on both fields and cast pointer to __syscall_ulong_t.
19446
3e5aef87
L
19447 * bits/types.h (__fsword_t): New type.
19448 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19449 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19450 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19451 (__FSWORD_T_TYPE): Likewise.
19452 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19453 (__FSWORD_T_TYPE): Likewise.
19454 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19455 (__FSWORD_T_TYPE): Likewise.
19456 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19457 (__FSWORD_T_TYPE): Likewise.
19458 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19459 __SWORD_TYPE with __fsword_t.
19460 (statfs64): Likewise.
19461
1ba7c3dc
DM
194622012-05-17 David S. Miller <davem@davemloft.net>
19463
19464 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19465
59910343
AJ
194662012-05-17 Andreas Jaeger <aj@suse.de>
19467
19468 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19469 warning.
19470
2e4c1e9e
L
194712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19472
19473 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19474
de7f5ce7
AJ
194752012-05-17 Andreas Jaeger <aj@suse.de>
19476
19477 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19478 when it is used.
19479
286abc3d
CM
194802012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19481
19482 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19483
477cc68e
L
194842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19485
19486 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19487 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19488
1a0994f5
CD
194892012-05-17 Andreas Jaeger <aj@suse.de>
19490 Carlos O'Donell <carlos_odonell@mentor.com>
19491
19492 [BZ #14059]
19493 * sysdeps/x86_64/multiarch/init-arch.h
19494 (bit_YMM_Usable): Rename to...
19495 (bit_AVX_Usable): ... this.
19496 (bit_FMA4_Usable): New macro.
19497 (bit_XMM_state): New macro.
19498 (bit_YMM_state): New macro.
19499 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19500 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19501 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19502 (CPUID_OSXSAVE): New macro.
19503 (CPUID_AVX): New macro.
19504 (CPUID_FMA4): New macro.
19505 (index_YMM_Usable): Rename to...
19506 (index_AVX_Usable): ... this.
19507 (HAS_AVX): Use HAS_ARCH_FEATURE.
19508 (HAS_FMA4): Likewise.
19509 (HAS_YMM_USABLE): Remove.
19510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19511 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19512 are present.
19513 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19514 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19515 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19516 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19517 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19518
0af797de
CM
195192012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19520
19521 * math/libm-test.c: Support platforms without multiple rounding modes.
19522 * math/bug-nextafter.c: Support platforms without FP exceptions.
19523 * math/bug-nexttoward.c: Likewise.
19524 * math/test-fenv.c: Likewise.
19525 * math/test-misc.c: Likewise.
19526 * stdlib/bug-getcontext.c: Likewise.
19527
e39745ff
AJ
195282012-05-17 Andreas Jaeger <aj@suse.de>
19529
19530 * manual/examples/search.c (critter_cmp): Change signature to
19531 avoid warnings.
19532 * manual/string.texi (Collation Functions): Likewise.
19533
48970aba
L
195342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19535
19536 * bits/types.h: Fold copyright years.
19537 * bits/typesizes.h: Likewise.
19538 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19539 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19540 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19541 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19542 * time/time.h: Likewise.
19543
bedee953
PP
195442012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19545
19546 [BZ #208]
19547 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19548 in instead of returning them. Return void.
19549 (__libc_mallinfo): Accumulate over all arenas.
19550 (__malloc_stats): Adjust for change in int_mallinfo interface.
19551
61653dfb
RM
195522012-05-16 Roland McGrath <roland@hack.frob.com>
19553
30b99d79
RM
19554 [BZ #10375]
19555 * configure.in (NM): Add AC_CHECK_TOOL for it.
19556 (libc_extra_cflags): New substituted variable.
19557 Check for -fstack-protector being used implicitly.
19558 * configure: Regenerated.
19559 * config.make.in (config-extra-cflags): New variable,
19560 gets @libc_extra_cflags@.
19561 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19562
61653dfb
RM
19563 [BZ #10375]
19564 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19565 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19566 * configure: Regenerated.
19567 * config.make.in (CPPUNDEFS): New substituted variable.
19568 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19569 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19570 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19571
661768bb
L
195722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19573
19574 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19575 (mq_attr): Use __syscall_slong_t.
19576
d4261567
L
195772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19578
19579 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19580 Check __x86_64__ instead of __WORDSIZE.
19581 (_STAT_VER_LINUX): Likewise.
19582 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19583 __syscall_ulong_t and __syscall_slong_t.
19584 (stat64): Likewise.
19585
cf3ff365
L
195862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19587
19588 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19589
76cf3e4d
L
195902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19591
19592 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19593
a637753a
L
195942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19595
19596 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19597 __syscall_ulong_t.
19598
d5e05119
L
19599 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19600 include <bits/wordsize.h>. Check __x86_64__ instead of
19601 __WORDSIZE.
19602 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19603 defined.
19604 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19605
f62ee380
L
19606 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19607 include <bits/wordsize.h>. Check __x86_64__ instead of
19608 __WORDSIZE.
19609 (user_regs_struct): Use "__extension__ unsigned long long"
19610 instead of "unsigned long" if __x86_64__ is defined.
19611 (user): Likewise. Pad after pointer field if __ILP32__ is
19612 defined.
19613
4e124ced
JM
196142012-05-16 Joseph Myers <joseph@codesourcery.com>
19615
6a3951a0
JM
19616 * configure.in (makeinfo): Require version 4.5 or later. Allow
19617 versions 5 to 9.
19618 * configure: Regenerated.
19619 * manual/install.texi (texinfo): Increase version requirement to
19620 4.5 or later.
19621 * INSTALL: Regenerated.
19622
4e124ced
JM
19623 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19624
953ca31a
L
196252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19626
19627 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19628
617aca05
L
19629 * sysdeps/x86_64/x32/ffs.c: New file.
19630
5762f7ae
L
19631 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19632 __syscall_ulong_t.
19633 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19634 defined. Use __syscall_ulong_t.
19635 (shminfo): Use __syscall_ulong_t.
19636 (shm_info): Likewise.
19637
a26b6856
L
19638 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19639 __syscall_ulong_t.
19640
cb2b9ef7
L
19641 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19642 <bits/wordsize.h>.
19643 (msgqnum_t): Use __syscall_ulong_t.
19644 (msglen_t): Likewise.
19645 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19646 __syscall_ulong_t.
19647
34683bb0
L
19648 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19649 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19650
84a68786
L
19651 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19652
48baa5f1
L
19653 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19654 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19655
180be88b
L
19656 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19657 __syscall_slong_t.
19658
5e90c8ad
L
19659 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19660 include <bits/wordsize.h>. Check __x86_64__ instead of
19661 __WORDSIZE.
19662
23dfb58b
L
19663 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19664 "unsigned long long int" if __x86_64__ is defined.
19665 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19666
ce5d54b0
L
19667 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19668 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19669 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19670
13dc9eac
L
19671 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19672 <stdint.h>.
19673 (GET_PC): Cast to uintptr_t first.
19674 (GET_FRAME): Likewise.
19675 (GET_STACK): Likewise.
19676
a7895d15
L
19677 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19678 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19679 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19680 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19681 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19682 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19683 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19684 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19685 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19686 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19687 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19688 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19689 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19690 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19691 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19692 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19693 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19694 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19695 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19696 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19697 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19698 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19699 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19700 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19701 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19702 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19703 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19704 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19705 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19706
656416c9
AS
197072012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19708
5bd66283
AS
19709 * Makerules (+depfiles): Also collect depfiles from .oS in
19710 $(extra-objs).
19711 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19712 .oS, $(libnldbl-routines)).
19713
656416c9
AS
19714 * Makerules (native-compile-mkdep-flags): Define.
19715 * sunrpc/Makefile (extra-objs): Add $(addprefix
19716 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19717 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19718 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19719 calling $(make-target-directory).
19720
a46f2169
L
197212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19722
19723 * bits/types.h (__snseconds_t): Removed.
19724 * time/time.h (struct timespec): Replace __snseconds_t with
19725 __syscall_slong_t.
19726 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19727 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19728 Likewise.
19729 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19730 (__SNSECONDS_T_TYPE): Likewise.
19731 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19732 (__SNSECONDS_T_TYPE): Likewise.
19733 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19734 (__SNSECONDS_T_TYPE): Likewise.
19735
6af6528b
L
197362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19737
19738 * sysdeps/mach/hurd/bits/typesizes.h
19739 (__SYSCALL_SLONG_TYPE): New macro.
19740 (__SYSCALL_ULONG_TYPE): Likewise.
19741
de986b56
L
197422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19743
19744 * bits/types.h (__syscall_slong_t): New type.
19745 (__syscall_ulong_t): Likewise.
19746
19747 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19748 (__SYSCALL_ULONG_TYPE): Likewise.
19749 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19750 (__SYSCALL_SLONG_TYPE): Likewise.
19751 (__SYSCALL_ULONG_TYPE): Likewise.
19752 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19753 (__SYSCALL_SLONG_TYPE): Likewise.
19754 (__SYSCALL_ULONG_TYPE): Likewise.
19755 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19756 (__SYSCALL_SLONG_TYPE): Likewise.
19757 (__SYSCALL_ULONG_TYPE): Likewise.
19758
85736dc7
L
197592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19760
19761 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19762 Add sigaltstack-offsets.sym.
19763 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19764 <sigaltstack-offsets.h>.
19765 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19766 longjmp_msg pointer.
19767 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19768 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19769 signal stack.
19770 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19771
cc03b296
JM
197722012-05-15 Joseph Myers <joseph@codesourcery.com>
19773
a9538892
JM
19774 * elf/stackguard-macros.h: Remove file.
19775 * sysdeps/generic/stackguard-macros.h: New file.
19776 * sysdeps/i386/stackguard-macros.h: Likewise.
19777 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19778 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19779 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19780 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19781 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19782 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19783 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19784 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19785 <elf/stackguard-macros.h>.
19786
cc03b296
JM
19787 [BZ #14109]
19788 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19789 __aligned__ in attribute.
19790 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19791 (gregset_t): Likewise.
19792
93171016
L
197932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19794
19795 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19796 * sysdeps/x86_64/64/Implies-after: Here. New file.
19797 * sysdeps/x86_64/x32/Implies-after: New file.
19798
d86813a0
L
197992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19800
19801 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19802 and access return value for _dl_profile_fixup. Use R10_LP to
19803 load frame size.
19804
2953ec75
L
198052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19806
19807 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19808
3b550e9e
L
198092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19810
19811 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19812 * sysdeps/x86_64/x32/sysdep.h: New file.
19813
eda41706
L
198142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19815
19816 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19817 * sysdeps/x86_64/setjmp.S: Likewise.
19818
9ea01d93
AZ
198192012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19820
19821 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19822 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19823 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19824 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19825 remove unused global constant.
19826
02a91938
CM
198272012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19828
19829 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19830 include of <not-cancel.h>.
19831
6540185f
RM
198322012-05-15 Roland McGrath <roland@hack.frob.com>
19833
19834 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19835
509072a0
AJ
198362012-05-15 Jeff Law <law@redhat.com>
19837 Andreas Jaeger <aj@suse.de>
19838
19839 [BZ #13594]
19840 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19841 out from...
19842 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19843 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19844 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19845 code changing __hst_map_handle.map.
19846
ba75122d
RM
198472012-05-15 Roland McGrath <roland@hack.frob.com>
19848
19849 * configure.in (sysnames): Look for Implies-before and Implies-after
19850 files.
19851 * configure: Regenerated.
19852
890d8bd8
L
198532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19854
19855 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19856 8-byte data alignment with LP_SIZE alignment.
19857
f6ee6623
L
198582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19859
19860 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19861 into R10_LP.
19862
ea2626f6
L
198632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19864
19865 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19866
085f715e
L
198672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19868
19869 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19870 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19871 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19872 Likewise.
19873 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19874
be8498fc
L
198752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19876
19877 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19878 (stackinfo_sub_sp): Likewise.
19879
70bc83b9
L
198802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19881
19882 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19883 RAX_LP.
19884
9bc0b730
L
198852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19886
19887 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19888 into R*_LP.
19889
6d2850e7
L
198902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19891
19892 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19893 sizes into R*_LP.
19894
3cb84561
L
198952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19896
19897 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19898
54e2ed81
L
198992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19900
19901 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19902 into R11_LP and load __x86_64_shared_cache_size_half into
19903 R8_LP.
19904
8a17f349
L
199052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19906
19907 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19908 R8_LP.
19909
777b1eea
AZ
199102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19911
19912 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19913 logb for POWER7.
19914 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19915 logbf for POWER7.
19916 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19917 logbl for POWER7.
19918 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19919 powerpc32/power7/fpu/s_logb.c via #include.
19920 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19921 powerpc32/power7/fpu/s_logbf.c via #include.
19922 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19923 powerpc32/power7/fpu/s_logbl.c via #include.
19924
d20d4ac2
JM
199252012-05-15 Joseph Myers <joseph@codesourcery.com>
19926
19927 * README.libm: Remove file.
19928
6cdef1ab
L
199292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19930
19931 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19932 count for x32. Use R*_LP and omit operand-size suffix.
19933
0b254d8f
L
199342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19935
19936 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19937 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19938 * sysdeps/x86_64/x32/shlib-versions: New file.
19939
ceb809dc
RM
199402012-05-14 Roland McGrath <roland@hack.frob.com>
19941
19942 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19943 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19944 Use _dl_fatal_printf instead.
19945
37f1abd4
JM
199462012-05-14 Joseph Myers <joseph@codesourcery.com>
19947
19948 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19949 set if not set by the user. Do not allow for being unset.
19950 * sysdeps/unix/sysv/linux/configure: Regenerated.
19951
11de3a33
L
199522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19953
19954 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19955 the `q' suffix from lea and replace .quad with ASM_ADDR.
19956
e02f153a
L
199572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19958
19959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19960 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19961 instead of $17.
19962 (PTR_DEMANGLE): Likewise.
19963
520ae0fd
L
199642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19965
19966 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19967 (LP_OP): Likewise.
19968 (ASM_ADDR): Likewise.
19969 (RAX_LP): Likewise.
19970 (RBP_LP): Likewise.
19971 (RBX_LP): Likewise.
19972 (RCX_LP): Likewise.
19973 (RDI_LP): Likewise.
19974 (RSI_LP): Likewise.
19975 (RSP_LP): Likewise.
19976 (R8_LP): Likewise.
19977 (R9_LP): Likewise.
19978 (R10_LP): Likewise.
19979 (R10_LP): Likewise.
19980 (R11_LP): Likewise.
19981 (R12_LP): Likewise.
19982 (R13_LP): Likewise.
19983 (R14_LP): Likewise.
19984 (R15_LP): Likewise.
19985
b985be81
L
199862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19987
19988 * sysdeps/x86_64/x32/dl-machine.h: New file.
19989
6a4888ff
AJ
199902012-05-14 Andreas Jaeger <aj@suse.de>
19991
19992 * manual/Makefile (subdir): Remove export of subdir.
19993 (all): Remove target.
19994 (.PHONY): Remove all from list.
19995 (mkinstalldirs): Remove.
19996 (.PHONY): Remove installdirs from list.
19997 ($(inst_infodir)/libc.info): Use make-target-directory.
19998 (installdirs): Remove.
19999 (subdir_%): Remove.
20000 (glibc-targets): Remove.
20001 (lib): Remove.
20002 (stubs): Remove.
20003 ($(objpfx)stubs ../po/manual.pot): Remove.
20004 ($(objpfx)stamp%): Remove.
20005 (make-target-directory): Remove.
20006 (subdir_install): Remove.
20007 (routines): Remove.
20008 (aux): Remove.
20009 (sources): Remove.
20010 (objects): Remove.
20011 (headers): Remove.
20012
20013 [BZ #13750]
20014 * manual/.gitignore: Remove, it's not needed anymore.
20015 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20016 all files in it.
20017 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20018 directory.
20019 (texis): Renamed to $(objpfx)texis.
20020 (texis-path): New, contains path to generated files.
20021 (chapters.%): Use texis-path for complete path, add extra argument
20022 libc-texinfo.sh.
20023 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20024 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20025 (summary,texi, stamp-summary): Use complete path of
20026 files. Generate files in build dir.
20027 (dir-add.texi): Build in build dir.
20028 (libm-err.texi,stamp-libm-err): Likewise.
20029 (version.texi, stamp-version): Likewise.
20030 (.%c.texi): Likewise.
20031 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20032 (mostlyclean): Remove target.
20033 (realclean): Remove target.
20034 (generated): Add new variable with contents from mostlyclean and
20035 realclean, remove entries duplicated in common-mostlyclean, add
20036 stamp-libm-err and stamp-version.
20037 (generated-dirs): Add libc directory.
20038 ($(inst_infodir)/libc.info): Install files from build dir.
20039
20040 * manual/install.texi (Configuring and compiling): Adjust since
20041 the info files are not part of the tar ball anymore.
20042
7ac77294
AJ
200432012-05-14 Andreas Jaeger <aj@suse.de>
20044
20045 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20046 variable.
20047
ffb7875d
JM
200482012-05-14 Joseph Myers <joseph@codesourcery.com>
20049
20050 [BZ #13717]
20051 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20052 to 2.2.0 where earlier.
20053 * sysdeps/unix/sysv/linux/configure: Regenerated.
20054 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20055 Remove conditional code.
20056 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20057 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20058 Remove conditional code.
20059 [!__NR_lchown]: Likewise.
20060 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20061 [__NR_lchown]: Likewise.
20062 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20063 comment referencing __ASSUME_LCHOWN_SYSCALL.
20064 * sysdeps/unix/sysv/linux/i386/sigaction.c
20065 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20066 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20067 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20068 Remove conditional code.
20069 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20070 (__protocol_available): Remove #if 0 code.
20071 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20072 conditional code.
20073 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20074 * sysdeps/unix/sysv/linux/kernel-features.h
20075 (__ASSUME_GETCWD_SYSCALL): Don't define.
20076 (__ASSUME_REALTIME_SIGNALS): Likewise.
20077 (__ASSUME_PREAD_SYSCALL): Likewise.
20078 (__ASSUME_PWRITE_SYSCALL): Likewise.
20079 (__ASSUME_POLL_SYSCALL): Likewise.
20080 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20081 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20082 non-SPARC.
20083 (__ASSUME_SIOCGIFNAME): Don't define.
20084 (__ASSUME_MSG_NOSIGNAL): Likewise.
20085 (__ASSUME_SENDFILE): Define unconditionally.
20086 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20087 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20088 conditional code.
20089 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20090 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20091 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20092 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20093 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20094 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20095 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20097 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20098 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20100 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20101 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20103 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20106 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20109 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20110 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20112 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20113 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20115 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20118 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20120 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20121 Remove conditional code.
20122 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20123 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20124 Remove conditional code.
20125 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20126 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20127 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20128 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20129 Remove conditional code.
20130 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20131 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20132 Remove conditional code.
20133 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20134 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20135 Remove conditional code.
20136 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20137 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20138 Remove conditional code.
20139 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20140 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20141 Remove conditional code.
20142 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20143 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20144 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20145 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20146 * sysdeps/unix/sysv/linux/sigaction.c
20147 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20148 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20149 * sysdeps/unix/sysv/linux/sigpending.c
20150 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20151 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20152 * sysdeps/unix/sysv/linux/sigprocmask.c
20153 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20154 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20155 * sysdeps/unix/sysv/linux/sigsuspend.c
20156 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20157 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20158 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20159 (__libc_missing_rt_sigs): Remove.
20160 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20161 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20162 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20163 Remove conditional code.
20164 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20165 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20166 return 1.
20167 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20168 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20169 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20170 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20171
1bfb7291
AJ
201722012-05-14 Andreas Jaeger <aj@suse.de>
20173
caae5a81
AJ
20174 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20175 it's not used in glibc.
20176 (__coshm1): Likewise.
20177 (__acosh1p): Likewise.
20178 (__sgn): Likewise.
20179
1bfb7291
AJ
20180 * manual/string.texi (Copying and Concatenation): Add missing
20181 variable in concat example.
20182 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20183
c044d724
L
201842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20185
144c5467 20186 [BZ #14103]
c044d724
L
20187 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20188 __builtin_clzl with __builtin_clzll.
20189
2523c62b
L
201902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20191
20192 [BZ #14104]
20193 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20194 libc_freeres_ptr.
20195
d7bb4c42
LD
201962012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20197
20198 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20199 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20200 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20201 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20202
9dc4e1fb
MF
202032012-05-14 Mike Frysinger <vapier@gentoo.org>
20204
20205 * NEWS: Update ia64 info.
20206
c7df0112
AS
202072012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20208
20209 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20210 used as bcopy.
20211
dc70356c
TS
202122012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20213
20214 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20215 * sysdeps/unix/syscalls.list (dup3): Likewise.
20216 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20217 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20218
9fb1a21f
L
202192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20220
20221 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20222 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20223
4822a2a5
L
202242012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20225
20226 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20227 thread pointer.
20228 (TLS_IE): Use mov/add instead of movq/addq to load thread
20229 pointer.
20230 (TLS_GD_PREFIX): New.
20231 (TLS_GD): Use it.
20232
842b81d6
DM
202332012-05-11 David S. Miller <davem@davemloft.net>
20234
20235 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20236 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20237 (_FPU_SETCW): Likewise.
20238
1cf463cd
L
202392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20240
20241 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20242 is 32-byte aligned.
20243
60cc4a18
AS
202442012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20245
20246 [BZ #11837]
20247 * iconvdata/gb18030.c: Update tables.
20248 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20249 characters specially.
20250 (BODY for TO_LOOP): Add encoding of missing ranges.
20251
febb44a4
TS
202522012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20253
20254 [BZ #13673]
20255 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20256 * sysdeps/mach/hurd/dup3.c: Likewise.
20257 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20258 * sysdeps/powerpc/memmove.c:: Likewise.
20259
0a10fb9e
L
202602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20261
20262 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20263 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20264
df8a552f
L
202652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20266
20267 * elf/elf.h (R_X86_64_RELATIVE64): New.
20268 (R_X86_64_NUM): Updated.
20269 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20270 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20271 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20272 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20273 tst-quad1pie tst-quad2pie
20274 (modules-names): Add tst-quadmod1 tst-quadmod2.
20275 ($(objpfx)tst-quad1): New dependency.
20276 ($(objpfx)tst-quad2): Likewise.
20277 ($(objpfx)tst-quad1pie): Likewise.
20278 ($(objpfx)tst-quad2pie): Likewise.
20279 * sysdeps/x86_64/tst-quad1.c: New file.
20280 * sysdeps/x86_64/tst-quad1pie.c: New file.
20281 * sysdeps/x86_64/tst-quad2.c: Likewise.
20282 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20283 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20284 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20285 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20286 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20287
f34d6f84
ST
202882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20289
f42d41d1
ST
20290 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20291 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20292 * streams/stropts.h (t_scalar_t): Define type.
20293
3c3571fc
ST
20294 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20295 (_PATH_PRESERVE): Set to "/var/lib".
20296 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20297
61f06bd3
ST
20298 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20299 instead of int.
20300
918d4d71
ST
20301 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20302 if __dir_mkfile succeeded.
20303
f34d6f84
ST
20304 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20305 checking for _hurd_dtablesize. Unlock it right after having
20306 finished _hurd_dtable allocation.
20307
10589b4a
TS
203082012-05-10 Thomas Schwinge <thomas@schwinge.name>
20309
674cdbc7
TS
20310 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20311 * sysdeps/mach/hurd/configure: Regenerated.
20312 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20313 special-casing to...
20314 * sysdeps/gnu/configure.in: ... this new file.
20315 * sysdeps/unix/sysv/linux/configure: Regenerated.
20316 * sysdeps/gnu/configure: New generated file.
20317
8e41b99f
TS
20318 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20319 for Linux: use nsec instead of usec, as well as:
20320 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20321 members of type struct timespec.
20322 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20323 New macros.
20324 (struct stat64): Likewise.
20325 (_STATBUF_ST_NSEC): New macro.
20326 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20327
10589b4a
TS
20328 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20329 __strtoul_internal rather than strtoul.
20330
63643c85
PT
203312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20332
20333 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20334 and reject them.
20335
3faebe6a
ST
203362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20337
20338 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20339 which preserves existing values.
20340 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20341
c6474b07
PT
203422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20343
20344 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20345 TIMEOUT values. Return EINVAL for NFDS values either negative or
20346 greater than FD_SETSIZE.
20347
1043890b
ST
203482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20349
20350 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20351 allocated, call __vm_protect to finish enabling the existing space, and
20352 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20353 allocate the remainder.
20354
37ed8b9b
PT
203552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20356
20357 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20358 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20359
db653660
ST
203602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20361
37ed8b9b
PT
20362 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20363 sysdeps/mach/hurd/readlink.c.
b29d4053 20364
db653660
ST
20365 * posix/tst-sysconf.c (posix_options): Only use
20366 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20367 _POSIX_SYNCHRONIZED_IO when they are defined
20368 * sysdeps/mach/hurd/bits/posix_opt.h:
20369 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20370 (_XOPEN_REALTIME): Undefine macro.
20371 (_XOPEN_REALTIME_THREADS): Undefine macro.
20372 (_XOPEN_SHM): Undefine macro.
20373 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20374 macro to -1.
20375 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20376 macro to -1.
20377 (_POSIX_ASYNC_IO): Undefine macro.
20378 (_POSIX_PRIORITIZED_IO): Undefine macro.
20379 (_POSIX_SPIN_LOCKS): Define macro to -1.
20380
ee16e894
ST
20381 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20382 SA_NODEFER, SA_RESETHAND.
20383 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20384 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20385 F_DUPFD_CLOEXEC.
20386
6103ae3b
TS
203872012-05-10 Thomas Schwinge <thomas@schwinge.name>
20388
20389 * elf/Makefile (pldd-modules): Define unconditionally.
20390
80b4e5f3
TS
203912012-05-10 Thomas Schwinge <thomas@schwinge.name>
20392
20393 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20394
edadcbd6
ST
203952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20396
20397 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20398 Return ENOENT when name is empty.
20399 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20400
80694780
TS
204012012-05-10 Thomas Schwinge <thomas@schwinge.name>
20402
1792c087
TS
20403 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20404
80694780
TS
20405 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20406
6b645f0d
ST
204072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20408
80694780
TS
20409 Fix mlock in all cases except non-readable pages.
20410 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20411 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 20412
6b645f0d
ST
20413 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20414 (__mkdir): When path is `/', just fail with EEXIST.
20415 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20416
e468f8a3
TS
204172012-05-10 Thomas Schwinge <thomas@schwinge.name>
20418
20419 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20420 <sys/uio.h> (for writev).
20421 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20422 and <sys/param.h> (for MIN).
20423
a4186cff
PT
204242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20425
20426 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20427 REQUESTED_TIME. Properly set the remaining time and return EINTR
20428 if interrupted.
20429
510bbf14
TS
204302012-05-10 Thomas Schwinge <thomas@schwinge.name>
20431
20432 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20433 Depend on against $(link-rpcuserlibs).
20434
5d5722e8
ST
204352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20436
a4186cff
PT
20437 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20438 (__libc_stack_end): Do not use attribute_relro.
20439 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20440 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 20441 to libthread-provided value.
a4186cff
PT
20442 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20443 attribute_relro.
5d5722e8 20444
37233df9
TS
204452012-05-10 Thomas Schwinge <thomas@schwinge.name>
20446
be971a2b
TS
20447 [BZ #3748]
20448 * bits/libc-lock.h (__libc_once_get): New macro.
20449 * sysdeps/mach/bits/libc-lock.h: Likewise.
20450 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20451 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20452 instead of using implementation details.
20453
37233df9
TS
20454 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20455 * libio/freopen.c: Likewise.
20456 * libio/freopen64.c: Likewise.
20457 * misc/syslog.c: Likewise.
20458 * nscd/connections.c: Likewise.
20459 * nscd/netgroupcache.c: Likewise.
20460 * sysdeps/posix/getcwd.c: Likewise.
20461
38de94a5
RM
204622012-05-10 Roland McGrath <roland@hack.frob.com>
20463
20464 * math/w_ilogbf.c: Add #include <limits.h>.
20465
67530489
ST
204662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20467
a4186cff 20468 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
20469 path instead of returning without unlocking.
20470
67530489
ST
20471 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20472 immediate-write ioctls.
20473 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20474
5aa3a74a
TS
204752012-05-10 Thomas Schwinge <thomas@schwinge.name>
20476
18bad2ae
TS
20477 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20478 __builtin_frame_address instead of making assumptions about the
20479 location of the return address relative to DATA. Force early load of
20480 the return address.
20481 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20482 __builtin_frame_address.
20483
5aa3a74a
TS
20484 dup3 for GNU Hurd.
20485 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20486 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20487 implement dup3 and do some further code clean-ups.
20488 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20489 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20490
ecd0de9a
ST
204912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20492
cd9fa985
ST
20493 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20494
a4186cff
PT
20495 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20496 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20497 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20498 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20499 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20500 d->port.lock.
802ca5a5 20501
a4186cff
PT
20502 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20503 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20504 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 20505
bcf55240
TS
205062012-05-10 Thomas Schwinge <thomas@schwinge.name>
20507
6960eb42
TS
20508 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20509 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20510 definitions.
20511
eb43375f
TS
20512 accept4 for GNU Hurd.
20513 * include/sys/socket.h (__libc_accept4): New prototype.
20514 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20515 to implement __libc_accept4.
20516 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20517 __libc_accept4.
20518 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20519
bcf55240
TS
20520 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20521 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20522 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20523 signal-defines.sym.
20524
6178c55b
ST
205252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20526
a4186cff 20527 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 20528
6f080c2f
TS
205292012-05-10 Thomas Schwinge <thomas@schwinge.name>
20530
20531 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20532 assertion on O_CLOEXEC flag.
20533 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20534 * hurd/intern-fd.c: Likewise.
20535 * hurd/port2fd.c: Likewise.
20536
bcfe3a54
ST
205372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20538
20539 [BZ #3906]
20540 * bits/in.h (IPV6_PKTINFO): Define new macro.
20541 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20542
89c9aa49
AZ
205432012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20544
20545 [BZ #13954]
20546 [BZ #13955]
20547 [BZ #13956]
20548 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20549 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20550 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20551 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20552 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20553 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20554 * math/libm-test.inc (logb_test) : Additional logb tests.
20555
021db4be
AJ
205562012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20557 Andreas Jaeger <aj@suse.de>
20558
20559 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20560 * configure: Regenerated.
20561 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20562 * config.make.in (link-obsolete-rpc): New substituted variable.
20563 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20564 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20565 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20566 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20567 so that libc.a contains the symbols.
20568 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20569 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20570 * sunrpc/auth_none.c: Likewise.
20571 * sunrpc/auth_unix.c: Likewise.
20572 * sunrpc/authdes_prot.c: Likewise.
20573 * sunrpc/authuxprot.c: Likewise.
20574 * sunrpc/clnt_gen.c: Likewise.
20575 * sunrpc/clnt_perr.c: Likewise.
20576 * sunrpc/clnt_raw.c: Likewise.
20577 * sunrpc/clnt_simp.c: Likewise.
20578 * sunrpc/clnt_tcp.c: Likewise.
20579 * sunrpc/clnt_udp.c: Likewise.
20580 * sunrpc/clnt_unix.c: Likewise.
20581 * sunrpc/des_crypt.c: Likewise.
20582 * sunrpc/des_soft.c: Likewise.
20583 * sunrpc/get_myaddr.c: Likewise.
20584 * sunrpc/key_call.c: Likewise.
20585 * sunrpc/key_prot.c: Likewise.
20586 * sunrpc/netname.c: Likewise.
20587 * sunrpc/pm_getmaps.c: Likewise.
20588 * sunrpc/pm_getport.c: Likewise.
20589 * sunrpc/pmap_clnt.c: Likewise.
20590 * sunrpc/pmap_prot.c: Likewise.
20591 * sunrpc/pmap_prot2.c: Likewise.
20592 * sunrpc/pmap_rmt.c: Likewise.
20593 * sunrpc/publickey.c: Likewise.
20594 * sunrpc/rpc_cmsg.c: Likewise.
20595 * sunrpc/rpc_common.c: Likewise.
20596 * sunrpc/rpc_dtable.c: Likewise.
20597 * sunrpc/rpc_prot.c: Likewise.
20598 * sunrpc/rpc_thread.c: Likewise.
20599 * sunrpc/rtime.c: Likewise.
20600 * sunrpc/svc.c: Likewise.
20601 * sunrpc/svc_auth.c: Likewise.
20602 * sunrpc/svc_raw.c: Likewise.
20603 * sunrpc/svc_run.c: Likewise.
20604 * sunrpc/svc_tcp.c: Likewise.
20605 * sunrpc/svc_udp.c: Likewise.
20606 * sunrpc/svc_unix.c: Likewise.
20607 * sunrpc/svcauth_des.c: Likewise.
20608 * sunrpc/xcrypt.c: Likewise.
20609 * sunrpc/xdr.c: Likewise.
20610 * sunrpc/xdr_array.c: Likewise.
20611 * sunrpc/xdr_float.c: Likewise.
20612 * sunrpc/xdr_intXX_t.c: Likewise.
20613 * sunrpc/xdr_mem.c: Likewise.
20614 * sunrpc/xdr_rec.c: Likewise.
20615 * sunrpc/xdr_ref.c: Likewise.
20616 * sunrpc/xdr_sizeof.c: Likewise.
20617 * sunrpc/xdr_stdio.c: Likewise.
20618
b5c086a2
RM
206192012-05-10 Roland McGrath <roland@hack.frob.com>
20620
20621 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20622 change. Update copyright years.
20623
6d74dd09
JM
206242012-05-10 Joseph Myers <joseph@codesourcery.com>
20625
20626 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20627
28e72501
MK
206282012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20629 Joseph Myers <joseph@codesourcery.com>
20630 Paul Pluzhnikov <ppluzhnikov@google.com>
20631
20632 [BZ #14012]
20633 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20634 requiring rpcgen.
20635 [cross-compiling] (extra-libs): Likewise.
20636 [cross-compiling] (extra-libs-others): Likewise.
20637 [cross-compiling] (librpcsvc-routines): Likewise.
20638 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20639 [cross-compiling] (omit-deps): Likewise.
20640 (sunrpc-CPPFLAGS): New variable.
20641 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20642 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20643 (cross-rpcgen-objs): New variable.
20644 (extra-objs): Append $(cross-rpcgen-objs).
20645 ($(cross-rpcgen-objs)): New rule.
20646 ($(objpfx)cross-rpcgen): Likewise.
20647 (rpcgen-cmd): Define to use $(built-program-file). Expand
20648 comment.
20649 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20650 ($(objpfx)x%.stmp): Likewise.
20651 * sunrpc/proto.h [IS_IN_build] (_): Define.
20652 [IS_IN_build] (_libc_intl_domainname): Likewise.
20653
c8c59454
L
206542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20655
20656 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20657 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20658 and R_X86_64_TPOFF64.
20659
6f27cd16
JM
206602012-05-10 Joseph Myers <joseph@codesourcery.com>
20661
20662 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20663 sysdeps/unix/sysv/syscalls.list.
20664 (stime): Likewise.
20665 (utime): Likewise.
20666 * sysdeps/unix/sysv/syscalls.list: Remove file.
20667
02467e1c
PE
206682012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20669
20670 [BZ #3440]
20671 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20672 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20673 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20674 (__LC_IDENTIFICATION): Make these macros useful in #if
20675 expressions, as required by C99.
20676
da392631
AS
206772012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20678
20679 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20680 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20681 after this.
20682
8115f29b
L
206832012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20684
20685 * stdlib/longlong.h: Updated from GCC.
20686
bdd74070
AJ
206872012-05-09 Andreas Jaeger <aj@suse.de>
20688
edfe0dbe
AJ
20689 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20690 default is first entry.
20691 (run_mode): Set type.
20692 (main): Remove informal message about syslog.
20693 (options): Fix typo.
20694
bcfe3a54
ST
20695 [BZ #14053]
20696 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20697 to asm.
bcfe3a54
ST
20698 (lrint): Likewise.
20699 (llrintf): Likewise.
20700 (llrint): Likewise.
20701 (rint): Likewise.
20702 (rintf): Likewise.
20703 (nearbyint): Likewise.
20704 (nearbyintf): Likewise.
bdd74070 20705
91d8d69e
AJ
207062012-05-09 Andreas Jaeger <aj@suse.de>
20707 Pedro Alves <palves@redhat.com>
20708
20709 * nscd/nscd.c (run_mode): Use enum.
20710 (main): Cleanup coding style issue.
20711
bb90b80b
AJ
207122012-05-09 Alexandre Oliva <aoliva@redhat.com>
20713 Andreas Jaeger <aj@suse.de>
20714
bcfe3a54
ST
20715 * nscd/nscd.c (go_background): Replaced with...
20716 (run_mode): ... this.
bb90b80b 20717 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20718 (options): Add -F --foreground.
20719 (main): Implement it.
20720 (parse_opt): Parse it.
bb90b80b 20721
1a4b75a1
AJ
207222012-05-09 Andreas Jaeger <aj@suse.de>
20723
20724 [BZ #14083]
20725 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20726 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20727 -Wconversion warning.
20728 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20729 Likewise.
20730
b1cc2472
JM
207312012-05-09 Joseph Myers <joseph@codesourcery.com>
20732
20733 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20734 == 0.
20735 (LC_ALL): Use macro-int-constant.
20736 (LC_COLLATE): Likewise.
20737 (LC_CTYPE): Likewise.
20738 (LC_MESSAGES): Likewise.
20739 (LC_MONETARY): Likewise.
20740 (LC_NUMERIC): Likewise.
20741 (LC_TIME): Likewise.
20742 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20743 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20744 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20745 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20746 Specify type.
20747 [C99-based standards] (float_t): Expect type.
20748 [C99-based standards] (double_t): Expect type.
20749 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20750 type.
20751 [C99-based standards] (HUGE_VALL): Likewise.
20752 [C99-based standards] (INFINITY): Likewise.
20753 [C99-based standards] (NAN): Likewise.
20754 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20755 [C99-based standards] (FP_NAN): Likewise.
20756 [C99-based standards] (FP_NORMAL): Likewise.
20757 [C99-based standards] (FP_SUBNORMAL): Likewise.
20758 [C99-based standards] (FP_ZERO): Likewise.
20759 [C99-based standards] (FP_FAST_FMA): Use
20760 optional-macro-int-constant. Specify type. Require == 1.
20761 [C99-based standards] (FP_FAST_FMAF): Likewise.
20762 [C99-based standards] (FP_FAST_FMAL): Likewise.
20763 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20764 [C99-based standards] (FP_ILOGBNAN): Likewise.
20765 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20766 Specify type.
20767 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20768 [C99-based standards] (math_errhandling): Specify type.
20769 [ISO99 || ISO11] (signgam): Do not allow.
20770 [non-C99-based standards] (copysignf): Do not allow.
20771 [non-C99-based standards] (exp2f): Likewise.
20772 [non-C99-based standards] (log2f): Likewise.
20773 [non-C99-based standards] (modff): Allow.
20774 [non-C99-based standards] (erff): Do not allow.
20775 [non-C99-based standards] (erfcf): Likewise.
20776 [non-C99-based standards] (gammaf): Likewise.
20777 [non-C99-based standards] (hypotf): Likewise.
20778 [non-C99-based standards] (j0f): Likewise.
20779 [non-C99-based standards] (j1f): Likewise.
20780 [non-C99-based standards] (jnf): Likewise.
20781 [non-C99-based standards] (lgammaf): Likewise.
20782 [non-C99-based standards] (tgammaf): Likewise.
20783 [non-C99-based standards] (y0f): Likewise.
20784 [non-C99-based standards] (y1f): Likewise.
20785 [non-C99-based standards] (ynf): Likewise.
20786 [non-C99-based standards] (isnanf): Likewise.
20787 [non-C99-based standards] (acoshf): Likewise.
20788 [non-C99-based standards] (asinhf): Likewise.
20789 [non-C99-based standards] (atanhf): Likewise.
20790 [non-C99-based standards] (cbrtf): Likewise.
20791 [non-C99-based standards] (expm1f): Likewise.
20792 [non-C99-based standards] (ilogbf): Likewise.
20793 [non-C99-based standards] (log1pf): Likewise.
20794 [non-C99-based standards] (logbf): Likewise.
20795 [non-C99-based standards] (nextafterf): Likewise.
20796 [non-C99-based standards] (remainderf): Likewise.
20797 [non-C99-based standards] (rintf): Likewise.
20798 [non-C99-based standards] (scalbf): Likewise.
20799 [non-C99-based standards] (copysignl): Likewise.
20800 [non-C99-based standards] (exp2l): Likewise.
20801 [non-C99-based standards] (log2l): Likewise.
20802 [non-C99-based standards] (modfl): Allow.
20803 [non-C99-based standards] (erfl): Do not allow.
20804 [non-C99-based standards] (erfcl): Likewise.
20805 [non-C99-based standards] (gammal): Likewise.
20806 [non-C99-based standards] (hypotl): Likewise.
20807 [non-C99-based standards] (j0l): Likewise.
20808 [non-C99-based standards] (j1l): Likewise.
20809 [non-C99-based standards] (jnl): Likewise.
20810 [non-C99-based standards] (lgammal): Likewise.
20811 [non-C99-based standards] (tgammal): Likewise.
20812 [non-C99-based standards] (y0l): Likewise.
20813 [non-C99-based standards] (y1l): Likewise.
20814 [non-C99-based standards] (ynl): Likewise.
20815 [non-C99-based standards] (isnanl): Likewise.
20816 [non-C99-based standards] (acoshl): Likewise.
20817 [non-C99-based standards] (asinhl): Likewise.
20818 [non-C99-based standards] (atanhl): Likewise.
20819 [non-C99-based standards] (cbrtl): Likewise.
20820 [non-C99-based standards] (expm1l): Likewise.
20821 [non-C99-based standards] (ilogbl): Likewise.
20822 [non-C99-based standards] (log1pl): Likewise.
20823 [non-C99-based standards] (logbl): Likewise.
20824 [non-C99-based standards] (nextafterl): Likewise.
20825 [non-C99-based standards] (remainderl): Likewise.
20826 [non-C99-based standards] (rintl): Likewise.
20827 [non-C99-based standards] (scalbl): Likewise.
20828 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20829 [non-C99-based standards] (FP_*): Do not allow.
20830 [C99-based standards] (FP_*): Change to
20831 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20832 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20833 allow.
20834 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20835 (SIG_ERR): Likewise.
20836 [X/Open-based standards] (SIG_HOLD): Likewise.
20837 (SIG_IGN): Likewise.
20838 (SIGABRT): Use macro-int-constant. Specify type. Require
20839 positive value.
20840 (SIGFPE): Likewise.
20841 (SIGILL): Likewise.
20842 (SIGINT): Likewise.
20843 (SIGSEGV): Likewise.
20844 (SIGTER): Likewise.
20845 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20846 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20847 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20848 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20849 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20850 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20851 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20852 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20853 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20854 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20855 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20856 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20857 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20858 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20859 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20860 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20861 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20862 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20863 [X/Open-based standards] (SIGTRAP): Likewise.
20864 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20865 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20866 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20867 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20868 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20869 allow.
20870
b9f1922d
IW
208712012-05-08 Ian Wienand <ianw@vmware.com>
20872
20873 [BZ #14080]
20874 * time/tzset.c (__tzset_parse_tz): Update default rules for
20875 daylight time changes in the Energy Policy Act of 2005.
20876
1db86e88
AJ
208772012-05-09 Andreas Jaeger <aj@suse.de>
20878
20879 [BZ #13983]
20880 * elf/ldconfig.c (parse_conf): Change string to make clear that
20881 ldconfig only issued a warning if ld.so.conf does not exist.
20882
dee4a4e3
DM
208832012-05-08 David S. Miller <davem@davemloft.net>
20884
ee0db190
DM
20885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20886 movxtod instead of popping the value on the stack.
20887
dee4a4e3
DM
20888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20889
6a43ec98
CD
208902012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20891
20892 * config.h.in: Add HAVE_ARM_PCS_VFP.
20893
05c2c961
RMG
208942012-05-08 Roland Mc Grath <roland@hack.frob.com>
20895
bcfe3a54
ST
20896 [BZ #13979]
20897 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20898 checking but the checks are disabled for any reason.
05c2c961 20899
4b30f61a
L
209002012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20901
20902 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20903 and ELF64_R_TYPE with ELFW(R_TYPE).
20904
eee2bc67
JM
209052012-05-08 Joseph Myers <joseph@codesourcery.com>
20906
7ea5391a
JM
20907 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20908 (ulimit): Likewise.
20909
eee2bc67
JM
20910 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20911 (settimeofday): Likewise.
20912
abb66a67
MF
209132012-05-08 Mike Frysinger <vapier@gentoo.org>
20914
20915 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20916 a struct th_u2 inside the union, and move tu_block/tu_code into
20917 a new th_u3 union of tu_block/tu_code inside of that. Move
20918 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20919 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20920 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20921 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20922 (th_stuff): Change to th_u1.tu_stuff.
20923 (th_data): Define.
20924 (th_msg): Change to th_u1.th_u2.tu_data.
20925
7f18b530
DM
209262012-05-07 David S. Miller <davem@davemloft.net>
20927
05760585
DM
20928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20929
7f18b530
DM
20930 [BZ #14074]
20931 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20932 (SETUP_PIC_REG): Use it.
20933 (SETUP_PIC_REG_LEAF): Use it.
20934
495fd99f
JM
209352012-05-07 Joseph Myers <joseph@codesourcery.com>
20936
20937 [BZ #13885]
20938 [BZ #13923]
20939 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20940 USE_AS_EXPM1L.
20941 (EXPL_FINITE): Likewise.
20942 (FLDLOG): Likewise.
20943 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20944 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20945 e_expl.S.
20946 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20947 USE_AS_EXPM1L.
20948 (EXPL_FINITE): Likewise.
20949 (FLDLOG): Likewise.
20950 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20951 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20952 e_expl.S.
20953 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20954 test of -max_value argument for long double.
20955 * sysdeps/i386/fpu/libm-test-ulps: Update.
20956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20957
6693d694
DM
209582012-05-06 David S. Miller <davem@davemloft.net>
20959
20960 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20961 quad soft-float symbols whose references which are compiler
20962 generated.
20963 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20964
6c23e11c
JM
209652012-05-06 Joseph Myers <joseph@codesourcery.com>
20966
d8b82cad
JM
20967 [BZ #13884]
20968 [BZ #13914]
20969 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20970 USE_AS_EXP10L.
20971 (EXPL_FINITE): Likewise.
20972 (FLDLOG): Likewise.
20973 (c0): Likewise.
20974 (c1): Likewise.
20975 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20976 Adjust comments for base varying.
20977 (__expl_finite): Change alias to EXPL_FINITE.
20978 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20979 e_expl.S.
20980 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20981 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20983 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20984 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20985 USE_AS_EXP10L.
20986 (EXPL_FINITE): Likewise.
20987 (FLDLOG): Likewise.
20988 (c0): Likewise.
20989 (c1): Likewise.
20990 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20991 Adjust comments for base varying.
20992 (__expl_finite): Change alias to EXPL_FINITE.
20993 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20994 tests for bugs.
20995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20996
6c23e11c
JM
20997 [BZ #14064]
20998 * math/libm-test.inc (check_float_internal): Correct ulp
20999 calculation for subnormal expected results.
21000
29ba805c
AJ
210012012-05-06 Andreas Jaeger <aj@suse.de>
21002
21003 * Makeconfig (+math-flags): New, set to -frounding-math.
21004 (+cflags): Add +math-flags so that all of glibc gets compiled with
21005 it.
21006
21007 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21008
7b17aeda
JM
210092012-05-05 Joseph Myers <joseph@codesourcery.com>
21010
5779f134
JM
21011 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21012 Disable one test.
21013
41498f4d
JM
21014 [BZ #13787]
21015 [BZ #13922]
21016 [BZ #14036]
21017 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21018 (__ieee754_expl): Allow for and saturate large arguments.
21019 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21020 (u_threshold): Likewise.
21021 (__exp): Call __ieee754_exp before checking for overflow and
21022 underflow.
21023 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21024 (u_threshold): Likewise.
21025 (__expf): Call __ieee754_expf before checking for overflow and
21026 underflow.
21027 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21028 (u_threshold): Likewise.
21029 (__expl): Call __ieee754_expl before checking for overflow and
21030 underflow.
21031 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21032 (__ieee754_expl): Allow for and saturate large arguments.
21033 * math/libm-test.inc (exp_test): Add another test. Do not allow
21034 missing overflow exception on overflow.
21035 (expm1_test): Do not allow missing overflow exception on overflow.
21036
6698b8bf
JM
21037 * sysdeps/i386/fpu/e_expl.c: Move to ...
21038 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21039 rather than using inline asm.
21040 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21041 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21042 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21043
7b17aeda
JM
21044 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21045 (nice): Likewise.
21046 (poll): Likewise.
21047 (signal): Likewise.
21048 (time): Likewise.
21049 (times): Likewise.
21050
f7c85819
JM
210512012-05-04 Joseph Myers <joseph@codesourcery.com>
21052
21053 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21054 sysdeps/unix/common/syscalls.list.
21055 (fchmod): Likewise.
21056 (fchown): Likewise.
21057 (ftruncate): Likewise.
21058 (getrusage): Likewise.
21059 (gettimeofday): Likewise.
21060 (setpgid): Likewise.
21061 (setregid): Likewise.
21062 (setreuid): Likewise.
21063 (sigaction): Likewise.
21064 (truncate): Likewise.
21065 (vhangup): Likewise.
21066 * sysdeps/unix/common/syscalls.list: Remove file.
21067 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21068 * sysdeps/unix/sysv/linux/Implies: Likewise.
21069
336270d0
L
210702012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21071
21072 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21074 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21075 Moved to ...
21076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21077 Here.
21078 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21079 to ...
21080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21081 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21082 to ...
21083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21084 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21085 to ...
21086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21087 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21088 to ...
21089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21090 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21091 to ...
21092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21093 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21094 to ...
21095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21096 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21097 to ...
21098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21099 Here.
21100 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21101 to ...
21102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21103 Here.
21104 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21105 to ...
21106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21107 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21108 Moved to ...
21109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21110 Here.
21111 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21112 to ...
21113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21114
d128e450
JM
211152012-05-04 Joseph Myers <joseph@codesourcery.com>
21116
fa8ee516
JM
21117 * sysdeps/unix/common/bits/dirent.h: Remove file.
21118 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21119
d128e450
JM
21120 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21121 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21122 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21123 * sysdeps/unix/bsd/isatty.c: Likewise.
21124 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21125 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21126 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21127
ff8faaf0 211282012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 21129
62881be4 21130 [BZ #13563]
31dc8730
AZ
21131 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21132 long double comparison inaccuracies.
21133 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21135
6fef930c
AS
211362012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21137
21138 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21139 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21140
8f203e6c
JM
211412012-05-04 Joseph Myers <joseph@codesourcery.com>
21142
21143 [BZ #14049]
21144 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21145 nonzero digits before rounding a hex value.
21146 * stdlib/tst-strtod.c (tests): Add another test.
21147
5197d9c2
AK
211482012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21149
21150 * sysdeps/s390/fpu/libm-test-ulps: Update.
21151
f0c1dedf
AJ
211522012-05-03 Andreas Jaeger <aj@suse.de>
21153
21154 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21155 does not get optimized out.
21156 (malloc_opt_barrier): New.
21157
a65ef2ae 211582012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 21159 Roland McGrath <roland@hack.frob.com>
a65ef2ae 21160
2b942cb7 21161 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 21162 intermediate file deletion.
2b942cb7 21163 (generated): Add .symlist files.
a65ef2ae 21164
54b71e02
JM
211652012-05-03 Joseph Myers <joseph@codesourcery.com>
21166
21167 [BZ #13775]
21168 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21169 Redirect under this condition.
21170 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21171 [__USE_GNU] (__dprintf_chk): Not under this condition.
21172 [__USE_GNU] (__vdprintf_chk): Likewise.
21173 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21174 under this condition.
21175 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21176 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21177 [__USE_XOPEN2K8] (vdprintf): Likewise.
21178 [__USE_GNU] (__dprintf_chk): Not under this condition.
21179 [__USE_GNU] (__vdprintf_chk): Likewise.
21180 [__USE_GNU] (dprintf): Likewise.
21181 [__USE_GNU] (vdprintf): Likewise.
21182
d3dfcc41
RM
211832012-05-03 Roland McGrath <roland@hack.frob.com>
21184
21185 * elf/Makefile (common-generated): Set this instead of generated for
21186 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21187 $(all-built-dso)-derived lists.
21188
7ac30cc5
AJ
211892012-05-03 Andreas Jaeger <aj@suse.de>
21190
0c51e550
AJ
21191 * sysdeps/i386/fpu/libm-test-ulps: Update.
21192
7ac30cc5
AJ
21193 * FAQ: Removed.
21194 * FAQ.in: Likewise.
21195 * scripts/gen-FAQ.pl: Likewise.
21196 * manual/install.texi (Installation): Point to online location of
21197 FAQ.
21198 * Makefile (files-for-dist): Remove FAQ.
21199 (FAQ): Remove.
21200
d4c2917f
AM
212012012-05-02 Allan McRae <allan@archlinux.org>
21202
21203 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21204 (LDFLAGS-reldepmod5.so): Likewise.
21205 (LDFLAGS-reldep6mod1.so): Likewise.
21206 (LDFLAGS-reldep6mod4.so): Likewise.
21207 (LDFLAGS-reldep8mod3.so): Likewise.
21208 (LDFLAGS-unload4mod1.so): Likewise.
21209 (LDFLAGS-unload4mod2.so): Likewise.
21210 (LDFLAGS-tst-initorder): Likewise.
21211 (LDFLAGS-tst-initordera2.so): Likewise.
21212 (LDFLAGS-tst-initordera3.so): Likewise.
21213 (LDFLAGS-tst-initordera4.so): Likewise.
21214 (LDFLAGS-tst-initorderb2.so): Likewise.
21215 (LDFLAGS-noload): Likewise.
21216 (LDFLAGS-next): Likewise.
21217 (LDFLAGS-order2mod1.so): Likewise.
21218 (LDFLAGS-order2mod2.so): Likewise.
21219 (LDFLAGS-tst-initorder2): Likewise.
21220 (LDFLAGS-tst-initorder2a.so): Likewise.
21221 (LDFLAGS-tst-initorder2b.so): Likewise.
21222 (LDFLAGS-tst-initorder2c.so): Likewise.
21223 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21224
d77f993f
DM
212252012-05-02 David S. Miller <davem@davemloft.net>
21226
21227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21228
171a70b4
PP
212292012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21230
21231 [BZ #14055]
21232 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21233
0be196ad
AJ
212342012-05-02 Andreas Jaeger <aj@suse.de>
21235
21236 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21237 since we manipulate rounding mode.
21238 (CPPFLAGS-test-idouble.c): Likewise.
21239 (CPPFLAGS-test-ifloat.c): Likewise.
21240 (CFLAGS-test-ldouble.c): Likewise.
21241 (CFLAGS-test-double.c): Likewise.
21242 (CFLAGS-test-float.c): Likewise.
21243 (CFLAGS-test-misc.c): Likewise.
21244 (CFLAGS-test-test-fenv.c): Likewise.
21245
4f9d04aa
AZ
212462012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21247
2b942cb7
RM
21248 [BZ #2550]
21249 [BZ #2570]
21250 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21251 comparisons to determine direction to adjust input.
4f9d04aa 21252
82a79e7d
RM
212532012-05-01 Roland McGrath <roland@hack.frob.com>
21254
f5a01ca9
RM
21255 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21256 output to the target.
21257
90fe4186
RM
21258 * scripts/localplt.awk: New file.
21259 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21260 (check-localplt-CFLAGS): Variable removed.
21261 ($(all-built-dso:=.jmprel)): New static pattern rule.
21262 (generated): Add those targets.
21263 (localplt-built-dso): New variable.
21264 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21265
21266 * elf/check-localplt.c: File removed.
21267
82397ed6
RM
21268 * scripts/check-execstack.awk: New file.
21269 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21270 (check-execstack-CFLAGS): Variable removed.
21271 ($(objpfx)check-execstack.h): Target removed.
21272 ($(objpfx)execstack-default): New target.
21273 (generated): Add that instead of check-execstack.h.
21274 ($(all-built-dso:=.phdr)): New static pattern rule.
21275 (generated): Add those targets.
21276 * elf/check-execstack.c: File removed.
21277
82a79e7d
RM
21278 * scripts/check-textrel.awk: New file.
21279 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21280 (check-textrel-CFLAGS): Variable removed.
21281 (all-built-dso): Use := to define.o
21282 ($(all-built-dso:=.dyn)): New static pattern rule.
21283 (generated): Add those targets.
21284 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21285 * config.make.in (READELF): New substituted variable.
21286 * elf/check-textrel.c: File removed.
21287
62fde54f 212882012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 21289
615605c9
JM
21290 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21291 allow.
21292 * conform/data/ctype.h-data [C99-based standards] (isblank):
21293 Expect function.
21294 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21295 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21296 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21297 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21298 Specify type. Require positive value.
21299 (EILSEQ): Likewise.
21300 (ERANGE): Likewise.
21301 [ISO || POSIX] (EILSEQ): Do not expect.
21302 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21303 Specify type. Require positive value.
21304 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21305 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21306 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21307 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21308 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21309 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21310 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21311 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21312 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21313 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21314 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21315 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21316 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21317 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21318 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21319 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21320 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21321 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21322 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21323 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21324 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21325 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21326 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21327 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21328 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21329 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21330 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21331 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21332 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21333 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21334 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21335 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21336 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21337 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21338 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21339 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21340 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21341 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21342 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21343 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21344 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21345 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21346 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21347 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21348 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21349 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21350 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21351 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21352 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21353 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21354 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21355 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21356 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21357 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21358 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21359 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21360 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21361 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21362 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21363 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21364 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21365 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21366 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21367 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21368 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21369 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21370 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21371 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21372 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21373 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21374 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21375 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21376 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21377 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21378 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21379 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21380 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21381 Require >= 2.
21382 (FLT_ROUNDS): Expect as macro, not constant.
21383 (FLT_MANT_DIG): Use macro-int-constant.
21384 (DBL_MANT_DIG): Likewise.
21385 (LDBL_MANT_DIG): Likewise.
21386 (FLT_DIG): Likewise.
21387 (DBL_DIG): Likewise.
21388 (LDBL_DIG): Likewise.
21389 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21390 (DBL_MIN_EXP): Likewise.
21391 (LDBL_MIN_EXP): Likewise.
21392 (FLT_MAX_EXP): Use macro-int-constant.
21393 (DBL_MAX_EXP): Likewise.
21394 (LDBL_MAX_EXP): Likewise.
21395 (FLT_MAX_10_EXP): Likewise.
21396 (DBL_MAX_10_EXP): Likewise.
21397 (LDBL_MAX_10_EXP): Likewise.
21398 (FLT_MAX): Use macro-constant.
21399 (DBL_MAX): Likewise.
21400 (LDBL_MAX): Likewise.
21401 (FLT_EPSILON): Use macro-constant. Give upper bound.
21402 (DBL_EPSILON): Likewise.
21403 (LDBL_EPSILON): Likewise.
21404 (FLT_MIN): Likewise.
21405 (DBL_MIN): Likewise.
21406 (LDBL_MIN): Likewise.
21407 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21408 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21409 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21410 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21411 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21412 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21413 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21414 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21415 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21416 [ISO11] (FLT_TRUE_MIN): Likewise.
21417 [ISO11] (LDBL_TRUE_MIN): Likewise.
21418 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21419 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21420 (SCHAR_MIN): Use macro-int-constant. Specify type.
21421 (SCHAR_MAX): Likewise.
21422 (UCHAR_MAX): Likewise.
21423 (CHAR_MIN): Likewise.
21424 (CHAR_MAX): Likewise.
21425 (MB_LEN_MAX): Use macro-int-constant.
21426 (SHRT_MIN): Use macro-int-constant. Specify type.
21427 (SHRT_MAX): Likewise.
21428 (USHRT_MAX): Likewise.
21429 (INT_MAX): Likewise.
21430 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21431 bound negative.
21432 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21433 bound with "U".
21434 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21435 bound with "L".
21436 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21437 bound negative. Suffix upper bound with "L".
21438 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21439 bound with "UL".
21440 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21441 Specify type.
21442 [C99-based standards] (LLONG_MAX): Likewise.
21443 [C99-based standards] (ULLONG_MAX): Likewise.
21444 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21445 == 0.
21446 [ISO11] (max_align_t): Require type.
21447 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21448
c9140a62
JM
21449 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21450 from $CFLAGS, without defining away __attribute__ calls.
21451 (checknamespace): Use $CFLAGS_namespace.
21452
9af0bf29
JM
21453 * conform/conformtest.pl (@keywords): Only include C99 keywords
21454 for standards based on C99 or C11.
21455
343222a2
JM
21456 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21457 Disable tests.
21458 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21459 UNIX98]: Likewise.
21460
661f8cf0
JM
21461 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21462 usability of symbols in #if.
21463
ee74b9cb
JM
21464 * conform/conformtest.pl: If macro or constant types start
21465 "promoted:", expect the symbol to be of the following type
21466 promoted by the integer promotions.
62fde54f 21467
aafc49b3
JM
21468 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21469 in one place. Also handle "macro-constant".
21470
fefdf574
JM
21471 * conform/conformtest.pl: Only accept expected macro values with
21472 "==". Parse all "macro" lines in one place.
21473 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21474
f2d922fe
JM
21475 * conform/conformtest.pl: Handle braced types on "constant" lines
21476 instead of handling "typed-constant".
21477 * conform/data/signal.h-data: Use "constant" instead of
21478 "typed-constant".
21479
d22956c9
JM
21480 * conform/conformtest.pl: Handle "optional-" at start of lines in
21481 one place rather than duplicating several cases. Handle each
21482 format of "macro" line with initial "optional-".
21483
028e2e38
JM
21484 * conform/conformtest.pl: Only accept expected constant or
21485 optional-constant values with "==". Parse all "constant" lines in
21486 one place. Parse all "optional-constant" lines in one place.
21487 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21488 * conform/data/fmtmsg.h-data: Likewise.
21489 * conform/data/netinet/in.h-data: Likewise.
21490 * conform/data/tar.h-data: Likewise.
21491 * conform/data/limits.h-data: Use "==" form on "constant" and
21492 "optional-constant" lines.
21493
1b8f2850
JM
21494 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21495 Use -std=c99 for XOPEN2K.
21496 (@knownproblems): Remove.
21497 (newtoken): Don't check %isknown.
21498
a05a144b
JM
21499 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21500 Do not expect macro.
21501 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21502 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21503 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21504 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21505 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21506 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21507 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21508 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21509 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21510 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21511 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21512 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21513 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21514 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21515 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21516 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21517 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21518 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21519 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21520 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21521 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21522 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21523 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21524 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21525 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21526 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21527 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21528 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21529 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21530 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21531 [XPG3] (acosh): Likewise.
21532 [XPG3] (asinh): Likewise.
21533 [XPG3] (atanh): Likewise.
21534 [XPG3] (cbrt): Likewise.
21535 [XPG3] (expm1): Likewise.
21536 [XPG3] (ilogb): Likewise.
21537 [XPG3] (log1p): Likewise.
21538 [XPG3] (logb): Likewise.
21539 [XPG3] (nextafter): Likewise.
21540 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21541 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21542 [XPG3] (remainder): Likewise.
21543 [XPG3] (rint): Likewise.
21544 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21545 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21546 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21547 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21548 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21549 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21550 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21551 [UNIX98 || XOPEN2K] (scalb): Expect.
21552 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21553 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21554 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21555 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21556 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21557 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21558 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21559 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21560 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21561 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21562 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21563 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21564 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21565 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21566 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21567 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21568 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21569 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21570 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21571 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21572 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21573 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21574 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21575 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21576 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21577 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21578 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21579 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21580 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21581 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21582 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21583 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21584 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21585 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21586 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21587 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21588 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21589 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21590 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21591 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21592 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21593 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21594 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21595 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21596 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21597 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21598 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21599 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21600 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21601 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21602 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21603 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21604 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21605 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21606 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21607 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21608 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21609 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21610 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21611 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21612 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21613 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21614 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21615 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21616 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21617 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21618 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21619 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21620 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21621 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21622 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21623 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21624 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21625 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21626 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21627 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21628 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21629 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21630 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21631 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21632 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21633 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21634 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21635 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21636 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21637 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21638 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21639 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21640 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21641 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21642 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21643 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21644 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21645 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21646 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21647 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21648 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21649 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21650 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21651 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21652 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21653 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21654 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21655 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21656 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21657 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21658 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21659 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21660 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21661 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21662 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21663 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21664 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21665 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21666 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21667 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21668 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21669 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21670 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21671 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21672 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21673 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21674 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21675 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21676 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21677 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21678 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21679 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21680 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21681 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21682 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21683 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21684 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21685 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21686 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21687 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21688 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21689
73c5ebe3
JM
21690 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21691 _XOPEN_SOURCE_EXTENDED for XPG4.
21692
39c33b6c
JM
21693 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21694
62fde54f
JM
21695 * Makeconfig (localtime): Remove variable.
21696 (inst_localtime-file): Likewise.
21697
0741d64c
AS
216982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21699
21700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21701 Update.
21702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21703 Update.
21704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21705 Update.
21706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21707 Update.
21708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21709 Update.
21710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21711 Update.
21712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21713 Update.
21714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21715 Update.
21716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21717 Update.
21718
7cb029ee
JM
217192012-05-01 Joseph Myers <joseph@codesourcery.com>
21720
21721 [BZ #2550]
21722 [BZ #2570]
21723 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21724 comparisons to determine direction to adjust input.
21725 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21726 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21727 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21728 Likewise.
21729 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21730 Likewise.
21731 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21732 Likewise.
21733 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21734 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21735 Likewise.
21736 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21737 Likewise.
21738 * math/libm-test.inc (nexttoward_test): Add more tests.
21739
412bd966
AS
217402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21741
21742 [BZ #14040]
21743 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21744 in version GLIBC_2.1, not GLIBC_2.0.
21745 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21746 Likewise.
21747
9568c0c2
JM
217482012-04-30 Joseph Myers <joseph@codesourcery.com>
21749
adfbc8ac
JM
21750 [BZ #13942]
21751 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21752 (1 - x) * (1 + x).
21753 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21754 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21755 * math/libm-test.inc (acos_test): Add more tests.
21756 (asin_test): Likewise.
21757 * sysdeps/i386/fpu/libm-test-ulps: Update.
21758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21759
5ba3cc69
JM
21760 [BZ #14034]
21761 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21762 of square root.
21763 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21764 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21765 * math/libm-test.inc (acos_test_tonearest): New function.
21766 (acos_test_towardzero): Likewise.
21767 (acos_test_downward): Likewise.
21768 (acos_test_upward): Likewise.
21769 (asin_test_tonearest): Likewise.
21770 (asin_test_towardzero): Likewise.
21771 (asin_test_downward): Likewise.
21772 (asin_test_upward): Likewise.
21773 (main): Call the new functions.
21774 * sysdeps/i386/fpu/libm-test-ulps: Update.
21775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21776
9568c0c2
JM
21777 [BZ #13884]
21778 [BZ #13924]
21779 * math/e_exp10.c: Include <float.h>.
21780 (__ieee754_exp10): Handle underflow here rather than multiplying
21781 large negative argument by M_LN10.
21782 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21783 of __ieee754_expf.
21784 * math/e_exp10l.c: Include <float.h>.
21785 (__ieee754_exp10l): Handle underflow here rather than multiplying
21786 large negative argument by M_LN10l.
21787 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21788 spurious overflow exception on underflow.
21789
5ac3ea17
MP
217902012-04-29 Marek Polacek <polacek@redhat.com>
21791
21792 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21793 (__fortify_function): New macro.
21794 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21795 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21796 __extern_always_inline.
21797 * libio/bits/stdio2.h: Likewise.
21798 * libio/bits/stdio.h: Likewise.
21799 * string/string.h: Likewise.
21800 * string/bits/string3.h: Likewise.
21801 * include/stdio.h: Likewise.
21802 * stdlib/bits/stdlib.h: Likewise.
21803 * stdlib/stdlib.h: Likewise.
21804 * rt/bits/mqueue2.h: Likewise.
21805 * rt/mqueue.h: Likewise.
21806 * posix/bits/unistd.h: Likewise.
21807 * posix/unistd.h: Likewise.
21808 * io/bits/poll2.h: Likewise.
21809 * io/bits/fcntl2.h: Likewise.
21810 * io/fcntl.h: Likewise.
21811 * io/sys/poll.h: Likewise.
21812 * misc/bits/syslog.h: Likewise.
21813 * misc/bits/syslog-ldbl.h: Likewise.
21814 * misc/sys/syslog.h: Likewise.
21815 * socket/bits/socket2.h: Likewise.
21816 * socket/sys/socket.h: Likewise.
21817 * debug/tst-chk1.c: Likewise.
21818 * wcsmbs/bits/wchar2.h: Likewise.
21819 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21820 * wcsmbs/wchar.h: Likewise.
21821
ecf0ebfb
AJ
218222012-04-29 Andreas Jaeger <aj@suse.de>
21823
21824 * Makerules (tests): Remove enable-check-abi protection.
21825 (check-abi-warn): Remove.
21826 (check-abi-%): Remove check-abi-warn usage.
21827
21828 * configure.in: Remove check-abi configure option.
21829 * configure: Regenerated.
21830 * config.make.in (enable-check-abi): Remove.
21831
6d5c57fa
AS
218322012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21833
24c5d07e 21834 [BZ #14033]
ded5180a
AS
21835 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21836 double functions to double *_finite functions.
21837
7e0d315d
AS
21838 [BZ #13941]
21839 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21840 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21841 LDBL_MIN_EXP.
21842 * stdio-common/Makefile (tests): Add tst-sprintf3.
21843 * stdio-common/tst-sprintf3.c: New file.
21844
6d5c57fa
AS
21845 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21846 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21847
0749ff8b
JM
218482012-04-28 Joseph Myers <joseph@codesourcery.com>
21849
21850 * conform/conformtest.pl: Remove duplicate typed-constant
21851 handling.
21852
8dbd5d7b
DM
218532012-04-28 David S. Miller <davem@davemloft.net>
21854
21855 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21856 (check-abi-%): Remove AWK script prerequisite and explicit
21857 abilist directory.
21858 (check-abi): Rewrite to just diff the symlist with the abilist.
21859 (config-tls, config-abi-config): Delete, no longer used.
21860 (update-abi-%): Remove AWK script and explicit abilist directory.
21861 (update-abi): Rewrite to simply compare and conditionally copy the
21862 symlist and the sysdep abilist file. Remove update-abi-config
21863 checks.
21864 * abilist/ld.abilist: Remove.
21865 * abilist/libBrokenLocale.abilist: Remove.
21866 * abilist/libanl.abilist: Remove.
21867 * abilist/libcrypt.abilist: Remove.
21868 * abilist/libdl.abilist: Remove.
21869 * abilist/librt.abilist: Remove.
21870 * abilist/libthread_db.abilist: Remove.
21871 * abilist/libutil.abilist: Remove.
21872 * scripts/extract-abilist.awk: Remove.
21873 * scripts/merge-abilist.awk: Remove.
21874 * sysdeps/generic/libcidn.abilist: New file.
21875 * sysdeps/generic/libnss_compat.abilist: New file.
21876 * sysdeps/generic/libnss_db.abilist: New file.
21877 * sysdeps/generic/libnss_dns.abilist: New file.
21878 * sysdeps/generic/libnss_files.abilist: New file.
21879 * sysdeps/generic/libnss_hesiod.abilist: New file.
21880 * sysdeps/generic/libnss_nis.abilist: New file.
21881 * sysdeps/generic/libnss_nisplus.abilist: New file.
21882 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21883 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21884 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21885 file.
21886 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21887 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21888 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21889 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21890 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21891 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21892 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21893 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21894 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21895 file.
21896 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21897 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21898 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21899 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21900 file.
21901 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21902 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21903 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21904 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21905 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21906 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21907 file.
21908 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21909 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21910 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21911 file.
21912 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21914 New file.
21915 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21916 New file.
21917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21918 New file.
21919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21920 New file.
21921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21922 New file.
21923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21924 New file.
21925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21926 New file.
21927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21928 New file.
21929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21930 New file.
21931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21932 New file.
21933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21934 New file.
21935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21936 New file.
21937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21938 New file.
21939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21940 file.
21941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21942 New file.
21943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21944 New file.
21945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21946 file.
21947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21948 New file.
21949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21950 New file.
21951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21952 file.
21953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21954 New file.
21955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21956 New file.
21957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21958 New file.
21959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21960 New file.
21961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21962 New file.
21963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21964 New file.
21965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21967 file.
21968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21969 New file.
21970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21971 file.
21972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21973 file.
21974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21975 file.
21976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21977 file.
21978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21979 file.
21980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21981 New file.
21982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21983 file.
21984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21985 file.
21986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21987 New file.
21988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21989 file.
21990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21992 file.
21993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21994 New file.
21995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21996 file.
21997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21998 file.
21999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22000 file.
22001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22002 file.
22003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22004 file.
22005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22006 New file.
22007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22008 file.
22009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22010 file.
22011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22012 New file.
22013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22014 file.
22015 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22016 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22017 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22018 file.
22019 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22020 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22021 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22022 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22023 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22024 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22025 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22026 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22027 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22028 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22031 file.
22032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22033 New file.
22034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22035 file.
22036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22037 file.
22038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22039 file.
22040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22041 file.
22042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22043 file.
22044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22045 New file.
22046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22047 New file.
22048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22049 file.
22050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22051 New file.
22052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22053 file.
22054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22056 file.
22057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22058 New file.
22059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22060 file.
22061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22062 file.
22063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22064 file.
22065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22066 file.
22067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22068 file.
22069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22070 New file.
22071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22072 New file.
22073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22074 file.
22075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22076 New file.
22077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22078 file.
22079
41d73a1b
JM
220802012-04-28 Joseph Myers <joseph@codesourcery.com>
22081
22082 * conform/conformtest.pl: Fix typo in handling typed-constant from
22083 allow-header.
22084
28aeeda4
JM
220852012-04-27 Joseph Myers <joseph@codesourcery.com>
22086
adae8f5e
JM
22087 * README: Cut down references to pre-2.6 Linux kernels and
22088 Linuxthreads. Update lists of configurations in libc and ports
22089 and sort alphabetically. Say "or newer" with Linux kernel version
22090 requirements.
22091
28aeeda4
JM
22092 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22093
a462cb63
RA
220942012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22095
22096 [BZ #887]
22097 * math/libm-test.inc (logb_test_downward): New test to expose
22098 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22099 rounding mode.
22100
6ad3493e
JM
221012012-04-27 Joseph Myers <joseph@codesourcery.com>
22102
22103 [BZ #14027]
22104 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22105 to be done.
22106 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22107 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22108
2ce4f015
JM
221092012-04-26 Joseph Myers <joseph@codesourcery.com>
22110
5aeb141a
JM
22111 * sysdeps/unix/i386/brk.S: Remove file.
22112 * sysdeps/unix/i386/dl-brk.S: Likewise.
22113 * sysdeps/unix/i386/pipe.S: Likewise.
22114 * sysdeps/unix/i386/sigreturn.S: Likewise.
22115 * sysdeps/unix/i386/syscall.S: Likewise.
22116 * sysdeps/unix/i386/vfork.S: Likewise.
22117 * sysdeps/unix/i386/wait.S: Likewise.
22118
7143acae
JM
22119 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22120 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22121
2ce4f015
JM
22122 * configure.in (arm*-none*): Do not allow without
22123 --enable-hacker-mode.
22124 (netbsd*): Remove case setting base_os.
22125 (386bsd*): Likewise.
22126 (freebsd*): Likewise.
22127 (bsdi*): Likewise.
22128 (osf*): Likewise.
22129 (sunos*): Likewise.
22130 (ultrix*): Likewise.
22131 (newsos*): Likewise.
22132 (dynix*): Likewise.
22133 (*bsd*): Likewise.
22134 (sysv*): Likewise.
22135 (isc*): Likewise.
22136 (esix*): Likewise.
22137 (sco*): Likewise.
22138 (minix*): Likewise.
22139 (irix4*): Likewise.
22140 (irix6*): Likewise.
22141 (solaris[2-9]*): Likewise.
22142 (none): Likewise.
22143 * configure: Regenerated.
22144
0ac229c8
AZ
221452012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22146
22147 [BZ #11521]
22148 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22149 overflow or cancellation in calculating denominator.
22150 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22151 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22152 down expression to avoid unexpected rounding in newer GCCs.
22153 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22154
33f244f4
DM
221552012-04-26 David S. Miller <davem@davemloft.net>
22156
22157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22158 long-double compat symbols.
22159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22172
cfa1f3e8
DM
221732012-04-25 David S. Miller <davem@davemloft.net>
22174
22175 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22176 HWCAP_* values only after the memory barriers have been defined.
22177 (atomic_full_barrier): Define.
22178 (atomic_read_barrier): Define.
22179 (atomic_write_barrier): Define.
22180
6e236b92
SP
221812012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22182
22183 * shlib-versions: Add libgcc_s version information.
22184 * sysdeps/generic/libgcc_s.h: Remove.
22185 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22186 libgcc_s.h.
22187 * sysdeps/gnu/unwind-resume.c: Likewise.
22188 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22189
aab39a09
DM
221902012-04-25 David S. Miller <davem@davemloft.net>
22191
22192 * sysdeps/unix/sparc/brk.S: Delete.
22193 * sysdeps/unix/sparc/dl-brk.S: Delete.
22194 * sysdeps/unix/sparc/pipe.S: Delete.
22195 * sysdeps/unix/sparc/sysdep.S: Delete.
22196 * sysdeps/unix/sparc/sysdep.h: Delete.
22197 * sysdeps/unix/sparc/vfork.S: Delete.
22198 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22199 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22200 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22201 ret_ERRVAL, r0, r1, MOVE): Define.
22202 (JUMPTARGET): Remove.
22203 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22204 sysdeps/unix/sparc/sysdep.h
22205 (ENTRY, END): Remove.
22206 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22207
a3cc4f48
JM
222082012-04-25 Joseph Myers <joseph@codesourcery.com>
22209
2ed8cda2
JM
22210 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22211 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22212 -DIS_IN_build.
22213
35d76d59
JM
22214 * timezone/README: Update upstream location and email address for
22215 tzcode and tzdata.
22216 * timezone/zdump.c: Update from tzcode 2012b.
22217 * timezone/zic.c: Likewise.
22218
a3cc4f48
JM
22219 * configure.in (libc_cv_as_needed): Remove test.
22220 * configure: Regenerated.
22221 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22222 conditional definition.
22223 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22224 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22225 * config.make.in (have-as-needed): Remove variable.
22226
ceab42c3
SP
222272012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22228 Paul Pluzhnikov <ppluzhnikov@google.com>
22229
22230 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22231 strings correctly.
22232
3ce2865f
CLT
222332012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22234
22235 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22236 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22237 * sysdeps/sh/strlen.S: Likewise.
22238
f37e0d68
JM
222392012-04-24 Joseph Myers <joseph@codesourcery.com>
22240
ae186e9a
JM
22241 * sysdeps/unix/fork.S: Remove file.
22242 * sysdeps/unix/i386/fork.S: Likewise.
22243 * sysdeps/unix/sparc/fork.S: Likewise.
22244
b96914af
JM
22245 * sysdeps/unix/system.c: Remove file.
22246 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22247
f37e0d68
JM
22248 * sysdeps/unix/getegid.S: Remove file.
22249 * sysdeps/unix/geteuid.S: Likewise.
22250
87ef29ca
RM
222512012-04-24 Roland McGrath <roland@hack.frob.com>
22252
83bcd236
RM
22253 * scripts/check-localplt.awk: New file.
22254 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22255 of diff.
22256 * scripts/data/localplt-generic.data: Add a comment.
22257
87ef29ca
RM
22258 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22259 NODE when __dir_mkfile failed.
22260 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22261 Reported by Ludovic Courtès <ludo@gnu.org>.
22262
e5a6e567
AJ
222632012-04-24 Andreas Jaeger <aj@suse.de>
22264
22265 * Makerules (common-clean): Also remove gen-as-const-headers
22266 files.
22267
c1820385
JM
222682012-04-24 Joseph Myers <joseph@codesourcery.com>
22269
22270 * Makerules (native-compile): Do not change working directory for
22271 build. Use $(OUTPUT_OPTION) in command.
22272 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22273
94e02fc4
AZ
222742012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22275
22276 [BZ #13886]
22277 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22278 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22279 * math/libm-test.inc (floor_test): Add more tests.
22280 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22281
3a533ca3
JM
222822012-04-24 Joseph Myers <joseph@codesourcery.com>
22283
940ab4b3
JM
22284 * sysdeps/unix/getdents.c: Remove file.
22285 * sysdeps/unix/sysv/getdents.c: Likewise.
22286 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22287
90e037bd
JM
22288 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22289 sysdeps/unix/mman/syscalls.list.
22290 (mmap): Likewise.
22291 (mprotect): Likewise.
22292 (msync): Likewise.
22293 (munmap): Likewise.
22294 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22295 * sysdeps/unix/mman/syscalls.list: Remove.
22296 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22297
3a533ca3
JM
22298 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22299 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22300 * configure: Regenerated.
22301 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22302 $(libgcc_s_suffix).
22303 * config.make.in (libgcc_s_suffix): Remove variable.
22304
1ad743de
JM
223052012-04-23 Joseph Myers <joseph@codesourcery.com>
22306
4ad451e2
JM
22307 * sysdeps/unix/sysv/gethostname.c: Move to ...
22308 * sysdeps/posix/gethostname.c: ... here.
22309
5e37ce39
JM
22310 * sysdeps/unix/execve.S: Remove file.
22311
1ad743de
JM
22312 * sysdeps/unix/_exit.S: Remove file.
22313
4e681b5b
AJ
223142012-04-23 Andreas Jaeger <aj@suse.de>
22315
22316 [BZ #13739]
22317 * manual/Makefile: Remove make dist support, there's no
22318 need for a stand-alone documentation tar ball.
22319 (TEXI2DVI): Define always, it's not in Makeconfig.
22320 (dist): Removed.
22321 (tar-it): Removed.
22322 (edition): Removed.
22323 (glibc-doc-$(edition).tar): Removed
22324 (%.Z): Removed.
22325 (%.gz): Removed.
22326 (%.uu): Removed.
22327 (ETAGS): Remove, it's in Makeconfig.
22328 (move-if-change): Remove, it's in Makeconfig.
22329
38686a03 223302012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
22331
22332 [BZ #13970]
22333 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22334 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22335 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22336 (strtod_l, strtof_l, strtold_l): Remove __wur.
22337 It is not necessarily an error to ignore strtol's return value.
22338 One can reliably look at the stored endptr to decide whether
22339 the number had valid syntax.
22340
7c0616fa
AJ
223412012-04-21 Andreas Jaeger <aj@suse.de>
22342
803cb6b7 22343 [BZ #13739]
7c0616fa
AJ
22344 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22345
b0fe253f
JM
223462012-04-21 Joseph Myers <joseph@codesourcery.com>
22347
22348 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22349 * sysdeps/unix/sysv/Versions: Remove file.
22350
8280f22d
MT
223512012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22352
22353 [BZ #13927]
22354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22355
75ce411f 223562012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
22357
22358 [BZ #7064]
22359 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22360 version from __vm86.
22361
097d59fa
JM
223622012-04-20 Joseph Myers <joseph@codesourcery.com>
22363
a90f3bcb
JM
22364 * sysdeps/unix/common/lxstat.c: Remove file.
22365 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22366
edc7ea78
JM
22367 * sysdeps/unix/sysv/Makefile: Remove file.
22368
cb78c221
JM
22369 * sysdeps/unix/sysv/direct.h: Remove file.
22370
efa6a45f
JM
22371 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22372 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22373 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22374 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22375 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22376 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22377 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22378
9c9f2d0c
JM
22379 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22380
4541c83b
JM
22381 * sysdeps/unix/xmknod.c: Remove file.
22382 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22383
f5d153a0
JM
22384 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22385
aa746595
JM
22386 * sysdeps/unix/sysv/i386/time.S: Remove file.
22387
cce5905e
JM
22388 * sysdeps/unix/fxstat.c: Remove file.
22389 * sysdeps/unix/xstat.c: Likewise.
22390 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22391
37fa3841
JM
22392 * sysdeps/unix/sysv/sigaction.c: Remove file.
22393
ff1962a3
JM
22394 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22395 (sysdep_headers): Remove variable.
22396 [termio.h not in sysdep_headers] (generated): Likewise.
22397 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22398 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22399 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22400 * sysdeps/unix/sysv/tcflow.c: Likewise.
22401 * sysdeps/unix/sysv/tcflush.c: Likewise.
22402 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22403 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22404 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22405 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22406 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22407
e7740d31
JM
22408 * sysdeps/unix/siglist.c: Remove file.
22409
ee06f18b
JM
22410 * sysdeps/unix/getppid.S: Remove file.
22411
097d59fa
JM
22412 * sysdeps/unix/mkdir.c: Remove file.
22413 * sysdeps/unix/rmdir.c: Likewise.
22414
ff3d51ec
AS
224152012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22416
22417 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22418 ERR_MAX value.
22419 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22420 errlist-compat value.
22421
50f81fd7
DM
224222012-04-18 David S. Miller <davem@davemloft.net>
22423
22424 * sysdeps/generic/memcopy.h (reg_char): Delete.
22425 * debug/strcat_chk.c: Use char, not reg_char.
22426 * debug/strcpy_chk.c: Likewise.
22427 * debug/strncat_chk.c: Likewise.
22428 * debug/strncpy_chk.c: Likewise.
22429 * string/memchr.c: Likewise.
22430 * string/memrchr.c: Likewise.
22431 * string/rawmemchr.c: Likewise.
22432 * string/strcat.c: Likewise.
22433 * string/strchr.c: Likewise.
22434 * string/strchrnul.c: Likewise.
22435 * string/strcmp.c: Likewise.
22436 * string/strcpy.c: Likewise.
22437 * string/strncat.c: Likewise.
22438 * string/strncmp.c: Likewise.
22439 * string/strncpy.c: Likewise.
22440
8ff41c46
WS
224412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22442
22443 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22444 __builtin_memcopy is called when src and dest ranges are known to not
22445 overlap.
22446
6b652f46
WS
224472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22448
22449 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22450 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22451 fwd_align_merge macro call.
22452 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22453 bwd_align_merge macro call.
22454 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22455
b282631e
WS
224562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22457
22458 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22459 bwd_align_merge macros.
22460 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22461 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22462 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22463
95aa737c
DM
224642012-04-18 David S. Miller <davem@davemloft.net>
22465
22466 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22467
7a99a614
AJ
224682012-04-18 Andreas Jaeger <aj@suse.de>
22469
22470 [BZ# 6794]
22471 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22472 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22473 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22474
22475 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22476 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22477 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22478
22479 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22480 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22481 Adjust for changed ldbl-128 files.
22482
22483 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22484 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22485 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22486
e5270c23
DM
224872012-04-17 David S. Miller <davem@davemloft.net>
22488
22489 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22490
fb5e92c9
AS
224912012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22492
22493 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22494 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22495 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22496 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22497 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22498 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22499
76da7265
AZ
225002012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22501
22502 [BZ #6794]
22503 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22504 * math/libm-test.inc: Add ilogb errno and exception tests.
22505 * math/w_ilogb.c: New file: ilogb wrapper.
22506 * math/w_ilogbf.c: New file: ilogbf wrapper.
22507 * math/w_ilogbl.c: New file: ilogbl wrapper.
22508 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22509 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22510 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22511 exception being thrown with 0.0 as argument.
22512 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22513 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22514 exception being thrown with 0.0 as argument.
22515 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22516 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22517 exception being thrown with 0.0 as argument.
22518 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22519 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22520 exception being thrown with 0.0 as argument.
22521 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22522 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 22523 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
22524 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22525 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22526 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22527 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22528 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22529 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22530
0396e69d
PB
225312012-04-17 Petr Baudis <pasky@ucw.cz>
22532
22533 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22534 with altivec.
22535
750b5926
MP
225362012-04-16 Marek Polacek <polacek@redhat.com>
22537
22538 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22539
751728a1
MP
225402012-04-16 Marek Polacek <polacek@redhat.com>
22541
22542 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22543 operands of fdivp instruction.
22544
34a27407
L
225452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22546
22547 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22548 * elf/tst-auditmod3b.c: Likewise.
22549 * elf/tst-auditmod4b.c: Likewise.
22550 * elf/tst-auditmod5b.c: Likewise.
22551 * elf/tst-auditmod6b.c: Likewise.
22552 * elf/tst-auditmod6c.c: Likewise.
22553 * elf/tst-auditmod7b.c: Likewise.
22554 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22555 * sysdeps/x86_64/preconfigure.in: Likewise.
22556 * sysdeps/x86_64/preconfigure: Regenerated.
22557
7e73e17d
L
225582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22559
22560 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22561 __ILP32__.
22562
c7a6ab72
AB
225632012-04-13 Antoine Balestrat <merkil33@gmail.com>
22564
22565 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22566 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22567
a9e8e0e0
CL
225682012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22569
22570 [BZ #13973]
22571 * locale/iso-639.def: Fix gl language name. Spotted by
22572 Yaron Shahrabani.
22573
ec98af7d
RM
225742012-04-12 Roland McGrath <roland@hack.frob.com>
22575
22576 [BZ #2074]
22577 * libio/libio.h (__io_write_fn): Update comment.
22578
247c3ede
PB
225792012-04-12 Petr Baudis <pasky@ucw.cz>
22580
22581 [BZ #2074]
22582 * stdio.texi (Hook Functions): The user provided writer function
22583 is not allowed to return -1.
22584
55939d6d
DM
225852012-04-11 David S. Miller <davem@davemloft.net>
22586
22587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22588
90020f5a
MF
225892012-04-11 Mike Frysinger <vapier@gentoo.org>
22590
22591 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22592 Add a leading slash to rtkaio.
22593
288f9098
JM
225942012-04-11 Jim Meyering <meyering@redhat.com>
22595
90020f5a
MF
22596 [BZ #11959]
22597 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22598 It is not necessarily an error to ignore fwrite's return
22599 value. One can reliably use ferror to test for errors after
22600 the fact.
288f9098 22601
4be2b570
L
226022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22603
22604 * bits/types.h (__snseconds_t): New type.
22605 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22606
22607 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22608 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22609 (__SNSECONDS_T_TYPE): Likewise.
22610 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22611 (__SNSECONDS_T_TYPE): Likewise.
22612 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22613 (__SNSECONDS_T_TYPE): Likewise.
22614
288f9098 226152012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22616
22617 [BZ #2636]
22618 * manual/time.texi (Processor Time): Return type of times is
22619 elapsed real time since an arbitrary point in the past.
22620 (CPU Time): Move CLK_TCK from here...
22621 (Processor Time): ...to here. Correct description.
22622 * manual/conf.texi (Constants for Sysconf): Correct description of
22623 _SC_CLK_TCK.
22624
d7dd4413
DM
226252012-04-10 David S. Miller <davem@davemloft.net>
22626
22627 [BZ #13967]
22628 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22629 where the is a gap between DT_REL(A) and DT_JMPREL.
22630
b46068fc
L
226312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22632
22633 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22634 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22635 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22636
73d65cc3
SP
226372012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22638
22639 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22640 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22641 (dl_main): Handle --inhibit-cache.
22642 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22643 _dl_inhibit_cache.
22644 * elf/dl-load.c (_dl_map_object): Use it.
22645 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22646
bcc8d661
JM
226472012-04-09 Joseph Myers <joseph@codesourcery.com>
22648
8f9a2fae
JM
22649 [BZ #13872]
22650 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22651 (__ieee754_powl): Saturate large exponents rather than testing for
22652 overflow of y*log2(x).
22653 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22654 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22655 exceptions.
22656
bcc8d661
JM
22657 [BZ #11521]
22658 * math/s_ctan.c: Include <float.h>.
22659 (__ctan): Avoid internal overflow or cancellation in calculating
22660 denominator.
22661 * math/s_ctanf.c: Likewise.
22662 * math/s_ctanl.c: Likewise.
22663 * math/s_ctanh.c: Likewise.
22664 * math/s_ctanhf.c: Likewise.
22665 * math/s_ctanhl.c: Likewise.
22666 * math/libm-test.inc (ctan_test): Add more tests.
22667 (ctanh_test): Likewise.
22668 * sysdeps/i386/fpu/libm-test-ulps: Update.
22669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22670
823fbbb4
AJ
226712012-04-09 Andreas Jaeger <aj@suse.de>
22672
03879793
AJ
22673 [BZ #6894]
22674 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22675 is an optional BSD extension.
22676
823fbbb4
AJ
22677 [BZ #10254]
22678 * manual/stdio.texi (Opening Streams): Document additional fopen
22679 parameters.
22680
8de131cb
RM
226812012-04-09 Roland McGrath <roland@hack.frob.com>
22682
22683 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22684 %eax without telling the compiler.
22685
c0ed9d7d
CD
226862012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22687
22688 [BZ # 13963]
22689 * manual/install.texi: Use sourceware.org.
22690
c483f6b4
JM
226912012-04-09 Joseph Myers <joseph@codesourcery.com>
22692
d7dd9453
JM
22693 [BZ #13873]
22694 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22695 (__ieee754_pow): Generate overflow and underflow using huge*huge
22696 and tiny*tiny rather than just returning constant infinity or zero
22697 for large exponents.
22698 * math/libm-test.inc (pow_test): Require overflow exceptions for
22699 applicable cases of large exponents.
22700
c483f6b4
JM
22701 [BZ #706]
22702 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22703 (__ieee754_pow): Use iterative multiplication algorithm only for
22704 integer exponents with absolute value below 1024. Check for odd
22705 integer exponents when using algorithm for real exponents.
22706 * math/libm-test.inc (pow_test): Add more tests.
22707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22708
d2de7579
JM
227092012-04-08 Joseph Myers <joseph@codesourcery.com>
22710
22711 [BZ #13705]
22712 * math/libm-test.inc (exp_test): Do not allow overflow exception
22713 on underflow test.
22714
f77f1232
AJ
227152012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22716
22717 [BZ #13705]
22718 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22719 instead of __kernel_standard_f.
22720
3884932b
MF
227212012-04-08 Mike Frysinger <vapier@gentoo.org>
22722
22723 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22724 * sysdeps/x86_64/memset_chk.S: Likewise.
22725
54472e9c
AJ
227262012-04-08 Andreas Jaeger <aj@suse.de>
22727
6ab0fbfc
AJ
22728 [BZ #10153]
22729 * manual/startup.texi (Environment Access): Describe return value
22730 for putenv and setenv.
22731
61efba8c
AJ
22732 [BZ #6895]
22733 * manual/filesys.texi (Directory Entries): Add description for
22734 DT_LNK.
22735
95c3f29a
AJ
22736 [BZ #6890]
22737 * manual/filesys.texi (Directory Entries): Clarify that it's file
22738 system not operating system in the description of DT_UNKNOWN.
22739
54472e9c
AJ
22740 [BZ #6578]
22741 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22742
624254b1
SC
227432012-04-08 Stephen Compall <s11@member.fsf.org>
22744
22745 [BZ #6649]
22746 * manual/llio.texi (Opening and Closing Files): Add cross
22747 reference to explain mode argument.
22748
1e4920e0
MF
227492012-04-07 Mike Frysinger <vapier@gentoo.org>
22750
22751 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22752 * sysdeps/x86_64/memset_chk.S: Likewise.
22753
5ed848f3
DM
227542012-04-07 David S. Miller <davem@davemloft.net>
22755
22756 * elf/elf.h (R_SPARC_WDISP10): Define.
22757 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22758 R_SPARC_SIZE32.
22759 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22760 R_SPARC_SIZE64 and R_SPARC_H34.
22761
96154cd8
CD
227622012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22763
22764 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22765 conditions and remove no longer applicable assertion.
22766
9904dc47
L
227672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22768
22769 * bits/byteswap.h: Include <features.h>.
22770 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22771 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22772
f8887d0a
L
227732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22774
22775 * bits/byteswap.h (__bswap_16): Removed.
22776 Include <bits/byteswap-16.h> to get __bswap_16.
22777 * sysdeps/i386/bits/byteswap.h: Likewise.
22778 * sysdeps/s390/bits/byteswap.h: Likewise.
22779 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22780 * bits/byteswap-16.h: New file.
22781 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22782 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22783 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22784 * string/Makefile (headers): Add bits/byteswap-16.h.
22785
62470f60
PP
227862012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22787
22788 [BZ #13895]
22789 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22790 extra indirection.
22791 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22792 * nss/tst-nss-static.c: New.
22793
4dad7bab
RM
227942012-04-06 Robert Millan <rmh@gnu.org>
22795
22796 [BZ #6486]
22797 * manual/llio.texi (File Position Primitive): lseek
22798 refers to WHENCE when it really means OFFSET.
22799
e9142a17
AJ
228002012-04-06 Andreas Jaeger <aj@suse.de>
22801
2c040eff
AJ
22802 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22803 strncmp declarations.
22804
e9142a17
AJ
22805 * abilist/libc.abilist: Add __poll and __ppoll.
22806
ff9f1c5f
DM
228072012-04-05 David S. Miller <davem@davemloft.net>
22808
dcd2ae90
DM
22809 * scripts/check-local-headers.sh: Accept a host triplet in the
22810 path matched by the exclude regexp.
22811
993eb054
DM
22812 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22813 definition.
22814 * sysdeps/powerpc/powerpc32/dl-machine.h
22815 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22816 * sysdeps/s390/s390-32/dl-machine.h
22817 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22818 * sysdeps/sparc/sparc32/dl-machine.h
22819 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22820 * sysdeps/sparc/sparc64/dl-machine.h
22821 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22822
ff9f1c5f
DM
22823 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22824 lazy binding.
48e2e132 22825 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22826 undefined symbol errors.
22827
48e2e132 22828 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22829 DT_NEEDED entries.
22830
e80d6f94
MM
228312012-04-05 Michael Matz <matz@suse.de>
22832
22833 [BZ #13592]
22834 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22835
349fa79f
AJ
228362012-04-05 Andreas Jaeger <aj@suse.de>
22837
22838 [BZ #13908]
22839 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22840 comment.
22841
f402708f
KK
228422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22843
22844 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22845 which ROUND is no valid rounding mode.
22846
2ecccfc9
KK
228472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22848
22849 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22850 read again.
22851 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22852
8a53f50f
KK
228532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22854
22855 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22856 an exception using FPU order intentionally.
22857
228582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22859
22860 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22861 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22862 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22863 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22864
d653abb7
SJ
228652012-04-05 Simon Josefsson <simon@josefsson.org>
22866
22867 [BZ #12340]
22868 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22869 EINVAL when BUFLEN is too smal.
22870
c3b1bf7d
TS
228712012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22872
22873 [BZ #13553]
22874 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22875 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22876
b1aa60f3
AJ
228772012-04-03 Andreas Jaeger <aj@suse.de>
22878
c3b1bf7d 22879 [BZ #13938]
67f60a26
AJ
22880 * manual/setjmp.texi (System V contexts): Fix sentence.
22881
b1aa60f3
AJ
22882 [BZ #13926]
22883 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22884 New macro for this case.
22885 [!__GNUC__] (__bswap_64): New inline function for this case.
22886 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22887 * bits/byteswap.h: Likewise.
22888 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22889 ull, guard with __GLIBC_HAVE_LONG_LONG.
22890
22891 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22892 __GLIBC_HAVE_LONG_LONG.
22893
22894 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22895 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22896
39c59c35
TMQMF
228972012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22898
22899 [BZ #13691]
22900 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22901 inptr and inend, rather than using last_ch.
22902
135ffda8
DM
229032012-04-02 David S. Miller <davem@davemloft.net>
22904
22905 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22906 * stdio-common/printf-parse.h (read_int): Change return type to
22907 'int', return -1 on INT_MAX overflow.
22908 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22909 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22910 overflows INT_MAX. Check for overflow of in-format-string precision
22911 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22912 SIZE_MAX not INT_MAX for integer overflow test.
22913 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22914 skip the construct in the format string but do not record anything.
22915 * stdio-common/bug22.c: Adjust to test both width/prevision
22916 INT_MAX overflow as well as total length INT_MAX overflow. Check
22917 explicitly for proper errno values.
22918
228c019e
TS
229192012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22920
302cadd3
TS
22921 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22922 CHAR_MAX.
22923 * string/test-strcmp.c [! WIDE]: Likewise.
22924 * time/tst-mktime2.c: Likewise for INT_MAX.
22925 * string/test-string.h: #include <sys/param.h> for MIN.
22926
228c019e
TS
22927 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22928 * sysdeps/i386/init-first.c (init): Likewise.
22929 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22930 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22931 * sysdeps/sh/init-first.c (init): Likewise.
22932
cfa633f5
UD
229332012-04-01 Ulrich Drepper <drepper@gmail.com>
22934
22935 * po/ru.po: Update from translation team.
d1635ef8 22936 * po/vi.po: Likewise.
cfa633f5 22937
6cd0a5ea
SP
229382012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22939
22940 * resolv/nss_dns/dns-host.c: Merge copyright years.
22941
4b43400f
LD
229422012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22943
22944 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22945 Optimize memcpy with prefetch if
22946 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22947 src, dst pointers have unequal 16 byte alignments.
22948
48c41d04
SP
229492012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22950
22951 [BZ #13928]
22952 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22953 from a CNAME entry and return the minimum ttl for the query.
22954 (gaih_getanswer_slice): Likewise.
22955
b8dc394d
JL
229562012-03-30 Jeff Law <law@redhat.com>
22957
22958 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22959 due to long keys.
22960 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22961 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22962
2f5a5ed0
JL
22963 * resolv/nss_dns/dns-host.c: Update copyright year.
22964
1d39e359
UD
229652012-03-30 Ulrich Drepper <drepper@gmail.com>
22966
c030f70c 22967 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22968 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22969
1d39e359
UD
22970 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22971 comments for sendmmsg.
22972
229732012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22974
22975 [BZ #13691]
22976 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22977 with only 1 character between 0x0041 and 0x01b0.
22978 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22979 * wcsmbs/tst-mbsnrtowcs.c: New file.
22980
20fde227
DM
229812012-03-29 David S. Miller <davem@davemloft.net>
22982
22983 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22984 small copies by hand.
22985
984a4237
JL
229862012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22987
22988 [BZ #13761]
22989 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22990 _nss_compat_initgroups_dyn): Fall back to malloc/free
22991 for large group memberships.
22992
18c9d62b
DM
229932012-03-28 David S. Miller <davem@davemloft.net>
22994
88d85d4f
DM
22995 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22996 that branches into memcpy.
22997 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22998 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22999 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23000 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23001 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23002 bits.
23003 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23004 implementation too.
23005 * sysdeps/sparc/mempcpy.S: New file.
23006
e5aa83e1
DM
23007 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23008 the IFUNC routine in the libc case.
23009 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23010
88570753
DM
23011 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23012 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23013 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23014 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23015 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23016 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23017 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23018 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23019
249d7567
DM
23020 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23021 loop to 256 bytes instead of 64 bytes and fix test signedness.
23022
18c9d62b
DM
23023 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23024 * sysdeps/sparc/sparc32/Makefile: rather than here...
23025 * sysdeps/sparc/sparc64/Makefile: and here.
23026
05f3d1f6
UD
230272012-03-28 Ulrich Drepper <drepper@gmail.com>
23028
23029 * malloc/mallocbug.c: Avoid warnings about unused variables.
23030
86ae07a8
JL
230312012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23032
23033 [BZ #13760]
23034 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23035 in the right place. Discard and retry query if response is
23036 larger than input buffer size.
23037
41bf21a1
JM
230382012-03-28 Joseph Myers <joseph@codesourcery.com>
23039
d6270972
JM
23040 [BZ #369]
23041 [BZ #2678]
23042 [BZ #3866]
23043 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23044 x for large integer exponent.
23045 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23046 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23047 sign of result as needed afterwards.
23048 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23049 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23050 result for underflowing pow the same as for overflow.
23051 (__kernel_standard_l): Handle powl overflow and underflow here
23052 rather than calling __kernel_standard.
23053 * math/libm-test.inc (pow_test): Add more tests.
23054
414fca03 23055 [BZ #3868]
41bf21a1
JM
23056 [BZ #13879]
23057 [BZ #13910]
23058 [BZ #13911]
23059 [BZ #13912]
23060 [BZ #13913]
23061 [BZ #13915]
23062 [BZ #13916]
23063 [BZ #13917]
23064 [BZ #13918]
23065 [BZ #13919]
23066 [BZ #13920]
23067 [BZ #13921]
23068 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23069 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23070 (__kernel_standard_l): New function.
23071 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23072 __kernel_standard.
23073 * math/w_acosl.c (__acosl): Likewise.
23074 * math/w_asinl.c (__asinl): Likewise.
23075 * math/w_atan2l.c (__atan2l): Likewise.
23076 * math/w_atanhl.c (__atanhl): Likewise.
23077 * math/w_coshl.c (__coshl): Likewise.
23078 * math/w_exp10l.c (__exp10l): Likewise.
23079 * math/w_exp2l.c (__exp2l): Likewise.
23080 * math/w_fmodl.c (__fmodl): Likewise.
23081 * math/w_hypotl.c (__hypotl): Likewise.
23082 * math/w_j0l.c (__j0l, __y0l): Likewise.
23083 * math/w_j1l.c (__j1l, __y1l): Likewise.
23084 * math/w_jnl.c (__jnl, __ynl): Likewise.
23085 * math/w_lgammal.c (__lgammal): Likewise.
23086 * math/w_log10l.c (__log10l): Likewise.
23087 * math/w_log2l.c (__log2l): Likewise.
23088 * math/w_logl.c (__logl): Likewise.
23089 * math/w_powl.c (__powl): Likewise.
23090 * math/w_remainderl.c (__remainderl): Likewise.
23091 * math/w_scalbl.c (sysv_scalbl): Likewise.
23092 * math/w_sinhl.c (__sinhl): Likewise.
23093 * math/w_sqrtl.c (__sqrtl): Likewise.
23094 * math/w_tgammal.c (__tgammal): Likewise.
23095 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23096 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23097 * math/libm-test.inc (acos_test): Add more tests.
23098 (acosh_test): Likewise.
23099 (asin_test): Likewise.
23100 (atanh_test): Likewise.
23101 (exp_test): Likewise.
23102 (exp10_test): Likewise.
23103 (exp2_test): Likewise.
23104 (expm1_test): Likewise.
23105 (lgamma_test): Likewise.
23106 (log_test): Likewise.
23107 (log10_test): Likewise.
23108 (log1p_test): Likewise.
23109 (log2_test): Likewise.
23110 (pow_test): Do not allow some spurious overflow exceptions.
23111 (sqrt_test): Add more tests.
23112 (tgamma_test): Likewise.
23113 (y0_test): Likewise.
23114 (y1_test): Likewise.
23115 (yn_test): Likewise.
23116
dd62fda6
AB
231172012-03-27 Anton Blanchard <anton@samba.org>
23118
23119 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23120 MAP_HUGETLB.
23121 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23122 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23123 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23124
1e3cdfda
AJ
231252012-03-27 David S. Miller <davem@davemloft.net>
23126
b855ab85
DM
23127 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23128
1e3cdfda
AJ
23129 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23130 have-as-vis3 check.
23131
231322012-03-27 Andreas Jaeger <aj@suse.de>
23133
23134 * sysdeps/x86_64/elf/configure.in: Moved to ...
23135 * sysdeps/x86_64/configure.in: ... here.
23136 * sysdeps/x86_64/elf/start.S: Moved to ...
23137 * sysdeps/x86_64/start.S: ... here.
23138 * sysdeps/x86_64/elf/configure: Delete.
23139
23140 * sysdeps/x86_64/configure.in: Merge contents from
23141 sysdeps/i386/configure.in (without i686 check).
23142
23143 * sysdeps/i386/elf/Versions: Merge into ...
23144 * sysdeps/i386/Versions: ... this.
23145 * sysdeps/i386/elf/Versions: Delete file.
23146 * sysdeps/i386/elf/start.S: Moved to ...
23147 * sysdeps/i386/start.S: ...here.
23148 * sysdeps/i386/elf/configure.in: Merge into...
23149 * sysdeps/i386/configure.in: ...here.
23150 * sysdeps/i386/elf/configure.in: Delete file.
23151 * sysdeps/i386/elf/configure: Delete file.
23152
23153 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23154 * debug/backtracesyms.c: ... here.
23155 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23156 * debug/backtracesymsfd.c: ... here.
23157 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23158 * sysdeps/generic/ifunc-sel.h: ... here.
23159
23160 * sysdeps/unix/i386/start.c: Delete file.
23161 * sysdeps/unix/sparc/start.c: Delete file.
23162 * sysdeps/unix/start.c: Delete file.
23163
23164 * sysdeps/sh/elf/configure.in: Moved to ...
23165 * sysdeps/sh/configure.in: ... here.
23166 * sysdeps/sh/elf/start.S: Moved to ...
23167 * sysdeps/sh/start.S: ... here.
23168 * sysdeps/sh/elf/configure: Delete file.
23169
23170 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23171 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23172 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23173 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23174 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23175 * sysdeps/powerpc/powerpc64/start.S: here.
23176 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23177 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23178 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23179 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23180 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23181
23182 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23183 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23184 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23185 * sysdeps/powerpc/powerpc32/start.S: ... here.
23186 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23187 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23188 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23189
23190 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23191 * sysdeps/powerpc/ifunc-sel.h: ... here.
23192 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23193 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23194
23195 * sysdeps/sparc/elf/configure.in: Moved to ...
23196 * sysdeps/sparc/configure.in: ... here.
23197 * sysdeps/sparc/elf/configure: Delete file.
23198 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23199 * sysdeps/sparc/sparc32/start.S: ... here.
23200 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23201 * sysdeps/sparc/sparc64/start.S: ... here.
23202 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23203 * sysdeps/sparc/sparc32/Makefile: ... this.
23204 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23205 * sysdeps/sparc/sparc64/Makefile: ... this.
23206
23207 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23208 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23209 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23210 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23211 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23212 * sysdeps/s390/s390-32/setjmp.S: ... here.
23213 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23214 * sysdeps/s390/s390-32/configure.in: ... here.
23215 * sysdeps/s390/s390-32/elf/configure: Delete file.
23216 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23217 * sysdeps/s390/s390-32/start.S: ... here.
23218
23219 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23220 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23221 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23222 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23223 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23224 * sysdeps/s390/s390-64/setjmp.S: ... here.
23225 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23226 * sysdeps/s390/s390-64/configure.in: ... here
23227 * sysdeps/s390/s390-64/elf/configure: Delete file.
23228 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23229 * sysdeps/s390/s390-64/start.S: ... here.
23230 * sysdeps/s390/s390-64/elf/configure: Delete.
23231
23232 * configure.in: Remove support for elf directories in sysdeps.
23233
23234 * configure: Regenerated.
23235 * sysdeps/i386/configure: Regenerated.
23236 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23237 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23238 * sysdeps/s390/s390-32/configure: Regenerated.
23239 * sysdeps/s390/s390-64/configure: Regenerated.
23240 * sysdeps/sh/configure: Regenerated.
23241 * sysdeps/sparc/configure: Regenerated.
23242 * sysdeps/x86_64/configure: Regenerated.
23243
a3f61311
AS
232442012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23245
c876e002
AS
23246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23247
a3f61311
AS
23248 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23249 denormal result into account.
23250
ac4c54f0
RM
232512012-03-25 Roland McGrath <roland@hack.frob.com>
23252
23253 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23254 Reported by Allan McRae <allan@archlinux.org>.
23255
6a9b9c02
JL
232562012-03-23 Jeff Law <law@redhat.com>
23257
23258 * nss/getnssent.c (__nss_getent): Fix typo.
23259
4c42a0c1
DM
232602012-03-23 David S. Miller <davem@davemloft.net>
23261
23262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23263
1532c7ac
L
232642012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23265
23266 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23267 to pad to uint64_t for each field.
23268 (dl_tls_index): Replace unsigned long with uint64_t.
23269
3ff42526
PP
232702012-03-23 Daniel Jacobowitz <dmj@google.com>
23271 Paul Pluzhnikov <ppluzhnikov@google.com>
23272
23273 [BZ #6528]
23274 * grp/Makefile (otherlibs): Don't set it.
23275 * inet/Makefile (otherlibs): Likewise.
23276 * login/Makefile (otherlibs): Likewise.
23277 * nscd/Makefile (otherlibs): Likewise.
23278 * posix/Makefile (otherlibs): Likewise.
23279 * pwd/Makefile (otherlibs): Likewise.
23280 * rt/Makefile (otherlibs): Likewise.
23281 * sunrpc/Makefile (otherlibs): Likewise.
23282 * nss/Makefile (otherlibs): Likewise.
23283 Add libnss_files to routines and static-only-routines.
23284 ($(objpfx)getent): Remove rule.
23285 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23286 static-only-routines.
23287
7c69cd14
JM
232882012-03-22 Joseph Myers <joseph@codesourcery.com>
23289
23290 [BZ #13892]
23291 * math/s_cexp.c: Include <float.h>.
23292 (__cexp): Handle exp result overflowing not necessarily
23293 overflowing both real and imaginary parts of result.
23294 * math/s_cexpf.c: Likewise.
23295 * math/s_cexpl.c: Likewise.
23296 * math/libm-test.inc (cexp_test): Add more tests.
23297 * sysdeps/i386/fpu/libm-test-ulps: Update.
23298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23299
81b035fe
L
233002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23301
23302 * include/link.h (ELFW): New macro.
23303 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23304 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23305
1da7940c
L
233062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23307
23308 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23309 with uint64_t.
23310
b749dbb9
L
233112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23312
23313 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23314 declaration.
23315 (struct La_x32_retval): Likewise.
23316
2ff87f3f
L
233172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23318
23319 * sysdeps/x86_64/preconfigure.in: New file.
23320 * sysdeps/x86_64/preconfigure: New generated file.
23321
c0df8e69
JM
233222012-03-22 Joseph Myers <joseph@codesourcery.com>
23323
48e44791
JM
23324 [BZ #13824]
23325 * math/e_exp2l.c: Include <float.h>.
23326 (__ieee754_exp2l): Handle overflow and underflow cases
23327 separately. Only pass fractional part of argument to
23328 __ieee754_expl.
23329 * math/libm-test.inc (exp2_test): Add more tests.
23330
c0df8e69
JM
23331 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23332 negating x to take absolute value.
23333 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23334 Likewise.
23335 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23336 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23337 Likewise.
23338 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23339 computing low part if x was negated.
23340 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23341
c8e43ba7
L
233422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23343
23344 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23345 la_x32_gnu_pltexit.
23346 (pltexit): Cast int_retval to ptrdiff_t.
23347 * elf/tst-auditmod3b.c: Likewise.
23348 * elf/tst-auditmod4b.c: Likewise.
23349 * elf/tst-auditmod5b.c: Likewise.
23350 * elf/tst-auditmod6b.c: Likewise.
23351 * elf/tst-auditmod6c.c: Likewise.
23352 * elf/tst-auditmod7b.c: Likewise.
23353
23354 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23355 and x32_gnu_pltexit.
23356
23357 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23358 __ELF_NATIVE_CLASS.
23359 (La_x32_regs): New macro.
23360 (La_x32_retval): Likewise.
23361 (la_x32_gnu_pltenter): New function prototype.
23362 (la_x32_gnu_pltexit): Likewise.
23363
7998fa78
AS
233642012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23365
dcb33988
AS
23366 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23367 exponent.
23368
233fc563
AS
23369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23370
7998fa78
AS
23371 * configure.in (libc_cv_cc_nofma): Check for option to disable
23372 generation of FMA instructions.
23373 * configure: Regenerate.
23374 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23375 * sysdeps/ieee754/dbl-64/Makefile: New file.
23376 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23377 Remove brandred-fma4.
23378 (CFLAGS-brandred-fma4.c): Remove.
23379 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23380 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23381 define.
23382 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23383 define.
23384
8e95c99a
L
233852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23386
23387 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23388 LLONG_MAX != LONG_MAX.
23389 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23390 (_fitoa_word): Likewise.
23391 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23392 LLONG_MAX != LONG_MAX.
23393 * stdio-common/_itowa.h: Include <_itoa.h>.
23394 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23395 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23396 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23397 only if not defined.
23398 (_ITOA_WORD_TYPE): Likewise.
23399 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23400 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23401
6f4db457
DM
234022012-03-21 David S. Miller <davem@davemloft.net>
23403
23404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23405
7785fe5a
L
234062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23407
23408 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23409 of x86_64 when setting libc_cv_slibdir, libdir and
23410 libc_cv_localedir.
23411 * sysdeps/unix/sysv/linux/configure: Regenerated.
23412
4535cd55
JM
234132012-03-21 Joseph Myers <joseph@codesourcery.com>
23414
23415 * manual/lang.texi (Old Varargs): Remove section.
23416 (How Variadic): Update menu.
23417 (va_start): Do not mention varargs.h.
23418
17228132
TS
234192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23420 Joseph Myers <joseph@codesourcery.com>
23421
23422 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23423 link test.
23424 * configure: Regenerated.
23425
8149f976
TS
234262012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23427
05f3d1f6
UD
23428 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23429 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23430 conformtest.pl
8149f976 23431
1a4ac776
JM
234322012-03-21 Joseph Myers <joseph@codesourcery.com>
23433
be22ce65
JM
23434 * NOTES: Remove.
23435 * Makefile (files-for-dist): Remove NOTES.
23436 (NOTES): Remove rule.
23437 * README: Don't refer to NOTES.
23438 * manual/creature.texi: Don't include macros.texi.
23439 * manual/intro.texi (creature.texi): Remove comment referring to
23440 NOTES.
23441
40b601fb
JM
23442 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23443 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23444 * configure: Regenerated.
23445 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23446 LIBC_TRY_CC_OPTION.
23447 (libc_cv_as_i686): Likewise.
23448 (libc_cv_cc_avx): Likewise.
23449 (libc_cv_cc_sse2avx): Likewise.
23450 (libc_cv_cc_fma4): Likewise.
23451 (libc_cv_cc_novzeroupper): Likewise.
23452 * sysdeps/i386/configure: Regenerated.
23453
1a4ac776
JM
23454 [BZ #13883]
23455 * sysdeps/i386/fpu/s_cexp.S: Remove.
23456 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23457 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23458 * math/libm-test.inc (cexp_test): Add more tests.
23459 * sysdeps/i386/fpu/libm-test-ulps: Update.
23460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23461
a458e7fe
AM
234622012-03-21 Allan McRae <allan@archlinux.org>
23463
23464 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23465
0cb7efc5
JM
234662012-03-21 Joseph Myers <joseph@codesourcery.com>
23467
23468 [BZ #13871]
23469 * math/w_exp2.c: Do not include <float.h>.
23470 (o_threshold, u_threshold): Remove.
23471 (__exp2): Calculate result before checking finiteness and calling
23472 __kernel_standard.
23473 * math/w_exp2f.c: Likewise.
23474 * math/w_exp2l.c: Likewise.
23475 * math/libm-test.inc (exp2_test): Require overflow exception for
23476 1e6 input.
2460d3aa
JM
23477
23478 [BZ #3866]
23479 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23480 range of signed 64-bit integers before using fistpll. Remove
23481 checks for whether integers fit in mantissa bits.
23482 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23483 the range of signed 32-bit integers before using fistpl. Remove
23484 checks for whether integers fit in mantissa bits.
23485 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23486 (__ieee754_powl): Test for y outside the range of signed 64-bit
23487 integers before using fistpll. Reduce 64-bit values to 63-bit
23488 ones as needed.
23489 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23490 divide-by-zero is raised for zero to large negative powers.
23491 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23492 (__ieee754_powl): Test for y outside the range of signed 64-bit
23493 integers before using fistpll. Reduce 64-bit values to 63-bit
23494 ones as needed.
23495 * math/libm-test.inc (pow_test): Add more tests.
23496
eb96ffb0
L
234972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23498
23499 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23500 <stdio-common/_itoa.h>.
23501 * debug/segfault.c: Likewise.
23502 * elf/dl-cache.c: Likewise.
23503 * elf/dl-minimal.c: Likewise.
23504 * elf/dl-misc.c: Likewise.
23505 * elf/dl-sysdep.c: Likewise.
23506 * elf/dl-version.c: Likewise.
23507 * elf/rtld.c: Likewise.
23508 * hurd/hurdsock.c: Likewise.
23509 * hurd/lookup-retry.c: Likewise.
23510 * malloc/malloc.c: Likewise.
23511 * malloc/mtrace.c: Likewise.
23512 * nscd/nscd_getgr_r.c: Likewise.
23513 * nscd/nscd_getpw_r.c: Likewise.
23514 * nscd/nscd_getserv_r.c: Likewise.
23515 * posix/getopt_init.c: Likewise.
23516 * posix/wordexp.c: Likewise.
23517 * stdio-common/_itoa.c: Likewise.
23518 * stdio-common/printf_fphex.c: Likewise.
23519 * stdio-common/vfprintf.c: Likewise.
23520 * string/_strerror.c: Likewise.
23521 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23522 * sysdeps/i386/i686/hp-timing.h: Likewise.
23523 * sysdeps/mach/_strerror.c: Likewise.
23524 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23525 * sysdeps/mach/hurd/sethostid.c: Likewise.
23526 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23527 * sysdeps/mach/xpg-strerror.c: Likewise.
23528 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23529 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23530 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23531 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23532 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23533 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23534 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23535 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23536 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23537 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23538 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23539 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23540 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23541 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23542 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23543 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23544 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23545 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23546 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23547 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23548 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23549
23550 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23551
23552 * stdio-common/_itoa.h: Moved to ...
23553 * sysdeps/generic/_itoa.h: Here.
23554
23555 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23556
23557 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23558 instead of "_itoa.h" and "_itowa.h".
23559 * stdio-common/vfprintf.: Likewise.
23560
d1af992d
L
235612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23562
23563 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23564 <bits/wordsize.h>.
23565 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23566 (__signbit): Likwise.
23567 (llrintf): Likwise.
23568 (llrint): Likwise.
23569
114883e0
L
235702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23571
23572 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23573 __WORDSIZE != 64.
23574
c135cc1b
JM
235752012-03-20 Joseph Myers <joseph@codesourcery.com>
23576
23577 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23578 OVERFLOW_EXCEPTION_OK.
23579 * math/libm-test.inc ("Philosophy"): Update comment about
23580 exception testing.
23581 (OVERFLOW_EXCEPTION): Define.
23582 (OVERFLOW_EXCEPTION_OK): Likewise.
23583 (INVALID_EXCEPTION_OK): Renumber.
23584 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23585 (IGNORE_ZERO_INF_SIGN): Likewise.
23586 (test_exceptions): Handle FE_OVERFLOW.
23587 (exp10_test): Expect overflow exceptions.
23588 (exp2_test): Likewise.
23589 (expm1_test): Likewise.
23590 (nextafter_test): Likewise.
23591 (pow_test): Likewise.
23592 (scalbn_test): Likewise.
23593 (scalbln_test): Likewise.
23594
95443d88
L
235952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23596
23597 * sysdeps/x86_64/bits/atomic.h
23598 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23599 64bit integer.
23600 (atomic_exchange_acq): Likewise.
23601 (__arch_exchange_and_add_body): Likewise.
23602 (__arch_add_body): Likewise.
23603 (atomic_add_negative): Likewise.
23604 (atomic_add_zero): Likewise.
23605
490df6c4
L
236062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23607
c2722551 23608 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
23609 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23610
5e52b189
L
236112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23612
23613 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23614 Check __x86_64__ instead of __WORDSIZE.
23615
a9879d4c
L
236162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23617
23618 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23619
5df98260
DM
236202012-03-19 David S. Miller <davem@davemloft.net>
23621
e1497744
DM
23622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23623
5df98260
DM
23624 * sysdeps/sparc/fpu/fenv_private.h: New file.
23625 * sysdeps/sparc/fpu/math_private.h: Use it.
23626 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23627 Remove.
23628 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23629 (libc_feholdexcept_setroundl): Remove.
23630 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23631 Remove.
23632 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23633 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23634
b4c35121
L
236352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23636
23637 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23638 int64_t instead of long int.
23639 (INSERT_WORDS64): Likwise.
23640
56965fd7
L
236412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23642
23643 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23644 _Unwind_GetCFA return to _Unwind_Ptr first.
23645
83d1aec8
JM
236462012-03-19 Joseph Myers <joseph@codesourcery.com>
23647
1897ad44
JM
23648 [BZ #13629]
23649 * math/s_clog.c: Include <float.h>.
23650 (__clog): Scale large or subnormal inputs.
23651 * math/s_clogf.c: Likewise.
23652 * math/s_clogl.c: Likewise.
23653 * math/s_clog10.c: Include <float.h>.
23654 (M_LOG10_2): Define.
23655 (__clog10): Scale large or subnormal inputs.
23656 * math/s_clog10f.c: Likewise.
23657 * math/s_clog10l.c: Likewise.
23658 * math/libm-test.inc (clog_test): Add more tests.
23659 (clog10_test): Likewise.
23660 * sysdeps/i386/fpu/libm-test-ulps: Update.
23661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23662
7726d6a9
JM
23663 [BZ #11451]
23664 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23665 x and y.
23666 * math/libm-test.inc (atan2_test): Add another test.
23667
83d1aec8
JM
23668 * Makerules (common-objdir-compile): Remove.
23669 * sysdeps/unix/Makefile (config-generated): Do not add
23670 $(unix-generated) to variable.
23671 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23672 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23673 Remove rule.
23674 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23675 Likewise.
23676 [generic bits/local_lim.h] (before-compile): Do not append to
23677 variable.
23678 [generic bits/local_lim.h] (common-generated): Likewise.
23679 [generic sys/param.h] (before-compile): Do not append to variable.
23680 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23681 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23682 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23683 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23684 include.
23685 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23686 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23687 [generic sys/param.h] ($(addprefix
23688 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23689 [generic sys/param.h] (common-generated): Do not append to
23690 variable.
23691 [generic sys/param.h] (sysdep_headers): Likewise.
23692 [generic bits/errno.h] (before-compile): Do not append to
23693 variable.
23694 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23695 rule.
23696 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23697 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23698 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23699 [generic bits/errno.h] (common-generated): Do not append to
23700 variable.
23701 [generic bits/ioctls.h] (before-compile): Do not append to
23702 variable.
23703 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23704 rule.
23705 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23706 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23707 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23708 rule.
23709 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23710 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23711 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23712 [generic bits/ioctls.h] (common-generated): Do not append to
23713 variable.
23714 [generic sys/syscall.h] (syscall.h): Remove variable.
23715 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23716 rule.
23717 [generic sys/syscall.h] (before-compile): Do not append to
23718 variable.
23719 [generic sys/syscall.h] (common-generated): Likewise.
23720 * sysdeps/unix/errnos-tmpl.c: Remove file.
23721 * sysdeps/unix/errnos.awk: Likewise.
23722 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23723 * sysdeps/unix/ioctls.awk: Likewise.
23724 * sysdeps/unix/mk-local_lim.c: Likewise.
23725 * sysdeps/unix/snarf-ioctls: Likewise.
23726
4851a949
RH
237272012-03-19 Richard Henderson <rth@twiddle.net>
23728
bd37f2ee
RH
23729 * sysdeps/i386/fpu/fenv_private.h: New file.
23730 * sysdeps/i386/fpu/math_private.h: Use it.
23731 (math_opt_barrier, math_force_eval): Remove.
23732 (libc_feholdexcept_setround_53bit): Remove.
23733 (libc_feupdateenv_53bit): Remove.
23734 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23735 (math_opt_barrier, math_force_eval): Remove.
23736 (libc_feholdexcept): Remove.
23737 (libc_feholdexcept_setround): Remove.
23738 (libc_fetestexcept, libc_fesetenv): Remove.
23739 (libc_feupdateenv_test): Remove.
23740 (libc_feupdateenv, libc_feholdsetround): Remove.
23741 (libc_feresetround): Remove.
23742
d0adc922
RH
23743 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23744 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23745
0fe0f1f8
RH
23746 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23747 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23748 (libc_feupdateenv_testl): New.
23749 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23750 (libc_feupdateenv_testf): New.
23751 (libc_feupdateenv): Use libc_feupdateenv_test.
23752 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23753 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23754
eb92c487
RH
23755 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23756 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23757 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23758 (libc_feresetround_noex): New.
23759 (libc_feresetround_noexf): New.
23760 (libc_feresetround_noexl): New.
23761 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23762 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23763 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23764 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23765 SET_RESTORE_ROUND.
23766 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23767 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23768 (__cos): Likewise.
23769 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23770 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23771 SET_RESTORE_ROUND_NOEX.
23772 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23773 SET_RESTORE_ROUND_NOEXF.
23774 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23775 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23776 (libc_feholdsetroundf): New.
23777 (libc_feresetround, libc_feresetroundf): New.
23778
7d2e8012
RH
23779 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23780 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23781 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23782
b4dabbb4
RH
23783 * sysdeps/generic/math_private.h: Include <fenv.h>.
23784 (default_libc_feholdexcept): New.
23785 (default_libc_feholdexcept_setround): New.
23786 (default_libc_fesetenv, default_libc_feupdateenv): New.
23787 (libc_feholdexcept): Only define if undefined.
23788 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23789 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23790 (libc_feholdexcept_setroundl): Likewise.
23791 (libc_feholdexcept_setround_53bit): Likewise.
23792 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23793 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23794 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23795 (libc_feupdateenv_53bit): Likewise.
23796 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23797 (libc_feholdexcept): Convert from macro to inline function.
23798 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23799 (libc_fesetenv, libc_feupdateenv): Likewise.
23800
4851a949
RH
23801 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23802 not previously defined.
23803 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23804 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23805 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23806 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23807 * sysdeps/ieee754/flt-32/math_private.h: New file.
23808 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23809 math_private.h below SET_FLOAT_WORD.
23810 (__isnan, __isinf_ns, __finite): Remove.
23811 (__isnanf, __isinf_nsf, __finitef): Remove.
23812
e79d442e
AS
238132012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23814
23815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23816
90b80344
DM
238172012-03-17 David S. Miller <davem@davemloft.net>
23818
23819 [BZ #6471]
23820 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23821 for 2.16.
23822
edc21804
DM
238232012-03-16 David S. Miller <davem@davemloft.net>
23824
77e927af
DM
23825 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23826 warnings.
23827
374976dd
DM
23828 [BZ #6471]
23829 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23830 properly.
23831 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23832 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23833 sysdep_routines when subdir is sysvipc.
23834 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23835 __getshmlba helper.
23836
edc21804
DM
23837 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23838
473c3ef3
L
238392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23840
23841 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23842 [__LP64__].
23843
eb0f39b6
L
238442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23845
23846 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23847 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23848 (__lround): Renamed to ...
23849 (__llround): This. Replace long int with long long int.
23850 Define lround functions as aliases of llround functions.
23851 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23852
6b6cd74b
L
238532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23854
23855 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23856 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23857 adresses to uintptr_t. Replace "long int" and "unsigned long
23858 int" with "greg_t" on va_arg.
23859
f1a77b01
L
238602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23861
23862 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23863 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23864
23865 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23866 Move e_machine check before EI_CLASS check. Handle x32
23867 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23868 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23869 SKIP_EM_IA_64 and include
23870 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23871
23872 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23873 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23874 (add_system_dir): New macro.
23875
23876 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23877 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23878
11b90b9f
JM
238792012-03-16 Joseph Myers <joseph@codesourcery.com>
23880
c36e1d23
JM
23881 [BZ #2551]
23882 [BZ #2552]
23883 [BZ #2553]
23884 [BZ #2554]
23885 [BZ #2562]
23886 [BZ #2563]
23887 [BZ #2565]
23888 [BZ #2566]
23889 [BZ #2576]
23890 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23891 (y0): Likewise.
23892 * math/w_j0f.c (j0f): Likewise.
23893 (y0f): Likewise.
23894 * math/w_j0l.c (__j0l): Likewise.
23895 (__y0l): Likewise.
23896 * math/w_j1.c (j1): Likewise.
23897 (y1): Likewise.
23898 * math/w_j1f.c (j1f): Likewise.
23899 (y1f): Likewise.
23900 * math/w_j1l.c (__j1l): Likewise.
23901 (__y1l): Likewise.
23902 * math/w_jn.c (jn): Likewise.
23903 (yn): Likewise.
23904 * math/w_jnf.c (jnf): Likewise.
23905 (ynf): Likewise.
23906 * math/w_jnl.c (__jnl): Likewise.
23907 (__ynl): Likewise.
23908 * math/libm-test.inc (j0_test): Add more tests.
23909 (j1_test): Likewise.
23910 (jn_test): Likewise. Add trailing semicolon to existing test.
23911 (y0_test): Likewise.
23912 (y1_test): Likewise.
23913 * sysdeps/i386/fpu/libm-test-ulps: Update.
23914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23915
11b90b9f
JM
23916 [BZ #13851]
23917 [BZ #13854]
23918 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23919 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23920 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23921 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23922 (__tanl): Set errno for infinite argument.
23923 * sysdeps/i386/fpu/mptan.c: Remove.
23924 * sysdeps/i386/fpu/s_tan.S: Likewise.
23925 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23926 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23927 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23928 * math/libm-test.inc (tan_test): Add more tests and enable more
23929 tests for double and long double.
23930 * sysdeps/i386/fpu/libm-test-ulps: Update.
23931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23932
6a1bd2a1
JK
239332012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23934
23935 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23936 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23937
10a803e0
RM
239382012-03-16 Roland McGrath <roland@hack.frob.com>
23939
23940 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23941 * configure.in: Use it for both main tree and add-ons.
23942 * configure: Regenerated.
23943
f196c7f7
L
239442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23945
23946 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23947
8848d99d
JM
239482012-03-16 Joseph Myers <joseph@codesourcery.com>
23949
96cbe7f4
JM
23950 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23951 in comment.
23952
8848d99d
JM
23953 [BZ #13851]
23954 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23955 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23956 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23957 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23958 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23959 infinite argument.
23960 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23961 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23962 != 0 for prec == 2.
23963 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23964 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23965 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23966 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23967 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23968 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23969 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23970 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23971 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23972 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23973 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23974 * math/libm-test.inc (cos_test): Add more tests and enable more
23975 tests for long double.
23976 (sin_test): Likewise.
23977 (sincos_test): Likewise.
23978 * sysdeps/i386/fpu/libm-test-ulps: Update.
23979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23980
dd7f4703
DM
239812012-03-16 David S. Miller <davem@davemloft.net>
23982
23983 * sysdeps/sparc/fpu/math_private.h: New file.
23984
006f1daa
DM
239852012-03-15 David S. Miller <davem@davemloft.net>
23986
c0c83bc8
DM
23987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23988 file.
e6a62e18 23989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23991 file.
e6a62e18
DM
23992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23997 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23998 sysdep routines.
23999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24000
88cb87d9
DM
24001 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24002 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24003
006f1daa 24004 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
24005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24006 sparc-ifunc.h
006f1daa 24007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
24008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24009 Likewise.
24010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24011 Likewise.
006f1daa
DM
24012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
24015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24016 Likewise.
006f1daa
DM
24017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
24021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24022 Likewise.
24023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24024 Likewise.
006f1daa
DM
24025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24031 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24032 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24033 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24034 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24039 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24040 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24041 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24042 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24043 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24044 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24045 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24046 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24047 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24048 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24049
11e0098e
AS
240502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24051
24052 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24053 scaling.
24054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24055
e85b09d0
AJ
240562012-03-15 Andreas Jaeger <aj@suse.de>
24057
24058 [BZ #13852]
24059 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24060 ieee754/flt-32 implementation for sin, cos and sincos.
24061 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24062 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24063 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24064 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24065 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24066 ieee754/flt-32 implementation for tan.
24067
24068 * math/libm-test.inc (cos_test): Enable some large input tests for
24069 float as well
24070 (sin_test): Likewise.
24071 (sincos_test): Likewise.
24072 (tan_test): Add tests for large input.
24073
24074 * sysdeps/i386/fpu/libm-test-ulps: Update.
24075
81c64153
AJ
240762012-03-15 Andreas Jaeger <aj@suse.de>
24077
24078 [BZ #13658]
24079 * math/libm-test.inc (cos_test): Add more test cases.
24080 (sin_test): Likewise.
24081 (sincos_test): Likewise.
24082
7bbfa5c6
AJ
240832012-03-15 Andreas Jaeger <aj@suse.de>
24084
24085 [BZ #13837]
24086 * math/libm-test.inc (cos_test): Add a test case for large input
24087 value.
24088 (sin_test): Likewise.
24089 (sincos_test): Likewise.
24090
240912012-03-15 Andreas Jaeger <aj@suse.de>,
24092 Joseph Myers <joseph@codesourcery.com>
24093
24094 [BZ #13658]
0671f479 24095 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
24096 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24097 * sysdeps/i386/fpu/branred.c: Likewise.
24098 * sysdeps/i386/fpu/dosincos.c: Likewise.
24099 * sysdeps/i386/fpu/mpa.c: Likewise.
24100 * sysdeps/i386/fpu/s_cos.S: Likewise.
24101 * sysdeps/i386/fpu/s_sin.S: Likewise.
24102 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24103 * sysdeps/i386/fpu/sincos32.c: Likewise.
24104
24105 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24106 Define.
24107 (libc_feupdateenv_53bit): Define.
24108 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24109 Define.
24110 (libc_feupdateenv_53bit): Define.
24111
24112 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24113 53 bit (without extend i386 double precision).
24114
24115 * math/libm-test.inc (sincos_test): Add tests for large input.
24116 (sin): Likewise.
24117 (cos): Likewise.
24118
24119 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24120
9cad04ea
AS
241212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24122
24123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24124
f7062b9a
DM
241252012-03-15 David S. Miller <davem@davemloft.net>
24126
24127 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24128 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24129 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24130 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
24142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24143 file.
f7062b9a 24144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
24145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24146 file.
f7062b9a 24147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
24148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24149 file.
f7062b9a 24150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
24151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24152 file.
f7062b9a
DM
24153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24154 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24155 fmin/fmax sysdep routines.
24156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24157
7bd951ff
DM
241582012-03-14 David S. Miller <davem@davemloft.net>
24159
559398ab
DM
24160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24161 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24162 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24164 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24165 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24166 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24167 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24168 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24169 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24170 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24180 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24181 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24182 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24183 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24184 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24185 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24186 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24187 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24188 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24189 routines.
24190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24191 file.
559398ab 24192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
24193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24194 file.
559398ab 24195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
24196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24197 file.
559398ab 24198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
24199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24200 file.
559398ab 24201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
24202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24203 file.
559398ab 24204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
24205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24206 file.
24207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24208 file.
24209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24210 file.
24211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24212 file.
24213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24214 New file.
24215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24216 file.
24217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24218 file.
559398ab 24219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
24220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24221 file.
559398ab 24222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24224 file.
559398ab 24225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
24226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24227 file.
559398ab 24228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
24229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24230 VIS3 routines.
559398ab
DM
24231
24232 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24233 New file.
24234
5a1c1e32
DM
24235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24236
eae47a36
DM
24237 * sysdeps/sparc/configure.in: New file.
24238 * sysdeps/sparc/configure: Generate.
24239 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24240 * configure: Regenerate.
24241 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24242 * config.make.in (have-as-vis3): New.
24243 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24244 available use -Av9d instead of -Av9a.
24245 * sysdeps/sparc/sparc64/Makefile: Likewise.
24246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
24247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24248 New file.
24249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24250 file.
24251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24252 New file.
24253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24254 file.
eae47a36
DM
24255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24256 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24257 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24258 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24259 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24260
c0c83bc8
DM
24261 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24262 fzeros/fnegs to load 0x80000000 into a float register instead of
24263 using the stack.
7bd951ff
DM
24264 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24265
bd951ccb
JM
242662012-03-14 Joseph Myers <joseph@codesourcery.com>
24267
24268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24269 bits/syscall.h.
24270 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24271 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24272 ($(inst_includedir)/bits/syscall.h): Remove rule.
24273 ($(objpfx)bits/syscall.d): Include instead of
24274 $(objpfx)syscall-list.d.
24275 (generated): Change syscall-list.h and syscall-list.d to
24276 bits/syscall.h and bits/syscall.d.
24277
bb4e6db2
RM
242782012-03-14 Roland McGrath <roland@hack.frob.com>
24279
24280 [BZ #13846]
24281 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24282
aa4a2ae1
JM
242832012-03-14 Joseph Myers <joseph@codesourcery.com>
24284
e456826d
JM
24285 [BZ #13841]
24286 * math/s_csqrt.c: Include <float.h>.
24287 (__csqrt): Scale large or subnormal inputs.
24288 * math/s_csqrtf.c: Likewise.
24289 * math/s_csqrtl.c: Likewise.
24290 * math/libm-test.inc (csqrt_test): Add more tests.
24291 * sysdeps/i386/fpu/libm-test-ulps: Update.
24292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24293
aa4a2ae1
JM
24294 [BZ #13840]
24295 * math/libm-test.inc (hypot_test): Add more tests.
24296
7c10fd35
DM
242972012-03-13 David S. Miller <davem@davemloft.net>
24298
24299 [BZ #13840]
24300 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24301 double-precision for the calculation instead of scaling.
24302
f453b98b
JM
243032012-03-13 Joseph Myers <joseph@codesourcery.com>
24304
24305 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24306 manipulate bits before adding and subtracting TWO52[sx].
24307 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24308 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24309 Likewise.
24310 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24311
09a3453f
DM
243122012-03-13 David S. Miller <davem@davemloft.net>
24313
8e59da90
DM
24314 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24315 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24316 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24317 rtld-global-offsets.h
24318 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24319
2a8ab7f2
DM
24320 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24321 large parameters.
24322
10f62770
DM
24323 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24324
5f0bdb18
DM
24325 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24326 'err' in the ifdef scope in which it is actually used.
24327
09a3453f
DM
24328 * nss/nss_db/db-init.c: Include string.h
24329
b4b2eb5e
DM
243302012-03-12 David S. Miller <davem@davemloft.net>
24331
98bb2f1c
DM
24332 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24333 masking out of the most significant byte of random value used.
24334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24335 Fix coding style in previous change.
24336
b4b2eb5e
DM
24337 * sysdeps/unix/sysv/linux/kernel-features.h
24338 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24339 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24340 expression.
24341 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24342 later.
24343
6e226b09
DM
243442012-03-11 David S. Miller <davem@davemloft.net>
24345
a1bcbd40
DM
24346 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24347 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24348 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24349 for 'resultvar' otherwise things get truncated on 64-bit.
24350
cb9d6174
DM
24351 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24352 Fix masking out of the most significant byte of random value used.
24353
6e226b09
DM
24354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24355
058c132d
AS
243562012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24357
24358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24359
2d2cd515
DM
243602012-03-09 David S. Miller <davem@davemloft.net>
24361
24362 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24363 variables with appropriate CPP guards.
24364 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24365 frame pointer, not the stack pointer. Correct layout comments. Fix test
24366 on resulting framesize and the management of the outregs buffer for pltexit.
24367 Preserve floating point return values across _dl_call_pltexit call.
24368 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24369 framesize and the management of the outregs buffer for pltexit.
24370 Preserve floating point return values across _dl_call_pltexit
24371 call.
24372 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24373 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24374 (print_exit): Fix format string for return register value.
24375
9a07f9d0
JM
243762012-03-10 Joseph Myers <joseph@codesourcery.com>
24377
24378 * sunrpc/Makefile (others): Add rpcgen.
24379 ($(objpfx)rpcgen): Remove special build rule and dependency on
24380 libc.
24381 * sunrpc/rpcgen.c: New file.
24382
547b5e30
PE
243832012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24384
c524201a
PE
24385 [BZ #13673]
24386 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24387 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24388 * sysdeps/i386/crti.S: Likewise.
24389 * sysdeps/i386/crtn.S: Likewise.
24390 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24391 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24392 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24393 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24394 * sysdeps/sh/crti.S: Likewise.
24395 * sysdeps/sh/crtn.S: Likewise.
24396 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24397
7b6235f2
PE
24398 [BZ #13673]
24399 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24400 with URL.
24401 * locale/programs/locfile-kw.gperf: Likewise.
24402 * locale/programs/charmap-kw.h: Regenerated.
24403 * locale/programs/locfile-kw.h: Likewise.
24404
547b5e30
PE
24405 [BZ #13673]
24406 * intl/plural.y: Replace FSF snail mail address with URL.
24407 * intl/plural.c: Regenerated.
24408
5f0a5dae
RH
244092012-03-09 Richard Henderson <rth@twiddle.net>
24410
24411 * include/math_private.h: Remove file.
24412 * math/math_private.h: Move file ...
24413 * sysdeps/generic/math_private.h: ... here.
24414
b8c03620
RH
24415 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24416 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24417 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24418
4e234f5d 24419 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
24420 and <math_private.h>.
24421 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24422 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24423 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24424 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24425 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24426 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24427 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24428 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24429 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24430 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24431 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24432 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24433 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24434 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24435 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24436 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24437 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24438 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24439 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24440 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24441 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24442 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24443 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24445 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24446 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24447 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24448 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24449 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24450 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24451 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24452 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24453 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24454 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24455 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24456 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24457 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24458 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24459 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24460 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24461 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24462 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24463 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24464 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24465 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24466 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24467 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24468 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24469 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24470 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24471 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24472 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24473 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24474 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24475 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24476 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24477 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24478 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24479 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24480 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24481 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24482 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24483 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24484 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24485 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24486 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24487 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24488 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24489 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24490 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24491 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24492 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24493 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24494 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24495 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24496 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24497 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24498 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24499 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24500 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24501 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24502 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24503 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24504 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24505 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24506 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24508 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24509 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24510 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24511 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24512 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24513 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24514 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24515 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24516 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24517 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24518 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24519 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24520 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24521 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24522 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24523 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24524 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24525 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24526 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24527 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24528 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24529 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24530 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24531 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24532 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24533 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24534 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24535 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24536 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24537 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24538 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24539 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24540 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24541 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24542 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24543 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24544 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24545 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24546 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24547 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24548 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24549 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24550 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24551 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24552 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24553 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24554 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24555 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24556 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24557 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24558 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24559 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24560 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24561 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24562 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24563 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24564 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24565 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24566 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24567 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24568 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24569 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24570 * sysdeps/ieee754/k_standard.c: Likewise.
24571 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24572 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24573 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24574 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24575 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24576 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24577 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24578 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24579 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24580 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24581 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24582 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24583 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24584 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24585 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24586 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24587 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24588 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24589 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24590 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24591 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24592 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24593 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24594 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24595 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24596 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24597 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24598 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24599 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24600 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24601 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24602 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24603 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24604 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24605 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24606 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24607 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24608 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24609 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24610 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24611 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24612 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24613 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24614 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24615 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24616 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24617 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24618 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24619 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24620 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24621 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24622 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24623 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24624 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24625 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24626 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24627 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24628 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24629 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24630 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24631 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24632 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24633 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24634 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24635 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24636 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24637 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24638 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24639 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24641 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24642 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24643 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24644 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24645 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24646 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24647 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24648 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24649 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24650 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24651 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24652 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24653 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24654 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24655 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24656 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24657 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24659 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24660 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24661 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24662 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24663 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24664 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24665 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24666 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24667 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24668 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24669 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24670 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24671 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24672 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24673 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24674 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24675 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24676 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24677 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24678 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24679 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24680 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24681 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24682 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24683 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24684 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24685 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24686 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24687 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24688 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24689 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24690 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24691 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24692 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24693 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24694 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24695 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24696 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24697 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24698 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24699 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24700 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24701 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24702 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24703 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24704 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24705 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24706 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24707 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24708 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24709 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24710 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24711 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24712 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24713 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24714 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24715 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24716 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24717 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24718 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24719 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24720 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24721 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24722 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24723 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24724 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24725 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24726 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24727 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24728 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24729 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24730 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24731 * sysdeps/ieee754/s_lib_version.c: Likewise.
24732 * sysdeps/ieee754/s_matherr.c: Likewise.
24733 * sysdeps/ieee754/s_signgam.c: Likewise.
24734 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24735 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24736 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24737 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24738 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24739 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24740 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24741 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24742 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24743 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24744 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24745 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24746 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24747 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24748 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24749 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24750 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24751 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24752 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24753 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24754 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24755
1991fa03
JM
247562012-03-09 Joseph Myers <joseph@codesourcery.com>
24757
24758 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24759 * sunrpc/rpc_main.c: Likewise.
24760 * sunrpc/rpc_svcout.c: Likewise.
24761
60d6f5a6
DM
247622012-03-09 David S. Miller <davem@davemloft.net>
24763
24764 * include/math_private.h: New file.
24765
4962050e
JM
247662012-03-09 Joseph Myers <joseph@codesourcery.com>
24767
02a6f887
JM
24768 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24769 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24770 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24771 from <bits/socket_type.h>.
24772 (enum __socket_type): Don't define here.
24773 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24774 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24775 bits/socket_type.h.
24776
c6e013c1
JM
24777 [BZ #13566]
24778 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24779 checking __USE_GNU.
24780
4962050e
JM
24781 * Makerules ($(inst_includedir)/%.h): New rule.
24782 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24783 (install-others): Remove variable setting.
24784 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24785
38842f45
RH
247862012-03-08 Richard Henderson <rth@twiddle.net>
24787
67bb6da6
RH
24788 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24789 from macro to inline function; merge with the
24790 !__LIBC_INTERNAL_MATH_INLINES version.
24791 (__ieee754_sqrtf): Likewise.
24792
15194b4b
RH
24793 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24794 to inline function.
24795 (__rintf, __floor, __floorf): Likewise.
24796
64e21ede
RH
24797 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24798 macro to inline function.
24799 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24800
38842f45
RH
24801 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24802 not <math/math_private.h>.
24803
c64bf5fe
DM
248042012-03-08 David S. Miller <davem@davemloft.net>
24805
24806 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24807 copyright year.
24808 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24809
82d86f28
TS
248102012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24811
24812 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24813 normalization.
24814 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24815 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24816
aea5d727
UD
248172012-03-08 Ulrich Drepper <drepper@gmail.com>
24818
24819 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24820 be defined individually, they must be defined as a block. Define
24821 S for printing a string instead of hidint the different by using a
24822 macro for adding the 'l'.
24823 * stdio-common/tst-fphex-wide.c: Adjust.
24824
70bca0a3
MP
248252012-03-07 Marek Polacek <polacek@redhat.com>
24826
24827 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24828
65b81130
MP
248292012-03-08 Marek Polacek <polacek@redhat.com>
24830
24831 [BZ #13806]
24832 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24833 * stdio-common/tst-fphex.c: Define a few macros to make the
24834 test reusable. Use them.
24835 * stdio-common/tst-fphex-wide.c: New file.
24836
07037eeb
JM
248372012-03-08 Joseph Myers <joseph@codesourcery.com>
24838
a7a93d50
JM
24839 [BZ #6911]
24840 * manual/macros.texi (gnusystems): New macro.
24841 (nongnusystems): Likewise.
24842 (gnulinuxhurdsystems): Likewise.
24843 (gnuhurdsystems): Likewise..
24844 (gnulinuxsystems): Likewise.
24845 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24846 variants of the GNU system, not "GNU system".
24847 * manual/conf.texi: Likewise.
24848 * manual/errno.texi: Likewise. Update example of errno macro
24849 expansion.
24850 * manual/filesys.texi: Likewise.
24851 (getumask): Document as specific to GNU/Hurd.
24852 * manual/install.texi: Likewise. Reword some references to
24853 GNU/Linux.
24854 * manual/intro.texi: Likewise.
24855 * manual/io.texi: Likewise.
24856 (File Name Portability): Detail which constraints are inapplicable
24857 to all GNU systems and which are only inapplicable to GNU/Hurd.
24858 * manual/job.texi: Likewise.
24859 * manual/llio.texi: Likewise.
24860 (O_NOCTTY): Document as present on GNU/Linux.
24861 * manual/maint.texi: Likewise.
24862 * manual/memory.texi: Likewise.
24863 * manual/pattern.texi: Likewise.
24864 * manual/pipe.texi: Likewise.
24865 * manual/process.texi: Likewise.
24866 * manual/resource.texi: Likewise.
24867 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24868 child on GNU/Hurd.
24869 * manual/setjmp.texi: Likewise.
24870 * manual/signal.texi: Likewise.
24871 * manual/startup.texi: Likewise.
24872 * manual/stdio.texi: Likewise.
24873 * manual/terminal.texi: Likewise.
24874 (ONLCR): Document as POSIX.
24875 (OXTABS): Document availability on GNU/Linux as XTABS.
24876 (ONOEOT): Document availability separately from other bits.
24877 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24878 * manual/time.texi: Likewise.
24879 * manual/users.texi: Likewise.
24880 * INSTALL: Regenerated.
24881 * sysdeps/gnu/errlist.c: Regenerated.
24882
07037eeb
JM
24883 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24884 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24885 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24886 puts.
24887 * configure: Regenerated.
24888
d1d3431a
JM
248892012-03-07 Joseph Myers <joseph@codesourcery.com>
24890
af6a1e37
JM
24891 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24892 default includes instead of AC_HEADER_CHECK.
24893 * sysdeps/i386/configure: Regenerated.
24894
d1d3431a
JM
24895 [BZ #10716]
24896 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24897 * math/s_cacoshf.c (__cacoshf): Likewise.
24898 * math/s_cacoshl.c (__cacoshl): Likewise.
24899 * math/s_casinh.c (__casinh): Set signs of result from argument.
24900 * math/s_casinhf.c (__casinhf): Likewise.
24901 * math/s_casinhl.c (__casinhl): Likewise.
24902 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24903 (casinh_test): Add more tests.
24904 * sysdeps/i386/fpu/libm-test-ulps: Update.
24905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24906
482ff4da
UD
249072012-03-07 Ulrich Drepper <drepper@gmail.com>
24908
872fda05
UD
24909 * po/zh_TW.po: Update from translation team.
24910
a4300c7a
UD
24911 * login/Makefile (distribute): Remove variable.
24912 * catgets/Makefile: Likewise.
24913 * mach/Makefile: Likewise.
24914 * malloc/Makefile: Likewise.
24915 * misc/Makefile: Likewise.
24916 * iconv/Makefile: Likewise.
24917 * nscd/Makefile: Likewise.
24918 * hurd/Makefile: Likewise.
24919 * manual/Makefile: Likewise.
24920 * locale/Makefile: Likewise.
24921 * intl/Makefile: Likewise.
24922 * conform/Makefile: Likewise.
24923 * nss/Makefile: Likewise.
24924 * time/Makefile: Likewise.
24925 * soft-fp/Makefile: Likewise.
24926 * dirent/Makefile: Likewise.
24927 * gmon/Makefile: Likewise.
24928 * po/Makefile: Likewise.
24929 * rt/Makefile: Likewise.
24930 * socket/Makefile: Likewise.
24931 * math/Makefile: Likewise.
24932 * signal/Makefile: Likewise.
24933 * debug/Makefile: Likewise.
24934 * elf/Makefile: Likewise.
24935 * timezone/Makefile: Likewise.
24936 * stdlib/Makefile: Likewise.
24937 * iconvdata/Makefile: Likewise.
24938 * sunrpc/Makefile: Likewise.
24939 * io/Makefile: Likewise.
24940 * argp/Makefile: Likewise.
24941 * inet/Makefile: Likewise.
24942 * hesiod/Makefile: Likewise.
24943 * grp/Makefile: Likewise.
24944 * csu/Makefile: Likewise.
24945 * wctype/Makefile: Likewise.
24946 * crypt/Makefile: Likewise.
24947 * libio/Makefile: Likewise.
24948 * string/Makefile: Likewise.
24949 * nis/Makefile: Likewise.
24950 * resolv/Makefile: Likewise.
24951 * stdio-common/Makefile: Likewise.
24952 * wcsmbs/Makefile: Likewise.
24953 * dlfcn/Makefile: Likewise.
24954 * posix/Makefile: Likewise.
24955
3b7c4e74 24956 [BZ #6959]
482ff4da
UD
24957 * timezone/Makefile: Don't install timezone files, just the programs
24958 and scripts.
24959
f72ed77d
UD
249602012-03-06 Ulrich Drepper <drepper@gmail.com>
24961
a000466f
UD
24962 * nss/databases.def: Add missing gshadow entry.
24963
f72ed77d
UD
24964 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24965
a53b7a4e
MP
249662012-03-06 Marek Polacek <polacek@redhat.com>
24967
24968 [BZ #13726]
24969 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24970 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24971 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24972 * stdio-common/tst-long-dbl-fphex.c: New file.
24973
e9258400
DM
249742012-03-06 David S. Miller <davem@davemloft.net>
24975
24976 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24977 (set_obp_int): New function.
24978 (get_obp_int): New function.
24979 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24980 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24981 Avoid unused variable warnings on 'val' and use builtin_expect.
24982 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24983 __builtin_expect.
e9258400
DM
24984 (INLINE_CLONE_SYSCALL): Likewise.
24985
3bd2c723
DM
249862012-03-05 David S. Miller <davem@davemloft.net>
24987
24988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24989
bbb78d03
AS
249902012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24991
884c5db4
AS
24992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24993
bbb78d03
AS
24994 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24995 only for |x| >= 40.
24996 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24997
1c9f702a 249982012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24999
25000 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25001 Replace gettimeofday with __vdso_gettimeofday.
25002
7be16f82
RM
25003 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25004 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25005 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
25006
25007 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25008 time with __vdso_time.
25009
ed58a00f
JM
250102012-03-05 Joseph Myers <joseph@codesourcery.com>
25011
25012 * manual/lang.texi (size_t): Note types to which size_t may be
25013 equivalent with the GNU C Library, but do not describe when
25014 differences between them are significant.
25015
30ee4ced
AJ
250162012-03-05 Andreas Jaeger <aj@suse.de>
25017
25018 * sysdeps/i386/fpu/libm-test-ulps: Update.
25019
b7cd39e8
JM
250202012-03-05 Joseph Myers <joseph@codesourcery.com>
25021
25022 [BZ #3976]
25023 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25024 (__ieee754_pow): Save and restore rounding mode and use
25025 round-to-nearest for main computations.
25026 * math/libm-test.inc (pow_test_tonearest): New function.
25027 (pow_test_towardzero): Likewise.
25028 (pow_test_downward): Likewise.
25029 (pow_test_upward): Likewise.
25030 (main): Call the new functions.
25031 * sysdeps/i386/fpu/libm-test-ulps: Update.
25032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
25033
25034 [BZ #3976]
25035 * math/libm-test.inc (cosh_test_tonearest): New function.
25036 (cosh_test_towardzero): Likewise.
25037 (cosh_test_downward): Likewise.
25038 (cosh_test_upward): Likewise.
25039 (sinh_test_tonearest): Likewise.
25040 (sinh_test_towardzero): Likewise.
25041 (sinh_test_downward): Likewise.
25042 (sinh_test_upward): Likewise.
25043 (main): Call the new functions.
25044 * sysdeps/i386/fpu/libm-test-ulps: Update.
25045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25046
6c6a98c9
TV
250472012-03-05 Tom de Vries <tom@codesourcery.com>
25048
25049 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25050 default stack guard is set in last bytes.
25051 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25052
21bb2d2e 250532012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 25054
21bb2d2e 25055 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 25056
21bb2d2e
AJ
25057 [BZ #13656]
25058 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25059 possibly allocate from heap instead of stack.
25060 * stdio-common/bug-vfprintf-nargs.c: New file.
25061 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 25062
c6922934
AS
250632012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25064
25065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25066
bc957d53
MP
250672012-03-03 Marek Polacek <polacek@redhat.com>
25068
25069 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25070 * math/math_private.h: Likewise.
25071 * stdlib/tst-strtod.c: Likewise.
25072 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25073 * sysdeps/x86_64/bits/atomic.h: Likewise.
25074
6358490d
DM
250752012-03-02 David S. Miller <davem@davemloft.net>
25076
25077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25081 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25082 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25083 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25084 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25085
01ae168d
RM
250862012-03-02 Roland McGrath <roland@hack.frob.com>
25087
d9a17c07
RM
25088 [BZ #13792]
25089 * manual/examples/README: New file, says the example source files
25090 can be used under GPL>=2.
25091 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25092 line containing just "*/".
25093 * manual/examples/add.c: Add copyright header (GPL>=2).
25094 * manual/examples/argp-ex1.c: Likewise.
25095 * manual/examples/argp-ex2.c: Likewise.
25096 * manual/examples/argp-ex3.c: Likewise.
25097 * manual/examples/argp-ex4.c: Likewise.
25098 * manual/examples/atexit.c: Likewise.
25099 * manual/examples/db.c: Likewise.
25100 * manual/examples/dir.c: Likewise.
25101 * manual/examples/dir2.c: Likewise.
25102 * manual/examples/execinfo.c: Likewise.
25103 * manual/examples/filecli.c: Likewise.
25104 * manual/examples/filesrv.c: Likewise.
25105 * manual/examples/fmtmsgexpl.c: Likewise.
25106 * manual/examples/genpass.c: Likewise.
25107 * manual/examples/inetcli.c: Likewise.
25108 * manual/examples/inetsrv.c: Likewise.
25109 * manual/examples/isockad.c: Likewise.
25110 * manual/examples/longopt.c: Likewise.
25111 * manual/examples/memopen.c: Likewise.
25112 * manual/examples/memstrm.c: Likewise.
25113 * manual/examples/mkfsock.c: Likewise.
25114 * manual/examples/mkisock.c: Likewise.
25115 * manual/examples/mygetpass.c: Likewise.
25116 * manual/examples/pipe.c: Likewise.
25117 * manual/examples/popen.c: Likewise.
25118 * manual/examples/rprintf.c: Likewise.
25119 * manual/examples/search.c: Likewise.
25120 * manual/examples/select.c: Likewise.
25121 * manual/examples/setjmp.c: Likewise.
25122 * manual/examples/sigh1.c: Likewise.
25123 * manual/examples/sigusr.c: Likewise.
25124 * manual/examples/stpcpy.c: Likewise.
25125 * manual/examples/strdupa.c: Likewise.
25126 * manual/examples/strftim.c: Likewise.
25127 * manual/examples/strncat.c: Likewise.
25128 * manual/examples/subopt.c: Likewise.
25129 * manual/examples/swapcontext.c: Likewise.
25130 * manual/examples/termios.c: Likewise.
25131 * manual/examples/testopt.c: Likewise.
25132 * manual/examples/testpass.c: Likewise.
25133 * manual/examples/timeval_subtract.c: Likewise.
25134
01ae168d
RM
25135 [BZ #13792]
25136 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25137 function to ...
25138 * manual/timeval_subtract.c.texi: ... here, new file.
25139
49efa33d
DM
251402012-03-02 David S. Miller <davem@davemloft.net>
25141
25142 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25143
28afd92d
JM
251442012-03-02 Joseph Myers <joseph@codesourcery.com>
25145
804360ed
JM
25146 [BZ #3976]
25147 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25148 (__sin): Save and restore rounding mode and use round-to-nearest
25149 for all computations.
25150 (__cos): Save and restore rounding mode and use round-to-nearest
25151 for all computations.
25152 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25153 <fenv.h>.
25154 (tan): Save and restore rounding mode and use round-to-nearest for
25155 all computations.
25156 * math/libm-test.inc (cos_test_tonearest): New function.
25157 (cos_test_towardzero): Likewise.
25158 (cos_test_downward): Likewise.
25159 (cos_test_upward): Likewise.
25160 (sin_test_tonearest): Likewise.
25161 (sin_test_towardzero): Likewise.
25162 (sin_test_downward): Likewise.
25163 (sin_test_upward): Likewise.
25164 (tan_test_tonearest): Likewise.
25165 (tan_test_towardzero): Likewise.
25166 (tan_test_downward): Likewise.
25167 (tan_test_upward): Likewise.
25168 (main): Call the new functions.
25169 * sysdeps/i386/fpu/libm-test-ulps: Update.
25170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25171
a6d06d7b
JM
25172 [BZ #10135]
25173 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25174 small n, then large n, before computing and testing k+n.
25175 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25176 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25177 Likewise.
25178 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25179 Likewise.
25180 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25181 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25182 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25183 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25184 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25185 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25186 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25187 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25188 * math/libm-test.inc (scalbn_test): Add more tests.
25189 (scalbln_test): Likewise.
25190
07e12bb3
JM
25191 * manual/filesys.texi (mode_t): Describe constraints on size and
25192 signedness, not exact equivalence to a particular type.
25193 (ino_t): Likewise.
25194 (ino64_t): Likewise.
25195 (dev_t): Likewise.
25196 (nlink_t): Likewise.
25197 (blkcnt_t): Likewise.
25198 (blkcnt64_t): Likewise.
25199 * manual/llio.texi (off_t): Likewise.
25200
28afd92d
JM
25201 [BZ #3976]
25202 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25203 (__ieee754_exp): Save and restore rounding mode and use
25204 round-to-nearest for all computations.
25205 * math/libm-test.inc (exp_test_tonearest): New function.
25206 (exp_test_towardzero): Likewise.
25207 (exp_test_downward): Likewise.
25208 (exp_test_upward): Likewise.
25209 (main): Call the new functions.
25210 * sysdeps/i386/fpu/libm-test-ulps: Update.
25211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25212
b1eeb65d
CD
252132012-03-01 Chris Demetriou <cgd@google.com>
25214
25215 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25216 have predictable order.
25217
53362a4b
DM
252182012-03-01 David S. Miller <davem@davemloft.net>
25219
3c969083
DM
25220 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25221
759707de
DM
25222 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25223 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25224 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25225 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25226
dfdb8ff2
DM
25227 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25228 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25229 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25231 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25232 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25233 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25234 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25235 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25236
ead89f96
DM
25237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25238
7f66bd07
DM
25239 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25240 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25241 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25242
53362a4b
DM
25243 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25244 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25245 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25246 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25247 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25248 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25249 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25250 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25251 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25252 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25253 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25254 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25256 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25257 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25259 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25260 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25261 * sysdeps/sparc/elf/configure: Regenerated.
25262
7b1902cb
JM
252632012-03-01 Joseph Myers <joseph@codesourcery.com>
25264
bec039bc
JM
25265 * configure.in (AS, LD): Require binutils 2.20 or later.
25266 * configure: Regenerated.
25267 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25268 as required minimum version.
25269 * INSTALL: Regenerated.
25270
7b1902cb
JM
25271 [BZ #2541]
25272 [BZ #4108]
25273 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25274 before squaring exponent.
25275 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25276 bottom long double and 27 bits of top long double before squaring
25277 exponent.
25278 * math/libm-test.inc (erfc_test): Add more tests.
25279 * sysdeps/i386/fpu/libm-test-ulps: Update.
25280 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25282
f775c276
KT
252832012-03-01 Kai Tietz <ktietz@redhat.com>
25284
25285 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25286 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25287 containing bit-fields.
25288 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25289 * soft-fp/single.h (_FP_UNION_S): Likewise.
25290 * soft-fp/double.h (_FP_UNION_D): Likewise.
25291
5b8a4d4a
JM
252922012-02-29 Joseph Myers <joseph@codesourcery.com>
25293
0bab47b6
JM
25294 [BZ #13786]
25295 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25296 not include ../strcmp.S.
25297 [USE_AS_STRNCASECMP_L]: Likewise.
25298 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25299 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25300 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25301 (__strncasecmp_l_ia32): Define as alias to
25302 __strncasecmp_l_nonascii.
25303
0fcad3e2
JM
25304 [BZ #5794]
25305 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25306 * sysdeps/i386/fpu/libm-test-ulps: Update.
25307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25308
5b8a4d4a
JM
25309 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25311
8fdceb2e
JL
253122012-02-29 Jeff Law <law@redhat.com>
25313
25314 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25315 out of bounds read.
25316
1f393a11
MP
253172012-02-29 Marek Polacek <polacek@redhat.com>
25318
25319 [BZ #13706]
25320 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25321 * elf/Makefile: Add rules to run tst-unused-dep.out.
25322
8847f037
DM
253232012-02-28 David S. Miller <davem@davemloft.net>
25324
25325 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25326 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25327 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25328 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25329 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25330 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25331
169d7f11
JM
253322012-02-29 Joseph Myers <joseph@codesourcery.com>
25333
25334 * math/libm-test.inc (llround_test): Move one test from
25335 lround_test. Use TEST_f_L in moved test.
25336 (lround_test): Move misplaced test to llround_test. Add testcase
25337 from bug 2561.
25338
39adf059
UD
253392012-02-28 Ulrich Drepper <drepper@gmail.com>
25340
25341 * sysdeps/x86_64/fpu/e_expf.S: New file.
25342 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25343
71b5d1c5
SB
253442012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25345
25346 [BZ #13637]
25347 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25348 of remain_len that may cause incomplete multi-byte character and
25349 false match.
25350 * posix/bug-regex33.c: New file.
25351 * posix/Makefile (tests): Add bug-regex33.
25352
1f77f049
JM
253532012-02-28 Joseph Myers <joseph@codesourcery.com>
25354
25355 * manual/macros.texi: New file.
25356 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25357 * manual/libc.texinfo: Include macros.texi.
25358 * manual/creatute.texi: Likewise.
25359 * manual/install.texi: Likewise.
25360 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25361 @glibcadj{} in references to the GNU C Library.
25362 * manual/charset.texi: Likewise.
25363 * manual/conf.texi: Likewise.
25364 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25365 when not using those macros.
25366 * manual/creature.texi: Likewise.
25367 * manual/crypt.texi: Likewise.
25368 * manual/errno.texi: Likewise.
25369 * manual/filesys.texi: Likewise.
25370 * manual/header.texi: Likewise.
25371 * manual/install.texi: Likewise.
25372 * manual/intro.texi: Likewise.
25373 * manual/io.texi: Likewise.
25374 * manual/job.texi: Likewise.
25375 * manual/lang.texi: Likewise.
25376 * manual/libc.texiinfo: Likewise.
25377 * manual/llio.texi: Likewise.
25378 * manual/locale.texi: Likewise.
25379 * manual/maint.texi: Likewise.
25380 * manual/math.texi: Likewise.
25381 * manual/memory.texi: Likewise.
25382 * manual/message.texi: Likewise.
25383 * manual/nss.texi: Likewise.
25384 * manual/pattern.texi: Likewise.
25385 * manual/process.texi: Likewise.
25386 * manual/resource.texi: Likewise.
25387 * manual/search.texi: Likewise.
25388 * manual/setjmp.texi: Likewise.
25389 * manual/signal.texi: Likewise.
25390 * manual/socket.texi: Likewise.
25391 * manual/startup.texi: Likewise.
25392 * manual/stdio.texi: Likewise.
25393 * manual/string.texi: Likewise.
25394 * manual/sysinfo.texi: Likewise.
25395 * manual/syslog.texi: Likewise.
25396 * manual/terminal.texi: Likewise.
25397 * manual/time.texi: Likewise.
25398 * manual/users.texi: Likewise.
25399 * INSTALL: Regenerated.
25400 * NOTES: Regenerated.
d40c5d54 25401 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 25402
450bf206
AS
254032012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25404
25405 * include/dirent.h: Include <dirstream.h> before
25406 <dirent/dirent.h>.
25407
741a235b
DM
254082012-02-28 David S. Miller <davem@davemloft.net>
25409
25410 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25411 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25412 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25413 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25414
d6b5aa58
DM
254152012-02-27 David S. Miller <davem@davemloft.net>
25416
1aff59a3
DM
25417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25419 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25420 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25421
d6b5aa58
DM
25422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25423 frame pointer instead of stack pointer relative arg slot.
25424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25425 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25426 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25427
433f48bf
CD
254282012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25429
25430 [BZ #3992]
25431 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25432
d674b76d
DM
254332012-02-27 David S. Miller <davem@davemloft.net>
25434
25435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25439 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25440 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25441 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25442 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25443
0e7727f7
JM
254442012-02-27 Joseph Myers <joseph@codesourcery.com>
25445
25446 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25447 later. Allow versions 5-9.
43be4ca2 25448 * configure: Regenerated.
0e7727f7
JM
25449 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25450 required minimum version and 4.6 as recommended version. Do not
25451 mention bugs in GCC 2.7 and 2.8.
43be4ca2 25452 * INSTALL: Regenerated.
0e7727f7 25453
a78bc654
DM
254542012-02-27 David S. Miller <davem@davemloft.net>
25455
428d5830
DM
25456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25460 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25461 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25462 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25463 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25464
a78bc654
DM
25465 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25466 manipulate bits before adding and subtracting TWO112[sx].
25467 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25468
4579f81c
RM
254692012-02-27 Roland McGrath <roland@hack.frob.com>
25470
36c8acb4
RM
25471 [BZ #13775]
25472 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25473 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25474 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25475 being in POSIX, because they are in 1003.1-2008.
25476
84ad622b
RM
25477 * rt/tst-aio.c: Include <fcntl.h>.
25478 * rt/tst-aio7.c: Likewise.
25479 * rt/tst-aio64.c: Likewise.
25480
4579f81c
RM
25481 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25482
abd923db
JM
254832012-02-27 Joseph Myers <joseph@codesourcery.com>
25484
25485 * manual/install.texi (--with-headers): Describe headers as
25486 interface headers, not private headers.
25487 (Specific advice for GNU/Linux systems): Describe use of headers
25488 from "make headers_install", not private headers from older
25489 kernels.
43be4ca2 25490 * INSTALL: Regenerated.
abd923db
JM
25491 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25492 Change to 2.6.19.
25493 * sysdeps/unix/sysv/linux/configure: Regenerated.
25494
6664049b
JM
25495 * manual/llio.texi (fclean): Remove documentation.
25496
bb8b6697
JM
25497 * manual/Makefile (libc-texi-generated): New variable. Include
25498 version.texi.
25499 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25500 $(libc-texi-generated), not duplicated list of files.
25501 (version.texi, stamp-version): New rules.
25502 (realclean): Remove $(libc-texi-generated), not individual files
25503 from that list. Do not remove dir-add.texinfo.
25504 * manual/libc.texinfo: Comment out uses of edition numbers and
25505 references to printed manual. Remove last-updated dates.
25506 (EDITION): Comment out.
25507 (ISBN): Likewise.
25508 (VERSION, UPDATED): Remove.
25509 (version.texi): Include.
25510
12e5c3b9
AS
255112012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25512
25513 * sysdeps/posix/spawni.c: Include <signal.h>.
25514 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25515 * sysdeps/pthread/aio_fsync.c: Likewise.
25516
4efeffc1 255172012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 25518
ba63ba08
UD
25519 * conform/Makefile (tests): Run only when not cross-compiling and
25520 when fast-check is not defined.
25521
d94a4670
UD
25522 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25523 * conform/data/limits.h-data: Fixes for POSIX2008.
25524 * conform/run-conformtest.sh: Run all tests.
25525 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25526 headers.
25527 * include/bits/dlfcn.h: Likewise.
25528 * include/langinfo.h: Likewise.
25529 * include/monetary.h: Likewise.
25530 * include/sys/poll.h: Likewise.
25531
25532 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25533 for __USE_GNU.
25534 * posix/spawn.h: Define __need_sigset_t.
25535 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25536 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25537 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25538 to get sigevent_t only.
25539 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25540 only for __USE_GNU.
25541 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25542 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25543 process_vm_writev only for __USE_GNU.
25544 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
25545
25546 * conform/Makefile: For now ignore errors from run-conformtest.
25547 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25548 POSIX to avoid namespace pollution. Don't prepend headers.
25549 * conform/data/aio.h-data: Fixes for POSIX testing.
25550 * conform/data/fcntl.h-data: Likewise.
25551 * conform/data/glob.h-data: Likewise.
25552 * conform/data/grp.h-data: Likewise.
25553 * conform/data/pthread.h-data: Likewise.
25554 * conform/data/pwd.h-data: Likewise.
25555 * conform/data/signal.h-data: Likewise.
25556 * conform/data/spawn.h-data: Likewise.
25557 * conform/data/stdio.h-data: Likewise.
25558 * conform/data/stdlib.h-data: Likewise.
25559 * conform/data/stropts.h-data: Likewise.
25560 * conform/data/sys/mman.h-data: Likewise.
25561 * conform/data/sys/stat.h-data: Likewise.
25562 * conform/data/sys/types.h-data: Likewise.
25563 * conform/data/sys/wait.h-data: Likewise.
25564 * conform/data/time.h-data: Likewise.
25565 * conform/data/unistd.h-data: Likewise.
25566 * conform/data/utime.h-data: Likewise.
25567
25568 * io/sys/stat.h: fchmod was always in POSIX.
25569 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25570 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25571 * rt/aio.h: Define __need_timespec before including <time.h>.
25572 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25573 struct. Add forward declaration of pthread_attr_t and use it in
25574 sigevent.
25575 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25576 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25577 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25578 always remove CLK_TCK definition.
25579
c20105c3
AS
255802012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25581
25582 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25583
7a270350
UD
255842012-02-25 Ulrich Drepper <drepper@gmail.com>
25585
31341567
UD
25586 * conform/run-conformtest.sh: New file.
25587 * conform/Makefile: Run run-conformtest for tests.
25588 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25589 support.
25590
25591 * conform/data/uchar.h-data: New file.
25592 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25593 * conform/data/arpa/inet.h-data: Likewise.
25594 * conform/data/assert.h-data: Likewise.
25595 * conform/data/complex.h-data: Likewise.
25596 * conform/data/cpio.h-data: Likewise.
25597 * conform/data/ctype.h-data: Likewise.
25598 * conform/data/dirent.h-data: Likewise.
25599 * conform/data/dlfcn.h-data: Likewise.
25600 * conform/data/errno.h-data: Likewise.
25601 * conform/data/fcntl.h-data: Likewise.
25602 * conform/data/float.h-data: Likewise.
25603 * conform/data/fmtmsg.h-data: Likewise.
25604 * conform/data/fnmatch.h-data: Likewise.
25605 * conform/data/ftw.h-data: Likewise.
25606 * conform/data/glob.h-data: Likewise.
25607 * conform/data/grp.h-data: Likewise.
25608 * conform/data/iconv.h-data: Likewise.
25609 * conform/data/inttypes.h-data: Likewise.
25610 * conform/data/langinfo.h-data: Likewise.
25611 * conform/data/libgen.h-data: Likewise.
25612 * conform/data/limits.h-data: Likewise.
25613 * conform/data/locale.h-data: Likewise.
25614 * conform/data/math.h-data: Likewise.
25615 * conform/data/monetary.h-data: Likewise.
25616 * conform/data/mqueue.h-data: Likewise.
25617 * conform/data/ndbm.h-data: Likewise.
25618 * conform/data/net/if.h-data: Likewise.
25619 * conform/data/netdb.h-data: Likewise.
25620 * conform/data/netinet/in.h-data: Likewise.
25621 * conform/data/nl_types.h-data: Likewise.
25622 * conform/data/poll.h-data: Likewise.
25623 * conform/data/pthread.h-data: Likewise.
25624 * conform/data/pwd.h-data: Likewise.
25625 * conform/data/regex.h-data: Likewise.
25626 * conform/data/sched.h-data: Likewise.
25627 * conform/data/search.h-data: Likewise.
25628 * conform/data/semaphore.h-data: Likewise.
25629 * conform/data/setjmp.h-data: Likewise.
25630 * conform/data/signal.h-data: Likewise.
25631 * conform/data/spawn.h-data: Likewise.
25632 * conform/data/stdarg.h-data: Likewise.
25633 * conform/data/stdio.h-data: Likewise.
25634 * conform/data/stdlib.h-data: Likewise.
25635 * conform/data/string.h-data: Likewise.
25636 * conform/data/strings.h-data: Likewise.
25637 * conform/data/stropts.h-data: Likewise.
25638 * conform/data/sys/ipc.h-data: Likewise.
25639 * conform/data/sys/mman.h-data: Likewise.
25640 * conform/data/sys/msg.h-data: Likewise.
25641 * conform/data/sys/resource.h-data: Likewise.
25642 * conform/data/sys/select.h-data: Likewise.
25643 * conform/data/sys/sem.h-data: Likewise.
25644 * conform/data/sys/shm.h-data: Likewise.
25645 * conform/data/sys/socket.h-data: Likewise.
25646 * conform/data/sys/stat.h-data: Likewise.
25647 * conform/data/sys/statvfs.h-data: Likewise.
25648 * conform/data/sys/time.h-data: Likewise.
25649 * conform/data/sys/timeb.h-data: Likewise.
25650 * conform/data/sys/times.h-data: Likewise.
25651 * conform/data/sys/types.h-data: Likewise.
25652 * conform/data/sys/uio.h-data: Likewise.
25653 * conform/data/sys/un.h-data: Likewise.
25654 * conform/data/sys/utsname.h-data: Likewise.
25655 * conform/data/sys/wait.h-data: Likewise.
25656 * conform/data/syslog.h-data: Likewise.
25657 * conform/data/tar.h-data: Likewise.
25658 * conform/data/termios.h-data: Likewise.
25659 * conform/data/utime.h-data: Likewise.
25660 * conform/data/utmpx.h-data: Likewise.
25661 * conform/data/varargs.h-data: Likewise.
25662 * conform/data/wchar.h-data: Likewise.
25663 * conform/data/wctype.h-data: Likewise.
25664 * conform/data/wordexp.h-data: Likewise.
25665
25666 * include/stropts.h: New file.
25667 * include/uchar.h: New file.
25668 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25669 * include/assert.h: Likewise.
25670 * include/ctype.h: Likewise.
25671 * include/dirent.h: Likewise.
25672 * include/dlfcn.h: Likewise.
25673 * include/fcntl.h: Likewise.
25674 * include/fnmatch.h: Likewise.
25675 * include/glob.h: Likewise.
25676 * include/grp.h: Likewise.
25677 * include/libio.h: Likewise.
25678 * include/locale.h: Likewise.
25679 * include/math.h: Likewise.
25680 * include/net/if.h: Likewise.
25681 * include/netdb.h: Likewise.
25682 * include/netinet/in.h: Likewise.
25683 * include/pthread.h: Likewise.
25684 * include/pwd.h: Likewise.
25685 * include/regex.h: Likewise.
25686 * include/sched.h: Likewise.
25687 * include/search.h: Likewise.
25688 * include/setjmp.h: Likewise.
25689 * include/signal.h: Likewise.
25690 * include/stdio.h: Likewise.
25691 * include/stdlib.h: Likewise.
25692 * include/string.h: Likewise.
25693 * include/sys/cdefs.h: Likewise.
25694 * include/sys/mman.h: Likewise.
25695 * include/sys/msg.h: Likewise.
25696 * include/sys/resource.h: Likewise.
25697 * include/sys/select.h: Likewise.
25698 * include/sys/socket.h: Likewise.
25699 * include/sys/stat.h: Likewise.
25700 * include/sys/statvfs.h: Likewise.
25701 * include/sys/time.h: Likewise.
25702 * include/sys/times.h: Likewise.
25703 * include/sys/uio.h: Likewise.
25704 * include/sys/utsname.h: Likewise.
25705 * include/sys/wait.h: Likewise.
25706 * include/termios.h: Likewise.
25707 * include/time.h: Likewise.
25708 * include/ulimit.h: Likewise.
25709 * include/unistd.h: Likewise.
25710 * include/utime.h: Likewise.
25711 * include/wchar.h: Likewise.
25712 * include/wctype.h: Likewise.
25713 * include/wordexp.h: Likewise.
25714
25715 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25716
7a270350
UD
25717 * time/time.h: TIME_UTC must be a macro.
25718 Make timespec_get available for ISO C11 only as well.
25719
7724defc
UD
257202012-02-24 Ulrich Drepper <drepper@gmail.com>
25721
25722 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25723 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25724
6b1d1d46
JM
257252012-02-24 Joseph Myers <joseph@codesourcery.com>
25726
25727 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25728
0f8bbd69
JM
257292012-02-24 Joseph Myers <joseph@codesourcery.com>
25730
25731 * manual/texinfo.tex: Update to version 2012-01-19.16.
25732
66ab80bc
JM
257332012-02-24 Joseph Myers <joseph@codesourcery.com>
25734
25735 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25736
74981cc5
RM
257372012-02-24 Roland McGrath <roland@hack.frob.com>
25738
ee968201
RM
25739 [BZ #13738]
25740 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25741 * manual/fdl-1.3.texi: New file.
25742 * manual/fdl-1.1.texi: File removed.
25743
74981cc5
RM
25744 [BZ #13738]
25745 * manual/libc.texinfo (FDL_VERSION): New @set.
25746 Use it for mention of FDL in cover text.
25747 (Documentation License): Use it in @include file name.
25748
7bb764bc
JM
257492012-02-22 Joseph Myers <joseph@codesourcery.com>
25750 Roland McGrath <roland@hack.frob.com>
25751
25752 [BZ #5461]
25753 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25754 not LONG_LONG_MAX and LONG_LONG_MIN.
25755 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25756 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25757 name.
25758 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25759
6cbeae47
JM
257602012-02-22 Joseph Myers <joseph@codesourcery.com>
25761
25762 [BZ #2547]
25763 [BZ #11365]
25764 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25765 manipulate bits before adding and subtracting TWO23[sx].
25766 * math/libm-test.inc (nearbyint_test): Add more tests.
25767
fe45ce09
JM
257682012-02-22 Joseph Myers <joseph@codesourcery.com>
25769
25770 [BZ #2548]
25771 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25772 bits before adding and subtracting TWO23[sx].
25773 * math/libm-test.inc (rint_test): Add more tests.
25774 (rint_test_tonearest): Likewise.
25775 (rint_test_towardzero): Likewise.
25776 (rint_test_downward): Likewise.
25777 (rint_test_upward: Likewise.
25778
ff3b3d82
JM
257792012-02-22 Joseph Myers <joseph@codesourcery.com>
25780
25781 [BZ #10110]
25782 * include/stdc-predef.h: New file. Extracted from features.h.
25783 * include/features.h: Include stdc-predef.h.
25784 * Makefile (headers): Add stdc-predef.h.
25785 * CONFORMANCE (Compiler limitations): Update.
25786
ef0aab35
JM
257872012-02-22 Joseph Myers <joseph@codesourcery.com>
25788
25789 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25790
58639409
DM
257912012-02-21 David S. Miller <davem@davemloft.net>
25792
25793 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25794 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25795
c0e70b25
DM
257962012-02-20 David S. Miller <davem@davemloft.net>
25797
25798 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25799 using a normal save/restore sequence, rather than allocating a
25800 dummy stack frame just to store a frame pointer and restore.
25801 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25802
fb06851d
JM
258032012-02-21 Joseph Myers <joseph@codesourcery.com>
25804
25805 * manual/install.texi: Fix stray word in line-wrapped comment.
25806
7a8b71c3
DM
258072012-02-20 David S. Miller <davem@davemloft.net>
25808
d510c123
DM
25809 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25810 both binutils and gcc support GOTDATA.
25811
0722d7c2
DM
25812 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25813 "rd %pc" in the PIC register setup sequences.
25814
3d2b3019
DM
25815 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25816 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25817 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25818 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25819 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25820 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25821 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25822 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25823 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25824 (SYSCALL_ERROR_HANDLER): Likewise.
25825 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25826 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25828 (SYSCALL_ERROR_HANDLER): Likewise.
25829
c80098a9
DM
25830 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25831 (HAVE_GCC_GOTDATA): New.
25832 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25833 relocation support in both binutils and gcc.
25834 * sysdeps/sparc/elf/configure: Regenerate.
25835
3a2545a0
DM
25836 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25837 * sysdeps/sparc/sparc32/elf/configure: Delete.
25838 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25839 * sysdeps/sparc/sparc64/elf/configure: Delete.
25840 * sysdeps/sparc/elf/configure.in: New file.
25841 * sysdeps/sparc/elf/configure: Generate.
25842
7a8b71c3
DM
25843 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25844 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25845 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25846 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25847 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25848
f1e86fca
JM
258492012-02-21 Joseph Myers <joseph@codesourcery.com>
25850
25851 * manual/install.texi: Do not mention specific glibc version
25852 numbers.
25853 * manual/libc.texinfo (VERSION, UPDATED): Update.
25854 (@copying): Use @copyright{} and range of years.
25855
0e7dfaef
JM
258562012-02-21 Joseph Myers <joseph@codesourcery.com>
25857
25858 [BZ #13695]
25859 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25860 [crti.S not in sysdirs] (generated): Do not append.
25861 [crti.S not in sysdirs] (omit-deps): Likewise.
25862 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25863 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25864 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25865 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25866 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25867 Likewise.
25868 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25869 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25870 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25871 * csu/defs.awk: Remove file.
25872 * sysdeps/generic/initfini.c: Likewise.
25873 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25874 variable.
25875 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25876 Likewise.
25877
599af3ca
JM
258782012-02-20 Joseph Myers <joseph@codesourcery.com>
25879
25880 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25881 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25882 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25883 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25884 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25885 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25886 <bits/epoll.h>.
25887 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25888 (__EPOLL_PACKED): Define to empty if not defined by
25889 <bits/epoll.h>.
25890 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25891 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25892 bits/epoll.h.
25893
0e499750
JM
258942012-02-20 Joseph Myers <joseph@codesourcery.com>
25895
25896 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25897 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25898 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25899 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25900 <bits/timerfd.h>.
25901 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25903 bits/timerfd.h.
25904
5ad91f6e
JM
259052012-02-20 Joseph Myers <joseph@codesourcery.com>
25906
25907 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25908 in C locale.
25909 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25910 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25911 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25913
06b99b02
AJ
259142012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25915
25916 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25917 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25918
7638c0fd
AS
259192012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25920
25921 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25922 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25923 defined.
25924 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25925 Likewise.
25926 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25927 entry for 2.16.
25928
92221550
AJ
259292012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25930
25931 * math/w_acos.c: Use non-signaling floating-point comparisons.
25932 * math/w_acosf.c: Likewise.
25933 * math/w_acosh.c: Likewise.
25934 * math/w_acoshf.c: Likewise.
25935 * math/w_acoshl.c: Likewise.
25936 * math/w_acosl.c: Likewise.
25937 * math/w_asin.c: Likewise.
25938 * math/w_asinf.c: Likewise.
25939 * math/w_asinl.c: Likewise.
25940 * math/w_atanh.c: Likewise.
25941 * math/w_atanhf.c: Likewise.
25942 * math/w_atanhl.c: Likewise.
25943 * math/w_exp2.c: Likewise.
25944 * math/w_exp2f.c: Likewise.
25945 * math/w_exp2l.c: Likewise.
25946 * math/w_j0.c: Likewise.
25947 * math/w_j0f.c: Likewise.
25948 * math/w_j0l.c: Likewise.
25949 * math/w_j1.c: Likewise.
25950 * math/w_j1f.c: Likewise.
25951 * math/w_j1l.c: Likewise.
25952 * math/w_jn.c: Likewise.
25953 * math/w_jnf.c: Likewise.
25954 * math/w_log.c: Likewise.
25955 * math/w_log10.c: Likewise.
25956 * math/w_log10f.c: Likewise.
25957 * math/w_log10l.c: Likewise.
25958 * math/w_log2.c: Likewise.
25959 * math/w_log2f.c: Likewise.
25960 * math/w_log2l.c: Likewise.
25961 * math/w_logf.c: Likewise.
25962 * math/w_logl.c: Likewise.
25963 * math/w_sqrt.c: Likewise.
25964 * math/w_sqrtf.c: Likewise.
25965 * math/w_sqrtl.c: Likewise.
25966 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25967 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25968 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25969 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25970 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25971
ebaf36eb
JM
259722012-02-19 Joseph Myers <joseph@codesourcery.com>
25973
25974 [BZ #9739]
25975 * manual/string.texi (strnlen): Use correct parameter name in
25976 equivalent expression.
25977
71c254a6
JM
259782012-02-19 Joseph Myers <joseph@codesourcery.com>
25979
25980 [BZ #11174]
25981 * manual/users.texi (seteuid): Consistently use neweuid for
25982 argument name.
25983
16d2c631
JM
259842012-02-19 Joseph Myers <joseph@codesourcery.com>
25985
25986 [BZ #13704]
25987 * manual/nss.texi (Services in the NSS configuration): Correct
25988 list of services in example configuration file.
25989
cd837b09
NB
259902012-02-19 Nick Bowler <nbowler@draconx.ca>
25991
25992 [BZ #11322]
25993 * manual/arith.texi: Remove statements about negative zero
25994 behaving identically to zero.
25995
02c4bbad
JM
259962012-02-18 Joseph Myers <joseph@codesourcery.com>
25997
25998 [BZ #5993]
25999 * manual/install.texi: Do not document upgrading from libc5.
26000
366842e7
JM
260012012-02-18 Joseph Myers <joseph@codesourcery.com>
26002
26003 [BZ #4596]
26004 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26005
dd54084d
DM
260062012-02-18 David S. Miller <davem@davemloft.net>
26007
26008 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26009 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26010 %o7 across the call.
26011 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26012 instead.
26013 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26014 SETUP_PIC_REG_LEAF.
26015 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26016 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26017 * sysdeps/sparc/crtn.S: Likewise.
26018
2bcc53a3
UD
260192012-02-17 Ulrich Drepper <drepper@gmail.com>
26020
26021 * aout/Makefile: Remove.
26022
09c093b5
RK
260232012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26024
26025 [BZ #13058]
26026 * manual/examples/argp-ex1.c (main): Format definition in GNU
26027 style.
26028 * manual/examples/argp-ex2.c (main): Likewise.
26029 * manual/examples/argp-ex3.c (main): Likewise.
26030 * manual/examples/argp-ex4.c (main): Likewise.
26031 * manual/examples/longopt.c (main): Use new-style prototype
26032 definition.
26033 * manual/examples/strncat.c (main): Specify return type and use
26034 (void) for arguments.
26035 * manual/examples/subopt.c (main): Use char **argv argument.
26036
2ee633a2
JM
260372012-02-17 Joseph Myers <joseph@codesourcery.com>
26038
26039 [BZ #5077]
26040 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26041 rounding modes.
26042
0520adde
FB
260432012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26044
26045 [BZ #6907]
26046 * manual/string.texi (strchr): Change when strchrnul is
26047 recommended.
26048
3f4081cd
DGM
260492012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26050
26051 [BZ #174]
26052 * manual/locale.texi (setlocale): Document LOCPATH.
26053
d1b10e78
JM
260542012-02-17 Joseph Myers <joseph@codesourcery.com>
26055
26056 [BZ #10210]
26057 * manual/process.texi (execle): Move @dots{} before last argument.
26058
79c6869c
PB
260592012-02-17 Paul Bolle <pebolle@tiscali.nl>
26060
26061 [BZ #12047]
26062 * manual/charset.texi (Generic Charset Conversion): Fix typo
26063 (LC_TYPE -> LC_CTYPE).
26064
cc6e48bc
NB
260652012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26066
26067 [BZ #5805]
26068 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26069 (scalbnf): Likewise.
26070 (scalbnl): Likewise.
26071 (scalbln): Likewise.
26072 (scalblnf): Likewise.
26073 (scalblnl): Likewise.
26074 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26075 (vwarnx): Likewise.
26076 (verr): Likewise.
26077 (verrx): Likewise.
26078 * manual/filesys.texi (telldir): Use braces around return type.
26079 * manual/llio.texi (mmap): Add space after comma.
26080 (mmap64): Likewise.
26081 * manual/math.texi (jn): Use @var{} on parameter names.
26082 (jnf): Likewise.
26083 (jnl): Likewise.
26084 (yn): Likewise.
26085 (ynf): Likewise.
26086 (ynl): Likewise.
26087 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26088 line.
26089 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26090 "...".
26091 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26092 (sched_get_priority_max): Likewise.
26093 * manual/signal.texi (sigvec): Add space after comma.
26094 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26095 names.
26096 (if_indextoname): Likewise.
26097 (if_freenameindex): Likewise.
26098 (sendto): Use ',' instead of '.' in prototype.
26099 * manual/startup.texi (syscall): Use @dots{} instead of literal
26100 "...".
26101 * manual/stdio.texi (__fpending): Separate initial words of
26102 paragraph from @deftypefun line.
26103 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26104 "...".
26105 (vsyslog): Use @var{} on parameter names.
26106 * manual/terminal.texi (stty): Use @var{} on parameter names.
26107 * manual/users.texi (getutmp): Use @var{} on parameter names.
26108 (getutmpx): Likewise.
26109
5b23062f
JM
261102012-02-17 Joseph Myers <joseph@codesourcery.com>
26111
26112 [BZ #6884]
26113 * manual/stdio.texi (fopen): Fix typos in description of
26114 ",ccs=STRING".
26115
8dee4833
AJ
261162012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26117
26118 [BZ #4026]
26119 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26120 get clock_id definition.
26121
9078ce93
TS
261222012-02-17 Thomas Schwinge <thomas@schwinge.name>
26123
26124 [BZ #4822]
26125 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26126 (madvise): Cast every argument to void on its own.
26127
3835c55f
JM
261282012-02-17 Joseph Myers <joseph@codesourcery.com>
26129
26130 [BZ #9902]
26131 * manual/startup.texi (Exit Status): Fix typo.
26132
35c47e37
JM
261332012-02-17 Joseph Myers <joseph@codesourcery.com>
26134
26135 [BZ #10140]
26136 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26137 * manual/examples/argp-ex2.c: Likewise.
26138 * manual/examples/argp-ex3.c: Likewise.
26139
e3b69ca7
RH
261402012-02-16 Richard Henderson <rth@redhat.com>
26141
26142 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26143 * sysdeps/s390/s390-32/initfini.c: Remove.
26144 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26145 * sysdeps/s390/s390-64/initfini.c: Remove.
26146
df83af67
KK
261472012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26148
26149 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26150 compiler output for sysdeps/generic/initfini.c.
26151 * sysdeps/sh/elf/initfini.c: Remove file.
26152
f63f3380
DM
261532012-02-16 David S. Miller <davem@davemloft.net>
26154
fb59b3a4
DM
26155 [BZ #11494]
26156 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26157
f63f3380
DM
26158 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26159 * sysdeps/sparc/crti.S: New file.
26160 * sysdeps/sparc/crtn.S: New file.
26161 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26162 * sysdeps/sparc/sparc64/Makefile: Likewise.
26163
df6a4a4a
MF
261642012-02-15 Mike Frysinger <vapier@gentoo.org>
26165
6dd8f3dc 26166 [BZ #3335]
df6a4a4a
MF
26167 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26168
1cac7236
RM
261692012-02-15 Roland McGrath <roland@hack.frob.com>
26170
d2c736f8
RM
26171 [BZ #4822]
26172 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26173
1cac7236
RM
26174 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26175 (write, read, close): Likewise.
26176 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26177
8e475601
JM
261782012-02-15 Joseph Myers <joseph@codesourcery.com>
26179
26180 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26181 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26182 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26183 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26184 <bits/signalfd.h>.
26185 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26187 bits/signalfd.h.
26188
ed656b40
MP
261892012-02-14 Marek Polacek <polacek@redhat.com>
26190
26191 * sysdeps/x86_64/crti.S: New file.
26192 * sysdeps/x86_64/crtn.S: New file.
26193 * sysdeps/x86_64/elf/initfini.c: Remove file.
26194
2a979d3a
JM
261952012-02-13 Joseph Myers <joseph@codesourcery.com>
26196
26197 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26198 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26199 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26200 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26201 <bits/inotify.h>.
26202 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26204 bits/inotify.h.
26205
2a418ac3
JM
262062012-02-13 Joseph Myers <joseph@codesourcery.com>
26207
26208 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26209 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26210 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26211 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26212 <bits/eventfd.h>.
26213 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26215 bits/eventfd.h.
26216
fb779be7
TS
262172012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26218
e19e83c5
RM
26219 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26220 __feraiseexcept instead of feraiseexcept.
7c35ffed 26221
fb779be7
TS
26222 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26223 nanosleep invocations.
26224 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26225 strings, and add error checking for a nanosleep invocations.
26226
59ba27a6
PE
262272012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26228
26229 Replace FSF snail mail address with URLs, as per GNU coding standards.
26230 Most of the snail mail addresses were wrong anyway, and omitting
26231 them makes the source code easier to maintain. Almost all of the
26232 changes are to license notices and to locale LC_IDENTIFICATION
26233 addresses, except for this one:
26234 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26235 not its snail mail address.
26236
57b957eb
RH
262372012-02-09 Richard Henderson <rth@twiddle.net>
26238
af850b1c
RH
26239 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26240 of kernel-features.h.
26241
57b957eb
RH
26242 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26243
6b73181a
MP
262442012-02-08 Marek Polacek <polacek@redhat.com>
26245
26246 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26247 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26248 * sysdeps/gnu/_G_config.h: Likewise.
26249 * sysdeps/generic/_G_config.h: Likewise.
26250
26ecc33a
AS
262512012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26252
6c6dbc63
AS
26253 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26254 tests.
26255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26256
e216c012
AS
26257 * sysdeps/powerpc/powerpc32/crti.S: New file.
26258 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26259 * sysdeps/powerpc/powerpc64/crti.S: New file.
26260 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26261
26ecc33a
AS
26262 * Makeconfig (have-initfini): Don't set.
26263 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26264 * configure.in (nopic_initfini): Don't substitute.
26265 * config.h.in (HAVE_INITFINI): Don't #undef.
26266 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26267 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26268
3add8e13
JM
262692012-02-08 Joseph Myers <joseph@codesourcery.com>
26270
26271 Support crti.S and crtn.S provided directly by architectures.
26272 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26273 [crti.S in sysdirs] (omit-deps): Likewise.
26274 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26275 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26276 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26277 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26278 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26279 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26280 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26281 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26282 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26283 compiler output for sysdeps/generic/initfini.c.
26284 * sysdeps/i386/elf/Makefile: Remove file.
26285 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26286
a22f12b4
MP
262872012-02-07 Marek Polacek <polacek@redhat.com>
26288
26289 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26290 * sysdeps/gnu/_G_config.h: Likewise.
26291 * sysdeps/mach/hurd/_G_config.h: Likewise.
26292
148cf100
MP
262932012-02-07 Marek Polacek <polacek@redhat.com>
26294
26295 * math/Makefile (tests): Add tst-CMPLX2.
26296 * math/tst-CMPLX2.c: New file.
26297
cfdc0dd7
AS
262982012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26299
84ba42c4
AS
26300 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26301
cfdc0dd7
AS
26302 * math/libm-test.inc (jn_test): Add missing L suffix.
26303
622c86f4
MP
263042012-02-06 Marek Polacek <polacek@redhat.com>
26305
26306 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26307 * sysdeps/i386/fpu/e_powf.S: Likewise.
26308 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26309 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26310 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26311 * sysdeps/i386/fpu/e_pow.S: Likewise.
26312 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26313 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26314 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26315 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26316 * sysdeps/i386/fpu/e_log2.S: Likewise.
26317 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26318 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26319 * sysdeps/i386/fpu/e_powl.S: Likewise.
26320 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26321 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26322 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26323 * sysdeps/i386/fpu/e_logl.S: Likewise.
26324 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26325 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26326 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26327 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26328 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26329 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26330 * sysdeps/i386/fpu/e_log.S: Likewise.
26331 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26332 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26333 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26334 * sysdeps/i386/fpu/e_logf.S: Likewise.
26335 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26336 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26337 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26338 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26339 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26340 * sysdeps/i386/fpu/e_log10.S: Likewise.
26341 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26342 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26343 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26344 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26345 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26346 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26347 * sysdeps/i386/asm-syntax.h: Likewise.
26348 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26349 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26350 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26351 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26352 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26353 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26354 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26355 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26356 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26357 * sysdeps/powerpc/sysdep.h: Likewise.
26358 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26359 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26360
d4a54ac6
JM
263612012-02-06 Joseph Myers <joseph@codesourcery.com>
26362
26363 [BZ #411]
26364 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26365
314054ea
JM
263662012-02-06 Joseph Myers <joseph@codesourcery.com>
26367
26368 * sysdeps/i386/sysdep.h: Include <features.h>.
26369 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26370 version.
26371
d8e0ca50
JM
263722012-02-05 Joseph Myers <joseph@codesourcery.com>
26373
26374 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26375 Define.
26376 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26377 LOAD_PIC_REG_STR.
26378
b1da7dd9
JM
263792012-02-03 Joseph Myers <joseph@codesourcery.com>
26380
26381 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26382 (SETUP_PIC_REG): Use GET_PC_THUNK.
26383 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26384 macro.
26385
9a1d9254
JM
263862012-02-03 Joseph Myers <joseph@codesourcery.com>
26387
26388 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26389 for non-PIC compilation.
26390 (SETUP_PIC_REG): Add .p2align directive.
26391 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26392 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26393 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26394 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26395 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26396 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26397 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26398 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26399 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26400 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26401 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26402 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26403 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26404 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26405 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26406 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26407 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26408 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26409 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26410 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26411 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26412 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26413 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26414 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26415 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26416 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26417 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26418 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26419 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26420 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26421 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26422 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26423 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26424 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26425 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26426 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26427 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26428 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26429 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26430 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26431 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26432
65dc3b75
JM
264332012-02-03 Joseph Myers <joseph@codesourcery.com>
26434
26435 * math/tst-CMPLX.c: Include <stdio.h>.
26436
d55bf177
JM
264372012-01-31 Joseph Myers <joseph@codesourcery.com>
26438
26439 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26440 float.
26441 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26442 * sysdeps/sparc/bits/mathdef.h: Likewise.
26443
69db4f8f
MP
264442012-01-31 Marek Polacek <polacek@redhat.com>
26445
26446 * libio/libio.h: Don't define _PARAMS.
26447 * locale/programs/config.h: Don't define PARAMS.
26448 * stdlib/strtol_l.c: Likewise.
26449 (__strtol_l): Remove PARAMS from the prototype.
26450
41b81892
UD
264512012-01-31 Ulrich Drepper <drepper@gmail.com>
26452
3b49edc0
UD
26453 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26454 names. Just use the correct names. Remove unnecessary wrapper
26455 functions.
26456 * malloc/arena.c: Likewise.
26457 * malloc/hooks.c: Likewise.
26458
41b81892
UD
26459 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26460 ARENA_TEST says not to. Simplify test for creation of a new arena.
26461 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26462
27a25b6e
UD
264632012-01-30 Ulrich Drepper <drepper@gmail.com>
26464
26465 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26466 into tail calls.
26467 (update_get_addr): New function.
26468 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26469 GET_ADDR_MODULE parameter.
26470
c8a89e7d
JM
264712012-01-30 Joseph Myers <joseph@codesourcery.com>
26472
26473 * crypt/cert.c: Remove __STDC__ conditionals.
26474 * crypt/crypt-entry.c: Likewise.
26475 * crypt/crypt_util.c: Likewise.
26476 * libio/filedoalloc.c: Likewise.
26477 * libio/fileops.c: Likewise.
26478 * libio/genops.c: Likewise.
26479 * libio/iofclose.c: Likewise.
26480 * libio/iofdopen.c: Likewise.
26481 * libio/iofopen.c: Likewise.
26482 * libio/iofopen64.c: Likewise.
26483 * libio/iogetdelim.c: Likewise.
26484 * libio/iopopen.c: Likewise.
26485 * libio/obprintf.c: Likewise.
26486 * libio/oldfileops.c: Likewise.
26487 * libio/oldiofclose.c: Likewise.
26488 * libio/oldiofdopen.c: Likewise.
26489 * libio/oldiofopen.c: Likewise.
26490 * libio/oldiopopen.c: Likewise.
26491 * libio/wfiledoalloc.c: Likewise.
26492 * libio/wgenops.c: Likewise.
26493 * locale/programs/xmalloc.c: Likewise.
26494 * misc/syslog.c: Likewise.
26495 * stdio-common/xbug.c: Likewise.
26496 * string/memchr.c: Likewise.
26497 * string/memcmp.c: Likewise.
26498 * string/memrchr.c: Likewise.
26499 * string/rawmemchr.c: Likewise.
26500 * sysdeps/posix/getcwd.c: Likewise.
26501 * time/strftime_l.c: Likewise.
26502
3b100462
JM
265032012-01-30 Joseph Myers <joseph@codesourcery.com>
26504
26505 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
26506 * config.make.in (config-cflags-sse2avx): Define.
26507 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26508 Fix typo.
26509
607998af
CM
265102012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26511
26512 * scripts/config.guess: Update from upstream config git repository.
26513 * scripts/config.sub: Likewise.
26514
3601428f
CM
265152012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26516
3ac8b282
CM
26517 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26518 (EM_NUM): Update.
26519 (R_TILEPRO_*, R_TILEGX_*): New macros.
26520
e034841e
CM
26521 * scripts/firstversions.awk: Fix bug in version range handling.
26522
540d7568
CM
26523 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26524
3601428f
CM
26525 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26526
463de862
CM
26527 * include/sys/epoll.h: New file.
26528 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26529 libc_hidden_def.
26530
73139a76
UD
265312012-01-28 Ulrich Drepper <drepper@gmail.com>
26532
96bc5b45
UD
26533 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26534 Avoid unnecessary __WORDSIZE == 64 test.
26535 (fmaxf): Use VEX format if possible.
26536 (fmax): Likewise.
26537 (fminf): Likewise.
26538 (fmin): Likewise.
26539
56f6f6a2
UD
26540 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26541 * math/math_private.h: Remove libc_fegetround* and
26542 libc_fesetround*.
26543 * sysdeps/i386/configure.in: Check for -msse2avx.
26544 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26545 also if SSE2AVX is defined.
26546 Remove libc_fegetround* and libc_fesetround*.
26547 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26548 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26549 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26550 of HAS_YMM_USABLE.
26551 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26552 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26553 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26554 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26555 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26556
73139a76
UD
26557 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26558
d73f93a4
AZ
265592012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26560
26561 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26562 size is not set.
26563 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26564
6ee65ed6
UD
265652012-01-27 Ulrich Drepper <drepper@gmail.com>
26566
26567 [BZ #13618]
26568 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26569 relocation.
26570 * Makeconfig (libm): Define.
26571 * elf/Makefile: Add rules to build and run tst-relsort1.
26572 * elf/tst-relsort1.c: New file.
26573 * elf/tst-relsort1mod1.c: New file.
26574 * elf/tst-relsort1mod2.c: New file.
26575
8db21882
JM
265762012-01-27 Joseph Myers <joseph@codesourcery.com>
26577
26578 * math/s_ldexp.c: Remove __STDC__ conditionals.
26579 * math/s_ldexpf.c: Likewise.
26580 * math/s_ldexpl.c: Likewise.
26581 * math/s_nextafter.c: Likewise.
26582 * math/s_nexttowardf.c: Likewise.
26583 * math/s_significand.c: Likewise.
26584 * math/s_significandf.c: Likewise.
26585 * math/s_significandl.c: Likewise.
26586 * math/w_jnl.c: Likewise.
26587 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26588 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26589 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26590 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26591 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26592 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26593 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26594 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26595 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26596 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26597 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26598 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26599 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26600 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26601 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26602 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26603 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26604 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26605 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26606 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26607 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26608 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26609 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26610 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26611 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26612 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26613 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26614 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26615 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26616 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26617 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26618 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26619 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26620 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26621 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26622 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26623 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26624 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26625 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26626 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26627 * sysdeps/ieee754/k_standard.c: Likewise.
26628 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26629 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26630 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26631 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26632 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26633 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26634 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26635 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26636 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26637 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26638 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26639 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26640 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26641 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26642 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26643 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26644 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26645 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26646 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26647 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26648 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26649 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26650 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26651 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26652 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26653 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26654 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26655 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26656 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26657 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26658 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26659 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26660 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26661 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26662 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26663 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26664 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26665 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26666 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26667 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26668 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26669 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26670 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26671 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26672 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26673 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26674 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26675 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26676 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26677 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26678 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26679 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26680 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26681 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26682 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26683 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26684 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26685 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26686 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26687 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26688 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26689 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26690 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26691 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26692 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26693 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26694 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26695 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26696 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26697 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26698 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26699 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26700 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26701 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26702 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26703 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26704 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26705 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26706 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26707 * sysdeps/ieee754/s_matherr.c: Likewise.
26708 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26709 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26710 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26711 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26712
965a54a4
JM
267132012-01-26 Joseph Myers <joseph@codesourcery.com>
26714
26715 * crypt/md5.h: Remove __STDC__ conditionals.
26716 * libio/libioP.h: Likewise.
26717 * locale/programs/config.h: Likewise.
26718 * sysdeps/generic/sysdep.h: Likewise.
26719 * sysdeps/i386/asm-syntax.h: Likewise.
26720 * sysdeps/s390/asm-syntax.h: Likewise.
26721 * sysdeps/unix/sysdep.h: Likewise.
26722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26724
7071ad79
JM
267252012-01-26 Joseph Myers <joseph@codesourcery.com>
26726
26727 * libio/libio.h: Remove __STDC__ conditionals.
26728 * malloc/obstack.h: Likewise.
26729 * math/complex.h: Likewise.
26730 * math/math.h: Likewise.
26731 * sysdeps/generic/_G_config.h: Likewise.
26732 * sysdeps/gnu/_G_config.h: Likewise.
26733 * sysdeps/mach/hurd/_G_config.h: Likewise.
26734 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26735 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26736 * sysdeps/sparc/bits/mathdef.h: Likewise.
26737
afc5ed09
UD
267382012-01-26 Ulrich Drepper <drepper@gmail.com>
26739
26740 [BZ #13583]
26741 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26742 Clean up HAS_* macros.
afc5ed09 26743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26744 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26745 possible.
26746 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26747 HAS_AVX.
26748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26749 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26750 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26751 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26752 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26753
bdb6de1d
JM
267542012-01-25 Joseph Myers <joseph@codesourcery.com>
26755
26756 * elf/tst-unique3.cc (gets): Remove declaration.
26757 * elf/tst-unique3lib.cc (gets): Likewise.
26758 * elf/tst-unique3lib2.cc (gets): Likewise.
26759 * elf/tst-unique4.cc (gets): Likewise.
26760
b15549e6
UD
267612012-01-24 Ulrich Drepper <drepper@gmail.com>
26762
26763 * include/stdio.h: Add C++ protection. Add gets declarations and
26764 definitions.
26765 * debug/tst-chk1.c: Don't declare gets here.
26766 * stdio-common/tst-gets.c: Likewise.
26767
a037381f
JM
267682012-01-24 Joseph Myers <joseph@codesourcery.com>
26769
26770 * posix/glob: Remove directory.
26771
f1d4aa75
JM
267722012-01-24 Joseph Myers <joseph@codesourcery.com>
26773
26774 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26775
81c0c964
PT
267762012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26777
26778 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26779 of the non-standard EPFNOSUPPORT.
26780
0ea698ae
ST
267812011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26782
26783 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26784 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26785 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26786
d220b117
UD
267872012-01-21 Ulrich Drepper <drepper@gmail.com>
26788
26789 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26790
3e1aa84e
UD
267912012-01-20 Ulrich Drepper <drepper@gmail.com>
26792
26793 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26794 transient errors.
26795 * nscd/grpcache.c (cache_addgr): Likewise.
26796 * nscd/hstcache.c (cache_addhst): Likewise.
26797 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26798 * nscd/pwdcache.c (cache_addpw): Likewise.
26799 * nscd/servicescache.c (cache_addserv): Likewise.
26800
400aa020
UD
268012012-01-16 Ulrich Drepper <drepper@gmail.com>
26802
d77e7869
UD
26803 * malloc/malloc.c: Various cleanups.
26804 * malloc/hooks.c: Likewise.
26805
400aa020
UD
26806 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26807 * stdlib/bug-fmtmsg1.c: New file.
26808
26809 * stdlib/fmtmsg.c (init): Add missing unlock.
26810 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26811
e0a309cf
MP
268122012-01-12 Marek Polacek <polacek@redhat.com>
26813
26814 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26815 and _GNU_SOURCE.
26816
929d11c7
WS
268172012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26818
26819 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26820 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26821 macro to ensure uniqueness of label name.
26822 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26823 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26824
41d0e869
UD
268252012-01-11 Ulrich Drepper <drepper@gmail.com>
26826
0cc5ed3b
UD
26827 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26828
41d0e869
UD
26829 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26830 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26831 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26832 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26833
a47a831a
UD
268342012-01-10 Ulrich Drepper <drepper@gmail.com>
26835
daa891c0
UD
26836 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26837
26838 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26839 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26840 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26841
e58ef0f2
UD
26842 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26843
a47a831a 26844 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26845 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26846 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26847 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26848
26849 * math/bits/math-finite.h: Add ldexp support.
26850
a0bfc9c7
MP
268512012-01-10 Marek Polacek <polacek@redhat.com>
26852
26853 * locale/programs/localedef.h (show_archive_content): Add noreturn
26854 attribute.
26855
d6e97a1d
UD
268562012-01-09 Ulrich Drepper <drepper@gmail.com>
26857
26858 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26859
d5835c26
UD
268602012-01-08 Ulrich Drepper <drepper@gmail.com>
26861
e5f484c6
UD
26862 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26863
d5835c26
UD
26864 * io/Makefile (headers): Add bits/poll2.h.
26865
d1f741e9
WS
268662011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26867
26868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26869 typo #include statement.
26870
ec09c1c4
UD
268712012-01-08 Ulrich Drepper <drepper@gmail.com>
26872
26873 * include/sys/cdefs.h: Define __attribute_alloc_size.
26874 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26875 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26876 * elf/pldd.c: Likewise.
26877 * iconv/iconv_charmap.c: Likewise.
26878 * iconv/iconvconfig.c: Likewise.
26879 * iconv/strtab.c: Likewise.
26880 * locale/programs/locale.c: Likewise.
26881 * locale/programs/localedef.h: Likewise.
26882 * locale/programs/simple-hash.c: Likewise.
26883 * nscd/nscd.h: Likewise.
26884 * nss/makedb.c: Likewise.
26885 * sysdeps/generic/ldconfig.h: Likewise.
26886 * locale/programs/localedef.c: Remove xmalloc prototype.
26887 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26888
20b38e03
PP
268892012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26890
26891 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26892 appropriate.
26893
a0da5fe1
UD
268942012-01-08 Ulrich Drepper <drepper@gmail.com>
26895
1d5a644a 26896 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26897 * math/tst-CMPLX.c: New file.
1d5a644a 26898
8784a6db
UD
26899 * math/complex.h (CMPLXL): Fix typo.
26900
d9a216c0
UD
26901 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26902 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26903 GLIBC_2.16.
26904 * debug/tst-chk1.c: Add poll and ppoll tests.
26905 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26906 * include/sys/poll.h: Add hidden proto for ppoll.
26907 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26908 * sysdeps/mach/hurd/ppoll.c: Likewise.
26909 * io/ppoll.c: Likewise.
26910 * debug/poll_chk.c: New file.
26911 * debug/ppoll_chk.c: New file.
26912 * include/bits/poll2.h: New file.
26913 * io/bits/poll2.h: New file.
26914
ac097f5c
UD
26915 [BZ #1350]
26916 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26917
2119dcfa
UD
26918 * configure.in: static is always set to yes. Remove.
26919 * config.make.in: Don't set build-static.
26920 * Makeconfig: Remove use of build-static.
26921 * dlfcn/Makefile: Likewise.
26922 * elf/Makefile: Likewise.
26923 * math/Makefile: Likewise.
26924 * misc/Makefile: Likewise.
26925 * nptl/Makefile: Likewise.
26926 * sysdeps/mach/hurd/Makefile: Likewise.
26927
121766a9
UD
26928 * configure.in: PWD_P is not used anymore.
26929 * config.make.in: Remove PWD_P entry.
26930
51a1d39c 26931 * configure.in: Remove last remnants of RANLIB.
8720d066 26932 No need to check for signed size_t anymore.
215f4bdc
UD
26933 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26934 and IA-64.
3857022a 26935 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26936 * aclocal.m4: Likewise.
26937
d3ed7225
UD
26938 * wcsmbs/mbrtoc16.c: Implement using towc function.
26939 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26940 * wcsmbs/wcsmbsload.c: Likewise.
26941 * iconv/gconv_simple.c: Likewise.
26942 * iconv/gconv_int.h: Likewise.
26943 * iconv/gconv_builtin.h: Likewise.
26944 * iconv/iconv_prog.c: Remove CHAR16 handling.
26945
26946 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26947
26948 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26949
a0da5fe1
UD
26950 * configure.in: Remove --with-elf and --enable-bounded options.
26951 Dont set base_machine for ia64. More non-ELF conditions removed.
26952 Remove testing and setting of leading underscore information.
26953 * config.make.in (build-bounded): Set to no.
26954 * config.h.in: Remove NO_UNDERSCORES entry.
26955 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26956 them.
26957 * csu/start.c: Remove !NO_UNDERSCORE code.
26958 * locale/localeinfo.h: Likewise.
26959 * sysdeps/generic/machine-gmon.h: Likewise.
26960 * sysdeps/generic/sysdep.h: Likewise.
26961 * sysdeps/i386/sysdep.h: Likewise.
26962 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26963 * sysdeps/mach/sysdep.h: Likewise.
26964 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26965 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26966 * sysdeps/sh/sysdep.h: Likewise.
26967 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26968 * sysdeps/unix/i386/sysdep.S: Likewise.
26969 * sysdeps/unix/sparc/start.c: Likewise.
26970 * sysdeps/unix/sparc/sysdep.S: Likewise.
26971 * sysdeps/unix/sparc/sysdep.h: Likewise.
26972 * sysdeps/unix/start.c: Likewise.
26973 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26974 * sysdeps/x86_64/sysdep.h: Likewise.
26975
df78418a
UD
269762012-01-07 Ulrich Drepper <drepper@gmail.com>
26977
a784e502
UD
26978 [BZ #13553]
26979 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26980 for non-gcc.
26981 * argp/argp-fmtstream.h: Use const instead __const.
26982 * argp/argp.h: Likewise.
26983 * assert/assert.h: Likewise.
26984 * bits/fenv.h: Likewise.
26985 * bits/sched.h: Likewise.
26986 * bits/sigset.h: Likewise.
26987 * bits/sigthread.h: Likewise.
26988 * catgets/nl_types.h: Likewise.
26989 * conform/data/pthread.h-data: Likewise.
26990 * crypt/crypt-private.h: Likewise.
26991 * crypt/crypt.h: Likewise.
26992 * crypt/crypt_util.c: Likewise.
26993 * ctype/ctype.h: Likewise.
26994 * debug/execinfo.h: Likewise.
26995 * debug/mbsnrtowcs_chk.c: Likewise.
26996 * debug/mbsrtowcs_chk.c: Likewise.
26997 * debug/wcsnrtombs_chk.c: Likewise.
26998 * debug/wcsrtombs_chk.c: Likewise.
26999 * debug/wcstombs_chk.c: Likewise.
27000 * dirent/dirent.h: Likewise.
27001 * dlfcn/dlfcn.h: Likewise.
27002 * elf/neededtest4.c: Likewise.
27003 * grp/grp.h: Likewise.
27004 * gshadow/gshadow.h: Likewise.
27005 * iconv/gconv.h: Likewise.
27006 * iconv/gconv_int.h: Likewise.
27007 * iconv/gconv_simple.c: Likewise.
27008 * iconv/iconv.h: Likewise.
27009 * iconv/loop.c: Likewise.
27010 * iconv/skeleton.c: Likewise.
27011 * include/aio.h: Likewise.
27012 * include/aliases.h: Likewise.
27013 * include/argz.h: Likewise.
27014 * include/arpa/inet.h: Likewise.
27015 * include/assert.h: Likewise.
27016 * include/dirent.h: Likewise.
27017 * include/dlfcn.h: Likewise.
27018 * include/execinfo.h: Likewise.
27019 * include/fcntl.h: Likewise.
27020 * include/fenv.h: Likewise.
27021 * include/glob.h: Likewise.
27022 * include/grp.h: Likewise.
27023 * include/libintl.h: Likewise.
27024 * include/mntent.h: Likewise.
27025 * include/netdb.h: Likewise.
27026 * include/pwd.h: Likewise.
27027 * include/rpc/netdb.h: Likewise.
27028 * include/sched.h: Likewise.
27029 * include/search.h: Likewise.
27030 * include/shadow.h: Likewise.
27031 * include/signal.h: Likewise.
27032 * include/stdio.h: Likewise.
27033 * include/stdlib.h: Likewise.
27034 * include/string.h: Likewise.
27035 * include/sys/socket.h: Likewise.
27036 * include/sys/stat.h: Likewise.
27037 * include/sys/statfs.h: Likewise.
27038 * include/sys/statvfs.h: Likewise.
27039 * include/sys/syslog.h: Likewise.
27040 * include/sys/time.h: Likewise.
27041 * include/sys/uio.h: Likewise.
27042 * include/time.h: Likewise.
27043 * include/unistd.h: Likewise.
27044 * include/utmp.h: Likewise.
27045 * include/wchar.h: Likewise.
27046 * include/wctype.h: Likewise.
27047 * inet/aliases.h: Likewise.
27048 * inet/arpa/inet.h: Likewise.
27049 * inet/netinet/ether.h: Likewise.
27050 * inet/netinet/in.h: Likewise.
27051 * intl/libintl.h: Likewise.
27052 * io/bits/fcntl2.h: Likewise.
27053 * io/fcntl.h: Likewise.
27054 * io/ftw.h: Likewise.
27055 * io/sys/poll.h: Likewise.
27056 * io/sys/stat.h: Likewise.
27057 * io/sys/statfs.h: Likewise.
27058 * io/sys/statvfs.h: Likewise.
27059 * io/utime.h: Likewise.
27060 * libio/bits/stdio.h: Likewise.
27061 * libio/bits/stdio2.h: Likewise.
27062 * libio/libio.h: Likewise.
27063 * libio/libioP.h: Likewise.
27064 * libio/stdio.h: Likewise.
27065 * locale/lc-ctype.c: Likewise.
27066 * locale/locale.h: Likewise.
27067 * login/utmp.h: Likewise.
27068 * malloc/arena.c: Likewise.
27069 * malloc/malloc.c: Likewise.
27070 * malloc/malloc.h: Likewise.
27071 * malloc/mcheck.c: Likewise.
27072 * malloc/mtrace.c: Likewise.
27073 * math/bits/mathcalls.h: Likewise.
27074 * math/fenv.h: Likewise.
27075 * math/math_private.h: Likewise.
27076 * misc/bits/error.h: Likewise.
27077 * misc/bits/syslog.h: Likewise.
27078 * misc/err.h: Likewise.
27079 * misc/error.h: Likewise.
27080 * misc/fstab.h: Likewise.
27081 * misc/mntent.h: Likewise.
27082 * misc/regexp.h: Likewise.
27083 * misc/search.h: Likewise.
27084 * misc/sgtty.h: Likewise.
27085 * misc/sys/mman.h: Likewise.
27086 * misc/sys/syslog.h: Likewise.
27087 * misc/sys/uio.h: Likewise.
27088 * misc/sys/xattr.h: Likewise.
27089 * misc/ttyent.h: Likewise.
27090 * nis/rpcsvc/ypclnt.h: Likewise.
27091 * nss/nss.h: Likewise.
27092 * posix/bits/unistd.h: Likewise.
27093 * posix/fnmatch.h: Likewise.
27094 * posix/glob.h: Likewise.
27095 * posix/sched.h: Likewise.
27096 * posix/spawn.h: Likewise.
27097 * posix/sys/wait.h: Likewise.
27098 * posix/unistd.h: Likewise.
27099 * posix/wordexp.h: Likewise.
27100 * pwd/pwd.h: Likewise.
27101 * resolv/netdb.h: Likewise.
27102 * resource/sys/resource.h: Likewise.
27103 * rt/aio.h: Likewise.
27104 * rt/bits/mqueue2.h: Likewise.
27105 * rt/mqueue.h: Likewise.
27106 * shadow/shadow.h: Likewise.
27107 * signal/signal.h: Likewise.
27108 * socket/send.c: Likewise.
27109 * socket/sendto.c: Likewise.
27110 * socket/sys/socket.h: Likewise.
27111 * stdio-common/printf.h: Likewise.
27112 * stdlib/bits/stdlib.h: Likewise.
27113 * stdlib/fmtmsg.h: Likewise.
27114 * stdlib/monetary.h: Likewise.
27115 * stdlib/stdlib.h: Likewise.
27116 * stdlib/ucontext.h: Likewise.
27117 * streams/stropts.h: Likewise.
27118 * string/argz.h: Likewise.
27119 * string/bits/string2.h: Likewise.
27120 * string/string.h: Likewise.
27121 * string/strings.h: Likewise.
27122 * sunrpc/rpc/auth.h: Likewise.
27123 * sunrpc/rpc/auth_des.h: Likewise.
27124 * sunrpc/rpc/clnt.h: Likewise.
27125 * sunrpc/rpc/netdb.h: Likewise.
27126 * sunrpc/rpc/pmap_clnt.h: Likewise.
27127 * sunrpc/rpc/xdr.h: Likewise.
27128 * sysdeps/generic/inttypes.h: Likewise.
27129 * sysdeps/generic/net/if.h: Likewise.
27130 * sysdeps/generic/sys/swap.h: Likewise.
27131 * sysdeps/gnu/net/if.h: Likewise.
27132 * sysdeps/gnu/utmpx.h: Likewise.
27133 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27134 * sysdeps/i386/i486/bits/string.h: Likewise.
27135 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27136 * sysdeps/s390/bits/string.h: Likewise.
27137 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27138 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27139 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27140 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27141 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27142 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27143 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27144 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27145 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27146 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27147 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27148 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27149 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27150 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27151 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27152 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27153 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27154 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27155 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27156 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27157 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27158 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27159 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27160 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27161 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27162 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27163 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27164 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27165 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27166 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27167 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27168 * sysvipc/sys/ipc.h: Likewise.
27169 * sysvipc/sys/msg.h: Likewise.
27170 * sysvipc/sys/sem.h: Likewise.
27171 * sysvipc/sys/shm.h: Likewise.
27172 * termios/termios.h: Likewise.
27173 * time/sys/time.h: Likewise.
27174 * time/time.h: Likewise.
27175 * wcsmbs/bits/wchar2.h: Likewise.
27176 * wcsmbs/uchar.h: Likewise.
27177 * wcsmbs/wchar.h: Likewise.
27178 * wctype/wctype.h: Likewise.
27179
0269750c
UD
27180 [BZ #13551]
27181 * Makeconfig: Remove all but ELF support including AIX support.
27182 * Makerules: Likewise.
27183 * config.h.in: Likewise.
27184 * config.make.in: Likewise.
27185 * configure: Likewise.
27186 * configure.in: Likewise.
27187 * csu/Makefile: Likewise.
27188 * csu/version.c: Likewise.
27189 * debug/Makefile: Likewise.
27190 * dlfcn/Makefile: Likewise.
27191 * elf/Makefile: Likewise.
27192 * extra-lib.mk: Likewise.
27193 * iconv/Makefile: Likewise.
27194 * include/libc-symbols.h: Likewise.
27195 * include/shlib-compat.h: Likewise.
27196 * resolv/Makefile: Likewise.
27197 * resolv/res_libc.c: Likewise.
27198 * rt/Makefile: Likewise.
27199 * sysdeps/i386/asm-syntax.h: Likewise.
27200 * sysdeps/i386/sysdep.h: Likewise.
27201 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27202 * sysdeps/mach/sysdep.h: Likewise.
27203 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27204 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27205 * sysdeps/s390/asm-syntax.h: Likewise.
27206 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27207 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27208 * sysdeps/sh/sysdep.h: Likewise.
27209 * sysdeps/unix/sparc/sysdep.h: Likewise.
27210 * sysdeps/wordsize-32/divdi3.c: Likewise.
27211 * sysdeps/x86_64/sysdep.h: Likewise.
27212
00bbd29b
UD
27213 * argp/Versions: Remove _argp_unlock_xxx.
27214
27215 [BZ #13559]
27216 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27217 * abilist/libBrokenLocale.abilist: Likewise.
27218 * abilist/libanl.abilist: Likewise.
27219 * abilist/libc.abilist: Likewise.
27220 * abilist/libcrypt.abilist: Likewise.
27221 * abilist/libdl.abilist: Likewise.
27222 * abilist/libm.abilist: Likewise.
27223 * abilist/libnsl.abilist: Likewise.
27224 * abilist/libpthread.abilist: Likewise.
27225 * abilist/libresolv.abilist: Likewise.
27226 * abilist/librt.abilist: Likewise.
27227 * abilist/libthread_db.abilist: Likewise.
27228 * abilist/libutil.abilist: Likewise.
27229 * abilist/libnss_db.abilist: New file.
27230
27231 * scripts/abilist.awk: Add support for indirect functions.
27232
a2693a0e
UD
27233 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27234
3f05895f
UD
27235 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27236
ecb6fb48
UD
27237 * shlib-versions: Remove entries for ports architectures.
27238
664f8cb9
UD
27239 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27240 files in ports.
27241 * elf/stackguard-macros.h: Remove support for IA-64.
27242 * elf/tst-auditmod1.c: Likewise.
27243 * sysdeps/generic/ldsodefs.h: Likewise.
27244
7ae81d88
UD
27245 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27246 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27247 configure files.
27248
bdeba135
UD
27249 [BZ #13552]
27250 * configure.in: Remove --enable-omitfp support.
27251 * FAQ.in: Adjust.
27252 * config.make.in: Likewise.
27253 * Makeconfig: Likewise.
27254 * manual/install.texi: Likewise.
27255
d75a0a62
UD
27256 In case anyone cares, the IA-64 architecture could move to ports.
27257 * sysdeps/ia64/*: Removed.
27258 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 27259 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 27260
dcc9756b
UD
27261 [BZ #13555]
27262 * configure.in: Remove entries for unsupported architectures.
27263
d3761ebc 27264 [BZ #13533]
9954432e
UD
27265 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27266 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27267 routines.
27268 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27269 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27270 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27271 fall back to using wcrtomb.
27272 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27273 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27274 renaming.
27275 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27276 * wcsmbs/tst-c16c32-1.c: New file.
27277
27278 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27279 local variable.
27280
c3a87236
UD
27281 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27282
28926a1b
UD
27283 * elf/tst-unique3.cc: Add explicit declaration of gets.
27284 * elf/tst-unique3lib.cc: Likewise.
27285 * elf/tst-unique3lib2.cc: Likewise.
27286 * elf/tst-unique4.cc: Likewise.
27287
df78418a
UD
27288 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27289
8ecd6b2a
JM
272902012-01-06 Joseph Myers <joseph@codesourcery.com>
27291
27292 [BZ #13566]
27293 * assert/assert.h (static_assert): Don't define for C++.
27294 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27295 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27296
9f115170
UD
272972012-01-03 Ulrich Drepper <drepper@gmail.com>
27298
5e0d0300
UD
27299 * iconv/loop.c (single loop): Fix assertion in storing of
27300 remaining bytes.
27301
9f115170
UD
27302 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27303
81fb02b0
UD
273042012-01-01 Ulrich Drepper <drepper@gmail.com>
27305
27306 * posix/getconf.c: Update copyright year.
27307 * nss/getent.c: Likewise.
a316c1f6 27308 * nss/makedb.c: Likewise.
81fb02b0
UD
27309 * iconv/iconvconfig.c: Likewise.
27310 * iconv/iconv_prog.c: Likewise.
27311 * elf/ldconfig.c: Likewise.
a316c1f6
UD
27312 * elf/pldd.c: Likewise.
27313 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
27314 * catgets/gencat.c: Likewise.
27315 * csu/version.c: Likewise.
27316 * elf/ldd.bash.in: Likewise.
27317 * elf/sprof.c (print_version): Likewise.
27318 * locale/programs/locale.c: Likewise.
27319 * locale/programs/localedef.c: Likewise.
a316c1f6 27320 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
27321 * nscd/nscd.c (print_version): Likewise.
27322 * debug/xtrace.sh: Likewise.
27323 * malloc/memusage.sh: Likewise.
27324 * malloc/mtrace.pl: Likewise.
27325 * debug/catchsegv.sh: Likewise.
27326
2ba92745
JJ
273272011-12-30 Jakub Jelinek <jakub@redhat.com>
27328
27329 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27330 pure attribute.
27331
dadebdae
UD
273322011-12-24 Ulrich Drepper <drepper@gmail.com>
27333
d3761ebc 27334 [BZ #13533]
db6af3eb
UD
27335 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27336 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27337 transformations.
27338 * iconv/gconv_int.h: Likewise.
27339 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27340 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27341 from libc for GLIBC_2.16.
27342 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27343 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27344 * wcsmbs/uchar.h: Really define mbstate_t.
27345 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27346 * wcsmbs/c16rtomb.c: New file.
27347 * wcsmbs/mbrtoc16.c: New file.
27348 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27349 for C/POSIX locale.
27350 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27351 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27352
dadebdae
UD
27353 * wcsmbs/wchar.h: Add missing __restrict.
27354
67371b56
UD
273552011-12-23 Ulrich Drepper <drepper@gmail.com>
27356
74033a25
UD
27357 [BZ #13532]
27358 * time/Makefile (routines): Add timespec_get.
27359 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27360 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27361 timespec for ISO C11.
27362 * time/timespec_get.c: New file.
27363 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27364 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27365
380d7e87
UD
27366 [BZ #13531]
27367 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27368 * stdlib/stdlib.h: Declare aligned_alloc.
27369 * Versions.def: Add GLIBC_2.16 for libc.
27370 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27371
4e9e7a35
UD
27372 [BZ 13527]
27373 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27374 ISO C11.
27375
380d7e87 27376 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
27377 code.
27378
03a71829
UD
27379 [BZ #13528]
27380 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27381
839e283e
UD
27382 [BZ #13529]
27383 * assert/assert.h (static_assert): Define.
27384
ce5294e2 27385 * version.h: Update for 2.16 development version.
90fa7312 27386
8d44e150 27387 [BZ #13526]
d7809905
UD
27388 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27389 _ISOC11_SOURCE.
27390
c0da14cd
UD
27391 * version.h (RELEASE): Bump for 2.15 release.
27392 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27393
530a3249
MP
27394 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27395 Patch by Marek Polacek <mpolacek@redhat.com>.
27396
67371b56
UD
27397 * bits/byteswap.h: Protect long long constants with __extension__.
27398 * sysdeps/i386/bits/byteswap.h: Likewise.
27399 * sysdeps/ia64/bits/byteswap.h: Likewise.
27400 * sysdeps/s390/bits/byteswap.h: Likewise.
27401 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27402
15db4de1
LD
274032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27404
27405 [BZ #13540]
bbe315ea
LD
27406 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27407 destination buffer.
15db4de1
LD
27408 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27409
2b2596b1
MP
274102011-12-23 Marek Polacek <polacek@redhat.com>
27411
27412 * elf/dl-addr.c (determine_info): Add inline keyword.
27413 * elf/tst-auditmod4b.c (check_avx): Likewise.
27414 * elf/tst-auditmod6b.c (check_avx): Likewise.
27415 * elf/tst-auditmod6c.c (check_avx): Likewise.
27416 * elf/tst-auditmod7b.c (check_avx): Likewise.
27417
70c6c246
UD
274182011-12-23 Ulrich Drepper <drepper@gmail.com>
27419
27420 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27421 !__SSE_MATH__.
27422
c044cf14
LD
274232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27424
15db4de1 27425 [BZ #13540]
c044cf14
LD
27426 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27427 processing for last bytes.
27428
6b13d9d9
BH
274292011-08-06 Bruno Haible <bruno@clisp.org>
27430
d455f537
BH
27431 [BZ #13061]
27432 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27433 U+0385, not to U+1FEE.
27434
6b13d9d9
BH
27435 [BZ #13062]
27436 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27437 entry for U+00A5 U+0301.
27438
db910efd
UD
274392011-12-22 Ulrich Drepper <drepper@gmail.com>
27440
27deeafc
UD
27441 [BZ #13166]
27442 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27443 buffer for the output is too small.
27444
aed9d171
UD
27445 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27446 optimization.
27447
db910efd
UD
27448 [BZ #13185]
27449 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27450 SSE flags if possible.
27451
2bd779ae
LD
274522011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27453
e7f9dac3 27454 [BZ #13540]
2bd779ae
LD
27455 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27456 processing for last bytes.
27457
154bfc16
JM
274582011-12-22 Joseph Myers <joseph@codesourcery.com>
27459
27460 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27461 (syscall-list-default-options, syscall-list-default-condition)
27462 (syscall-list-includes): Define.
27463 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27464 list of ABIs and options and #if conditions for each ABI. Do not
27465 handle common syscalls between ABIs specially.
27466 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27467 Remove.
27468 (syscall-list-variants, syscall-list-32bit-options)
27469 (syscall-list-32bit-condition, syscall-list-64bit-options)
27470 (syscall-list-64bit-condition): Define.
27471 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27472 (syscall-list-variants, syscall-list-32bit-options)
27473 (syscall-list-32bit-condition, syscall-list-64bit-options)
27474 (syscall-list-64bit-condition): Define.
27475 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27476 Remove.
27477 (syscall-list-variants, syscall-list-32bit-options)
27478 (syscall-list-32bit-condition, syscall-list-64bit-options)
27479 (syscall-list-64bit-condition): Define.
27480 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27481 Remove.
27482 (syscall-list-variants, syscall-list-32bit-options)
27483 (syscall-list-32bit-condition, syscall-list-64bit-options)
27484 (syscall-list-64bit-condition): Define.
27485
21eaf3a5
UD
274862011-12-22 Ulrich Drepper <drepper@gmail.com>
27487
16c6f992
UD
27488 * locale/iso-639.def: Add brx entry.
27489
41043168
UD
27490 [BZ #13328]
27491 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27492 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27493
21eaf3a5
UD
27494 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27495 __feraiseexcept_renamed.
27496
e3a851a2
UD
274972011-12-21 Ulrich Drepper <drepper@gmail.com>
27498
4920765e
UD
27499 [BZ #13538]
27500 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27501 EPOLLET with unsigned values.
27502 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27503 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27504
e3a851a2
UD
27505 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27506 to large cancellation.
27507 * math/s_cacoshf.c: Likewise.
27508 * math/s_cacoshl.c: Likewise.
27509
b27e24b8
RK
275102011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27511
27512 [BZ #13305]
aebefeee 27513 [BZ #12786]
b27e24b8
RK
27514 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27515 * math/s_cacoshf.c: Likewise.
27516 * math/s_cacoshl.c: Likewise.
27517
ee190f67
UD
275182011-12-21 Ulrich Drepper <drepper@gmail.com>
27519
27520 [BZ #13439]
27521 * iconv/gconv.h: Define __GCONV_SWAP.
27522 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27523 * iconvdata/utf-16.c: Likewise.
27524 * iconvdata/utf-32.c: Likewise.
27525
707f25df
AS
275262011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27527
27528 [BZ #13524]
27529 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27530 numerator after shifting it by one limb.
27531
d2daaa1e
RÁE
275322011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27533
27534 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27535 under [__USE_EXTERN_INLINES].
27536
a4647e72
UD
275372011-12-17 Ulrich Drepper <drepper@gmail.com>
27538
27539 [BZ #13446]
27540 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27541
f0b264f1
AZ
275422011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27543
27544 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27545 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27546 optimized code.
27547 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27548 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27549 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27550 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27551 for strncasecmp/strncasecmp_l compilation.
27552 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27553 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27554
8ef4f244
MP
275552011-12-08 Marek Polacek <mpolacek@redhat.com>
27556
27557 [BZ #13484]
27558 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27559 of __asm__.
27560
97ac2654
UD
275612011-12-17 Ulrich Drepper <drepper@gmail.com>
27562
27563 [BZ #13506]
27564 * time/tzfile.c (__tzfile_read): Check values from file header.
27565
91d2a845
WS
275662011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27567
27568 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27569 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27570 * powerpc/powerpc32/dl-start.S: Likewise.
27571 * powerpc/powerpc32/elf/start.S: Likewise.
27572 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27573 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27574 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27575 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27576 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27577 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27578 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27579 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27580 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27581 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27582 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27583 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27584 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27585 * powerpc/powerpc32/memset.S: Likewise.
27586 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27587 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27588 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27589 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27590 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27591 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27592 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27593 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27594 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27595 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27596 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27597 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27598 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27599
a1267ba1
AZ
276002011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27601
27602 * math/libm-test.inc: Added more nearbyint tests.
27603 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27604 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27605 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27606 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27607
ad8ac1bd
RL
276082011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27609
27610 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27611 FD_CLOEXEC.
27612
1d3e4b61
UD
276132011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27614
27615 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27616 Add wcscpy-ssse3 wcscpy-c.
27617 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27618 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27619 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27620 * sysdeps/x86_64/wcschr.S: New file.
27621 * sysdeps/x86_64/wcsrchr.S: New file.
27622 * string/test-strcmp.c: Remove checking of wcscmp function for
27623 wrong alignments.
27624 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27625 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27626 wcsrchr-sse2 wcsrchr-c.
27627 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27628 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27629 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27630 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27631 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27632 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27633 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27634 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27635 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27636 * wcsmbc/wcschr.c (WCSCHR): New macro.
27637
5b330a2d
UD
276382011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27639
27640 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27641 * wcsmbs/test-wcsrchr.c: New file.
27642 * string/test-strrchr.c: Add wcsrchr support.
27643 (WIDE): New macro.
27644 * wcsmbs/test-wcscpy.c: New file.
27645 * string/test-strcpy.c: Add wcscpy support.
27646 (WIDE): New macro.
26428b7c 27647
f039c043
UD
276482011-12-10 Ulrich Drepper <drepper@gmail.com>
27649
27650 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27651 the inner loop.
27652
850fb039
AS
276532011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27654
27655 [BZ #13472]
27656 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27657
4efbd5cb
UD
276582011-12-04 Ulrich Drepper <drepper@gmail.com>
27659
52ff5dd0 27660 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27661 Minor optimizations.
52ff5dd0 27662
4efbd5cb
UD
27663 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27664 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27665 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27666
8a426e12
UD
276672011-12-03 Ulrich Drepper <drepper@gmail.com>
27668
aff2453d
UD
27669 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27670 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27671 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27672 for gcc to avoid warnings.
27673 * inet/Makefile (tests): Add tst-checks.
27674 * inet/tst-checks.c: New file.
27675
27676 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27677 warning.
27678
27679 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27680 __wmemcmp_sse2.
27681
27682 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27683 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27684
8a426e12
UD
27685 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27686
9bea3473
UD
276872011-12-02 Ulrich Drepper <drepper@gmail.com>
27688
3a965496
UD
27689 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27690 problem.
27691
9bea3473
UD
27692 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27693
f101631b
UD
276942011-11-29 Joseph Myers <joseph@codesourcery.com>
27695
27696 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27697 conditional on GCC version.
27698 (__arch_compare_and_exchange_val_8_acq)
27699 (__arch_compare_and_exchange_val_16_acq)
27700 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27701 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27702 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27703
a98275aa
UD
277042011-12-02 Joseph Myers <joseph@codesourcery.com>
27705
27706 * sysdeps/sh/backtrace.c: New file.
27707
d4cc29a2
AS
277082011-12-02 Andreas Schwab <schwab@redhat.com>
27709
27710 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27711 parenthesis.
27712
6257af2d
AS
277132011-12-01 Andreas Schwab <schwab@redhat.com>
27714
27715 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27716 falling back to utime.
27717
b5f44c1a
AS
277182011-11-30 Andreas Schwab <schwab@redhat.com>
27719
27720 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27721 expectations for float.
27722
f3a6cc0a
AS
277232011-11-29 Andreas Schwab <schwab@redhat.com>
27724
27725 * locale/weight.h (findidx): Add parameter len.
27726 * locale/weightwc.h (findidx): Likewise.
27727 * posix/fnmatch_loop.c (FCT): Adjust caller.
27728 * posix/regcomp.c (build_equiv_class): Likewise.
27729 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27730 * posix/regexec.c (check_node_accept_bytes): Likewise.
27731 * string/strcoll_l.c (STRCOLL): Likewise.
27732 * string/strxfrm_l.c (STRXFRM): Likewise.
27733
9d65ea3a
UD
277342011-11-17 Ulrich Drepper <drepper@gmail.com>
27735
27736 * Makefile.in: Remove CVSOPT handling.
27737 * configure.in: Remove use of AC_REVISION.
27738 * iconvdata/Makefile (distribute): No need to filter out CVS.
27739 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27740 handling.
27741
5583a086
AS
277422011-11-16 Andreas Schwab <schwab@redhat.com>
27743
27744 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27745 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27746 [USE_AS_STRNCASECMP_L]: Likewise.
27747 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27748 NO_TLS_DIRECT_SEG_REFS.
27749 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27750 Fix argument offsets for non-PIC.
27751 [USE_AS_STRNCASECMP_L]: Likewise.
27752 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27753 NO_TLS_DIRECT_SEG_REFS.
27754
d62a8200
UD
277552011-11-15 Ulrich Drepper <drepper@gmail.com>
27756
9d65ea3a 27757 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27758 O_CLOEXEC.
27759 * locale/loadlocale.c (_nl_load_locale): Likewise.
27760
09f93bd3
AS
277612011-11-15 Andreas Schwab <schwab@redhat.com>
27762
446514f9
AS
27763 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27764 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27765 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27766 (SYSCALL_GETTIME): Set errno on error.
27767
09f93bd3
AS
27768 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27769 count references to noai6ai_cached.
27770
312be3f9
UD
277712011-11-15 Ulrich Drepper <drepper@gmail.com>
27772
27773 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27774
27775 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27776 FD_CLOEXEC for /proc/self/maps.
27777
27778 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27779 FD_CLOEXEC for /proc/meminfo.
27780
27781 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27782 gai.conf.
27783
27784 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27785 FD_CLOEXEC for given file.
27786
27787 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27788
27789 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27790 FD_CLOEXEC for /etc/hosts.
27791 (_gethtent): Likewise.
27792
27793 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27794
27795 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27796 cancellation and set FD_CLOEXEC for /etc/netgroup.
27797
27798 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27799 reading /etc/publickey.
27800
27801 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27802 allow cancellation when reading /etc/group.
27803
27804 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27805 cancellation.
27806 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27807
27808 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27809 when using data file.
27810
27811 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27812
27813 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27814 (write_nis_obj): Use "c" and "e" in fopen.
27815
27816 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27817
27818 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27819
27820 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27821
27822 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27823
27824 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27825 locale.alias.
27826
27827 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27828
27829 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27830
27831 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27832
27833 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27834 file parsing and set FD_CLOEXEC.
27835
82af0fa8
UD
278362011-11-14 Ulrich Drepper <drepper@gmail.com>
27837
27838 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27839
a5fb313c
AS
278402011-11-14 Andreas Schwab <schwab@redhat.com>
27841
27842 * malloc/arena.c (arena_get2): Don't call reused_arena when
27843 _int_new_arena failed.
27844
6abf3465
UD
278452011-11-14 Ulrich Drepper <drepper@gmail.com>
27846
27847 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27848 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27849 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27850 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27851 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27852 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27853 to compile strcasecmp and strncasecmp.
27854 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27855 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27856
27857 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27858
76e3966e
UD
278592011-11-13 Ulrich Drepper <drepper@gmail.com>
27860
27861 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27862 locale-defines.sym to gen-as-const-headers.
27863 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27864 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27865 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27866 to compile strcasecmp and strncasecmp.
27867 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27868 strcasecmp_l and strncasecmp_l.
27869 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27870 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27871 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27872 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27873 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27874 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27875 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27876 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27877 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27878 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27879 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27880
ab26144e
UD
278812011-11-12 Ulrich Drepper <drepper@gmail.com>
27882
7edb22ef
UD
27883 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27884 result of SYSDEP_GETTIME_CPU to retval.
27885 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27886 parameter list to macro. Remove trailing semicolon. Adjust users.
27887
9694fc44
UD
27888 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27889 variable.
27890
8ad89ef8
UD
27891 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27892 mantissa words.
27893 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27894
0c822ef9
UD
27895 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27896 from unused variable.
27897
874e0564
UD
27898 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27899 DWARF definitions.
27900 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27901 for assembling.
27902
3a2edc79
UD
27903 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27904 over namespaces.
27905
f3c2577f
UD
27906 * sunrpc/rpc_prot.c (rejected): Fix case value.
27907
294ce126
UD
27908 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27909 unsigned long long int to avoid warnings in shift.
27910
5e2b63c6
UD
27911 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27912 of use of trans.
27913 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27914 variable tmp.
27915
e7f4b08e
UD
27916 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27917 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27918 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27919
ab26144e
UD
27920 * nis/nis_table.c (nis_list): Use variable of correct type for
27921 result of __follow_path call.
27922
8a6d5255
AZ
279232011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27924
27925 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27926 of math functions ceil, trunc, floor, round, and sqrt, when
27927 avaliable on the platform.
27928 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27929 name clash.
27930 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27931 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27932 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27933
aaddc98c
MP
279342011-10-30 Marek Polacek <mpolacek@redhat.com>
27935
27936 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27937 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27938
95b7042b
RM
279392011-11-11 Roland McGrath <roland@hack.frob.com>
27940
27941 * include/unistd.h: Fix __readlink return type.
27942 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27943
57769839
UD
279442011-11-11 Ulrich Drepper <drepper@gmail.com>
27945
27946 * stdlib/ucontext.h: Undo last change for makecontext.
27947
edc5984d
AS
279482011-11-11 Andreas Schwab <schwab@redhat.com>
27949
98591e58
AS
27950 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27951
edc5984d
AS
27952 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27953 * setjmp/setjmp.h: Mark functions as non-leaf.
27954 * setjmp/bits/setjmp2.h: Likewise.
27955 * stdlib/ucontext.h: Likewise.
27956
77cdc054
AS
279572011-11-10 Andreas Schwab <schwab@redhat.com>
27958
27959 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27960 (reused_arena): Don't check arena limit.
27961 (arena_get2): Atomically check arena limit.
27962
fe72eebd
UD
279632011-11-08 Ulrich Drepper <drepper@gmail.com>
27964
5f078c32
UD
27965 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27966 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27967
fe72eebd
UD
27968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27969 instructions.
27970
ae1bc2fa
AS
279712011-11-07 Andreas Schwab <schwab@redhat.com>
27972
7583a88d
AS
27973 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27974 handler when locking.
27975
ae1bc2fa
AS
27976 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27977 Fix size of allocated buffer.
27978
10fb0bfa
AS
279792011-11-04 Andreas Schwab <schwab@redhat.com>
27980
998832a4
AS
27981 [BZ #10103]
27982 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27983 declarations for long double functions.
27984 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27985
10fb0bfa
AS
27986 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27987
3d7ba52b
AS
279882011-11-03 Andreas Schwab <schwab@redhat.com>
27989
a9ae54a1
AS
27990 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27991 installed.
27992
3d7ba52b
AS
27993 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27994 is disabled.
27995
bc8db248
ST
279962011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27997
27998 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27999
45b96dd6
AS
280002011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28001
647776f6
AS
28002 * include/alloca.h (stackinfo_alloca_round): Define.
28003 (extend_alloca): Use it.
28004 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28005 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28006 here.
28007
d91a8b93
AS
28008 * scripts/check-local-headers.sh: Ignore libaudit.h.
28009
45b96dd6
AS
28010 * nscd/Makefile (extra-objs): Make recursively expanded.
28011
432d41ce
UD
280122011-11-01 Ulrich Drepper <drepper@gmail.com>
28013
34372fc6
UD
28014 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28015 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28016
fadb59f8
UD
28017 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28018 * posix/tst-rfc3484-2.c: Likewise.
28019 * posix/tst-rfc3484-3.c: Likewise.
28020
78239589
UD
28021 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28022 process_vm_writev.
28023 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28024 process_vm_writev.
28025 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28026 process_vm_writev from libc using GLIBC_2.15 version.
28027
432d41ce
UD
28028 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28029
02f9c6cf
PP
280302011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28031
28032 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28033 stack usage.
28034
3a2c0242
UD
280352011-10-31 Ulrich Drepper <drepper@gmail.com>
28036
f4ec4833
UD
28037 [BZ #13367]
28038 * nss/getent.c (initgroups_keys): Show error message in case no group
28039 names are given.
28040
3a2c0242
UD
28041 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28042 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28043 __bump_nl_timestamp.
28044 * nscd/connections (nscd_init): When host database is served open
28045 netlink socket and request notification about configuration changes.
28046 (main_loop_poll): Track netlink file descriptor and bump timestamp
28047 in case data becomes available.
28048 (main_loop_epoll): Likewise.
28049 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28050 (database_pers_head): Add extra_data fileds.
28051 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28052 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28053 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28054 Adjust caller.
28055 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28056 in6ai data, call __free_in6ai.
28057 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28058 Add -DHAVE_NETLINK.
28059 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28060 interface information. Reuse previous data if netlink timestamp
28061 is not changed.
28062 (__bump_nl_timestamp): New function.
28063 (__free_in6ai): New function.
28064
636064eb
UD
280652011-10-30 Ulrich Drepper <drepper@gmail.com>
28066
28067 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28068 close_not_cancel_no_status here.
28069 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28070
9beb2334
UD
280712011-10-29 Ulrich Drepper <drepper@gmail.com>
28072
6ef76f3b
UD
28073 [BZ #13276]
28074 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28075 return value.
28076
0ffc4f3e 28077 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
28078 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28079 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28080
cb95113e
UD
280812011-07-03 Andreas Jaeger <aj@suse.de>
28082
28083 [BZ #10709]
28084 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28085 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28086 * math/libm-test.inc (sin_test): Add test case.
28087
a1b560ff
UD
280882011-10-29 Ulrich Drepper <drepper@gmail.com>
28089
c9aaface
UD
28090 [BZ #13337]
28091 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28092 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28093
d272e7f1
UD
28094 * elf/chroot_canon.c (chroot_canon): Cleanups.
28095
1bc33071
UD
28096 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28097
1760874d
TJ
28098 [BZ #13335]
28099 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28100 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28101
51d91b18
UD
28102 * string/test-strchr.c: Make usable for strchrnul testing.
28103 * string/test-strchrnul.c: New file.
28104 * string/Makefile (strop-tests): Add strchrnul.
28105
a1b560ff 28106 * po/it.po: Update from translation team.
b611fb81 28107 * po/es.po: Likewise.
a1b560ff 28108
a5b81e1f
UD
281092011-10-28 Ulrich Drepper <drepper@gmail.com>
28110
fd52bc6d
UD
28111 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28112 the three constants needed as parameters. Drop the others.
28113 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28114 __m128i_strloadu_tolower.
52e4b9eb
UD
28115 Create and initialize variable zero and use it in all the places
28116 where _mm_setzero_si128 was used.
fd52bc6d 28117
a5b81e1f
UD
28118 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28119 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28120 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28121 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28122 anymore.
28123 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28124 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28125 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28126 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28127 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28128 __mpranred, __mptan.
28129 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28130 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28131 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28132 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28133 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28134 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28135 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28136 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28137 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28138
b4343346
AS
281392011-10-28 Andreas Schwab <schwab@redhat.com>
28140
0c92d8a8
AS
28141 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28142 redefine if SHARED.
28143 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28144
b4343346
AS
28145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28146 wide char related routines to wcsmbs subdir.
28147
3871f58f
AS
281482011-10-27 Andreas Schwab <schwab@redhat.com>
28149
28150 [BZ #13344]
28151 * misc/sys/cdefs.h (__THROWNL): Define.
28152 * posix/unistd.h: Use __THREADNL instead of __THREAD
28153 for memory synchronization functions.
28154
94d44d9f
RM
281552011-10-26 Roland McGrath <roland@hack.frob.com>
28156
21b64b15 28157 [BZ #13349]
94d44d9f
RM
28158 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28159 doesn't exist.
28160 * manual/stdio.texi (Obstack Streams): Node removed.
28161
f6ce9294
AS
281622011-10-26 Andreas Schwab <schwab@redhat.com>
28163
80479147
AS
28164 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28165 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28166 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28167
f6ce9294
AS
28168 * math/math_private.h (math_force_eval): Allow non-addressable
28169 arguments.
28170 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28171
618280a1
UD
281722011-10-25 Ulrich Drepper <drepper@gmail.com>
28173
e0016b11
UD
28174 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28175 file is not needed.
28176
28177 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28178 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28179 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28180 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28181 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28182 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28183 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28184 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28185 Add AVX variants.
28186 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28187 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28188 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28189 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28190 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28191 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28192 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28193 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28194 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28195 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28196 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28197 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28198 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28199 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28200 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28201 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28202 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28203 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28204 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28205
28206 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28207 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28208
618280a1
UD
28209 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28210 place. Use VEX encoding when compiling for AVX.
28211
37822576
AS
282122011-10-25 Andreas Schwab <schwab@redhat.com>
28213
1f1e1947
AS
28214 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28215 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28216
37822576
AS
28217 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28218
31ea014d
UD
282192011-10-25 Ulrich Drepper <drepper@gmail.com>
28220
d7826aa1 28221 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 28222 useless if() expression.
d7826aa1
UD
28223 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28224 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28225 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28226 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28227 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28228 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28229 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28230 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28231 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28232 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28233 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28234 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28235 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28236 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28237 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28238 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28239 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28240 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28241 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28242
31ea014d
UD
28243 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28244
16437fec
AS
282452011-10-25 Andreas Schwab <schwab@redhat.com>
28246
28247 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28248 condition.
28249 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28250
31d3cc00
UD
282512011-10-25 Ulrich Drepper <drepper@gmail.com>
28252
28253 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28254 .text section. Avoid duplicate constants.
28255 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28256 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28257 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28258 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28259 * sysdeps/ieee754/dbl-64/e_exp.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/mpa.c: Likewise.
28264 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28265 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28266 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28267 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28268 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28269 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28270 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28271 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28272 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28273 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28274 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28275 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28276 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28277 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28278 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28279 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28280 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28281 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28282 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28283 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28284 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28285 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28286 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28287 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28288 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28289 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28290 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28291 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28292 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28293 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28294 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28295 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28296 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28297 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28298 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28299 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28300
58985aa9
UD
283012011-10-24 Ulrich Drepper <drepper@gmail.com>
28302
202c9deb
UD
28303 * sysdeps/x86_64/dla.h: Move to ...
28304 * sysdeps/x86_64/fpu/dla.h: ...here.
28305 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28306 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 28307
af968f62
UD
28308 * config.make.in: Add have-mfma4 entry.
28309 * configure.in: Substitute libc_cv_cc_fma4.
28310 * math/Makefile (dbl-only-routines): Add sincostab.
28311 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28312 Use __sincostab not sincos.
28313 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28314 name is a macro.
28315 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28316 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28317 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28318 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28319 using __copysign.
28320 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28321 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28322 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28323 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28324 and __inv.
28325 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28326 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28327 __copysign.
28328 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28329 define aliases when function name is a macro.
28330 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28331 sysdeps/ieee754/dbl-64/sincos.tbl.
28332 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28333 fma4-enabled routines.
28334 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28335 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28336 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28337 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28338 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28339 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28340 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28341 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28342 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28343 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28344 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28345 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28346 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28347 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28348 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28349 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28350 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28351 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28352 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28353 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28354 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28355 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28356 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28357 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28358 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28359 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28360 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28361 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28362 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28363 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28364
58985aa9
UD
28365 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28366 rename.
28367 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28368 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28369 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28371 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28372 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28373 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28374 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28375
a201fbcf
AS
283762011-10-24 Andreas Schwab <schwab@redhat.com>
28377
28378 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28379
fc2ee42a
LD
283802011-10-23 Ulrich Drepper <drepper@gmail.com>
28381
bb3129bd
UD
28382 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28383
0275fff8
UD
28384 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28385 prediction.
28386 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28387
2fa2ae85
UD
28388 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28389 Remove unused variable magic_bits.
28390 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28391
fc2ee42a
LD
28392 * string/strnlen.c: Define and use STRNLEN macro.
28393 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28394 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28395 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28396 * wcsmbs/wcslen.c: Define and use WCSLEN.
28397 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28398 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28399 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28400 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28401 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28402 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28403 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28404
ce7dd29f
LD
284052011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28406
28407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28408 strnlen-sse2-no-bsf.
28409 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28410 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28411 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28412 Add strnlen support.
28413 (USE_AS_STRNLEN): New macro.
28414 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28415 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28416 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28417 * sysdeps/x86_64/wcslen.S: New file.
28418
979c70a3
MZ
284192011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28420
28421 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28422 XMM-moves are used for copying on small sizes.
28423
2d09f82f
LD
284242011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28425
28426 * wcsmbs/Makefile (strop-tests): Add wcschr.
28427 * wcsmbs/test-wcschr.c: New file.
28428 * string/test-strchr.c: Update.
28429 Add wcschr support.
28430 (WIDE): New macro.
28431
619fccca
LD
284322011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28433
2d09f82f 28434 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
28435 * wcsmbs/test-wcslen.c: New file.
28436 * string/test-strlen.c: Update.
28437 Add wcslen support.
28438 (WIDE): New macro.
28439
09f699ea
UD
284402011-10-23 Ulrich Drepper <drepper@gmail.com>
28441
28442 * po/it.po: Update from translation team.
28443
95584d3b
LD
284442011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28445
28446 * sysdeps/x86_64/wcscmp.S: Update.
28447 Fix wrong comparison semantics.
28448 wcscmp shall use signed comparison not unsigned.
28449 Don't use substraction to avoid overflow bug.
28450 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28451 * wcsmbc/wcscmp.c: Likewise.
28452 * string/test-strcmp.c: Likewise.
28453 Add new tests to check cases with negative values.
28454
c8b3296b
UD
284552011-10-23 Ulrich Drepper <drepper@gmail.com>
28456
28457 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28458 * sysdeps/x86_64/dla.h: ...here. New file.
28459 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28460 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28462 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28464 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28465 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28466 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28467 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28468
246ad57a
AS
284692011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28470
28471 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28472 __ynl_finite aliases.
28473
a1a87169
UD
284742011-10-22 Ulrich Drepper <drepper@gmail.com>
28475
0d355eb7
UD
28476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28477
a1a87169
UD
28478 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28479 define DLA_FMA.
28480 [DLA_FMA] (EMULV): Use DLA_FMA.
28481 [DLA_FMA] (MUL12): Use EMULV.
28482 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28483 that are not needed.
28484 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28488 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28489 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28490 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28491
ee2aafe0
AS
284922011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28493
28494 * math/s_nan.c: Undef __nan.
28495 * math/s_nanf.c: Undef __nanf.
28496 * math/s_nanl.c: Undef __nanl.
28497 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28498 "math_private.h".
28499
bc62c2fb
UD
285002011-10-22 Ulrich Drepper <drepper@gmail.com>
28501
77425c63
UD
28502 * math/s_catan.c: Add branch predictions.
28503 * math/s_catanf.c: Likewise.
28504 * math/s_catanh.c: Likewise.
28505 * math/s_catanhf.c: Likewise.
28506 * math/s_catanhl.c: Likewise.
28507 * math/s_catanl.c: Likewise.
28508 * math/s_cexp.c: Likewise.
28509 * math/s_cexpf.c: Likewise.
28510 * math/s_cexpl.c: Likewise.
28511 * math/s_clog.c: Likewise.
28512 * math/s_clog10.c: Likewise.
28513 * math/s_clog10f.c: Likewise.
28514 * math/s_clog10l.c: Likewise.
28515 * math/s_clogf.c: Likewise.
28516 * math/s_clogl.c: Likewise.
28517 * math/s_csqrt.c: Likewise.
28518 * math/s_csqrtf.c: Likewise.
28519 * math/s_csqrtl.c: Likewise.
28520 * math/s_ctanf.c: Likewise.
28521 * math/s_ctanh.c: Likewise.
28522 * math/s_ctanhf.c: Likewise.
28523 * math/s_ctanhl.c: Likewise.
28524 * math/s_ctanl.c: Likewise.
28525
bc62c2fb
UD
28526 * math/math_private.h: Define __nan, __nanf, __nanl.
28527 * math/s_cacosh.c: Include <math_private.h>.
28528 * math/s_cacoshl.c: Likewise.
28529 * math/s_casinh.c: Likewise.
28530 * math/s_casinhf.c: Likewise.
28531 * math/s_casinhl.c: Likewise.
28532 * math/s_ccos.c: Rely entire on ccosh.
28533 * math/s_ccosf.c: Rely entire on ccoshf.
28534 * math/s_ccosl.c: Rely entirely on ccoshl.
28535 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28536 Remove tests for FE_INVALID.
28537 * math/s_ccoshf.c: Likewise.
28538 * math/s_ccoshl.c: Likewise.
28539 * math/s_csin.c: Likewise.
28540 * math/s_csinf.c: Likewise.
28541 * math/s_csinh.c Likewise.
28542 * math/s_csinhf.c: Likewise.
28543 * math/s_csinhl.c: Likewise.
28544 * math/s_csinl.c: Likewise.
28545 * math/s_ctan.c: Likewise.
28546 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28547 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28548 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28549
8ec250a4
UD
285502011-10-21 Ulrich Drepper <drepper@gmail.com>
28551
c196fed8
UD
28552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28553 compilation problems.
28554
8ec250a4
UD
28555 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28556 __builtin_expect.
28557
8d4f46c6
UD
285582011-10-20 Ulrich Drepper <drepper@gmail.com>
28559
ed72b654
UD
28560 * sysdeps/i386/configure.in: Test for -mfma4 option.
28561 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28562 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28563 COMMON_CPUID_INDEX_80000001.
28564 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28565 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28566 use it if FMA3 is not supported.
28567 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28568
8d4f46c6
UD
28569 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28570 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28571
d45c60c2
AS
285722011-10-20 Andreas Schwab <schwab@redhat.com>
28573
28574 [BZ #12892]
28575 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28576 it would create a cycle with a link time dependency.
28577
d9a4d2ab
UD
285782011-10-19 Ulrich Drepper <drepper@gmail.com>
28579
855d1560
UD
28580 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28581 instruction.
28582 * string/Makefile (strop-tests): Add rawmemchr.
28583 * string/test-rawmemchr.c: New file.
28584
d9a4d2ab
UD
28585 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28586 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28587 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28588 when compiling str{,n}casecmp and when AVX is available. Hook up
28589 new optimized code in initializers.
28590
8f3b1ffe
AS
285912011-10-19 Andreas Schwab <schwab@redhat.com>
28592
28593 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28594 __feraiseexcept instead of feraiseexcept.
28595
d38f1dba
UD
285962011-10-18 Ulrich Drepper <drepper@gmail.com>
28597
d9a8d0ab
UD
28598 * math/math_private.h: Define defaults for libc_fetestexcept and
28599 libc_feupdateenv.
28600 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28601 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28602 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28603 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28604 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28605 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28606 libc_fetestexcept and libc_feupdateenv.
28607
4855e3dd
UD
28608 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28609 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28610 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28611 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28612 libc_feholdexcept_setround.
28613
581d30e3
UD
28614 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28615 Add s_nearbyint-c and s_nearbyintf-c.
28616 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28617 nearbyintf inlines.
28618 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28619 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28620 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28621 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28622
d38f1dba
UD
28623 * math/math_private.h: Define defaults for libc_fegetround,
28624 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28625 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28626 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28627 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28628 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28629 standard functions.
28630 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28631 Remove comments and hacks for old compiler versions.
28632 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28633 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28634 libc_feholdexceptl.
28635
caa6c9d8
AS
286362011-10-18 Andreas Schwab <schwab@redhat.com>
28637
28638 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28639 (__feraiseexcept_renamed): Add __NTH.
28640 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28641 namespace violations.
28642
97c066e6
UD
286432011-10-17 Ulrich Drepper <drepper@gmail.com>
28644
99ce7b04
UD
28645 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28646
1004d182
UD
28647 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28648
228a984d
UD
28649 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28650 recently added interfaces.
28651 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28652
c8553a6a
UD
28653 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28654 about macro parameter expansion.
28655
ed22dcf6
UD
28656 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28657 __NO_MATH_INLINES is defined. Cleanups.
28658
28659 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28660 and __floorf is target has SSE4.1.
28661 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28662 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28663 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28664 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28665
b171c137
UD
28666 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28667 name.
28668 (floorf): Likewise.
28669
97c066e6
UD
28670 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28671
629f62ef
AS
286722011-10-17 Andreas Schwab <schwab@redhat.com>
28673
49a43d80
AS
28674 * misc/sys/cdefs.h: Fix last change.
28675
629f62ef
AS
28676 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28677 database lookup.
28678
e453f6cd
UD
286792011-10-16 Ulrich Drepper <drepper@gmail.com>
28680
aa78043a
UD
28681 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28682
ad0f5cad
UD
28683 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28684 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28685 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28686 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28687 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28688 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28689 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28690 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28691 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28692 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28693 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28694 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28695 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28696 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28697 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28698 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28699 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28700 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28701 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28702 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28703 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28704 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28705
28706 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28707 ceil, ceilf, floor, floorf.
28708
28709 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28710 Perform IRELATIVE relocations last.
28711
e453f6cd
UD
28712 * elf/do-rel.h: Add another parameter nrelative, replacing the
28713 local variable with the same name. Change name of the function
28714 to end in Rel or Rela (uppercase).
28715 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28716 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28717 elf_dynamic_do_##reloc function.
28718
fd5bdc09
UD
287192011-10-15 Ulrich Drepper <drepper@gmail.com>
28720
79b195b5
UD
28721 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28722 is sufficient, at least on modern CPUs.
28723
d4a28569
UD
28724 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28725
b61099b5
UD
28726 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28727 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28728
bcf01e6d
UD
28729 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28730 __expl_finite.
28731 * math/bits/math-finite.h: Add entries for exp.
28732 * math/e_expl.c: Add __*_finite alias.
28733 * sysdeps/i386/fpu/e_exp.S: Likewise.
28734 * sysdeps/i386/fpu/e_expf.S: Likewise.
28735 * sysdeps/i386/fpu/e_expl.c: Likewise.
28736 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28737 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28738 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28739 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28740 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28741 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28742 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28743
ba1a0d59
UD
28744 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28745 is sufficient, at least on modern CPUs.
28746
fd5bdc09
UD
28747 * ctype/ctype-info.c (__ctype_init): Define.
28748 * include/ctype.h (__ctype_init): Declare.
28749 (__ctype_b_loc): The variable is always initialized.
28750 (__ctype_toupper_loc): Likewise.
28751 (__ctype_tolower_loc): Likewise.
28752 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28753 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28754
7872cfb0
AS
287552011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28756
b468825a
AS
28757 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28758
7872cfb0
AS
28759 * configure.in: Also look in $cxxmachine/include for C++ system
28760 headers.
28761
be13f7bf
LD
287622011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28763
28764 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28765 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28766 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28767 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28768 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28769 (USE_AS_WMEMCMP): New macro.
28770 Fixing indents.
28771 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28772 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28773 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28774 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28775 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28776 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28777 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28778 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28779 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28780 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28781 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28782 (USE_AS_WMEMCMP): New macro.
28783 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28784 * sysdeps/string/test-memcmp.c: Update.
28785 Fix simple_wmemcmp.
28786 Add new tests.
28787 * wcsmbs/wmemcmp.c: Update.
28788 (WMEMCMP): New macro.
28789 Fix overflow bug.
28790
556a2007
AJ
287912011-10-12 Andreas Jaeger <aj@suse.de>
28792
28793 [BZ #13268]
28794 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28795
538faaa7
UD
287962011-10-15 Ulrich Drepper <drepper@gmail.com>
28797
ab6737ff
UD
28798 * libio/iofwide.c (do_length): Avoid warning.
28799
538faaa7
UD
28800 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28801
396a21b1
UD
288022011-10-14 Ulrich Drepper <drepper@gmail.com>
28803
cdf2901f
UD
28804 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28805
38ad40ce
UD
28806 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28807 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28808 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28809 * sysdeps/i386/i686/fpu/e_log.S: New file.
28810 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28811 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28812
396a21b1
UD
28813 * ctype/ctype.h: Add support for inlined isXXX functions when
28814 compiling C++ code.
28815
6b1f68c9
AS
288162011-10-14 Andreas Schwab <schwab@redhat.com>
28817
349290c0
AS
28818 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28819
6b1f68c9
AS
28820 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28821
f2282d42
RM
288222011-10-13 Roland McGrath <roland@hack.frob.com>
28823
28824 [BZ #13291]
28825 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28826
5298ffa8
AS
288272011-10-13 Andreas Schwab <schwab@redhat.com>
28828
714fad23
AS
28829 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28830 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28831 feraiseexcept.
28832
81dcc7fb
AS
28833 * sysdeps/x86_64/memrchr.S: Check for zero size.
28834
5298ffa8
AS
28835 * string/stratcliff.c: Add memrchr tests.
28836
951fbcec
LD
288372011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28838
28839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28840 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28841 rawmemchr-sse2 rawmemchr-sse2-bsf.
28842 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28843 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28844 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28845 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28846 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28847 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28848 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28849 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28850 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28851 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28852 * string/memrchr.c (MEMRCHR): New macro.
28853
0ac5ae23
UD
288542011-10-12 Ulrich Drepper <drepper@gmail.com>
28855
28856 Add integration with gcc's -ffinite-math-only and optimize wrapper
28857 functions in libm.
28858 * Versions.def: Define GLIBC_2.15 version for libm.
28859 * math/Makefile (headers): Add bits/math-finite.h.
28860 * math/bits/math-finite.h: New file.
28861 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28862 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28863 * math/e_acoshl.c: Add __*_finite alias.
28864 * math/e_acosl.c: Likewise.
28865 * math/e_asinl.c: Likewise.
28866 * math/e_atan2l.c: Likewise.
28867 * math/e_atanhl.c: Likewise.
28868 * math/e_coshl.c: Likewise.
28869 * math/e_exp10.c: Likewise.
28870 * math/e_exp10f.c: Likewise.
28871 * math/e_exp10l.c: Likewise.
28872 * math/e_exp2l.c: Likewise.
28873 * math/e_fmodl.c: Likewise.
28874 * math/e_gammal_r.c: Likewise.
28875 * math/e_hypotl.c: Likewise.
28876 * math/e_j0l.c: Likewise.
28877 * math/e_j1l.c: Likewise.
28878 * math/e_jnl.c: Likewise.
28879 * math/e_lgammal_r.c: Likewise.
28880 * math/e_log10l.c: Likewise.
28881 * math/e_log2l.c: Likewise.
28882 * math/e_logl.c: Likewise.
28883 * math/e_powl.c: Likewise.
28884 * math/e_sinhl.c: Likewise.
28885 * math/e_sqrtl.c: Likewise.
28886 * math/e_scalb.c: Completely rewritten and optimized.
28887 * math/e_scalbf.c: Likewise.
28888 * math/e_scalbl.c: Likewise.
28889 * math/w_acos.c: Likewise.
28890 * math/w_acosf.c: Likewise.
28891 * math/w_acosl.c: Likewise.
28892 * math/w_acosh.c: Likewise.
28893 * math/w_acoshf.c: Likewise.
28894 * math/w_acoshl.c: Likewise.
28895 * math/w_asin.c: Likewise.
28896 * math/w_asinf.c: Likewise.
28897 * math/w_asinl.c: Likewise.
28898 * math/w_atan2.c: Likewise.
28899 * math/w_atan2f.c: Likewise.
28900 * math/w_atan2l.c: Likewise.
28901 * math/w_atanh.c: Likewise.
28902 * math/w_atanhf.c: Likewise.
28903 * math/w_atanhl.c: Likewise.
28904 * math/w_exp10.c: Likewise.
28905 * math/w_exp10f.c: Likewise.
28906 * math/w_exp10l.c: Likewise.
28907 * math/w_fmod.c: Likewise.
28908 * math/w_fmodf.c: Likewise.
28909 * math/w_fmodl.c: Likewise.
28910 * math/w_j0.c: Likewise.
28911 * math/w_j0f.c: Likewise.
28912 * math/w_j0l.c: Likewise.
28913 * math/w_j1.c: Likewise.
28914 * math/w_j1f.c: Likewise.
28915 * math/w_j1l.c: Likewise.
28916 * math/w_jn.c: Likewise.
28917 * math/w_jnf.c: Likewise.
28918 * math/w_log.c: Likewise.
28919 * math/w_logf.c: Likewise.
28920 * math/w_logl.c: Likewise.
28921 * math/w_log10.c: Likewise.
28922 * math/w_log10f.c: Likewise.
28923 * math/w_log10l.c: Likewise.
28924 * math/w_log2.c: Likewise.
28925 * math/w_log2f.c: Likewise.
28926 * math/w_log2l.c: Likewise.
28927 * math/w_pow.c: Likewise.
28928 * math/w_powf.c: Likewise.
28929 * math/w_powl.c: Likewise.
28930 * math/w_remainder.c: Likewise.
28931 * math/w_remainderf.c: Likewise.
28932 * math/w_remainderl.c: Likewise.
28933 * math/w_scalb.c: Likewise.
28934 * math/w_scalbf.c: Likewise.
28935 * math/w_scalbl.c: Likewise.
28936 * math/w_sqrt.c: Likewise.
28937 * math/w_sqrtf.c: Likewise.
28938 * math/w_sqrtl.c: Likewise.
28939 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28940 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28941 used.
28942 * math/math_private.h: Declare __kernel_standard_f.
28943 * math/w_cosh.c: Remove cruft and optimize a bit.
28944 * math/w_coshf.c: Likewise.
28945 * math/w_coshl.c: Likewise.
28946 * math/w_exp2.c: Likewise.
28947 * math/w_exp2f.c: Likewise.
28948 * math/w_exp2l.c: Likewise.
28949 * math/w_hypot.c: Likewise.
28950 * math/w_hypotf.c: Likewise.
28951 * math/w_hypotl.c: Likewise.
28952 * math/w_lgamma.c: Likewise.
28953 * math/w_lgamma_r.c: Likewise.
28954 * math/w_lgammaf.c: Likewise.
28955 * math/w_lgammaf_r.c: Likewise.
28956 * math/w_lgammal.c: Likewise.
28957 * math/w_lgammal_r.c: Likewise.
28958 * math/w_sinh.c: Likewise.
28959 * math/w_sinhf.c: Likewise.
28960 * math/w_sinhl.c: Likewise.
28961 * math/w_tgamma.c: Likewise.
28962 * math/w_tgammaf.c: Likewise.
28963 * math/w_tgammal.c: Likewise.
28964 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28965 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28966 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28967 Minor optimizations. Pretty printing. Remove cruft.
28968 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28969 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28970 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28971 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28972 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28973 * sysdeps/i386/fpu/e_asin.S: Likewise.
28974 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28975 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28976 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28977 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28978 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28979 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28980 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28981 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28982 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28983 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28984 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28985 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28986 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28987 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28988 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28989 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28990 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28991 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28992 * sysdeps/i386/fpu/e_log.S: Likewise.
28993 * sysdeps/i386/fpu/e_log10.S: Likewise.
28994 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28995 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28996 * sysdeps/i386/fpu/e_log2.S: Likewise.
28997 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28998 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28999 * sysdeps/i386/fpu/e_logf.S: Likewise.
29000 * sysdeps/i386/fpu/e_logl.S: Likewise.
29001 * sysdeps/i386/fpu/e_pow.S: Likewise.
29002 * sysdeps/i386/fpu/e_powf.S: Likewise.
29003 * sysdeps/i386/fpu/e_powl.S: Likewise.
29004 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29005 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29006 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29007 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29008 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29009 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29010 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29011 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29012 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29013 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29017 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29018 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29020 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29021 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29022 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29023 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29024 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29026 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29027 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29028 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29029 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29030 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29031 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29032 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29033 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29034 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29035 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29036 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29037 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29038 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29039 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29040 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29041 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29042 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29043 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29044 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29045 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29046 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29047 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29048 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29049 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29050 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29051 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29052 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29053 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29054 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29055 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29056 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29057 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29058 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29059 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29060 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29061 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29062 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29063 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29064 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29065 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29066 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29067 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29068 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29069 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29070 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29071 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29072 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29073 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29074 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29075 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29076 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29077 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29078 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29079 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29080 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29081 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29082 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29083 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29084 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29085 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29086 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29087 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29088 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29089 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29090 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29091 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29092 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29093 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29094 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29095 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29096 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29097 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29098 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29099 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29100 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29101 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29102 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29103 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29104 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29105 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29106 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29107 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29108 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29109 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29110 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29111 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29112 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29113 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29114 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29115 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29116 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29117 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29118 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29119 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29120 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29121 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29122 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29123 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29124 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29125 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29126 (__isnanf): Likewise.
29127 (__isinf_ns): Likewise.
29128 (__isinf_nsf): Likewise.
29129 (__finite): Likewise.
29130 (__finitef): Likewise.
29131 (__ieee754_sqrt): Define as macro.
29132 (__ieee754_sqrtf): Define as macro.
29133 (__ieee754_sqrtl): Define as macro.
29134 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29135 inlined copy.
29136 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29137 __FINITE_MATH_ONLY__ consistent.
29138 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29139
12cc2fcd
AS
291402011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29141
a843a204
AS
29142 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29143 of rawmemchr.
29144
12cc2fcd
AS
29145 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29146
c853acd5
UD
291472011-10-09 Ulrich Drepper <drepper@gmail.com>
29148
29149 * po/ja.po: Update from translation team.
29150
c658d255
RM
291512011-10-08 Roland McGrath <roland@hack.frob.com>
29152
110946e4
RM
29153 * locale/programs/locarchive.c (prepare_address_space): New function.
29154 (create_archive, enlarge_archive, open_archive): Use it.
29155
50604220
RM
29156 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29157 inside [SHARED], where it is used.
29158
c658d255
RM
29159 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29160
29161 * nss/getent.c (netgroup_keys): Remove unused variable.
29162 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29163
6a621eb7
UD
291642011-10-08 Ulrich Drepper <drepper@gmail.com>
29165
7edb55ce
UD
29166 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29167 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29168 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29169 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29170 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29171 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29172 * math/Makefile (libm-calls): Add s_isinf_ns.
29173 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29174 * math/multc3.c: Likewise.
29175 * math/s_casin.c: Likewise.
29176 * math/s_casinf.c: Likewise.
29177 * math/s_casinl.c: Likewise.
29178 * math/s_ccos.c: Likewise.
29179 * math/s_ccosf.c: Likewise.
29180 * math/s_ccosl.c: Likewise.
29181 * math/s_ctan.c: Likewise.
29182 * math/s_ctanf.c: Likewise.
29183 * math/s_ctanh.c: Likewise.
29184 * math/s_ctanhf.c: Likewise.
29185 * math/s_ctanhl.c: Likewise.
29186 * math/s_ctanl.c: Likewise.
29187 * math/w_fmod.c: Likewise.
29188 * math/w_fmodf.c: Likewise.
29189 * math/w_fmodl.c: Likewise.
29190 * math/w_remainder.c: Likewise.
29191 * math/w_remainderf.c: Likewise.
29192 * math/w_remainderl.c: Likewise.
29193 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29194 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29195 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29196 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29197 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29198 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29199 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29200 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29201
187da0ae
UD
29202 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29203 of the number.
29204 * stdio-common/printf_fphex.c: Likewise.
29205 * stdio-common/printf_size.c: Likewise.
29206
9277c064
UD
29207 * math/e_exp10.c: Include math_private.h using <...> not "...".
29208 * math/e_exp10f.c: Likewise.
29209 * math/e_exp10l.c: Likewise.
29210 * math/e_exp2l.c: Likewise.
29211 * math/e_j0l.c: Likewise.
29212 * math/e_j1l.c: Likewise.
29213 * math/e_jnl.c: Likewise.
29214 * math/e_lgammal_r.c: Likewise.
29215 * math/e_rem_pio2l.c: Likewise.
29216 * math/e_scalb.c: Likewise.
29217 * math/e_scalbf.c: Likewise.
29218 * math/e_scalbl.c: Likewise.
29219 * math/k_cosl.c: Likewise.
29220 * math/k_sinl.c: Likewise.
29221 * math/k_tanl.c: Likewise.
29222 * math/s_cacoshf.c: Likewise.
29223 * math/s_catan.c: Likewise.
29224 * math/s_catanf.c: Likewise.
29225 * math/s_catanh.c: Likewise.
29226 * math/s_catanhf.c: Likewise.
29227 * math/s_catanhl.c: Likewise.
29228 * math/s_catanl.c: Likewise.
29229 * math/s_ccosh.c: Likewise.
29230 * math/s_ccoshf.c: Likewise.
29231 * math/s_ccoshl.c: Likewise.
29232 * math/s_cexp.c: Likewise.
29233 * math/s_cexpf.c: Likewise.
29234 * math/s_cexpl.c: Likewise.
29235 * math/s_clog.c: Likewise.
29236 * math/s_clog10.c: Likewise.
29237 * math/s_clog10f.c: Likewise.
29238 * math/s_clog10l.c: Likewise.
29239 * math/s_clogf.c: Likewise.
29240 * math/s_clogl.c: Likewise.
29241 * math/s_csin.c: Likewise.
29242 * math/s_csinf.c: Likewise.
29243 * math/s_csinh.c: Likewise.
29244 * math/s_csinhf.c: Likewise.
29245 * math/s_csinhl.c: Likewise.
29246 * math/s_csinl.c: Likewise.
29247 * math/s_csqrt.c: Likewise.
29248 * math/s_csqrtf.c: Likewise.
29249 * math/s_csqrtl.c: Likewise.
29250 * math/s_ctan.c: Likewise.
29251 * math/s_ctanf.c: Likewise.
29252 * math/s_ctanh.c: Likewise.
29253 * math/s_ctanhf.c: Likewise.
29254 * math/s_ctanhl.c: Likewise.
29255 * math/s_ctanl.c: Likewise.
29256 * math/s_ldexp.c: Likewise.
29257 * math/s_ldexpf.c: Likewise.
29258 * math/s_ldexpl.c: Likewise.
29259 * math/s_significand.c: Likewise.
29260 * math/s_significandf.c: Likewise.
29261 * math/s_significandl.c: Likewise.
29262 * math/w_acos.c: Likewise.
29263 * math/w_acosf.c: Likewise.
29264 * math/w_acosh.c: Likewise.
29265 * math/w_acoshf.c: Likewise.
29266 * math/w_acoshl.c: Likewise.
29267 * math/w_acosl.c: Likewise.
29268 * math/w_asin.c: Likewise.
29269 * math/w_asinf.c: Likewise.
29270 * math/w_asinl.c: Likewise.
29271 * math/w_atan2.c: Likewise.
29272 * math/w_atan2f.c: Likewise.
29273 * math/w_atan2l.c: Likewise.
29274 * math/w_atanh.c: Likewise.
29275 * math/w_atanhf.c: Likewise.
29276 * math/w_atanhl.c: Likewise.
29277 * math/w_cosh.c: Likewise.
29278 * math/w_coshf.c: Likewise.
29279 * math/w_coshl.c: Likewise.
29280 * math/w_dremf.c: Likewise.
29281 * math/w_exp10.c: Likewise.
29282 * math/w_exp10f.c: Likewise.
29283 * math/w_exp10l.c: Likewise.
29284 * math/w_exp2.c: Likewise.
29285 * math/w_exp2f.c: Likewise.
29286 * math/w_fmod.c: Likewise.
29287 * math/w_fmodf.c: Likewise.
29288 * math/w_fmodl.c: Likewise.
29289 * math/w_hypot.c: Likewise.
29290 * math/w_hypotf.c: Likewise.
29291 * math/w_hypotl.c: Likewise.
29292 * math/w_j0.c: Likewise.
29293 * math/w_j0f.c: Likewise.
29294 * math/w_j0l.c: Likewise.
29295 * math/w_j1.c: Likewise.
29296 * math/w_j1f.c: Likewise.
29297 * math/w_j1l.c: Likewise.
29298 * math/w_jn.c: Likewise.
29299 * math/w_jnf.c: Likewise.
29300 * math/w_jnl.c: Likewise.
29301 * math/w_lgamma.c: Likewise.
29302 * math/w_lgamma_r.c: Likewise.
29303 * math/w_lgammaf.c: Likewise.
29304 * math/w_lgammaf_r.c: Likewise.
29305 * math/w_lgammal.c: Likewise.
29306 * math/w_lgammal_r.c: Likewise.
29307 * math/w_log.c: Likewise.
29308 * math/w_log10.c: Likewise.
29309 * math/w_log10f.c: Likewise.
29310 * math/w_log10l.c: Likewise.
29311 * math/w_log2.c: Likewise.
29312 * math/w_log2f.c: Likewise.
29313 * math/w_log2l.c: Likewise.
29314 * math/w_logf.c: Likewise.
29315 * math/w_logl.c: Likewise.
29316 * math/w_pow.c: Likewise.
29317 * math/w_powf.c: Likewise.
29318 * math/w_powl.c: Likewise.
29319 * math/w_remainder.c: Likewise.
29320 * math/w_remainderf.c: Likewise.
29321 * math/w_remainderl.c: Likewise.
29322 * math/w_scalb.c: Likewise.
29323 * math/w_scalbf.c: Likewise.
29324 * math/w_scalbl.c: Likewise.
29325 * math/w_sinh.c: Likewise.
29326 * math/w_sinhf.c: Likewise.
29327 * math/w_sinhl.c: Likewise.
29328 * math/w_sqrt.c: Likewise.
29329 * math/w_sqrtf.c: Likewise.
29330 * math/w_sqrtl.c: Likewise.
29331 * math/w_tgamma.c: Likewise.
29332 * math/w_tgammaf.c: Likewise.
29333 * math/w_tgammal.c: Likewise.
29334
6a621eb7
UD
29335 * po/ja.po: Update from translation team.
29336
bf582445
AJ
293372011-09-29 Andreas Jaeger <aj@suse.de>
29338
f9efbf3a
AJ
29339 [BZ #13179]
29340 * sunrpc/netname.c (netname2host): Fix logic.
29341
bf582445
AJ
29342 [BZ #6779]
29343 [BZ #6783]
29344 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29345 correctly.
29346 * math/w_remainder.c (__remainder): Likewise.
29347 * math/w_remainderf.c (__remainderf): Likewise.
29348 * math/libm-test.inc (remainder_test): Add test cases.
29349
48693bea
AK
293502011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29351
29352 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29353 sdiv_qrnnd.
29354
42622229
LD
293552011-10-07 Ulrich Drepper <drepper@gmail.com>
29356
29357 * string/test-memcmp.c: Avoid unncessary #defines.
29358 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29359
093ecf92
LD
293602011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29361
29362 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29363 Use new sse2 version for core i3 - i7 as it's faster
29364 than sse42 version.
29365 (bit_Prefer_PMINUB_for_stringop): New.
29366 * sysdeps/x86_64/rawmemchr.S: Update.
29367 Replace with faster SSE2 version.
29368 * sysdeps/x86_64/memrchr.S: New file.
29369 * sysdeps/x86_64/memchr.S: Update.
29370 Replace with faster SSE2 version.
29371
fde56e5c
MP
293722011-09-12 Marek Polacek <mpolacek@redhat.com>
29373
29374 * elf/dl-load.c (lose): Add cast to avoid warning.
29375
21fd49a9
UD
293762011-10-07 Ulrich Drepper <drepper@gmail.com>
29377
5a06e643
UD
29378 * po/ca.po: Update from translation team.
29379
684ae515
UD
29380 * inet/getnetgrent_r.c: Hook up nscd.
29381 * nscd/Makefile (routines): Add nscd_netgroup.
29382 (nscd-modules): Add netgroupcache.
29383 (CFLAGS-netgroupcache.c): Define.
29384 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29385 (cache_search): Add const to second parameter.
29386 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29387 INNETGR.
29388 (dbs): Add netgrdb entry.
29389 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29390 (verify_persistent_db): Handle netgrdb.
29391 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29392 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29393 GETFDNETGR.
29394 (netgroup_response_header): Define.
29395 (innetgroup_response_header): Define.
29396 (datahead): Add netgroup_response_header and innetgroup_response_header
29397 elements.
29398 * nscd/nscd.conf: Add entries for netgroup cache.
29399 * nscd/nscd.h (dbtype): Add netgrdb.
29400 (_PATH_NSCD_NETGROUP_DB): Define.
29401 (netgroup_iov_disabled): Declare.
29402 (xmalloc, xcalloc, xrealloc): Move declarations here.
29403 (cache_search): Adjust prototype.
29404 Add netgroup-related prototypes.
29405 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29406 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29407 (__nscd_innetgr): Declare.
29408 * nscd/selinux.c (perms): Use access_vector_t as element type and
29409 add netgroup-related initializers.
29410 * nscd/netgroupcache.c: New file.
29411 * nscd/nscd_netgroup.c: New file.
29412 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29413 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29414 For four parameters use innetgr.
29415 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29416 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29417 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29418 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29419
21fd49a9
UD
29420 * nscd/connections.c (register_traced_file): Don't register file
29421 for disabled databases.
29422
054c0457
UD
294232011-10-06 Ulrich Drepper <drepper@gmail.com>
29424
32b63198
UD
29425 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29426
054c0457
UD
29427 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29428 from tree and freeing node.
29429
64031225
JO
294302011-09-25 Jiri Olsa <jolsa@redhat.com>
29431
29432 * nss/nsswitch.c (__nss_database_lookup): Handle
29433 nss_parse_service_list out of memory case.
29434
0490345c
JO
294352011-09-15 Jiri Olsa <jolsa@redhat.com>
29436
29437 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29438 out of memory case.
29439
3a62d00d
AS
294402011-10-04 Andreas Schwab <schwab@redhat.com>
29441
29442 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29443 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29444 pass it down.
29445 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29446 elf_machine_rela, elf_machine_lazy_rel.
29447 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29448 (ELF_DYNAMIC_DO_REL): Likewise.
29449 (ELF_DYNAMIC_DO_RELA): Likewise.
29450 (ELF_DYNAMIC_RELOCATE): Likewise.
29451 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29452 to ELF_DYNAMIC_DO_REL.
29453 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29454 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29455 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29456 elf_machine_rela.
29457 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29458 skip_ifunc, don't call ifunc function if non-zero.
29459 (elf_machine_rela): Likewise.
29460 (elf_machine_lazy_rel): Likewise.
29461 (elf_machine_lazy_rela): Likewise.
29462 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29463 (elf_machine_lazy_rel): Likewise.
29464 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29465 Likewise.
29466 (elf_machine_lazy_rel): Likewise.
29467 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29468 Likewise.
29469 (elf_machine_lazy_rel): Likewise.
29470 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29471 (elf_machine_lazy_rel): Likewise.
29472 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29473 (elf_machine_lazy_rel): Likewise.
29474 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29475 (elf_machine_lazy_rel): Likewise.
29476 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29477 (elf_machine_lazy_rel): Likewise.
29478 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29479 (elf_machine_lazy_rel): Likewise.
29480 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29481 (elf_machine_lazy_rel): Likewise.
29482
68577918
UD
294832011-09-28 Ulrich Drepper <drepper@gmail.com>
29484
29485 * nss/nss_files/files-init.c (_nss_files_init): Use static
29486 initialization for all the *_traced_file variables.
29487
68822d74
AS
294882011-09-28 Andreas Schwab <schwab@redhat.com>
29489
29490 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29491
2056100b
RM
294922011-09-27 Roland McGrath <roland@hack.frob.com>
29493
29494 [BZ #13226]
29495 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29496
32c76b63
AS
294972011-09-27 Andreas Schwab <schwab@redhat.com>
29498
29499 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29500 Reread the line before reparsing it.
29501
bf972c9d
AS
295022011-09-26 Andreas Schwab <schwab@redhat.com>
29503
29504 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29505
e057a1b5
JM
295062011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29507 Maxim Kuvyrkov <maxim@codesourcery.com>
29508 Joseph Myers <joseph@codesourcery.com>
29509
29510 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29511 if needed for __stack_chk_guard.
29512
bc7e1c36
RM
295132011-09-19 Roland McGrath <roland@hack.frob.com>
29514
ecb1482f
RM
29515 * sysdeps/posix/spawni.c (script_execute): Always define it.
29516 It will be optimized away if unused.
29517 (maybe_script_execute): New function.
29518 (__spawni): Call it.
29519
bc7e1c36
RM
29520 * Makerules: Don't include tls.make.
29521 (config-tls): Always set to thread.
29522 * tls.make.c: File removed.
29523
1c3b002b
MF
295242011-09-19 Mike Frysinger <vapier@gentoo.org>
29525
29526 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29527 * config.make.in (CPPFLAGS-config): New substituted variable.
29528
2840865d
UD
295292011-09-15 Ulrich Drepper <drepper@gmail.com>
29530
88738eb6
UD
29531 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29532
cbf645a6 29533 [BZ #13192]
2840865d
UD
29534 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29535 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29536
b402e91a
RM
295372011-09-15 Roland McGrath <roland@hack.frob.com>
29538
29539 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29540 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29541 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29542 (CALL_FAIL): Likewise.
29543 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29544 (CALL_FAIL): Macro removed.
29545 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29546
4c1a1f71
UD
295472011-09-15 Ulrich Drepper <drepper@gmail.com>
29548
29549 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29550 for __FINITE_MATH_ONLY__ == 1.
29551
edc121be
AS
295522011-09-15 Andreas Schwab <schwab@redhat.com>
29553
29554 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29555 __ieee754_sqrt instead of sqrt.
29556 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29557 __ieee754_sqrtf instead of sqrtf.
29558 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29559 __floorf instead of floorf.
29560 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29561 __floorf, __truncf instead of floorf, truncf.
29562
cd205654
UD
295632011-09-14 Ulrich Drepper <drepper@gmail.com>
29564
ee4d0315
UD
29565 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29566
cd205654
UD
29567 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29568 __extern_always_inline.
29569 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29570 32-bit.
29571
48b67d71
AS
295722011-09-14 Andreas Schwab <schwab@redhat.com>
29573
29574 * elf/rtld.c (dl_main): Also relocate in dependency order when
29575 doing symbol dependency testing.
29576
1ae12c75
AS
295772011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29578
29579 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29580 Always define `refsym'.
29581
995a80df
AS
295822011-09-13 Andreas Schwab <schwab@redhat.com>
29583
e529793b
AS
29584 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29585 (__FD_ELT): Renamed from __FDELT.
29586 * misc/bits/select2.h (__FD_ELT): Likewise.
29587 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29588 __FD_MASK instead of __FDELT, __FDMASK.
29589 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29590 Likewise.
29591 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29592 Likewise.
29593
52d4fef8
AS
29594 * elf/Makefile (gen-ldd): Fix pattern.
29595
995a80df
AS
29596 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29597 (init_tls): Likewise.
29598
8682f8b0
UD
295992011-09-12 Ulrich Drepper <drepper@gmail.com>
29600
29601 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29602
de82006d
AS
296032011-09-12 Andreas Schwab <schwab@redhat.com>
29604
a7c8e6a1
AS
29605 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29606 `struct cmsghdr *' instead of `void *'.
29607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29608 Likewise.
29609
0f31fe77
AS
296102011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29611
29612 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29613 if non-absolute.
29614 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29615 ldd_rewrite_script.
0f31fe77 29616
32b4c839
UD
296172011-09-11 Ulrich Drepper <drepper@gmail.com>
29618
83cd1420
UD
29619 * configure.in: Remove --with-tls option.
29620 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29621 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29622 out in case it is missing.
29623 * sysdeps/ia64/elf/configure.in: Likewise.
29624 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29625 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29626 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29627 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29628 * sysdeps/sh/elf/configure.in: Likewise.
29629 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29630 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29631 * sysdeps/x86_64/elf/configure.in: Likewise.
29632 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29633 * sysdeps/mach/hurd/tls.h: Likewise.
29634
633f745d
UD
29635 [BZ #13067]
29636 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29637
f318beb8
UD
29638 [BZ #13090]
29639 * configure.in: Fix use of AC_INIT.
29640
32b4c839
UD
29641 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29642
3ce1f295
UD
296432011-09-10 Ulrich Drepper <drepper@gmail.com>
29644
bb016596
UD
29645 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29646 __set_errno.
8e58439c
UD
29647 * malloc/hooks.c: Likewise.
29648
aebae053 29649 [BZ #11929]
02d46fc4
UD
29650 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29651 variables statically.
29652 (narenas): Initialize.
29653 (list_lock): Initialize.
bb016596
UD
29654 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29655 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29656 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29657 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29658 Add initializers to main_arena and mp_.
29659 (malloc_state): Remove pagesize member. Change all users to use
29660 GLRO(dl_pagesize).
29661
29662 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29663 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29664 is always initialized.
29665
22a89187
UD
29666 * malloc/malloc.c: Removed unused configurations and dead code.
29667 * malloc/arena.c: Likewise.
29668 * malloc/hooks.c: Likewise.
02d46fc4 29669 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29670
d063d164
UD
29671 * include/tls.h: Removed. USE___THREAD must always be defined.
29672 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29673 * elf/dl-libc.c: Likewise.
29674 * elf/dl-tsd.c: Likewise.
29675 * include/errno.h: Likewise.
29676 * include/netdb.h: Likewise.
29677 * include/resolv.h: Likewise.
29678 * inet/herrno-loc.c: Likewise.
29679 * inet/herrno.c: Likewise.
29680 * malloc/arena.c: Likewise.
29681 * malloc/hooks.c: Likewise.
29682 * malloc/malloc.c: Likewise.
29683 * resolv/res-state.c: Likewise.
29684 * resolv/res_libc.c: Likewise.
29685 * sysdeps/i386/dl-machine.h: Likewise.
29686 * sysdeps/ia64/dl-machine.h: Likewise.
29687 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29688 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29689 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29690 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29691 * sysdeps/sh/dl-machine.h: Likewise.
29692 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29693 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29694 * sysdeps/unix/i386/sysdep.S: Likewise.
29695 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29696 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29697 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29698 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29699 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29700 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29701 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29703 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29704 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29705 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29706 * sysdeps/x86_64/dl-machine.h: Likewise.
29707 * tls.make.c: Likewise.
29708
3ce1f295
UD
29709 * configure.in: Remove --with-__thread option. Make tests for
29710 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29711 tls_model attribute fail if no support is available. Remove
29712 USE_IN_LIBIO.
29713 * Makeconfig: Adjust for dropped configure option. All features are
29714 now mandatory.
29715 * Makerules: Likewise.
29716 * Versions.def: Likewise.
29717 * argp/argp-fmtstream.c: Likewise.
29718 * argp/argp-fmtstream.h: Likewise.
29719 * argp/argp-help.c: Likewise.
29720 * assert/assert.c: Likewise.
29721 * config.h.in: Likewise.
29722 * config.make.in: Likewise.
29723 * configure: Likewise.
29724 * configure.in: Likewise.
29725 * csu/Versions: Likewise.
29726 * csu/init.c: Likewise.
29727 * elf/tst-audit2.c: Likewise.
29728 * elf/tst-tls10.c: Likewise.
29729 * elf/tst-tls10.h: Likewise.
29730 * elf/tst-tls11.c: Likewise.
29731 * elf/tst-tls12.c: Likewise.
29732 * elf/tst-tls14.c: Likewise.
29733 * elf/tst-tlsmod11.c: Likewise.
29734 * elf/tst-tlsmod12.c: Likewise.
29735 * elf/tst-tlsmod13.c: Likewise.
29736 * elf/tst-tlsmod13a.c: Likewise.
29737 * elf/tst-tlsmod14a.c: Likewise.
29738 * elf/tst-tlsmod15b.c: Likewise.
29739 * elf/tst-tlsmod16a.c: Likewise.
29740 * elf/tst-tlsmod16b.c: Likewise.
29741 * elf/tst-tlsmod7.c: Likewise.
29742 * elf/tst-tlsmod8.c: Likewise.
29743 * elf/tst-tlsmod9.c: Likewise.
29744 * gmon/gmon.c: Likewise.
29745 * grp/fgetgrent_r.c: Likewise.
29746 * grp/putgrent.c: Likewise.
29747 * hurd/fopenport.c: Likewise.
29748 * include/libc-symbols.h: Likewise.
29749 * include/tls.h: Likewise.
29750 * intl/gettextP.h: Likewise.
29751 * intl/loadinfo.h: Likewise.
29752 * locale/global-locale.c: Likewise.
29753 * locale/localeinfo.h: Likewise.
29754 * mach/devstream.c: Likewise.
29755 * malloc/arena.c: Likewise.
29756 * malloc/set-freeres.c: Likewise.
29757 * misc/err.c: Likewise.
29758 * misc/getttyent.c: Likewise.
29759 * misc/mntent_r.c: Likewise.
29760 * posix/getopt.c: Likewise.
29761 * posix/wordexp.c: Likewise.
29762 * pwd/fgetpwent_r.c: Likewise.
29763 * resolv/Versions: Likewise.
29764 * resolv/res_hconf.c: Likewise.
29765 * shadow/fgetspent_r.c: Likewise.
29766 * shadow/putspent.c: Likewise.
29767 * stdio-common/printf_fphex.c: Likewise.
29768 * stdio-common/tmpfile.c: Likewise.
29769 * stdlib/abort.c: Likewise.
29770 * stdlib/fmtmsg.c: Likewise.
29771 * sunrpc/auth_unix.c: Likewise.
29772 * sunrpc/clnt_perr.c: Likewise.
29773 * sunrpc/clnt_tcp.c: Likewise.
29774 * sunrpc/clnt_udp.c: Likewise.
29775 * sunrpc/clnt_unix.c: Likewise.
29776 * sunrpc/openchild.c: Likewise.
29777 * sunrpc/svc_simple.c: Likewise.
29778 * sunrpc/svc_tcp.c: Likewise.
29779 * sunrpc/svc_udp.c: Likewise.
29780 * sunrpc/svc_unix.c: Likewise.
29781 * sunrpc/xdr.c: Likewise.
29782 * sunrpc/xdr_array.c: Likewise.
29783 * sunrpc/xdr_rec.c: Likewise.
29784 * sunrpc/xdr_ref.c: Likewise.
29785 * sunrpc/xdr_stdio.c: Likewise.
29786
1248c1c4
PB
297872011-09-09 Ulrich Drepper <drepper@gmail.com>
29788
29789 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29790
297912011-07-03 Andreas Jaeger <aj@suse.de>
29792
29793 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29794 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29795 regenerate with gen-libm-tests.pl.
29796
297972010-05-12 Petr Baudis <pasky@suse.cz>
29798
29799 [BZ #11589]
29800 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29801 around j0() zero points by switching to j1().
29802 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29803 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29804 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29805 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29806
f22e1074
UD
298072011-09-09 Ulrich Drepper <drepper@gmail.com>
29808
f19009c1
UD
29809 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29810 instead of 0.
29811 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29812 instead of 0.
f19009c1
UD
29813 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29814 Patch in part by Pavel Roskin <proski@gnu.org>.
29815
3f8cc204
UD
29816 [BZ #13138]
29817 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29818 realloc.
29819 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29820 Free memory block if necessary.
29821
f22e1074
UD
29822 [BZ #12847]
29823 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29824 be NULL. Don't lock in this case.
29825
0a2349f9
RM
298262011-09-09 Roland McGrath <roland@hack.frob.com>
29827
29828 * elf/elf.h (ELFOSABI_GNU): New macro.
29829 (ELFOSABI_LINUX): Define to that.
29830
f3cdd467
DZ
298312011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29832
29833 * string/strncat.c (strncat): Undef the symbol in case it has been
29834 defined in bits/string.h.
29835
74718d13
UD
298362011-09-09 Ulrich Drepper <drepper@gmail.com>
29837
633e9e0f
UD
29838 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29839
0a2349f9 29840 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29841 link map.
29842
f9924780
AJ
298432011-08-17 Andreas Jaeger <aj@suse.de>
29844
29845 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29846
7f5517aa
PP
298472011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29848 Ian Lance Taylor <iant@google.com>
29849
29850 * math/libm-test.inc (lround_test): New testcase.
29851 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29852
762011fe
UD
298532011-09-08 Ulrich Drepper <drepper@gmail.com>
29854
92963737
UD
29855 * Makefile: Remove support for automatic cvs check-ins.
29856 * Makerules: Likewise.
29857 * config.make.in: Likewise.
29858 * configure.in: Likewise.
29859 * intl/Makefile: Likewise.
29860 * locale/Makefile: Likewise.
29861 * po/Makefile: Likewise.
29862 * posix/Makefile: Likewise.
29863 * sysdeps/gnu/Makefile: Likewise.
29864 * sysdeps/mach/hurd/Makefile: Likewise.
29865 * sysdeps/sparc/sparc32/Makefile: Likewise.
29866
b0727fd8
JS
29867 [BZ #13118]
29868 * posix/Makefile (bug-regex32-ENV): Define.
29869 Patch by John Stanley <jpsinthemix@verizon.net>.
29870
a0f33f99
UD
29871 * misc/Makefile (headers): Add bits/select2.h.
29872 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29873 * misc/bits/select2.h: New file.
29874 * include/bits/select2.h: New file.
29875 * debug/Makefile (routines): Add fdelt_chk.
29876 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29877 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29878 FD_ISSET.
29879 * debug/fdelt_chk.c: New file.
29880
762011fe
UD
29881 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29882 * wcsmbs/test-wmemcmp.c: Likewise.
29883 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29884 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29885
298862011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29887
29888 * string/Makefile (strop-tests): Add memcmp.
29889 * string/test-wmemcmp.c: New file.
29890 * string/test-memcmp.c: Add wmemcmp support.
29891
7f513ec8
RM
298922011-09-08 Roland McGrath <roland@hack.frob.com>
29893
0442afb4
RM
29894 [BZ #13153]
29895 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29896 2011-07-19 change.
29897
7f513ec8
RM
29898 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29899 garbage value in a __mach_port_mod_refs call in the cases of the
29900 task-self and thread-self ports.
29901
a12b2239
ST
299022011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29903
29904 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29905
610f9ab4
AS
299062011-09-08 Andreas Schwab <schwab@redhat.com>
29907
7f513ec8 29908 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29909
48882a1a
LD
299102011-09-07 Ulrich Drepper <drepper@gmail.com>
29911
b49865be
UD
29912 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29913
fdc86bc9
UD
29914 * elf/dl-libc.c (dlerror_run): Pass back error code from
29915 dl_catch_error.
29916
c966526a
UD
29917 [BZ #13123]
29918 * elf/dl-load.c (lose): Free l_origin if it is valid.
29919
48882a1a
LD
29920 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29921 names.
29922 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29923 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29924 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29925 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29926 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29927 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29928
77a2a8b4
AZ
299292011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29930
29931 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29932 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29933 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29934 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29935 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29936 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29937 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29938 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29939 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29940 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29941
24f579d8
AM
299422011-08-15 Alan Modra <amodra@gmail.com>
29943
29944 [BZ #13092]
29945 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29946 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29947 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29948 ppc_mcount to static-only-routines.
29949 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29950 __mcount_internal.
29951 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29952 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29953
3d4837df
UD
299542011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29955
29956 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29957 for finite and infinity parameters.
29958
22700377
WS
299592011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29960
29961 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29962 and add nop instructions for throughput optimization.
29963 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29964
5025581e
WS
299652011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29966
29967 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29968 aligned copy for power7 with vector-scalar instructions.
29969 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29970
08a300c9
L
299712011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29972
29973 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29974 AVX check.
29975
59178ef9
AS
299762011-09-07 Andreas Schwab <schwab@redhat.com>
29977
29978 [BZ #13144]
29979 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29980 last change.
29981
e38ba7ab
UD
299822011-09-07 Ulrich Drepper <drepper@gmail.com>
29983
29984 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29985 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29986 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29987 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29988 clock_gettime.
29989
d53a73ac
UD
299902011-09-06 Ulrich Drepper <drepper@gmail.com>
29991
fc8bffcc
UD
29992 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29993 Forgot to demangle the pointer.
29994
ceaa0c5d
UD
29995 * sysdeps/i386/sysdep.h: Define atom_text_section.
29996 * sysdeps/x86_64/sysdep.h: Likewise.
29997 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29998 section with atom_text_section.
29999 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30000 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30001 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30002 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30003 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30004
a77d3c17
UD
30005 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30006 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30007 already be defined. Change to take two parameters and don't assign
30008 result to variable. Adjust all users.
30009 Define INTERNAL_GETTIME if not already defined.
30010 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30011 call.
30012 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30013 HAVE_CLOCK_GETTIME_VSYSCALL.
30014 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30015
d53a73ac
UD
30016 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30017 gettimeofday vsyscall, just use time.
30018
a8f84144
AS
300192011-09-06 Andreas Schwab <schwab@redhat.com>
30020
30021 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30022 <errno.h>.
30023
ef606249
UD
300242011-09-06 Ulrich Drepper <drepper@gmail.com>
30025
30026 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30027 syscall on x86-64.
30028 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30029 syscall.
30030 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30031 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30032 syscall if possible.
30033
6585cb60
UD
300342011-09-05 Ulrich Drepper <drepper@gmail.com>
30035
30036 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30037 e_ident. Don't pass to find_mapsXX.
30038 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30039
a5f524e4
LD
300402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30041
30042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30043 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30044 * sysdeps/x86_64/multiarch/strchr.S: Update.
30045 Check bit_slow_BSF bit.
30046 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30047 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30048 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30049
554881ef
UD
300502011-09-05 Ulrich Drepper <drepper@gmail.com>
30051
d96de963
UD
30052 [BZ #13134]
30053 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30054 before glibc 2.15.
30055 (tryshell): Define.
30056 (__spawni): Change last parameter to be flag. Test
30057 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30058 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30059 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30060 * posix/spawni.c: Likewise.
30061 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30062 * posix/spawnp.c: Likewise. Change normal version to use
30063 SPAWN_XFLAGS_USE_PATH.
30064 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30065 SPAWN_XFLAGS_TRY_SHELL.
30066
d48e5868
UD
30067 [BZ #13150]
30068 * posix/glob.h: Remove gcc 1.x support.
30069
554881ef
UD
30070 [BZ #13068]
30071 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30072
693fb948
LD
300732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30074
30075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30076 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30077 strrchr-sse2-bsf
30078 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30079 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30080 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30081 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30082 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30083 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30084
1b48c537
UD
300852011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30086
49d42c37
UD
30087 * sysdeps/x86_64/wcscmp.S: New file.
30088
1b48c537
UD
30089 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30090 wcscmp-c wcscmp-sse2
30091 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30092 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30093 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30094 * wcsmbs/wcscmp.c: Allow renaming.
30095
15c95c5d
DM
300962011-09-05 David S. Miller <davem@davemloft.net>
30097
30098 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30099 stack slot, rather than the struct return pointer slot.
30100 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30101 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30103 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30104
2f0ad8f3
UD
301052011-09-05 Ulrich Drepper <drepper@gmail.com>
30106
d88ae418
UD
30107 * po/ja.po: Update from translation team.
30108
2f0ad8f3
UD
30109 [BZ #13144]
30110 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30111 kernel in 64-bit binaries.
30112
5f4318d1
DM
301132011-09-01 David S. Miller <davem@davemloft.net>
30114
30115 * elf/elf.h (HWCAP_SPARC_*): Move to..
30116 * sysdeps/sparc/sysdep.h: this new file and add new values.
30117 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30118 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30119 _DL_HWCAP_COUNT to 24.
30120 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30121 entries.
30122 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30123 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30124 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30125 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30126 instead of magic constants.
30127 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30128
3ba57516
DM
301292011-08-31 David S. Miller <davem@davemloft.net>
30130
30131 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30132 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30133 Reimplement to do errno handling inline.
30134 (SYSCALL_ERROR_HANDLER): New macro.
30135 (__SYSCALL_STRING): Do not do errno handling in asm.
30136 (__CLONE_SYSCALL_STRING): Delete.
30137 (__INTERNAL_SYSCALL_STRING): Delete.
30138 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30139 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30140 (PSEUDO): Reimplement to do errno handling inline.
30141 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30142 (SYSCALL_ERROR_HANDLER): New macro.
30143 (__SYSCALL_STRING): Do not do errno handling in asm.
30144 (__CLONE_SYSCALL_STRING): Delete.
30145 (__INTERNAL_SYSCALL_STRING): Delete.
30146 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30147 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30148 i386.
30149 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30150 (inline_syscall*): Add 'err' argument.
30151 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30152 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30153 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30154 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30155
30156 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30157 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30158
2bc17433
AS
301592011-08-30 Andreas Schwab <schwab@redhat.com>
30160
30161 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30162
fbeb5f4d
JO
301632011-08-29 Jiri Olsa <jolsa@redhat.com>
30164
30165 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30166 directive.
30167
ad69cc26
DM
301682011-08-24 David S. Miller <davem@davemloft.net>
30169
30170 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30171
39dd69df
AS
301722011-08-24 Andreas Schwab <schwab@redhat.com>
30173
30174 * elf/Makefile: Add rules to build and run unload8 test.
30175 * elf/unload8.c: New file.
30176 * elf/unload8mod1.c: New file.
30177 * elf/unload8mod1x.c: New file.
30178 * elf/unload8mod2.c: New file.
30179 * elf/unload8mod3.c: New file.
30180
30181 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30182 it wasn't used.
30183
2c0b250a
DM
301842011-08-23 David S. Miller <davem@davemloft.net>
30185
30186 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30187 subtract stack bias.
30188 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30189 %sp not %fp in calculations.
30190 (_JMPBUF_UNWINDS_ADJ): Likewise.
30191
22044b48
DM
30192 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30193 (aio_suspend): Call it to force an exception region around the
30194 AIO_MISC_WAIT() invocation.
30195
2cae4995
AS
301962011-08-23 Andreas Schwab <schwab@redhat.com>
30197
30198 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30199 backslash.
30200
873a772e
AJ
302012011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30202
30203 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30204 protection macro.
30205 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30206 and <dl-machine.h>.
30207 (Elf64_FuncDesc): Remove.
30208
25ad0df1
DM
302092011-08-22 David S. Miller <davem@davemloft.net>
30210
30211 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30212 sigaltstack check, add missing cfi directives.
30213 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30214 missing cfi directives, and sigaltstack handling.
30215
e888bcbe
AS
302162011-08-16 Andreas Schwab <schwab@redhat.com>
30217
30218 [BZ #11724]
30219 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30220 object is seen twice.
30221 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30222
30223 * elf/Makefile (distribute): Add tst-initorder2.c.
30224 (tests): Add tst-initorder2.
30225 (modules-names): Add tst-initorder2a tst-initorder2b
30226 tst-initorder2c tst-initorder2d. Add rules to build them.
30227 ($(objpfx)tst-initorder2.out): New rule.
30228 * elf/tst-initorder2.c: New file.
30229 * elf/tst-initorder2.exp: New file.
30230
87162f46
AS
302312011-08-22 Andreas Schwab <schwab@redhat.com>
30232
70538b7f
AS
30233 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30234
f55ffe58
AS
30235 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30236 dependencies back to end of function.
30237
87162f46
AS
30238 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30239 $(elfobjdir)/ld.so.
30240
91b392a4
UD
302412011-08-21 Ulrich Drepper <drepper@gmail.com>
30242
30243 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30244 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30245 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30246 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30247 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30248 of __vdso_gettimeofday.
30249 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30250 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30251 attribute_hidden.
30252 (_libc_vdso_platform_setup): Remove initialization of
30253 __vdso_gettimeofday and __vdso_time.
30254
5c43483f
UD
302552011-08-20 Ulrich Drepper <drepper@gmail.com>
30256
775a77e7
UD
30257 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30258 and fgetc_unlocked.
30259 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30260 getc_unlocked.
89f447ed 30261
49c74ba9
UD
30262 * elf/dl-open.c (add_to_global): Report additions to the global scope
30263 for LD_DEBUG=scopes.
30264 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 30265 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 30266
5c43483f
UD
30267 [BZ #13114]
30268 * stdio-common/Makefile (tests): Add bug24.
30269 * stdio-common/bug24.c: New file.
30270
a101b025
AJ
302712011-08-19 Andreas Jaeger <aj@suse.de>
30272
30273 [BZ #13114]
30274 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30275 non-existant file when using close-on-exec mode.
30276
c88f1766
UD
302772011-08-20 Ulrich Drepper <drepper@gmail.com>
30278
0276a718
UD
30279 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30280 the very first instruction.
30281
c88f1766
UD
30282 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30283 the CFI state in the end.
30284 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30285 inclusion of dl-trampoline.h.
30286 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30287
51ccffa0
AS
302882011-08-19 Andreas Schwab <schwab@redhat.com>
30289
94d7165f
AS
30290 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30291 expectations for long double.
30292
51ccffa0
AS
30293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30294 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30295
fd708658 302962011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
30297
30298 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30299 artificual limit depends upon the system page size.
30300
44f0a71e
UD
303012011-08-17 Ulrich Drepper <drepper@gmail.com>
30302
30303 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30304 * resolv/Makefile: Define CFLAGS-libresolv.
30305
8de79a24
AS
303062011-08-17 Andreas Schwab <schwab@redhat.com>
30307
30308 * nss/makedb.c (compute_tables): Make variables used in nested
30309 function static.
30310
27724598
UD
303112011-08-17 Ulrich Drepper <drepper@gmail.com>
30312
c5305d88
UD
30313 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30314 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30315 if buffer was too small.
30316
27724598
UD
30317 * elf/pldd.c (main): Attach to all threads in the process.
30318 Rewrite /proc handling to use *at functions.
30319
076fe015
UD
303202011-08-16 Ulrich Drepper <drepper@gmail.com>
30321
174baab3
UD
30322 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30323 specifies first scope to show.
30324 (dl_open_worker): Update callers. Move printing scope of new
30325 object to before the relocation.
44f0a71e 30326 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
30327 * sysdeps/generic/ldsodefs.h: Update declaration.
30328
076fe015
UD
30329 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30330 string for the scope number.
30331
a60df2c3
UD
303322011-08-14 Ulrich Drepper <drepper@gmail.com>
30333
30334 * nscd/servicescache.c (cache_addserv): Make sure written is always
30335 initialized.
30336
5e4287d1
RM
303372011-08-14 Roland McGrath <roland@hack.frob.com>
30338
85ae0589
RM
30339 * sysdeps/i386/i486/bits/atomic.h
30340 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30341 statement expression, so as to suppress "set but not used" warning.
30342 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30343
69f63097
RM
30344 * string/strncat.c (STRNCAT): Use prototype definition.
30345
675456ef
RM
30346 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30347 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30348 -Iprograms here.
30349 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30350 (localedef-modules): Add localedef.
30351 (locale-modules): Add locale.
30352
5e4287d1
RM
30353 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30354 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30355 to avoid a warning.
30356
9c96ff23
DM
303572011-08-14 David S. Miller <davem@davemloft.net>
30358
30359 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30360 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30361
f9ddf089
UD
303622011-08-13 Ulrich Drepper <drepper@gmail.com>
30363
44f0a71e 30364 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
30365 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30366 * elf/rtld.c (dl_main): Set l_name of vDSO.
30367 Call _dl_show_scope when DL_DEBUG_SCOPES.
30368 (process_dl_debug): Recognize scopes flag and also set it for all.
30369 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30370 Declare _dl_show_scope.
30371
1dc27704
UD
30372 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30373 (do_dlopen): Pass caller_dlopen to dl_open.
30374 (__libc_dlopen_mode): Initialize caller_dlopen.
30375
f9ddf089
UD
30376 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30377 of libc. Make tolower call locale-independent. Optimize a bit by
30378 using isdigit instead of isalnum.
30379 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30380
9ac533d3
UD
303812011-08-12 Ulrich Drepper <drepper@gmail.com>
30382
30383 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30384 was a dependency or dynamically loaded.
30385
89edf2e9
UD
303862011-08-11 Ulrich Drepper <drepper@gmail.com>
30387
8e999d29
UD
30388 * intl/l10nflist.c: Allow architecture-specific pop function.
30389 * sysdeps/x86_64/l10nflist.c: New file.
30390
89edf2e9
UD
30391 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30392 classification.
30393
14d96785
AS
303942011-08-10 Andreas Schwab <schwab@redhat.com>
30395
30396 * include/dirent.h: Add libc_hidden_proto for scandirat and
30397 scandirat64. Don't declare __scandirat64.
30398 * dirent/scandirat.c: Add libc_hidden_def.
30399 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30400 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30401
6761ac04
DM
304022011-08-10 David S. Miller <davem@davemloft.net>
30403
30404 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30405 enum.
30406 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30407 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30408 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30409
c55fbd1e
UD
304102011-08-09 Ulrich Drepper <drepper@gmail.com>
30411
30412 * Versions.def [libc]: Add GLIBC_2.15.
30413 * dirent/Makefile (routines): Add scandirat and scandirat64.
30414 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30415 GLIBC_2.15.
30416 * dirent/dirent.h: Declare scandirat and scandirat64.
30417 * dirent/scandirat.c: New file.
30418 * dirent/scandirat64.c: New file.
30419 * sysdeps/wordsize-64/scandirat.c: New file.
30420 * sysdeps/wordsize-64/scandirat64.c: New file.
30421 * dirent/opendir.c: Define opendirat.
30422 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30423 using scandirat.
30424 * dirent/scandir64.c: Adjust for scandir.c change.
30425 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30426 __scandirat64, and __scandir_cancel_handler.
30427 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30428 additional parameter and use openat instead of open (outside of ld.so).
30429 Add new __opendir as wrapper around __opendirat.
30430 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30431 here without requiring old scandirat implementation.
30432
879165f2
UD
304332011-08-08 Ulrich Drepper <drepper@gmail.com>
30434
30435 * dirent/scandir.c (cancel_handler): Renamed to
30436 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30437 defined. Adjust users.
30438 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30439 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30440
cb7e923b
UD
304412011-08-04 Ulrich Drepper <drepper@gmail.com>
30442
16292edd
UD
30443 * string/test-string.h (IMPL): Use __STRING to expand name and then
30444 stringify it.
30445
cb7e923b
UD
30446 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30447 of cleanups.
30448
cff82933
LD
304492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30450
30451 * string/Makefile: Update.
30452 (strop-tests): Append strncat.
30453 * string/test-wcscmp.c: New file.
30454 New comprehensive test for wcscmp.
30455 * string/test-strcmp.c: Update.
30456 (WIDE): New define.
30457
9be9bfcc
AS
304582011-07-22 Andreas Schwab <schwab@redhat.com>
30459
30460 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30461 line.
30462
2e96f1c7
AS
304632011-07-26 Andreas Schwab <schwab@redhat.com>
30464
30465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30466 encoding to ACE if AI_IDN.
30467
85188888
JJ
304682011-08-01 Jakub Jelinek <jakub@redhat.com>
30469
30470 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30471 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30472
5fa16e9b
LD
304732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30474
30475 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30476 Fix overflow bug in strncat.
30477 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30478
30479 * string/test-strncat.c: Update.
30480 Add new tests for checking overflow bugs.
30481
304822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30483
30484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30485 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30486 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30487 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30488 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30489 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30490 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30491 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30492 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30493
30494 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30495 (USE_AS_STRCAT): Define.
30496 Add strcat and strncat support.
30497 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30498
8c1a459f
AS
304992011-07-25 Andreas Schwab <schwab@redhat.com>
30500
30501 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30502 __n bigger than INT_MAX+1.
30503 (__strncmp_g): Likewise.
30504
bba33c28
UD
305052011-07-23 Ulrich Drepper <drepper@gmail.com>
30506
798be72d
UD
30507 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30508 * libio/stido.h: Likewise.
30509
8accd4dc
UD
30510 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30511 (AF_NFC): Define.
30512 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30513 (AF_NFC): Define.
30514
cbff0d96
UD
30515 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30516 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30517 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30518 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30519 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30520
9191c04a
UD
30521 [BZ #13021]
30522 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30523 installed.
30524
bba33c28
UD
30525 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30526 typo.
30527 (_dl_x86_64_save_sse): Likewise.
30528
90f139dd
UD
305292011-07-22 Ulrich Drepper <drepper@gmail.com>
30530
1aae088a
UD
30531 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30532 OSXSAVE.
30533 (_dl_x86_64_save_sse): Likewise.
30534
8e2045f5
UD
30535 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30536
90f139dd
UD
30537 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30538
1d002f25
AS
305392011-07-21 Andreas Schwab <schwab@redhat.com>
30540
30541 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30542 change.
30543 (_dl_x86_64_save_sse): Use correct AVX check.
30544
21137f89
UD
305452011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30546
30547 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30548 bug in strncpy/strncat.
30549 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30550
a65c0b7a
UD
305512011-07-21 Ulrich Drepper <drepper@gmail.com>
30552
30553 * string/tester.c (test_strcat): Add tests for different alignments
30554 of source and destination.
30555 (test_strncat): Likewise.
30556
6986b98a
UD
305572011-07-20 Ulrich Drepper <drepper@gmail.com>
30558
90bb2039
UD
30559 [BZ #12852]
30560 * posix/glob.c (glob): Check passed in values before using them in
30561 expressions to avoid some overflows.
30562 (glob_in_dir): Likewise.
30563
5644ef54
UD
30564 [BZ #13007]
30565 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30566 check for AVX enablement so that we don't crash with old kernels and
30567 new hardware.
30568 * elf/tst-audit4.c: Add same checks here.
30569 * elf/tst-audit6.c: Likewise.
30570
30571 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 30572
bfc9dc9b
AS
305732011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30574
30575 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30576
702e64bb
UD
305772011-07-20 Ulrich Drepper <drepper@gmail.com>
30578
30579 * po/cs.po: Update from translation team.
30580 * po/bg.po: Likewise.
30581
295e904f
MP
305822011-07-12 Marek Polacek <mpolacek@redhat.com>
30583
30584 * misc/sys/cdefs.h: Add support for const attribute.
30585 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30586 to gnu_dev_{major,minor,makedev} functions.
30587
3ff94596
MP
305882011-07-20 Marek Polacek <mpolacek@redhat.com>
30589
30590 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30591
28b59fca
AS
305922011-07-20 Andreas Schwab <schwab@redhat.com>
30593
30594 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30595 strlen results.
30596
19df733e
AK
305972011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30598
30599 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30600 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30601 register in order to avoid conflicts with the soft frame pointer
30602 being held in r11 when necessary.
30603 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30604 (INTERNAL_VSYSCALL_NCS): Likewise.
30605
c8835729
MP
306062011-07-14 Marek Polacek <mpolacek@redhat.com>
30607
30608 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30609 * elf/dl-fini.c (_dl_fini): Adjust caller.
30610 * elf/dl-close.c (_dl_close_worker): Likewise.
30611 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30612
b902330c
MP
306132011-07-15 Marek Polacek <mpolacek@redhat.com>
30614
8991e135
MP
30615 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30616 "aux_cache->nlibs < 0".
30617
b902330c
MP
30618 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30619 in the reload-count case.
30620
99710781
LD
306212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30622
30623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30624 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30625 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30626 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30627 * sysdeps/x86_64/multiarch/strcat.S: New file.
30628 * sysdeps/x86_64/multiarch/strncat.S: New file.
30629 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30630 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30631 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30632 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30633 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30634 (USE_AS_STRCAT): Define.
30635 Add strcat and strncat support.
30636 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30637 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30638 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30639 * string/strncat.c: Update.
30640 (USE_AS_STRNCAT): Define.
30641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30642 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30643 and i7.
30644 * sysdeps/x86_64/multiarch/init-arch.h
30645 (bit_Prefer_PMINUB_for_stringop): New.
30646 (index_Prefer_PMINUB_for_stringop): Likewise.
30647 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30648 bit_Prefer_PMINUB_for_stringop.
30649
7dc6bd90
UD
306502011-07-19 Ulrich Drepper <drepper@gmail.com>
30651
30652 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30653 buffer64.
30654 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30655 of casting of buffer.
30656 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30657 buffer32 and buffer64.
30658 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30659 writes instead of casting of buffer.
30660 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30661 buffer32.
30662 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30663 casting of buffer.
30664
e0e72284
AS
306652011-07-19 Andreas Schwab <schwab@redhat.com>
30666
30667 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30668
feb1eb0b
UD
306692011-07-19 Ulrich Drepper <drepper@gmail.com>
30670
30671 * nscd/nscd.c (termination_handler): Don't do anything for a database
30672 if it has not yet been initialized.
30673
298711ff
UD
306742011-07-18 Ulrich Drepper <drepper@gmail.com>
30675
30676 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30677
306782011-07-15 Marek Polacek <mpolacek@redhat.com>
30679
30680 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30681
f9d68389
UD
306822011-07-18 Ulrich Drepper <drepper@gmail.com>
30683
30684 * po/nl.po: Update from translation team.
30685 * po/sv.po: Likewise.
30686
db290cf5
RM
306872011-07-16 Roland McGrath <roland@hack.frob.com>
30688
30689 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30690 now disallowed by GCC.
5c550700 30691
fd5e21c7
RM
30692 * configure.in (use-default-link): Default to yes if a test -shared
30693 link meets our qualifications.
30694 * configure: Regenerated.
30695
5c550700
RM
30696 * config.make.in (output-format): New variable.
30697 * configure.in: Check for ld --print-output-format support.
30698 * configure: Regenerated.
30699 * Makerules ($(common-objpfx)format.lds)
30700 [$(output-format) != unknown]: Just use $(output-format),
30701 instead of the linker-script munging.
30702
9fa2c032
RM
307032011-07-14 Roland McGrath <roland@hack.frob.com>
30704
a6928d51
RM
30705 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30706 of $(common-objpfx)shlib.lds.
30707 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30708
661607b3
RM
30709 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30710 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30711
9fa2c032
RM
30712 * configure.in (-z relro check): Adjust test code to add a large
30713 writable data section after it.
30714 * configure: Regenerated.
30715
defe9061
RM
307162011-07-11 Roland McGrath <roland@hack.frob.com>
30717
30718 * configure.in (-z relro check): Fix test code to make the variable
30719 truly const.
30720 * configure: Regenerated.
30721
319b9ad4
UD
307222011-07-11 Ulrich Drepper <drepper@gmail.com>
30723
30724 * nscd/nscd.h (struct traced_file): Define.
30725 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30726 elements. Add traced_files.
30727 (inotify_fd): Declare.
30728 (register_traced_file): Declare.
30729 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30730 (inotify_fd): Export.
30731 (resolv_conf_descr): Remove.
30732 (nscd_init): Move inotify descriptor creation to main.
30733 Don't register files for notification here.
30734 (register_traced_file): New function.
30735 (invalidate_cache): Don't use reset_res to determine whether to call
30736 res_init, go through the list of registered files.
30737 (main_loop_poll): The inotify descriptors are now stored in the
30738 structures for the traced files.
30739 (main_loop_epoll): Likewise
30740 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30741 to __nss_disable_nscd.
30742 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30743 for a database anymore. Check the records for all the registered
30744 files instead.
30745 * nss/Makefile (libnss_files-routines): Add files-init.
30746 (libnss_db-routines): Add db-init.
30747 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30748 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30749 * nss/nss_db/db-init.c: New file.
30750 * nss/nss_files/files-init.c: New file.
30751 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30752 __nss_lookup_function.
30753 (__nss_lookup_function): Call nss_load_library.
30754 (nss_load_all_libraries): New function.
30755 (__nss_disable_nscd): Take parameter with callback function for files
30756 to register. Set is_nscd. Load all the DSOs for the NSS modules
30757 used for the cached services.
30758 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30759 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30760 options for features to all the files in nscd.
30761
30762 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30763
23bee3e8
RM
307642011-07-10 Roland McGrath <roland@hack.frob.com>
30765
30766 * csu/elf-init.c (__libc_csu_init): Comment typo.
30767
46a5b7f0
UD
307682011-07-09 Ulrich Drepper <drepper@gmail.com>
30769
30770 * po/pl.po: Update from translation team.
30771 * po/ja.po: Likewise.
30772 * po/ru.po: Likewise.
30773 * po/ko.po: Likewise.
30774 * po/fr.po: Likewise.
30775
d30cf5bb
RM
307762011-07-09 Roland McGrath <roland@hack.frob.com>
30777
113ddea4
RM
30778 * configure.in (.ctors/.dtors header and trailer check):
30779 Use an empirical test on a built program.
30780 * configure: Regenerated.
30781
574920b4
RM
30782 * configure.in (-z relro check): Use an empirical test on a built DSO.
30783 Detect, but do not require, on ia64.
30784 * configure: Regenerated.
30785
d30cf5bb
RM
30786 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30787 Update tests that use readelf to use $READELF instead.
30788 * configure: Regenerated.
30789
8538fdb3
UD
307902011-07-08 Ulrich Drepper <drepper@gmail.com>
30791
30792 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30793 if the result is not used.
30794
04d08991
AJ
307952011-07-05 Andreas Jaeger <aj@suse.de>
30796
30797 [BZ#9696]
30798 * stdlib/tst-strtod.c: Add testcase.
30799
de283087
AD
308002011-07-07 Ulrich Drepper <drepper@gmail.com>
30801
4e5f31c8 30802 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30803 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30804 The latter has a higher limit. Take additional parameter to pass to
30805 the new function.
30806 (__pathconf): Pass file to __statfs_link_max.
30807 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30808 __statfs_link_max.
30809 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30810 __statfs_link_max.
30811
de283087
AD
30812 [BZ #12868]
30813 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30814 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30815 Handle Lustre.
30816 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30817 (__statfs_filesize_max): Likewise.
30818 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30819
c75fa153
AJ
308202011-07-05 Andreas Jaeger <aj@suse.de>
30821
30822 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30823
1a544854
UD
308242011-07-06 Marek Polacek <mpolacek@redhat.com>
30825
30826 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30827 `status' variable.
30828 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30829 Likewise.
30830
6f0eec67
UD
308312011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30832
30833 * Makefile (strop-tests): Add strncat.
30834 * string/test-strncat.c: New file.
30835
aae30307
UD
308362011-06-30 Marek Polacek <mpolacek@redhat.com>
30837
30838 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30839
c0cfb5eb
UD
308402011-06-21 Andreas Jaeger <aj@suse.de>
30841
30842 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30843 Copy rule from iconvdata/Makefile.
30844
01636b21
UD
308452011-07-06 Ulrich Drepper <drepper@gmail.com>
30846
30847 [BZ #12922]
30848 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30849 but no long options are defined, just return 'W'.
30850
9895c8bc
UD
308512011-06-22 Marek Polacek <mpolacek@redhat.com>
30852
30853 [BZ #9696]
30854 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30855
5d4cf042
UD
308562011-07-06 Ulrich Drepper <drepper@gmail.com>
30857
30858 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30859 netgroups to read.
960e5535 30860 (innetgr): Likewise.
5d4cf042 30861
751eb97e
RM
308622011-07-05 Roland McGrath <roland@hack.frob.com>
30863
30864 * config.make.in (install_root): Default to $(DESTDIR).
30865
f15f1e45
UD
308662011-07-05 Ulrich Drepper <drepper@gmail.com>
30867
30868 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30869
4e34ac6a
RM
308702011-07-02 Roland McGrath <roland@hack.frob.com>
30871
5e9b6af4
RM
30872 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30873
84f9ea0f
RM
30874 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30875 containing directory rather than embedding absolute directory names.
30876
ea5ee9f7
RM
30877 * scripts/check-local-headers.sh: Rewritten using awk.
30878 Match by word, not by line. Print error messages for matches.
30879 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30880
1b74661a
RM
30881 * Makerules [shlib-lds-flags empty]:
30882 ($(common-objpfx)libc_pic.opts): New target.
30883 ($(common-objpfx)libc_pic.os.clean): New target.
30884 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30885
30886 * config.make.in (OBJCOPY): New variable.
30887 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30888 * configure: Regenerated.
30889
f781ef40
RM
30890 * config.make.in (use-default-link): New variable.
30891 * configure.in (use_default_link): Grok --with-default-link to set it.
30892 * configure: Regenerated.
30893 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30894 (shlib-lds, shlib-lds-flags): Define to empty.
30895
2d4fa81e
RM
30896 * Makerules (shlib-lds): New variable.
30897 (shlib-lds-flags): New variable.
30898 (build-shlib, build-moduile, build-module-asneeded): Use it.
30899 ($(common-objpfx)libc.so): Use $(shlib-lds).
30900 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30901 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30902
31fffa6b
RM
30903 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30904 DT_FLAGS/DT_FLAGS_1 with zero flags.
30905
4e34ac6a
RM
30906 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30907 linker script munging.
30908
fcfc776b
UD
309092011-07-02 Ulrich Drepper <drepper@gmail.com>
30910
30911 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30912 as 128-bit value.
30913 * crypt/sha512.c (sha512_process_block): Perform total addition using
30914 128-bit if possible.
30915 (__sha512_finish_ctx): Likewise.
30916 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30917 as 64-bit value.
30918 * crypt/sha256.c (SWAP64): Define.
30919 (sha256_process_block): Perform total addition using 64-bit if
30920 possible.
30921 (__sha256_finish_ctx): Likewise.
30922
99231d9a
UD
309232011-07-01 Ulrich Drepper <drepper@gmail.com>
30924
30925 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30926 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30927 * nscd/hstcache.c (cache_addhst): Likewise.
30928 * nscd/grpcache.c (cache_addgr): Likewise.
30929 * nscd/aicache.c (addhstaiX): Likewise
30930 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30931
445b4a53
TK
309322011-07-01 Thorsten Kukuk <kukuk@suse.de>
30933
30934 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30935 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30936 * nscd/hstcache.c (cache_addhst): Likewise.
30937 * nscd/grpcache.c (cache_addgr): Likewise.
30938 * nscd/aicache.c (addhstaiX): Likewise
30939
6d4d8e8e
AS
309402011-07-01 Andreas Schwab <schwab@redhat.com>
30941
30942 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30943 domain only when needed.
30944
89f654c5
AS
309452011-06-30 Andreas Schwab <schwab@redhat.com>
30946
30947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30948 is always restored.
30949
cf3b23ff
UD
309502011-06-29 Ulrich Drepper <drepper@gmail.com>
30951
30952 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30953 are re-adding the entry.
30954 * nscd/servicescache.c (cache_addserv): Likewise.
30955
751626f9
AJ
309562011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30957
30958 * sysdeps/generic/dl-irel.h: fix protection against multiple
30959 inclusions.
30960 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30961
9113ea1f
UD
309622011-06-28 Ulrich Drepper <drepper@gmail.com>
30963
5c0b8d90
UD
30964 [BZ #12935]
30965 * malloc/memusage.sh: Fix quoting in message.
30966 * debug/xtrace.sh: Likewise.
30967
9113ea1f
UD
30968 * configure.in: Remove support for --experimental-malloc option, make
30969 it the default.
30970 * config.make.in: Likewise.
30971 * malloc/Makefile: Likewise.
30972
a4172181
AS
309732011-06-27 Andreas Schwab <schwab@redhat.com>
30974
30975 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30976 two-byte characters.
30977
78a7eee7
RM
309782011-06-27 Roland McGrath <roland@hack.frob.com>
30979
62bede13
RM
30980 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30981 AC_CACHE_CHECK invocation.
30982 * configure: Regenerated.
30983
78a7eee7
RM
30984 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30985
5ce33a62
UD
309862011-06-27 Ulrich Drepper <drepper@gmail.com>
30987
034807a9
UD
30988 [BZ #12350]
30989 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30990 bit from old_res_options.
30991
4902da17
UD
30992 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30993
5ce33a62
UD
30994 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30995 value type for setfct.
30996
c2344f56
L
309972011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30998
30999 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31000 __gettimeofday instead of gettimeofday.
31001
68468076
UD
310022011-06-26 Ulrich Drepper <drepper@gmail.com>
31003
31004 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31005
acb0d739
L
310062011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31007
31008 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31009
31010 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31011 info.
31012
8912479f
L
310132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31014
31015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31016 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31017 strcpy-sse2-unaligned strncpy-sse2-unaligned
31018 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31019 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31020 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31021 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31022 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31023 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31024 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31025 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31026 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31027 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31028 (STRCPY): Support SSE2 and SSSE3 versions.
31029
d5495a11
UD
310302011-06-24 Ulrich Drepper <drepper@gmail.com>
31031
31032 [BZ #12874]
31033 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31034 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31035 kernels which artificially limit size of requests.
31036
0b1cbaae
L
310372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31038
31039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31040 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31041 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31042 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31043 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31044 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31045 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31046 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31047 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31048 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31049 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31050 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31051 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31052 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31053 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31055 Enable unaligned load optimization for Intel Core i3, i5 and i7
31056 processors.
31057 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31058 Define.
31059 (index_Fast_Unaligned_Load): Define.
31060 (HAS_FAST_UNALIGNED_LOAD): Define.
31061
07f494a0
MP
310622011-06-23 Marek Polacek <mpolacek@redhat.com>
31063
31064 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31065
fa3fc0fe
UD
310662011-06-22 Ulrich Drepper <drepper@gmail.com>
31067
31068 [BZ #12907]
31069 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31070 until it is clear that the information is realy needed.
31071 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31072
e12df166
AS
310732011-06-22 Andreas Schwab <schwab@redhat.com>
31074
31075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31076
852eb34d
UD
310772011-06-22 Ulrich Drepper <drepper@gmail.com>
31078
84e2a551
UD
31079 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31080 /sys/devices/system/cpu/online if it is usable.
31081
852eb34d
UD
31082 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31083 reading the information from the /proc filesystem to once a second.
31084
6e502e19
UD
310852011-06-21 Andreas Jaeger <aj@suse.de>
31086
31087 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31088 NULL after inclusion of kernel headers.
31089
75d39ff2
UD
310902011-06-21 Ulrich Drepper <drepper@gmail.com>
31091
51f9aa6a
UD
31092 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31093 calls to internal_setent.
31094
c0244a9d
UD
31095 [BZ #12885]
31096 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31097 addresses using gethostbyname4_r ignore IPv4 addresses.
31098
c5e3c2ae
UD
31099 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31100 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31101
75d39ff2
UD
31102 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31103
42675c6f
DM
311042011-06-20 David S. Miller <davem@davemloft.net>
31105
31106 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31107 inclusions.
31108 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31109
31110 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31111 (elf_irel): Use it.
31112 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31113 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31114 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31115 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31116 * sysdeps/x86_64/dl-irel.h: Likewise.
31117
31118 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31119 * elf/dl-sym.c: Likewise.
31120
57912a71
UD
311212011-06-15 Ulrich Drepper <drepper@gmail.com>
31122
31123 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31124 need to dereference resplen2.
31125
ee22793d
AS
311262011-06-14 Andreas Schwab <schwab@redhat.com>
31127
31128 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31129
a9e836b0
UD
311302011-06-15 Ulrich Drepper <drepper@gmail.com>
31131
77fb9117
UD
31132 * Makeconfig: Define vardbdir and inst_vardbdir.
31133 * nss/Makefile: Add rules to install db-Makefile.
31134
40c1b22c
UD
31135 * nss/nss_db/db-XXX.c: Cleanup.
31136
9f2da732
UD
31137 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31138 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31139 GLIBC_PRIVATE.
31140 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31141 * nss/makedb.c: Implement -g option to specify that value strings
31142 are generated and should not be added to table iterated over for
31143 get*ent calls.
31144 * nss/nss_db/db-initgroups.c: New file.
31145
82e9a1f7
UD
31146 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31147 interface.
31148
c41af17e
UD
31149 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31150 (internal_getgrouplist): Adjust to name change.
31151 Update use_initgroups_entry if this is not the first call.
31152 * nss/databases.def: Add initgroups entry.
31153
a9e836b0
UD
31154 * nss/makedb.c (compute_tables): Check result of multiple hash table
31155 sizes to minimize maximum chain length.
31156
2666d441
UD
311572011-06-14 Ulrich Drepper <drepper@gmail.com>
31158
31159 * Versions.def: Add entry for libnss_db.
31160 * shlib-versions: Likewise.
31161 * nss/Makefile: Add rules to build libnss_db.
31162 * nss/Versions: Add libnss_db information. Organize libnss_files
31163 entries better.
31164 * nss/db-Makefile: Add gshadow support. Change rules for the new
31165 makedb progra. Some minor improvements to generate smaller files.
31166 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31167 here from...
31168 * nss/makedb.c: ...here.
31169 Improve database format to be smaller and require less memory at
31170 runtime.
31171 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31172 db anymore.
31173 * nss/nss_db/db-netgrp.c: Likewise.
31174 * nss/nss_db/db-open.c: Likewise.
31175 * nss/nss_files/flies-XXX.x: Adjust comments.
31176 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31177 * nss/nss_files/files-grp.c: Likewise.
31178 * nss/nss_files/files-hosts.c: Likewise.
31179 * nss/nss_files/files-network.c: Likewise.
31180 * nss/nss_files/files-proto.c: Likewise.
31181 * nss/nss_files/files-pwd.c: Likewise.
31182 * nss/nss_files/files-rpc.c: Likewise.
31183 * nss/nss_files/files-service.c: Likewise.
31184 * nss/nss_files/files-sgrp.c: Likewise.
31185 * nss/nss_files/files-spwd.c: Likewise.
31186 * nss/nss_db/db-alias.c: Removed.
31187 * nss/nss_db/dummy-db.h: Removed.
31188
9ee76b5a
UD
311892011-06-02 Ulrich Drepper <drepper@gmail.com>
31190
31191 * nss/makedb.c: Rewritten to not use database library.
31192 * nss/Makefile: Update to build new makedb program.
31193
c71ca1f8
AJ
311942011-06-14 Andreas Jaeger <aj@suse.de>
31195
31196 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31197 memset declaration.
31198
3154bfb8
UD
311992011-06-10 Andreas Schwab <schwab@redhat.com>
31200
31201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31202 tmpbuf.
31203
b350afab
RM
312042011-06-10 Roland McGrath <roland@hack.frob.com>
31205
decd4e50
RM
31206 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31207 * elf/Makefile ($(objpfx)ld.so): Likewise.
31208
5615eaf2
RM
31209 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31210 Don't list ld.so twice in dependencies.
31211
31212 * posix/bug-regex31.c: Include <stdlib.h>.
31213
31214 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31215
31216 * nis/nss_compat/compat-spwd.c
31217 (getspent_next_nss_netgr): Remove unused variable.
31218 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31219
31220 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31221 nonmembers" output to use the right array.
31222
31223 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31224
31225 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31226
31227 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31228 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31229 * catgets/gencat.c (read_input_file): Likewise.
31230 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31231
31232 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31233 variable definition inside #if's controlling its use.
31234
31235 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31236
31237 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31238
31239 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31240
31241 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31242 unreachable code.
31243
31244 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31245
b68e08db
RM
31246 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31247 * configure: Regenerated.
31248
b350afab
RM
31249 * Makerules: Revert last change.
31250 * elf/Makefile: Likewise.
31251
28368601
RM
312522011-06-09 Roland McGrath <roland@hack.frob.com>
31253
31254 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31255 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31256 (reloc-link): Likewise.
31257
11988f8f
UD
312582011-06-09 Ulrich Drepper <drepper@gmail.com>
31259
31260 * elf/Makefile: Add rules to build pldd.
31261 * elf/pldd.c: New file.
31262 * elf/pldd-xx.c: New file.
31263
e80fab37
UD
312642011-06-07 Ulrich Drepper <drepper@gmail.com>
31265
31266 * version.h: Update for 2.15 development version.
31267
9b849836
DM
312682011-06-07 David S. Miller <davem@davemloft.net>
31269
31270 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31271 ifuncs.
31272 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31273 elf_machine_lazy_rel): Likewise.
31274 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31275 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31276 elf_machine_lazy_rel): Likewise.
31277 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31278 dl_hwcap via passed in argument.
31279 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31280 Likewise.
31281
5a31b283
AK
312822011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31283
31284 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31285
069e52f8
RM
312862011-06-06 Roland McGrath <roland@hack.frob.com>
31287
31288 [BZ #12849]
31289 * manual/fdl-1.1.texi: New file, verbatim from:
31290 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31291 * manual/lgpl-2.1.texi: New file, verbatim from:
31292 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31293 * manual/Makefile (licenses): New variable, list those new file names.
31294 (texis): Use it.
31295 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31296
31297 * manual/fdl.texi: File removed.
31298 * manual/lesser.texi: File removed.
31299 * manual/libc.texinfo (Copying, Documentation License):
31300 Use new @include file names, put @appendix directive before @include.
31301
f16846a5
JJ
313022011-06-04 Jakub Jelinek <jakub@redhat.com>
31303
31304 [BZ #12841]
31305 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31306 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31307 (mq_open): Add __NTH.
31308
3d29045b
L
313092011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31310
31311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31312 Assume Intel Core i3/i5/i7 processor if AVX is available.
31313
8c297311
UD
313142011-05-31 Ulrich Drepper <drepper@gmail.com>
31315
31316 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31317 typo.
31318
c8fc0c91
UD
313192011-05-31 Andreas Schwab <schwab@redhat.com>
31320
31321 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31322 memory. Use alloca_account. Fix memory leak when retrying.
31323
5b27a807
UD
313242011-05-31 Ulrich Drepper <drepper@gmail.com>
31325
356f8bc6
UD
31326 * version.h (RELEASE): Bump for 2.14 release.
31327 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31328
5b27a807
UD
31329 * config.make.in (RANLIB): Remove entry.
31330
01f16ab0
UD
313312011-05-30 Ulrich Drepper <drepper@gmail.com>
31332
41fce8bd
UD
31333 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31334 (libc.pot): Work around missing support for .ksh extension in xgettext.
31335
4769ae77
UD
31336 [BZ #12684]
31337 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31338 if both request failed.
31339 (send_dg): In case of server errors clear resplen or *resplen2.
31340
6b1e7d19
UD
31341 [BZ #12454]
31342 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31343 when there are multiple maps.
31344 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31345 (_dl_fini): Remove test here.
31346
01f16ab0
UD
31347 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31348
b1ebd700
UD
313492011-05-29 Ulrich Drepper <drepper@gmail.com>
31350
7ae22829
UD
31351 [BZ #12350]
31352 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31353 bit from old_res_options.
31354 (gaih_inet): Likewise.
31355
553149f6 31356 [BZ #11099]
18a84741 31357 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
31358 as signed.
31359
652ffab1
UD
31360 * resolv/res_init.c (res_setoptions): Make the code more compact.
31361
16985fd0
UD
31362 [BZ #11558]
31363 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31364 set RES_USEVC.
31365
0464f746
UD
31366 [BZ #11634]
31367 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31368
7d17596c
UD
31369 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31370
cf6bbbd7
UD
31371 [BZ #11781]
31372 * malloc/malloc.h: Declare malloc hook variables as volatile.
31373
13f1ab36
UD
31374 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31375 in last patch.
31376
b1ebd700
UD
31377 [BZ #11799]
31378 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 31379 raise in the comment.
80e2212d
UD
31380 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31381 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31382 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 31383
ce67228d
UD
313842011-05-28 Ulrich Drepper <drepper@gmail.com>
31385
8887a920
UD
31386 [BZ #12811]
31387 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31388 grow the buffers more if it already has to be sufficient.
31389 (build_wcs_upper_buffer): Likewise.
31390 * posix/regexec.c (check_matching): Likewise.
31391 (clean_state_log_if_needed): Likewise.
31392 (extend_buffers): Don't enlarge buffers beyond size of the input
31393 buffer.
31394 Patches mostly by Emil Wojak <emil@wojak.eu>.
31395 * posix/bug-regex32.c: New file.
31396 * posix/Makefile (tests): Add bug-regex32.
31397
4f031072
UD
31398 * locale/findlocale.c (_nl_find_locale): Return right away if
31399 _nl_explode_name failed.
31400 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31401
d0478f0c
UD
31402 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31403
de81b246
UD
31404 * debug/xtrace.sh: Unify messages.
31405 * malloc/memusage.sh: Likewise.
31406
c738465a
UD
31407 [BZ #12813]
31408 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31409 time symbol from vDSO. Substitute with vsyscall if not available.
31410 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31411 __vdso_time.
31412
f1f929d7
UD
31413 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31414 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31415 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31416 Add sendmmsg and internal_sendmmsg.
31417 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31418 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31419 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31420
ce67228d
UD
31421 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31422 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31423 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31424
e57420c6
UD
314252011-05-27 Ulrich Drepper <drepper@gmail.com>
31426
a8509ca5
UD
31427 [BZ #12813]
31428 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31429 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31430 available.
31431 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31432 __vdso_getcpu.
31433
e57420c6
UD
31434 [BZ #12814]
31435 * iconvdata/Makefile (tests): Add bug-iconv9.
31436 * iconvdata/bug-iconv9.c: New file.
31437
4d07db15
AS
314382011-05-27 Andreas Schwab <schwab@redhat.com>
31439
31440 [BZ #12814]
31441 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31442
ea486f69
JJ
314432011-05-25 Jakub Jelinek <jakub@redhat.com>
31444
31445 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31446 (struct user_regs_struct): Change intcs field back to cs.
31447
6f038433
UD
314482011-05-25 Ulrich Drepper <drepper@gmail.com>
31449
31450 * po/ja.po: Update from translation team.
31451
67f86a25
UD
314522011-05-23 Ulrich Drepper <drepper@gmail.com>
31453
31454 [BZ #12795]
31455 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31456 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31457
def7fbd6
AS
314582011-05-20 Andreas Schwab <schwab@redhat.com>
31459
31460 * stdlib/longlong.h: Update from GCC.
31461
f50ef8f1
AS
314622011-05-23 Andreas Schwab <schwab@redhat.com>
31463
31464 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31465 parameter name.
31466 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31467 Add parameter name.
31468 (__sysconf): Pass it down.
31469
de7ce8f1
UD
314702011-05-22 Ulrich Drepper <drepper@gmail.com>
31471
f2962a71
UD
31472 [BZ #12671]
31473 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31474 some situations.
31475 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31476 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31477 add in in __libc_use_alloca calls. Adjust callers.
31478 (glob): Use malloc in some situations.
31479
de7ce8f1
UD
31480 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31481 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31482 pltexit.
31483
aec84f53
UD
314842011-05-21 Ulrich Drepper <drepper@gmail.com>
31485
05bb4a68
UD
31486 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31487 and CLOCK_BOOTTIME_ALARM.
31488
7ea72f99
UD
31489 [BZ #12782]
31490 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31491 is returned.
31492
7e4afad5
UD
31493 * string/_strerror.c (__strerror_r): Print negative errors as signed
31494 numbers.
31495
8e211fec
UD
31496 [BZ #12777]
31497 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31498 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31499 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31500
f7d82dc9
UD
31501 * configure.in: Fix typo in redirection and correct removal of test
31502 files in two cases.
31503
cc9e536d
UD
31504 [BZ #12788]
31505 * locale/setlocale.c (new_composite_name): Fix test to check for
31506 identical name of all categories.
31507
aec84f53
UD
31508 [BZ #12792]
31509 * libio/filedoalloc.c (local_isatty): New function.
31510 (_IO_file_doallocate): Use local_isatty.
31511 * stdio-common/perror.c (perror): In case a new stream is used
31512 forward the stream error.
31513 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31514 error flag.
31515
78e64fdc
RT
315162011-05-20 Ulrich Drepper <drepper@gmail.com>
31517
34a9094f
UD
31518 [BZ #11869]
31519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31520 alloca.
31521 * include/alloca.h (extend_alloca_account): Define.
31522
78e64fdc
RT
31523 [BZ #11857]
31524 * posix/regex.h: Fix comments with documentation of user-accessible
31525 fields after compilation and describe correct free'ing of pattern
31526 after re_compile_pattern.
31527 Patch by Reuben Thomas <rrt@sc3d.org>.
31528
457bddfc
RA
315292011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31530
31531 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31532 and -mno-altivec to prevent the compiler from using Altivec and/or
31533 VSX instructions when the corresponding registers are not available.
31534
a4527b51
AS
315352011-05-19 Andreas Schwab <schwab@redhat.com>
31536
31537 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31538
ed690b2f
UD
315392011-05-19 Ulrich Drepper <drepper@gmail.com>
31540
31541 * libio/freopen.c (freopen): Use __dup2, not dup2.
31542 * libio/freopen64.c (freopen64): Likewise.
31543
8db73634
L
315442011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31545
31546 [BZ #12775]
31547 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31548 * math/Makefile (tests): Add test-powl.
31549 (CFLAGS-test-powl.c): Define.
31550 * math/test-powl.c: New file.
31551
0a197a9d
L
315522011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31553
31554 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31555
ee30c380
UD
315562011-05-17 Ulrich Drepper <drepper@gmail.com>
31557
31558 [BZ #11837]
31559 * iconvdata/gb18030.c: Update to GB18020-2005.
31560
6ce75379
UD
315612011-05-16 Ulrich Drepper <drepper@gmail.com>
31562
a4b89fd8
AR
31563 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31564 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31565 Patch by Aharon Robbins <arnold@skeeve.com>.
31566
ea389b12
UD
31567 [BZ #11892]
31568 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31569 on the stack.
31570
68a3f91f
UD
31571 [BZ #11895]
31572 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31573 through underflows.
31574
15cc7dd1
UD
31575 [BZ #12766]
31576 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31577 point to strings before performing equality test for error_one_per_line
31578 mode.
31579
f3799213
UD
31580 [BZ #11697]
31581 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31582
d79a9c94
UD
31583 [BZ #11820]
31584 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31585 (struct user_fpregs_struct): Avoid __uint*_t types.
31586
56e5eb46
UD
31587 [BZ #6420]
31588 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31589 symbol info. Use it instead of calling _dl_addr locally.
31590 (lock_and_info): New function.
31591 (tr_freehook): Call lock_and_info and pass symbol info as additional
31592 parameter to tr_where.
31593 (tr_mallochook): Likewise.
31594 (tr_reallochook): Likewise.
31595 (tr_memalignhook): Likewise.
31596
6ce75379
UD
31597 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31598 used and couldn't be at all thread-safe.
31599
f8a3b5bf
UD
316002011-05-15 Ulrich Drepper <drepper@gmail.com>
31601
94b7cc37
UD
31602 * libio/freopen.c (freopen): Don't close old file descriptor
31603 before the new one is opened. Instead dup the new file descriptor
31604 to the old one after the new stream is created.
31605 * libio/freopen64.c (freopen64): Likewise.
31606 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31607 * libio/fileops.c (_IO_new_file_close_it): Handle new
31608 _IO_FLAGS2_NOCLOSE flag.
31609 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31610 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31611 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31612 _IO_FLAGS2_NOCLOSE flag.
31613 * include/unistd.h: Add hidden_proto for dup3.
31614 Define __have_dup3.
31615 * io/dup3.c: Define hidden symbol.
31616 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31617
bd25564e
UD
31618 [BZ #7101]
31619 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31620 when an incomplete long option is used.
31621 * posix/tst-getopt_long1.c: New file.
31622 * posix/Makefile (tests): Add tst-getopt_long1.
31623
c84cfef4
UD
31624 [BZ #10138]
31625 * scripts/config.guess: Update from autoconf-2.68.
31626 * scripts/config.sub: Likewise.
31627
3b85df27
UD
31628 [BZ #10157]
31629 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31630 tests into ...
31631 (has_cpuclock): ...this. New function.
31632 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31633 macro here based on has_cpuclock code.
31634
15a856b1
UD
31635 [BZ #10149]
31636 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31637 First byte (not low byte) is now always NUL.
31638 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31639
05f399e6
UD
31640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31641 Use non-cancelable interfaces.
31642
10a52685 31643 [BZ #9809]
94ecc67d
UD
31644 * locale/iso-639.def: Add entry for Sorani.
31645
f8a3b5bf
UD
31646 [BZ #11901]
31647 * include/stdlib.h: Move include protection to the right place.
31648 Define abort_msg_s. Declare __abort_msg with it.
31649 * stdlib/abort.c (__abort_msg): Adjust type.
31650 * assert/assert.c (__assert_fail_base): New function. Majority
31651 of code from __assert_fail. Allocate memory for __abort_msg with
31652 mmap.
31653 (__assert_fail): Now call __assert_fail_base.
31654 * assert/assert-perr.c: Remove bulk of implementation. Use
31655 __assert_fail_base.
31656 * include/assert.hL Declare __assert_fail_base.
31657 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31658 mmap.
31659 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31660
1af4e298
UD
316612011-05-14 Ulrich Drepper <drepper@gmail.com>
31662
f8a3b5bf 31663 [BZ #11952]
d26dfc60
MG
31664 [BZ #12453]
31665 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31666 until all modules are registered in the DTV.
31667 * elf/Makefile: Add rules to build and run tst-tls19.
31668 * elf/tst-tls19.c: New file.
31669 * elf/tst-tls19mod1.c: New file.
31670 * elf/tst-tls19mod2.c: New file.
31671 * elf/tst-tls19mod3.c: New file.
31672 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31673
2fc54d6f
UD
31674 [BZ #12083]
31675 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31676 correctly.
31677
98d76b46
UD
31678 [BZ #12601]
31679 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31680 two-byte sequence errors.
31681 * iconvdata/Makefile (tests): Add bug-iconv8.
31682 * iconvdata/bug-iconv8.c: New file.
31683
da3c19ef
UD
31684 [BZ #12626]
31685 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31686 buf2 definition.
31687
ca408c15
UD
31688 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31689
d6f67f7d
UD
31690 [BZ #12432]
31691 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31692 (dummy_getcfa): New function.
31693 (init): Get _Unwind_GetCFA address, use dummy if not found.
31694 (backtrace_helper): In recursion check, also check whether CFA changes.
31695 (__backtrace): Completely initialize arg.
31696
1af4e298 31697 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31698 storing incomplete byte sequence in state object. Avoid testing for
31699 guaranteed too small input if we know there is enough data available.
1af4e298 31700
da62f81b
AS
317012011-05-11 Andreas Schwab <schwab@redhat.com>
31702
31703 * Makeconfig (+link-pie): Indent.
31704 * Rules (binaries-pie): Define if $(have-fpie) and
31705 $(build-shared).
31706 (binaries-shared): Also filter out $(binaries-pie).
31707 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31708 * nscd/Makefile (others-pie): Add nscd.
31709 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31710 ($(objpfx)nscd): Remove command override.
31711 * login/Makefile (others-pie): Add pt_chown.
31712 ($(objpfx)pt_chown): Remove command override.
31713 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31714 remove command overrides.
31715
fcabc0f8
UD
317162011-05-13 Ulrich Drepper <drepper@gmail.com>
31717
20030ae6
UD
31718 * libio/tst_putwc.c: Fix error messages.
31719
fcabc0f8
UD
31720 [BZ #12724]
31721 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31722 currently writing and seek to current position when not.
31723 * libio/Makefile (tests): Add bug-fclose1.
31724 * libio/bug-fclose1.c: New file.
31725
320a5dc0
PB
317262011-05-12 Ulrich Drepper <drepper@gmail.com>
31727
31728 [BZ #12511]
31729 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31730 don't set DF_1_NODELETE here.
31731 (do_lookup_x): When entering new entry test for copy relocation
31732 and if necessary set DF_1_NODELETE flag.
31733 * elf/tst-unique4.cc: New file.
31734 * elf/tst-unique4.h: New file.
31735 * elf/tst-unique4lib.cc: New file.
31736 * elf/Makefile: Add rules to build and run tst-unique4.
31737 Patch by Piotr Bury <pbury@goahead.com>.
31738
22836f52
UD
317392011-05-11 Ulrich Drepper <drepper@gmail.com>
31740
f574184a
UD
31741 [BZ #12052]
31742 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31743
e1fb097f
UD
31744 [BZ #12625]
31745 * misc/mntent_r.c (addmntent): Flush the stream after the output
31746
22836f52
UD
31747 [BZ #12393]
31748 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31749 (is_trusted_path_normalize): Skip initial colon. Append slash
31750 to empty buffer. Duplicate is_trusted_path code but allow
31751 constructed patch to be prefix.
31752 (is_dst): Allow $ORIGIN followed by /.
31753 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31754 Correct testing of result of is_trusted_path_normalize
31755 (decompose_rpath): Fix warning.
31756
7b3b0b2a
UD
317572011-05-10 Ulrich Drepper <drepper@gmail.com>
31758
31759 [BZ #11257]
31760 * grp/initgroups.c (internal_getgrouplist): When we found the service
31761 list through the initgroups entry in nsswitch.conf do not always
31762 continue on a successful lookup. Don't always use the
eac80ce2 31763 __nss_group_database value if it is set.
7b3b0b2a
UD
31764 * nss/nsswitch.conf (initgroups): Change action for successful db
31765 lookup to continue for compatibility.
31766
2a81eaa5
UD
317672011-05-09 Ulrich Drepper <drepper@gmail.com>
31768
be97a69e
UD
31769 [BZ #11532]
31770 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31771 and CP774 modules.
31772 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31773 and CP774 modules.
31774 * iconvdata/tst-tables.sh: Likewise.
31775 * iconvdata/cp770.c: New file.
31776 * iconvdata/cp771.c: New file.
31777 * iconvdata/cp772.c: New file.
31778 * iconvdata/cp773.c: New file.
31779 * iconvdata/cp774.c: New file.
31780 * iconvdata/testdata/CP770: New file.
31781 * iconvdata/testdata/CP770..UTF8: New file.
31782 * iconvdata/testdata/CP771: New file.
31783 * iconvdata/testdata/CP771..UTF8: New file.
31784 * iconvdata/testdata/CP772: New file.
31785 * iconvdata/testdata/CP772..UTF8: New file.
31786 * iconvdata/testdata/CP773: New file.
31787 * iconvdata/testdata/CP773..UTF8: New file.
31788 * iconvdata/testdata/CP774: New file.
31789 * iconvdata/testdata/CP774..UTF8: New file.
31790
31791 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31792 END CHARMAP line.
31793 * iconvdata/gen-8bit-gap.sh: Likewise.
31794 * iconvdata/gen-8bit.sh: Likewise.
31795
c1e9e399
UD
31796 * locale/iso-639.def: Add ary entry.
31797
24c55fb3 31798 [BZ #11258]
96b4b1b0
UD
31799 * locale/C-translit.h.in: Add U20A1 transliteration.
31800
bdc2f971
KB
31801 [BZ #12178]
31802 * locale/iso-639.def: Add wae entry.
31803 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31804
2952b117
UD
31805 [BZ #12545]
31806 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31807 for n.
31808
2a81eaa5
UD
31809 [BZ #12711]
31810 * locale/C-translit.h.in: Add entry for U20B9.
31811 Patch by pravin.d.s@gmail.com.
31812
28377d1b
UD
318132011-05-08 Ulrich Drepper <drepper@gmail.com>
31814
7fb90fb8
UD
31815 [BZ #12713]
31816 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31817 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31818 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31819 in rtld. Use *stat64.
7fb90fb8 31820 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31821 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31822 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31823 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31824 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31825 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31826 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31827 __fstatat64 macros.
7fb90fb8
UD
31828 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31829 * dirent/rewinddir.c: Add libc_hidden_def.
31830 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31831 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31832
28377d1b
UD
31833 * include/dirent.h (__alloc_dir): Add flags parameter.
31834 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31835 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31836 __alloc_dir.
31837 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31838 from fdopendir if O_CLOEXEC is already set.
31839
66bdbaa4
AM
318402011-03-15 Alan Modra <amodra@gmail.com>
31841
31842 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31843 l_tls_firstbyte_offset non-zero. Save padding offset in
31844 l_tls_firstbyte_offset for later use.
31845 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31846 freeing static tls block.
31847
95721191
JN
318482011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31849
31850 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31851 where #ifdef was intended. The intent is to prevent ARG_MAX from
31852 being defined by the kernel headers.
31853
f87dfb1f
UD
318542011-05-07 Ulrich Drepper <drepper@gmail.com>
31855
31856 [BZ #12734]
31857 * resolv/resolv.h: Define RES_NOTLDQUERY.
31858 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31859 no-tld-query and set RES_NOTLDQUERY.
31860 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31861 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31862 modern BIND to search name as TLD unless forbidden.
31863
47c3cd7a
UD
318642011-05-07 Petr Baudis <pasky@suse.cz>
31865 Ulrich Drepper <drepper@gmail.com>
31866
31867 [BZ #12393]
31868 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31869 (is_trusted_path): ...to here.
c1e9ea35 31870 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31871 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31872 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31873
8a35c912
PP
318742011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31875
31876 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31877 __BEGIN/__END_DECLS.
31878
acd41f47
UD
318792011-05-06 Ulrich Drepper <drepper@gmail.com>
31880
31881 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31882 NSS_STATUS_NOTFOUND if no record was found.
31883
597df647
AS
318842011-05-05 Andreas Schwab <schwab@redhat.com>
31885
31886 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31887 (headers-not-in-tirpc): Remove rpc/netdb.h
31888 * resolv/netdb.h: Revert last change.
31889
b9af1301
PP
318902011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31891
31892 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31893 circular dependency between libgcc.a and libc.a.
31894
4e34d5f5
AS
318952011-05-05 Andreas Schwab <schwab@redhat.com>
31896
31897 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31898 * nis/Makefile: Don't install rpcsvc/*.
31899 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31900 instead of <rpc/types.h>.
31901 (MAXHOSTNAMELEN): Define.
31902
00ee369c
AS
319032011-05-03 Andreas Schwab <schwab@redhat.com>
31904
31905 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31906
0b592a30
MB
319072011-04-28 Maciej Babinski <mbabinski@google.com>
31908
31909 [BZ #12714]
31910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31911 gethostbyname4_r when IPv6 results are possible.
31912
6e04cbbe
UD
319132011-05-02 Ulrich Drepper <drepper@gmail.com>
31914
31915 [BZ #12723]
31916 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31917 _PC_PIPE_BUF handling.
31918
e4ecafe0
BH
319192011-04-30 Bruno Haible <bruno@clisp.org>
31920
31921 [BZ #12717]
31922 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31923 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31924 to 'int'.
31925 * inet/getnameinfo.c (getnameinfo): Likewise.
31926
125ee683
UD
319272011-04-29 Ulrich Drepper <drepper@gmail.com>
31928
31929 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31930 to groups setting in database lookup.
31931 * nss/nsswitch.conf: Add initgroups entry.
31932
b722481a
EB
319332011-04-22 Ulrich Drepper <drepper@gmail.com>
31934
31935 [BZ #12685]
31936 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31937 mode string.
31938 Patch by Eric Blake <eblake@redhat.com>.
31939
4df46dbd
L
319402011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31941
31942 * sunrpc/Makefile (need-export-routines): Add svc_run.
31943 (routines): Remove svc_run.
31944 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31945 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31946 * sunrpc/svc_run.c (svc_run): Likewise.
31947 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31948
e84142d2
UD
319492011-04-21 Ulrich Drepper <drepper@gmail.com>
31950
31951 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31952 problem in reallocation in last patch.
31953
877175d8
UD
319542011-04-20 Ulrich Drepper <drepper@gmail.com>
31955
31956 * sunrpc/Makefile: Move inclusion of Rules.
31957
ab8eed78
UD
319582011-04-19 Ulrich Drepper <drepper@gmail.com>
31959
31960 * nss/nss_files/files-initgroups.c: New file.
31961 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31962 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31963 _nss_files_initgroups_dyn.
31964
e3d8f584
RS
319652011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31966
31967 * elf/elf.h (R_ARM_IRELATIVE): Define.
31968
af190f45
UD
319692011-04-19 Ulrich Drepper <drepper@gmail.com>
31970
31971 * po/ru.po: Update from translation team.
31972
53cf59ef
UD
319732011-04-17 Ulrich Drepper <drepper@gmail.com>
31974
31975 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31976 dependencies.
31977
4c559bcd
MF
319782011-02-06 Mike Frysinger <vapier@gentoo.org>
31979
31980 [BZ #12653]
31981 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31982 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31983 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31984 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31985 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31986
4420675c
AS
319872011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31988
31989 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31990 differing bytes.
31991 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31992 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31993 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31994
75ea32ab
UD
319952011-04-17 Ulrich Drepper <drepper@gmail.com>
31996
31997 [BZ #12420]
31998 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31999 storing it.
32000 * stdlib/bug-getcontext.c: New file.
32001 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32002
27390476
AK
320032011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32004
32005 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32006 instructions into .machine "z9-109".
32007 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32008 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32009
10442705
AK
320102011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32011
32012 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32013 between environment variables and auxiliary vector.
32014
7b57bfe5
UD
320152011-04-16 Ulrich Drepper <drepper@gmail.com>
32016
32017 * Makefile: Add rules to build linkobj/libc.so.
32018 * include/libc-symbols.h: Define libc_hidden_nolink.
32019 * include/rpc/auth.h: Mark functions which are to be hidden.
32020 * include/rpc/auth_des.h: Likewise.
32021 * include/rpc/auth_unix.h: Likewise.
32022 * include/rpc/clnt.h: Likewise.
32023 * include/rpc/des_crypt.h: Likewise.
32024 * include/rpc/key_prot.h: Likewise.
32025 * include/rpc/pmap_clnt.h: Likewise.
32026 * include/rpc/pmap_prot.h: Likewise.
32027 * include/rpc/pmap_rmt.h: Likewise.
32028 * include/rpc/rpc_msg.h: Likewise.
32029 * include/rpc/svc.h: Likewise.
32030 * include/rpc/svc_auth.h: Likewise.
32031 * include/rpc/xdr.h: Likewise.
32032 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32033 * nss/Makefile: Likewise.
32034 * sunrpc/Makefile: Don't install headers. Build library with normal
32035 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32036 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32037 for the compat linking library. Remove use of INTDEF/INTUSE.
32038 * sunrpc/auth_none.c: Likewise.
32039 * sunrpc/auth_unix.c: Likewise.
32040 * sunrpc/authdes_prot.c: Likewise.
32041 * sunrpc/authuxprot.c: Likewise.
32042 * sunrpc/clnt_gen.c: Likewise.
32043 * sunrpc/clnt_perr.c: Likewise.
32044 * sunrpc/clnt_raw.c: Likewise.
32045 * sunrpc/clnt_simp.c: Likewise.
32046 * sunrpc/clnt_tcp.c: Likewise.
32047 * sunrpc/clnt_udp.c: Likewise.
32048 * sunrpc/clnt_unix.c: Likewise.
32049 * sunrpc/des_crypt.c: Likewise.
32050 * sunrpc/des_soft.c: Likewise.
32051 * sunrpc/get_myaddr.c: Likewise.
32052 * sunrpc/key_call.c: Likewise.
32053 * sunrpc/key_prot.c: Likewise.
32054 * sunrpc/netname.c: Likewise.
32055 * sunrpc/pm_getmaps.c: Likewise.
32056 * sunrpc/pm_getport.c: Likewise.
32057 * sunrpc/pmap_clnt.c: Likewise.
32058 * sunrpc/pmap_prot.c: Likewise.
32059 * sunrpc/pmap_prot2.c: Likewise.
32060 * sunrpc/pmap_rmt.c: Likewise.
32061 * sunrpc/publickey.c: Likewise.
32062 * sunrpc/rpc_cmsg.c: Likewise.
32063 * sunrpc/rpc_common.c: Likewise.
32064 * sunrpc/rpc_dtable.c: Likewise.
32065 * sunrpc/rpc_prot.c: Likewise.
32066 * sunrpc/rpc_thread.c: Likewise.
32067 * sunrpc/rtime.c: Likewise.
32068 * sunrpc/svc.c: Likewise.
32069 * sunrpc/svc_auth.c: Likewise.
32070 * sunrpc/svc_authux.c: Likewise.
32071 * sunrpc/svc_raw.c: Likewise.
32072 * sunrpc/svc_run.c: Likewise.
32073 * sunrpc/svc_simple.c: Likewise.
32074 * sunrpc/svc_tcp.c: Likewise.
32075 * sunrpc/svc_udp.c: Likewise.
32076 * sunrpc/svc_unix.c: Likewise.
32077 * sunrpc/svcauth_des.c: Likewise.
32078 * sunrpc/xcrypt.c: Likewise.
32079 * sunrpc/xdr.c: Likewise.
32080 * sunrpc/xdr_array.c: Likewise.
32081 * sunrpc/xdr_float.c: Likewise.
32082 * sunrpc/xdr_intXX_t.c: Likewise.
32083 * sunrpc/xdr_mem.c: Likewise.
32084 * sunrpc/xdr_rec.c: Likewise.
32085 * sunrpc/xdr_ref.c: Likewise.
32086 * sunrpc/xdr_sizeof.c: Likewise.
32087 * sunrpc/xdr_stdio.c: Likewise.
32088
e6c61494
UD
320892011-04-10 Ulrich Drepper <drepper@gmail.com>
32090
32091 [BZ #12650]
32092 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32093 * sysdeps/ia64/dl-tls.h: Likewise.
32094 * sysdeps/powerpc/dl-tls.h: Likewise.
32095 * sysdeps/s390/dl-tls.h: Likewise.
32096 * sysdeps/sh/dl-tls.h: Likewise.
32097 * sysdeps/sparc/dl-tls.h: Likewise.
32098 * sysdeps/x86_64/dl-tls.h: Likewise.
32099 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32100
34fe483e
AS
321012011-03-14 Andreas Schwab <schwab@redhat.com>
32102
32103 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32104 rpath element also skip the following colon.
32105 (expand_dynamic_string_token): Add is_path parameter and pass
32106 down to DL_DST_REQUIRED and _dl_dst_substitute.
32107 (decompose_rpath): Call expand_dynamic_string_token with
32108 non-zero is_path. Ignore empty rpaths.
32109 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32110 with zero is_path.
32111
f12a32e6
AS
321122011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32113
32114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32115 Make cancelable.
32116
38a7d692
UD
321172011-04-09 Ulrich Drepper <drepper@gmail.com>
32118
32119 [BZ #12655]
32120 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32121 Patch by Filipe David Manana <fdmanana@apache.org>.
32122
e451d22b
AS
321232011-04-07 Andreas Schwab <schwab@redhat.com>
32124
32125 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32126 Maintain aligned stack.
32127 (CHECK_RSP): Remove unused macro.
32128
dedc7c7b
UD
321292011-04-03 Ulrich Drepper <drepper@gmail.com>
32130
32131 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32132 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32133
94521213
UD
321342011-04-02 Ulrich Drepper <drepper@gmail.com>
32135
32136 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32137
8cb700c0 32138 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 32139
0354e355
L
321402011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32141
32142 [BZ #12518]
32143 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32144 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32145 * sysdeps/x86_64/memmove.c: New file.
32146 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32147 (memcpy): Renamed to ...
32148 (__new_memcpy): This.
32149 (memcpy): Provide GLIBC_2_14 memcpy.
32150 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32151 (memcpy): Provide GLIBC_2_2_5 memcpy.
32152
8593482f
UD
321532011-04-01 Ulrich Drepper <drepper@gmail.com>
32154
32155 [BZ #12631]
32156 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32157
81a5726b
AS
321582011-03-30 Andreas Schwab <schwab@redhat.com>
32159
32160 * misc/syncfs.c: New file.
32161 * misc/Makefile (routines): Add syncfs.
32162 * posix/unistd.h: Declare syncfs.
32163 * sysdeps/unix/syscalls.list: Add syncfs.
32164
00e5419f
AS
321652011-04-01 Andreas Schwab <schwab@redhat.com>
32166
32167 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32168 open_by_handle_at.
32169 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32170 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32171 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32172 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32174 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32175 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32176
748876bf
UD
321772011-04-01 Ulrich Drepper <drepper@gmail.com>
32178
658e451d
UD
32179 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32180 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32181 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32182 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32183 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32185 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32186
748876bf
UD
32187 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32188 sync_file_range.c with -fexceptions.
32189 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32190 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32191 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32192 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32193 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32194 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32195 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
32196 sync_file_range as cancellation point
32197 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32198 now a wrapper around __call_sync_file_range with cancellation handling.
32199 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32200 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32201 function name to __call_sync_file_range.
32202 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32203 Add call_sync_file_range.
748876bf 32204
6e63d5e1
AS
322052011-04-01 Andreas Schwab <schwab@redhat.com>
32206
32207 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 32208 bits/timex.h.
6e63d5e1 32209
46998f74
UD
322102011-04-01 Ulrich Drepper <drepper@gmail.com>
32211
4c1423ed
UD
32212 * iconv/iconv.h: Fix typo in comment.
32213 * io/fcntl.h: Likewise.
32214 * libio/stdio.h: Likewise.
32215 * posix/spawn.h: Likewise.
32216 * posix/unistd.h: Likewise.
32217 * stdlib/stdlib.h: Likewise.
32218 * time/time.h: Likewise.
32219 * wcsmbs/wchar.h: Likewise.
32220
158648c0
UD
32221 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32222 open_by_handle): Add.
32223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32224 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32225 Augment a few comments.
32226 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32228 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32230 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32231 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32232 open_by_handle.
32233
46998f74
UD
32234 * io/fcntl.h (AT_EMPTY_PATH): Define.
32235
83fe108b
UD
322362011-03-30 Ulrich Drepper <drepper@gmail.com>
32237
32238 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32239 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32240 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32241 to...
32242 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
32243 * Versions.def: Add GLIBC_2.14.
32244 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32245 Export.
83fe108b 32246
bb242059
UD
322472011-03-22 Ulrich Drepper <drepper@gmail.com>
32248
32249 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32250 round counter.
32251 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32252
c97a1282
L
322532011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32254
32255 [BZ #12597]
32256 * string/test-strncmp.c (do_page_test): New function.
32257 (check2): Likewise.
32258 (test_main): Call check2.
32259 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32260
2a115601
UD
322612011-03-20 Ulrich Drepper <drepper@gmail.com>
32262
32263 [BZ #12587]
32264 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32265 Handle cache information in CPU leaf 4.
32266 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32267
8126d904
UD
322682011-03-18 Ulrich Drepper <drepper@gmail.com>
32269
042c49c6 32270 [BZ #12583]
8126d904
UD
32271 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32272 character representation.
32273 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32274
ccfe366e
RA
322752011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32276
32277 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32278 END(__isnan) to END(__isnanf) to match function entry point/label
32279 EALIGN(__isnanf,...).
32280
c6e13027
JJ
322812011-03-10 Jakub Jelinek <jakub@redhat.com>
32282
32283 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32284
33f85a3f
UD
322852011-03-10 Ulrich Drepper <drepper@gmail.com>
32286
028478fa
UD
32287 [BZ #12510]
32288 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32289 copy from the symbol referenced in the relocation to initialize the
32290 used variable.
32291 Patch by Piotr Bury <pbury@goahead.com>.
32292 * elf/Makefile: Add rules to build and tst-unique3.
32293 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32294 * elf/tst-unique3.cc: New file.
32295 * elf/tst-unique3.h: New file.
32296 * elf/tst-unique3lib.cc: New file.
32297 * elf/tst-unique3lib2.cc: New file.
32298
33f85a3f
UD
32299 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32300
03592fc7
MF
323012011-03-10 Mike Frysinger <vapier@gentoo.org>
32302
32303 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32304 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32305 to _start.
03592fc7 32306
6a5ee102
UD
323072011-03-06 Ulrich Drepper <drepper@gmail.com>
32308
32309 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32310 to-be-loaded object along a path to loader is ld.so.
32311
7e4ba49c
HJ
323122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32313 Ulrich Drepper <drepper@gmail.com>
32314
32315 * sysdeps/x86_64/memset.S: After aligning destination, code
32316 branches to different locations depending on the value of
32317 misalignment, when multiarch is enabled. Fix this.
32318
323192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32320
32321 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32322 Set _x86_64_preferred_memory_instruction for AMD processsors.
32323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32324 Set bit_Prefer_SSE_for_memop for AMD processors.
32325
13a804de
UD
323262011-03-04 Ulrich Drepper <drepper@gmail.com>
32327
32328 * libio/fmemopen.c (fmemopen): Optimize a bit.
32329
9d25c392
AS
323302011-03-03 Andreas Schwab <schwab@redhat.com>
32331
32332 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32333
a5543c6a
RM
323342011-03-03 Roland McGrath <roland@redhat.com>
32335
32336 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32337
012d35f7
DM
323382011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32339
7e4ba49c 32340 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
32341 __bzero_ultra1 instead of __memset_ultra1.
32342
4bff6e01
AS
323432011-02-23 Andreas Schwab <schwab@redhat.com>
32344 Ulrich Drepper <drepper@gmail.com>
32345
32346 [BZ #12509]
32347 * include/link.h (struct link_map): Add l_orig_initfini.
32348 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32349 returning unsuccessfully.
32350 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32351 close of a file loaded at startup, restore the original l_initfini
32352 list.
32353 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32354 list, store the pointer.
32355 * elf/Makefile ($(objpfx)noload-mem): New rule.
32356 (noload-ENV): Define.
32357 (tests): Add $(objpfx)noload-mem.
32358 * elf/noload.c: Include <memcheck.h>.
32359 (main): Call mtrace. Close all opened handles.
32360
f2092faf
AS
323612011-02-17 Andreas Schwab <schwab@redhat.com>
32362
32363 [BZ #12454]
32364 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32365 dependencies are missing.
32366
6c8a2e88
ST
323672011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32368
f2092faf 32369 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
32370 Hurd needs munmap.
32371 * sysdeps/mach/hurd/ifreq.h: New file.
32372
84a42118
PB
323732011-01-27 Petr Baudis <pasky@suse.cz>
32374 Ulrich Drepper <drepper@gmail.com>
32375
071f805e 32376 [BZ 12445]#
84a42118
PB
32377 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32378 to extend_alloca().
32379 * stdio-common/bug23.c: New file.
32380 * stdio-common/Makefile (tests): Add bug23.
32381
e23fe25b
AS
323822010-09-28 Andreas Schwab <schwab@redhat.com>
32383 Ulrich Drepper <drepper@gmail.com>
32384
32385 [BZ #12489]
32386 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32387 before performing relro protection. At old place add assertion
32388 to make sure nothing changed.
32389
d3f02e10
NS
323902011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32391 Glauber de Oliveira Costa <glommer@gmail.com>
32392
32393 * elf/elf.h: Add new ARM TLS relocs.
32394
d55fd7a5
RA
323952011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32396
32397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32398 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32399 cast from r3.
32400 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32401 'tests' variable.
32402 * sysdeps/wordsize-64/tst-writev.c: New file.
32403
2206397e
RA
324042011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32405
32406 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32407 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32408 insns in _dl_start to prevent a TOC reference before relocs are
32409 resolved.
32410
e9433893
UD
324112011-02-15 Ulrich Drepper <drepper@gmail.com>
32412
32413 [BZ #12469]
32414 * Makeconfig: Remove RANLIB definition.
32415 * Makerules: Don't use RANLIB.
32416 * aclocal.m4: Remove ranlib test.
32417 * configure.in: No need to check for ranlib.
32418 * elf/rtld-Rules: Don't use RANLIB.
32419
f75286c6
ST
324202011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32421
8e31c82d
ST
32422 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32423 protection macro.
32424 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32425 inclusion protection macro.
32426
f75286c6
ST
32427 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32428 SIGRTMIN and SIGRTMAX and print information in that case only when
32429 SIGRTMIN is defined.
32430
c1d0e639
JJ
324312011-02-11 Jakub Jelinek <jakub@redhat.com>
32432
32433 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32434 arginfo fn returning -1.
32435
32436 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32437 and thousands string is zero terminated.
32438
edf9294e
AS
324392011-02-03 Andreas Schwab <schwab@redhat.com>
32440
32441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32442 sysdeps/unix/sysv/linux/bits/socket.h.
32443
2b7e92df
ST
324442011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32445
edf9294e
AS
32446 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32447 (__CPU_COUNT): Remove old macros.
32448 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32449 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32450 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
32451 (__sched_cpualloc, __sched_cpufree): Add declarations.
32452
a4c7ea7b
UD
324532011-02-05 Ulrich Drepper <drepper@gmail.com>
32454
32455 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32456 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32457 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32458 (readdhstai): Return value of addhstaiX call.
32459 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32460 (addgrbyX): Return value returned by cache_addgr.
32461 (readdgrbyname): Return value returned by addgrbyX.
32462 (readdgrbygid): Likewise.
32463 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32464 (addpwbyX): Return value returned by cache_addpw.
32465 (readdpwbyname): Return value returned by addhstbyX.
32466 (readdpwbyuid): Likewise.
32467 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32468 (addservbyX): Return value returned by cache_addserv.
32469 (readdservbyname): Return value returned by addservbyX:
32470 (readdservbyport): Likewise.
32471 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32472 (addhstbyX): Return value returned by cache_addhst.
32473 (readdhstbyname): Return value returned by addhstbyX.
32474 (readdhstbyaddr): Likewise.
32475 (readdhstbynamev6): Likewise.
32476 (readdhstbyaddrv6): Likewise.
32477 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32478 (readdinitgroups): Return value returned by addinitgroupsX.
32479 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32480 (prune_cache): Keep track of timeout value of re-added entries.
32481 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32482 * nscd/nscd.h: Adjust prototypes of readd* functions.
32483
a0bf67cc
RM
324842011-02-04 Roland McGrath <roland@redhat.com>
32485
32486 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32487 (nis_stats): Likewise.
32488 * nis/nis_modify.c (nis_modify): Likewise.
32489 * nis/nis_remove.c (nis_remove): Likewise.
32490 * nis/nis_add.c (nis_add): Likewise.
32491
32492 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32493
32494 * posix/fnmatch_loop.c: Add some consts.
32495
32496 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32497
435b95eb
L
324982011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32499
32500 [BZ #12460]
32501 * config.make.in (config-cflags-novzeroupper): Define.
32502 * configure.in: Substitute libc_cv_cc_novzeroupper.
32503 * elf/Makefile (AVX-CFLAGS): Define.
32504 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32505 (CFLAGS-tst-auditmod4a.c): Likewise.
32506 (CFLAGS-tst-auditmod4b.c): Likewise.
32507 (CFLAGS-tst-auditmod6b.c): Likewise.
32508 (CFLAGS-tst-auditmod6c.c): Likewise.
32509 (CFLAGS-tst-auditmod7b.c): Likewise.
32510 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32511
8517b15e
UD
325122011-02-02 Ulrich Drepper <drepper@gmail.com>
32513
32514 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32515 function to the callback.
32516 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32517
10a656fe
AS
325182011-02-02 Andreas Schwab <schwab@redhat.com>
32519
32520 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32521 of errno.
32522
968dad0a
UD
325232011-01-19 Ulrich Drepper <drepper@gmail.com>
32524
9f94d2ea 32525 [BZ #11724]
968dad0a
UD
32526 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32527 of constructors.
32528 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32529 of destructors.
32530 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32531
32532 [BZ #11724]
32533 * elf/Makefile: Add rules to build and run new test.
32534 * elf/tst-initorder.c: New file.
32535 * elf/tst-initorder.exp: New file.
32536 * elf/tst-initordera1.c: New file.
32537 * elf/tst-initordera2.c: New file.
32538 * elf/tst-initordera3.c: New file.
32539 * elf/tst-initordera4.c: New file.
32540 * elf/tst-initorderb1.c: New file.
32541 * elf/tst-initorderb2.c: New file.
32542 * elf/tst-order-a1.c: New file.
32543 * elf/tst-order-a2.c: New file.
32544 * elf/tst-order-a3.c: New file.
32545 * elf/tst-order-a4.c: New file.
32546 * elf/tst-order-b1.c: New file.
32547 * elf/tst-order-b2.c: New file.
32548 * elf/tst-order-main.c: New file.
32549 New test case by George Gensure <werkt0@gmail.com>.
32550
86e92359
UD
325512010-10-01 Andreas Schwab <schwab@redhat.com>
32552
32553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32554 decoding ACE if AI_CANONIDN.
32555
5d5732b0
UD
325562011-01-18 Ulrich Drepper <drepper@gmail.com>
32557
32558 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32559
a77e8cbc
UD
325602011-01-17 Ulrich Drepper <drepper@gmail.com>
32561
6392473f
UD
32562 * version.h (RELEASE): Bump for 2.13 release.
32563 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32564
620a0529
UD
32565 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32566
18ba70a5
UD
32567 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32568 MADV_NOHUGEPAGE.
32465c3e
UD
32569 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32570 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32571 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32572 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32573 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32574 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32575
c0dafcf1
UD
32576 * posix/getconf.c: Update copyright year.
32577 * catgets/gencat.c: Likewise.
32578 * csu/version.c: Likewise.
32579 * debug/catchsegv.sh: Likewise.
32580 * debug/xtrace.sh: Likewise.
32581 * elf/ldconfig.c: Likewise.
32582 * elf/ldd.bash.in: Likewise.
32583 * elf/sprof.c (print_version): Likewise.
32584 * iconv/iconv_prog.c: Likewise.
32585 * iconv/iconvconfig.c: Likewise.
32586 * locale/programs/locale.c: Likewise.
32587 * locale/programs/localedef.c: Likewise.
32588 * malloc/memusage.sh: Likewise.
32589 * malloc/mtrace.pl: Likewise.
32590 * nscd/nscd.c (print_version): Likewise.
32591 * nss/getent.c: Likewise.
32592
a77e8cbc
UD
32593 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32594 PF_CAIF, and PF_ALG.
32595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32596
77e8bddf
AS
325972011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32598
1f20b93a
AS
32599 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32600 (modules-names): Use them.
32601 (ifunc-test-modules, ifunc-pie-tests): Define.
32602 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32603 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32604 (test-extras): Likewise.
32605 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32606 $(compile-command.c).
32607 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32608 (all-built-dso): Define.
32609 (check-textrel.out, check-execstack.out): Depend on it.
32610
77e8bddf
AS
32611 * configure.in: Don't override --enable-multi-arch.
32612
bc425b33
UD
326132011-01-15 Ulrich Drepper <drepper@gmail.com>
32614
32615 [BZ #6812]
32616 * nscd/hstcache.c (tryagain): Define.
32617 (cache_addhst): Return tryagain not notfound for temporary errors.
32618 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32619 failed.
32620
794c3ad3
UD
326212011-01-14 Ulrich Drepper <drepper@gmail.com>
32622
70181fdd
UD
32623 [BZ #10563]
32624 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32625 to make the syscall.
32626 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32627
794c3ad3
UD
32628 [BZ #12378]
32629 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32630 and fall back to matching as normal character if the string ends before
32631 the matching ']' is found. This is what POSIX requires.
32632 * posix/testfnm.c: Adjust test result.
32633 * posix/globtest.sh: Adjust test result. Add new test.
32634 * posix/tst-fnmatch.input: Likewise.
32635 * posix/tst-fnmatch2.c: Add new test.
32636
68dc9497
AS
326372010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32638
32639 * elf/Makefile (check-execstack): Revert last change. Depend on
32640 check-execstack.h.
32641 (check-execstack.h): New target.
32642 (generated): Add check-execstack.h.
32643 * elf/check-execstack.c: Include "check-execstack.h".
32644 (main): Revert last change.
32645 (handle_file): Return zero if GNU_STACK is absent and
32646 DEFAULT_STACK_PERMS doesn't include PF_X.
32647
451f001b
UD
326482011-01-13 Ulrich Drepper <drepper@gmail.com>
32649
cfa28e56
UD
32650 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32651 in child fails because the descriptor is already closed.
8cf8ce17
UD
32652 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32653 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32654 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32655
1086d70d
UD
32656 [BZ #12397]
32657 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32658 syscall.
32659
451f001b
UD
32660 [BZ #10484]
32661 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32662 temporary buffer used to handle multi lookups locally.
a85b5cb4 32663 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32664
08769175
UD
326652011-01-12 Ulrich Drepper <drepper@gmail.com>
32666
32667 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32668 loader is ld.so.
32669
5e49c52e
UD
326702011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32671
32672 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32673 alignment for SSE2.
32674
60522a5f
UD
326752011-01-12 Ulrich Drepper <drepper@gmail.com>
32676
32677 [BZ #12394]
32678 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32679 characters. When rounding increased number of integer digits recompute
32680 number of groups.
32681 * stdio-common/tst-grouping.c: New file.
32682 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32683
f257bbd7
UD
326842011-01-09 Ulrich Drepper <drepper@gmail.com>
32685
32686 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32687 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32688
32689 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32690 void.
32691 * bits/select.h: Likewise.
32692
fa9c15cb
UD
326932011-01-08 Ulrich Drepper <drepper@gmail.com>
32694
32695 * po/ja.po: Update from translation team.
32696
16c2895f
DM
326972011-01-04 David S. Miller <davem@sunset.davemloft.net>
32698
32699 [BZ #11155]
32700 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32701 implementation just like for lxstat, fxstatat, et al.
32702
2543fef2
JM
327032010-12-27 Jim Meyering <meyering@redhat.com>
32704
32705 [BZ #12348]
32706 * posix/regexec.c (build_trtable): Return failure indication upon
32707 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32708
98727dbe
UD
327092010-12-25 Ulrich Drepper <drepper@gmail.com>
32710
5bd6dc5c
UD
32711 [BZ #12201]
32712 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32713 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32714 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32715 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32716
97983464
UD
32717 [BZ #12207]
32718 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32719
98727dbe
UD
32720 [BZ #12204]
32721 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32722 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32723
4a531bb0
L
327242010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32725
32726 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32727 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32728 script has SORT_BY_INIT_PRIORITY.
32729 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32730 NO_CTORS_DTORS_SECTIONS is defined.
32731 * elf/soinit.c: Likewise.
32732 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32733 NO_CTORS_DTORS_SECTIONS is defined.
32734 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32735 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32736 * sysdeps/sh/init-first.c: Likewise.
32737 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32738
07eb4b71
UD
327392010-12-24 Ulrich Drepper <drepper@gmail.com>
32740
32741 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32742 always use the slow path.
32743
30950a5f
RA
327442010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32745
32746 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32747 similar rule which adds the sysdep directories to the header search in
32748 order to pick up the correct platform stackinfo.h.
32749 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32750 perform test if it is, otherwise return successfully without testing.
32751 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32752 DEFAULT_STACK_PERMS define in stackinfo.h.
32753 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32754 defined in stackinfo.h.
32755 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32756 DEFAULT_STACK_PERMS defined in stackinfo.h.
32757 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32758 * sysdeps/ia64/stackinfo.h: Likewise.
32759 * sysdeps/s390/stackinfo.h: Likewise.
32760 * sysdeps/sh/stackinfo.h: Likewise.
32761 * sysdeps/sparc/stackinfo.h: Likewise.
32762 * sysdeps/x86_64/stackinfo.h: Likewise.
32763 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32764 PF_X for powerpc64. Retain PF_X for powerpc32.
32765
db753e2c
UD
327662010-12-19 Ulrich Drepper <drepper@gmail.com>
32767
14b697f7
UD
32768 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32769 accurately.
db753e2c
UD
32770 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32771 GETDENTS_64BIT_ALIGNED.
32772
28300719
UD
327732010-12-14 Ulrich Drepper <dreper@gmail.com>
32774
14b697f7 32775 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32776
4f197237
AS
327772010-12-10 Andreas Schwab <schwab@redhat.com>
32778
dbb0472f
AS
32779 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32780 _GNU_SOURCE.
32781
4f197237
AS
32782 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32783 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32784 Remove __restrict.
32785 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32786 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32787
fb88ac72
UD
327882010-12-09 Ulrich Drepper <drepper@gmail.com>
32789
32790 [BZ #11655]
32791 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32792 are initialized.
32793
42acbb92
JJ
327942010-12-09 Jakub Jelinek <jakub@redhat.com>
32795
32796 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32797
c038d98d
UD
327982010-12-03 Ulrich Drepper <drepper@gmail.com>
32799
32800 * po/it.po: Update from translation team.
32801
3a4a2499
L
328022010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32803
32804 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32805 unused codes.
32806
1e24cf6e
UD
328072010-11-30 Ulrich Drepper <drepper@gmail.com>
32808
32809 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32810
a7690819
AS
328112010-11-24 Andreas Schwab <schwab@redhat.com>
32812
32813 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32814 specially.
32815 (gaih_getanswer_slice): Likewise.
32816
3bf8d1b1
JJ
328172010-10-20 Jakub Jelinek <jakub@redhat.com>
32818
32819 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32820
6db52fbb
PB
328212010-05-31 Petr Baudis <pasky@suse.cz>
32822
32823 [BZ #11149]
32824 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32825 silently even in the chroot mode.
32826
eaca7569
UD
328272010-11-22 Ulrich Drepper <drepper@gmail.com>
32828
32829 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32830 last patch a bit. Pretty printing
32831
3056dcdb
UD
328322010-05-31 Petr Baudis <pasky@suse.cz>
32833
32834 [BZ #10085]
32835 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32836 initialization of skip_initgroups_dyn.
32837
cf7c9078
UD
328382010-11-19 Ulrich Drepper <drepper@gmail.com>
32839
32840 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32841 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32842
a1fb5e3e
UD
328432010-11-16 Ulrich Drepper <drepper@gmail.com>
32844
32845 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32846
3540d66b
AS
328472010-11-11 Andreas Schwab <schwab@redhat.com>
32848
32849 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32850 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32851 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32852 ($(objpfx)tst-fnmatch-mem): New rule.
32853 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32854 * posix/tst-fnmatch.c (main): Call mtrace.
32855
13b69574
L
328562010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32857
32858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32859 Support Intel processor model 6 and model 0x2c.
32860
da93d214
LM
328612010-11-10 Luis Machado <luisgpm@br.ibm.com>
32862
32863 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32864 signed comparison.
32865
8ca52c6e
L
328662010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32867
32868 [BZ #12205]
32869 * string/test-strncasecmp.c (check_result): New function.
32870 (do_one_test): Use it.
32871 (check1): New function.
32872 (test_main): Use it.
32873 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32874 Support strcasecmp and strncasecmp.
32875
69da074d
UD
328762010-11-08 Ulrich Drepper <drepper@gmail.com>
32877
32878 [BZ #12194]
32879 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32880 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32881
ff02d528
L
328822010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32883
32884 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32885 IFUNC support.
32886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32887 memset-x86-64.
32888 * sysdeps/x86_64/multiarch/bzero.S: New file.
32889 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32890 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32891 * sysdeps/x86_64/multiarch/memset.S: New file.
32892 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32894 Set bit_Prefer_SSE_for_memop for Intel processors.
32895 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32896 Define.
32897 (index_Prefer_SSE_for_memop): Define.
32898 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32899
344d0b54
LM
329002010-11-04 Luis Machado <luisgpm@br.ibm.com>
32901
32902 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32903 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32904
c0dde15b
UD
329052010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32906
32907 [BZ #12191]
32908 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32909 (__x86_64_raw_data_cache_size_half): Likewise.
32910 (__x86_64_raw_shared_cache_size): Likewise.
32911 (__x86_64_raw_shared_cache_size_half): Likewise.
32912
32913 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32914 (__x86_64_raw_data_cache_size_half): Likewise.
32915 (__x86_64_raw_shared_cache_size): Likewise.
32916 (__x86_64_raw_shared_cache_size_half): Likewise.
32917 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32918 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32919 and __x86_64_raw_shared_cache_size_half. Round
32920 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32921 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32922 to multiple of 256 bytes.
32923
0e516e0e
MS
329242010-11-03 Ulrich Drepper <drepper@gmail.com>
32925
32926 [BZ #12167]
32927 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32928 of inacessible symlinks. Verify result of symlink before returning it.
32929 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32930 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32931
0e012e87
ER
329322010-10-28 Erich Ritz <erichritz@gmail.com>
32933
32934 * math/math.h (isinf): Fix typo in comment.
32935
de0ff7bc
UD
329362010-11-01 Ulrich Drepper <drepper@gmail.com>
32937
32938 * po/da.po: Update from translation team.
32939
fa41c84d
UD
329402010-10-26 Ulrich Drepper <drepper@gmail.com>
32941
32942 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32943 is added to the list.
32944
f0967738
AK
329452010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32946 Ulrich Drepper <drepper@gmail.com>
32947
32948 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32949 the global list here. Move code to...
32950 (_dl_add_to_namespace_list): ...here. New function.
32951 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32952 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32953 * elf/dl-load.c (lose): Don't remove the element from the list.
32954 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32955 (_dl_map_object): Likewise.
32956
329572010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32958
32959 [BZ #12159]
32960 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32961 into all bytes of SSE register.
32962 Patch by Richard Li <richardpku@gmail.com>.
32963
f0967738 329642010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32965
32966 [BZ #12140]
32967 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32968 perturbing.
32969
d0b9e94f
MB
329702010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32971
32972 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32973 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32974 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32975 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32977 submachine.
32978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32979
8e9f92e9
AS
329802010-10-22 Andreas Schwab <schwab@redhat.com>
32981
32982 * include/dlfcn.h (__RTLD_SECURE): Define.
32983 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32984 mode & __RTLD_SECURE instead.
32985 (open_path): Rename preloaded parameter to secure.
32986 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32987 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32988 * elf/dl-deps.c (openaux): Likewise.
32989 * elf/rtld.c (struct map_args): Remove is_preloaded.
32990 (map_doit): Don't use it.
32991 (dl_main): Likewise.
32992 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32993 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32994
bc96fbda
AS
329952010-09-09 Andreas Schwab <schwab@redhat.com>
32996
32997 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32998 (sysd-rules-targets): Remove duplicates.
32999 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33000 rtld-%.$o dependency.
33001
22cd1c9b
AS
330022010-10-18 Andreas Schwab <schwab@redhat.com>
33003
33004 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33005 _dl_map_object do it.
33006
18edac48
UD
330072010-10-19 Ulrich Drepper <drepper@gmail.com>
33008
33009 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33010 fast fma builtins, define the macros in the C99 standard.
33011 (FP_FAST_FMAF): Likewise.
33012 (FP_FAST_FMAL): Likewise.
33013 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33014
33015 * bits/mathdef.h: Update copyright year.
33016 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33017
d2050124
MM
330182010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33019
33020 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33021 builtins, define the macros in the C99 standard.
33022 (FP_FAST_FMAF): Likewise.
33023 (FP_FAST_FMAL): Likewise.
33024 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33025 multiply/add.
33026 (FP_FAST_FMAF): Likewise.
33027
475facd1
JJ
330282010-10-15 Jakub Jelinek <jakub@redhat.com>
33029
33030 [BZ #3268]
33031 * math/libm-test.inc (fma_test): Some new testcases.
33032 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33033 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33034 y and infinite z. Do multiplication by C already in long double.
33035 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33037 y and infinite z. Do bitwise or of inexact bit into u.d.
33038 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33039 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33040 * sysdeps/i386/fpu/s_fma.S: Removed.
33041 * sysdeps/i386/fpu/s_fmal.S: Removed.
33042
7c08a05c
JJ
330432010-10-16 Jakub Jelinek <jakub@redhat.com>
33044
33045 [BZ #3268]
33046 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33047 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33048 computation is not scheduled after fetestexcept. Fix value
33049 of minimum denormal long double.
33050
f3f7372d
JJ
330512010-10-14 Jakub Jelinek <jakub@redhat.com>
33052
33053 [BZ #3268]
33054 * math/libm-test.inc (fma_test): Add some more tests.
33055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33056 correctly.
33057
14d43591
AS
330582010-10-15 Andreas Schwab <schwab@redhat.com>
33059
33060 * scripts/data/localplt-s390-linux-gnu.data: New file.
33061 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33062
5e908464
JJ
330632010-10-13 Jakub Jelinek <jakub@redhat.com>
33064
33065 [BZ #3268]
33066 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33067 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33068 instead of dbl-64.
33069 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33070 inlines.
33071 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33073 if one of x and y is very large and the other is subnormal.
33074 * sysdeps/s390/fpu/s_fmaf.c: New file.
33075 * sysdeps/s390/fpu/s_fma.c: New file.
33076 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33077 * sysdeps/powerpc/fpu/s_fma.S: New file.
33078 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33079 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33080 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33081
330822010-10-12 Jakub Jelinek <jakub@redhat.com>
33083
33084 [BZ #3268]
33085 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33086 fma tests.
33087 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33088 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33089 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33090 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33091 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33092 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33093 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33094
b833d51f
UD
330952010-10-12 Ulrich Drepper <drepper@redhat.com>
33096
33097 [BZ #12078]
33098 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33099 * posix/bug-regex31.input: Add test case.
33100
1751705d
UD
331012010-10-11 Ulrich Drepper <drepper@gmail.com>
33102
e9b9cbf5
UD
33103 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33104 * posix/bug-regex31.input: New file.
33105
33106 [BZ #12078]
33107 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33108 (parse_sub_exp): Fix last change, use postorder.
33109
ef06edbe
UD
33110 * posix/bug-regex31.c: New file.
33111 * posix/Makefile: Add rules to build and run bug-regex31.
33112
a129c80d
UD
33113 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33114
33115 [BZ #12078]
33116 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33117
b76b818e
UD
33118 [BZ #12108]
33119 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33120 to have entries in sys_siglist.
33121
1751705d
UD
33122 [BZ #12093]
33123 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33124 be NULL.
33125
9ff8d36f
JJ
331262010-10-07 Jakub Jelinek <jakub@redhat.com>
33127
33128 [BZ #3268]
33129 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33130 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33131 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33132 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33133 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33134 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33135 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33136 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33137 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33138 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33139 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33140 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33141 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33142 * math/ftestexcept.c (fetestexcept): Likewise.
33143 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33144 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33145 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33146 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33147 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33148 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33149 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33150
af325969
UD
331512010-10-11 Ulrich Drepper <drepper@gmail.com>
33152
c579b202 33153 [BZ #12107]
af325969
UD
33154 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33155 newline.
33156
67a67b95
UD
331572010-10-06 Ulrich Drepper <drepper@gmail.com>
33158
33159 * string/bug-strstr1.c: New file.
33160 * string/Makefile: Add rules to build and run bug-strstr1.
33161
5fb308bc
EB
331622010-10-05 Eric Blake <eblake@redhat.com>
33163
33164 [BZ #12092]
33165 * string/str-two-way.h (two_way_long_needle): Always clear memory
33166 when skipping input due to the shift table.
33167
45db99c7
UD
331682010-10-03 Ulrich Drepper <drepper@gmail.com>
33169
3b111893
UD
33170 [BZ #12005]
33171 * malloc/mcheck.c: Handle large requests.
33172
45db99c7
UD
33173 [BZ #12077]
33174 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33175 for strncmp and strncasecmp.
33176 * string/stratcliff.c: Add tests for strcmp and strncmp.
33177 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33178
cf7a1eb8
NI
331792010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33180
33181 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33182 __set_fpscr.
33183
6484ba5e
AJ
331842010-09-30 Andreas Jaeger <aj@suse.de>
33185
33186 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33187 (CGROUP_SUPER_MAGIC): Define.
33188 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33189 Handle btrfs and cgroup file systems.
33190 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33191 Likewise.
33192
91c42559
LM
331932010-09-27 Luis Machado <luisgpm@br.ibm.com>
33194
33195 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33196 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33197
87a97932
AK
331982010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33199
33200 [BZ #12067]
33201 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33202 trying to locate the ELF header.
33203
c21cc9bc
AS
332042010-09-27 Andreas Schwab <schwab@redhat.com>
33205
33206 [BZ #11611]
33207 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33208 Mask out sign-bit copies when constructing f_fsid.
33209
315970f6
PB
332102010-09-24 Petr Baudis <pasky@suse.cz>
33211
33212 * debug/stack_chk_fail_local.c: Add missing licence exception.
33213 * debug/warning-nop.c: Likewise.
33214
1ac7a2c7
JM
332152010-09-15 Joseph Myers <joseph@codesourcery.com>
33216
33217 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33218 implementing getdents64 using getdents syscall, set d_type if
33219 __ASSUME_GETDENTS32_D_TYPE.
33220
56801c50
AS
332212010-09-16 Andreas Schwab <schwab@redhat.com>
33222
33223 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33224 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33225
dda51327
UD
332262010-09-21 Ulrich Drepper <drepper@redhat.com>
33227
33228 [BZ #12037]
33229 * posix/unistd.h: Undo change of feature selection for ftruncate from
33230 2010-01-11.
33231
8ffcee4a
UD
332322010-09-20 Ulrich Drepper <drepper@redhat.com>
33233
a545ecd9 33234 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
33235 detection.
33236
e24f0a8b
AS
332372010-09-20 Andreas Schwab <schwab@redhat.com>
33238
33239 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33240 fanotify_mark.
33241 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33242
7291c56f
AS
332432010-09-14 Andreas Schwab <schwab@redhat.com>
33244
33245 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33246 variables after CHECK_SP call.
33247 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33248
bc5fb037
AS
332492010-09-13 Andreas Schwab <schwab@redhat.com>
33250 Ulrich Drepper <drepper@redhat.com>
33251
33252 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33253 re-relocationg ld.so.
33254 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33255 _dl_init_paths call.
33256 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33257 here anymore.
33258
e66e7419
UD
332592010-09-14 Ulrich Drepper <drepper@redhat.com>
33260
33261 * resolv/res_init.c (__res_vinit): Count the default server we added.
33262
c044aa75
CLT
332632010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33264 Ulrich Drepper <drepper@redhat.com>
33265
33266 [BZ #11968]
33267 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33268 (____longjmp_chk): Use %ebx for saving value across system call.
33269 Add unwind info.
33270
32cf4069
AS
332712010-09-06 Andreas Schwab <schwab@redhat.com>
33272
33273 * manual/Makefile: Don't mix pattern rules with normal rules.
33274
817328ee
AS
332752010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33276
33277 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33278 operation.
33279 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33280 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33281 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33282 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33283 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33284 Likewise.
33285
29fddf61
UD
332862010-09-04 Ulrich Drepper <drepper@redhat.com>
33287
33288 [BZ #11979]
33289 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33290 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33291
0959ffc9
UD
332922010-09-02 Ulrich Drepper <drepper@redhat.com>
33293
33294 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33295 * sysdeps/x86_64/addmul_1.S: Likewise.
33296 * sysdeps/x86_64/lshift.S: Likewise.
33297 * sysdeps/x86_64/mul_1.S: Likewise.
33298 * sysdeps/x86_64/rshift.S: Likewise.
33299 * sysdeps/x86_64/sub_n.S: Likewise.
33300 * sysdeps/x86_64/submul_1.S: Likewise.
33301
ece29840
ST
333022010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33303
0959ffc9
UD
33304 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33305 Define __sched_param instead of SCHED_* and sched_param when
ece29840 33306 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 33307 * bits/sched.h [__need_schedparam]
ece29840 33308 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
33309 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33310 (__defined_schedparam): Define to 1.
ece29840
ST
33311 (__sched_param): New structure, identical to sched_param.
33312 (__need_schedparam): Undefine.
33313
e53a31fe
MF
333142010-08-31 Mike Frysinger <vapier@gentoo.org>
33315
fdc0c10d
MF
33316 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33317 (epoll_create1): Declare.
33318
e53a31fe
MF
33319 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33320
a726d796
AS
333212010-08-31 Andreas Schwab <schwab@redhat.com>
33322
33323 [BZ #7066]
33324 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33325 shifting retval into place.
33326
2f3e3dc7
UD
333272010-09-01 Ulrich Drepper <drepper@redhat.com>
33328
f2933da9
UD
33329 * nis/rpcsvc/nis.h: Update copyright notice.
33330 * nis/rpcsvc/nis.x: Likewise.
33331 * nis/rpcsvc/nis_callback.h: Likewise.
33332 * nis/rpcsvc/nis_callback.x: Likewise.
33333 * nis/rpcsvc/nis_object.x: Likewise.
33334 * nis/rpcsvc/nis_tags.h: Likewise.
33335 * nis/rpcsvc/yp.h: Likewise.
33336 * nis/rpcsvc/yp.x: Likewise.
33337 * nis/rpcsvc/ypupd.h: Likewise.
33338 * nis/yp_xdr.c: Likewise.
33339 * nis/ypupdate_xdr.c: Likewise.
33340
2f3e3dc7
UD
33341 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33342 mainly the body of pmap_getport. Add parameters to specify timeouts.
33343 (pmap_getport): Use __libc_rpc_getport.
33344 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33345 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33346 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33347
f3dcc2f9
AS
333482010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33349
33350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33351 fanotify_mark.
33352
6d34eb5b
RM
333532010-08-27 Roland McGrath <roland@redhat.com>
33354
33355 * sysdeps/i386/i686/multiarch/Makefile
33356 (CFLAGS-varshift.c): New variable.
33357
9ea3de11
UD
333582010-08-27 Ulrich Drepper <drepper@redhat.com>
33359
c96d23fc
UD
33360 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33361 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33362
9ea3de11
UD
33363 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33364
33365 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33366
623aac7f
L
333672010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33368
33369 * sysdeps/x86_64/strlen.S: Unroll the loop.
33370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33371 strlen-sse2 strlen-sse2-bsf.
33372 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33373 __strlen_no_bsf if bit_Slow_BSF is set.
33374 (__strlen_sse42): Removed.
33375 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33376 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33377
8b2b7715
RM
333782010-08-25 Roland McGrath <roland@redhat.com>
33379
33380 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33381 * sysdeps/x86_64/multiarch/varshift.c: New file.
33382 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33383 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33384 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33385 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33386
e73015f2
L
333872010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33388
33389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33390 strlen-sse2 strlen-sse2-bsf.
33391 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33392 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33393 (__strlen_sse2): Removed.
33394 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33395 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33397 bit_Slow_BSF for Atom.
33398 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33399 (index_Slow_BSF): Define.
33400 (HAS_SLOW_BSF): Define.
33401
df24a73e
UD
334022010-08-25 Ulrich Drepper <drepper@redhat.com>
33403
33404 [BZ #10851]
33405 * resolv/res_init.c (__res_vinit): When no server address at all
33406 is given default to loopback.
33407
f2ac4868
RM
334082010-08-24 Roland McGrath <roland@redhat.com>
33409
09055553
RM
33410 * configure.in: Remove config-name.h generation.
33411 * configure: Regenerated.
33412 * config-name.in: File removed.
33413 * scripts/config-uname.sh: New file.
33414 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33415 ($(objdir)config-name.h): New target.
33416
f2ac4868
RM
33417 * sunrpc/rpc_parse.h: Avoid nested comment.
33418
73f27d5e
RH
334192010-08-24 Richard Henderson <rth@redhat.com>
33420 Ulrich Drepper <drepper@redhat.com>
33421 H.J. Lu <hongjiu.lu@intel.com>
33422
33423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33425 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33426 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33427 _mm_alignr_epi8 with _mm_loadu_si128.
33428 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33429 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33430 (__m128i_shift_right): Removed.
33431 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33432 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33433 * sysdeps/x86_64/multiarch/varshift.h: New file.
33434 * sysdeps/x86_64/multiarch/varshift.S: New file.
33435
84b9230c
MF
334362010-08-21 Mike Frysinger <vapier@gentoo.org>
33437
33438 * configure.in: Move assembler checks to before sysdep dir checking.
33439
9bbd0ddc
PB
334402010-08-20 Petr Baudis <pasky@suse.cz>
33441
33442 * LICENSES: Sync the sunrpc license.
33443
9da4bb31
UD
334442010-08-19 Ulrich Drepper <drepper@redhat.com>
33445
a7ab6ec8
UD
33446 * sunrpc/auth_des.c: Update copyright notice once again.
33447 * sunrpc/auth_none.c: Likewise.
33448 * sunrpc/auth_unix.c: Likewise.
33449 * sunrpc/authdes_prot.c: Likewise.
33450 * sunrpc/authuxprot.c: Likewise.
33451 * sunrpc/bindrsvprt.c: Likewise.
33452 * sunrpc/clnt_gen.c: Likewise.
33453 * sunrpc/clnt_perr.c: Likewise.
33454 * sunrpc/clnt_raw.c: Likewise.
33455 * sunrpc/clnt_simp.c: Likewise.
33456 * sunrpc/clnt_tcp.c: Likewise.
33457 * sunrpc/clnt_udp.c: Likewise.
33458 * sunrpc/clnt_unix.c: Likewise.
33459 * sunrpc/des_crypt.c: Likewise.
33460 * sunrpc/des_soft.c: Likewise.
33461 * sunrpc/get_myaddr.c: Likewise.
33462 * sunrpc/getrpcport.c: Likewise.
33463 * sunrpc/key_call.c: Likewise.
33464 * sunrpc/key_prot.c: Likewise.
33465 * sunrpc/openchild.c: Likewise.
33466 * sunrpc/pm_getmaps.c: Likewise.
33467 * sunrpc/pm_getport.c: Likewise.
33468 * sunrpc/pmap_clnt.c: Likewise.
33469 * sunrpc/pmap_prot.c: Likewise.
33470 * sunrpc/pmap_prot2.c: Likewise.
33471 * sunrpc/pmap_rmt.c: Likewise.
33472 * sunrpc/rpc/auth.h: Likewise.
33473 * sunrpc/rpc/auth_unix.h: Likewise.
33474 * sunrpc/rpc/clnt.h: Likewise.
33475 * sunrpc/rpc/des_crypt.h: Likewise.
33476 * sunrpc/rpc/key_prot.h: Likewise.
33477 * sunrpc/rpc/netdb.h: Likewise.
33478 * sunrpc/rpc/pmap_clnt.h: Likewise.
33479 * sunrpc/rpc/pmap_prot.h: Likewise.
33480 * sunrpc/rpc/pmap_rmt.h: Likewise.
33481 * sunrpc/rpc/rpc.h: Likewise.
33482 * sunrpc/rpc/rpc_des.h: Likewise.
33483 * sunrpc/rpc/rpc_msg.h: Likewise.
33484 * sunrpc/rpc/svc.h: Likewise.
33485 * sunrpc/rpc/svc_auth.h: Likewise.
33486 * sunrpc/rpc/types.h: Likewise.
33487 * sunrpc/rpc/xdr.h: Likewise.
33488 * sunrpc/rpc_clntout.c: Likewise.
33489 * sunrpc/rpc_cmsg.c: Likewise.
33490 * sunrpc/rpc_common.c: Likewise.
33491 * sunrpc/rpc_cout.c: Likewise.
33492 * sunrpc/rpc_dtable.c: Likewise.
33493 * sunrpc/rpc_hout.c: Likewise.
33494 * sunrpc/rpc_main.c: Likewise.
33495 * sunrpc/rpc_parse.c: Likewise.
33496 * sunrpc/rpc_parse.h: Likewise.
33497 * sunrpc/rpc_prot.c: Likewise.
33498 * sunrpc/rpc_sample.c: Likewise.
33499 * sunrpc/rpc_scan.c: Likewise.
33500 * sunrpc/rpc_scan.h: Likewise.
33501 * sunrpc/rpc_svcout.c: Likewise.
33502 * sunrpc/rpc_tblout.c: Likewise.
33503 * sunrpc/rpc_util.c: Likewise.
33504 * sunrpc/rpc_util.h: Likewise.
33505 * sunrpc/rpcinfo.c: Likewise.
33506 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33507 * sunrpc/rpcsvc/key_prot.x: Likewise.
33508 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33509 * sunrpc/rpcsvc/mount.x: Likewise.
33510 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33511 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33512 * sunrpc/rpcsvc/rex.x: Likewise.
33513 * sunrpc/rpcsvc/rstat.x: Likewise.
33514 * sunrpc/rpcsvc/rusers.x: Likewise.
33515 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33516 * sunrpc/rpcsvc/spray.x: Likewise.
33517 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33518 * sunrpc/rtime.c: Likewise.
33519 * sunrpc/svc.c: Likewise.
33520 * sunrpc/svc_auth.c: Likewise.
33521 * sunrpc/svc_authux.c: Likewise.
33522 * sunrpc/svc_raw.c: Likewise.
33523 * sunrpc/svc_run.c: Likewise.
33524 * sunrpc/svc_simple.c: Likewise.
33525 * sunrpc/svc_tcp.c: Likewise.
33526 * sunrpc/svc_udp.c: Likewise.
33527 * sunrpc/svc_unix.c: Likewise.
33528 * sunrpc/svcauth_des.c: Likewise.
33529 * sunrpc/xcrypt.c: Likewise.
33530 * sunrpc/xdr.c: Likewise.
33531 * sunrpc/xdr_array.c: Likewise.
33532 * sunrpc/xdr_float.c: Likewise.
33533 * sunrpc/xdr_mem.c: Likewise.
33534 * sunrpc/xdr_rec.c: Likewise.
33535 * sunrpc/xdr_ref.c: Likewise.
33536 * sunrpc/xdr_sizeof.c: Likewise.
33537 * sunrpc/xdr_stdio.c: Likewise.
33538
9da4bb31
UD
33539 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33540 handling.
33541
bdaa77bc
AS
335422010-08-19 Andreas Schwab <schwab@redhat.com>
33543
33544 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33545
fe2f79db
LM
335462010-08-19 Luis Machado <luisgpm@br.ibm.com>
33547
33548 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33549 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33550 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33551 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33552 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33553 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33554 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33555 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33556 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33557 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33558 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33559 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33560 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33561 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33562
b9b42ee0
AB
335632010-07-26 Anton Blanchard <anton@samba.org>
33564
33565 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33566 * malloc/arena.c (heap_trim): Likewise.
33567
1c06ba31
UD
335682010-08-16 Ulrich Drepper <drepper@redhat.com>
33569
33570 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33571 here. Not...
33572 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33573 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33574
f8392f40
L
335752010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33576
33577 * sysdeps/i386/elf/Makefile: New file.
33578
3162f12e
AS
335792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33580
33581 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33582 from fanotify_init.
33583 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33584 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33585
28c90b2c
UD
335862010-08-15 Ulrich Drepper <drepper@redhat.com>
33587
33588 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33589 of strncasecmp_l.
1feccb6c 33590 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 33591
ca6bb004
UD
335922010-08-14 Ulrich Drepper <drepper@redhat.com>
33593
e9f82e0d
UD
33594 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33595 strncase_l-nonascii.
33596 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33597 Add strncase_l-ssse3.
33598 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33599 * sysdeps/x86_64/strcmp.S: Likewise.
33600 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33601 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33602 * sysdeps/x86_64/strncase.S: New file.
33603 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33604 * sysdeps/x86_64/strncase_l.S: New file.
33605 * string/Makefile (strop-tests): Add strncasecmp.
33606 * string/test-strncasecmp.c: New file.
33607
33608 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33609 warning.
33610
ca6bb004
UD
33611 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33612 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33613
052fa7b3
AS
336142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33615
33616 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33617
962dba78
UD
336182010-08-12 Ulrich Drepper <drepper@redhat.com>
33619
33620 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33621 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33622 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33623
bebff237
AM
336242010-05-01 Alan Modra <amodra@gmail.com>
33625
33626 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33627 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33628 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33629 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33630 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33631 tidying. Don't tail-call __sigjmp_save for static lib.
33632 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33633 save location.
33634 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33635 (CALL_MCOUNT): Add eh info, and nop after bl.
33636 (TAIL_CALL_SYSCALL_ERROR): New macro.
33637 (PSEUDO_RET): Use it.
33638 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33639 Correct save location of integer regs and cr.
33640 (_dl_profile_resolve): Correct cr save location. Delete nops
33641 after bl when SHARED. Reduce cfi size a little by better
33642 placement of cfi directives.
33643 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33644 make a stack frame. Instead use parm save area as a temp.
33645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33646 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33648 Don't make a stack frame for parent, use parm save area.
33649 Increase child stack frame to 112 bytes. Don't save unused reg,
33650 and adjust reg usage. Set up cfi on error recovery and
33651 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33653 (__makecontext): Add dummy nop after jump to exit.
33654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33655 Use correct parm save area and cr save, reduce stack frame.
33656 Correct cfi for possible PSEUDO_RET frame setup.
33657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33658 Branch to local label emitted by PSEUDO_RET rather than
33659 __syscall_error.
33660
02637374
AS
336612010-08-12 Andreas Schwab <schwab@redhat.com>
33662
33663 [BZ #11904]
33664 * locale/programs/locale.c (print_assignment): New function.
33665 (show_locale_vars): Use it.
33666
c3e2f19b
UD
336672010-08-11 Ulrich Drepper <drepper@redhat.com>
33668
3cdaa6ad
UD
33669 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33670 field.
33671 (struct statfs64): Likewise.
33672 (_STATFS_F_FLAGS): Define.
33673 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33674 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33675 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33676 (ST_VALID): Define locally.
33677 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33678 __statvfs_getflags, use the provided value.
33679 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33680 __ASSUME_STATFS_F_FLAGS.
33681
754f7da3
UD
33682 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33683
10b3bedc
UD
33684 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33685 Add sys/fanotify.h.
33686 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33687 fanotify_mask for GLIBC_2.13.
33688 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33689 fanotify_init and fanotify_mark.
33690 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33691 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33692
c08fb0d7
UD
33693 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33694 Add prlimit.
33695 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33696 prlimit64 for GLIBC_2.13.
33697 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33698 prlimit64.
33699 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33700 syscall.
33701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33702 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33703 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33704 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33705 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33706 add prlimit alias.
33707 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33708
15bac72b
UD
33709 [BZ #11903]
33710 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33711 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33712
c3e2f19b
UD
33713 * nss/Makefile: Add rules to build and run tst-nss-test1.
33714 * shlib-versions: Add entry for libnss_test1.
33715 * nss/nss_test1.c: New file.
33716 * nss/tst-nss-test1.c: New file.
33717
33718 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33719 (__nss_configure_lookup): Set appropriate entry in
33720 __nss_configure_lookup to true.
33721 * nss/nsswitch.h: Define enum with indeces of databases in
33722 databases and __nss_database_custom arrays. Declare
33723 __nss_database_custom.
33724 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33725 to avoid using nscd when custom rules are installed.
33726 * nss/getXXbyYY_r.c: Likewise.
33727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33728
33729 * nss/nss_files/files-parse.c: Whitespace fixes.
33730
f15ce4d8
UD
337312010-08-09 Ulrich Drepper <drepper@redhat.com>
33732
33733 [BZ #11883]
33734 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33735 * posix/fnmatch_loop.c: Likewise.
33736
d22e4cc9
AK
337372010-07-17 Andi Kleen <ak@linux.intel.com>
33738
33739 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33740 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33741 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33742 * Versions.def [GLIBC_2.13]: Add.
33743
805bc17d
UD
337442010-08-06 Ulrich Drepper <drepper@redhat.com>
33745
33746 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33747 Also fail if tpwd after pwuid call is NULL.
33748
5a42321d
ST
337492010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33750
33751 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33752 when converting to ms.
33753
fd3ebeda
ST
337542010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33755
33756 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33757 EOPNOTSUPP errors with ENOTTY.
33758 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33759 EOPNOTSUPP errors with ENOTTY.
33760
73507d3a
UD
337612010-07-31 Ulrich Drepper <drepper@redhat.com>
33762
33763 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33764 Add strcasecmp_l-ssse3.
33765 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33766 strcasecmp.
33767 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33768 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33769 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33770
fe36dd02
UD
337712010-07-30 Ulrich Drepper <drepper@redhat.com>
33772
66f6765a
UD
33773 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33774
42e08a54
UD
33775 * string/Makefile (strop-tests): Add strcasecmp.
33776 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33777 strcasecmp_l-nonascii.
33778 (gen-as-const-headers): Add locale-defines.sym.
33779 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33780 * sysdeps/x86_64/strcasecmp.S: New file.
33781 * sysdeps/x86_64/strcasecmp_l.S: New file.
33782 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33783 * sysdeps/x86_64/locale-defines.sym: New file.
33784 * string/test-strcasecmp.c: New file.
33785
fe36dd02
UD
33786 * string/test-strcasestr.c: Test both ends of the range of characters.
33787 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33788
48cbc0d6
RM
337892010-07-29 Roland McGrath <roland@redhat.com>
33790
76e6d6bc 33791 [BZ #11856]
48cbc0d6
RM
33792 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33793
880113d9
UD
337942010-07-27 Ulrich Drepper <drepper@redhat.com>
33795
33796 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33797 for ld.so.
33798
deb9cabb
AS
337992010-07-27 Andreas Schwab <schwab@redhat.com>
33800
33801 * manual/memory.texi (Malloc Tunable Parameters): Document
33802 M_PERTURB.
33803
1c7570ff
RM
338042010-07-26 Roland McGrath <roland@redhat.com>
33805
33806 [BZ #11840]
33807 * configure.in (-fgnu89-inline check): Set and substitute
33808 gnu89_inline, not libc_cv_gnu89_inline.
33809 * configure: Regenerated.
33810 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33811
24fb0f88
UD
338122010-07-26 Ulrich Drepper <drepper@redhat.com>
33813
33814 * string/test-strnlen.c: New file.
33815 * string/Makefile (strop-tests): Add strnlen.
33816 * string/tester.c (test_strnlen): Add a few more test cases.
33817 * string/tst-strlen.c: Better error reporting.
33818
33819 * sysdeps/x86_64/strnlen.S: New file.
33820
8e96b93a
UD
338212010-07-24 Ulrich Drepper <drepper@redhat.com>
33822
33823 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33824 lower-latency instructions.
33825
dbc676d4
UD
338262010-07-23 Ulrich Drepper <drepper@redhat.com>
33827
33828 * string/test-strcasestr.c: New file.
33829 * string/test-strstr.c: New file.
33830 * string/Makefile (strop-tests): Add strstr and strcasestr.
33831 * string/str-two-way.h: Don't undefine MAX.
33832 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33833
f6a31e0e
AS
338342010-07-21 Andreas Schwab <schwab@redhat.com>
33835
33836 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33837 strcasestr-nonascii.
33838 (CFLAGS-strcasestr-nonascii.c): Define.
33839 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33840 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33841 Remove unused attribute.
33842
5dbc3b6c
RM
338432010-07-20 Roland McGrath <roland@redhat.com>
33844
33845 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33846 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33847 ld.so.cache was broken. With it, there is no way to disable dsocaps
33848 like LD_HWCAP_MASK can disable hwcaps.
33849
23d101d8
EPM
338502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33851
33852 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33853
cc9f2e47
UD
338542010-07-16 Ulrich Drepper <drepper@redhat.com>
33855
33856 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33857 call in strcasestr.
33858 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33859 __strcasestr_sse42_nonascii.
33860 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33861 strcasestr-nonascii.c.
33862 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33863
77c1b069
LM
338642010-06-15 Luis Machado <luisgpm@br.ibm.com>
33865
33866 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33867 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33868 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33869 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33870
440566c3
UD
338712010-07-09 Ulrich Drepper <drepper@redhat.com>
33872
33873 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33874 fcntl.
33875
5be9d05d
AS
338762010-07-06 Andreas Schwab <schwab@redhat.com>
33877
c30b7ee2 33878 [BZ #11577]
5be9d05d
AS
33879 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33880 dl_signal_cerror.
33881
8a492a67
UD
338822010-07-06 Ulrich Drepper <drepper@redhat.com>
33883
33884 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33885 _PC_PIPE_BUF using F_GETPIPE_SZ.
33886
713df3d5
RM
338872010-07-05 Roland McGrath <roland@redhat.com>
33888
33889 * manual/arith.texi (Rounding Functions): Fix rint description
33890 implicit in round description.
33891
702e8f14
UD
338922010-07-02 Ulrich Drepper <drepper@redhat.com>
33893
33894 * elf/Makefile: Fix linking for a few tests to make recent linker
33895 happy.
33896
52ed8be9
AS
338972010-06-30 Andreas Schwab <schwab@redhat.com>
33898
33899 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33900 $(common-objpfx)libc_nonshared.a.
33901
f47c9a11
LM
339022010-06-21 Luis Machado <luisgpm@br.ibm.com>
33903
33904 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33905 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33906 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33907 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33908 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33909 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33910 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33911 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33926 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33927 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33928 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33929 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33930 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33931 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33932 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33933 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33934 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33935 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33936 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33937 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33952
6fb8cbcb
L
339532010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33954
33955 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33956 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33957 * string/memmove.c (memmove): Renamed to ...
33958 (MEMMOVE): ...this. Default to memmove.
33959 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33960 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33961 (END_CHK): Define.
33962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33963 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33964 mempcpy-ssse3-back memmove-ssse3-back.
33965 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33966 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33967 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33968 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33969 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33970 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33971 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33972 * sysdeps/x86_64/multiarch/memmove.c: New file.
33973 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33974 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33975 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33976 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33977 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33978 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33979 Define.
33980 (index_Fast_Copy_Backward): Define.
33981 (HAS_ARCH_FEATURE): Define.
33982 (HAS_FAST_REP_STRING): Define.
33983 (HAS_FAST_COPY_BACKWARD): Define.
33984
4e733bac 339852010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33986
33987 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33988 Restore proper fallback handling.
33989
63c4ed22
UD
339902010-06-19 Ulrich Drepper <drepper@redhat.com>
33991
ac2b484c
UD
33992 [BZ #11701]
33993 * posix/group_member.c (__group_member): Correct checking loop.
33994
63c4ed22
UD
33995 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33996 OOM in getpwuid_r correctly. Return error number when the caller
33997 should return, otherwise -1.
33998 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33999 call returning > 0 value.
34000 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34001
765ade4b
AS
340022010-06-07 Andreas Schwab <schwab@redhat.com>
34003
34004 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34005 libc_nonshared.a from targets in modules-names.
34006
80da2e09
KS
340072010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34008
34009 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34010 requires it.
34011
158db122
LM
340122010-06-10 Luis Machado <luisgpm@br.ibm.com>
34013
34014 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34015 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34016 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34017 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34018
caa78cf8
AS
340192010-06-02 Andreas Schwab <schwab@redhat.com>
34020
34021 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34022
b2ef2c01
UD
340232010-06-14 Ulrich Drepper <drepper@redhat.com>
34024
34025 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34026 and F_GETPIPE_SZ.
34027 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34028 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34029 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34031 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34032 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34033
fbd643b6
RM
340342010-06-14 Roland McGrath <roland@redhat.com>
34035
34036 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34037
f32f2869
JJ
340382010-06-07 Jakub Jelinek <jakub@redhat.com>
34039
34040 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34041 __REDIRECT followed by __THROW.
34042 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34043 * posix/getopt.h (getopt): Likewise.
34044
2a50c078
EPM
340452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34046
34047 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34048 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34049 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34050 in AT_FLAGS.
34051 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34052 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34053
eb5ad2eb
LM
340542010-05-28 Luis Machado <luisgpm@br.ibm.com>
34055
34056 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34057
3c88fe1e
L
340582010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34059
34060 [BZ #11640]
34061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34062 Properly check family and model.
34063
d2f73151
TY
340642010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34065
34066 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34067
ebd2e13d
LM
340682010-05-24 Luis Machado <luisgpm@br.ibm.com>
34069
34070 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34071
b32b8b45
UD
340722010-05-21 Ulrich Drepper <drepper@redhat.com>
34073
34074 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34075 symbol reference.
34076
9acbe24d
AS
340772010-05-19 Andreas Schwab <schwab@redhat.com>
34078
34079 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34080 symbol reference.
34081
f0ccf6ea
AS
340822010-05-21 Andreas Schwab <schwab@redhat.com>
34083
3d04ff3a
AS
34084 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34085 and internal_recvmmsg.
34086 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34087 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34088 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34089 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34090
f0ccf6ea
AS
34091 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34092 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34093 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34094
5b08ac57
AS
340952010-05-20 Andreas Schwab <schwab@redhat.com>
34096
34097 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34098
4828935d
LM
340992010-05-17 Luis Machado <luisgpm@br.ibm.com>
34100
34101 POWER7 optimizations.
34102 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34103 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34104
373d545e
UD
341052010-05-19 Ulrich Drepper <drepper@redhat.com>
34106
34107 * version.h: Update for 2.13 development version.
34108
21a2b1ae
AS
341092010-05-12 Andrew Stubbs <ams@codesourcery.com>
34110
34111 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34112 exceptions. Return 0.
34113
3f7dcb2b
RM
341142010-05-07 Roland McGrath <roland@redhat.com>
34115
34116 * elf/ldconfig.c (main): Add a const.
34117
5f24d53a 341182010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 34119
a160f8d8
UD
34120 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34121 (args_options): Add no-idn option.
34122 (ahosts_keys_int): Add idn_flags to ai_flags.
34123 (parse_option): Handle 'i' option to clear idn_flags.
34124
5f24d53a
UD
34125 * malloc/malloc.c (_int_free): Possible race in the most recently
34126 added check. Only act on the data if no current modification
34127 happened.
265bb1ce
UD
34128
34129See ChangeLog.17 for earlier changes.