]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix typos.
[glibc.git] / ChangeLog
CommitLineData
55602758
YC
12013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2
3 * iconv/iconv_prog.c: Fix typos.
4 * stdio-common/psiginfo-data.h: Likewise.
5
9cd83302
RT
62013-10-12 Reuben Thomas <rrt@sc3d.org>
7
8 [BZ #15764]
9 * locale/setlocale.c: Fix typo.
10
99fd9f47
JM
112013-10-12 Joseph Myers <joseph@codesourcery.com>
12
b7ea74f0
JM
13 [BZ #16036]
14 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15 signaling NaN arguments.
16 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18
8a509447
JM
19 [BZ #14910]
20 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21 unordered operands.
22 * soft-fp/gesf2.c (__gesf2): Likewise.
23 * soft-fp/getf2.c (__getf2): Likewise.
24 * soft-fp/ledf2.c (__ledf2): Likewise.
25 * soft-fp/lesf2.c (__lesf2): Likewise.
26 * soft-fp/letf2.c (__letf2): Likewise.
27
98998e9f
JM
28 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29 * soft-fp/eqsf2.c (__eqsf2): Likewise.
30 * soft-fp/eqtf2.c (__eqtf2): Likewise.
31 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
33 * soft-fp/fixdfti.c (__fixdfti): Likewise.
34 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
35 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
36 * soft-fp/fixsfti.c (__fixsfti): Likewise.
37 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
38 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
39 * soft-fp/fixtfti.c (__fixtfti): Likewise.
40 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
41 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
42 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
44 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
47 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
48 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
49 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
50 * soft-fp/floatdisf.c (__floatdisf): Likewise.
51 * soft-fp/floatsisf.c (__floatsisf): Likewise.
52 * soft-fp/floattidf.c (__floattidf): Likewise.
53 * soft-fp/floattisf.c (__floattisf): Likewise.
54 * soft-fp/floattitf.c (__floattitf): Likewise.
55 * soft-fp/floatundidf.c (__floatundidf): Likewise.
56 * soft-fp/floatundisf.c (__floatundisf): Likewise.
57 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
58 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
59 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
60 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
61 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62 * soft-fp/gesf2.c (__gesf2): Likewise.
63 * soft-fp/getf2.c (__getf2): Likewise.
64 * soft-fp/ledf2.c (__ledf2): Likewise.
65 * soft-fp/lesf2.c (__lesf2): Likewise.
66 * soft-fp/letf2.c (__letf2): Likewise.
67
8edc4a11
JM
68 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
69 Undefine and redefine.
70 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
71 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
72 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
73 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
74 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
75 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
76 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
77 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
78 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
79 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
80 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
81 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
82 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
83 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
84 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
85
8399acaf
JM
86 [BZ #16032]
87 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
88 without decrementing exponent if mantissa >= that for the
89 denominator, not >.
90 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
91 denominator, not >. Decrement exponent in < case instead of
92 incrementing in >= case.
93 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
94 without decrementing exponent if mantissa >= that for the
95 denominator, not >.
96
99fd9f47
JM
97 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
98 computing saturated result for unsigned overflow.
99
10e1cf6b
SP
1002013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
101 Jeff Law <law@redhat.com>
102
103 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
104 (atan2Mp): Add systemtap probe marker.
105 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
106 (__ieee754_log): Add systemtap probe marker.
107 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
108 (atanMp): Add systemtap probe marker.
109 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
110 (tanMp): Add systemtap probe marker.
111 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
112 (__slowexp): Add systemtap probe marker.
113 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
114 (__slowpow): Add systemtap probe marker.
115 * manual/probes.texi: Document probes.
116
3d110c7c
EB
1172013-10-11 Eric Biggers <ebiggers3@gmail.com>
118
119 [BZ #15362]
120 * libio/fileops.c (_IO_new_file_write): Return count of bytes
121 written.
122 (_IO_new_file_xsputn): Don't return EOF if nothing has been
123 written.
124 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
125 written to buffer but not flushed.
126 * libio/iofwrite_u.c: Likewise.
127 * libio/iopadn.c: Return bytes returned even if EOF was
128 encountered.
129 * libio/iowpadn.c: Likewise.
130 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
131 if _IO_padn does not write the whole buffer.
132 [!COMPILE_WPRINTF] (PAD): Likewise.
133
75b4202a
DM
1342013-10-10 David S. Miller <davem@davemloft.net>
135
136 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
137 directory block.
138
6c6352e6
JM
1392013-10-10 Joseph Myers <joseph@codesourcery.com>
140
33b853c3
JM
141 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
142 instead of FSF address.
143 * soft-fp/fixdfti.c: Likewise.
144 * soft-fp/fixsfti.c: Likewise.
145 * soft-fp/fixtfti.c: Likewise.
146 * soft-fp/fixunsdfti.c: Likewise.
147 * soft-fp/fixunssfti.c: Likewise.
148 * soft-fp/fixunstfti.c: Likewise.
149 * soft-fp/floattidf.c: Likewise.
150 * soft-fp/floattisf.c: Likewise.
151 * soft-fp/floattitf.c: Likewise.
152 * soft-fp/floatuntidf.c: Likewise.
153 * soft-fp/floatuntisf.c: Likewise.
154 * soft-fp/floatuntitf.c: Likewise.
155 * soft-fp/trunctfxf2.c: Likewise.
156
6c6352e6
JM
157 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
158 * soft-fp/fixdfti.c: Likewise.
159 * soft-fp/fixsfti.c: Likewise.
160 * soft-fp/fixtfti.c: Likewise.
161 * soft-fp/fixunsdfti.c: Likewise.
162 * soft-fp/fixunssfti.c: Likewise.
163 * soft-fp/fixunstfti.c: Likewise.
164 * soft-fp/floattidf.c: Likewise.
165 * soft-fp/floattisf.c: Likewise.
166 * soft-fp/floattitf.c: Likewise.
167 * soft-fp/floatuntidf.c: Likewise.
168 * soft-fp/floatuntisf.c: Likewise.
169 * soft-fp/floatuntitf.c: Likewise.
170 * soft-fp/trunctfxf2.c: Likewise.
171
3bf78b71
DM
1722013-10-10 David S. Miller <davem@davemloft.net>
173
174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
175
6f10289e
JM
1762013-10-10 Joseph Myers <joseph@codsourcery.com>
177
bd878fc0
JM
178 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
179 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
180 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
181 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
182 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
183 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
184 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
185
6f10289e
JM
186 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
187 for NaNs before doing comparisons on argument.
188 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
189 Likewise.
190
321e2684
WN
1912013-10-10 Will Newton <will.newton@linaro.org>
192
193 * malloc/hooks.c (memalign_check): Ensure the value of bytes
194 passed to _int_memalign does not overflow.
195
40fefba1
TR
1962013-10-10 Torvald Riegel <triegel@redhat.com>
197
198 * scripts/bench.pl: Add include-sources directive.
199 * benchtests/README: Update documentation.
200
2ae21ed2
JM
2012013-10-10 Joseph Myers <joseph@codesourcery.com>
202
dcc2dd3f
JM
203 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
204 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
205 instead of FP_INIT_ROUNDMODE.
206 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
207 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
208
2ae21ed2
JM
209 [BZ #16034]
210 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
211 copy class of input value.
212 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
213 not handle exceptions.
214 * soft-fp/negsf2.c (__negsf2): Likewise.
215 * soft-fp/negtf2.c (__negtf2): Likewise.
216 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
217
cb8f9562
JM
2182013-10-09 Joseph Myers <joseph@codesourcery.com>
219
220 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
221 semicolon. From Linux kernel.
222
5b60c59d
AB
2232013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
224
225 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
226
b86835ca
YC
2272013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
228
229 [BZ #156]
230 * manual/socket.texi: Added statement about buffer
231 for gethostbyname2_r.
232
e7044ea7
OB
2332013-10-08 Ondřej Bílka <neleai@seznam.cz>
234
235 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
236 Use .p2align directive instead, throughout.
237 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
238 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
239 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
240 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
241 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
242 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
243 * sysdeps/x86_64/strchr.S: Likewise.
244 * sysdeps/x86_64/strrchr.S: Likewise.
245
09544cbc
SP
2462013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
247
88576635
SP
248 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
249
e7b2d1dd
SP
250 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
251
09544cbc
SP
252 * sysdeps/generic/math_private.h (__mpsin1): Remove
253 declaration.
254 (__mpcos1): Likewise.
255 (__mpsin): New argument __range_reduce.
256 (__mpcos): Likewise.
257 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
258 (slow): Use __mpsin and __mpcos.
259 (slow1): Likewise.
260 (slow2): Likewise.
261 (sloww): Likewise.
262 (sloww1): Likewise.
263 (sloww2): Likewise.
264 (bsloww): Likewise.
265 (bsloww1): Likewise.
266 (bsloww2): Likewise.
267 (cslow2): Likewise.
268 (csloww): Likewise.
269 (csloww1): Likewise.
270 (csloww2): Likewise.
271 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
272 range_reduce. Merge in __mpsin1.
273 (__mpcos): Likewise.
274 (__mpsin1): Remove.
275 (__mpcos1): Likewise.
276
7602d070
JM
2772013-10-07 Joseph Myers <joseph@codesourcery.com>
278
279 * locale/loadlocale.c (_nl_intern_locale_data): Use
280 LOCFILE_ALIGNED_P.
281 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
282 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
283 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
284 obstack data is appropriately aligned.
285 (obstack_int32_grow_fast): Likewise.
286 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
287 * locale/programs/locfile.c (add_locale_uint32): Likewise.
288 (add_locale_uint32_array): Likewise.
289
a357259b
SP
2902013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
291
292 * benchtests/Makefile: Remove ARGLIST and RET variables.
293 ($(objpfx)bench-%.c): Pass only function name to the script.
294 * benchtests/README: Update documentation.
295 * benchtests/acos-inputs: Add new directives.
296 * benchtests/acosh-inputs: Likewise.
297 * benchtests/asin-inputs: Likewise.
298 * benchtests/asinh-inputs: Likewise.
299 * benchtests/atan-inputs: Likewise.
300 * benchtests/atanh-inputs: Likewise.
301 * benchtests/cos-inputs: Likewise.
302 * benchtests/cosh-inputs: Likewise.
303 * benchtests/exp-inputs: Likewise.
304 * benchtests/log-inputs: Likewise.
305 * benchtests/pow-inputs: Likewise.
306 * benchtests/rint-inputs: Likewise.
307 * benchtests/sin-inputs: Likewise.
308 * benchtests/sinh-inputs: Likewise.
309 * benchtests/tan-inputs: Likewise.
310 * benchtests/tanh-inputs: Likewise.
311 * scripts/bench.pl: Add support for new directives.
312
9ec1b13d
AM
3132013-10-07 Alan Modra <amodra@gmail.com>
314
315 * README: Fix careless merge.
316
8b7d57cd
AM
3172013-10-05 Alan Modra <amodra@gmail.com>
318
319 * NEWS: Mention powerpc64le support and bugs fixed.
320 * README: Both big-endian and little-endian powerpc64 supported.
321
7b7bab13
ST
3222013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
323
324 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
325 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
326 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
327 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
328
d39baad1
RA
3292013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
330
331 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
332 match prototype.
333
cd78f7e7
JM
3342013-10-04 Joseph Myers <joseph@codesourcery.com>
335
29d73d86
JM
336 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
337 Move -mhard-float appending from
338 ports/sysdeps/powerpc/powerpc32/Makefile.
339 [$(with-fp) = yes] (ASFLAGS): Likewise.
340 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
341 * sysdeps/powerpc/nofpu: Move directory from
342 ports/sysdeps/powerpc/nofpu.
343 * sysdeps/powerpc/soft-fp: Move directory from
344 ports/sysdeps/powerpc/soft-fp.
345 * sysdeps/powerpc/powerpc32/405: Move directory from
346 ports/sysdeps/powerpc/powerpc32/405.
347 * sysdeps/powerpc/powerpc32/440: Move directory from
348 ports/sysdeps/powerpc/powerpc32/440.
349 * sysdeps/powerpc/powerpc32/464: Move directory from
350 ports/sysdeps/powerpc/powerpc32/464.
351 * sysdeps/powerpc/powerpc32/476: Move directory from
352 ports/sysdeps/powerpc/powerpc32/476.
353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
354 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
356 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
358 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
360 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
362 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
363 * README: Update for powerpc-*-linux-gnu software floating point
364 support in libc.
365
e246b347
JM
366 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
367 case to powerpc/powerpc32*.
368 * sysdeps/unix/sysv/linux/configure: Regenerated.
369
89c2003e
JM
370 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
371 (_FPU_MASK_OM): Define as 0x04.
372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
374 0x00c10080.
375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
376 0x0000003c.
377 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
378
cd78f7e7
JM
379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
380 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
381 getcontext_e500.
382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
383 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
384 setcontext_e500.
385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
386 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
387 and setcontext_e500.
388
c755294d
CL
3892013-10-04 Chris Leonard <cjl@sugarlabs,.org>
390
391 * locale/iso-3166.def: Update iso-1366.def and related occurrences
392
e16d221c
SP
3932013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
394
395 * manual/threads.texi (Default Thread Attributes): Fix typo.
396
215c7d43
WN
3972013-10-04 Will Newton <will.newton@linaro.org>
398
399 * malloc/Makefile: Add tst-memalign.
400 * malloc/tst-memalign.c: New file.
401
27d0461b
WN
402 * malloc/tst-posix_memalign.c: Add comments.
403 (do_test): Add comments and call free on all potentially
404 allocated pointers. Add space after cast.
405
1bc92709
WN
406 * malloc/tst-pvalloc.c: Add comments.
407 (do_test): Add comments and call free on all potentially
408 allocated pointers. Remove duplicate check for NULL pointer.
409 Add space after cast.
410
66a9be9d
WN
411 * malloc/tst-valloc.c: Add comments.
412 (do_test): Add comments and call free on all potentially
413 allocated pointers. Remove duplicate check for NULL pointer.
414 Add space after cast.
415
4cb81307
AM
4162013-10-04 Alan Modra <amodra@gmail.com>
417
418 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
419 Use stdint types in rather than __attribute__((mode())).
420 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
421
f8e3e9f3
AM
4222013-10-04 Alan Modra <amodra@gmail.com>
423
424 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
425 Correct handling of unaligned relocs for little-endian.
426 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
427
8f9ebb08
AM
4282013-10-04 Alan Modra <amodra@gmail.com>
429
430 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
431 * configure: Regenerate.
432 * nptl/shlib-versions: Powerpc*le starts at 2.18.
433 * shlib-versions: Likewise.
434
0edf96c2
AM
4352013-10-04 Alan Modra <amodra@gmail.com>
436
437 * string/tester.c (test_memrchr): Increment reported test cycle.
438
e0f7a380
AM
4392013-10-04 Alan Modra <amodra@gmail.com>
440
441 * string/test-memcpy.c (do_one_test): When reporting errors, print
442 string address and don't overrun end of string.
443
466b0393
AM
4442013-10-04 Alan Modra <amodra@gmail.com>
445
446 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
447 insrdi. Make better use of reg selection to speed exit slightly.
448 Schedule entry path a little better. Remove useless "are we done"
449 checks on entry to main loop. Handle wrapping around zero address.
450 Correct main loop count. Handle single left-over word from main
451 loop inline rather than by using loop_small. Remove extra word
452 case in loop_small caused by wrong loop count. Add little-endian
453 support.
454 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
455 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
456 cache hint.
457 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
458 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
459 support. Avoid rlwimi.
460 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
461
3be87c77
AM
4622013-10-04 Alan Modra <amodra@gmail.com>
463
464 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 465 insrdi. Formatting.
3be87c77
AM
466 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
467 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
468 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
469 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
470 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
471 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
472
759cfef3
AM
4732013-10-04 Alan Modra <amodra@gmail.com>
474
475 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
476 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
477 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
478 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
479 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
480 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
481 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
482 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
483 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
484 use of regs. Use power7 mtocrf. Tidy function tails.
485
fe6e95d7
AM
4862013-10-04 Alan Modra <amodra@gmail.com>
487
488 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
489 Formatting. Consistently use rXXX register defines or rN defines.
490 Use early exit labels that avoid restoring unused non-volatile regs.
491 Make cr field use more consistent with rWORDn compares. Rename
492 regs used as shift registers for unaligned loop, using rN defines
493 for short lifetime/multiple use regs.
494 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
495 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
496 addi 1,1,64 to pop stack frame. Simplify return value code.
497 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
498
664318c3
AM
4992013-10-04 Alan Modra <amodra@gmail.com>
500
501 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
502 support. Correct typos, formatting. Optimize tail. Use insrdi
503 rather than rlwimi.
504 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
505 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
506 little-endian support. Correct typos.
507 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
508 rather than rlwimi.
509 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
510 in loop and entry code to keep "and." results.
511 (strchr): Add little-endian support. Comment. Move cntlzd
512 earlier in tail.
513 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
514
43b84013
AM
5152013-10-04 Alan Modra <amodra@gmail.com>
516
517 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
518 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
519 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
520 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
521
8a7413f9
AM
5222013-10-04 Alan Modra <amodra@gmail.com>
523
524 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
525 (rTMP): Define as r11.
526 (strcmp): Add little-endian support. Optimise tail.
527 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
528 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
529 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
530 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
531 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
532 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
533 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
534
33ee81de
AM
5352013-10-04 Alan Modra <amodra@gmail.com>
536
537 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
538 little-endian support. Remove unnecessary "are we done" tests.
539 Handle "s" wrapping around zero and extremely large "size".
540 Correct main loop count. Handle single left-over word from main
541 loop inline rather than by using small_loop. Correct comments.
542 Delete "zero" tail, use "end_max" instead.
543 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
544
db9b4570
AM
5452013-10-04 Alan Modra <amodra@gmail.com>
546
547 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
548 support. Don't branch over align.
549 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
550 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
551 support. Rearrange tmp reg use to suit. Comment.
552 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
553
f7c399cf
AM
5542013-10-04 Alan Modra <amodra@gmail.com>
555
556 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
557
0b2c2ace
AM
5582013-10-04 Alan Modra <amodra@gmail.com>
559
560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
561 conditional form of branch and link when obtaining pc.
562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
563
02f04a6c
AM
5642013-10-04 Alan Modra <amodra@gmail.com>
565
566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
567 HIWORD/LOWORD.
568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
570
9b874b2f
AM
5712013-10-04 Alan Modra <amodra@gmail.com>
572
573 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
574 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
575 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
576 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
577 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
578 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
579 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
580 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
581 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
582 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
583
be1e5d31
AB
5842013-10-04 Anton Blanchard <anton@au1.ibm.com>
585 Alistair Popple <alistair@ozlabs.au.ibm.com>
586 Alan Modra <amodra@gmail.com>
587
588 [BZ #15723]
589 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
590 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
591 _dl_hwcap access for little-endian.
592 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
593 destroy vmx regs when saving unaligned.
594 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
595 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
596 destroy vmx regs when saving unaligned.
597
fef13a78
AM
5982013-10-04 Alan Modra <amodra@gmail.com>
599
600 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
601 Don't use a union to pack hi/low value.
602
76a66d51
AB
6032013-10-04 Anton Blanchard <anton@au1.ibm.com>
604
605 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
606 for little-endian.
607 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
608 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
609 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
610 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
611 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
612
6a31fe7f
AM
6132013-10-04 Alan Modra <amodra@gmail.com>
614
615 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
616 constants to usual value for .cst8 section, and remove redundant
617 high address load.
618 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
619 constant for 0x1p52. Load little-endian words of double from
620 correct stack offsets.
621
7b88401f
AM
6222013-10-04 Alan Modra <amodra@gmail.com>
623
624 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
625 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
626 words of double from correct stack offsets.
627 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
628 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
629 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
630 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
631 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
632 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
633 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
634 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
635 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
636 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
637 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
638 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
639 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
640 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
641 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
642 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
643 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
644
9c008155
AM
6452013-10-04 Alan Modra <amodra@gmail.com>
646
647 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
648 64-bit int/double union.
649 (_FPU_SETCW): Likewise.
650 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
651 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
652
da13146d
AM
6532013-10-04 Alan Modra <amodra@gmail.com>
654
655 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
656 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
657
603e8410
AM
6582013-10-04 Alan Modra <amodra@gmail.com>
659
660 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
661 use vector int constants.
662 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
663
4a28b3ca
AB
6642013-10-04 Anton Blanchard <anton@au1.ibm.com>
665
666 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
667 array with long long.
668 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
669 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
670 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
671 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
672 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
673 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
674 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
675 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
676 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
677 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
678 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
679 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
680 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
681
2ca85d2b
AB
6822013-10-04 Anton Blanchard <anton@au1.ibm.com>
683
684 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
685 (__signbit): Likewise. Correct for little-endian.
686 (__signbitl): Call __signbit.
687 (lrint): Correct for little-endian.
688 (lrintf): Call lrint.
689
62a728ae
AM
6902013-10-04 Alan Modra <amodra@gmail.com>
691
692 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
693 union 32-bit int array member with 64-bit int array.
694 (t515, tm256): Double rather than long double.
695 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
696
32c301df
AM
6972013-10-04 Alan Modra <amodra@gmail.com>
698
699 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
700 Delete.
701 (IEEE854_LONG_DOUBLE_BIAS): Delete.
702 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
703 version of math_ldbl.h.
704
650ef4bd
AM
7052013-10-04 Alan Modra <amodra@gmail.com>
706
707 [BZ #15734], [BZ #15735]
708 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
709 all uses of ieee875 long double macros and unions. Simplify test
710 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
711 ldbl_extract_mantissa value for ix,iy exponents. Properly
712 normalize after ldbl_extract_mantissa, and don't add hidden bit
713 already handled. Don't treat low word of ieee854 mantissa like
714 low word of IBM long double and mask off bit when testing for
715 zero.
716 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
717 all uses of ieee875 long double macros and unions. Simplify tests
718 for 0.0L and inf. Correct double adjustment of k. Delete dead code
719 adjusting ha,hb. Simplify code setting kld. Delete two600 and
720 two1022, instead use their values. Recognise that tests for large
721 "a" and small "b" are mutually exclusive. Rename vars. Comment.
722 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
723 Rewrite all uses of ieee875 long double macros and unions. Simplify
724 test for 0.0L and nan. Correct negation.
725 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
726 ieee875 long double macros and unions. Correct output for large
727 magnitude x. Correct absolute value calculation.
728 (__erfcl): Likewise.
729 * math/libm-test.inc: Add tests for errors discovered in IBM long
730 double versions of fmodl, remainderl, erfl and erfcl.
731
765714ca
AM
7322013-10-04 Alan Modra <amodra@gmail.com>
733
734 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
735 all uses of ieee854 long double macros and unions. Simplify tests
736 for long doubles that are fully specified by the high double.
737 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
738 Likewise.
739 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
740 Remove dead code too.
741 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
742 (__ieee754_ynl): Likewise.
743 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
744 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
745 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
746 Remove dead code too.
747 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
748 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
749 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
750 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
751 Simplify.
752 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
753 Simplify.
754 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
755 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
756 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
757 Comment on variable precision.
758 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
759 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
760 Likewise.
761 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
762 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
763 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
764 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
765 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
766
4ebd120c
AM
7672013-10-04 Alan Modra <amodra@gmail.com>
768
769 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
770 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
771 all uses of ieee854 long double macros and unions.
772 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
773 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
774 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
775 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
776 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
777 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
778 Likewise.
779 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
780 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
781 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
782 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
783 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
784 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
785 Simplify sign and nan test too.
786 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
787 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
788 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
789 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
790 Likewise.
791 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
792 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
793 Likewise.
794 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
795 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
796 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
797 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
798 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
799 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
800
1b6adf88
AM
8012013-10-04 Alan Modra <amodra@gmail.com>
802
803 * stdio-common/printf_size.c (__printf_size): Don't use
804 union ieee854_long_double in fpnum union.
805 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
806 signbit macro to retrieve sign from long double.
807 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
808 retrieve sign from long double.
809 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
810 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
811 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
812 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
813 * math/test-misc.c (main): Don't use union ieee854_long_double.
814
4cf69995
AM
8152013-10-04 Alan Modra <amodra@gmail.com>
816
817 [BZ #15680]
818 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
819 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
820 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
821 calculation. Remove unnecessary test for denormal exponent.
822 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
823 Correct handling of denormals. Avoid undefined shift behaviour.
824 Correct normalisation of low mantissa when low double is denormal.
825 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
826 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
827 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
828 Correct normalisation of low mantissa. Test for overflow of high
829 mantissa and normalise.
830 (ldbl_nearbyint): Use more readable constant for two52.
831 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
832 (__mpn_construct_long_double): Fix test for overflow of high
833 mantissa and correct normalisation. Avoid undefined shift.
834
9605ca6c
AM
8352013-10-04 Alan Modra <amodra@gmail.com>
836
837 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
838 (union ibm_extended_long_double): Define as an array of ieee754_double.
839 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
840 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
841 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
842 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
843 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
844 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
845 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
846 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
847 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
848 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
849 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
850
975569d0
JM
8512013-10-03 Joseph Myers <joseph@codesourcery.com>
852
d3d23756
JM
853 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
854 page size instead of calling getpagesize.
855
975569d0
JM
856 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
857 (LOCFILE_ALIGN_MASK): Likewise.
858 (LOCFILE_ALIGN_UP): Likewise.
859 (LOCFILE_ALIGNED_P): Likewise.
860 * locale/programs/ld-collate.c (collate_output): Use the new
861 macros instead of __alignof__ (int32_t).
862 * locale/weight.h (findidx): Likewise.
863
b1fe1f2b
OB
8642013-10-03 Ondřej Bílka <neleai@seznam.cz>
865
866 [BZ #431]
867 * manual/string.texi: Fix strncat and wcsncat.
868
5f855e35
BM
8692013-10-03 Brooks Moses <bmoses@google.com>
870
871 [BZ #15915]
872 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
873 * Makerules: ...here, and adjust associated comments.
874
3cef6009
WN
8752013-10-02 Will Newton <will.newton@linaro.org>
876
877 * malloc/Makefile: Add tst-pvalloc.
878 * malloc/tst-pvalloc.c: New file.
879
7815420b
WN
8802013-10-02 Will Newton <will.newton@linaro.org>
881
882 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
883 improve test coverage.
884
4868b204
WN
8852013-10-02 Will Newton <will.newton@linaro.org>
886
887 * malloc/Makefile: Add tst-posix_memalign.
888 * malloc/tst-posix_memalign.c: New file.
889
29c793b3
EB
8902013-10-01 Eric Blake <eblake@redhat.com>
891
892 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
893 Use __THROWNL rather than __THROW on static functions.
894
fd967522
PM
8952013-09-30 Petr Machata <pmachata@redhat.com>
896
897 * elf/elf.h (R_AARCH64_ABS16): New macro.
898 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
899 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
900 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
901 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
902 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
903 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
904 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
905 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
906 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
907 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
908 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
909 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
910 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
911 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
912 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
913 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
914 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
915 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
916 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
917 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
918 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
919 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
920 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
921 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
922 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
923 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
924 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
925 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
926 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
927 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
928 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
929 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
930 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
931 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
932 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
933 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
934 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
935 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
936 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
937 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
938 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
939 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
940 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
941 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
942 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
943 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
944 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
945 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
946 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
947 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
948 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
949 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
950 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
951 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
952 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
953 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
954 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
955 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
956 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
957 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
958 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
959 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
960 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
961 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
962 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
963 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
964 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
965 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
966 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
967 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
968 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
969 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
970 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
971 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
972 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
973 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
974 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
975 (R_AARCH64_TLSDESC_LDR): Likewise.
976 (R_AARCH64_TLSDESC_ADD): Likewise.
977 (R_AARCH64_TLSDESC_CALL): Likewise.
978
b2179107
AS
9792013-09-30 Andreas Schwab <schwab@suse.de>
980
981 [BZ #15048]
982 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
983 the nss database lookup.
984 * nscd/initgrcache.c (addinitgroupsX): Likewise.
985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
986
47f28d0a
MF
9872013-09-28 Mike Frysinger <vapier@gentoo.org>
988
989 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
990
9912013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
992
993 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
994 ${Bash-specific parameter/pattern/string} parameter expansion.
995 * sysdeps/unix/make-syscalls.sh: Likewise.
996
f4518a17
KK
9972013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
998
999 * sysdeps/sh/stackguard-macros.h: New file.
1000
dc1a95c7
OB
10012013-09-26 Ondřej Bílka <neleai@seznam.cz>
1002
1003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1004 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1005 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1006 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1007 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1008 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1009
5ebbff8f
AZ
10102013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1011
1012 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1013 Fix thread ID register.
1014
4fd2cf9f
JM
10152013-09-25 Joseph Myers <joseph@codesourcery.com>
1016
1017 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1018 [POSIX || UNIX98]: Require rather than permitting all symbols from
1019 <time.h>.
1020 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1021 element of struct sched_param.
1022 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1023 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1024 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1025 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1026 constant.
1027
12c22bc4
OL
10282013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1029
1030 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1031 argument calculation.
1032
a03d8ea7
JM
10332013-09-24 Joseph Myers <joseph@codesourcery.com>
1034
1035 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1036 Expect macro.
1037 [POSIX] (pthread_attr_t): Do not require type.
1038 [POSIX] (pthread_cond_t): Likewise.
1039 [POSIX] (pthread_condattr_t): Likewise.
1040 [POSIX] (pthread_key_t): Likewise.
1041 [POSIX] (pthread_mutex_t): Likewise.
1042 [POSIX] (pthread_mutexattr_t): Likewise.
1043 [POSIX] (pthread_once_t): Likewise.
1044 [POSIX] (pthread_t): Likewise.
1045 [POSIX-based standards] (pthread_atfork): Expect function.
1046
6055173a
JM
10472013-09-24 Joseph Myers <joseph@codesourcery.com>
1048 Richard Sandiford <richard@codesourcery.com>
1049
1050 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1051 (swap_endianness_p): New extern variable.
1052 (set_big_endian): New inline function.
1053 (maybe_swap_uint32): Likewise.
1054 (maybe_swap_uint32_array): Likewise.
1055 (maybe_swap_uint32_obstack): Likewise.
1056 * locale/programs/locfile.c: Include <stdbool.h>.
1057 (swap_endianness_p): New variable.
1058 (add_locale_uint32): Call maybe_swap_uint32.
1059 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1060 (write_locale_data): Call maybe_swap_uint32_array.
1061 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1062 maybe_swap_uint32.
1063 (obstack_int32_grow_fast): Likewise.
1064 (output_weightwc): Call maybe_swap_uint32_obstack.
1065 (collate_output): Likewise.
1066 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1067 (OPT_LITTLE_ENDIAN): Likewise.
1068 (options): Add --little-endian and --big-endian options.
1069 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1070 * locale/programs/locarchive.c: Include "locfile.h".
1071 (GET): New macro.
1072 (SET): Likewise.
1073 (INC): Likewise.
1074 (create_archive): Use the new macros to access fields of
1075 structures directly mapped from or written to locale archives.
1076 (oldlocrecentcmp): Likewise.
1077 (enlarge_archive): Likewise.
1078 (insert_name): Likewise.
1079 (add_alias): Likewise.
1080 (add_locale): Likewise.
1081 (delete_locales_from_archive): Likewise.
1082 (show_archive_content): Likewise.
1083 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1084 locale data.
1085
39bf0bb4
RM
10862013-09-24 Roland McGrath <roland@hack.frob.com>
1087
1088 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1089 http://www.gnu.org/doc/freemanuals.texi.
1090 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1091
f02eed10
WN
10922013-09-24 Will Newton <will.newton@linaro.org>
1093
1094 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1095 macro.
1096
a3a6c312
JM
10972013-09-23 Joseph Myers <joseph@codesourcery.com>
1098
1099 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1100 unsigned char.
1101
107375ac
MR
11022013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1103
1104 * manual/threads.texi (POSIX Threads): Fix a typo.
1105
141f3a77
SP
11062013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1107
303e567a
SP
1108 [BZ #14547]
1109 * string/tst-strcoll-overflow.c: New test case.
1110 * string/Makefile (xtests): Add tst-strcoll-overflow.
1111 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1112 cache if string sizes may cause integer overflow.
1113
141f3a77
SP
1114 [BZ #14547]
1115 * string/strcoll_l.c (coll_seq): New members rule, idx,
1116 save_idx and back_us.
1117 (get_next_seq_nocache): New function.
1118 (do_compare_nocache): New function.
1119 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1120 when malloc fails.
1121
c61b4d41
CD
11222013-09-23 Carlos O'Donell <carlos@redhat.com>
1123
0b1f8e35
CD
1124 [BZ #15754]
1125 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1126 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1127 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1128
c61b4d41
CD
1129 [BZ #15754]
1130 * elf/Makefile (tests): Add tst-ptrguard1.
1131 (tests-static): Add tst-ptrguard1-static.
1132 (tst-ptrguard1-ARGS): Define.
1133 (tst-ptrguard1-static-ARGS): Define.
1134 * elf/tst-ptrguard1.c: New file.
1135 * elf/tst-ptrguard1-static.c: New file.
1136 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1137 * sysdeps/i386/stackguard-macros.h: Likewise.
1138 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1139 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1140 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1141 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1142 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1143 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1144
11452013-09-23 Hector Marco <hecmargi@upv.es>
1146 Ismael Ripoll <iripoll@disca.upv.es>
1147 Carlos O'Donell <carlos@redhat.com>
1148
1149 [BZ #15754]
1150 * sysdeps/generic/stackguard-macros.h: Define
1151 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1152 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1153 Define __pointer_chk_guard_local.
1154 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1155 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1156
f5f4e7b4
VV
11572013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1158
1159 [BZ #15859]
1160 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1161
5bb43a43
AS
11622013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1163
1164 * include/string.h (__ffs): Declare as hidden.
1165 * string/ffs.c (__ffs): Define as hidden.
1166 * sysdeps/i386/ffs.c (__ffs): Likewise.
1167 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1168 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1169 * sysdeps/s390/ffs.c (__ffs): Likewise.
1170 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1171
3ea5be54
AO
11722013-09-20 Alexandre Oliva <aoliva@redhat.com>
1173
ffb89e53
AO
1174 * NEWS: Mention malloc probes.
1175
322dea08
AO
1176 * malloc/arena.c (new_heap): New memory_heap_new probe.
1177 (grow_heap): New memory_heap_more probe.
1178 (shrink_heap): New memory_heap_less probe.
1179 (heap_trim): New memory_heap_free probe.
1180 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1181 (systrim): New memory_sbrk_less probe.
1182 * manual/probes.texi: Document them.
1183
655673f3
AO
1184 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1185 * manual/probes.texi: Document it.
1186
35fed6f1
AO
1187 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1188 (__libc_realloc): Add memory_realloc_retry probe.
1189 (__libc_memalign): Add memory_memalign_retry probe.
1190 (__libc_valloc): Add memory_valloc_retry probe.
1191 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1192 (__libc_calloc): Add memory_calloc_retry probe.
1193 * manual/probes.texi: Document them.
1194
6999d38c
AO
1195 * malloc/arena.c (get_free_list): Add probe
1196 memory_arena_reuse_free_list.
1197 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1198 and memory_arena_reuse.
1199 (arena_get2) [!PER_THREAD]: Likewise.
1200 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1201 memory_arena_reuse_realloc.
1202 * manual/probes.texi: Document them.
1203
0653427f
AO
1204 * malloc/malloc.c (__libc_free): Add
1205 memory_mallopt_free_dyn_thresholds probe.
1206 (__libc_mallopt): Add multiple memory_mallopt probes.
1207 * manual/probes.texi: Document them.
1208
3ea5be54
AO
1209 * malloc/malloc.c: Include stap-probe.h.
1210 (__libc_mallopt): Add memory_mallopt probe.
1211 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1212 * manual/probes.texi: New.
1213 * manual/Makefile (chapters): Add probes.
1214 * manual/threads.texi: Set next node.
1215
e35696c3 12162013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 1217
e35696c3
CL
1218 [BZ #15963, #13985]
1219 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1220 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1221 Add `Chinese' to `nan' entry name.
1222
4aafb73c
SP
12232013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1224
1225 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1226 (POLYNOMIAL): Likewise.
1227 (TAYLOR_SINCOS): Likewise.
1228 (TAYLOR_SLOW): Likewise.
1229 (__sin): Use TAYLOR_SINCOS.
1230 (__cos): Likewise.
1231 (slow): Use TAYLOR_SLOW.
1232 (sloww): Likewise.
1233 (bsloww): Likewise.
1234 (csloww): Likewise.
1235
d84f25c7
LD
12362013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1237
1238 * stdlib/strtod_l.c: Fix buffer overrun.
1239
5eea0404
SP
12402013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1241
7849ff93
SP
1242 * benchtests/Makefile (bench): Add sincos.
1243 * benchtests/bench-sincos.c: New file.
1244
cfa3c886
SP
1245 * math/libm-test.inc (cos_test_data): New test inputs.
1246 (sin_test_data): Likewise.
1247
b348e1e3
SP
1248 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1249 macro.
1250 (__sin): Use it.
1251 (__cos): Likewise.
1252 (slow1): Likewise.
1253 (slow2): Likewise.
1254 (sloww1): Likewise.
1255 (sloww2): Likewise.
1256 (bsloww1): Likewise.
1257 (bsloww2): Likewise.
1258 (cslow2): Likewise.
1259 (csloww1): Likewise.
1260 (csloww2): Likewise.
1261
6cce25f8
SP
1262 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1263 function.
1264 (__sin): Use it.
1265 (__cos): Likewise.
1266
5eea0404
SP
1267 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1268 gotos.
1269 (__cos): Likewise.
1270
9c21573c
MR
12712013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1272
1273 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1274 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1275 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1276 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1277 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1278 * elf/cache.c (print_entry): Handle the new cache flags.
1279
24d22e65
JM
12802013-09-18 Joseph Myers <joseph@codesourcery.com>
1281 Aldy Hernandez <aldyh@redhat.com>
1282
1283 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1284 Change condition to [_SOFT_FLOAT].
1285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1297 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1300 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1301 declaration.
1302
d13ef066
JM
13032013-09-18 Joseph Myers <joseph@codesourcery.com>
1304
2e071de0
JM
1305 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1306 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1307 (__longjmp): Use LOAD_GP to load saved GPRs.
1308 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1309 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1310 (__sigsetjmp): Use SAVE_GP to save GPRs.
1311
d13ef066
JM
1312 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1313 Do not append -msoft-float.
1314 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1315
97a0650b
SP
13162013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1317
1318 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1319
11ca09e9
JM
13202013-09-17 Joseph Myers <joseph@codesourcery.com>
1321
1322 [BZ #15966]
1323 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1324 (_FPU_GETCW): Use initial "__" on variable and field names but not
1325 on macro parameter name.
1326 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1327 parentheses around reference to macro parameter.
1328
08ffcf34
RS
13292013-09-13 Richard Sandiford <richard@codesourcery.com>
1330
1331 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1332 prototype.
1333 (ctype_startup): Use uint32_t in cast and sizeof for
1334 ctype->charnames.
1335
ae7080d3
JL
13362013-09-11 Jia Liu <proljc@gmail.com>
1337
1338 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1339 __daddr_t_defined.
1340 [__FreeBSD__]: Likewise.
1341
5905e7b3
OB
13422013-09-11 Ondřej Bílka <neleai@seznam.cz>
1343
1344 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1345 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1346 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1347 (strchr): Remove __strchr_sse42 ifunc selection.
1348 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1349 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1350
b987c776
WN
13512013-09-11 Will Newton <will.newton@linaro.org>
1352
1353 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1354 parameter to RES. Remove hardcoded 1000 value.
1355 * benchtests/bench-skeleton.c (main): Pass RES parameter
1356 to TIMING_INIT and multiply result by 1000.
1357
ddf985af
AZ
13582013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1359
1360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1361
ffdd3181
AS
13622013-09-11 Andreas Schwab <schwab@suse.de>
1363
1364 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1365 if not defined.
1366 (O_TMPFILE) [__USE_GNU]: Define.
1367 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1368 Define.
1369
b73ed247
WN
13702013-09-11 Will Newton <will.newton@linaro.org>
1371
1372 [BZ #15857]
1373 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1374 does not overflow.
1375
55e17aad
WN
13762013-09-11 Will Newton <will.newton@linaro.org>
1377
1378 [BZ #15856]
1379 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1380 does not overflow.
1381
1159a193
WN
13822013-09-11 Will Newton <will.newton@linaro.org>
1383
1384 [BZ #15855]
1385 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1386 does not overflow.
1387
5905e7b3 13882013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
1389
1390 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1391 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1392 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1393 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1394 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1395
cdfc721b
AM
13962013-09-10 Allan McRae <allan@archlinux.org>
1397
aa04af00
AM
1398 [BZ #15748]
1399 * manual/arith.texi (Parsing of Floats): Clarify
1400 cross-reference.
1401
cdfc721b
AM
1402 [BZ #15849]
1403 * manual/install.texi (Running make install): Mention
1404 --enable-pt-chown.
1405 * INSTALL: Regenerated.
1406
95e7cf29
MR
14072013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1408
1409 * csu/init-first.c (_init): Remove the !SHARED condition around
1410 FPU control word initialization.
1411 * elf/dl-support.c (_dl_fpu_control): New variable.
1412 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1413 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1414 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1415 * math/test-fpucw-static.c: New file.
1416 * math/test-fpucw-ieee.c: New file.
1417 * math/test-fpucw-ieee-static.c: New file.
1418 * math/Makefile (tests): Add `test-fpucw-ieee' and
1419 `$(tests-static)'.
1420 (tests-static): New variable.
1421 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1422 dependency to...
1423 [($(build-shared),yes)]
1424 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1425 ... this.
1426 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1427 New dependency.
1428
83e43bf0
AM
14292013-09-09 Allan McRae <allan@archlinux.org>
1430
a9f5ce09
AM
1431 [BZ #15939]
1432 * manual/string.texi (Collation Functions): Fix typo in
1433 strcoll example.
1434 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1435
34829bc2
AM
1436 [BZ #15893]
1437 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1438
3932737d
AM
1439 [BZ #15892]
1440 * libio/memstream.c (open_memstream): Fix memory leak.
1441 * libio/wmemstream.c (open_wmemstream): Likewise.
1442
83e43bf0
AM
1443 [BZ #15895]
1444 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1445
0c66b8e9
WN
14462013-09-09 Will Newton <will.newton@linaro.org>
1447
1448 * malloc/Makefile: Add tst-realloc to tests.
1449 * malloc/tst-realloc.c: New file.
1450
f6b00fd1
AM
14512013-09-09 Allan McRae <allan@archlinux.org>
1452
1453 [BZ #15844]
1454 * COPYING: Update from GNU website to fix FSF address.
1455 * COPYING.LIB: Likewise.
1456
eec55e16
DM
14572013-09-06 David S. Miller <davem@davemloft.net>
1458
1459 * po/zh_TW.po: Update Chinese (traditional) translation from
1460 translation project.
1461
1ecbb381
RS
14622013-09-06 Richard Sandiford <richard@codesourcery.com>
1463 Joseph Myers <joseph@codesourcery.com>
1464
1465 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1466 "localeinfo.h".
1467 (obstack_chunk_alloc): New macro.
1468 (obstack_chunk_free): Likewise.
1469 (record_offset): New function.
1470 (init_locale_data): Likewise.
1471 (align_locale_data): Likewise.
1472 (add_locale_empty): Likewise.
1473 (add_locale_raw_data): Likewise.
1474 (add_locale_raw_obstack): Likewise.
1475 (add_locale_string): Likewise.
1476 (add_locale_wstring): Likewise.
1477 (add_locale_uint32): Likewise.
1478 (add_locale_uint32_array): Likewise.
1479 (add_locale_char): Likewise.
1480 (start_locale_structure): Likewise.
1481 (end_locale_structure): Likewise.
1482 (start_locale_prelude): Likewise.
1483 (end_locale_prelude): Likewise.
1484 (write_locale_data): Take locale_file structure rather than an
1485 iovec.
1486 * locale/programs/locfile.h: Include "obstack.h".
1487 (struct locale_file): Change to store locale file contents instead
1488 of header.
1489 (init_locale_data): New prototype.
1490 (align_locale_data): Likewise.
1491 (add_locale_empty): Likewise.
1492 (add_locale_raw_data): Likewise.
1493 (add_locale_raw_obstack): Likewise.
1494 (add_locale_string): Likewise.
1495 (add_locale_wstring): Likewise.
1496 (add_locale_uint32): Likewise.
1497 (add_locale_uint32_array): Likewise.
1498 (add_locale_char): Likewise.
1499 (start_locale_structure): Likewise.
1500 (end_locale_structure): Likewise.
1501 (start_locale_prelude): Likewise.
1502 (end_locale_prelude): Likewise.
1503 (write_locale_data): Update prototype.
1504 * locale/programs/3level.h (struct TABLE): Remove result field.
1505 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1506 Use new locale_file interface.
1507 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1508 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1509 * locale/programs/ld-address.c (address_output): Use new
1510 locale_file interface.
1511 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1512 NO_ADD_LOCALE.
1513 (collate_finish): Don't call collseq_table_finalize.
1514 (collate_output): Use new locale_file interface.
1515 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1516 in file.
1517 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1518 (TABLE): Move defines earlier in file.
1519 (ELEMENT): Likewise.
1520 (DEFAULT): Likewise.
1521 (wctrans_table_add): Move macro and inline function earlier in
1522 file.
1523 (struct wctype_table): Move type earlier in file.
1524 (add_locale_wctype_table): New static prototype.
1525 (struct locale_ctype_t): Use logical types instead of struct iovec
1526 pointers for members.
1527 (ctype_output): Use new locale_file interface.
1528 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1529 new locale_file interface.
1530 (allocate_arrays): Update for use of new locale_file interface.
1531 * locale/programs/ld-identification.c (identification_output): Use
1532 new locale_file interface.
1533 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1534 * locale/programs/ld-messages.c (messages_output): Likewise.
1535 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1536 * locale/programs/ld-name.c (name_output): Likewise.
1537 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1538 * locale/programs/ld-paper.c (paper_output): Likewise.
1539 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1540 * locale/programs/ld-time.c (time_output): Likewise.
1541
e029e2e5
AZ
15422013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1543
1544 * benchtests/Makefile: Add memrchr benchmark.
1545 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1546 benchmark as memrchr.
1547 * benchtests/bench-memrchr-ifunc.c: New file.
1548 * benchtests/bench-memrchr.c: New file.
1549
bbf6e8e4
WN
15502013-09-06 Will Newton <will.newton@linaro.org>
1551
1552 * benchtests/Makefile (string-bench): Add memcpy.
1553
6c82a2f8
CD
15542013-09-05 Carlos O'Donell <carlos@redhat.com>
1555 Cong Wang <amwang@redhat.com>
1556
1557 * sysdeps/unix/sysv/linux/bits/in.h
1558 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1559 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1560 before __USE_KERNEL_IPV6_DEFS uses.
1561 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1562 IPPROTO_BEETPH.
1563 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1564 sockaddr_in6, or ipv6_mreq.
1565
5430fc65
AZ
15662013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1567
1568 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1569 memory access for final bytes in some large inputs.
1570 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1571
4660856c
AZ
15722013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1573
1574 * string/test-memrchr.c: New file.
1575 * string/test-memrchr-ifunc.c: New file.
1576 * string/Makefile: Add new memrchr testcase.
1577
bb8ea713
MF
15782013-09-05 Mike Frysinger <vapier@gentoo.org>
1579
1580 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1581 fanotify_init returns EPERM.
1582
b92a20b5
JM
15832013-09-04 Joseph Myers <joseph@codesourcery.com>
1584
1585 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1586 errors.
1587 (top level): Treat second token from macro or constant entries for
1588 allowed headers as allowed.
1589 * include/complex.h: Condition internal declarations on
1590 [!_ISOMAC].
1591 * include/fenv.h: Condition include of <stdbool.h> and internal
1592 declarations on [!_ISOMAC].
7447ccd9
CL
1593
15942013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1595
3e181dda 1596 [BZ #15923]
7447ccd9
CL
1597 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1598
3f2e46a4
JM
15992013-09-04 Joseph Myers <joseph@codesourcery.com>
1600
1601 * configure.in (--enable-versioning): Remove configure option.
1602 (libc_cv_asm_symver_directive): Remove configure test.
1603 (libc_cv_ld_version_script_option): Likewise.
1604 (VERSIONING): Remove variable and AC_SUBST.
1605 (DO_VERSIONING): Remove AC_DEFINE.
1606 * configure: Regenerated.
1607 * config.h.in (DO_VERSIONING): Remove macro.
1608 * Makerules [$(versioning) = yes]: Change conditionals to
1609 [$(build-shared) = yes].
1610 * config.make.in (versioning): Remove variable.
1611 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1612 [$(build-shared) = yes].
1613 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1614 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1615 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1616 [$(build-shared) = yes].
1617 * extra-lib.mk [$(versioning) = yes]: Likewise.
1618 * hurd/Makefile [$(versioning) = yes]: Likewise.
1619 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1620 [SHARED].
1621 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1622 [SHARED].
1623 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1624 [SHARED && !NO_HIDDEN].
1625 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1626 [SHARED].
1627 [SHARED && DO_VERSIONING]: Likewise..
1628 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1629 [$(build-shared) = yes].
1630 * manual/install.texi (--disable-versioning): Remove
1631 documentation.
1632 * INSTALL: Regenerated.
1633 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1634 to [SHARED].
1635 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1636 [$(build-shared) = yes].
1637 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1638 * sysdeps/i386/i686/multiarch/strstr-c.c
1639 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1640 [SHARED && !NO_HIDDEN].
1641 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1642 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1643 * sysdeps/powerpc/powerpc32/dl-machine.c
1644 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1645 * sysdeps/powerpc/powerpc32/sysdep.h
1646 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1647 to [SHARED && PIC && !NO_HIDDEN].
1648 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1649 conditional to [SHARED].
1650
44558701
WN
16512013-09-04 Will Newton <will.newton@linaro.org>
1652
1653 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1654 * benchtests/bench-string.h: Include bench-timing.h instead
1655 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1656 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1657 call to HP_TIMING_DIFF_INIT.
1658 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1659 instead of hp-timing.h macros.
1660 * benchtests/bench-memchr.c: Likewise.
1661 * benchtests/bench-memcmp.c: Likewise.
1662 * benchtests/bench-memcpy.c: Likewise.
1663 * benchtests/bench-memmem.c: Likewise.
1664 * benchtests/bench-memmove.c: Likewise.
1665 * benchtests/bench-memset.c: Likewise.
1666 * benchtests/bench-rawmemchr.c: Likewise.
1667 * benchtests/bench-strcasecmp.c: Likewise.
1668 * benchtests/bench-strcasestr.c: Likewise.
1669 * benchtests/bench-strcat.c: Likewise.
1670 * benchtests/bench-strchr.c: Likewise.
1671 * benchtests/bench-strcmp.c: Likewise.
1672 * benchtests/bench-strcpy.c: Likewise.
1673 * benchtests/bench-strcpy_chk.c: Likewise.
1674 * benchtests/bench-strlen.c: Likewise.
1675 * benchtests/bench-strncasecmp.c: Likewise.
1676 * benchtests/bench-strncat.c: Likewise.
1677 * benchtests/bench-strncmp.c: Likewise.
1678 * benchtests/bench-strncpy.c: Likewise.
1679 * benchtests/bench-strnlen.c: Likewise.
1680 * benchtests/bench-strpbrk.c: Likewise.
1681 * benchtests/bench-strrchr.c: Likewise.
1682 * benchtests/bench-strspn.c: Likewise.
1683 * benchtests/bench-strstr.c: Likewise.
1684
cae16d66
WN
16852013-09-04 Will Newton <will.newton@linaro.org>
1686
1687 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1688
ffa3cd7f
JM
16892013-09-03 Joseph Myers <joseph@codesourcery.com>
1690
1691 [BZ #15427]
1692 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1693 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1694 * math/libm-test.inc (lgamma_test_data): Add more tests.
1695 * sysdeps/i386/fpu/libm-test-ulps: Update.
1696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1697
8f02859f
OB
16982013-09-03 Ondřej Bílka <neleai@seznam.cz>
1699
1700 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1701 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1702 Add ifunc.
1703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1704 Add strcmp-sse2-unaligned
1705 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1706
18d43716
MF
17072013-09-02 Mike Frysinger <vapier@gentoo.org>
1708
1709 * Versions.def (libc): Add GLIBC_2.19.
1710
ac444012
MF
17112013-09-02 Mike Frysinger <vapier@gentoo.org>
1712
1713 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1714 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1715
b7835e32
JM
17162013-09-02 Joseph Myers <joseph@codesourcery.com>
1717
1718 [BZ #14155]
1719 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1720 intermediate calculations in recurrence.
1721 (__ieee754_ynf): Likewise.
1722 * math/libm-test.inc (jn_test_data): Do not allow spurious
1723 underflow exception. Add more tests.
1724 (yn_test_data): Add more tests.
1725 * sysdeps/i386/fpu/libm-test-ulps: Update.
1726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1727
8220f4f0
OB
17282013-09-02 Ondřej Bílka <neleai@seznam.cz>
1729
1730 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1731
f24a6d08
OB
17322013-08-30 Ondřej Bílka <neleai@seznam.cz>
1733
1734 * csu/init-first.c: Fix then/than typos.
1735 * locale/programs/ld-collate.c: Likewise.
1736 * locale/programs/linereader.h: Likewise.
1737 * manual/charset.texi: Likewise.
1738 * manual/filesys.texi: Likewise.
1739 * manual/stdio.texi: Likewise.
1740 * manual/string.texi: Likewise.
1741 * stdlib/fmtmsg.c: Likewise.
1742 * sysdeps/i386/stpncpy.S: Likewise.
1743 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1744 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1745 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1746 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1747
382466e0
OB
17482013-08-30 Ondřej Bílka <neleai@seznam.cz>
1749
1750 * elf/dl-open.c: Fix typos.
1751 * iconvdata/gbbig5.c: Likewise.
1752 * iconvdata/iso-2022-jp.c: Likewise.
1753 * iconv/gconv_int.h: Likewise.
1754 * iconv/loop.c: Likewise.
1755 * nis/rpcsvc/nis.h: Likewise.
1756 * resolv/ns_name.c: Likewise.
1757 * stdio-common/vfscanf.c: Likewise.
1758 * streams/stropts.h: Likewise.
1759 * sunrpc/rpc_thread.c: Likewise.
1760 * sysdeps/i386/strpbrk.S: Likewise.
1761 * sysdeps/ieee754/k_standard.c: Likewise.
1762 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1763 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1764 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1765 * sysdeps/mach/hurd/profil.c: Likewise.
1766 * sysdeps/s390/dl-procinfo.h: Likewise.
1767 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1768 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1769 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1770 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1771 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1772
0186c6e9
OB
17732013-08-30 Ondřej Bílka <neleai@seznam.cz>
1774
1775 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1776 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1777
d4e16af1
OB
17782013-08-29 Ondřej Bílka <neleai@seznam.cz>
1779
1780 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1781 aix specific files.
1782 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1783 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1784 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1785 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1786 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1787 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1788 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1789 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1790
88335980
TS
17912013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1792 Roland McGrath <roland@hack.frob.com>
1793
1794 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1795 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1796
ed479b02
ST
17972013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1798
1799 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1800 __executable_start symbol instead of _start.
1801
f1cc4c86
TS
18022013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1803
d821f07c
TS
1804 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1805 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1806 Move macros to...
1807 * sysdeps/gnu/ldsodefs.h: ... this new file.
1808
c54290cf
TS
1809 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1810 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1811 instead of ELFOSABI_LINUX.
1812
0007fc9b 1813 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1814 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1815 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1816 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1817 Likewise.
1818 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1819 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1820 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1821 Likewise.
1822 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1823 (ibm_extended_long_double): Add ieee_nan member.
1824 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1825 (do_test): New function.
1826
f1cc4c86
TS
1827 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1828 TEST_TRUNC.
1829 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1830 functions, renamed from truncdfsf_test, trunctfsf_test,
1831 trunctfdf_test.
1832 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1833 functions.
1834 (do_test): Run all these.
1835
6f65e668
OB
18362013-08-29 Ondřej Bílka <neleai@seznam.cz>
1837
1838 * argp/argp-help.c: Fix typos.
1839 * argp/argp-parse.c: Likewise.
1840 * debug/backtracesyms.c: Likewise.
1841 * elf/elf.h: Likewise.
1842 * malloc/malloc.c: Likewise.
1843 * nis/nis_print.c: Likewise.
1844 * resolv/res_comp.c: Likewise.
1845 * stdlib/stdlib.h: Likewise.
1846 * sunrpc/clnt_tcp.c: Likewise.
1847 * sunrpc/clnt_udp.c: Likewise.
1848 * sunrpc/clnt_unix.c: Likewise.
1849 * sysdeps/unix/bsd/ptsname.c: Likewise.
1850 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1851 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1853 Likewise.
1854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1855 Likewise.
1856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1857 Likewise.
6f65e668
OB
1858 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1859
3a309239
SP
18602013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1861
1862 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1864
3b813b29
MF
18652013-08-27 Mike Frysinger <vapier@gentoo.org>
1866
1867 [BZ #15897]
1868 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1869 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1870 ($(objpfx)bug-dl-leaf): New rule.
1871 ($(objpfx)bug-dl-leaf.so): Likewise.
1872 ($(objpfx)bug-dl-leaf.out): Likewise.
1873 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1874 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1875 * dlfcn/bug-dl-leaf.c: New test.
1876 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1877 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1878 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1879 (dlclose): Likewise.
1880 (dlmopen): Likewise.
1881
8cc3269f
RM
18822013-08-27 Roland McGrath <roland@hack.frob.com>
1883
7f9d0034
RM
1884 * include/netdb.h [!_ISOMAC]:
1885 Don't include <tls.h>.
1886 (h_errno, __libc_h_errno): Move declaration and macros out of
1887 [_LIBC_REENTRANT].
1888
fb431262
RM
1889 * include/resolv.h [_RESOLV_H_]:
1890 Don't include <tls.h>.
1891 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1892 * resolv/res_libc.c: Don't include <tls.h>.
1893 (_res): Use __attribute__ ((nocommon)) in place of
1894 __attribute__ ((section (".bss"))).
1895
bd81123a
RM
1896 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1897 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1898
c4e42566
RM
1899 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1900
f890a59b
RM
1901 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1902 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1903
1904 * resolv/res_mkquery.c: Include <sys/time.h>.
1905
5d1f0a09
RM
1906 * inet/ifreq.c: Moved to ...
1907 * sysdeps/unix/ifreq.c: ... here.
1908 * inet/ifreq.c: New file, true stub version.
1909
6fcf28b3
RM
1910 * socket/sa_len.c: New file.
1911 * socket/Makefile (aux): Add it.
1912 * sysdeps/unix/sysv/linux/Makefile
1913 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1914 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1915 and #include <socket/sa_len.c>.
1916 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1917 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1918
e041fb8b
RM
1919 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1920 * bits/socket.h: ... here.
1921
8cc3269f
RM
1922 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1923 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1924 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1925
5d228a43
AS
19262013-08-27 Andreas Schwab <schwab@suse.de>
1927
45b8accc
AS
1928 [BZ #15736]
1929 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1930 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1931 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1932 * string/test-strcasecmp.c (test_main): Run tests in several
1933 locales.
1934 * string/test-strncasecmp.c (test_main): Likewise.
1935
5d228a43
AS
1936 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1937 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1938 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1940 (__strncasecmp_ssse3) [PIC]: Likewise.
1941
59d112a4
RM
19422013-08-26 Roland McGrath <roland@hack.frob.com>
1943
53234cc3
RM
1944 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1945
59d112a4
RM
1946 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1947 instead of explicitly declaring xdecrypt.
1948 * nis/nss_nis/nis-publickey.c: Likewise.
1949
595aba70
SP
19502013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1951
1952 [BZ #15890]
1953 * nscd/aicache.c: Include res_hconf.h.
1954 (addhstaiX): Initialize res_hconf.
1955
ffabd393
AS
19562013-08-26 Andreas Schwab <schwab@suse.de>
1957
1958 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1959 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1960
e0a69f5c
SP
19612013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1962
1963 * nscd/aicache.c (addhstaiX): Fix indentation.
1964
8c12f01d
MF
19652013-08-25 Mike Frysinger <vapier@gentoo.org>
1966
1967 * configure.ac: Quote $build_pt_chown test.
1968 * configure: Regenerated.
1969
8fe89494
JM
19702013-08-23 Joseph Myers <joseph@codesourcery.com>
1971
1972 [BZ #15532]
1973 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1974 * math/s_cexpf.c (__cexpf): Likewise.
1975 * math/s_cexpl.c (__cexpl): Likewise.
1976 * math/libm-test.inc (cexp_test_data): Correct expected return
1977 value for NaN + i0. Add another test.
1978
75b181d6
DM
19792013-08-22 David S. Miller <davem@davemloft.net>
1980
1981 * po/ca.po: Update Catalan translation from translation project.
936241e4 1982 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1983
acd06bb1
JM
19842013-08-21 Joseph Myers <joseph@codesourcery.com>
1985
1986 [BZ #15797]
1987 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1988 is infinite, not alongside NaN test.
1989 * math/s_fdimf.c (__fdimf): Likewise.
1990 * math/s_fdiml.c (__fdiml): Likewise.
1991 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1992 errno is unchanged.
1993
c0c3f78a
OB
19942013-08-21 Ondřej Bílka <neleai@seznam.cz>
1995
1996 * argp/argp-help.c: Fix typos.
1997 * crypt/speeds.c: Likewise.
1998 * csu/check_fds.c: Likewise.
1999 * elf/dl-load.c: Likewise.
2000 * elf/dl-open.c: Likewise.
2001 * elf/reldep3.c: Likewise.
2002 * elf/reldep.c: Likewise.
2003 * elf/sprof.c: Likewise.
2004 * iconv/iconv_charmap.c: Likewise.
2005 * iconv/skeleton.c: Likewise.
2006 * iconv/strtab.c: Likewise.
2007 * io/lockf64.c: Likewise.
2008 * libio/libioP.h: Likewise.
2009 * resolv/gai_notify.c: Likewise.
2010 * resolv/ns_name.c: Likewise.
2011 * resolv/ns_samedomain.c: Likewise.
2012 * resolv/res_send.c: Likewise.
2013 * stdlib/random.c: Likewise.
2014 * sunrpc/rpc/xdr.h: Likewise.
2015 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2016 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2017 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2018 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2019 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2020 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2021 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2022 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2023 * sysdeps/mach/hurd/check_fds.c: Likewise.
2024 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2025 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2026 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2027 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2028 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2029 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2030 * sysdeps/pthread/aio_notify.c: Likewise.
2031 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2032 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2033 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2034 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2035 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2036
46ed1038
LD
20372013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2038
2039 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2040 version if bit_Slow_SSE4_2 is set.
2041 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2042 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2043
d400dcac
AZ
20442013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2045
2046 [BZ #15867]
2047 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2048 trampoline stack frame information.
2049 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2050 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2051 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2052 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2053 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2054 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2055 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2056 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2057 sa_flags value.
2058 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2059 interrupting a syscall and set with option SA_SIGINFO.
2060
42c8fdd8
JM
20612013-08-20 Joseph Myers <joseph@codesourcery.com>
2062
c980f2f4
JM
2063 [BZ #15531]
2064 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2065 argument is infinite.
2066 * math/s_cprojf.c (__cprojf): Likewise.
2067 * math/s_cprojl.c (__cprojl): Likewise.
2068 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2069 * math/libm-test.inc (cproj_test_data): Add more tests.
2070
0716c4fc
JM
2071 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2072
42c8fdd8
JM
2073 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2074 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2075 size. Use __ffs to determine corresponding shift.
2076
b31469d0
JM
20772013-08-20 Joseph Myers <joseph@codesourcery.com>
2078 Roland McGrath <roland@hack.frob.com>
2079
2080 * Makefile (INSTALL): Remove trailing blank lines from output of
2081 makeinfo.
2082
4e39af6e
AK
20832013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2084
2085 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2086 Align 32 bit compat elf_greg to 8 bytes.
2087
f315524e
AA
20882013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2089
2090 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2091
1326ba1a
SP
20922013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2093
2094 * string/strcoll_l.c (coll_seq): New structure.
2095 (get_next_seq_cached): New function.
2096 (get_next_seq): New function.
2097 (do_compare): New function.
2098 (STRCOLL): Use GNU style definition. Simplify implementation
2099 by using get_next_seq, get_next_seq_cached and do_compare.
2100
91ce4085
FW
21012013-08-16 Florian Weimer <fweimer@redhat.com>
2102
2103 [BZ #14699]
2104 CVE-2013-4237
2105 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2106 member.
2107 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2108 member.
2109 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2110 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2111 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2112 conditional.
2113 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2114 GETDENTS_64BIT_ALIGNED.
2115 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2116 * manual/filesys.texi (Reading/Closing Directory): Document
2117 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2118 strongly.
2119 * manual/conf.texi (Limits for Files): Add portability note to
2120 NAME_MAX, PATH_MAX.
2121 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2122
ca0a6bc4
AS
21232013-08-13 Andreas Schwab <schwab@suse.de>
2124
2125 [BZ #15749]
2126 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2127 of fabs.
2128 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2129 LDBL_MAX_EXP >= 16384]: Add tests for it.
2130
6c1fd795
DM
21312013-08-12 David S. Miller <davem@davemloft.net>
2132
2133 * version.h (RELEASE): Set to "development".
2134 (VERSION): Set to "2.18.90".
2135 * NEWS: Add 2.19 section.
2136
31ad488d
DM
21372013-08-03 David S. Miller <davem@davemloft.net>
2138
2139 * po/ko.po: Update Korean translation from translation project.
2140
db24e684
DM
21412013-08-01 David S. Miller <davem@davemloft.net>
2142
2143 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2144 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2145 Bilka.
2146
f723285b
DM
21472013-07-30 David S. Miller <davem@davemloft.net>
2148
2149 * po/fr.po: Update French translation from translation project.
2150
3cbc52db
DM
21512013-07-28 David S. Miller <davem@davemloft.net>
2152
30bbc0cc
DM
2153 * po/cs.po: Update Czech translation from translation project.
2154
3cbc52db
DM
2155 * po/sv.po: Update Swedish translation from translation project.
2156
d492e6d0
DM
21572013-07-27 David S. Miller <davem@davemloft.net>
2158
f1a7f492
DM
2159 * po/eo.po: Update Esperanto translation from translation project.
2160
90e62a4a
DM
2161 * po/vi.po: Update Vietnamese translation from translation project.
2162
d492e6d0
DM
2163 * po/de.po: Update German translation from translation project.
2164
d4baa62d
DM
21652013-07-26 David S. Miller <davem@davemloft.net>
2166
641aa7b4
DM
2167 * po/bg.po: Update Bulgarian translation from translation project.
2168
d4baa62d
DM
2169 * po/nl.po: Update Dutch translation from translation project.
2170 * po/pl.po: Update Polish translation from translation project.
2171 * po/ru.po: Update Russian translation from translation project.
2172
61a9dcb9
DM
21732013-07-24 David S. Miller <davem@davemloft.net>
2174
2175 * po/libc.pot: Update.
2176
7b1f8b58
AZ
21772013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2178
2179 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2180 variable page size.
2181 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2182 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2183 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2184
a8fc7a03
AK
21852013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2186
2187 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2188
e4608715
CD
21892013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2190 Andreas Schwab <schwab@suse.de>
2191 Roland McGrath <roland@hack.frob.com>
2192 Joseph Myers <joseph@codesourcery.com>
2193 Carlos O'Donell <carlos@redhat.com>
2194
2195 [BZ #15755]
2196 * config.h.in: Define HAVE_PT_CHOWN.
2197 * config.make.in (build-pt-chown): New variable.
2198 * configure.in (--enable-pt_chown): New configure option.
2199 * configure: Regenerate.
2200 * login/Makefile: Include Makeconfig. Build pt_chown only if
2201 build-pt-chown is enabled.
2202 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2203 pt_chown to fix pty ownership.
2204 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2205 CLOSE_ALL_FDS.
2206 * manual/install.texi (Configuring and compiling): Mention
2207 --enable-pt_chown. Add @findex for grantpt.
2208 * INSTALL: Regenerate.
2209
da2d62df
DM
22102013-07-20 David S. Miller <davem@davemloft.net>
2211
2212 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2213 difference between 32-bit and 64-bit.
2214
d7e06450
CD
22152013-07-15 Carlos O'Donell <carlos@redhat.com>
2216
2217 [BZ #15711]
2218 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2219 Avoid system header dependency with -ffreestanding.
2220 ($(objpfx)bits/syscall%d): Likewise.
2221
f959cfd7
DM
22222013-07-13 David S. Miller <davem@davemloft.net>
2223
2224 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2225 underflows from atanl/atan2l due to bug 15319.
2226 (casinh_test_data): Likewise.
2227
c61f8513
DM
22282013-07-07 David S. Miller <davem@davemloft.net>
2229
2230 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2231
72c90ed0
JA
22322013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2233
2234 * sysdeps/i386/fpu/libm-test-ulps: Update.
2235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2236
52dfbe13
SP
22372013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2238
2239 * configure.in (--enable-lock-elision): Fix message text.
2240 * INSTALL: Regenerate.
2241 * configure: Regenerate.
2242
3f169543
AZ
22432013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2244
2245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2246
521c6785
AJ
22472013-07-03 Andreas Jaeger <aj@suse.de>
2248
2249 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2250 define.
2251 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2252 (ptrace_peeksiginfo_args): Add.
2253 (__ptrace_peeksiginfo_flags): Add.
2254 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2255 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2256 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2257
d2cc15cb
AM
22582013-07-03 Allan McRae <allan@archlinux.org>
2259
2260 * sysdeps/i386/fpu/libm-test-ulps: Update.
2261
3aaeeca7
DM
22622013-07-02 David S. Miller <davem@davemloft.net>
2263
2264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2265
5314ed1a
MT
22662013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2267
2268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2269
67338156
JM
22702013-07-02 Joseph Myers <joseph@codesourcery.com>
2271
2272 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2274
1717da59
AK
22752013-07-02 Andi Kleen <ak@linux.intel.com>
2276
2277 * config.h.in (ENABLE_LOCK_ELISION): Add.
2278 * configure.in (--enable-lock-elision): Add option.
2279 * manual/install.texi: Document --enable lock elision.
2280 * configure: Regenerate
2281 * INSTALL: Regenerate.
2282
1c81621c
L
22832013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2284
2285 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2286 SSE4.2 strcasecmp for libc.a.
2287 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2288
77f01ab5
JM
22892013-07-02 Joseph Myers <joseph@codesourcery.com>
2290
2291 [BZ #13304]
2292 * soft-fp/op-common.h (_FP_FMA): New macro.
2293 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2294 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2295 (_FP_MUL_MEAT_1_imm): ... here.
2296 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2297 (_FP_MUL_MEAT_1_wide): ... here.
2298 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2299 (_FP_MUL_MEAT_1_hard): ... here.
2300 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2301 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2302 (_FP_MUL_MEAT_2_wide): ... here.
2303 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2304 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2305 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2306 (_FP_MUL_MEAT_2_gmp): ... here.
2307 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2308 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2309 (_FP_MUL_MEAT_4_wide): ... here.
2310 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2311 (_FP_MUL_MEAT_4_gmp): ... here.
2312 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2313 (_FP_WFRACBITS_DW_S): Likewise.
2314 (_FP_WFRACXBITS_DW_S): Likewise.
2315 (_FP_HIGHBIT_DW_S): Likewise.
2316 (FP_FMA_S): Likewise.
2317 (_FP_FRAC_HIGH_DW_S): Likewise.
2318 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2319 (_FP_WFRACBITS_DW_D): Likewise.
2320 (_FP_WFRACXBITS_DW_D): Likewise.
2321 (_FP_HIGHBIT_DW_D): Likewise.
2322 (FP_FMA_D): Likewise.
2323 (_FP_FRAC_HIGH_DW_D): Likewise.
2324 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2325 (_FP_WFRACBITS_DW_E): Likewise.
2326 (_FP_WFRACXBITS_DW_E): Likewise.
2327 (_FP_HIGHBIT_DW_E): Likewise.
2328 (FP_FMA_E): Likewise.
2329 (_FP_FRAC_HIGH_DW_E): Likewise.
2330 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2331 (_FP_WFRACBITS_DW_Q): Likewise.
2332 (_FP_WFRACXBITS_DW_Q): Likewise.
2333 (_FP_HIGHBIT_DW_Q): Likewise.
2334 (FP_FMA_Q): Likewise.
2335 (_FP_FRAC_HIGH_DW_Q): Likewise.
2336 * soft-fp/fmasf4.c: New file.
2337 * soft-fp/fmadf4.c: Likewise.
2338 * soft-fp/fmatf4.c: Likewise.
2339
6308fd9a
LD
23402013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2341
2342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2343 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2344 Silvermont.
2345 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2346 macro.
2347 (index_Slow_SSE4_2): Likewise.
2348 (index_Prefer_PMINUB_for_stringop): Likewise.
2349 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2350 bit_Slow_SSE4_2 is set.
2351 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2352 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2353
89cd9569
RA
23542013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2355
2356 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2357 rtld_global._dl_hwcap2.
2358 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2359 POWER8.
2360 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2361 POWER8 feature descriptions defined in _dl_hwcap2.
2362 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2363 string handling for POWER8 feature bits.
2364 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2365 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2366 _dl_powerpc_cap_flags.
2367 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2368 * sysdeps/powerpc/rtld-global-offsets.sym
2369 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2370 _dl_hwcap2 in the rtld_global_ro structure.
2371
1ae8bfe0
RA
23722013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2373
2374 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2375 hardware capabilities in support of AT_HWCAP2.
2376 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2377 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2378 GLRO(dl_hwcap2).
2379 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2380 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2381 explicitly the unknown a_type display mechanism is used.
2382 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2383 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2384 struct member.
2385 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2386 to macro prototype for AT_HWCAP2 support.
2387 * sysdeps/i386/dl-procinfo.h: Likewise.
2388 * sysdeps/s390/dl-procinfo.h: Likewise.
2389 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2390 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2391 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2392 return -1 for unknown a_type display fallback.
2393 * sysdeps/sparc/dl-procinfo.h: Likewise.
2394 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2395 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2396
8fbec010
JM
23972013-06-28 Joseph Myers <joseph@codesourcery.com>
2398
2399 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2400 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2401
0432680e
PY
24022013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2403
2404 [BZ #12492]
2405 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2406 mprotect making __stack_prot writable.
2407
ce61a2ad
NF
24082013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2409 Joseph Myers <joseph@codesourcery.com>
2410
2411 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2412 as being properly aligned.
2413
f91f1c0f
MR
24142013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2415
3d0f5d0c
MR
2416 * dlfcn/modstatic5.c: New file.
2417 * dlfcn/tststatic5.c: New file.
2418 * dlfcn/Makefile (tests): Add tststatic5.
2419 (tests-static): Likewise.
2420 (modules-names): Add modstatic5.
2421 (tststatic5-ENV): New variable.
2422 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2423
f91f1c0f
MR
2424 [BZ #15022]
2425 * elf/dl-support.c (_dl_main_map): New variable.
2426 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2427 (_dl_nns, _dl_load_adds): Set to 1.
2428 (_dl_initial_searchlist): Refer to _dl_main_map.
2429 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2430 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2431 call to _dl_get_origin.
2432 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2433 around call_map.
2434 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2435 * dlfcn/modstatic3.c: New file.
2436 * dlfcn/tststatic3.c: New file.
2437 * dlfcn/tststatic4.c: New file.
2438 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2439 (tests-static): Likewise.
2440 (modules-names): Add modstatic3.
2441 (tststatic3-ENV, tststatic4-ENV): New variables.
2442 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2443 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2444
cbe7d24b
JM
24452013-06-26 Joseph Myers <joseph@codesourcery.com>
2446
2447 * configure.in (CC): Require GCC version 4.4 or later.
2448 * configure: Regenerated.
2449 * manual/install.texi (Tools for Compilation): Update GCC version
2450 requirement.
2451 * INSTALL: Regenerated.
2452
11b8a0e1
LD
24532013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2454
2455 [BZ #15674]
bb5bb87c
L
2456 * string/test-memcmp.c (check2): New.
2457 (main): Call check2.
2458
11b8a0e1
LD
2459 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2460
b0037103
MR
24612013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2462
2463 [BZ #15022]
2464 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2465 over to...
2466 (dl_open_worker) [!SHARED]: ... here.
2467
c18c701d
RA
24682013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2469
2470 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2471
1d17fa5f
RH
24722013-06-25 Richard Henderson <rth@redhat.com>
2473
2474 * locale/programs/locarchive.c: Include <libc-internal.h>
2475
8fcb833a
JM
24762013-06-25 Joseph Myers <joseph@codesourcery.com>
2477
2478 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2479 trailing whitespace removed.
2480
17db6e8d
MF
24812013-06-24 Mike Frysinger <vapier@gentoo.org>
2482
2483 [BZ #10283]
17db6e8d
MF
2484 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2485 * locale/programs/locarchive.c: Include libc-mmap.h.
2486 (prepare_address_space): Take two new outputs (the mmap base and len).
2487 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2488 values.
2489 (create_archive): Declare new mmap base and len values for
2490 prepare_address_space, and store the result in ah.
2491 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2492 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2493 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2494 Declare new mmap base and len values for
2495 prepare_address_space, and store the result in new_ah.
2496 (open_archive): Declare new mmap base and len values for
2497 prepare_address_space, and store the result in ah.
2498 (close_archive): If ah->mmap_base is not NULL, use that and
2499 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2500 * sysdeps/generic/libc-mmap.h: New file.
2501
d605071e
MF
25022013-06-24 Mike Frysinger <vapier@gentoo.org>
2503
2504 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2505 (ALIGN_UP): Likewise.
2506 (PTR_ALIGN_DOWN): Likewise.
2507 (PTR_ALIGN_UP): Likewise.
2508
2f063a6e
RA
25092013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2510
2511 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2512 entry mapped to PPC_PLATFORM_POWER8.
2513 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2514 POWER8.
2515 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2516 (_dl_string_platform): Add case for exporting platform position for
2517 POWER8.
2518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2519 search path to sysdeps/powerpc/powerpc32/power8 directory.
2520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2521 search path to sysdeps/powerpc/powerpc64/power8 directory.
2522 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2523 power7 directories.
2524 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2525 power7 directories.
2526
a31ee4b3
SP
25272013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2528
a74ca98f
SP
2529 * INSTALL: Regenerate.
2530
a31ee4b3
SP
2531 * nscd/connections.c (nscd_init): Fix comment.
2532
695c378f
JM
25332013-06-22 Joseph Myers <joseph@codesourcery.com>
2534
d8412221
JM
2535 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2536
695c378f
JM
2537 [BZ #15667]
2538 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2539 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2540
d1d54715
MR
25412013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2542
2543 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2544 DL_DST_REQ_STATIC.
2545 (DL_DST_REQ_STATIC): Remove macro.
2546
8fdda7af
JM
25472013-06-21 Joseph Myers <joseph@codesourcery.com>
2548
2549 [BZ #7006]
2550 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2551 with a shift of 0 bits.
2552
f3bc5e5a
MR
25532013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2554
2555 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2556 $(tststatic-ENV).
2557
be09e8c9
KK
25582013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2559
2560 [BZ #15655]
2561 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2562
85c2e611
AZ
25632013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2564
2565 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2566 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2567 accepts -fno-tree-loop-distribute-patterns.
2568 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2569 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2570 recursive call.
2571 * string/memset.c (memset): Likewise.
2572 * string/test-memmove.c (simple_memmove): Disable loop transformation
2573 to library calls.
2574 * string/test-memset.c (simple_memset): Likewise.
2575 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2576 * benchtests/bench-memset.c (simple_memset): Likewise.
2577 * configure: Regenerated.
2578
c91e0825
JM
25792013-06-20 Joseph Myers <joseph@codesourcery.com>
2580
b8c792af
JM
2581 * math/test-misc.c (main): Ignore fesetround failure when failures
2582 of subsequent rounding tests would be ignored.
2583
c91e0825
JM
2584 [BZ #15654]
2585 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2586 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2587 * math/fegetenv.c (__fegetenv): Return 0.
2588 * math/fegetexcept.c (fegetexcept): Return 0.
2589 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2590 FE_TONEAREST.
2591 * math/feholdexcpt.c (feholdexcept): Return 0.
2592 * math/fesetenv.c (__fesetenv): Return 0.
2593 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2594 argument FE_TONEAREST.
2595 * math/feupdateenv.c (__feupdateenv): Return 0.
2596 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2597
bfcacbde
RM
25982013-06-18 Roland McGrath <roland@hack.frob.com>
2599
2600 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2601 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2602 ($(objpfx)rtld-%.os rules): Use them.
2603
e55a9b25
AZ
26042013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2605
2606 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2607 fields.
2608
346d65b3
RM
26092013-06-17 Roland McGrath <roland@hack.frob.com>
2610
12086fb4
RM
2611 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2612 length of target pattern, then descending length of dependency pattern.
2613 * configure.in (AWK): Require gawk 3.1.2 or newer.
2614 * manual/install.texi (Tools for Compilation): Say that we do.
2615 * configure: Regenerated.
2616
346d65b3
RM
2617 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2618 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2619 * scripts/sysd-rules.awk: ... this new script.
2620 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2621 than a glob-style pattern.
2622
1a846317
JM
26232013-06-17 Joseph Myers <joseph@codesourcery.com>
2624
2625 * math/test-misc.c (main): Do not treat incorrectly rounded
2626 conversions as failure unless ROUNDING_TESTS passes.
2627
8fc75e6f
JM
26282013-06-15 Joseph Myers <joseph@codesourcery.com>
2629
3711a167
JM
2630 [BZ #15631]
2631 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2632 restore exception state around main square root computation, then
2633 check for inexactness explicitly.
2634
8fc75e6f
JM
2635 * math/libm-test.inc (fma_test_data): Add another test.
2636
61dd6208
SP
26372013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2638
adf23d2c
SP
2639 * manual/threads.texi (Non-POSIX Extensions): New document
2640 node. Document pthread_getattr_default_np and
2641 pthread_setattr_default_np.
2642
61dd6208
SP
2643 * Versions.def (libpthread): Add GLIBC_2.18.
2644 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2646 Likewise.
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2648 Likewise.
2649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2650 Likewise.
2651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2652 Likewise.
2653 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2654 Likewise.
2655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2656 Likewise.
2657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2658 Likewise.
2659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2660 Likewise.
2661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2662 Likewise.
2663
d086fc7b
LD
26642013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2665
2666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2667 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2668
747ef469
SP
26692013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2670 H.J. Lu <hjl.tools@gmail.com>
2671
2672 [BZ #15627]
2673 * sysdeps/x86_64/rtld-memset.c: Remove file.
2674 * sysdeps/x86_64/rtld-memset.S: New file.
2675
1b2feed2
JM
26762013-06-14 Joseph Myers <joseph@codesourcery.com>
2677
2678 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2679 (test_in_one_mode): Take arguments for whether the rounding mode
2680 is supported for each floating-point type.
2681 (do_test): Pass new arguments to test_in_one_mode using
2682 ROUNDING_TESTS.
2683
a58ad3f8
RM
26842013-06-13 Roland McGrath <roland@hack.frob.com>
2685
2686 * posix/tst-waitid.c (do_test): Distinguish different instances of
2687 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2688 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2689 before entering the kernel for waitpid.
2690
c204ab28
SP
26912013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2692
2693 * NEWS: Fix note on clock function precision. Text by Roland
2694 McGrath.
2695
f4a29fba
RM
26962013-06-13 Roland McGrath <roland@hack.frob.com>
2697
2698 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2699 it into place only when and if the sanity check passes.
2700
1f24b9ad
JM
27012013-06-13 Joseph Myers <joseph@codesourcery.com>
2702
2703 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2704 output for whether conversion result is exact. Take argument
2705 indicating whether type is IBM long double.
2706 (round_for_all): Change need_exact field to ibm_ld.
2707 * stdlib/tst-strtod-round.c (struct exactness): New type.
2708 (struct test): Change bool ld_ok field to struct exactness exact.
2709 (TEST): Update all definitions for change to field.
2710 (tests): Regenerate array contents.
2711 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2712 field value. Check for IBM long double here.
2713 (do_test): Update calls to test_in_one_mode.
2714
58206c68
SP
27152013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2716
2717 [BZ #12515]
2718 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2719 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2720
2d6f4c5b 27212013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
2722
2723 [BZ #15605]
2724 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2725 generated by the compiler on loop optimizations.
2726 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2727 general definitions.
2728
94f2c076
JM
27292013-06-12 Joseph Myers <joseph@codesourcery.com>
2730
2731 * math/bug-nextafter.c: Include <math-tests.h>.
2732 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2733 the relevant type.
2734 * math/bug-nexttoward.c: Include <math-tests.h>.
2735 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2736 the relevant type.
2737 * math/test-misc.c: Include <math-tests.h>.
2738 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2739 the relevant type.
2740
e0e50a0a
AJ
27412013-06-12 Andreas Jaeger <aj@suse.de>
2742
2743 * po/ia.po: Update Interlingua translation from translation
2744 project.
2745
25061094
SP
27462013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2747
2748 * include/fenv.h: Include stdbool.h.
2749 (struct rm_ctx): New structure.
2750 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2751 Define macro.
2752 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2753 (SET_RESTORE_ROUNDF): Likewise.
2754 (SET_RESTORE_ROUNDL): Likewise.
2755 (SET_RESTORE_ROUND_NOEX): Likewise.
2756 (SET_RESTORE_ROUND_NOEXF): Likewise.
2757 (SET_RESTORE_ROUND_NOEXL): Likewise.
2758 (SET_RESTORE_ROUND_53BIT): Likewise.
2759 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2760 (libc_feresetround_noexf_ctx): Likewise.
2761 (libc_feresetround_noexl_ctx): Likewise.
2762 (libc_feholdsetround_53bit_ctx): Likewise.
2763 (libc_feresetround_53bit_ctx): Likewise.
2764 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2765 (libc_feholdexcept_setround_sse_ctx): New function.
2766 (libc_fesetenv_sse_ctx): Likewise.
2767 (libc_feupdateenv_sse_ctx): Likewise.
2768 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2769 (libc_feholdexcept_setround_387_ctx): Likewise.
2770 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2771 (libc_feholdsetround_387_prec_ctx): Likewise.
2772 (libc_feholdsetround_387_ctx): Likewise.
2773 (libc_feholdsetround_387_53bit_ctx): Likewise.
2774 (libc_feholdsetround_sse_ctx): Likewise.
2775 (libc_feresetround_sse_ctx): Likewise.
2776 (libc_feresetround_387_ctx): Likewise.
2777 (libc_feupdateenv_387_ctx): Likewise.
2778 (libc_feholdexcept_setroundf_ctx): Define macro.
2779 (libc_fesetenvf_ctx): Likewise.
2780 (libc_feupdateenvf_ctx): Likewise.
2781 (libc_feholdsetroundf_ctx): Likewise.
2782 (libc_feresetroundf_ctx): Likewise.
2783 (libc_feholdexcept_setround_ctx): Likewise.
2784 (libc_fesetenv_ctx): Likewise.
2785 (libc_feupdateenv_ctx): Likewise.
2786 (libc_feholdsetround_ctx): Likewise.
2787 (libc_feresetround_ctx): Likewise.
2788 (libc_feholdexcept_setroundl_ctx): Likewise.
2789 (libc_feupdateenvl_ctx): Likewise.
2790 (libc_feholdsetroundl_ctx): Likewise.
2791 (libc_feresetroundl_ctx): Likewise.
2792 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2793 (libc_feresetround_53bit_ctx): Likewise.
2794
59b30555
SP
27952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2796
2797 * locale/iso-639.def: Convert to UTF-8.
2798
f1d73d30
JM
27992013-06-11 Joseph Myers <joseph@codesourcery.com>
2800
2801 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2802 (EXCEPTION_TESTS_double): Likewise.
2803 (EXCEPTION_TESTS_long_double): Likewise.
2804 (EXCEPTION_TESTS): Likewise.
2805 * math/libm-test.inc (test_exceptions): Only test exceptions if
2806 EXCEPTION_TESTS (FLOAT).
2807
94aca5e7
SP
28082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2809
2810 * benchtests/Makefile (string-bench): Add strcpy_chk and
2811 stpcpy_chk.
2812 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2813 * benchtests/bench-stpcpy_chk.c: New file.
2814 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2815 * benchtests/bench-strcpy_chk.c: New file.
2816 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2817 code.
2818 (do_test): Likewise.
2819
fac0c5f2
RA
28202013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2821
2822 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2823 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2824 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2825 with tabs where appropriate.
2826 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2827 dl-procinfo.h.
2828 [PPC_PLATFORM_PPC440]: Likewise.
2829 [PPC_PLATFORM_PPC464]: Likewise.
2830 [PPC_PLATFORM_PPC476]: Likewise.
2831 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2832 ppc464, and ppc476 platform strings merging from ports/
2833 dl-procinfo.h.
2834
f22bc486
AS
28352013-06-11 Andreas Schwab <schwab@suse.de>
2836
2837 [BZ #14991]
2838 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2839 (from_ucs4_idx): Regenerate.
2840 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2841 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2842 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2843 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2844 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2845 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2846 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2847 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2848 from FROM_LOOP and TO_LOOP specific macros.
2849 (BODY): Handle combining characters.
2850 * iconvdata/BIG5HKSCS.irreversible: Update.
2851 * iconvdata/BIG5HKSCS.precomposed: New file.
2852 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2853 characters.
2854 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2855
c1f75dc3
SP
28562013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2857
4eacded2
SP
2858 * include/sys/time.h: Fix indentation and add copyright header.
2859
fec799f8
SP
2860 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2861 (do_test): Likewise.
2862 * string/test-memchr.c (do_one_test): Likewise.
2863 (do_test): Likewise.
2864 * string/test-memcmp.c (do_one_test): Likewise.
2865 (do_test): Likewise.
2866 * string/test-memcpy.c (do_one_test): Likewise.
2867 (do_test): Likewise.
2868 * string/test-memmem.c (do_one_test): Likewise.
2869 (do_test): Likewise.
2870 (do_random_tests): Likewise.
2871 * string/test-memmove.c (do_one_test): Likewise.
2872 (do_test): Likewise.
2873 * string/test-memset.c (do_one_test): Likewise.
2874 (do_test): Likewise.
2875 * string/test-rawmemchr.c (do_one_test): Likewise.
2876 (do_test): Likewise.
2877 * string/test-strcasecmp.c (do_one_test): Likewise.
2878 (do_test): Likewise.
2879 * string/test-strcasestr.c (do_one_test): Likewise.
2880 (do_test): Likewise.
2881 * string/test-strcat.c (do_one_test): Likewise.
2882 (do_test): Likewise.
2883 * string/test-strchr.c (do_one_test): Likewise.
2884 (do_test): Likewise.
2885 * string/test-strcmp.c (do_one_test): Likewise.
2886 (do_test): Likewise.
2887 * string/test-strcpy.c (do_one_test): Likewise.
2888 (do_test): Likewise.
2889 * string/test-string.h: Likewise.
2890 (test_init): Likewise.
2891 * string/test-strlen.c (do_one_test): Likewise.
2892 (do_test): Likewise.
2893 * string/test-strncasecmp.c (do_one_test): Likewise.
2894 (do_test): Likewise.
2895 * string/test-strncat.c (do_one_test): Likewise.
2896 (do_test): Likewise.
2897 * string/test-strncmp.c (do_one_test): Likewise.
2898 (do_test_limit): Likewise.
2899 (do_test): Likewise.
2900 * string/test-strncpy.c (do_one_test): Likewise.
2901 (do_test): Likewise.
2902 * string/test-strnlen.c (do_one_test): Likewise.
2903 (do_test): Likewise.
2904 * string/test-strpbrk.c (do_one_test): Likewise.
2905 (do_test): Likewise.
2906 * string/test-strrchr.c (do_one_test): Likewise.
2907 (do_test): Likewise.
2908 * string/test-strspn.c (do_one_test): Likewise.
2909 (do_test): Likewise.
2910 * string/test-strstr.c (do_one_test): Likewise.
2911 (do_test): Likewise.
2912
97020474
SP
2913 * benchtests/Makefile (string-bench): Add string benchmarks.
2914 * benchtests/bench-bcopy-ifunc.c: New file.
2915 * benchtests/bench-bcopy.c: New file.
2916 * benchtests/bench-bzero-ifunc.c: New file.
2917 * benchtests/bench-bzero.c: New file.
2918 * benchtests/bench-memccpy-ifunc.c: New file.
2919 * benchtests/bench-memccpy.c: New file.
2920 * benchtests/bench-memchr-ifunc.c: New file.
2921 * benchtests/bench-memchr.c: New file.
2922 * benchtests/bench-memcmp-ifunc.c: New file.
2923 * benchtests/bench-memcmp.c: New file.
2924 * benchtests/bench-memmem-ifunc.c: New file.
2925 * benchtests/bench-memmem.c: New file.
2926 * benchtests/bench-memmove-ifunc.c: New file.
2927 * benchtests/bench-memmove.c: New file.
2928 * benchtests/bench-mempcpy-ifunc.c: New file.
2929 * benchtests/bench-mempcpy.c: New file.
2930 * benchtests/bench-memset-ifunc.c: New file.
2931 * benchtests/bench-memset.c: New file.
2932 * benchtests/bench-rawmemchr-ifunc.c: New file.
2933 * benchtests/bench-rawmemchr.c: New file.
2934 * benchtests/bench-stpcpy-ifunc.c: New file.
2935 * benchtests/bench-stpcpy.c: New file.
2936 * benchtests/bench-stpncpy-ifunc.c: New file.
2937 * benchtests/bench-stpncpy.c: New file.
2938 * benchtests/bench-strcasecmp-ifunc.c: New file.
2939 * benchtests/bench-strcasecmp.c: New file.
2940 * benchtests/bench-strcasestr-ifunc.c: New file.
2941 * benchtests/bench-strcasestr.c: New file.
2942 * benchtests/bench-strcat-ifunc.c: New file.
2943 * benchtests/bench-strcat.c: New file.
2944 * benchtests/bench-strchr-ifunc.c: New file.
2945 * benchtests/bench-strchr.c: New file.
2946 * benchtests/bench-strchrnul-ifunc.c: New file.
2947 * benchtests/bench-strchrnul.c: New file.
2948 * benchtests/bench-strcmp-ifunc.c: New file.
2949 * benchtests/bench-strcmp.c: New file.
2950 * benchtests/bench-strcpy-ifunc.c: New file.
2951 * benchtests/bench-strcpy.c: New file.
2952 * benchtests/bench-strcspn-ifunc.c: New file.
2953 * benchtests/bench-strcspn.c: New file.
2954 * benchtests/bench-strlen-ifunc.c: New file.
2955 * benchtests/bench-strlen.c: New file.
2956 * benchtests/bench-strncasecmp-ifunc.c: New file.
2957 * benchtests/bench-strncasecmp.c: New file.
2958 * benchtests/bench-strncat-ifunc.c: New file.
2959 * benchtests/bench-strncat.c: New file.
2960 * benchtests/bench-strncmp-ifunc.c: New file.
2961 * benchtests/bench-strncmp.c: New file.
2962 * benchtests/bench-strncpy-ifunc.c: New file.
2963 * benchtests/bench-strncpy.c: New file.
2964 * benchtests/bench-strnlen-ifunc.c: New file.
2965 * benchtests/bench-strnlen.c: New file.
2966 * benchtests/bench-strpbrk-ifunc.c: New file.
2967 * benchtests/bench-strpbrk.c: New file.
2968 * benchtests/bench-strrchr-ifunc.c: New file.
2969 * benchtests/bench-strrchr.c: New file.
2970 * benchtests/bench-strspn-ifunc.c: New file.
2971 * benchtests/bench-strspn.c: New file.
2972 * benchtests/bench-strstr-ifunc.c: New file.
2973 * benchtests/bench-strstr.c: New file.
2974
c1f75dc3
SP
2975 * benchtests/Makefile: Disable parallel execution of targets.
2976 (string-bench): Add memcpy.
2977 (benchset): New variable to store a list of benchmark sets.
2978 (bench-func): Renamed from bench.
2979 (bench-set): New target.
2980 (bench): Depend on bench-func and bench-set.
2981 * benchtests/README: Add section on benchmark sets.
2982 * benchtests/bench-memcpy-ifunc.c: New file.
2983 * benchtests/bench-memcpy.c: New file.
2984 * benchtests/bench-string.h: New file.
2985
50fd745b
AS
29862013-06-11 Andreas Schwab <schwab@suse.de>
2987
2988 [BZ #15577]
2989 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2990 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2991 values in the triple.
2992 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2993 terminator in the group key.
2994
3ee7e9fe
AJ
29952013-06-11 Andreas Jaeger <aj@suse.de>
2996
2997 * po/zh_TW.po: Update Chinese (traditional) translation from
2998 translation project.
2999
89fb6835
SP
30002013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3001
3002 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3003 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3004 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3005 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3006 (clock_getcpuclockid): Likewise.
3007 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3008 Add weak_alias and libc_hidden_def.
3009 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3010 * rt/clock_gettime.c (clock_gettime): Rename to
3011 __clock_gettime. Add weak_alias and libc_hidden_def.
3012 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3013 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3014 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3015 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3016 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3017 Likewise.
3018 * rt/clock_settime.c (clock_settime): Rename to
3019 __clock_settime. Add weak_alias and libc_hidden_def.
3020 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3021
0efa6f8b
JM
30222013-06-10 Joseph Myers <joseph@codesourcery.com>
3023
b8c61b4b
JM
3024 * mach/err_boot.sub: Remove trailing whitespace.
3025 * mach/err_ipc.sub: Likewise.
3026 * mach/err_mach.sub: Likewise.
3027
0efa6f8b
JM
3028 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3029 (ROUNDING_TESTS_double): Likewise.
3030 (ROUNDING_TESTS_long_double): Likewise.
3031 (ROUNDING_TESTS): Likewise.
3032 * math/libm-test.inc: Include <math-tests.h>.
3033 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3034 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3035 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3036 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3037
50b818bf
SP
30382013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3039
3040 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3041 of assigning.
3042
60d2f8f3
JM
30432013-06-08 Joseph Myers <joseph@codesourcery.com>
3044
4902d2c3
JM
3045 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3046 otherwise empty TRANS lines.
3047 * sysdeps/gnu/errlist.c: Regenerated.
3048
60d2f8f3
JM
3049 * catgets/gencat.c (error_print): Use (void) in function
3050 definition.
3051 * crypt/crypt_util.c (__init_des): Likewise.
3052 * crypt/speeds.c (Stop): Likewise.
3053 (main): Likewise.
3054 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3055 * inet/ruserpass.c (token): Likewise.
3056 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3057 * intl/localealias.c (extend_alias_table): Likewise.
3058 * intl/plural-exp.c (init_germanic_plural): Likewise.
3059 * libio/fcloseall.c (__fcloseall): Likewise.
3060 * libio/genops.c (_IO_flush_all): Likewise.
3061 (_IO_flush_all_linebuffered): Likewise.
3062 (_IO_cleanup): Likewise.
3063 (_IO_iter_begin): Likewise.
3064 (_IO_iter_end): Likewise.
3065 (_IO_list_lock): Likewise.
3066 (_IO_list_unlock): Likewise.
3067 (_IO_list_resetlock): Likewise.
3068 * libio/getchar.c (getchar): Likewise.
3069 * libio/getchar_u.c (getchar_unlocked): Likewise.
3070 * libio/getwchar.c (getwchar): Likewise.
3071 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3072 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3073 * login/getpt.c (__getpt): Likewise.
3074 * login/tst-utmp.c (main): Likewise.
3075 * malloc/hooks.c (__malloc_check_init): Likewise.
3076 * malloc/malloc.c (__malloc_stats): Likewise.
3077 * malloc/mtrace.c (tr_break): Likewise.
3078 (mtrace): Likewise.
3079 (muntrace): Likewise.
3080 * misc/fstab.c (endfsent): Likewise.
3081 * misc/getclktck.c (__getclktck): Likewise.
3082 * misc/getdtsz.c (__getdtablesize): Likewise.
3083 * misc/gethostid.c (gethostid): Likewise.
3084 * misc/getpagesize.c (__getpagesize): Likewise.
3085 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3086 (__get_nprocs): Likewise.
3087 (__get_phys_pages): Likewise.
3088 (__get_avphys_pages): Likewise.
3089 * misc/getttyent.c (getttyent): Likewise.
3090 (setttyent): Likewise.
3091 (endttyent): Likewise.
3092 * misc/getusershell.c (getusershell): Likewise.
3093 (endusershell): Likewise.
3094 (setusershell): Likewise.
3095 (initshells): Likewise.
3096 * misc/hsearch.c (__hdestroy): Likewise.
3097 * misc/sync.c (sync): Likewise.
3098 * misc/syslog.c (closelog_internal): Likewise.
3099 (closelog): Likewise.
3100 * misc/ttyslot.c (ttyslot): Likewise.
3101 * misc/vhangup.c (vhangup): Likewise.
3102 * posix/fork.c (__fork): Likewise.
3103 * posix/getegid.c (__getegid): Likewise.
3104 * posix/geteuid.c (__geteuid): Likewise.
3105 * posix/getgid.c (__getgid): Likewise.
3106 * posix/getpid.c (__getpid): Likewise.
3107 * posix/getppid.c (__getppid): Likewise.
3108 * posix/getuid.c (__getuid): Likewise.
3109 * posix/pause.c (pause): Likewise.
3110 * posix/setpgrp.c (setpgrp): Likewise.
3111 * posix/setsid.c (__setsid): Likewise.
3112 * posix/test-vfork.c (noop): Likewise.
3113 * resolv/gethnamaddr.c (_endhtent): Likewise.
3114 (_gethtent): Likewise.
3115 (ht_endhostent): Likewise.
3116 (gethostent): Likewise.
3117 (dns_service): Likewise.
3118 * stdlib/drand48.c (drand48): Likewise.
3119 * stdlib/lrand48.c (lrand48): Likewise.
3120 * stdlib/mrand48.c (mrand48): Likewise.
3121 * stdlib/rand.c (rand): Likewise.
3122 * stdlib/random.c (__random): Likewise.
3123 * stdlib/setenv.c (clearenv): Likewise.
3124 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3125 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3126 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3127 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3128 (__get_nprocs): Likewise.
3129 (__get_phys_pages): Likewise.
3130 (__get_avphys_pages): Likewise.
3131 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3132 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3133 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3134 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3135 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3136 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3137 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3138 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3139 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3140 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3141 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3142 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3143 * sysdeps/posix/clock.c (clock): Likewise.
3144 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3145 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3146 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3147 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3148 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3150 (__get_nprocs_conf): Likewise.
3151 (__get_phys_pages): Likewise.
3152 (__get_avphys_pages): Likewise.
3153 * time/clock.c (clock): Likewise.
3154 * time/tzset.c (__tzname_max): Likewise.
3155
2e09a79a
JM
31562013-06-07 Joseph Myers <joseph@codesourcery.com>
3157
3158 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3159 (__bswap_32): Do not use "register".
3160 * crypt/crypt.c (_ufc_doit_r): Likewise.
3161 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3162 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3163 * gmon/gmon.c (__monstartup): Likewise.
3164 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3165 * hurd/hurdmalloc.c (more_memory): Likewise.
3166 (malloc): Likewise.
3167 (free): Likewise.
3168 (realloc): Likewise.
3169 (malloc_fork_prepare): Likewise.
3170 (malloc_fork_parent): Likewise.
3171 (malloc_fork_child): Likewise.
3172 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3173 (_svcauth_des): Likewise.
3174 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3175 * inet/inet_net.c (inet_network): Likewise.
3176 * inet/inet_netof.c (inet_netof): Likewise.
3177 * inet/rcmd.c (__validuser2_sa): Likewise.
3178 * io/fts.c (fts_open): Likewise.
3179 (fts_load): Likewise.
3180 (fts_close): Likewise.
3181 (fts_read): Likewise.
3182 (fts_children): Likewise.
3183 (fts_build): Likewise.
3184 (fts_stat): Likewise.
3185 (fts_sort): Likewise.
3186 (fts_alloc): Likewise.
3187 (fts_lfree): Likewise.
3188 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3189 (_IO_file_xsgetn): Likewise.
3190 (_IO_file_xsgetn_mmap): Likewise.
3191 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3192 (_IO_cookie_write): Likewise.
3193 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3194 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3195 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3196 * malloc/obstack.c (_obstack_begin): Likewise.
3197 (_obstack_begin_1): Likewise.
3198 (_obstack_newchunk): Likewise.
3199 (_obstack_allocated_p): Likewise.
3200 (obstack_free): Likewise.
3201 (_obstack_memory_used): Likewise.
3202 * misc/getttyent.c (getttynam): Likewise.
3203 (getttyent): Likewise.
3204 (skip): Likewise.
3205 (value): Likewise.
3206 * misc/getusershell.c (initshells): Likewise.
3207 * misc/syslog.c (__vsyslog_chk): Likewise.
3208 * misc/ttyslot.c (ttyslot): Likewise.
3209 * nis/nis_hash.c (__nis_hash): Likewise.
3210 * posix/fnmatch_loop.c (FCT): Likewise.
3211 * posix/getconf.c (print_all): Likewise.
3212 (main): Likewise.
3213 * posix/getopt.c (exchange): Likewise.
3214 * posix/glob.c (globfree): Likewise.
3215 (prefix_array): Likewise.
3216 (__glob_pattern_type): Likewise.
3217 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3218 (NS_GET32): Likewise.
3219 (NS_PUT16): Likewise.
3220 (NS_PUT32): Likewise.
3221 * resolv/gethnamaddr.c (getanswer): Likewise.
3222 (gethostbyname2): Likewise.
3223 (gethostbyaddr): Likewise.
3224 (_gethtent): Likewise.
3225 (_gethtbyname2): Likewise.
3226 (_gethtbyaddr): Likewise.
3227 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3228 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3229 * resolv/res_init.c (__res_vinit): Likewise.
3230 (net_mask): Likewise.
3231 * resolv/res_mkquery.c (outchar): Likewise.
3232 (PRINT): Likewise.
3233 * stdio-common/printf_fp.c (outchar): Likewise.
3234 (PRINT): Likewise.
3235 * stdio-common/printf_fphex.c (outchar): Likewise.
3236 (PRINT): Likewise.
3237 * stdio-common/printf_size.c (outchar): Likewise.
3238 (PRINT): Likewise.
3239 * stdio-common/test_rdwr.c (main): Likewise.
3240 * stdio-common/tfformat.c (matches): Likewise.
3241 * stdio-common/vfprintf.c (outchar): Likewise.
3242 (printf_unknown): Likewise.
3243 (buffered_vfprintf): Likewise.
3244 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3245 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3246 (ReadFile): Likewise.
3247 * stdlib/qsort.c (SWAP): Likewise.
3248 (_quicksort): Likewise.
3249 * stdlib/setenv.c (__add_to_environ): Likewise.
3250 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3251 * stdlib/strtol_l.c (__strtol_l): Likewise.
3252 * stdlib/tst-strtod.c (main): Likewise.
3253 * stdlib/tst-strtol.c (main): Likewise.
3254 * stdlib/tst-strtoll.c (main): Likewise.
3255 * string/bits/string2.h (__strcmp_cc): Likewise.
3256 (__strcmp_cg): Likewise.
3257 (__strcspn_c1): Likewise.
3258 (__strcspn_c2): Likewise.
3259 (__strcspn_c3): Likewise.
3260 (__strspn_c1): Likewise.
3261 (__strspn_c2): Likewise.
3262 (__strspn_c3): Likewise.
3263 (__strsep_1c): Likewise.
3264 (__strsep_2c): Likewise.
3265 (__strsep_3c): Likewise.
3266 * string/memccpy.c (__memccpy): Likewise.
3267 * string/stpcpy.c (__stpcpy): Likewise.
3268 * string/strcmp.c (strcmp): Likewise.
3269 * string/strrchr.c (strrchr): Likewise.
3270 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3271 Likewise.
3272 * sysdeps/mach/hurd/getcwd.c
3273 (_hurd_canonicalize_directory_name_internal): Likewise.
3274 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3275 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3276 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3277 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3278 Likewise, in both definitions.
3279 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3280 definitions.
3281 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3282 64] (__bswap_64): Likewise.
3283 * time/test_time.c (main): Likewise.
3284 * time/tzfile.c (__tzfile_read): Likewise.
3285 (__tzfile_compute): Likewise.
3286 * time/tzset.c (__tzset_parse_tz): Likewise.
3287 (tzset_internal): Likewise.
3288 (compute_change): Likewise.
3289 * wcsmbs/wcscat.c (__wcscat): Likewise.
3290 * wcsmbs/wcschr.c (wcschr): Likewise.
3291 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3292 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3293 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3294 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3295 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3296 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3297 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3298 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3299 * wcsmbs/wmemset.c (wmemset): Likewise.
3300
9e54314b
JM
33012013-06-06 Joseph Myers <joseph@codesourcery.com>
3302
3303 * scripts/config.guess: Update to version 2013-05-16.
3304 * scripts/config.sub: Update to version 2013-04-24.
3305 * scripts/install-sh: Update to version 2011-11-20.07.
3306 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3307 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3308
350635a5
OB
33092013-06-06 Ondřej Bílka <neleai@seznam.cz>
3310
3311 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3312 * elf/sln.c: Likewise.
3313 * hurd/hurd/ioctl.h: Likewise.
3314 * hurd/hurdmalloc.c: Likewise.
3315 * hurd/xattr.c: Likewise.
3316 * include/shlib-compat.h: Likewise.
3317 * inet/ruserpass.c: Likewise.
3318 * libio/iofgets_u.c: Likewise.
3319 * libio/iofgetws_u.c: Likewise.
3320 * locale/programs/ld-identification.c: Likewise.
3321 * locale/programs/ld-time.c: Likewise.
3322 * mach/msg-destroy.c: Likewise.
3323 * nss/nss_files/files-netgrp.c: Likewise.
3324 * resolv/res_data.c: Likewise.
3325 * soft-fp/op-1.h: Likewise.
3326 * soft-fp/op-2.h: Likewise.
3327 * soft-fp/op-4.h: Likewise.
3328 * soft-fp/op-common.h: Likewise.
3329 * stdio-common/printf_fphex.c: Likewise.
3330 * stdlib/strtod_l.c: Likewise.
3331 * sunrpc/rpc/clnt.h: Likewise.
3332 * sysdeps/generic/framestate.c: Likewise.
3333 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3334 * sysdeps/i386/bsd-setjmp.S: Likewise.
3335 * sysdeps/i386/__longjmp.S: Likewise.
3336 * sysdeps/i386/setjmp.S: Likewise.
3337 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3338 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3339 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3340 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3341 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3342 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3343 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3344 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3345 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3346 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3347 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3348 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3349 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3350 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3351 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3352 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3353 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3354 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3355 * sysdeps/ieee754/support.c: Likewise.
3356 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3357 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3358 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3359 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3360 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3361 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3362 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3363 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3364 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3365 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3366 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3367 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3368 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3369 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3370 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3371 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3372 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3374
44a988af
OB
33752013-06-05 Ondřej Bílka <neleai@seznam.cz>
3376
25506f09 3377 * posix/transbug.c: Remove executable mode.
44a988af 3378
9c84384c
JM
33792013-06-05 Joseph Myers <joseph@codesourcery.com>
3380
3381 * crypt/speeds.c: Remove trailing whitespace.
3382 * dlfcn/default.c: Likewise.
3383 * elf/ifuncdep2.c: Likewise.
3384 * elf/ifuncmain1.c: Likewise.
3385 * elf/ifuncmain1vis.c: Likewise.
3386 * elf/testobj.h: Likewise.
3387 * elf/tst-stackguard1.c: Likewise.
3388 * gmon/sys/gmon.h: Likewise.
3389 * hurd/hurdmsg.c: Likewise.
3390 * hurd/new-fd.c: Likewise.
3391 * hurd/ports-get.c: Likewise.
3392 * iconvdata/ibm1008_420.c: Likewise.
3393 * inet/tst-getni1.c: Likewise.
3394 * inet/tst-getni2.c: Likewise.
3395 * libio/ioungetc.c: Likewise.
3396 * libio/wfiledoalloc.c: Likewise.
3397 * manual/libm-err-tab.pl: Likewise.
3398 * math/w_dremf.c: Likewise.
3399 * misc/ftruncate.c: Likewise.
3400 * posix/bug-glob2.c: Likewise.
3401 * posix/tst-pcre.c: Likewise.
3402 * posix/wait4.c: Likewise.
3403 * resolv/README: Likewise.
3404 * resolv/res_debug.h: Likewise.
3405 * resolv/tst-inet_ntop.c: Likewise.
3406 * setjmp/bug269-setjmp.c: Likewise.
3407 * soft-fp/extended.h: Likewise.
3408 * soft-fp/op-1.h: Likewise.
3409 * soft-fp/op-2.h: Likewise.
3410 * soft-fp/op-4.h: Likewise.
3411 * soft-fp/op-8.h: Likewise.
3412 * soft-fp/testit.c: Likewise.
3413 * stdio-common/bug16.c: Likewise.
3414 * stdlib/random.c: Likewise.
3415 * sunrpc/rpcsvc/rquota.x: Likewise.
3416 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3417 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3418 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3419 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3420 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3421 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3422 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3423 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3424 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3425 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3426 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3427 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3428 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3429 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3430 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3431 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3432 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3433 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3434 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3435 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3436 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3437 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3438 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3439 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3440 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3441 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3442 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3443 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3444 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3445 * sysdeps/ieee754/s_lib_version.c: Likewise.
3446 * sysdeps/mach/hurd/check_fds.c: Likewise.
3447 * sysdeps/mach/hurd/getsockname.c: Likewise.
3448 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3449 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3450 * sysdeps/powerpc/bits/link.h: Likewise.
3451 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3452 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3453 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3454 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3455 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3456 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3457 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3458 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3459 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3460 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3461 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3462 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3463 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3464 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3465 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3466 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3467 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3468 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3469 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3470 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3471 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3472 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3473 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3474 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3475 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3476 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3477 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3478 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3479 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3480 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3481 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3482 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3483 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3484 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3485 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3486 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3487 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3488 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3489 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3490 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3491 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3492 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3493 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3494 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3495 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3496 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3497 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3498 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3499 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3500 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3501 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3502 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3503 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3504 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3505 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3506 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3507 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3508 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3509 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3510 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3511 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3512 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3513 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3514 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3515 * sysdeps/powerpc/sysdep.h: Likewise.
3516 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3517 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3518 * sysdeps/sh/dl-trampoline.S: Likewise.
3519 * sysdeps/sh/memset.S: Likewise.
3520 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3521 * sysdeps/sh/strlen.S: Likewise.
3522 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3523 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3524 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3525 * sysdeps/sparc/sparc32/rem.S: Likewise.
3526 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3527 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3528 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3529 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3530 * sysdeps/sparc/sparc32/urem.S: Likewise.
3531 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3532 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3533 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3534 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3535 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3536 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3537 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3538 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3539 * sysdeps/unix/bsd/times.c: Likewise.
3540 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3541 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3545 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3546 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3547 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3548 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3549 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3550 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3551 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3552 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3553 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3554 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3555 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3556 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3557 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3558 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3559 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3560 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3561 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3562 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3563 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3564 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3565 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3566 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3567 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3568 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3569 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3570 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3571 * sysdeps/x86_64/strcspn.S: Likewise.
3572
869378a5
RA
35732013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3574
3575 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3576 generated file. Regenerate properly from gen-translit.pl.
3577 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3578 locale/C-translit.h.
3579
840e2943
AS
35802013-06-05 Andreas Schwab <schwab@suse.de>
3581
3582 [BZ #15100]
3583 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3584 week as 6 instead of -1.
3585 * time/tst-strptime.c (day_tests): Add test case.
3586
4c60cb0c
SP
35872013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3588
3589 * sysdeps/generic/math_private.h
3590 (libc_feholdexcept_setround_53bit): Replace with
3591 libc_feholdsetround_53bit.
3592 (libc_feupdateenv_53bit): Replace with
3593 libc_feresetround_53bit.
3594 (SET_RESTORE_ROUND_53BIT): Adjust.
3595
d180203e
SP
35962013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3597
96df079a
SP
3598 * string/test-strchrnul.c: Add copyright header.
3599
d180203e
SP
3600 * posix/tst-getaddrinfo4.c: Increase test timeout.
3601
8b0ccb2d
CD
36022013-06-03 Carlos O'Donell <carlos@redhat.com>
3603
3604 [BZ #15536]
3605 * math/libm-test.inc (MAX_EXP): Remove
3606 (MIN_EXP): Define.
3607 (ulp): Use MIN_EXP - MANT_DIG.
3608 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3609
3b3c4d40
CD
36102013-05-31 Carlos O'Donell <carlos@redhat.com>
3611
3612 * po/be.po: Revert last change.
3613 * po/zh_CN.po: Likewise.
3614 * po/header.pot: Likewise.
3615
fab7ce3f
JM
36162013-05-31 Joseph Myers <joseph@codesourcery.com>
3617
3618 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3619 link-libc-deps to empty as target-specific variable.
3620 * Makerules (link-libc-args): New variable.
3621 (libc-for-link): Likewise.
3622 (link-libc-deps): Likewise.
3623 (lib%.so): Depend on $(link-libc-deps). Link with
3624 $(link-libc-args).
3625 (build-module): Link with $(link-libc-args).
3626 (build-module-asneeded): Likewise.
3627 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3628 list of objects.
3629 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3630 target-specific variable.
3631 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3632 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3633 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3634 libc.
3635 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3636 libc and ld.so.
3637 ($(objpfx)libpcprofile.so): Likewise.
3638 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3639 libc_nonshared.a.
3640 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3641 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3642 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3643 $(link-libc-deps).
3644 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3645 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3646 * login/Makefile ($(objpfx)libutil.so): Likewise.
3647 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3648 * math/Makefile ($(objpfx)libm.so): Likewise.
3649 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3650 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3651 variable instead of depending directly on libc.
3652 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3653 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3654 $(link-libc-deps).
3655 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3656 libc.
3657 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3658 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3659 ($(objpfx)libanl.so): Likewise.
3660 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3661 ld.so.
3662 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3663 $(link-libc-deps).
3664 * sysdeps/i386/fpu/Makefile: Remove file.
3665 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3666 ($(objpfx)libm.so): Remove dependency on ld.so.
3667
eca5920c
PF
36682013-05-30 Patsy Franklin <pfrankli@redhat.com>
3669
3670 [BZ # 15553]
3671 * nis/yp_xdr.c (XDRMAXNAME): Define.
3672 (XDRMAXRECORD): Define.
3673 (xdr_domainname): Use XDRMAXNAME.
3674 (xdr_mapname): Likewise.
3675 (xdr_peername): Likewise.
3676 (xdr_keydat): Use XDRMAXRECORD.
3677 (xdr_valdat): Likewise.
3678
36792013-05-30 Jeff Law <law@redhat.com>
96945714
JL
3680
3681 [BZ #14256]
3682 * manual/errno.texi (ESTALE): Update to account for more than
3683 just NFS file systems.
3684 * sysdeps/gnu/errlist.c: Regenerated.
3685
b9375348
SP
36862013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3687
3688 [BZ #15465]
3689 * elf/Makefile (tests): Add tst-null-argv.
3690 (modules-names): Add tst-null-argv-lib.
3691 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3692 (tst-null-argv-ENV): Set environment for tst-null-argv.
3693 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3694 (RTLD_PROGNAME): New macro.
3695 * elf/tst-null-argv.c: New test case.
3696 * elf/tst-null-argv-lib.c: Library for test case.
3697 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3698 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3699 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3700 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3701 * elf/dl-init.c (call_init): Likewise.
3702 (_dl_init): Likewise.
3703 * elf/dl-load.c (print_search_path): Likewise.
3704 (_dl_map_object): Likewise.
3705 * elf/dl-lookup.c (do_lookup_x): Likewise.
3706 (add_dependency): Likewise.
3707 (_dl_lookup_symbol_x): Likewise.
3708 (_dl_debug_bindings): Likewise.
3709 * elf/dl-open.c (_dl_show_scope): Likewise.
3710 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3711 * elf/dl-version.c (match_symbol): Likewise.
3712 (_dl_check_map_versions): Likewise.
3713 * elf/rtld.c (dl_main): Likewise.
3714 (print_unresolved): Use RTLD_PROGNAME.
3715 (print_missing_version): Likewise.
3716 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3717 (elf_machine_rela): Likewise.
3718 * sysdeps/powerpc/powerpc32/dl-machine.c
3719 (__process_machine_rela): Likewise.
3720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3721 Likewise.
3722 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3723 Likewise.
3724 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3725 Likewise.
3726 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3728 Likewise.
3729 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3730 Likewise.
3731 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3732
8a9f20c8
CD
37332013-05-28 Carlos O'Donell <carlos@redhat.com>
3734
3735 * po/be.po: Add descriptive title.
3736 * po/zh_CN.po: Likewise.
3737 * po/header.pot: Likewise.
3738
0e60d68e
MF
37392013-05-28 Mike Frysinger <vapier@gentoo.org>
3740
3741 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3742 error message.
3743 (enlarge_archive): Likewise.
3744
56b672e9
BN
37452013-05-28 Ben North <ben@redfrontdoor.org>
3746
3747 * manual/arith.texi (frexp): It is the magnitude of the return
3748 value which lies in [0.5, 1), not the return value itself.
3749
5e056687
AZ
37502013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3751
3752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3753
2b66ef5d
TS
37542013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3755
528c2405
TS
3756 * stdio-common/bug26.c (main): Correct fscanf template.
3757
07b4c13d
TS
3758 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3759 declare _dl_skip_args.
3760
ec9dd97c
TS
3761 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3762 Don't declare.
3763
2b66ef5d
TS
3764 * manual/platform.texi: Add missing @end deftypefun.
3765
4f8dfe27
JM
37662013-05-24 Joseph Myers <joseph@codesourcery.com>
3767
0323d086
JM
3768 [BZ #15529]
3769 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3770 bit of mantissa of 2^16382.
3771 * math/libm-test.inc (hypot_test_data): Add more tests.
3772
dd4259b9
JM
3773 * math/libm-test.inc: Add drem and pow10 to list of tested
3774 functions.
3775 (pow10_test): New function.
3776 (drem_test): Likewise.
3777 (drem_test_tonearest): Likewise.
3778 (drem_test_towardzero): Likewise.
3779 (drem_test_downward): Likewise.
3780 (drem_test_upward): Likewise.
3781 (main): Call the new functions.
3782
4f8dfe27
JM
3783 * math/libm-test.inc (finite_test_data): Remove.
3784 (finite_test): Run tests from isfinite_test_data.
3785 (gamma_test_data): Remove.
3786 (gamma_test): Run tests from lgamma_test_data.
3787 * sysdeps/i386/fpu/libm-test-ulps: Update.
3788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3789
d116b7c4
AZ
37902013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3791
3792 * manual/platform.texi: Add PowerPC PPR function set documentation.
3793 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3794 implementation.
3795
e96e3767
CD
37962013-05-24 Carlos O'Donell <carlos@redhat.com>
3797
3798 * math/libm-test.inc (MAX_EXP): Define.
3799 (ULPDIFF): Define.
3800 (ulp): New function.
3801 (check_float_internal): Use ULPDIFF.
3802 (cpow_test): Disable failing test.
3803 (check_ulp): Test ulp() implemetnation.
3804 (main): Call check_ulp before starting tests.
3805
b679a606
JM
38062013-05-24 Joseph Myers <joseph@codesourcery.com>
3807
e8bdba36
JM
3808 * math/gen-libm-test.pl (generate_testfile): Do not handle
3809 START_DATA and END_DATA.
3810 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3811 END_DATA.
3812 (acos_tonearest_test_data): Likewise.
3813 (acos_towardzero_test_data): Likewise.
3814 (acos_downward_test_data): Likewise.
3815 (acos_upward_test_data): Likewise.
3816 (acosh_test_data): Likewise.
3817 (asin_test_data): Likewise.
3818 (asin_tonearest_test_data): Likewise.
3819 (asin_towardzero_test_data): Likewise.
3820 (asin_downward_test_data): Likewise.
3821 (asin_upward_test_data): Likewise.
3822 (asinh_test_data): Likewise.
3823 (atan_test_data): Likewise.
3824 (atanh_test_data): Likewise.
3825 (atan2_test_data): Likewise.
3826 (cabs_test_data): Likewise.
3827 (cacos_test_data): Likewise.
3828 (cacosh_test_data): Likewise.
3829 (carg_test_data): Likewise.
3830 (casin_test_data): Likewise.
3831 (casinh_test_data): Likewise.
3832 (catan_test_data): Likewise.
3833 (catanh_test_data): Likewise.
3834 (cbrt_test_data): Likewise.
3835 (ccos_test_data): Likewise.
3836 (ccosh_test_data): Likewise.
3837 (ceil_test_data): Likewise.
3838 (cexp_test_data): Likewise.
3839 (cimag_test_data): Likewise.
3840 (clog_test_data): Likewise.
3841 (clog10_test_data): Likewise.
3842 (conj_test_data): Likewise.
3843 (copysign_test_data): Likewise.
3844 (cos_test_data): Likewise.
3845 (cos_tonearest_test_data): Likewise.
3846 (cos_towardzero_test_data): Likewise.
3847 (cos_downward_test_data): Likewise.
3848 (cos_upward_test_data): Likewise.
3849 (cosh_test_data): Likewise.
3850 (cosh_tonearest_test_data): Likewise.
3851 (cosh_towardzero_test_data): Likewise.
3852 (cosh_downward_test_data): Likewise.
3853 (cosh_upward_test_data): Likewise.
3854 (cpow_test_data): Likewise.
3855 (cproj_test_data): Likewise.
3856 (creal_test_data): Likewise.
3857 (csin_test_data): Likewise.
3858 (csinh_test_data): Likewise.
3859 (csqrt_test_data): Likewise.
3860 (ctan_test_data): Likewise.
3861 (ctan_tonearest_test_data): Likewise.
3862 (ctan_towardzero_test_data): Likewise.
3863 (ctan_downward_test_data): Likewise.
3864 (ctan_upward_test_data): Likewise.
3865 (ctanh_test_data): Likewise.
3866 (ctanh_tonearest_test_data): Likewise.
3867 (ctanh_towardzero_test_data): Likewise.
3868 (ctanh_downward_test_data): Likewise.
3869 (ctanh_upward_test_data): Likewise.
3870 (erf_test_data): Likewise.
3871 (erfc_test_data): Likewise.
3872 (exp_test_data): Likewise.
3873 (exp_tonearest_test_data): Likewise.
3874 (exp_towardzero_test_data): Likewise.
3875 (exp_downward_test_data): Likewise.
3876 (exp_upward_test_data): Likewise.
3877 (exp10_test_data): Likewise.
3878 (exp2_test_data): Likewise.
3879 (expm1_test_data): Likewise.
3880 (fabs_test_data): Likewise.
3881 (fdim_test_data): Likewise.
3882 (finite_test_data): Likewise.
3883 (floor_test_data): Likewise.
3884 (fma_test_data): Likewise.
3885 (fma_towardzero_test_data): Likewise.
3886 (fma_downward_test_data): Likewise.
3887 (fma_upward_test_data): Likewise.
3888 (fmax_test_data): Likewise.
3889 (fmin_test_data): Likewise.
3890 (fmod_test_data): Likewise.
3891 (fpclassify_test_data): Likewise.
3892 (frexp_test_data): Likewise.
3893 (gamma_test_data): Likewise.
3894 (hypot_test_data): Likewise.
3895 (ilogb_test_data): Likewise.
3896 (isfinite_test_data): Likewise.
3897 (isgreater_test_data): Likewise.
3898 (isgreaterequal_test_data): Likewise.
3899 (isinf_test_data): Likewise.
3900 (isless_test_data): Likewise.
3901 (islessequal_test_data): Likewise.
3902 (islessgreater_test_data): Likewise.
3903 (isnan_test_data): Likewise.
3904 (isnormal_test_data): Likewise.
3905 (issignaling_test_data): Likewise.
3906 (isunordered_test_data): Likewise.
3907 (j0_test_data): Likewise.
3908 (j1_test_data): Likewise.
3909 (jn_test_data): Likewise.
3910 (ldexp_test_data): Likewise.
3911 (lgamma_test_data): Likewise.
3912 (lrint_test_data): Likewise.
3913 (lrint_tonearest_test_data): Likewise.
3914 (lrint_towardzero_test_data): Likewise.
3915 (lrint_downward_test_data): Likewise.
3916 (lrint_upward_test_data): Likewise.
3917 (llrint_test_data): Likewise.
3918 (llrint_tonearest_test_data): Likewise.
3919 (llrint_towardzero_test_data): Likewise.
3920 (llrint_downward_test_data): Likewise.
3921 (llrint_upward_test_data): Likewise.
3922 (log_test_data): Likewise.
3923 (log10_test_data): Likewise.
3924 (log1p_test_data): Likewise.
3925 (log2_test_data): Likewise.
3926 (logb_test_data): Likewise.
3927 (logb_downward_test_data): Likewise.
3928 (lround_test_data): Likewise.
3929 (llround_test_data): Likewise.
3930 (modf_test_data): Likewise.
3931 (nearbyint_test_data): Likewise.
3932 (nextafter_test_data): Likewise.
3933 (nexttoward_test_data): Likewise.
3934 (pow_test_data): Likewise.
3935 (pow_tonearest_test_data): Likewise.
3936 (pow_towardzero_test_data): Likewise.
3937 (pow_downward_test_data): Likewise.
3938 (pow_upward_test_data): Likewise.
3939 (remainder_test_data): Likewise.
3940 (remainder_tonearest_test_data): Likewise.
3941 (remainder_towardzero_test_data): Likewise.
3942 (remainder_downward_test_data): Likewise.
3943 (remainder_upward_test_data): Likewise.
3944 (remquo_test_data): Likewise.
3945 (rint_test_data): Likewise.
3946 (rint_tonearest_test_data): Likewise.
3947 (rint_towardzero_test_data): Likewise.
3948 (rint_downward_test_data): Likewise.
3949 (rint_upward_test_data): Likewise.
3950 (round_test_data): Likewise.
3951 (scalb_test_data): Likewise.
3952 (scalbn_test_data): Likewise.
3953 (scalbln_test_data): Likewise.
3954 (signbit_test_data): Likewise.
3955 (sin_test_data): Likewise.
3956 (sin_tonearest_test_data): Likewise.
3957 (sin_towardzero_test_data): Likewise.
3958 (sin_downward_test_data): Likewise.
3959 (sin_upward_test_data): Likewise.
3960 (sincos_test_data): Likewise.
3961 (sinh_test_data): Likewise.
3962 (sinh_tonearest_test_data): Likewise.
3963 (sinh_towardzero_test_data): Likewise.
3964 (sinh_downward_test_data): Likewise.
3965 (sinh_upward_test_data): Likewise.
3966 (sqrt_test_data): Likewise.
3967 (tan_test_data): Likewise.
3968 (tan_tonearest_test_data): Likewise.
3969 (tan_towardzero_test_data): Likewise.
3970 (tan_downward_test_data): Likewise.
3971 (tan_upward_test_data): Likewise.
3972 (tanh_test_data): Likewise.
3973 (tgamma_test_data): Likewise.
3974 (trunc_test_data): Likewise.
3975 (y0_test_data): Likewise.
3976 (y1_test_data): Likewise.
3977 (yn_test_data): Likewise.
3978 (significand_test_data): Likewise.
3979
b679a606
JM
3980 * math/gen-libm-test.pl (@functions): Remove variable.
3981 (generate_testfile): Don't handle START and END lines.
3982 * math/libm-test.inc (START): New macro.
3983 (END): Likewise.
3984 (END_COMPLEX): Likewise.
3985 (acos_test): Use END macro without arguments.
3986 (acos_test_tonearest): Likewise.
3987 (acos_test_towardzero): Likewise.
3988 (acos_test_downward): Likewise.
3989 (acos_test_upward): Likewise.
3990 (acosh_test): Likewise.
3991 (asin_test): Likewise.
3992 (asin_test_tonearest): Likewise.
3993 (asin_test_towardzero): Likewise.
3994 (asin_test_downward): Likewise.
3995 (asin_test_upward): Likewise.
3996 (asinh_test): Likewise.
3997 (atan_test): Likewise.
3998 (atanh_test): Likewise.
3999 (atan2_test): Likewise.
4000 (cabs_test): Likewise.
4001 (cacos_test): Use END_COMPLEX macro without arguments.
4002 (cacosh_test): Likewise.
4003 (carg_test): Use END macro without arguments.
4004 (casin_test): Use END_COMPLEX macro without arguments.
4005 (casinh_test): Likewise.
4006 (catan_test): Likewise.
4007 (catanh_test): Likewise.
4008 (cbrt_test): Use END macro without arguments.
4009 (ccos_test): Use END_COMPLEX macro without arguments.
4010 (ccosh_test): Likewise.
4011 (ceil_test): Use END macro without arguments.
4012 (cexp_test): Use END_COMPLEX macro without arguments.
4013 (cimag_test): Use END macro without arguments.
4014 (clog_test): Use END_COMPLEX macro without arguments.
4015 (clog10_test): Likewise.
4016 (conj_test): Likewise.
4017 (copysign_test): Use END macro without arguments.
4018 (cos_test): Likewise.
4019 (cos_test_tonearest): Likewise.
4020 (cos_test_towardzero): Likewise.
4021 (cos_test_downward): Likewise.
4022 (cos_test_upward): Likewise.
4023 (cosh_test): Likewise.
4024 (cosh_test_tonearest): Likewise.
4025 (cosh_test_towardzero): Likewise.
4026 (cosh_test_downward): Likewise.
4027 (cosh_test_upward): Likewise.
4028 (cpow_test): Use END_COMPLEX macro without arguments.
4029 (cproj_test): Likewise.
4030 (creal_test): Use END macro without arguments.
4031 (csin_test): Use END_COMPLEX macro without arguments.
4032 (csinh_test): Likewise.
4033 (csqrt_test): Likewise.
4034 (ctan_test): Likewise.
4035 (ctan_test_tonearest): Likewise.
4036 (ctan_test_towardzero): Likewise.
4037 (ctan_test_downward): Likewise.
4038 (ctan_test_upward): Likewise.
4039 (ctanh_test): Likewise.
4040 (ctanh_test_tonearest): Likewise.
4041 (ctanh_test_towardzero): Likewise.
4042 (ctanh_test_downward): Likewise.
4043 (ctanh_test_upward): Likewise.
4044 (erf_test): Use END macro without arguments.
4045 (erfc_test): Likewise.
4046 (exp_test): Likewise.
4047 (exp_test_tonearest): Likewise.
4048 (exp_test_towardzero): Likewise.
4049 (exp_test_downward): Likewise.
4050 (exp_test_upward): Likewise.
4051 (exp10_test): Likewise.
4052 (exp2_test): Likewise.
4053 (expm1_test): Likewise.
4054 (fabs_test): Likewise.
4055 (fdim_test): Likewise.
4056 (finite_test): Likewise.
4057 (floor_test): Likewise.
4058 (fma_test): Likewise.
4059 (fma_test_towardzero): Likewise.
4060 (fma_test_downward): Likewise.
4061 (fma_test_upward): Likewise.
4062 (fmax_test): Likewise.
4063 (fmin_test): Likewise.
4064 (fmod_test): Likewise.
4065 (fpclassify_test): Likewise.
4066 (frexp_test): Likewise.
4067 (gamma_test): Likewise.
4068 (hypot_test): Likewise.
4069 (ilogb_test): Likewise.
4070 (isfinite_test): Likewise.
4071 (isgreater_test): Likewise.
4072 (isgreaterequal_test): Likewise.
4073 (isinf_test): Likewise.
4074 (isless_test): Likewise.
4075 (islessequal_test): Likewise.
4076 (islessgreater_test): Likewise.
4077 (isnan_test): Likewise.
4078 (isnormal_test): Likewise.
4079 (issignaling_test): Likewise.
4080 (isunordered_test): Likewise.
4081 (j0_test): Likewise.
4082 (j1_test): Likewise.
4083 (jn_test): Likewise.
4084 (ldexp_test): Likewise.
4085 (lgamma_test): Likewise.
4086 (lrint_test): Likewise.
4087 (lrint_test_tonearest): Likewise.
4088 (lrint_test_towardzero): Likewise.
4089 (lrint_test_downward): Likewise.
4090 (lrint_test_upward): Likewise.
4091 (llrint_test): Likewise.
4092 (llrint_test_tonearest): Likewise.
4093 (llrint_test_towardzero): Likewise.
4094 (llrint_test_downward): Likewise.
4095 (llrint_test_upward): Likewise.
4096 (log_test): Likewise.
4097 (log10_test): Likewise.
4098 (log1p_test): Likewise.
4099 (log2_test): Likewise.
4100 (logb_test): Likewise.
4101 (logb_test_downward): Likewise.
4102 (lround_test): Likewise.
4103 (llround_test): Likewise.
4104 (modf_test): Likewise.
4105 (nearbyint_test): Likewise.
4106 (nextafter_test): Likewise.
4107 (nexttoward_test): Likewise.
4108 (pow_test): Likewise.
4109 (pow_test_tonearest): Likewise.
4110 (pow_test_towardzero): Likewise.
4111 (pow_test_downward): Likewise.
4112 (pow_test_upward): Likewise.
4113 (remainder_test): Likewise.
4114 (remainder_test_tonearest): Likewise.
4115 (remainder_test_towardzero): Likewise.
4116 (remainder_test_downward): Likewise.
4117 (remainder_test_upward): Likewise.
4118 (remquo_test): Likewise.
4119 (rint_test): Likewise.
4120 (rint_test_tonearest): Likewise.
4121 (rint_test_towardzero): Likewise.
4122 (rint_test_downward): Likewise.
4123 (rint_test_upward): Likewise.
4124 (round_test): Likewise.
4125 (scalb_test): Likewise.
4126 (scalbn_test): Likewise.
4127 (scalbln_test): Likewise.
4128 (signbit_test): Likewise.
4129 (sin_test): Likewise.
4130 (sin_test_tonearest): Likewise.
4131 (sin_test_towardzero): Likewise.
4132 (sin_test_downward): Likewise.
4133 (sin_test_upward): Likewise.
4134 (sincos_test): Likewise.
4135 (sinh_test): Likewise.
4136 (sinh_test_tonearest): Likewise.
4137 (sinh_test_towardzero): Likewise.
4138 (sinh_test_downward): Likewise.
4139 (sinh_test_upward): Likewise.
4140 (sqrt_test): Likewise.
4141 (tan_test): Likewise.
4142 (tan_test_tonearest): Likewise.
4143 (tan_test_towardzero): Likewise.
4144 (tan_test_downward): Likewise.
4145 (tan_test_upward): Likewise.
4146 (tanh_test): Likewise.
4147 (tgamma_test): Likewise.
4148 (trunc_test): Likewise.
4149 (y0_test): Likewise.
4150 (y1_test): Likewise.
4151 (yn_test): Likewise.
4152 (significand_test): Likewise.
4153
bae143d2
OB
41542013-05-24 Ondřej Bílka <neleai@seznam.cz>
4155
4156 [BZ #15381]
4157 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4158
9323d39b
EM
41592013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4160
d4ea44a0 4161 [BZ #14894]
9323d39b
EM
4162 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4163 __ppc_mdoio and __ppc_mdoom.
4164 * manual/platform.texi: Document new functions __ppc_yield,
4165 __ppc_mdoio and __ppc_mdoom.
4166
13e23af7
CD
41672013-05-22 Carlos O'Donell <carlos@redhat.com>
4168
4169 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4170 (main): Mention "tls" pseudo-hwcap is legacy.
4171 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4172
351fe550
JM
41732013-05-22 Joseph Myers <joseph@codesourcery.com>
4174
4175 * math/gen-libm-test.pl (parse_args): Output only string of
4176 arguments as text for test name, not full call or descriptions of
4177 tests for extra outputs.
4178 (generate_testfile): Do not pass function name to parse_args.
4179 Generate this_func variable from START.
4180 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4181 field to arg_str.
4182 (struct test_ff_f_data): Likewise.
4183 (test_ff_f_data_nexttoward): Likewise.
4184 (struct test_fi_f_data): Likewise.
4185 (struct test_fl_f_data): Likewise.
4186 (struct test_if_f_data): Likewise.
4187 (struct test_fff_f_data): Likewise.
4188 (struct test_c_f_data): Likewise.
4189 (struct test_f_f1_data): Likewise. Remove field extra_name.
4190 (struct test_fF_f1_data): Likewise.
4191 (struct test_ffI_f1_data): Likewise.
4192 (struct test_c_c_data): Rename test_name field to arg_str.
4193 (struct test_cc_c_data): Likewise.
4194 (struct test_f_i_data): Likewise.
4195 (struct test_ff_i_data): Likewise.
4196 (struct test_f_l_data): Likewise.
4197 (struct test_f_L_data): Likewise.
4198 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4199 and extra2_name.
4200 (COMMON_TEST_SETUP): New macro.
4201 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4202 (COMMON_TEST_CLEANUP): Likewise.
4203 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4204 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4205 macros.
4206 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4207 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4208 macros.
4209 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4210 (RUN_TEST_fff_f): Take argument string. Call new setup and
4211 cleanup macros.
4212 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4213 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4214 macros.
4215 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4216 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4217 macros.
4218 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4219 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4220 cleanup macros.
4221 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4222 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4223 cleanup macros.
4224 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4225 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4226 cleanup macros.
4227 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4228 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4229 macros.
4230 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4231 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4232 macros.
4233 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4234 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4235 macros.
4236 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4237 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4238 cleanup macros.
4239 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4240 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4241 cleanup macros.
4242 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4243 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4244 macros.
4245 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4246 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4247 cleanup macros.
4248 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4249 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4250 macros.
4251 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4252 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4253 macros.
4254 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4255 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4256 cleanup macros.
4257 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4258
85118d4d
EBM
42592013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4260
4261 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4262 to _sifields.sigfault.
4263 (si_addr_lsb): Define new macro.
4264 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4265 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4266 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4267
7a44c18f
CD
42682013-05-03 Carlos O'Donell <carlos at redhat.com>
4269
4270 [BZ #15441]
4271 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4272 returns -1.
4273 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4274 null return -1.
4275 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4276 loading the domain.
4277
b50a7181
JM
42782013-05-22 Joseph Myers <joseph@codesourcery.com>
4279
4280 * math/gen-libm-test.pl (parse_args): Do not include expected
4281 result in test name.
4282 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4283 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4284 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4285 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4286 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4288
051063c8
SP
42892013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4290
3ce9e010
SP
4291 * benchtests/Makefile: Sort function entries.
4292
051063c8
SP
4293 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4294 tanh, asinh, acosh, atanh.
4295 * benchtests/acos-inputs: New file.
4296 * benchtests/acosh-inputs: New file.
4297 * benchtests/asin-inputs: New file.
4298 * benchtests/asinh-inputs: New file.
4299 * benchtests/atanh-inputs: New file.
4300 * benchtests/cosh-inputs: New file.
4301 * benchtests/log-inputs: New file.
4302 * benchtests/sinh-inputs: New file.
4303 * benchtests/tanh-inputs: New file.
4304
47c22455
DL
43052013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4306
4307 [BZ #15339]
4308 * posix/tst-getaddrinfo4.c: New test.
4309 * posix/Makefile (tests): Add it.
4310
3d04f5db
SP
43112013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4312
4313 [BZ #15339]
4314 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4315 when no services were used.
4316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4317 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4318
d5dd6189
AS
43192013-05-21 Andreas Schwab <schwab@suse.de>
4320
4321 [BZ #15014]
4322 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4323 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4324 successful.
4325 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4326 redundant variable declarations and reallocation of buffer when
4327 parsing as IPv6 address. Always set NSS status when called from
4328 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4329 buffer too small. Correct computation of needed size.
4330 * nss/Makefile (tests): Add test-digits-dots.
4331 * nss/test-digits-dots.c: New test.
4332
fef94eab
SP
43332013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4334
4335 * benchtests/Makefile: Remove instructions for adding
4336 benchmark tests.
4337 * benchtests/README: New file to explain how to execute and
4338 enhance the benchmark tests.
4339
e39adf43
AS
43402013-05-21 Andreas Schwab <schwab@suse.de>
4341
4342 [BZ #15493]
4343 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4344 * setjmp/tst-sigsetjmp.c: New test.
4345
b2b671b6
OB
43462013-05-20 Ondřej Bílka <neleai@seznam.cz>
4347
4348 * sysdeps/x86_64/memset.S (memset): New implementation.
4349 (__bzero): Likewise.
4350 (__memset_tail): New function.
4351
2d48b41c
OB
43522013-05-20 Ondřej Bílka <neleai@seznam.cz>
4353
4354 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4355 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4356 __memcpy_sse2_unaligned ifunc selection.
4357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4358 Add memcpy-sse2-unaligned.S.
4359 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4360 Add: __memcpy_sse2_unaligned.
4361
f16cc3eb
JM
43622013-05-19 Joseph Myers <joseph@codesourcery.com>
4363
3e694268
JM
4364 [BZ #15490]
4365 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4366 math_force_eval before restoring floating-point envrionment.
4367 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4368 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4369 Likewise.
4370 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4371 <math_private.h>.
4372 (__nearbyintl): Use math_force_eval before restoring
4373 floating-point environment.
4374 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4375
db62a907
JM
4376 * math/gen-libm-test.pl (special_functions): Remove.
4377 (parse_args): Don't handle TEST_extra. Handle functions with no
4378 return value.
4379 * math/libm-test.inc (struct test_sincos_data): Replace with
4380 struct test_fFF_11_data.
4381 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4382 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4383 (sincos_test_data): Change element type to struct
4384 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4385 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4386 RUN_TEST_LOOP_sincos.
4387 * math/README.libm-test: Don't mention special handling of
4388 individual functions.
4389 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4390 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4391 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4392 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4393 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4395
f16cc3eb
JM
4396 * math/gen-libm-test.pl (get_variable): Remove function.
4397 (parse_args): Don't show pointer parameters to call in test
4398 names. Use "extra output N" in test names for extra outputs
4399 rather than naming variables.
4400
3779b5b6
JM
44012013-05-18 Joseph Myers <joseph@codesourcery.com>
4402
2ee094ff
JM
4403 [BZ #15488]
4404 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4405 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4406 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4407 double tests.
4408 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4409 disable.
4410 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4411 check_long_double.
4412
3779b5b6
JM
4413 * math/gen-libm-test.pl (@tests): Remove variable.
4414 ($count): Likewise.
4415 (new_test): Remove function.
4416 (show_exceptions): New function.
4417 (special_functions): Use show_exceptions instead of new_test.
4418 (parse_args): Likewise.
4419 (generate_testfile): Pass only function name in generated call to
4420 print_max_error or print_complex_max_error.
4421 (get_ulps): Do not handle complex tests specially.
4422 (output_test): Rename to ...
4423 (get_all_ulps_for_test): ... this. Return a string rather than
4424 printing to a file. Require ulps to be present.
4425 (output_ulps): Generate arrays rather than #defines.
4426 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4427 (struct ulp_data): New type.
4428 (BUILD_COMPLEX_ULP): Remove macro.
4429 (compare_ulp_data): New function.
4430 (find_ulps): Likewise.
4431 (find_test_ulps): Likewise.
4432 (find_function_ulps): Likewise.
4433 (find_complex_function_ulps): Likewise.
4434 (print_max_error): Determine allowed ulps using
4435 find_function_ulps.
4436 (print_complex_max_error): Determine allowed ulps using
4437 find_complex_function_ulps.
4438 (check_float_internal): Determine max ulps using find_test_ulps.
4439 (check_float): Do not take max_ulp parameter. Update call to
4440 check_float_internal.
4441 (check_complex): Likewise.
4442 (check_int): Do not take max_ulp parameter.
4443 (check_long): Likewise.
4444 (check_bool): Likewise.
4445 (check_longlong): Likewise.
4446 (struct test_f_f_data): Remove max_ulp field.
4447 (struct test_ff_f_data): Likewise.
4448 (struct test_ff_f_data_nexttoward): Likewise.
4449 (struct test_fi_f_data): Likewise.
4450 (struct test_fl_f_data): Likewise.
4451 (struct test_if_f_data): Likewise.
4452 (struct test_fff_f_data): Likewise.
4453 (struct test_c_f_data): Likewise.
4454 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4455 (struct test_fF_f1_data): Likewise.
4456 (struct test_ffI_f1_data): Likewise.
4457 (struct test_c_c_data): Remove max_ulp field.
4458 (struct test_cc_c_data): Likewise.
4459 (struct test_f_i_data): Likewise.
4460 (struct test_ff_i_data): Likewise.
4461 (struct test_f_l_data): Likewise.
4462 (struct test_f_L_data): Likewise.
4463 (struct test_sincos_data): Likewise.
4464 (RUN_TEST_f_f): Do not handle ulps.
4465 (RUN_TEST_LOOP_f_f): Likewise.
4466 (RUN_TEST_2_f): Likewise.
4467 (RUN_TEST_LOOP_2_f): Likewise.
4468 (RUN_TEST_fff_f): Likewise.
4469 (RUN_TEST_LOOP_fff_f): Likewise.
4470 (RUN_TEST_c_f): Likewise.
4471 (RUN_TEST_LOOP_c_f): Likewise.
4472 (RUN_TEST_f_f1): Likewise.
4473 (RUN_TEST_LOOP_f_f1): Likewise.
4474 (RUN_TEST_fF_f1): Likewise.
4475 (RUN_TEST_LOOP_fF_f1): Likewise.
4476 (RUN_TEST_fI_f1): Likewise.
4477 (RUN_TEST_LOOP_fI_f1): Likewise.
4478 (RUN_TEST_ffI_f1): Likewise.
4479 (RUN_TEST_LOOP_ffI_f1): Likewise.
4480 (RUN_TEST_c_c): Likewise.
4481 (RUN_TEST_LOOP_c_c): Likewise.
4482 (RUN_TEST_cc_c): Likewise.
4483 (RUN_TEST_LOOP_cc_c): Likewise.
4484 (RUN_TEST_f_i): Likewise.
4485 (RUN_TEST_LOOP_f_i): Likewise.
4486 (RUN_TEST_f_i_tg): Likewise.
4487 (RUN_TEST_LOOP_f_i_tg): Likewise.
4488 (RUN_TEST_ff_i_tg): Likewise.
4489 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4490 (RUN_TEST_f_b): Likewise.
4491 (RUN_TEST_LOOP_f_b): Likewise.
4492 (RUN_TEST_f_b_tg): Likewise.
4493 (RUN_TEST_LOOP_f_b_tg): Likewise.
4494 (RUN_TEST_f_l): Likewise.
4495 (RUN_TEST_LOOP_f_l): Likewise.
4496 (RUN_TEST_f_L): Likewise.
4497 (RUN_TEST_LOOP_f_L): Likewise.
4498 (RUN_TEST_sincos): Likewise.
4499 (RUN_TEST_LOOP_sincos): Likewise.
4500
8269107f
JM
45012013-05-17 Joseph Myers <joseph@codesourcery.com>
4502
bb38759d
JM
4503 [BZ #15480]
4504 [BZ #15485]
4505 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4506 main case of finite arguments, set rounding mode to FE_TONEAREST
4507 and discard exceptions.
4508 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4509 exceptions.
4510 (remainder_tonearest_test_data): New variable.
4511 (remainder_test_tonearest): New function.
4512 (remainder_towardzero_test_data): New variable.
4513 (remainder_test_towardzero): New function.
4514 (remainder_downward_test_data): New variable.
4515 (remainder_test_downward): New function.
4516 (remainder_upward_test_data): New variable.
4517 (remainder_test_upward): New function.
4518 (main): Call the new test functions.
4519
a00bdcf0
JM
4520 * math/libm-test.inc (struct test_f_f1_data): Remove field
4521 extra_init.
4522 (struct test_fF_f1_data): Likewise.
4523 (struct test_ffI_f1_data): Likewise.
4524 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4525 based on value of EXTRA_EXPECTED.
4526 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4527 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4528 EXTRA_VAR based on value of EXTRA_EXPECTED.
4529 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4530 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4531 EXTRA_VAR based on value of EXTRA_EXPECTED.
4532 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4533 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4534 EXTRA_VAR based on value of EXTRA_EXPECTED.
4535 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4536 * math/gen-libm-test.pl (parse_args): Don't output initializers
4537 for extra output values.
4538
de407f79
JM
4539 * math/libm-test.inc (check_int): Expect result to be exactly
4540 equal to expected value and do not handle ulps.
4541 (check_long): Likewise.
4542 (check_longlong): Likewise.
4543
8269107f
JM
4544 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4545 exceptions.
4546 (cimag_test_data): Likewise.
4547 (conj_test_data): Likewise.
4548 (copysign_test_data): Likewise.
4549 (cproj_test_data): Likewise.
4550 (creal_test_data): Likewise.
4551 (fabs_test_data): Likewise.
4552 (fdim_test_data): Likewise.
4553 (finite_test_data): Likewise.
4554 (floor_test_data): Likewise.
4555 (fmax_test_data): Likewise.
4556 (fmin_test_data): Likewise.
4557 (fmod_test_data): Likewise.
4558 (fpclassify_test_data): Likewise.
4559 (frexp_test_data): Likewise.
4560 (ilogb_test_data): Likewise.
4561 (isfinite_test_data): Likewise.
4562 (isgreater_test_data): Likewise.
4563 (isgreaterequal_test_data): Likewise.
4564 (isinf_test_data): Likewise.
4565 (isless_test_data): Likewise.
4566 (islessequal_test_data): Likewise.
4567 (islessgreater_test_data): Likewise.
4568 (isnan_test_data): Likewise.
4569 (isnormal_test_data): Likewise.
4570 (issignaling_test_data): Likewise.
4571 (isunordered_test_data): Likewise.
4572 (ldexp_test_data): Likewise.
4573 (lrint_test_data): Likewise.
4574 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4575 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4576 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4577 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4578 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4579 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4580 test input.
4581 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4582 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4583 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4584 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4585 that test input.
4586 (lrint_downward_test_data): Test for "inexact" exceptions.
4587 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4588 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4589 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4590 test input.
4591 (lrint_upward_test_data): Test for "inexact" exceptions.
4592 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4593 test input.
4594 (llrint_test_data): Test for "inexact" exceptions.
4595 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4596 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4597 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4598 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4599 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4600 (llrint_downward_test_data): Test for "inexact" exceptions.
4601 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4602 (llrint_upward_test_data): Test for "inexact" exceptions.
4603 (logb_test_data): Likewise.
4604 (logb_downward_test_data): Likewise.
4605 (nextafter_test_data): Likewise.
4606 (nexttoward_test_data): Likewise.
4607 (remainder_test_data): Likewise.
4608 (remquo_test_data): Likewise.
4609 (scalbn_test_data): Likewise.
4610 (scalbln_test_data): Likewise.
4611 (signbit_test_data): Likewise.
4612 (sqrt_test_data): Likewise.
4613 (significand_test_data): Likewise.
4614
48a18de1
SP
46152013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4616
4617 [BZ #15424]
4618 * benchtests/bench-modf.c (struct args): Mark arg0 as
4619 volatile.
4620 * scripts/bench.pl: Mark members of struct args as volatile.
4621
13d3b41a
AZ
46222013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4623
68191c1d 4624 [BZ # 15497]
13d3b41a
AZ
4625 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4626 negative infinity on POWER6 or lower.
4627 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4628
2848b105
MR
46292013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4630
4631 [BZ #15442]
4632 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4633 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4634 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4635 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4636 (_FP_SETQNAN): New macro.
4637 (_FP_SETQNAN_SEMIRAW): Likewise.
4638 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4639 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4640 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4641 (FP_EXTEND): Use _FP_FRAC_SNANP.
4642 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4643 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4644 into account.
4645 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4646 New macro.
4647 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4648 Likewise.
4649
323e5cb7
JM
46502013-05-16 Joseph Myers <joseph@codesourcery.com>
4651
c58b274f
JM
4652 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4653 with DIVIDE_BY_ZERO_EXCEPTION.
4654 (gamma_test_data): Likewise.
4655 (lgamma_test_data): Likewise.
4656 (log_test_data): Likewise.
4657 (log10_test_data): Likewise.
4658 (log2_test_data): Likewise.
4659 (tgamma_test_data): Likewise.
4660
0ab34904
JM
4661 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4662 (acos_test_tonearest): Likewise.
4663 (acos_test_towardzero): Likewise.
4664 (acos_test_downward): Likewise.
4665 (acos_test_upward): Likewise.
4666 (acosh_test): Likewise.
4667 (asin_test): Likewise.
4668 (asin_test_tonearest): Likewise.
4669 (asin_test_towardzero): Likewise.
4670 (asin_test_downward): Likewise.
4671 (asin_test_upward): Likewise.
4672 (asinh_test): Likewise.
4673 (atan_test): Likewise.
4674 (atanh_test): Likewise.
4675 (atan2_test): Likewise.
4676 (cabs_test): Likewise.
4677 (cacos_test): Likewise.
4678 (cacosh_test): Likewise.
4679 (casin_test): Likewise.
4680 (casinh_test): Likewise.
4681 (catan_test): Likewise.
4682 (catanh_test): Likewise.
4683 (cbrt_test): Likewise.
4684 (ccos_test): Likewise.
4685 (ccosh_test): Likewise.
4686 (cexp_test): Likewise.
4687 (clog_test): Likewise.
4688 (clog10_test): Likewise.
4689 (cos_test): Likewise.
4690 (cos_test_tonearest): Likewise.
4691 (cos_test_towardzero): Likewise.
4692 (cos_test_downward): Likewise.
4693 (cos_test_upward): Likewise.
4694 (cosh_test): Likewise.
4695 (cosh_test_tonearest): Likewise.
4696 (cosh_test_towardzero): Likewise.
4697 (cosh_test_downward): Likewise.
4698 (cosh_test_upward): Likewise.
4699 (cpow_test): Likewise.
4700 (csin_test): Likewise.
4701 (csinh_test): Likewise.
4702 (csqrt_test): Likewise.
4703 (ctan_test): Likewise.
4704 (ctan_test_tonearest): Likewise.
4705 (ctan_test_towardzero): Likewise.
4706 (ctan_test_downward): Likewise.
4707 (ctan_test_upward): Likewise.
4708 (ctanh_test): Likewise.
4709 (ctanh_test_tonearest): Likewise.
4710 (ctanh_test_towardzero): Likewise.
4711 (ctanh_test_downward): Likewise.
4712 (ctanh_test_upward): Likewise.
4713 (erf_test): Likewise.
4714 (erfc_test): Likewise.
4715 (exp_test): Likewise.
4716 (exp_test_tonearest): Likewise.
4717 (exp_test_towardzero): Likewise.
4718 (exp_test_downward): Likewise.
4719 (exp_test_upward): Likewise.
4720 (exp10_test): Likewise.
4721 (exp2_test): Likewise.
4722 (expm1_test): Likewise.
4723 (fmod_test): Likewise.
4724 (gamma_test): Likewise.
4725 (hypot_test): Likewise.
4726 (j0_test): Likewise.
4727 (j1_test): Likewise.
4728 (jn_test): Likewise.
4729 (lgamma_test): Likewise.
4730 (log_test): Likewise.
4731 (log10_test): Likewise.
4732 (log1p_test): Likewise.
4733 (log2_test): Likewise.
4734 (logb_test_downward): Likewise.
4735 (pow_test): Likewise.
4736 (pow_test_tonearest): Likewise.
4737 (pow_test_towardzero): Likewise.
4738 (pow_test_downward): Likewise.
4739 (pow_test_upward): Likewise.
4740 (remainder_test): Likewise.
4741 (remquo_test): Likewise.
4742 (sin_test): Likewise.
4743 (sin_test_tonearest): Likewise.
4744 (sin_test_towardzero): Likewise.
4745 (sin_test_downward): Likewise.
4746 (sin_test_upward): Likewise.
4747 (sincos_test): Likewise.
4748 (sinh_test): Likewise.
4749 (sinh_test_tonearest): Likewise.
4750 (sinh_test_towardzero): Likewise.
4751 (sinh_test_downward): Likewise.
4752 (sinh_test_upward): Likewise.
4753 (sqrt_test): Likewise.
4754 (tan_test): Likewise.
4755 (tan_test_tonearest): Likewise.
4756 (tan_test_towardzero): Likewise.
4757 (tan_test_downward): Likewise.
4758 (tan_test_upward): Likewise.
4759 (tanh_test): Likewise.
4760 (tgamma_test): Likewise.
4761 (y0_test): Likewise.
4762 (y1_test): Likewise.
4763 (yn_test): Likewise.
4764
323e5cb7
JM
4765 * math/gen-libm-test.pl (adjust_arg): Remove function.
4766 (special_function): Remove argument $in_func. Only handle
4767 generating output for tables of tests, not inside functions.
4768 (parse_args): Likewise.
4769 (generate_testfile): Remove variable $in_func. Update call to
4770 parse_args.
4771 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4772 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4773 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4774 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4775 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4776 (MAX_VALUE_INIT): Rename macro to max_value.
4777 (MIN_VALUE_INIT): Rename macro to min_value.
4778 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4779 (plus_zero): Remove variable.
4780 (minus_zero): Likewise.
4781 (plus_infty): Likewise.
4782 (minus_infty): Likewise.
4783 (qnan_value): Likewise.
4784 (max_value): Likewise.
4785 (min_value): Likewise.
4786 (min_subnorm_value): Likewise.
4787
e054f494
RA
47882013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4789
4790 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4791 uint64_t or uint32_t usage.
4792 * crypt/sha256-block.c: Likewise.
4793 * crypt/sha256-crypt.c: Likewise.
4794 * crypt/sha256.c: Likewise.
4795 * crypt/sha512-block.c: Likewise.
4796 * crypt/sha512-crypt.c: Likewise.
4797 * crypt/sha512.c: Likewise.
4798 * debug/backtrace-tst.c: Likewise.
4799 * debug/pcprofiledump.c: Likewise.
4800 * elf/cache.c: Likewise.
4801 * elf/dl-cache.c: Likewise.
4802 * elf/dl-misc.c: Likewise.
4803 * elf/dl-profile.c: Likewise.
4804 * elf/dl-support.c: Likewise.
4805 * elf/ldconfig.c: Likewise.
4806 * elf/sprof.c: Likewise.
4807 * iconv/dummy-repertoire.c: Likewise.
4808 * iconv/iconv_charmap.c: Likewise.
4809 * iconv/skeleton.c: Likewise.
4810 * iconvdata/8bit-generic.c: Likewise.
4811 * iconvdata/cp737.h: Likewise.
4812 * iconvdata/cp775.h: Likewise.
4813 * iconvdata/ibm1008.h: Likewise.
4814 * iconvdata/ibm1025.h: Likewise.
4815 * iconvdata/ibm1046.h: Likewise.
4816 * iconvdata/ibm1097.h: Likewise.
4817 * iconvdata/ibm1112.h: Likewise.
4818 * iconvdata/ibm1122.h: Likewise.
4819 * iconvdata/ibm1123.h: Likewise.
4820 * iconvdata/ibm1124.h: Likewise.
4821 * iconvdata/ibm1129.h: Likewise.
4822 * iconvdata/ibm1130.h: Likewise.
4823 * iconvdata/ibm1132.h: Likewise.
4824 * iconvdata/ibm1133.h: Likewise.
4825 * iconvdata/ibm1137.h: Likewise.
4826 * iconvdata/ibm1140.h: Likewise.
4827 * iconvdata/ibm1141.h: Likewise.
4828 * iconvdata/ibm1142.h: Likewise.
4829 * iconvdata/ibm1143.h: Likewise.
4830 * iconvdata/ibm1144.h: Likewise.
4831 * iconvdata/ibm1145.h: Likewise.
4832 * iconvdata/ibm1146.h: Likewise.
4833 * iconvdata/ibm1147.h: Likewise.
4834 * iconvdata/ibm1148.h: Likewise.
4835 * iconvdata/ibm1149.h: Likewise.
4836 * iconvdata/ibm1153.h: Likewise.
4837 * iconvdata/ibm1154.h: Likewise.
4838 * iconvdata/ibm1155.h: Likewise.
4839 * iconvdata/ibm1156.h: Likewise.
4840 * iconvdata/ibm1157.h: Likewise.
4841 * iconvdata/ibm1158.h: Likewise.
4842 * iconvdata/ibm1160.h: Likewise.
4843 * iconvdata/ibm1161.h: Likewise.
4844 * iconvdata/ibm1162.h: Likewise.
4845 * iconvdata/ibm1163.h: Likewise.
4846 * iconvdata/ibm1164.h: Likewise.
4847 * iconvdata/ibm1166.h: Likewise.
4848 * iconvdata/ibm1167.h: Likewise.
4849 * iconvdata/ibm12712.h: Likewise.
4850 * iconvdata/ibm1390.h: Likewise.
4851 * iconvdata/ibm1399.h: Likewise.
4852 * iconvdata/ibm16804.h: Likewise.
4853 * iconvdata/ibm4517.h: Likewise.
4854 * iconvdata/ibm4899.h: Likewise.
4855 * iconvdata/ibm4909.h: Likewise.
4856 * iconvdata/ibm4971.h: Likewise.
4857 * iconvdata/ibm5347.h: Likewise.
4858 * iconvdata/ibm803.h: Likewise.
4859 * iconvdata/ibm856.h: Likewise.
4860 * iconvdata/ibm901.h: Likewise.
4861 * iconvdata/ibm902.h: Likewise.
4862 * iconvdata/ibm9030.h: Likewise.
4863 * iconvdata/ibm9066.h: Likewise.
4864 * iconvdata/ibm921.h: Likewise.
4865 * iconvdata/ibm922.h: Likewise.
4866 * iconvdata/ibm9448.h: Likewise.
4867 * iconvdata/isiri-3342.h: Likewise.
4868 * iconvdata/jis0201.h: Likewise.
4869 * include/link.h: Likewise.
4870 * include/netdb.h: Likewise.
4871 * inet/check_native.c: Likewise.
4872 * inet/check_pf.c: Likewise.
4873 * inet/getipv4sourcefilter.c: Likewise.
4874 * inet/getnameinfo.c: Likewise.
4875 * inet/getsourcefilter.c: Likewise.
4876 * inet/htonl.c: Likewise.
4877 * inet/setipv4sourcefilter.c: Likewise.
4878 * inet/setsourcefilter.c: Likewise.
4879 * inet/test-inet6_opt.c: Likewise.
4880 * inet/tst-network.c: Likewise.
4881 * locale/C-collate.c: Likewise.
4882 * locale/C-ctype.c: Likewise.
4883 * locale/C-time.c: Likewise.
4884 * locale/C-translit.h: Likewise.
4885 * locale/loadarchive.c: Likewise.
4886 * locale/programs/3level.h: Likewise.
4887 * locale/programs/charmap.c: Likewise.
4888 * locale/programs/charmap.h: Likewise.
4889 * locale/programs/ld-address.c: Likewise.
4890 * locale/programs/ld-collate.c: Likewise.
4891 * locale/programs/ld-ctype.c: Likewise.
4892 * locale/programs/ld-identification.c: Likewise.
4893 * locale/programs/ld-measurement.c: Likewise.
4894 * locale/programs/ld-messages.c: Likewise.
4895 * locale/programs/ld-monetary.c: Likewise.
4896 * locale/programs/ld-name.c: Likewise.
4897 * locale/programs/ld-numeric.c: Likewise.
4898 * locale/programs/ld-paper.c: Likewise.
4899 * locale/programs/ld-telephone.c: Likewise.
4900 * locale/programs/ld-time.c: Likewise.
4901 * locale/programs/linereader.c: Likewise.
4902 * locale/programs/locale.c: Likewise.
4903 * locale/programs/locarchive.c: Likewise.
4904 * locale/programs/locfile.h: Likewise.
4905 * locale/programs/repertoire.c: Likewise.
4906 * locale/programs/simple-hash.c: Likewise.
4907 * locale/programs/simple-hash.h: Likewise.
4908 * malloc/memusage.c: Likewise.
4909 * malloc/memusagestat.c: Likewise.
4910 * nis/nis_defaults.c: Likewise.
4911 * nis/nis_hash.c: Likewise.
4912 * nis/nis_print.c: Likewise.
4913 * nis/nis_xdr.c: Likewise.
4914 * nscd/connections.c: Likewise.
4915 * nscd/hstcache.c: Likewise.
4916 * nscd/nscd_gethst_r.c: Likewise.
4917 * nscd/nscd_getserv_r.c: Likewise.
4918 * nscd/nscd_helper.c: Likewise.
4919 * nscd/servicescache.c: Likewise.
4920 * nss/makedb.c: Likewise.
4921 * nss/nss_db/db-XXX.c: Likewise.
4922 * nss/nss_db/db-initgroups.c: Likewise.
4923 * nss/nss_db/db-netgrp.c: Likewise.
4924 * nss/nss_files/files-network.c: Likewise.
4925 * nss/nss_files/files-parse.c: Likewise.
4926 * posix/bug-regex5.c: Likewise.
4927 * posix/fnmatch_loop.c: Likewise.
4928 * posix/regcomp.c: Likewise.
4929 * posix/regexec.c: Likewise.
4930 * posix/tst-rfc3484-2.c: Likewise.
4931 * posix/tst-rfc3484-3.c: Likewise.
4932 * posix/tst-rfc3484.c: Likewise.
4933 * resolv/nss_dns/dns-canon.c: Likewise.
4934 * resolv/nss_dns/dns-network.c: Likewise.
4935 * resolv/res_init.c: Likewise.
4936 * resolv/res_mkquery.c: Likewise.
4937 * resolv/tst-aton.c: Likewise.
4938 * stdlib/cxa_atexit.c: Likewise.
4939 * stdlib/cxa_finalize.c: Likewise.
4940 * stdlib/gen-fpioconst.c: Likewise.
4941 * stdlib/strtol_l.c: Likewise.
4942 * string/tst-endian.c: Likewise.
4943 * sunrpc/auth_des.c: Likewise.
4944 * sunrpc/clnt_udp.c: Likewise.
4945 * sunrpc/rtime.c: Likewise.
4946 * sunrpc/svcauth_des.c: Likewise.
4947 * sunrpc/xdr.c: Likewise.
4948 * sunrpc/xdr_intXX_t.c: Likewise.
4949 * sunrpc/xdr_rec.c: Likewise.
4950 * sysdeps/generic/ldconfig.h: Likewise.
4951 * sysdeps/generic/ldsodefs.h: Likewise.
4952 * sysdeps/generic/memusage.h: Likewise.
4953 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4954 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4955 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4956 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4958 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4959 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4960 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4962 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4963 * sysdeps/posix/getaddrinfo.c: Likewise.
4964 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4965 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4966 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4967 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4968 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4969 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4970 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4971 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4972 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4973 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4974 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4975 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4976 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4977 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4978 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4979 * sysdeps/x86_64/dl-tls.h: Likewise.
4980 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4981 * time/alt_digit.c: Likewise.
4982 * time/era.c: Likewise.
4983 * wcsmbs/tst-c16c32-1.c: Likewise.
4984
8c75f674
JM
49852013-05-16 Joseph Myers <joseph@codesourcery.com>
4986
4987 * math/libm-test.inc (struct test_sincos_data): New type.
4988 (RUN_TEST_LOOP_sincos): New macro.
4989 (sincos_test_data): New variable.
4990 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4991
e6e49e59
RH
49922013-05-16 Richard Henderson <rth@redhat.com>
4993
4994 * math/atest-exp2.c (LIMB64): New macro.
4995 (CONSTSZ): New macro.
4996 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4997 (hexdig): Move ...
4998 (print_mpn_fp): ... to function scope.
4999 (read_mpn_hex): Remove.
5000 (get_log2): Remove.
5001 (exp2_mpn): Use mp_log2.
5002 (main): Use mp_exp1.
5003
15c7c18d
JM
50042013-05-16 Joseph Myers <joseph@codesourcery.com>
5005
105a07df
JM
5006 * math/libm-test.inc: Remove comment about not testing "inexact"
5007 exceptions.
5008 (INEXACT_EXCEPTION): New macro.
5009 (NO_INEXACT_EXCEPTION): Likewise.
5010 (INVALID_EXCEPTION_OK): Update value.
5011 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5012 (OVERFLOW_EXCEPTION_OK): Likewise.
5013 (UNDERFLOW_EXCEPTION_OK): Likewise.
5014 (IGNORE_ZERO_INF_SIGN): Likewise.
5015 (ERRNO_UNCHANGED): Likewise.
5016 (ERRNO_EDOM): Likewise.
5017 (ERRNO_ERANGE): Likewise.
5018 (test_exceptions): Handle testing "inexact" exceptions.
5019 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5020 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5021 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5022 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5023 INEXACT_EXCEPTION.
5024 (rint_towardzero_test_data): Likewise.
5025 (rint_downward_test_data): Likewise.
5026 (rint_upward_test_data): Likewise.
5027
e9eee333
JM
5028 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5029 with OVERFLOW_EXCEPTION.
5030 (exp10_test_data): Likewise.
5031 (exp2_test_data): Likewise.
5032 (expm1_test_data): Likewise.
5033 (lgamma_test_data): Likewise.
5034 (pow_test_data): Likewise.
5035 (tgamma_test_data): Likewise.
5036 (yn_test_data): Remove duplicate test of overflow.
5037
1c38ff73
JM
5038 * math/libm-test.inc (struct test_cc_c_data): New type.
5039 (RUN_TEST_LOOP_cc_c): New macro.
5040 (cpow_test_data): New variable.
5041 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5042
15c7c18d
JM
5043 * math/libm-test.inc (struct test_f_L_data): New type.
5044 (RUN_TEST_LOOP_f_L): New macro.
5045 (llrint_test_data): New variable.
5046 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5047 (llrint_tonearest_test_data): New variable.
5048 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5049 (llrint_towardzero_test_data): New variable.
5050 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5051 (llrint_downward_test_data): New variable.
5052 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5053 (llrint_upward_test_data): New variable.
5054 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5055 (llround_test_data): New variable.
5056 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5057
f137ff13
PC
50582013-05-13 Peter Collingbourne <pcc@google.com>
5059
5060 * math/atest-exp2.c (get_log2): Remove const attribute.
5061
3608cb24
JM
50622013-05-15 Joseph Myers <joseph@codesourcery.com>
5063
5064 * math/libm-test.inc (struct test_f_l_data): New type.
5065 (RUN_TEST_LOOP_f_l): New macro.
5066 (lrint_test_data): New variable.
5067 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5068 (lrint_tonearest_test_data): New variable.
5069 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5070 (lrint_towardzero_test_data): New variable.
5071 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5072 (lrint_downward_test_data): New variable.
5073 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5074 (lrint_upward_test_data): New variable.
5075 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5076 (lround_test_data): New variable.
5077 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5078
39b1f617
PC
50792013-05-15 Peter Collingbourne <pcc@google.com>
5080
1deff3dc
PC
5081 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5082 (EXTRACT_WORDS64) Use where appropriate.
5083 (INSERT_WORDS64) Likewise.
5084
791f3ba0
PC
5085 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5086 constraints with x constraints.
5087 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5088
39b1f617
PC
5089 * malloc/obstack.c (_obstack_compat): Add initializer.
5090
12fba011
EM
50912013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5092
5093 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5094 si_trapno and add si_addr_lsb to _sifields.sigfault.
5095 (si_trapno): Remove macro.
5096 (si_addr_lsb): Define new macro.
5097 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5098
d369f531
JM
50992013-05-15 Joseph Myers <joseph@codesourcery.com>
5100
b861c6c4
JM
5101 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5102 instead of TEST_f_l.
5103 (llrint_test_tonearest): Likewise.
5104 (llrint_test_towardzero): Likewise.
5105 (llrint_test_downward): Likewise.
5106 (llrint_test_upward): Likewise.
5107 (llround_test): Likewise.
5108
7abeee12
JM
5109 * math/libm-test.inc (struct test_f_i_data): Add comment.
5110 (RUN_TEST_LOOP_f_b): New macro.
5111 (RUN_TEST_LOOP_f_b_tg): Likewise.
5112 (finite_test_data): New variable.
5113 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5114 (isfinite_test_data): New variable.
5115 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5116 (isinf_test_data): New variable.
5117 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5118 (isnan_test_data): New variable.
5119 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5120 (isnormal_test_data): New variable.
5121 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5122 (issignaling_test_data): New variable.
5123 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5124 (signbit_test_data): New variable.
5125 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5126
cbe8c4d3
JM
5127 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5128 with INVALID_EXCEPTION.
5129 (acosh_test_data): Likewise.
5130 (asin_test_data): Likewise.
5131 (atanh_test_data): Likewise.
5132 (fmod_test_data): Likewise.
5133 (log_test_data): Likewise.
5134 (log10_test_data): Likewise.
5135 (log2_test_data): Likewise.
5136 (pow_test_data): Likewise.
5137 (sqrt_test_data): Likewise.
5138 (y0_test_data): Likewise.
5139 (y1_test_data): Likewise.
5140 (yn_test_data): Likewise.
5141
5575c0e5
JM
5142 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5143 function contents.
5144
d369f531
JM
5145 * math/libm-test.inc (struct test_ff_i_data): New type.
5146 (RUN_TEST_LOOP_ff_i_tg): New macro.
5147 (isgreater_test_data): New variable.
5148 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5149 (isgreaterequal_test_data): New variable.
5150 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5151 (isless_test_data): New variable.
5152 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5153 (islessequal_test_data): New variable.
5154 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5155 (islessgreater_test_data): New variable.
5156 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5157 (isunordered_test_data): New variable.
5158 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5159
781fd748
DM
51602013-05-14 David S. Miller <davem@davemloft.net>
5161
5162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5163
87aa21df
JM
51642013-05-14 Joseph Myers <joseph@codesourcery.com>
5165
5e908270
JM
5166 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5167
f71172e5
JM
5168 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5169 extra_test to int.
5170 (struct test_f_i_data): Change type of max_ulp to int.
5171
8cfa635a
JM
5172 * math/libm-test.inc (test_ffI_f1_data): New type.
5173 (RUN_TEST_LOOP_ffI_f1): New macro.
5174 (remquo_test_data): New variable.
5175 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5176
2bcb36b2
JM
5177 * setjmp/tst-setjmp-fp.c: New file.
5178 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5179 (link-libm): New variable.
5180 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5181
acbd839a
JM
5182 * math/libm-test.inc (struct test_f_i_data): New type.
5183 (RUN_TEST_LOOP_f_i): New macro.
5184 (RUN_TEST_LOOP_f_i_tg): Likewise.
5185 (fpclassify_test_data): New variable.
5186 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5187 (ilogb_test_data): New variable.
5188 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5189
e414d745
JM
5190 * math/libm-test.inc (scalbln_test): Correct function name in END
5191 call.
5192
d9c2a0fd
JM
5193 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5194 (RUN_TEST_LOOP_fI_f1): New macro.
5195 (frexp_test_data): New variable.
5196 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5197
9dc9095d
JM
5198 * math/libm-test.inc (struct test_fF_f1_data): New type.
5199 (RUN_TEST_LOOP_fF_f1): New macro.
5200 (modf_test_data): New variable.
5201 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5202
87aa21df
JM
5203 * math/libm-test.inc (struct test_f_f1_data): New type.
5204 (RUN_TEST_LOOP_f_f1): New macro.
5205 (gamma_test_data): New variable.
5206 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5207 (lgamma_test_data): New variable.
5208 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5209
141af660
CD
52102013-05-13 Carlos O'Donell <carlos@redhat.com>
5211
5212 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5213 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5214 (main): Comment "tls" pseudo-hwcap.
5215
6d33265c
JM
52162013-05-13 Joseph Myers <joseph@codesourcery.com>
5217
68fc074c
JM
5218 * math/libm-test.inc (struct test_fl_f_data): New type.
5219 (RUN_TEST_LOOP_fl_f): New variable.
5220 (scalbln_test_data): New variable.
5221 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5222
243216e1
JM
5223 * math/libm-test.inc (struct test_fi_f_data): New type.
5224 (RUN_TEST_LOOP_fi_f): New macro.
5225 (ldexp_test_data): New variable.
5226 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5227 (scalbn_test_data): New variable.
5228 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5229
6a1992e2
JM
5230 * math/libm-test.inc (struct test_c_f_data): New type.
5231 (RUN_TEST_LOOP_c_f): New macro.
5232 (cabs_test_data): New variable.
5233 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5234 (carg_test_data): New variable.
5235 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5236 (cimag_test_data): New variable.
5237 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5238 (creal_test_data): New variable.
5239 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5240
0e400df5
JM
5241 * math/libm-test.inc (struct test_if_f_data): New type.
5242 (RUN_TEST_LOOP_if_f): New macro.
5243 (jn_test_data): New variable.
5244 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5245 (yn_test_data): New variable.
5246 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5247
6d33265c
JM
5248 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5249
f98ece5f
AZ
52502013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5251
5252 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5253 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5254
0f7d347b
SP
52552013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5256
43fe811b
SP
5257 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5258 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5259 (bench-deps): Add bench-timing.h.
5260 * benchtests-bench-skeleton.c: Include bench-timing.h.
5261 (main): Use TIMING_* macros instead of clock_gettime.
5262 * benchtests/bench-timing.h: New file.
5263
0f7d347b
SP
5264 [BZ #14582]
5265 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5266 Renamed from _LIB_VERSION.
5267 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5268
601a3a5f
JM
52692013-05-12 Joseph Myers <joseph@codesourcery.com>
5270
4f184d30
JM
5271 * math/libm-test.inc (struct test_fff_f_data): New type.
5272 (RUN_TEST_LOOP_fff_f): New macro.
5273 (fma_test_data): New variable.
5274 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5275 (fma_towardzero_test_data): New variable.
5276 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5277 (fma_downward_test_data): New variable.
5278 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5279 (fma_upward_test_data): New variable.
5280 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5281
08198877
JM
5282 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5283 (struct test_c_c_data): New type.
5284 (RUN_TEST_LOOP_c_c): New macro.
5285 (cacos_test_data): New variable.
5286 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5287 (cacosh_test_data): New variable.
5288 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5289 (casin_test_data): New variable.
5290 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5291 (casinh_test_data): New variable.
5292 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5293 (catan_test_data): New variable.
5294 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5295 (catanh_test_data): New variable.
5296 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5297 (ccos_test_data): New variable.
5298 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5299 (ccosh_test_data): New variable.
5300 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5301 (cexp_test_data): New variable.
5302 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5303 (clog_test_data): New variable.
5304 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5305 (clog10_test_data): New variable.
5306 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5307 (conj_test_data): New variable.
5308 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5309 (cproj_test_data): New variable.
5310 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5311 (csin_test_data): New variable.
5312 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5313 (csinh_test_data): New variable.
5314 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5315 (csqrt_test_data): New variable.
5316 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5317 (ctan_test_data): New variable.
5318 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5319 (ctan_tonearest_test_data): New variable.
5320 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5321 (ctan_towardzero_test_data): New variable.
5322 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5323 (ctan_downward_test_data): New variable.
5324 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5325 (ctan_upward_test_data): New variable.
5326 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5327 (ctanh_test_data): New variable.
5328 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5329 (ctanh_tonearest_test_data): New variable.
5330 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5331 (ctanh_towardzero_test_data): New variable.
5332 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5333 (ctanh_downward_test_data): New variable.
5334 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5335 (ctanh_upward_test_data): New variable.
5336 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5337 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5338 of BUILD_COMPLEX.
5339
601a3a5f
JM
5340 * math/libm-test.inc (struct test_ff_f_data): New type.
5341 (struct test_ff_f_data_nexttoward): Likewise.
5342 (RUN_TEST_LOOP_2_f): New macro.
5343 (RUN_TEST_LOOP_ff_f): Likewise.
5344 (atan2_test_data): New variable.
5345 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5346 (copysign_test_data): New variable.
5347 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5348 (fdim_test_data): New variable.
5349 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5350 (fmax_test_data): New variable.
5351 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5352 (fmin_test_data): New variable.
5353 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5354 (fmod_test_data): New variable.
5355 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5356 (hypot_test_data): New variable.
5357 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5358 (nextafter_test_data): New variable.
5359 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5360 (nexttoward_test_data): New variable.
5361 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5362 (pow_test_data): New variable.
5363 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5364 (pow_tonearest_test_data): New variable.
5365 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5366 (pow_towardzero_test_data): New variable.
5367 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5368 (pow_downward_test_data): New variable.
5369 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5370 (pow_upward_test_data): New variable.
5371 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5372 (remainder_test_data): New variable.
5373 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5374 (scalb_test_data): New variable.
5375 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5376 * sysdeps/i386/fpu/libm-test-ulps: Update.
5377
74c57478
JM
53782013-05-11 Joseph Myers <joseph@codesourcery.com>
5379
8329e4da
JM
5380 * math/libm-test.inc (fma_test): Use max_value instead of local
5381 variable fltmax.
5382 (nextafter_test): Likewise.
5383
74c57478
JM
5384 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5385 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5386 (acos_downward_test_data): New variable.
5387 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5388 (acos_upward_test_data): New variable.
5389 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5390 (acosh_test_data): New variable.
5391 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5392 (asin_test_data): New variable.
5393 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5394 (asin_tonearest_test_data): New variable.
5395 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5396 (asin_towardzero_test_data): New variable.
5397 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5398 (asin_downward_test_data): New variable.
5399 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5400 (asin_upward_test_data): New variable.
5401 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5402 (asinh_test_data): New variable.
5403 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5404 (atan_test_data): New variable.
5405 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5406 (atanh_test_data): New variable.
5407 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5408 (cbrt_test_data): New variable.
5409 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5410 (ceil_test_data): New variable.
5411 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5412 (cos_test_data): New variable.
5413 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5414 (cos_tonearest_test_data): New variable.
5415 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5416 (cos_towardzero_test_data): New variable.
5417 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5418 (cos_downward_test_data): New variable.
5419 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5420 (cos_upward_test_data): New variable.
5421 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5422 (cosh_test_data): New variable.
5423 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5424 (cosh_tonearest_test_data): New variable.
5425 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5426 (cosh_towardzero_test_data): New variable.
5427 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5428 (cosh_downward_test_data): New variable.
5429 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5430 (cosh_upward_test_data): New variable.
5431 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5432 (erf_test_data): New variable.
5433 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5434 (erfc_test_data): New variable.
5435 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5436 (exp_test_data): New variable.
5437 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5438 (exp_tonearest_test_data): New variable.
5439 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5440 (exp_towardzero_test_data): New variable.
5441 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5442 (exp_downward_test_data): New variable.
5443 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5444 (exp_upward_test_data): New variable.
5445 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5446 (exp10_test_data): New variable.
5447 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5448 (exp2_test_data): New variable.
5449 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5450 (expm1_test_data): New variable.
5451 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5452 (fabs_test_data): New variable.
5453 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5454 (floor_test_data): New variable.
5455 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5456 (j0_test_data): New variable.
5457 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5458 (j1_test_data): New variable.
5459 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5460 (log_test_data): New variable.
5461 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5462 (log10_test_data): New variable.
5463 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5464 (log1p_test_data): New variable.
5465 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5466 (log2_test_data): New variable.
5467 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5468 (logb_test_data): New variable.
5469 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5470 (logb_downward_test_data): New variable.
5471 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5472 (nearbyint_test_data): New variable.
5473 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5474 (rint_test_data): New variable.
5475 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5476 (rint_tonearest_test_data): New variable.
5477 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5478 (rint_towardzero_test_data): New variable.
5479 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5480 (rint_downward_test_data): New variable.
5481 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5482 (rint_upward_test_data): New variable.
5483 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5484 (round_test_data): New variable.
5485 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5486 (sin_test_data): New variable.
5487 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5488 (sin_tonearest_test_data): New variable.
5489 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5490 (sin_towardzero_test_data): New variable.
5491 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5492 (sin_downward_test_data): New variable.
5493 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5494 (sin_upward_test_data): New variable.
5495 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5496 (sinh_test_data): New variable.
5497 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5498 (sinh_tonearest_test_data): New variable.
5499 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5500 (sinh_towardzero_test_data): New variable.
5501 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5502 (sinh_downward_test_data): New variable.
5503 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5504 (sinh_upward_test_data): New variable.
5505 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5506 (sqrt_test_data): New variable.
5507 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5508 (tan_test_data): New variable.
5509 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5510 (tan_tonearest_test_data): New variable.
5511 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5512 (tan_towardzero_test_data): New variable.
5513 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5514 (tan_downward_test_data): New variable.
5515 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5516 (tan_upward_test_data): New variable.
5517 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5518 (tanh_test_data): New variable.
5519 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5520 (tgamma_test_data): New variable.
5521 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5522 (trunc_test_data): New variable.
5523 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5524 (y0_test_data): New variable.
5525 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5526 (y1_test_data): New variable.
5527 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5528 (significand_test_data): New variable.
5529 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5530
7187d844
CG
55312013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5532
5533 [BZ #12387]
5534 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5535
f63fae73
PT
55362013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5537
5538 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5539
8a67a4b3
AJ
55402013-05-10 Andreas Jaeger <aj@suse.de>
5541
5542 [BZ #15448]
5543 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5544 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5545
51df539d
JM
55462013-05-10 Joseph Myers <joseph@codesourcery.com>
5547
5548 * math/gen-libm-test.pl (adjust_arg): New function.
5549 (special_functions): Handle generating output in both functions
5550 and arrays.
5551 (parse_args): Likewise.
5552 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5553 $in_func argument to parse_args.
5554 * math/libm-test.inc (struct test_f_f_data): New type.
5555 (IF_ROUND_INIT_): New macro.
5556 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5557 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5558 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5559 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5560 (ROUND_RESTORE_): Likewise.
5561 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5562 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5563 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5564 (ROUND_RESTORE_FE_UPWARD): Likewise.
5565 (RUN_TEST_LOOP_f_f): New macro.
5566 (acos_test_data): New variable.
5567 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5568 (acos_tonearest_test_data): New variable.
5569 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5570
5c637fe5
SP
55712013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5572
5573 * benchtests/bench-skeleton.c (startup): Fix coding style.
5574
ab2b9461
JM
55752013-05-10 Joseph Myers <joseph@codesourcery.com>
5576
5577 [BZ #6809]
5578 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5579 negative infinity argument.
5580 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5581 negative infinity argument.
5582 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5583 negative infinity argument.
5584 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5585 domain errors.
5586
4c0fe6fe
FW
55872013-05-10 Florian Weimer <fweimer@redhat.com>
5588
5589 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5590 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5591 * iconv/iconv_prog.c (main): Likewise.
5592 * locale/programs/charmap-dir.c (charmap_readdir)
5593 (fopen_uncompressed): Likewise.
5594 * locale/programs/locfile.c (siblings_uncached)
5595 (write_locale_data): Use lstat64 instead of lstat.
5596 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5597 stat.
5598
a3375d29
AJ
55992013-05-10 Andreas Jaeger <aj@suse.de>
5600
5601 [BZ #15395]
5602 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5603 localization.
5604 Include <locale.h>.
5605
36129722
CD
56062013-05-09 Carlos O'Donell <carlos@redhat.com>
5607
5608 * elf/dl-close.c (_dl_close_worker): Add comments.
5609
faa7f811
JM
56102013-05-09 Joseph Myers <joseph@codesourcery.com>
5611
ed41ffef
JM
5612 [BZ #15359]
5613 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5614 high part of pi/2.
5615 (__ieee754_rem_pio2l): Update comments.
5616
d0213cd0
JM
5617 [BZ #15429]
5618 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5619 high part of pi/2.
5620 (__ieee754_rem_pio2l): Update comments.
5621
0d3e777a
JM
5622 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5623 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5624
24f56066
JM
5625 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5626 M_PI_4l.
5627
faa7f811
JM
5628 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5629 (M_PI_34_LOG10El): Likewise.
5630 (M_PI2_LOG10El): Likewise.
5631 (M_PI4_LOG10El): Likewise.
5632 (M_PI_LOG10El): Likewise.
5633
e9a5e0fd
AZ
56342013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5635
5636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5637
d8cd06db
JM
56382013-05-08 Joseph Myers <joseph@codesourcery.com>
5639
a0d9f9d7
JM
5640 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5641 (MINUS_ZERO_INIT): Likewise.
5642 (PLUS_INFTY_INIT): Likewise.
5643 (MINUS_INFTY_INIT): Likewise.
5644 (QNAN_VALUE_INIT): Likewise.
5645 (MAX_VALUE_INIT): Likewise.
5646 (MIN_VALUE_INIT): Likewise.
5647 (MIN_SUBNORM_VALUE_INIT): Likewise.
5648 (plus_zero): Initialize with PLUS_ZERO_INIT.
5649 (minus_zero): Initialize with MINUS_ZERO_INIT.
5650 (plus_infty): Initialize with PLUS_INFTY_INIT.
5651 (minus_infty): Initialize with MINUS_INFTY_INIT.
5652 (qnan_value): Initialize with QNAN_VALUE_INIT.
5653 (max_value): Initialize with MAX_VALUE_INIT.
5654 (min_value): Initialize with MIN_VALUE_INIT.
5655 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5656
ae08db3b
JM
5657 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5658 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5659 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5660 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5661
f44bf14a
JM
5662 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5663 (RUN_TEST_2_f): Likewise.
5664 (RUN_TEST_ff_f): Likewise.
5665 (RUN_TEST_fi_f): Likewise.
5666 (RUN_TEST_fl_f): Likewise.
5667 (RUN_TEST_fff_f): Likewise.
5668 (RUN_TEST_c_f): Likewise.
5669 (RUN_TEST_f_f1): Likewise.
5670 (RUN_TEST_fF_f1): Likewise.
5671 (RUN_TEST_fI_f1): Likewise.
5672 (RUN_TEST_ffI_f1): Likewise.
5673 (RUN_TEST_c_c): Likewise.
5674 (RUN_TEST_cc_c): Likewise.
5675 (RUN_TEST_f_i): Likewise.
5676 (RUN_TEST_f_i_tg): Likewise.
5677 (RUN_TEST_ff_i_tg): Likewise.
5678 (RUN_TEST_f_b): Likewise.
5679 (RUN_TEST_f_b_tg): Likewise.
5680 (RUN_TEST_f_l): Likewise.
5681 (RUN_TEST_f_L): Likewise.
5682 (RUN_TEST_sincos): Likewise.
5683 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5684 whether to show exceptions. Do not include ");\n" in return
5685 value.
5686 (special_functions): Output call to RUN_TEST_sincos instead of
5687 check_float calls. Update calls to new_test.
5688 (parse_args): Output call to single RUN_TEST_* macro instead of
5689 check_* calls and other assignments. Update calls to new_test.
5690
d8cd06db
JM
5691 [BZ #2546]
5692 [BZ #2560]
5693 [BZ #5159]
5694 [BZ #15426]
5695 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5696 input to result for tgamma overflow.
5697 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5698 (gamma_coeff): New variable.
5699 (NCOEFF): New macro.
5700 (gamma_positive): New function.
5701 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5702 underflow here. Use gamma_positive instead of exp (lgamma) for
5703 other arguments.
5704 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5705 (gamma_coeff): New variable.
5706 (NCOEFF): New macro.
5707 (gammaf_positive): New function.
5708 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5709 underflow here. Use gamma_positive instead of exp (lgamma) for
5710 other arguments.
5711 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5712 (gamma_coeff): New variable.
5713 (NCOEFF): New macro.
5714 (gammal_positive): New function.
5715 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5716 underflow here. Use gamma_positive instead of exp (lgamma) for
5717 other arguments.
5718 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5719 (gamma_coeff): New variable.
5720 (NCOEFF): New macro.
5721 (gammal_positive): New function.
5722 (__ieee754_gammal_r): Handle positive infinity, overflow and
5723 underflow here. Handle NaN the same as positive infinity. Remove
5724 check x < 0xffffffff for negative integers. Use gamma_positive
5725 instead of exp (lgamma) for other arguments.
5726 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5727 (gamma_coeff): New variable.
5728 (NCOEFF): New macro.
5729 (gammal_positive): New function.
5730 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5731 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5732 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5733 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5734 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5735 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5736 * sysdeps/generic/math_private.h (__gamma_productf): New
5737 prototype.
5738 (__gamma_product): Likewise.
5739 (__gamma_productl): Likewise.
5740 * math/Makefile (libm-calls): Add gamma_product.
5741 * math/libm-test.inc (tgamma_test): Add more tests.
5742 * sysdeps/i386/fpu/libm-test-ulps: Update.
5743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5744
bb7cf681
OB
57452013-05-08 Ondřej Bílka <neleai@seznam.cz>
5746
5747 * benchtests/bench-skeleton.c (main): Preheat CPU.
5748
ba853947
AJ
57492013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5750
5751 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5752
8347c74c
RM
57532013-05-07 Roland McGrath <roland@hack.frob.com>
5754
5755 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5756 and _dl_skip_args_internal.
5757
e8dd4791
CD
57582013-05-07 Carlos O'Donell <carlos@redhat.com>
5759
5760 * manual/message.texi (Message Translation): Talk about users.
5761 Message to key mapping impacts design.
5762
c7405830
RM
57632013-05-06 Roland McGrath <roland@hack.frob.com>
5764
a9173057
RM
5765 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5766
976e2f03
RM
5767 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5768
9723ffc5
RM
5769 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5770 * sysdeps/wordsize-64/glob64.c: ... here.
5771
962e6658
RM
5772 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5773 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5774 New macros.
5775
ee586a6d
RM
5776 * debug/getlogin_r_chk.c: Moved to ...
5777 * login/getlogin_r_chk.c: ... here.
5778 * debug/Makefile (routines): Move getlogin_r_chk to ...
5779 * login/Makefile (routines): ... here.
5780 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5781 * login/Versions (libc: GLIBC_2.4): ... here.
5782
355f9165
RM
5783 * io/poll.c (__poll): Renamed from poll.
5784 Add libc_hidden_def.
5785 (poll): Define as weak alias.
5786
bd9ffde6
RM
5787 * debug/ptsname_r_chk.c: Moved to ...
5788 * login/ptsname_r_chk.c: ... here.
5789 * debug/Makefile (routines): Move ptsname_r_chk to ...
5790 * login/Makefile (routines): ... here.
5791 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5792 * login/Versions (libc: GLIBC_2.4): ... here.
5793
8fb16a04
RM
5794 * posix/getlogin.c: Moved to ...
5795 * login/getlogin.c: ... here.
5796 * posix/getlogin_r.c: Moved to ...
5797 * login/getlogin_r.c: ... here.
5798 * posix/getlogin_r.c: Moved to ...
5799 * login/getlogin_r.c: ... here.
5800 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5801 * login/Makefile (routines): ... here.
5802 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5803 * login/Versions (libc: GLIBC_2.0): ... here.
5804
b99b892f
RM
5805 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5806 (setrlimit): Define as weak alias.
5807
c7405830
RM
5808 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5809 Call __ names for open, ftruncate, and close.
5810 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5811 (truncate): Define as weak alias.
5812
5bf96de5
JM
58132013-05-06 Joseph Myers <joseph@codesourcery.com>
5814
9ea3513c
JM
5815 * math/gen-libm-test.pl (parse_args): Initialize x before each
5816 test of frexp, modf and remquo.
5817
5bf96de5
JM
5818 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5819 test signgam value.
5820
16e616a7
AZ
58212013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5822
5823 [BZ #15418]
5824 [BZ #15419]
5825 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5826 internal tests.
5827 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5828
d5e82754
RM
58292013-05-06 Roland McGrath <roland@hack.frob.com>
5830
5831 * elf/dl-writev.h: New file.
5832 * elf/dl-misc.c: Include it.
5833 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5834 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5835
a7548d41
JM
58362013-05-04 Joseph Myers <joseph@codesourcery.com>
5837
b7dab1e4
JM
5838 * math/libm-test.inc (noXFails): Remove variable.
5839 (noXPasses): Likewise.
5840 (BUILD_COMPLEX_INT): Remove macro.
5841 (print_screen): Remove xfail argument.
5842 (print_screen_max_error): Likewise.
5843 (update_stats): Likewise.
5844 (print_max_error): Likewise. Update calls to other affected
5845 functions.
5846 (print_complex_max_error): Likewise.
5847 (test_single_exception): Update calls to print_screen.
5848 (test_single_errno): Likewise.
5849 (check_float_internal): Remove xfail argument. Update calls to
5850 other affected functions.
5851 (check_float): Likewise.
5852 (check_complex): Likewise.
5853 (check_int): Likewise.
5854 (check_long): Likewise.
5855 (check_bool): Likewise.
5856 (check_longlong): Likewise.
5857 (main): Don't print noXFails and noXPasses.
5858 * math/gen-libm-test.pl (top level): Don't mention expected
5859 failure handling in comment.
5860 (new_test): Don't handle expected failures.
5861 (parse_args): Don't mention expected failure handling in comment.
5862 (generate_testfile): Don't handle expected failures.
5863 (parse_ulps): Likewise.
5864 (print_ulps_file): Likewise.
5865 (get_failure): Remove function.
5866 (output_test): Don't handle expected failures.
5867 * make/README.libm-test: Don't mention expected failure handling.
5868
a7548d41
JM
5869 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5870 (minus_zero): Likewise.
5871 (plus_infty): Likewise.
5872 (minus_infty): Likewise.
5873 (qnan_value): Likewise.
5874 (max_value): Likewise.
5875 (min_value): Likewise.
5876 (min_subnorm_value): Likewise.
5877 (initialize): Do not initialize those variables dynamically.
5878
60bfd54c
RM
58792013-05-03 Roland McGrath <roland@hack.frob.com>
5880
cc0e6ed8
RM
5881 * io/open.c (__open_2): Moved to ...
5882 * io/open_2.c: ... this new file.
5883 * io/open64.c (__open64_2): Moved to ...
5884 * io/open64_2.c: ... this new file.
5885 * io/openat.c (__openat_2): Moved to ...
5886 * io/openat_2.c: ... this new file.
5887 * io/openat64.c (__openat64_2): Moved to ...
5888 * io/openat64_2.c: ... this new file.
5889 * io/Makefile (routines): Add them.
5890 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5891 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5892 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5893 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5894 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5895 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5896 (__openat64): Add hidden_ver.
5897 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5898 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5899
60bfd54c
RM
5900 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5901 Separately conditionalize setting of GLRO(dl_sysinfo) so
5902 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5903 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5904
83e7640f
AZ
59052013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5906
5907 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5908 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5909 definition.
5910 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5911 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5912 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5913 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5914 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5915
d5dc2af3
JM
59162013-05-03 Joseph Myers <joseph@codesourcery.com>
5917
c31a5b1e
JM
5918 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5919 test signgam value.
5920
d5dc2af3
JM
5921 * math/libm-test.inc (hypot_test): Do not use
5922 IGNORE_ZERO_INF_SIGN.
5923
164fd39d
AJ
59242013-05-03 Andreas Jaeger <aj@suse.de>
5925
5926 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5927 Linux 3.9.
5928 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5929 (PF_MAX): Adjust for VSOCK change.
5930
8237f48c
AZ
59312013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5932
5933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5934
9df02941
CD
59352013-05-02 Carlos O'Donell <carlos@redhat.com>
5936
5937 [BZ #15264]
5938 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5939 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5940 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5941
d422395e
DM
59422013-05-02 David S. Miller <davem@davemloft.net>
5943
5944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5945
a07c5731
OB
59462013-05-01 Ondřej Bílka <neleai@seznam.cz>
5947
5948 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5949
1324e37f
RM
59502013-05-01 Roland McGrath <roland@hack.frob.com>
5951
5952 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5953
0695940b
RS
59542013-05-01 Richard Smith <richard@metafoo.co.uk>
5955
bb5f27ad 5956 [BZ #14952]
0695940b
RS
5957 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5958 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5959 Use __attribute__ ((__gnu_inline__)).
5960 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5961 Don't use __attribute__ ((__gnu_inline__)).
5962
10de07f5
JM
59632013-05-01 Joseph Myers <joseph@codesourcery.com>
5964
5965 [BZ #15423]
5966 * math/s_catan.c (__catan): Handle small real or imaginary part of
5967 input specially to avoid spurious underflow.
5968 * math/s_catanf.c (__catanf): Likewise.
5969 * math/s_catanh.c (__catanh): Likewise.
5970 * math/s_catanhf.c (__catanhf): Likewise.
5971 * math/s_catanhl.c (__catanhl): Likewise.
5972 * math/s_catanl.c (__catanl): Likewise.
5973 * math/libm-test.inc (catan_test): Add more tests.
5974 (catanh_test): Likewise.
5975 * sysdeps/i386/fpu/libm-test-ulps: Update.
5976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5977
cb4d5414
AZ
59782013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5979
5980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5981
caf84319
JM
59822013-04-30 Joseph Myers <joseph@codesourcery.com>
5983
5984 [BZ #15416]
5985 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5986 accurately for denominator in atan2.
5987 * math/s_catanf.c (__catanf): Likewise.
5988 * math/s_catanh.c (__catanh): Likewise.
5989 * math/s_catanhf.c (__catanhf): Likewise.
5990 * math/s_catanhl.c (__catanhl): Likewise.
5991 * math/s_catanl.c (__catanl): Likewise.
5992 * math/libm-test.inc (catan_test): Add more tests.
5993 (catanh_test): Likewise.
5994 * sysdeps/i386/fpu/libm-test-ulps: Update.
5995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5996
d569c6ee
SP
59972013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5998
6dbe713d
SP
5999 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6000
f0ee064b
SP
6001 * benchtests/Makefile (bench): Remove slow benchmarks.
6002 * benchtests/atan-inputs: Add slow benchmark inputs.
6003 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6004 (BENCH_FUNC): Accept variant offset.
6005 (VARIANT): Define.
6006 * benchtests/bench-skeleton.c (main): Run benchmark for each
6007 variant.
6008 * benchtests/cos-inputs: Add slow benchmark inputs.
6009 * benchtests/exp-inputs: Likewise.
6010 * benchtests/pow-inputs: Likewise.
6011 * benchtests/sin-inputs: Likewise.
6012 * benchtests/slowatan-inputs: Remove.
6013 * benchtests/slowatan.c: Remove.
6014 * benchtests/slowcos-inputs: Remove.
6015 * benchtests/slowcos.c: Remove.
6016 * benchtests/slowexp-inputs: Remove.
6017 * benchtests/slowexp.c: Remove.
6018 * benchtests/slowpow-inputs: Remove.
6019 * benchtests/slowpow.c: Remove.
6020 * benchtests/slowsin-inputs: Remove.
6021 * benchtests/slowsin.c: Remove.
6022 * benchtests/slowtan-inputs: Remove.
6023 * benchtests/slowtan.c: Remove.
6024 * benchtests/tan-inputs: Add slow benchmark inputs.
6025 * scripts/bench.pl: Parse comments and directives.
6026
d569c6ee
SP
6027 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6028 in CPPFLAGS.
6029 ($(objpfx)bench-%.c): Remove *-ITER.
6030 * benchtests/bench-modf.c: Remove definition of ITER.
6031 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6032 (main): Loop for DURATION seconds instead of fixed number of
6033 iterations.
6034 * scripts/bench.pl: Don't expect iterations in parameters.
6035
a6a242fe
RM
60362013-04-29 Roland McGrath <roland@hack.frob.com>
6037
6038 * io/fchdir.c (__fchdir): Renamed from fchdir.
6039 (fchdir): Define as weak alias.
6040
f2da7793
JM
60412013-04-29 Joseph Myers <joseph@codesourcery.com>
6042
6043 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6044 (ERRNO_EDOM): Likewise.
6045 (ERRNO_ERANGE): Likewise.
6046 (noErrnoTests): New variable.
6047 (init_max_error): Set errno to 0.
6048 (test_single_errno): New function.
6049 (test_errno): Likewise.
6050 (check_float_internal): Call test_errno. Set errno to 0.
6051 (check_complex): Refer to errno tests in comment.
6052 (check_int): Call test_errno. Set errno to 0.
6053 (check_long): Likewise.
6054 (check_bool): Likewise.
6055 (check_longlong): Likewise.
6056 (cos_test): Use ERRNO_* flags for errno tests instead of
6057 check_int.
6058 (expm1_test): Likewise.
6059 (fmod_test): Likewise.
6060 (ilogb_test): Likewise.
6061 (lgamma_test): Likewise.
6062 (pow_test): Likewise.
6063 (remainder_test): Likewise.
6064 (sin_test): Likewise.
6065 (tan_test): Likewise.
6066 (yn_test): Likewise.
6067 (initialize): Set errno to 0.
6068 (main): Print number of errno tests.
6069 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6070
b1a36ceb
AJ
60712013-04-29 Andreas Jaeger <aj@suse.de>
6072
c3ed8088
AJ
6073 [BZ #15084]
6074 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6075 and RES_USEVC.
6076
f1a24198
AJ
6077 [BZ #15085]
6078 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6079 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6080 unimplemented.
6081
9ce3b2cb
AJ
6082 [BZ #15380]
6083 * stdlib/random.c (__initstate): Return NULL if
6084 __initstate fails.
6085
f1a24198 6086 [BZ #15086]
b1a36ceb
AJ
6087 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6088 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6089 RES_SNGLKUPREOP.
6090
7e7b6f36
AZ
60912013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6092
6093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6094
4d14f449
JM
60952013-04-29 Joseph Myers <joseph@codesourcery.com>
6096
6097 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6098 of individual tests.
6099 (casin_test): Likewise.
6100 (casinh_test): Likewise.
6101
5b4217d7
JM
61022013-04-27 Joseph Myers <joseph@codesourcery.com>
6103
6104 [BZ #15409]
6105 * math/s_catan.c (__catan): Handle arguments with large real or
6106 imaginary part separately without squaring.
6107 * math/s_catanf.c (__catanf): Likewise.
6108 * math/s_catanh.c (__catanh): Likewise.
6109 * math/s_catanhf.c (__catanhf): Likewise.
6110 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6111 and redefine.
6112 (__catanhl): Handle arguments with large real or imaginary part
6113 separately without squaring.
6114 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6115 and redefine.
6116 (__catanl): Handle arguments with large real or imaginary part
6117 separately without squaring.
6118 * math/libm-test.inc (catan_test): Add more tests.
6119 (catanh_test): Likewise.
6120 * sysdeps/i386/fpu/libm-test-ulps: Update.
6121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6122
4220c3ef
AJ
61232013-04-27 Andreas Jaeger <aj@suse.de>
6124
6125 [BZ #15007]
6126 * stdlib/stdlib.h: Update guards for qecvt.
6127 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6128 <stdlib.h>.
6129
4721b2d1
AM
61302013-04-27 Allan McRae <allan@archlinux.org>
6131
6132 * sysdeps/i386/fpu/libm-test-ulps: Update.
6133
f0302940
JM
61342013-04-26 Joseph Myers <joseph@codesourcery.com>
6135
9457fd95
JM
6136 [BZ #15406]
6137 * math/s_catan.c: Include <float.h>.
6138 (__catan): Ensure underflow exception occurs for underflowed
6139 result.
6140 * math/s_catanf.c: Include <float.h>.
6141 (__catanf): Ensure underflow exception occurs for underflowed
6142 result.
6143 * math/s_catanh.c: Include <float.h>.
6144 (__catanh): Ensure underflow exception occurs for underflowed
6145 result.
6146 * math/s_catanhf.c: Include <float.h>.
6147 (__catanhf): Ensure underflow exception occurs for underflowed
6148 result.
6149 * math/s_catanhl.c: Include <float.h>.
6150 (__catanhl): Ensure underflow exception occurs for underflowed
6151 result.
6152 * math/s_catanl.c: Include <float.h>.
6153 (__catanl): Ensure underflow exception occurs for underflowed
6154 result.
6155 * math/libm-test.inc (catan_test): Add more tests.
6156 (catanh_test): Likewise.
6157
f0302940
JM
6158 [BZ #15405]
6159 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6160 underflowed result.
6161 * math/s_ccoshf.c (__ccoshf): Likewise.
6162 * math/s_ccoshl.c (__ccoshl): Likewise.
6163 * math/s_csin.c (__csin): Likewise.
6164 * math/s_csinf.c (__csinf): Likewise.
6165 * math/s_csinh.c (__csinh): Likewise.
6166 * math/s_csinhf.c (__csinhf): Likewise.
6167 * math/s_csinhl.c (__csinhl): Likewise.
6168 * math/s_csinl.c (__csinl): Likewise.
6169 * math/libm-test.inc (ccos_test): Add more tests.
6170 (ccosh_test): Likewise.
6171 (csin_test): Likewise.
6172 (csinh_test): Likewise.
6173
aa630f59
AZ
61742013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6175
6176 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6177 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6178 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6179 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6180 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6181 powerpc/power5+/fpu folders.
6182 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6183
6184
1b835983
MT
61852013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6186
6187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6188
73709b26
JM
61892013-04-25 Joseph Myers <joseph@codesourcery.com>
6190
6191 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6192 additions to variable.
6193 [$(config-machine) = x86_64] (modules-names): Likewise.
6194 ($(objpfx)tst-audit3): Remove dependency.
6195 ($(objpfx)tst-audit3.out): Likewise.
6196 ($(objpfx)tst-audit4): Likewise.
6197 ($(objpfx)tst-audit4.out): Likewise.
6198 ($(objpfx)tst-audit5): Likewise.
6199 ($(objpfx)tst-audit5.out): Likewise.
6200 ($(objpfx)tst-audit6): Likewise.
6201 ($(objpfx)tst-audit6.out): Likewise.
6202 ($(objpfx)tst-audit7): Likewise.
6203 ($(objpfx)tst-audit7.out): Likewise.
6204 (tst-audit3-ENV): Remove variable.
6205 (tst-audit4-ENV): Likewise.
6206 (tst-audit5-ENV): Likewise.
6207 (tst-audit6-ENV): Likewise.
6208 (tst-audit7-ENV): Likewise.
6209 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6210 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6211 addition to variable.
6212 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6213 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6214 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6215 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6216 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6217 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6218 tst-audit3, tst-audit4 and tst-audit5.
6219 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6220 tst-audit6 and tst-audit7.
6221 [$(subdir) = elf] (modules-names): Add audit modules for those
6222 tests.
6223 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6224 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6225 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6226 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6227 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6228 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6229 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6230 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6231 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6232 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6233 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6234 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6235 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6236 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6237 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6238 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6239 Likewise.
6240 [$(subdir) = elf && $(config-cflags-avx) = yes]
6241 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6242 [$(subdir) = elf && $(config-cflags-avx) = yes]
6243 (CFLAGS-tst-auditmod4a.c): Likewise.
6244 [$(subdir) = elf && $(config-cflags-avx) = yes]
6245 (CFLAGS-tst-auditmod4b.c): Likewise.
6246 [$(subdir) = elf && $(config-cflags-avx) = yes]
6247 (CFLAGS-tst-auditmod6b.c): Likewise.
6248 [$(subdir) = elf && $(config-cflags-avx) = yes]
6249 (CFLAGS-tst-auditmod6c.c): Likewise.
6250 [$(subdir) = elf && $(config-cflags-avx) = yes]
6251 (CFLAGS-tst-auditmod7b.c): Likewise.
6252 * elf/tst-audit3.c: Move to ...
6253 * sysdeps/x86_64/tst-audit3.c: ... here.
6254 * elf/tst-audit4.c: Move to ...
6255 * sysdeps/x86_64/tst-audit4.c: ... here.
6256 * elf/tst-audit5.c: Move to ...
6257 * sysdeps/x86_64/tst-audit5.c: ... here.
6258 * elf/tst-audit6.c: Move to ...
6259 * sysdeps/x86_64/tst-audit6.c: ... here.
6260 * elf/tst-audit7.c: Move to ...
6261 * sysdeps/x86_64/tst-audit7.c: ... here.
6262 * elf/tst-auditmod3a.c: Move to ...
6263 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6264 * elf/tst-auditmod3b.c: Move to ...
6265 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6266 * elf/tst-auditmod4a.c: Move to ...
6267 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6268 * elf/tst-auditmod4b.c: Move to ...
6269 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6270 * elf/tst-auditmod5a.c: Move to ...
6271 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6272 * elf/tst-auditmod5b.c: Move to ...
6273 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6274 * elf/tst-auditmod6a.c: Move to ...
6275 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6276 * elf/tst-auditmod6b.c: Move to ...
6277 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6278 * elf/tst-auditmod6c.c: Move to ...
6279 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6280 * elf/tst-auditmod7a.c: Move to ...
6281 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6282 * elf/tst-auditmod7b.c: Move to ...
6283 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6284
1ef74943
PP
62852013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6286
6287 [BZ #15366]
6288 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6289 define unconditionally.
6290 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6291 define unconditionally.
6292 (INT8_C, INT16_C, etc.): Likewise.
6293
93fd48c5
MR
62942013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6295
ae9552cf
MR
6296 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6297 __ehdr_start with hidden visibility.
6298
93fd48c5
MR
6299 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6300
418601aa
CD
63012013-04-24 Carlos O'Donell <carlos@redhat.com>
6302
6303 * math/libm-test.inc (cos_test): Use accurate hex constants.
6304 (sincost_test): Likewise.
6305
2f38fbfe
JM
63062013-04-24 Joseph Myers <joseph@codesourcery.com>
6307
5e221800
JM
6308 * math/libm-test.inc (catan_test): Add more tests.
6309 (catanh_test): Likewise.
6310
77f143fd
JM
6311 * math/s_catanf.c (__catanf): Use suffixed floating-point
6312 constants.
6313 * math/s_catanhf.c (__catanhf): Likewise.
6314 * math/s_catanhl.c (__catanhl): Likewise.
6315 * math/s_catanl.c (__catanl): Likewise.
6316
2f38fbfe
JM
6317 [BZ #15394]
6318 * math/s_catan.c (__catan): Calculate imaginary part of result
6319 with log1p not log unless computing log of number close to 0.
6320 * math/s_catanf.c (__catanf): Likewise.
6321 * math/s_catanl.c (__catanl): Likewise.
6322 * math/s_catanh.c (__catanh): Calculate real part of result with
6323 log1p not log unless computing log of number close to 0.
6324 * math/s_catanhf.c (__catanhf): Likewise.
6325 * math/s_catanhl.c (__catanhl): Likewise.
6326 * math/libm-test.inc (catan_test): Add more tests.
6327 (catanh_test): Likewise.
6328 * sysdeps/i386/fpu/libm-test-ulps: Update.
6329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6330
45d69176
SP
63312013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6332
6333 * benchtests/Makefile: Mention files in which fast and slow
6334 paths of math functions are implemented.
6335
87f51853
RM
63362013-04-23 Roland McGrath <roland@hack.frob.com>
6337
6338 * sysdeps/posix/timespec_get.c: New file.
6339
3c026539
AZ
63402013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6341
6342 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6343 POWER.
6344 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6345 for POWER.
6346 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6347 powerpc/power5/fpu folders.
6348 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6349 * benchtests/Makefile: Add modf testcase.
6350 * benchtests/bench-modf.c: New file: Benchmark test for mo
6351
ff491d14
SP
63522013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6353
6354 [BZ #14888]
6355 * time/Makefile (tests): Add tst-strptime-whitespace.
6356 * time/strptime_l.c (get_number): Use ISSPACE.
6357 (__strptime_internal): Likewise.
6358 * time/tst-strptime-whitespace.c: New test case.
6359
7ed3f4e8
AS
63602013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6361
6362 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6363 member.
6364 (_nss_files_init): Set it here.
6365
5c95f7b6
HC
63662013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6367
6368 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6369 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6370 unsigned.
6371
d34c9158
JBG
63722013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6373
6374 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6375
2169712d
SP
63762013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6377
6378 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6379 size just once.
6380
29c5de99
DM
63812013-04-21 David S. Miller <davem@davemloft.net>
6382
6383 * po/ru.po: Update Russion translation from translation project.
6384
ccdad15d
AC
63852013-04-17 Adam Conrad <adconrad@0c3.net>
6386
6387 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6388 and setfsgid.
6389
0f122b8d
CD
63902013-04-17 Carlos O'Donell <carlos@redhat.com>
6391
5c5b07da 6392 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 6393 * configure: Regenerate.
5c5b07da 6394 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
6395 Add example to error message.
6396 * sysdeps/i386/configure: Regenerate.
6397
037714dd
SP
63982013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6399
6400 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6401 slowtan.
6402 * benchtests/cos-inputs: New file.
6403 * benchtests/slowcos-inputs: New file.
6404 * benchtests/slowcos.c: New file.
6405 * benchtests/slowtan-inputs: New file.
6406 * benchtests/slowtan.c: New file.
6407 * benchtests/tan-inputs: New file.
6408
e913141d
RM
64092013-04-16 Roland McGrath <roland@hack.frob.com>
6410
6411 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6412 considered kosher.
6413
a2964074
SP
64142013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6415
4856bcd2
SP
6416 * benchtests/Makefile: Include cppflags-iterator.mk to add
6417 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6418
a2964074
SP
6419 * Makefile.in (bench-clean): New target.
6420 * benchtests/Makefile (bench-clean): Likewise.
6421
9fbf9aca
DH
64222013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6423
6424 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6425
207d1e2a
TS
64262013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6427
6428 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6429
306dfba9
AS
64302013-04-15 Andreas Schwab <schwab@suse.de>
6431
6432 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6433 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6434 * nscd/pwdcache.c (cache_addpw): Likewise.
6435 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6436 more than recsize.
6437
206a6699
SP
64382013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6439
6440 * benchtests/Makefile (bench): Write all output to
6441 bench-out.tmp together.
6442
0582f6b3
AS
64432013-04-15 Andreas Schwab <schwab@suse.de>
6444
6445 * nscd/nscd.c (main): Don't fork again after closing files.
6446
acb4325f
SP
64472013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6448
5cb26d0a
SP
6449 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6450
acb4325f
SP
6451 * benchtests/Rules (bench-deps): Collect dependencies into a
6452 single variable. Add Makefile to dependencies.
6453 ($(objpfx)bench-%.c): Depend on bench-deps.
6454
47792506
RM
64552013-04-12 Roland McGrath <roland@hack.frob.com>
6456 Xavier Roche <roche+kml2@exalead.com>
6457
6458 [BZ #15361]
6459 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6460 just that it's a file descriptor.
6461 * manual/llio.texi (Synchronizing AIO Operations): Update description
6462 for EBADF error from aio_fsync.
6463
8fc1bee5
SP
64642013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6465
6466 * Rules (bench): Move target definition...
6467 * benchtests/Makefile: ... here.
6468
aba5e333
CD
64692013-04-11 Carlos O'Donell <carlos@redhat.com>
6470
6471 * math/libm-test.inc (cos_test): Fix PI/2 test.
6472 (sincos_test): Likewise.
6473 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6474 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6475
273cdee8
AS
64762013-04-11 Andreas Schwab <schwab@suse.de>
6477
6ecec3b6
AS
6478 [BZ #13988]
6479 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6480 accept exponent character only when digits were seen.
6481 * stdio-common/Makefile (tests): Add bug26.
6482 * stdio-common/bug26.c: New file.
6483
273cdee8
AS
6484 [BZ #14293]
6485 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6486 non-freeable.
6487
8da491f5
SP
64882013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6489
01dc6df9
SP
6490 * Makeconfig (rtld-prefix): Define built linker prefix.
6491 * Rules (run-bench): Use it.
6492 * math/Makefile (run-regen-ulps): Likewise.
6493
8da491f5
SP
6494 * Rules (bench): Remove eval.
6495
abe7f530
SP
64962013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6497 Roland McGrath <roland@hack.frob.com>
6498 Ondrej Bilka <neleai@seznam.cz>
6499
6500 [BZ #15346]
6501 * time/getdate.c: Include ctype.h and alloca.h.
6502 (__getdate_r): Trim leading and trailing spaces of input.
6503 * time/tst-getdate.c (tests): Add tests with leading and
6504 trailing spaces.
6505
61c23e62
RM
65062013-04-08 Roland McGrath <roland@hack.frob.com>
6507
6508 [BZ #14280]
6509 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6510 when computing value.
6511
7208a313
CD
65122013-04-06 Carlos O'Donell <carlos@redhat.com>
6513
085b2d41
CD
6514 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6515 Use testrun.sh to run libm tests.
6516
7208a313
CD
6517 [BZ #15309]
6518 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6519
872c0acd
MM
65202013-04-06 Marko Myllynen <myllynen@redhat.com>
6521
6522 [BZ #15264]
6523 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6524
26510bdd
CD
65252013-04-06 Carlos O'Donell <carlos@redhat.com>
6526
6527 * Makefile.in (regen-ulps): New target.
6528 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6529 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6530 [ifneq (no,$(PERL)] (regen-ulps): New target.
6531 [ifeq (no,$(PERL)] (regen-ulps): New target.
6532 * math/libm-test.inc (ulps_file_name): Define.
6533 (output_dir): New variable.
6534 (options): Add "output-dir" option.
6535 (parse_opt): Handle 'o' case.
6536 (main): If output_dir is non-NULL use it as a prefix
6537 otherwise use "".
6538 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6539
a01f19c8
CD
65402013-04-06 Carlos O'Donell <carlos@redhat.com>
6541
6542 [BZ #10060, #10062]
6543 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6544 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6545 fail configure if __sync_val_compare_and_swap is not inlined.
6546 * sysdeps/i386/configure: Regenerate.
6547 * configure.in: Build for i686 when configured for i386.
6548 * configure: Regenerate.
6549 * README: Remove i386 reference.
6550
b7a329a5
CD
65512013-04-06 Carlos O'Donell <carlos@redhat.com>
6552
6553 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6554 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6555
bf0f50df
TS
65562013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6557
ee091edf
TS
6558 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6559 (lmsnanval): New variables.
6560 (F): Add conversion tests.
6561 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6562 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6563
a8b792d6
TS
6564 * stdio-common/tstdiomisc.c (F): Properly collect individual
6565 tests' results.
6566
a1cbf437
TS
6567 [BZ #14686, #15336]
6568 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6569 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6570 Instead, use input NaN values or generate a qNaN by arithmetic
6571 operation. Also fix bugs to comply with the standard.
6572 * math/libm-test.inc (remainder_test): Add more tests.
6573
8b43a0c9
TS
6574 [BZ #15335, #15342]
6575 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6576 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6577 input NaN values or generate a qNaN by arithmetic operation.
6578
d91da4ce
TS
6579 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6580 unreachable code.
6581
bf0f50df
TS
6582 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6583 definitions.
6584
05e166c8
JM
65852013-04-03 Joseph Myers <joseph@codesourcery.com>
6586
6587 [BZ #14478]
6588 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6589 underflowed result.
6590 * math/s_cexpf.c (__cexpf): Likewise.
6591 * math/s_cexpl.c (__cexpl): Likewise.
6592 * math/libm-test.inc (cexp_test): Add more tests.
6593
1cef1b19
AS
65942013-04-03 Andreas Schwab <schwab@suse.de>
6595
6596 [BZ #15330]
6597 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6598 order arrays from heap if bigger than alloca cutoff.
6599
74d87055
TS
66002013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6601
6602 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6603 (SNAN_TESTS_double): Refer to GCC PR56831.
6604 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6605 GCC PR56828.
6606
d755bba4
SP
66072013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6608
90d5d5bb
SP
6609 * Rules (bench): Move bench.out after the run is complete.
6610
73e0cd5d
SP
6611 * Rules (bench): Echo currently running benchmark.
6612
64aabd4b
SP
6613 * benchtests/Makefile (bench): Add atan and slowatan.
6614 * benchtests/atan-inputs: New file.
6615 * benchtests/slowatan-inputs: New file.
6616 * benchtests/slowatan.c: New file.
6617
c871eccd
SP
6618 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6619 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6620 its value.
6621
d755bba4
SP
6622 [BZ #15305]
6623 * sysdeps/unix/sysv/linux/kernel-features.h
6624 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6625 __ASSUME_XFS_RESTRICTED_CHOWN.
6626 * sysdeps/unix/sysv/linux/pathconf.c
6627 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6628 Save and restore errno.
6629
52ce4860
JM
66302013-04-02 Joseph Myers <joseph@codesourcery.com>
6631
6632 [BZ #15327]
6633 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6634 arguments using __kernel_casinh.
6635 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6636 arguments using __kernel_casinhf.
6637 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6638 arguments using __kernel_casinhl.
6639 * math/libm-test.inc (cacosh_test): Add more tests.
6640 * sysdeps/i386/fpu/libm-test-ulps: Update.
6641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6642
81f311c2
SP
66432013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6644
e7906a47
SP
6645 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6646 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6647
92e3664b
SP
6648 * bench/Makefile (bench): Add sin and slowsin.
6649 * benchtests/sin-inputs: New file.
6650 * benchtests/slowsin-inputs: New file.
6651 * benchtests/slowsin.c: New file.
6652
81f311c2
SP
6653 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6654 (bench): Add slowexp and slowpow.
6655 (exp-ITER): Increase iterations.
6656 (pow-ITER): Likewise.
6657 * benchtests/exp-inputs: Change input.
6658 * benchtests/pow-inputs: Likewise.
6659 * benchtests/slowexp-inputs: New file.
6660 * benchtests/slowexp.c: New file.
6661 * benchtests/slowpow-inputs: New file.
6662 * benchtests/slowpow.c: New file.
6663
ab0f1aa9
AZ
66642013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6665
6666 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6667 instructions.
6668 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6669 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6670 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6671 * benchtests/Makefile: Add rint benchtest.
6672 * benchtests/rint-inputs: Input for rint benchtest.
6673
57267616
TS
66742013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6675
6676 * Versions.def (libm): Add GLIBC_2.18.
6677 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6678 hidden libm prototypes.
6679 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6680 * math/Makefile (libm-calls): Add s_issignaling.
6681 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6682 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6683 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6684 declaration.
6685 * math/math.h [__USE_GNU] (issignaling): New macro.
6686 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6687 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6688 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6689 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6692 * manual/arith.texi (issignaling): New section.
6693 * manual/libm-err-tab.pl (@all_functions): Update comment.
6694 * math/gen-libm-test.pl (parse_args): Apply special handling for
6695 issignaling.
6696 * math/libm-test.inc (print_float, issignaling_test): New
6697 functions.
6698 (check_float_internal): Add issignaling checks.
6699 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6700 default definition.
6701 * sysdeps/powerpc/math-tests.h: New file.
6702 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6703 tests.
6704 * math/test-snan.c (TEST_FUNC): Likewise.
6705
6142896d
DM
67062013-03-30 David S. Miller <davem@davemloft.net>
6707
6708 * po/de.po: Update from translation team.
6709
ccc8cadf
JM
67102013-03-30 Joseph Myers <joseph@codesourcery.com>
6711
6712 [BZ #10357]
6713 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6714 imaginary part less than 1.0 and real part less than 0.5
6715 specially.
6716 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6717 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6718 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6719 (cacos_test): Add more tests.
6720 (casin_test): Likewise.
6721 (casinh_test): Likewise.
6722 * sysdeps/i386/fpu/libm-test-ulps: Update.
6723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6724
0f6a8d4b
SP
67252013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6726
0d1029de
SP
6727 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6728 ONE with its value.
6729
c2d94018
SP
6730 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6731 (__pow_mp): Replace ONE and MONE with their values.
6732 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6733 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6734 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6735 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6736 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6737 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6738
27ec37f1
SP
6739 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6740
a64d7e0e
SP
6741 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6742 (__pow_mp): Replace ZERO and MZERO with their values.
6743 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6744 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6745 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6746 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6747 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6748 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6749 (__sqr): Likewise.
6750
d26dd3eb
SP
6751 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6752
0f6a8d4b
SP
6753 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6754
e57b0c61
RM
67552013-03-28 Roland McGrath <roland@hack.frob.com>
6756
6757 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6758 Declare with __attribute__ ((weak)).
6759 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6760 Call __call_tls_dtors only if it's not NULL.
6761
356b3480
RM
67622013-03-28 Roland McGrath <roland@hack.frob.com>
6763
288f7d79
RM
6764 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6765 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6766 magic __ehdr_start linker symbol if it's defined.
6767 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6768 them up here if it was already done.
6769
dc0a0263
RM
6770 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6771 (_dl_aux_init): Use const in cast when setting it.
6772 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6773 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6774 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6775
3d3436ae
RM
6776 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6777 Declare them here.
6778 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6779 * csu/libc-tls.c: Nor here.
6780 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6781
356b3480
RM
6782 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6783 (__libc_message): Never call vsyslog.
6784
b0f1246a
AM
67852013-03-28 Alan Modra <amodra@gmail.com>
6786
6787 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6788 Define as empty.
6789 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6790 Likewise.
6791
fbbe2b9a
AZ
67922013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6793
6794 [BZ #15214]
6795 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6796 underflow.
6797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6798
1728ab37
SP
67992013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6800
7a86be6e
SP
6801 [BZ #15304]
6802 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6803 Don't add gid passed as argument.
6804
1728ab37
SP
6805 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6806
3a7182a1
JM
68072013-03-27 Joseph Myers <joseph@codesourcery.com>
6808
6809 [BZ #15307]
6810 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6811 imaginary part between 1.0 and 1.5 and real part less than 0.5
6812 specially.
6813 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6814 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6815 * math/libm-test.inc (cacos_test): Add more tests.
6816 (casin_test): Likewise.
6817 (casinh_test): Likewise.
6818 * sysdeps/i386/fpu/libm-test-ulps: Update.
6819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6820
6f2e90e7
SP
68212013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6822
5739f705
SP
6823 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6824 constants.
6825 (norm): Likewise.
6826 (denorm): Likewise.
6827 (__dbl_mp): Likewise.
6828 (add_magnitudes): Likewise.
6829 (sub_magnitudes): Likewise.
6830 (__add): Likewise.
6831 (__sub): Likewise.
6832 (__mul): Likewise.
6833 (__sqr): Likewise.
6834 (__inv): Likewise.
6835 (__dvd): Likewise.
6836
e375e83d
SP
6837 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6838 commented code.
6839 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6840 (__dubcos): Likewise.
6841 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6842 (__ieee754_acos): Likewise.
6843 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6844 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6845 (__exp1): Likewise.
6846 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6847 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6848 (log1): Likewise.
6849 (my_log2): Likewise.
6850 (checkint): Likewise.
6851 * sysdeps/ieee754/dbl-64/e_remainder.c
6852 (__ieee754_remainder): Likewise.
6853 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6854 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6855 (bsloww): Likewise.
6856 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6857
6f2e90e7
SP
6858 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6859 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6860 MANTISSA_STORE_T to store computations on mantissa. Use
6861 macros for rounding and division.
6862 (denorm): Likewise.
6863 (__dbl_mp): Likewise.
6864 (add_magnitudes): Likewise.
6865 (sub_magnitudes): Likewise.
6866 (__mul): Likewise.
6867 (__sqr): Likewise.
6868 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6869 powers of two in terms of TWOPOW macro.
6870 (mp_no): Make type of mantissa as MANTISSA_T.
6871 [!RADIXI]: Define RADIXI.
6872 [!TWO52]: Define TWO52.
6873 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6874
fce14d4e
AZ
68752013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6876
6877 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6878 llroundl symbol when building for PPC32.
6879
9ad027fb
MW
68802013-03-24 Mark H Weaver <mhw@netris.org>
6881
6882 * manual/arith.texi (Normalization Functions): Fix prototypes for
6883 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6884
e42a38dd
AZ
68852013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6886
6887 [BZ #13889]
6888 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6889 high value to check if expl overflow.
6890 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6891 to check for underflow and overflow.
6892 * math/libm-test.inc: Add exp test.
6893
2e0fb521
DL
68942013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6895
6896 [BZ #11120]
6897 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6898 with NOT_IN_libc.
6899
b5784d95
AZ
69002013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6901
6902 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6903 symbol.
6904
5aa4a1a1
TS
69052013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6906
bdef0be7
TS
6907 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6908 wrap blocks consisting of several statements.
6909
5aa4a1a1
TS
6910 * sysdeps/generic/math-tests.h: New file.
6911 * sysdeps/i386/fpu/math-tests.h: Likewise.
6912 * math/test-snan.c: Include it.
6913 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6914
98c48fe5
JM
69152013-03-21 Joseph Myers <joseph@codesourcery.com>
6916
6917 [BZ #15285]
6918 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6919 (__ieee754_j0l): Do not improve calculations using cos of twice
6920 input for inputs above LDBL_MAX / 2.0L.
6921 (__ieee754_y0l): Likewise.
6922 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6923 (__ieee754_j1l): Do not improve calculations using cos of twice
6924 input for inputs above LDBL_MAX / 2.0L.
6925 (__ieee754_y1l): Likewise.
6926 * math/libm-test.inc (j0_test): Add another test.
6927 (j1_test): Likewise.
6928 (y0_test): Likewise.
6929 (y1_test): Likewise.
6930 * sysdeps/i386/fpu/libm-test-ulps: Update.
6931
3775a8bc
SP
69322013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6933
6934 * Rules ($(objpfx)bench-%.c): Include code from a C source
6935 file.
6936
0a1b2ae6
JM
69372013-03-21 Joseph Myers <joseph@codesourcery.com>
6938
6939 [BZ #15287]
6940 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6941 imaginary part 1.0 and real part less than 0.5 specially.
6942 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6943 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6944 * math/libm-test.inc (cacos_test): Add more tests.
6945 (casin_test): Likewise.
6946 (casinh_test): Likewise.
6947 * sysdeps/i386/fpu/libm-test-ulps: Update.
6948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6949
b33d4ce4
SP
69502013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6951
6952 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6953 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6954
bef0b507
JM
69552013-03-20 Joseph Myers <joseph@codesourcery.com>
6956
6957 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6958 * config.make.in (config-cflags-sse4): Remove variable.
6959 (config-cflags-avx): Likewise.
6960 (config-cflags-sse2avx): Likewise.
6961 (config-cflags-novzeroupper): Likewise.
6962 (config-asflags-i686): Likewise.
6963 (have-mfma4): Likewise.
6964 (have-as-vis3): Likewise.
6965 (MIG): Likewise.
6966 * configure.in (MIG): Do not AC_SUBST.
6967 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6968 (libc_cv_cc_sse4): Do not AC_SUBST.
6969 (libc_cv_cc_avx): Likewise.
6970 (libc_cv_cc_sse2avx): Likewise.
6971 (libc_cv_cc_novzeroupper): Likewise.
6972 (libc_cv_cc_fma4): Likewise.
6973 (libc_cv_as_i686): Likewise.
6974 (libc_cv_sparc_as_vis3): Likewise.
6975 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6976 LIBC_CONFIG_VAR.
6977 (config-asflags-i686): Likewise.
6978 (config-cflags-avx): Likewise.
6979 (config-cflags-sse2avx): Likewise.
6980 (have-mfma4): Likewise.
6981 (config-cflags-novzeroupper): Likewise.
6982 * sysdeps/mach/configure.in (MIG): Likewise.
6983 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6984 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6985 LIBC_CONFIG_VAR.
6986 (config-cflags-avx): Likewise.
6987 (config-cflags-sse2avx): Likewise.
6988 (have-mfma4): Likewise.
6989 (config-cflags-novzeroupper): Likewise.
6990 * configure: Regenerated.
6991 * sysdeps/i386/configure: Likewise.
6992 * sysdeps/mach/configure: Likewise.
6993 * sysdeps/sparc/configure: Likewise.
6994 * sysdeps/x86_64/configure: Likewise.
6995
912cc4b3
RM
69962013-03-20 Roland McGrath <roland@hack.frob.com>
6997
6998 [BZ #14812]
6999 * locale/programs/localedef.c (options): Put N_ translation marker
7000 on argument names, not just descriptions.
7001
04eed2b0
MS
70022013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7003
7004 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7005
a065ceff
OB
70062013-03-20 Ondřej Bílka <neleai@seznam.cz>
7007
9bb2a810 7008 [BZ #14176]
a065ceff
OB
7009 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7010
a600e5ce
RM
70112013-03-19 Roland McGrath <roland@hack.frob.com>
7012
7013 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7014 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7015 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7016 [!BEFORE_ABORT] (before_abort): New function.
7017 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7018 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7019 (writev_for_fatal): New function.
7020 (WRITEV_FOR_FATAL): New macro; call that.
7021 (backtrace_and_maps): New function.
7022 (BEFORE_ABORT): New macro; call that.
7023 (struct str_list): Type removed.
7024 (__libc_message, __libc_fatal): Functions removed.
7025 Include <sysdeps/posix/libc_fatal.c> instead.
7026
6b18bea6
JM
70272013-03-19 Joseph Myers <joseph@codesourcery.com>
7028
7029 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7030 constants.
7031 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7032 double constants.
7033
aaa8cb4b
AS
70342013-03-19 Andreas Schwab <schwab@suse.de>
7035
44673770
AS
7036 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7037 * sysdeps/gnu/configure: Regenerate.
7038
aaa8cb4b
AS
7039 * configure.in: Substitute libc_cv_rtlddir.
7040 * configure: Regenerate.
7041 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7042 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7043 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7044 * elf/Makefile (install-others, CFLAGS-interp.c)
7045 (ldso_install, common-ldd-rewrite): Likewise.
7046 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7047 $(inst_slibdir)/$(rtld-installed-name).
7048 * scripts/rellns-sh: Add -p option.
7049 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7050 for source.
7051
d3cfc668
SP
70522013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7053
7054 * manual/nptl.texi: Renamed to ...
7055 * manual/threads.texi: ... this.
7056 * manual/Makefile (chapters): Update.
7057
0e2b9cdd
RM
70582013-03-18 Roland McGrath <roland@hack.frob.com>
7059
7060 [BZ #14812]
7061 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7062 on argument names, not just descriptions.
0e2b9cdd
RM
7063 * malloc/memusagestat.c (options): Likewise.
7064 * nss/getent.c (options): Likewise.
63270c24
RM
7065
70662013-03-18 Benno Schulenberg <bensberg@justemail.net>
7067
7068 [BZ #14812]
7069 * iconv/iconv_prog.c (options): Put N_ translation marker
7070 on argument names, not just descriptions.
7071 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 7072
b2e1393c
OB
70732013-03-18 Ondrej Bilka <neleai@seznam.cz>
7074
7075 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7076 implementation which is faster on all x86_64 architectures.
7077 Tested on AMD, Intel Nehalem, SNB, IVB.
7078 * sysdeps/x86_64/strnlen.S: Likewise.
7079
7080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7081 Remove all multiarch strlen and strnlen versions.
7082 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7083 Remove strlen and strnlen related parts.
7084
7085 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7086 Inline strlen part.
7087 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7088
7089 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7090 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7091 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7092 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7093 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7094 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7095
ec4ff04d
CD
70962013-03-17 Carlos O'Donell <carlos@redhat.com>
7097
7098 * manual/memory.texi (Malloc Tunable Parameters):
7099 Sort parameters alphabetically. Add comments for missing entries.
7100
cd18e90a
DM
71012013-03-17 David S. Miller <davem@davemloft.net>
7102
7103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7104
2a185d32
JM
71052013-03-16 Joseph Myers <joseph@codesourcery.com>
7106
d2f9799e
JM
7107 [BZ #15283]
7108 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7109 for arguments at most half maximum finite value.
7110 * math/libm-test.inc (j0_test): Add more tests.
7111 (j1_test): Likewise.
7112 (y0_test): Likewise.
7113 (y1_test): Likewise.
7114 * sysdeps/i386/fpu/libm-test-ulps: Update.
7115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7116
2a185d32
JM
7117 [BZ #14155]
7118 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7119 1 / x and functions P and Q for arguments above 0x1p256L.
7120 (__ieee754_y0l): Likewise.
7121 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7122 (__ieee754_y1l): Likewise.
7123 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7124 (j1_test): Likewise.
7125 (y0_test): Likewise.
7126 (y1_test): Likewise.
7127
6cbec759
TS
71282013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7129
7130 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7131 variable.
7132
bc16e260
RM
71332013-03-15 Roland McGrath <roland@hack.frob.com>
7134
aefc9b8c
RM
7135 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7136 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7137 zero since it's initialized to EXEC_PAGESIZE.
7138
bc16e260
RM
7139 * sysdeps/unix/sysv/linux/ldsodefs.h
7140 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7141 * sysdeps/generic/ldsodefs.h: ... here.
7142
a57da955
TS
71432013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7144
af00a34d
TS
7145 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7146
495ded2c
TS
7147 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7148 math/test-snan.c.
7149 * math/test-snan.c: Renamed from
7150 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7151 * math/Makefile (tests): Add test-snan.
7152 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7153 test-powerpc-snan.
7154
777b0332
TS
7155 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7156 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7157 functions.
7158 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7159 __builtin_nan family of functions.
7160 * math/libm-test.inc (initialize): Initialize qnan_value with
7161 __builtin_nan family of functions.
7162 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7163 Remove variables.
7164 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7165 Remove functions.
7166 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7167 storage class. Initialize qNaN_var and sNaN_var with
7168 __builtin_nan and __builtin_nans families of functions,
7169 respectively.
7170
64d063b8
TS
7171 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7172 (sqrt_test): Remove duplicate test with qNaN input.
7173 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7174 (round_test, signbit_test, significand_test): Note missing +/-Inf
7175 as well as qNaN tests.
7176
67e971f1
TS
7177 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7178 qNaN_var. Fix a few strings, too.
7179 * math/libm-test.inc (nan_value): Rename to qnan_value.
7180 * math/gen-libm-test.pl (%beautify): Adjust to that.
7181 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7182 * math/test-misc.c (main): Likewise.
7183 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7184 to __qnan_bytes, and __qnan_union, respectively.
7185 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7186 Likewise.
7187 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7188 and lqnanval, respectively.
7189 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7190 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7191 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7192 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7193
64487e12
TS
7194 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7195 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7196 doubles.
7197
e015e27b
TS
7198 * math/test-misc.c (main): Fix copy'n'pastos.
7199 * misc/tst-efgcvt.c (special): Likewise.
7200
a57da955
TS
7201 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7202 Remove declarations.
7203
1e380345
SP
72042013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7205
7206 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7207 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7208 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7209 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7210
ef26eece
AZ
72112013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7212
7213 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7214 macro to return vdso values correctly in IFUNC implementations.
7215 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7216 Optimization by using IFUNC.
7217
8cfdb7e0
SP
72182013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7219 Richard Henderson <rth@redhat.com>
7220 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7221
7222 * Makefile.in (bench): New target.
7223 * NEWS: Mention the benchmark framework.
7224 * Rules (bench): Likewise.
7225 (binaries-bench): Generate binaries for functions to
7226 benchmark.
7227 * benchtests/Makefile: New makefile for benchmark tests.
7228 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7229 programs.
7230 * benchtests/exp-inputs: New input file for EXP function.
7231 * benchtests/pow-inputs: New input file for POW function.
7232 * scripts/bench.pl: New script to generate source files for
7233 benchmark programs.
7234
bcda9880
SP
72352013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7236
d22ca8cd
SP
7237 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7238 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7239 computations on mantissa. Use macros for rounding and
7240 division.
7241 (denorm): Likewise.
7242 (__dbl_mp): Likewise.
7243 (add_magnitudes): Likewise.
7244 (sub_magnitudes): Likewise.
7245 (__mul): Likewise.
7246 (__sqr): Likewise.
7247 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7248 powers of two in terms of TWOPOW macro.
7249 (mp_no): Make type of mantissa as MANTISSA_T.
7250 [!RADIXI]: Define RADIXI.
7251 [!TWO52]: Define TWO52.
7252 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7253
bcda9880
SP
7254 * manual/nptl.texi (cindex): Modify threads to pthreads.
7255
06d5adfb
JM
72562013-03-15 Joseph Myers <joseph@codesourcery.com>
7257
7258 * sysdeps/x86_64/preconfigure: Regenerated.
7259
41c7328e
JM
72602013-03-14 Joseph Myers <joseph@codesourcery.com>
7261
7262 [BZ #14155]
7263 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7264 0x1p28 and above.
7265 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7266 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7267 0x1p28 and above.
7268 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7269 * math/libm-test.inc (j0_test): Do not allow one spurious
7270 underflow exception.
7271 (y1_test): Likewise.
7272
e25cfa60
SP
72732013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7274
0409959c
SP
7275 * manual/Makefile (chapters): Add nptl.
7276 * manual/debug.texi (Debugging Support): Add link to Threads
7277 chapter.
7278 * manual/nptl.texi: New file.
7279
e25cfa60
SP
7280 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7281
58a1335e
PB
72822013-03-14 Petr Baudis <pasky@ucw.cz>
7283
7284 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7285 for non-NULL pointer before the memory validity test. Pointed
7286 out by Holger Brunck <holger.brunck@keymile.com>.
7287
9dc7c64f
AS
72882013-03-13 Andreas Schwab <schwab@suse.de>
7289
7290 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7291 instead of .os.
7292
54206aa6
JM
72932013-03-13 Joseph Myers <joseph@codesourcery.com>
7294
7295 * timezone/zic.c: Update from tzcode 2013b.
7296
e98cdb38
CD
72972013-03-12 Carlos O'Donell <carlos@redhat.com>
7298
7299 * manual/install.texi (Configuring and compiling):
7300 Mention i686 and i586.
7301 * INSTALL: Regenerate.
7302
9967e003
RM
73032013-03-12 Roland McGrath <roland@hack.frob.com>
7304
7305 * sysdeps/init_array/elf-init.c: New file.
7306 * csu/elf-init.c
7307 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7308 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7309
7310 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7311 __gmon_start__ as global, but as static with a .preinit_array pointer.
7312 * sysdeps/init_array/gmon-start.c: New file. Use that.
7313 * sysdeps/init_array/crti.S: New file, empty except for comments.
7314 * sysdeps/init_array/crtn.S: Likewise.
7315
e6b5a293 73162013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
7317
7318 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7319 definining bcopy.
80f844c9
OB
7320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7321 Remove Prefer_SSE_for_memop.
7322 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7323 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7324 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
7325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7326 memset-x86-64.
80f844c9 7327 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 7328 Remove bzero, memset ifunc support.
80f844c9
OB
7329 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7330 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7331 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7332 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7333
fb6b0fcb
AS
73342013-03-11 Andreas Schwab <schwab@suse.de>
7335
7336 [BZ #15234]
7337 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7338 by SHLIB_COMPAT.
7339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7340 (GLIBC_2.16): Remove pthread_atfork.
7341
3e6bd4b1
PP
73422013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7343
7344 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7345 (ptestcases.h): Likewise.
7346
222d7f00
RM
73472013-03-08 Roland McGrath <roland@hack.frob.com>
7348
7349 * Makeconfig ($(common-objpfx)config.status): Depend on
7350 sysdeps/*/preconfigure{,.in} too.
7351
1ba4f030
JM
73522013-03-08 Joseph Myers <joseph@codesourcery.com>
7353
a222d91a
JM
7354 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7355 (__free_hook): Use void * instead of __malloc_ptr_t.
7356 (__malloc_hook): Likewise.
7357 (__realloc_hook): Likewise.
7358 (__memalign_hook): Likewise.
7359 (__after_morecore_hook): Likewise.
7360 * malloc/arena.c (save_malloc_hook): Likewise.
7361 (save_free_hook): Likewise.
7362 * malloc/hooks.c (malloc_hook_ini): Likewise.
7363 (realloc_hook_ini): Likewise.
7364 (memalign_hook_ini): Likewise.
7365 * malloc/malloc.c (malloc_hook_ini): Likewise.
7366 (realloc_hook_ini): Likewise.
7367 (memalign_hook_ini): Likewise.
7368 (__free_hook): Likewise.
7369 (__malloc_hook): Likewise.
7370 (__realloc_hook): Likewise.
7371 (__memalign_hook): Likewise.
7372 (__libc_malloc): Likewise.
7373 (__libc_free): Likewise.
7374 (__libc_realloc): Likewise.
7375 (__libc_memalign): Likewise.
7376 (__libc_valloc): Likewise.
7377 (__libc_pvalloc): Likewise.
7378 (__libc_calloc): Likewise.
7379 (__posix_memalign): Likewise.
7380 * malloc/morecore.c (__sbrk): Likewise.
7381 (__default_morecore): Likewise.
7382
5cc45e10
JM
7383 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7384
dd54b864
JM
7385 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7386 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7387 __malloc_ptrdiff_t.
7388
1ba4f030
JM
7389 * malloc/malloc.h (__malloc_size_t): Remove macro.
7390 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7391 __malloc_size_t.
7392 (old_memalign_hook): Likewise.
7393 (old_realloc_hook): Likewise.
7394 (struct hdr): Likewise.
7395 (flood): Likewise.
7396 (mallochook): Likewise.
7397 (memalignhook): Likewise.
7398 (reallochook): Likewise.
7399 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7400 (tr_old_realloc_hook): Likewise.
7401 (tr_old_memalign_hook): Likewise.
7402 (tr_mallochook): Likewise.
7403 (tr_reallochook): Likewise.
7404 (tr_memalignhook): Likewise.
7405
edf66e57
AZ
74062013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7407
7408 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7409 default_ldbl_pack and using as default implementation.
7410 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7411 implementation.
7412 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7413 redundant definition.
7414 (ldbl_insert_mantissa): Likewise.
7415 (ldbl_canonicalize): Likewise.
7416 (ldbl_nearbyint): Likewise.
7417 (ldbl_pack): Rename to ldbl_pack_ppc.
7418 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7419 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7420 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7421
6d9145d8
SP
74222013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7423
7424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7425 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7426 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7427 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7429 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7430 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7431 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7432
4dd4e157
AJ
74332013-03-07 Andreas Jaeger <aj@suse.de>
7434
7435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7436 bits/mman-linux.h.
7437
adbb8027
SP
74382013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7439
ce544b5b
SP
7440 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7441 Include mpa.h and declare __MPEXP.
7442 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7443 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7444 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7445 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7446 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7447 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7448 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7449
4cc149fd
SP
7450 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7451 (__slowpow): Use long double EXPL and LOGL functions to
7452 compute POW.
7453 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7454 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7455 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7456 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7457 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7458 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7459
e6ebd4a7
SP
7460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7461 intermediate variable to calculate exponent.
7462 (__sqr): Likewise.
7463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7464 Likewise.
7465 (__sqr): Likewise.
7466
82a9811d
SP
7467 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7468 [!NO__SQR]: Define __sqr.
7469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7470 and NO__SQR. Remove all code except __mul and __sqr. Include
7471 sysdeps/ieee754/dbl-64/mpa.c.
7472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7473
adbb8027
SP
7474 [BZ #12723]
7475 * posix/Makefile (tests): Add tst-pathconf.
7476 * posix/tst-pathconf.c: New test case.
7477 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7478 _PC_PIPE_BUF.
7479 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7480
39120df9
PF
74812013-03-06 Patsy Franklin <pfrankli@redhat.com>
7482
7483 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7484
67525cb8
AJ
74852013-03-06 Andreas Jaeger <aj@suse.de>
7486
664a9ce4
AJ
7487 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7488 definition via __MAP_ANONYMOUS.
7489
8e39047d
AJ
7490 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7491 it's not part of Linux headers.
7492
67525cb8
AJ
7493 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7494 (MAP_HUGE_MASK): Define.
7495
7496 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7497 Define.
7498 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7499 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7500 Define.
7501 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7502 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7503 Define.
7504 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7505 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7506 Define.
7507 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7508
7509 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7510 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7511 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7512 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7513 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7514 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7515
7516 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7517 Handle f2fs.
7518
7519 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7520 Handle f2fs and efivarfs.
7521
7522 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7523 f2fs.
7524
7525 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7526 (EFIVARFS_MAGIC): Add.
7527 (F2FS_LINK_MAX): Add.
7528
e1b42695
PP
75292013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7530
7531 * stdio-common/vfprintf.c: Replace __builtin_expect with
7532 __glibc_unlikely.
7533
2d67d91a
JM
75342013-03-06 Joseph Myers <joseph@codesourcery.com>
7535
7536 [BZ #13550]
7537 * sysdeps/generic/bp-sym.h: Remove file.
7538 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7539 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7540 <bp-sym.h> and <bp-asm.h>.
7541 (__longjmp): Don't use BP_SYM.
7542 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7543 and <bp-asm.h>.
7544 (memcpy): Don't use BP_SYM.
7545 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7546 <bp-sym.h> and <bp-asm.h>.
7547 (memcpy): Don't use BP_SYM.
7548 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7549 <bp-asm.h>.
7550 (memcpy): Don't use BP_SYM.
7551 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7552 <bp-asm.h>.
7553 (memset): Don't use BP_SYM.
7554 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7555 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7556 (__bzero): Don't use BP_SYM.
7557 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7558 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7559 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7560 <bp-sym.h> and <bp-asm.h>.
7561 (memcmp): Don't use BP_SYM. Remove comment about bounded
7562 pointers.
7563 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7564 <bp-sym.h> and <bp-asm.h>.
7565 (memcpy): Don't use BP_SYM.
7566 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7567 <bp-sym.h> and <bp-asm.h>.
7568 (memset): Don't use BP_SYM.
7569 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7570 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7571 (__bzero): Don't use BP_SYM.
7572 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7573 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7574 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7575 <bp-sym.h> and <bp-asm.h>.
7576 (strncmp): Don't use BP_SYM. Remove comment about bounded
7577 pointers.
7578 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7579 <bp-sym.h> and <bp-asm.h>.
7580 (memcpy): Don't use BP_SYM.
7581 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7582 <bp-sym.h> and <bp-asm.h>.
7583 (memset): Don't use BP_SYM.
7584 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7585 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7586 (__bzero): Don't use BP_SYM.
7587 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7588 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7589 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7590 <bp-sym.h> and <bp-asm.h>.
7591 (__memchr): Don't use BP_SYM.
7592 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7593 <bp-sym.h> and <bp-asm.h>.
7594 (memcmp): Don't use BP_SYM. Remove comment about bounded
7595 pointers.
7596 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7597 <bp-sym.h> and <bp-asm.h>.
7598 (memcpy): Don't use BP_SYM.
7599 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7600 <bp-sym.h> and <bp-asm.h>.
7601 (__mempcpy): Don't use BP_SYM.
7602 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7603 <bp-sym.h> and <bp-asm.h>.
7604 (__memrchr): Don't use BP_SYM.
7605 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7606 <bp-sym.h> and <bp-asm.h>.
7607 (memset): Don't use BP_SYM.
7608 (__bzero): Likewise.
7609 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7610 <bp-sym.h> and <bp-asm.h>.
7611 (__rawmemchr): Don't use BP_SYM.
7612 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7613 <bp-sym.h> and <bp-asm.h>.
7614 (__STRCMP): Don't use BP_SYM.
7615 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7616 <bp-sym.h> and <bp-asm.h>.
7617 (strchr): Don't use BP_SYM.
7618 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7619 <bp-sym.h> and <bp-asm.h>.
7620 (__strchrnul): Don't use BP_SYM.
7621 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7622 <bp-sym.h> and <bp-asm.h>.
7623 (strlen): Don't use BP_SYM.
7624 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7625 <bp-sym.h> and <bp-asm.h>.
7626 (strncmp): Don't use BP_SYM. Remove comment about bounded
7627 pointers.
7628 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7629 <bp-sym.h> and <bp-asm.h>.
7630 (__strnlen): Don't use BP_SYM.
7631 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7632 <bp-sym.h> and <bp-asm.h>.
7633 (__GI__setjmp): Don't use BP_SYM.
7634 (_setjmp): Likewise.
7635 (__sigsetjmp): Likewise.
7636 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7637 (L(start_addresses)): Don't use BP_SYM.
7638 (_start): Likewise.
7639 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7640 <bp-asm.h>.
7641 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7642 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7643 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7644 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7645 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7646 <bp-asm.h>.
7647 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7648 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7649 about bounded pointers.
7650 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7651 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7652 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7653 <bp-asm.h>.
7654 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7655 about bounded pointers. Remove GKM FIXME comments.
7656 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7657 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7658 <bp-asm.h>.
7659 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7660 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7661 Remove GKM FIXME comments.
7662 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7663 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7664 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7665 <bp-asm.h>.
7666 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7667 about bounded pointers. Remove GKM FIXME comment.
7668 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7669 and <bp-asm.h>.
7670 (strncmp): Don't use BP_SYM. Remove comment about bounded
7671 pointers.
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7673 <bp-sym.h> and <bp-asm.h>.
7674 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7676 <bp-sym.h> and <bp-asm.h>.
7677 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7678 comment.
7679
cdcf361f
PP
76802013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7681
7682 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7683 call free(NULL).
7684
3c4a2b15
DM
76852013-03-05 David S. Miller <davem@davemloft.net>
7686
7687 * po/es.po: Update from translation team.
7688
cdcf361f 76892013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
7690
7691 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7692 <bits/mman-linux.h>.
7693 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7694 is fine.
7695 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7696 <bits/mman-linux.h> to end of file.
7697 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7698 is fine.
7699 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7700 <bits/mman-linux.h> to end of file.
7701 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7702 is fine.
7703 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7704 <bits/mman-linux.h> to end of file.
7705
7706 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7707 (MCL_CURRENT, MCL_FUTURE): Define here.
7708
5f67c04f
AK
77092013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7710
8a4473cc 7711 [BZ #15232]
5f67c04f
AK
7712 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7713 attribute_hidden.
7714 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7715
c3e94a95
AK
77162013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7717
7718 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7719 fourth parameter needed for rt_sigprocmask syscall.
7720 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7721 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7722 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7723 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7724 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7725 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7726
cfb6382a
JM
77272013-03-04 Joseph Myers <joseph@codesourcery.com>
7728
7729 [BZ #13550]
7730 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7731 comment about bounded pointers.
7732 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7733 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7734
539d8e01
AJ
77352013-03-04 Andreas Jaeger <aj@suse.de>
7736
7737 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7738 common definitions.
7739
7740 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7741 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7742 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7743 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7744 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7745 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7746
2e167a70 77472013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7748
7749 [BZ #15055]
7750 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7751 __ieee754_sqrl instead of __sqrl.
7752
68508633
JM
77532013-03-01 Joseph Myers <joseph@codesourcery.com>
7754
7755 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7756 * sysdeps/powerpc/fpu_control.h: ... here.
7757 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7758 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7759 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7760 * sysdeps/powerpc/bits/mathinline.h: ... here.
7761
7775448e
RM
77622013-03-01 Roland McGrath <roland@hack.frob.com>
7763
7764 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7765 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7766 to just [NEED_DL_SYSINFO_DSO].
7767 * elf/dl-support.c: Likewise.
7768 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7769 * elf/rtld.c (dl_main): Likewise.
7770 * elf/setup-vdso.h (setup_vdso): Likewise.
7771 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7772 * sysdeps/unix/sysv/linux/dl-sysdep.c
7773 (_dl_discover_osversion): Likewise.
7774
4e9b5995
CD
77752013-03-01 Carlos O'Donell <carlos@redhat.com>
7776
7777 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7778 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7779
e23872c8
SP
77802013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7781
e5c74c63
SP
7782 * NEWS: Mention libm performance improvements and non-x86 PI
7783 futex support.
7784
e23872c8
SP
7785 * csu/libc-start.c (__pthread_initialize_minimal): Change
7786 function arguments.
7787 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7788
b5510883
JM
77892013-02-28 Joseph Myers <joseph@codesourcery.com>
7790
7791 [BZ #13550]
7792 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7793 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7794 <bp-sym.h> and <bp-asm.h>.
7795 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7796 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7797 and <bp-asm.h>.
7798 (memcpy): Don't use BP_SYM.
7799 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7800 <bp-asm.h>.
7801 (__mpn_add_n): Don't use BP_SYM.
7802 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7803 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7804 and <bp-asm.h>.
7805 (__mpn_addmul_1): Don't use BP_SYM.
7806 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7807 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7808 <bp-sym.h>.
7809 (_setjmp): Don't use BP_SYM.
7810 (__novmx_setjmp): Likewise.
7811 (__GI__setjmp): Likewise.
7812 (__vmx_setjmp): Likewise.
7813 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7814 <bp-sym.h>.
7815 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7816 (__bzero): Don't use BP_SYM.
7817 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7818 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7819 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7820 <bp-sym.h> and <bp-asm.h>.
7821 (memcpy): Don't use BP_SYM.
7822 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7823 <bp-sym.h> and <bp-asm.h>.
7824 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7825 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7826 <bp-sym.h> and <bp-asm.h>.
7827 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7828 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7829 <bp-asm.h>.
7830 (__mpn_lshift): Don't use BP_SYM.
7831 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7832 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7833 <bp-asm.h>.
7834 (memset): Don't use BP_SYM.
7835 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7836 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7837 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7838 <bp-asm.h>.
7839 (__mpn_mul_1): Don't use BP_SYM.
7840 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7841 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7842 <bp-sym.h> and <bp-asm.h>.
7843 (memcmp): Don't use BP_SYM.
7844 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7845 <bp-sym.h> and <bp-asm.h>.
7846 (memcpy): Don't use BP_SYM.
7847 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7848 <bp-sym.h> and <bp-asm.h>.
7849 (memset): Don't use BP_SYM.
7850 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7851 <bp-sym.h> and <bp-asm.h>.
7852 (strncmp): Don't use BP_SYM.
7853 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7854 <bp-sym.h> and <bp-asm.h>.
7855 (memcpy): Don't use BP_SYM.
7856 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7857 <bp-sym.h> and <bp-asm.h>.
7858 (memset): Don't use BP_SYM.
7859 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7860 <bp-sym.h> and <bp-asm.h>.
7861 (__memchr): Don't use BP_SYM.
7862 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7863 <bp-sym.h> and <bp-asm.h>.
7864 (memcmp): Don't use BP_SYM.
7865 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7866 <bp-sym.h> and <bp-asm.h>.
7867 (memcpy): Don't use BP_SYM.
7868 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7869 <bp-sym.h> and <bp-asm.h>.
7870 (__mempcpy): Don't use BP_SYM.
7871 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7872 <bp-sym.h> and <bp-asm.h>.
7873 (__memrchr): Don't use BP_SYM.
7874 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7875 <bp-sym.h> and <bp-asm.h>.
7876 (memset): Don't use BP_SYM.
7877 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7878 <bp-sym.h> and <bp-asm.h>.
7879 (__rawmemchr): Don't use BP_SYM.
7880 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7881 <bp-sym.h> and <bp-asm.h>.
7882 (__STRCMP): Don't use BP_SYM.
7883 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7884 <bp-sym.h> and <bp-asm.h>.
7885 (strchr): Don't use BP_SYM.
7886 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7887 <bp-sym.h> and <bp-asm.h>.
7888 (__strchrnul): Don't use BP_SYM.
7889 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7890 <bp-sym.h> and <bp-asm.h>.
7891 (strlen): Don't use BP_SYM.
7892 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7893 <bp-sym.h> and <bp-asm.h>.
7894 (strncmp): Don't use BP_SYM.
7895 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7896 <bp-sym.h> and <bp-asm.h>.
7897 (__strnlen): Don't use BP_SYM.
7898 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7899 <bp-asm.h>.
7900 (__mpn_rshift): Don't use BP_SYM.
7901 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7902 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7903 <bp-sym.h> and <bp-asm.h>.
7904 (__sigsetjmp): Don't use BP_SYM.
7905 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7906 (L(start_addresses)): Don't use BP_SYM.
7907 (_start): Likewise.
7908 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7909 <bp-asm.h>.
7910 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7911 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7912 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7913 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7914 <bp-asm.h>.
7915 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7916 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7917 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7918 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7919 <bp-asm.h>.
7920 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7921 comments.
7922 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7923 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7924 <bp-asm.h>.
7925 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7926 FIXME comments.
7927 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7928 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7929 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7930 <bp-asm.h>.
7931 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7932 comment.
7933 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7934 and <bp-asm.h>.
7935 (strncmp): Don't use BP_SYM,
7936 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7937 <bp-asm.h>.
7938 (__mpn_sub_n): Don't use BP_SYM.
7939 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7940 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7941 and <bp-asm.h>.
7942 (__mpn_submul_1): Don't use BP_SYM.
7943 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7945 <bp-sym.h> and <bp-asm.h>.
7946 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7948 <bp-sym.h> and <bp-asm.h>.
7949 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7950 comment.
7951
8d19fe64
SP
79522013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7953
7954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7955 Use ZK to minimize writes to Z.
7956 (sub_magnitudes): Simplify code a bit.
7957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7958 Use ZK to minimize writes to Z.
7959 (sub_magnitudes): Simplify code a bit.
7960
85bd816a
RM
79612013-02-27 Roland McGrath <roland@hack.frob.com>
7962
7963 * csu/gmon-start.c: Add special exception to license text.
7964
b5977bf2
RH
79652013-02-27 Richard Henderson <rth@redhat.com>
7966
7967 * scripts/config.guess: Update from config.git.
7968 * scripts/config.sub: Likewise.
7969
11d6e2f2
SP
79702013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7971
09c14ed2
SP
7972 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7973
a688864e
SP
7974 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7975
6295157a
SP
7976 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7977
b8de2202
SP
7978 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7979
11d6e2f2
SP
7980 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7981
7e80ddb8
RM
79822013-02-26 Roland McGrath <roland@hack.frob.com>
7983
7984 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7985 [$(build-shared = yes].
7e80ddb8 7986
7da6d9ed
SP
79872013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7988
45f05884
SP
7989 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7990 (__mul): Reduce iterations for calculating mantissa.
7991
2236d359
SP
7992 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7993 MPTWO.
7994 (__mpranred): Likewise.
7995
7da6d9ed
SP
7996 [BZ #15160]
7997 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7998 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7999
b7688c42
PE
80002013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8001
8002 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8003 Define __attribute__.
8004
53a5c423
SP
80052013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8006
8007 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8008 unused.
8009 * posix/regex_internal.h (__attribute): Remove.
8010 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8011 (re_string_context_at): Likewise.
8012 (bitset_not): Use __attribute__ and mark function as possibly
8013 unused.
8014 (bitset_merge): Likewise.
8015 (bitset_mask): Likewise.
8016 (re_string_char_size_at): Likewise.
8017 (re_string_wchar_at): Likewise.
8018 (re_string_elem_size_at): Likewise.
8019
60f5a8b5
SP
80202013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8021
2a983a2e
SP
8022 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8023 code.
8024 (cc32): Likewise.
8025
e69804d1
SP
8026 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8027 (__acr): Likewise.
8028 (__cpy): Likewise.
8029 (norm): Likewise.
8030 (denorm): Likewise.
8031 (__dbl_mp): Likewise.
8032 (add_magnitudes): Likewise.
8033 (sub_magnitudes): Likewise.
8034 (__mul): Likewise.
8035 (__inv): Likewise.
8036
2f22a1e8
SP
8037 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8038 style.
8039
8930ddc7
SP
8040 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8041 style.
8042
dc60cb11
SP
8043 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8044 code.
8045
60f5a8b5
SP
8046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8047 up changes with default code.
8048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8049 Likewise.
8050
b4d1fd33
AM
80512013-02-24 Allan McRae <allan@archlinux.org>
8052
faf6f8bc
AM
8053 * manual/socket.texi (The Internet Namespace): Order menu items
8054 to match that in the file.
8055
b4d1fd33
AM
8056 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8057 node listing of the info page menu.
8058
2366713d
JM
80592013-02-21 Joseph Myers <joseph@codesourcery.com>
8060
8061 [BZ #13550]
8062 * sysdeps/i386/bp-asm.h: Remove file.
8063 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8064 (PARMS): Do not use macros from bp-asm.h.
8065 (S1): Likewise.
8066 (S2): Likewise.
8067 (SIZE): Likewise.
8068 (__mpn_add_n): Do not use BP_SYM
8069 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8070 "bp-asm.h".
8071 (PARMS): Do not use macros from bp-asm.h.
8072 (S1): Likewise.
8073 (SIZE): Likewise.
8074 (__mpn_addmul_1): Do not use BP_SYM
8075 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8076 "bp-asm.h".
8077 (PARMS): Do not use macros from bp-asm.h.
8078 (SIGMSK): Likewise.
8079 (_setjmp): Likewise. Do not use BP_SYM.
8080 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8081 "bp-asm.h".
8082 (PARMS): Do not use macros from bp-asm.h.
8083 (SIGMSK): Likewise.
8084 (setjmp): Likewise. Do not use BP_SYM.
8085 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8086 "bp-asm.h".
8087 (PARMS): Do not use macros from bp-asm.h.
8088 (__frexp): Do not use BP_SYM.
8089 (frexp): Likewise.
8090 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8091 "bp-asm.h".
8092 (PARMS): Do not use macros from bp-asm.h.
8093 (__frexpf): Do not use BP_SYM.
8094 (frexpf): Likewise.
8095 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8096 "bp-asm.h".
8097 (PARMS): Do not use macros from bp-asm.h.
8098 (__frexpl): Do not use BP_SYM.
8099 (frexpl): Likewise.
8100 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8101 "bp-asm.h".
8102 (PARMS): Do not use macros from bp-asm.h.
8103 (__remquo): Do not use BP_SYM.
8104 (remquo): Likewise.
8105 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8106 "bp-asm.h".
8107 (PARMS): Do not use macros from bp-asm.h.
8108 (__remquof): Do not use BP_SYM.
8109 (remquof): Likewise.
8110 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8111 "bp-asm.h".
8112 (PARMS): Do not use macros from bp-asm.h.
8113 (__remquol): Do not use BP_SYM.
8114 (remquol): Likewise.
8115 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8116 "bp-asm.h".
8117 (PARMS): Do not use macros from bp-asm.h.
8118 (DEST): Likewise.
8119 (SRC): Likewise.
8120 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8121 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8122 "bp-asm.h".
8123 (PARMS): Do not use macros from bp-asm.h.
8124 (strlen): Do not use BP_SYM.
8125 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8126 "bp-asm.h".
8127 (PARMS): Do not use macros from bp-asm.h.
8128 (S1): Likewise.
8129 (S2): Likewise.
8130 (SIZE): Likewise.
8131 (__mpn_add_n): Do not use BP_SYM.
8132 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8133 "bp-asm.h".
8134 (PARMS): Do not use macros from bp-asm.h.
8135 (S1): Likewise.
8136 (SIZE): Likewise.
8137 (__mpn_addmul_1): Do not use BP_SYM.
8138 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8139 weak_alias.
8140 (bzero): Likewise.
8141 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8142 "bp-asm.h".
8143 (PARMS): Do not use macros from bp-asm.h.
8144 (S): Likewise.
8145 (SIZE): Likewise.
8146 (__mpn_lshift): Do not use BP_SYM.
8147 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8148 "bp-asm.h".
8149 (PARMS): Do not use macros from bp-asm.h.
8150 (DEST): Likewise.
8151 (SRC): Likewise.
8152 (LEN): Likewise.
8153 (memcpy): Likewise. Do not use BP_SYM.
8154 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8155 libc_hidden_def and weak_alias.
8156 (mempcpy): Do not use BP_SYM in weak_alias.
8157 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8158 "bp-asm.h".
8159 (PARMS): Do not use macros from bp-asm.h.
8160 (DEST): Likewise.
8161 (LEN): Likewise.
8162 [!BZERO_P] (CHR): Likewise.
8163 (memset): Likewise. Do not use BP_SYM.
8164 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8165 "bp-asm.h".
8166 (PARMS): Do not use macros from bp-asm.h.
8167 (S1): Likewise.
8168 (SIZE): Likewise.
8169 (__mpn_mul_1): Do not use BP_SYM.
8170 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8171 "bp-asm.h".
8172 (PARMS): Do not use macros from bp-asm.h.
8173 (S): Likewise.
8174 (SIZE): Likewise.
8175 (__mpn_rshift): Do not use BP_SYM.
8176 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8177 "bp-asm.h".
8178 (PARMS): Do not use macros from bp-asm.h.
8179 (STR): Likewise.
8180 (CHR): Likewise.
8181 (strchr): Likewise. Do not use BP_SYM.
8182 (index): Do not use BP_SYM in weak_alias.
8183 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8184 "bp-asm.h".
8185 (PARMS): Do not use macros from bp-asm.h.
8186 (DEST): Likewise.
8187 (SRC): Likewise.
8188 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8189 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8190 "bp-asm.h".
8191 (PARMS): Do not use macros from bp-asm.h.
8192 (strlen): Do not use BP_SYM.
8193 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8194 "bp-asm.h".
8195 (PARMS): Do not use macros from bp-asm.h.
8196 (S1): Likewise.
8197 (S2): Likewise.
8198 (SIZE): Likewise.
8199 (__mpn_sub_n): Do not use BP_SYM.
8200 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8201 "bp-asm.h".
8202 (PARMS): Do not use macros from bp-asm.h.
8203 (S1): Likewise.
8204 (SIZE): Likewise.
8205 (__mpn_submul_1): Do not use BP_SYM.
8206 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8207 "bp-asm.h".
8208 (PARMS): Do not use macros from bp-asm.h.
8209 (S1): Likewise.
8210 (S2): Likewise.
8211 (SIZE): Likewise.
8212 (__mpn_add_n): Do not use BP_SYM.
8213 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8214 weak_alias.
8215 (bzero): Likewise.
8216 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8217 "bp-asm.h".
8218 (PARMS): Do not use macros from bp-asm.h.
8219 (BLK2): Likewise.
8220 (LEN): Likewise.
8221 (memcmp): Do not use BP_SYM.
8222 (bcmp): Do not use BP_SYM in weak_alias.
8223 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8224 "bp-asm.h".
8225 (PARMS): Do not use macros from bp-asm.h.
8226 (DEST): Likewise.
8227 (SRC): Likewise.
8228 (LEN): Likewise.
8229 (memcpy): Likewise. Do not use BP_SYM.
8230 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8231 "bp-asm.h".
8232 (PARMS): Do not use macros from bp-asm.h.
8233 (DEST): Likewise.
8234 (SRC): Likewise.
8235 (LEN): Likewise.
8236 (memmove): Likewise. Do not use BP_SYM.
8237 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8238 "bp-asm.h".
8239 (PARMS): Do not use macros from bp-asm.h.
8240 (DEST): Likewise.
8241 (SRC): Likewise.
8242 (LEN): Likewise.
8243 (__mempcpy): Likewise. Do not use BP_SYM.
8244 (mempcpy): Do not use BP_SYM in weak_alias.
8245 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8246 "bp-asm.h".
8247 (PARMS): Do not use macros from bp-asm.h.
8248 (DEST): Likewise.
8249 (LEN): Likewise.
8250 [!BZERO_P] (CHR): Likewise.
8251 (memset): Likewise. Do not use BP_SYM.
8252 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8253 "bp-asm.h".
8254 (PARMS): Do not use macros from bp-asm.h.
8255 (STR2): Likewise.
8256 (strcmp): Do not use BP_SYM.
8257 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8258 "bp-asm.h".
8259 (PARMS): Do not use macros from bp-asm.h.
8260 (STR): Likewise.
8261 (DELIM): Likewise.
8262 [USE_AS_STRTOK_R] (SAVE): Likewise.
8263 (FUNCTION): Likewise. Do not use BP_SYM.
8264 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8265 aliases.
8266 (strtok_r): Likewise.
8267 (__GI___strtok_r): Likewise.
8268 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8269 (PARMS): Do not use macros from bp-asm.h.
8270 (S): Likewise.
8271 (SIZE): Likewise.
8272 (__mpn_lshift): Do not use BP_SYM.
8273 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8274 (PARMS): Do not use macros from bp-asm.h.
8275 (STR): Likewise.
8276 (CHR): Likewise.
8277 (__memchr): Do not use BP_SYM.
8278 (memchr): Do not use BP_SYM in weak_alias.
8279 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8280 (PARMS): Do not use macros from bp-asm.h.
8281 (BLK2): Likewise.
8282 (LEN): Likewise.
8283 (memcmp): Do not use BP_SYM.
8284 (bcmp): Do not use BP_SYM in weak_alias.
8285 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8286 (PARMS): Do not use macros from bp-asm.h.
8287 (S1): Likewise.
8288 (SIZE): Likewise.
8289 (__mpn_mul_1): Do not use BP_SYM.
8290 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8291 "bp-asm.h".
8292 (PARMS): Do not use macros from bp-asm.h.
8293 (STR): Likewise.
8294 (CHR): Likewise.
8295 (__rawmemchr): Do not use BP_SYM.
8296 (rawmemchr): Do not use BP_SYM in weak_alias.
8297 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8298 (PARMS): Do not use macros from bp-asm.h.
8299 (S): Likewise.
8300 (SIZE): Likewise.
8301 (__mpn_rshift): Do not use BP_SYM.
8302 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8303 (PARMS): Do not use macros from bp-asm.h.
8304 (SIGMSK): Likewise.
8305 (__sigsetjmp): Likewise. Do not use BP_SYM.
8306 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8307 (_start): Do not use BP_SYM.
8308 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8309 (PARMS): Do not use macros from bp-asm.h.
8310 (DEST): Likewise.
8311 (SRC): Likewise.
8312 (__stpcpy): Likewise. Do not use BP_SYM.
8313 (stpcpy): Do not use BP_SYM in weak_alias.
8314 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8315 "bp-asm.h".
8316 (PARMS): Do not use macros from bp-asm.h.
8317 (DEST): Likewise.
8318 (SRC): Likewise.
8319 (LEN): Likewise.
8320 (__stpncpy): Likewise. Do not use BP_SYM.
8321 (stpncpy): Do not use BP_SYM in weak_alias.
8322 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8323 (PARMS): Do not use macros from bp-asm.h.
8324 (STR): Likewise.
8325 (CHR): Likewise.
8326 (strchr): Likewise. Do not use BP_SYM.
8327 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8328 "bp-asm.h".
8329 (PARMS): Do not use macros from bp-asm.h.
8330 (STR): Likewise.
8331 (CHR): Likewise.
8332 (__strchrnul): Likewise. Do not use BP_SYM.
8333 (strchrnul): Do not use BP_SYM in weak_alias.
8334 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8335 "bp-asm.h".
8336 (PARMS): Do not use macros from bp-asm.h.
8337 (STOP): Likewise.
8338 (strcspn): Do not use BP_SYM.
8339 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8340 "bp-asm.h".
8341 (PARMS): Do not use macros from bp-asm.h.
8342 (STR): Likewise.
8343 (STOP): Likewise.
8344 (strpbrk): Likewise. Do not use BP_SYM.
8345 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8346 "bp-asm.h".
8347 (PARMS): Do not use macros from bp-asm.h.
8348 (STR): Likewise.
8349 (CHR): Likewise.
8350 (strrchr): Likewise. Do not use BP_SYM.
8351 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8352 (PARMS): Do not use macros from bp-asm.h.
8353 (SKIP): Likewise.
8354 (strspn): Do not use BP_SYM.
8355 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8356 (PARMS): Do not use macros from bp-asm.h.
8357 (STR): Likewise.
8358 (DELIM): Likewise.
8359 (SAVE): Likewise.
8360 (FUNCTION): Likewise. Do not use BP_SYM.
8361 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8362 aliases.
8363 (strtok_r): Likewise.
8364 (__GI___strtok_r): Likewise.
8365 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8366 (PARMS): Do not use macros from bp-asm.h.
8367 (S1): Likewise.
8368 (S2): Likewise.
8369 (SIZE): Likewise.
8370 (__mpn_sub_n): Do not use BP_SYM.
8371 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8372 "bp-asm.h".
8373 (PARMS): Do not use macros from bp-asm.h.
8374 (S1): Likewise.
8375 (SIZE): Likewise.
8376 (__mpn_submul_1): Do not use BP_SYM.
8377 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8378 <bp-sym.h>.
8379 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8380 and <bp-asm.h>.
8381 (PARMS): Do not use macros from bp-asm.h.
8382 (FLAGS): Likewise.
8383 (PTID): Likewise.
8384 (TLS): Likewise.
8385 (CTID): Likewise.
8386 (__clone): Do not use BP_SYM.
8387 (clone): Do not use BP_SYM in weak_alias.
8388 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8389 and <bp-asm.h>.
8390 (PARMS): Do not use macros from bp-asm.h.
8391 (LEN): Likewise.
8392 (__mmap64): Do not use BP_SYM.
8393 (mmap64): Do not use BP_SYM in weak_alias.
8394 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8395 <bp-sym.h> and <bp-asm.h>.
8396 (PARMS): Do not use macros from bp-asm.h.
8397 (__posix_fadvise64_l64): Do not use BP_SYM.
8398 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8399 (PARMS): Do not use macros from bp-asm.h.
8400 (NSOPS): Likewise.
8401 (semtimedop): Do not use BP_SYM.
8402 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8403 and <bp-asm.h>.
8404
582a3cff
AM
84052013-02-21 Allan McRae <allan@archlinux.org>
8406
8407 * manual/message.texi (Charset conversion in gettext):
8408 Move @end statement to beginning of line.
8409
bab8a695
SP
84102013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8411
80945231
SP
8412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8413 static.
8414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8415 Likewise.
8416
bab8a695
SP
8417 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8418 (denorm): Likewise.
8419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8421
e21d7aa7
AK
84222013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8423
8424 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8425 tail-call to the resolved function if pltexit isn't needed.
8426
4c7a4263
SP
84272013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8428
8429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8430 or Y being zero as being unlikely.
8431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8432 Likewise.
8433
41f49342
CD
84342013-02-20 Carlos O'Donell <carlos@redhat.com>
8435
8436 * manual/nss.texi (System Databases and Name Service Switch):
8437 Remove frobnicate @pxref.
8438
50022a93
TS
84392013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8440
8441 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8442 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8443
08cbd996
PM
84442013-02-20 Petr Machata <pmachata@redhat.com>
8445
8446 * elf/elf.h (R_ARM_TARGET1): New macro.
8447 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8448 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8449 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8450 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8451 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8452 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8453 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8454 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8455 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8456 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8457 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8458 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8459 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8460 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8461 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8462 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8463 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8464 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8465 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8466 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8467 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8468 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8469 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8470 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8471 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8472 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8473 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8474 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8475 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8476 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8477 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8478 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8479 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8480 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8481 (R_ARM_THM_GOT_BREL12): Likewise.
8482 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8483 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8484 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8485 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8486 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8487 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8488 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8489 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8490 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8491
c7b275d6
TS
84922013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8493
8494 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8495 __attribute_used__ to __attribute__ ((unused)).
8496
20cd7fb3
SP
84972013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8498
8499 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8500 powerpc mpa.c.
8501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8502 comment formatting.
8503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8504
92945b52
JM
85052013-02-19 Joseph Myers <joseph@codesourcery.com>
8506
8507 [BZ #13550]
8508 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8509 Remove macro.
8510 (ENTER): Remove both macro definitions.
8511 (LEAVE): Likewise.
8512 (CHECK_BOUNDS_LOW): Likewise.
8513 (CHECK_BOUNDS_HIGH): Likewise.
8514 (CHECK_BOUNDS_BOTH): Likewise.
8515 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8516 (RETURN_BOUNDED_POINTER): Likewise.
8517 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8518 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8519 (POP_ERRNO_LOCATION_RETURN): Likewise.
8520 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8521 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8522 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8523 macros.
8524 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8525 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8526 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8527 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8528 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8529 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8530 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8531 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8532 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8533 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8534 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8535 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8536 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8537 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8538 removed macros.
8539 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8540 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8541 macros.
8542 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8543 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8544 * sysdeps/i386/i586/memset.S (memset): Likewise.
8545 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8546 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8547 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8548 macros.
8549 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8550 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8551 Change uses of L(2) to L(out).
8552 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8553 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8554 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8555 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8556 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8557 removed macros.
8558 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8559 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8560 macros.
8561 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8562 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8563 (RETURN): Do not use macro LEAVE.
8564 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8565 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8566 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8567 * sysdeps/i386/i686/memset.S (memset): Likewise.
8568 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8569 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8570 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8571 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8572 Likewise.
8573 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8574 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8575 L(1_2) and L(1_3) into L(1).
8576 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8577 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8578 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8579 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8580 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8581 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8582 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8583 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8584 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8585 macros.
8586 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8587 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8588 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8589 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8590 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8591 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8592 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8593 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8594 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8595 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8596 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8597 * sysdeps/i386/strspn.S (strspn): Likewise.
8598 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8599 conditional code.
8600 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8601 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8602 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8603 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8604 L(1_3) into L(1_1).
8605 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8606 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8607 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8608 macros.
8609 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8610
2389741a
JJ
86112013-02-19 Jakub Jelinek <jakub@redhat.com>
8612
8613 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8614 macro.
8615
2016b3cd
SP
86162013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8617
e4f22324
SP
8618 * math/atest-exp.c (exp_mpn): Remove ROUND.
8619 * math/atest-exp2.c (exp_mpn): Likewise.
8620 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8621
2016b3cd
SP
8622 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8623 * stdlib/tst-tls-atexit-lib.c: Likewise.
8624 * stdlib/tst-tls-atexit.c: Likewise.
8625
4be9b544
MF
86262013-02-18 Mike Frysinger <vapier@gentoo.org>
8627
8628 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8629 and __attribute_alloc_size__.
8630
2f62b9ee
MF
86312013-02-18 Mike Frysinger <vapier@gentoo.org>
8632
8633 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8634 __attribute_alloc_size__.
8635 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8636 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8637
6ff444c4
MF
86382013-02-18 Mike Frysinger <vapier@gentoo.org>
8639
8640 * include/programs/xmalloc.h: New file.
8641 * catgets/gencat.c: Include it.
8642 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8643 * elf/pldd.c: Likewise.
8644 * iconv/iconv_charmap.c: Likewise.
8645 * iconv/iconvconfig.c: Likewise.
8646 * iconv/strtab.c: Likewise.
8647 * locale/programs/locale.c: Likewise.
8648 * locale/programs/localedef.h: Likewise.
8649 * locale/programs/simple-hash.c: Likewise.
8650 * nscd/nscd.h: Likewise.
8651 * nss/makedb.c: Likewise.
8652 * sysdeps/generic/ldconfig.h: Likewise.
8653
be179c8a
SP
86542013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8655
ba384f6e
SP
8656 * Versions.def: Add GLIBC_2.18.
8657 * include/link.h (struct link_map): New member l_tls_dtor_count.
8658 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8659 (__call_tls_dtors): Likewise.
8660 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8661 __cxa_thread_atexit_impl.
8662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8663 Likewise.
8664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8665 Likewise.
8666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8667 Likewise.
8668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8669 Likewise.
8670 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8672 Likewise.
8673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8674 Likewise.
8675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8677 Likewise.
8678 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8679 (tests): Add test case tst-tls-atexit.
8680 (modules-names): Add shared library for tst-tls-atexit.
85891aca 8681 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
8682 (GLIBC_PRIVATE): Add __call_tls_dtors.
8683 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8684 for libstdc++.
8685 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8686 * stdlib/tst-tls-atexit.c: New test case.
8687 * stdlib/tst-tls-atexit-lib.c: New test case.
8688
ffaa74cf 8689 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 8690
be179c8a
SP
8691 * elf/Versions (ld): Add _dl_find_dso_for_object.
8692 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8693 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8694 (dl_open_worker): Use _dl_find_dso_for_object.
8695 * elf/dl-sym.c (do_sym): Likewise.
8696 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8697
f78b5caa
AK
86982013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8699
8700 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8701 Syntactic changes only.
8702 (_dl_runtime_profile): Do a tail-call to the resolved function.
8703
29691210
JM
87042013-02-17 Joseph Myers <joseph@codesourcery.com>
8705
8706 [BZ #13550]
8707 * sysdeps/x86_64/bp-asm.h: Remove file.
8708 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8709 <bp-sym.h> and <bp-asm.h>.
8710 (__clone): Do not use BP_SYM.
8711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8712 <bp-sym.h> and <bp-asm.h>.
8713 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8714 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8715 "bp-asm.h".
8716 (_setjmp): Do not use BP_SYM.
8717 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8718 "bp-asm.h".
8719 (setjmp): Do not use BP_SYM.
8720 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8721 libc_hidden_def.
8722 (mempcpy): Do not use BP_SYM in weak_alias.
8723 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8724 "bp-asm.h".
8725 (strchr): Do not use BP_SYM.
8726 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8727 "bp-asm.h".
8728 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8729 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8730 (_start): Do not use BP_SYM.
8731 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8732 "bp-asm.h".
8733 (strcat): Do not use BP_SYM.
8734 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8735 "bp-asm.h".
8736 (STRCMP): Do not use BP_SYM.
8737 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8738 "bp-asm.h".
8739 (STRCPY): Do not use BP_SYM.
8740 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8741 "bp-asm.h".
8742 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8743 "bp-asm.h".
8744 (FUNCTION): Do not use BP_SYM.
8745 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8746 weak_alias.
8747 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8748
f238fd19
AJ
87492013-02-17 Andreas Jaeger <aj@suse.de>
8750
8751 * time/Versions: Sort entries.
8752 * string/Versions: Likewise.
8753 * resolv/Versions: Likewise.
8754 * posix/Versions: Likewise.
8755 * iconv/Versions: Likewise.
8756 * elf/Versions: Likewise.
8757 * wcsmbs/Versions: Likewise.
8758
bd07f23c 87592013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8760
22af19f9
SP
8761 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8762 loop termination condition.
8763
4709fe76
SP
8764 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8765 variable to calculate EZ.
8766 (__sqr): Likewise.
2d0e0f29
SP
8767
8768 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8769 the lower precision input.
8770
daaa7713
JM
87712013-02-15 Joseph Myers <joseph@codesourcery.com>
8772
8773 [BZ #13550]
8774 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8775 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8776 (run-via-rtld-prefix): Do not handle %-bp tests.
8777 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8778 (all-object-suffixes): Remove .ob.
8779 (bppfx): Remove variable.
8780 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8781 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8782 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8783 [$(build-bounded) = yes] (libtype.ob): Likewise.
8784 * Makerules (elide-routines.ob): Remove variable.
8785 (do-tests-clean): Do not handle *-bp.out.
8786 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8787 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8788 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8789 (tests): Do not include $(tests-bp.out).
8790 (xtests): Do not include $(xtests-bp.out).
8791 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8792 [$(build-bounded) = yes] ($(addprefix
8793 $(objpfx),$(binaries-bounded))): Remove rule.
8794 ($(objpfx)%-bp.out): Remove rule.
8795 * config.make.in (build-bounded): Remove variable.
8796 * crypt/Makefile [$(build-bounded) = yes]
8797 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8798 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8799 append to variable.
8800 [$(build-bounded) = yes] (install-lib): Likewise.
8801 [$(build-bounded) = yes] (generated): Likewise.
8802 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8803 Remove rule.
8804 * intl/Makefile [$(build-bounded) = yes]
8805 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8806 * math/Makefile [$(build-bounded) = yes]
8807 ($(tests:%=$(objpfx)%-bp): Likewise.
8808 * misc/Makefile [$(build-bounded) = yes]
8809 ($(objpfx)tst-tsearch-bp): Likewise.
8810 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8811 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8812 Remove dependency.
8813 * string/Makefile (o-objects.ob): Remove variable.
8814 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8815 (CFLAGS-.ob): Remove variable.
8816 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8817 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8818 both definitions of variable.
8819 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8820 (ASFLAGS-.ob): Remove variable.
8821
e97ed6dd
JM
88222013-02-14 Joseph Myers <joseph@codesourcery.com>
8823
2bdd4ca6
JM
8824 [BZ #13550]
8825 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8826 Remove __BOUNDED_POINTERS__ from condition.
8827 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8828 * string/bits/string2.h [!__NO_STRING_INLINES &&
8829 !__BOUNDED_POINTERS__]: Likewise.
8830 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8831 Likewise.
8832 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8833 Remove conditional code.
8834 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8835 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8836 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8837 condition.
8838
e97ed6dd
JM
8839 [BZ #13550]
8840 * csu/libc-start.c: Do not include <bp-sym.h>.
8841 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8842 * elf/dl-open.c: Do not include <bp-sym.h>.
8843 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8844 * math/fegetenv.c: Do not include <bp-sym.h>.
8845 (fegetenv): Do not use BP_SYM in versioned symbols.
8846 * nptl/sysdeps/pthread/bits/libc-lockP.h
8847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8848 <bp-sym.h>.
8849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8850 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8852 (__pthread_mutex_destroy): Likewise.
8853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8854 (__pthread_mutex_lock): Likewise.
8855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8856 (__pthread_mutex_trylock): Likewise.
8857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8858 (__pthread_mutex_unlock): Likewise.
8859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8860 (__pthread_mutexattr_init): Likewise.
8861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8862 (__pthread_mutexattr_destroy): Likewise.
8863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8864 (__pthread_mutexattr_settype): Likewise.
8865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8866 (__pthread_rwlock_init): Likewise.
8867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8868 (__pthread_rwlock_destroy): Likewise.
8869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8870 (__pthread_rwlock_rdlock): Likewise.
8871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8872 (__pthread_rwlock_tryrdlock): Likewise.
8873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8874 (__pthread_rwlock_wrlock): Likewise.
8875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8876 (__pthread_rwlock_trywrlock): Likewise.
8877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8878 (__pthread_rwlock_unlock): Likewise.
8879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8880 (__pthread_key_create): Likewise.
8881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8882 (__pthread_setspecific): Likewise.
8883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8884 (__pthread_getspecific): Likewise.
8885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8886 Likewise.
8887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8888 (_pthread_cleanup_push_defer): Likewise.
8889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8890 (_pthread_cleanup_pop_restore): Likewise.
8891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8892 (pthread_setcancelstate): Likewise.
8893 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8894 <bp-sym.h>.
8895 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8896 (memchr): Do not use BP_SYM in weak_alias.
8897 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8898 (fegetenv): Do not use BP_SYM in versioned symbols.
8899 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8900 (fesetenv): Do not use BP_SYM in versioned symbols.
8901 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8902 (feupdateenv): Do not use BP_SYM in versioned symbols.
8903 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8904 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8905 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8906 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8907 (open64): Do not use BP_SYM in weak_alias.
8908 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8909 (fegetenv): Do not use BP_SYM in versioned symbols.
8910 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8911 (fesetenv): Do not use BP_SYM in versioned symbols.
8912 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8913 (feupdateenv): Do not use BP_SYM in versioned symbols.
8914 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8915 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8916 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8917 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8918 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8919 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8920 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8921 <bp-sym.h>.
8922 (__libc_start_main): Do not use BP_SYM.
8923
d6752ccd
SP
89242013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8925
cb57ce60
SP
8926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8927 redundant return line.
8928 (norm): Likewise.
8929 (denorm): Likewise.
8930 (dbl_mp): Likewise.
8931 (sub_magnitudes): Likewise.
8932 (__add): Likewise.
8933 (__sub): Likewise.
8934 (__mul): Likewise.
8935 (__inv): Likewise.
8936 (__dvd): Likewise.
8937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8938 (norm): Likewise.
8939 (denorm): Likewise.
8940 (dbl_mp): Likewise.
8941 (sub_magnitudes): Likewise.
8942 (__add): Likewise.
8943 (__sub): Likewise.
8944 (__mul): Likewise.
8945 (__inv): Likewise.
8946 (__dvd): Likewise.
8947
f414520d
SP
8948 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8949 instead of __mul.
8950 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8951 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8952 (cc32): Likewise.
8953
d6752ccd
SP
8954 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8955 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8956 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8957 of __mul for squares.
8958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8959 function
8960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8961 Likewise.
8962 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8963 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8964
70d9946a
JM
89652013-02-13 Joseph Myers <joseph@codesourcery.com>
8966
8967 [BZ #13550]
8968 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8969 code.
8970 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8971 prototype or function definition. Rename ubp_* variables and
8972 parameters. Remove argv definitions conditional on
8973 [__BOUNDED_POINTERS__].
8974 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8975 * elf/dl-runtime.c (_dl_fixup): Likewise.
8976 * include/set-hooks.h (RUN_HOOK): Likewise.
8977 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8978 definition.
8979 * string/strcpy.c (strcpy): Do not use __unbounded.
8980 * sysdeps/generic/frame.h (struct layout): Likewise.
8981 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8982 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8983 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8984 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8985 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8986 (__backtrace): Likewise.
8987 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8988 use __ptrvalue.
8989 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8990 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8991 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8992 Likewise.
8993 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8994 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8995 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8996 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8997 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8998 Do not use __unbounded.
8999 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9000 Rename __unboundedrlimits parameter to rlimits in prototype.
9001 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9002 Do not use __unbounded.
9003 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9004 not use __ptrvalue.
9005 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9006 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9007 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9008 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9009 __ptrvalue or __unbounded.
9010 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9011 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9012 use __unbounded.
9013 (__new_msgctl): Do not use __ptrvalue.
9014 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9015 __unbounded.
9016 (__libc_msgrcv): Do not use __ptrvalue.
9017 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9018 startup_info): Do not use __unbounded.
9019 (__libc_start_main): Likewise. Rename ubp_* variables and
9020 parameters. Remove argv definitions conditional on
9021 [__BOUNDED_POINTERS__].
9022 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9023 __ptrvalue.
9024 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9025 use __unbounded.
9026 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9027 or __ptrvalue.
9028 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9029 use __unbounded.
9030 (__new_shmctl): Do not use __ptrvalue.
9031 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9032 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9033 Likewise.
9034 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9035 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9036 (__libc_sigaction): Likewise.
9037 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9038 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9039 Likewise.
9040 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9041
cc7834d6
OB
90422013-02-13 Ondřej Bílka <neleai@seznam.cz>
9043
ffb1ec7b 9044 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9045
9046 * string/mempcpy.c: Implement by calling memcpy.
9047
bdf02814
SP
90482013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9049
c2af38aa
SP
9050 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9051
4e92d59e
SP
9052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9053 evaluation.
9054
909279a5
SP
9055 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9056 values in the mantissa.
9057
bdf02814
SP
9058 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9059 minimize writes to Z.
9060 (sub_magnitudes): Simplify code a bit.
9061
cd525923
RM
90622013-02-12 Roland McGrath <roland@hack.frob.com>
9063
9064 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9065 from the message. The linker prefixes all warnings with that already.
9066
7e2f0d2d
AS
90672013-02-12 Andreas Schwab <schwab@suse.de>
9068
a445af0b
AS
9069 [BZ #15078]
9070 * posix/regexec.c (extend_buffers): Add parameter min_len.
9071 (check_matching): Pass minimum needed length.
9072 (clean_state_log_if_needed): Likewise.
9073 (get_subexp): Likewise.
9074 * posix/Makefile (tests): Add bug-regex34.
9075 (bug-regex34-ENV): Define.
9076 * posix/bug-regex34.c: New file.
9077
7e2f0d2d
AS
9078 [BZ #11561]
9079 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9080 elements compare against the byte sequence of it, not its name.
9081 * posix/Makefile (tests): Add bug-regex35.
9082 (bug-regex35-ENV): Define.
9083 * posix/bug-regex35.c: New file.
9084
a175b684
TV
90852013-02-11 Tom de Vries <tom@codesourcery.com>
9086
9087 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9088 comment.
9089 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9090 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9091 (CHECK_EOL): Add undef.
9092
310998fe 90932013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
9094
9095 * bits/stdlib-bsearch.h: New file.
9096 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 9097 * stdlib/stdlib.h: Likewise.
41eda41d 9098
8ded91fb
RM
90992013-02-11 Roland McGrath <roland@hack.frob.com>
9100
9101 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9102 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9103 declaration.
9104 * manual/search.texi (Array Search Function): Add missing const in
9105 lfind prototype.
9106 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9107 declaration to use rlim_t.
9108 (Basic Scheduling Functions): Remove erroneous const from
9109 sched_getparam prototype. Remove erroneous * from
9110 sched_get_priority_max and sched_get_priority_min prototypes.
9111 (Resource Usage): Fix summary @comment on vtimes to refer to
9112 sys/vtimes.h rather than vtimes.h.
9113 Add missing *s in vtimes prototype.
9114 (Limits on Resources): Fix ulimit prototype to return long int.
9115 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9116 prototypes to use long int rather than double.
9117 (BSD Random): Fix initstate and setstate to use char *, not void *.
9118 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9119 prototype to make second argument 'struct aiocb64 *const[]'.
9120 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9121 (Status of AIO Operations): Remove erroneous const in aio_return and
9122 aio_return64 prototypes.
9123 (Synchronizing I/O): Fix sync prototype to return void.
9124 * manual/startup.texi (Suboptions): Remove an erroneous const in
9125 getsubopt prototype.
9126 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9127 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9128 use size_t rather than int.
9129 (Scanning All Users): Likewise for getpwent_r.
9130 (Setting Groups): Add missing const to setgroups prototype.
9131 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9132 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9133 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9134 'const void *' rather than 'const char *'.
9135 (Host Address Functions): Likewise for inet_ntop.
9136 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9137 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9138 ssize_t for return value.
9139 (Sending Data): Likewise for send, sendto, sendmsg.
9140 (Socket Option Functions): Add a missing const in setsockopt prototype.
9141 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9142 use wchar_t for the argument.
9143 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9144 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9145 take no arguments.
9146 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9147 double/float/long double for second argument.
9148 Fix return types of significand, significandf, significandl.
9149 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9150 argument in fchmod prototype.
9151 (File Owner): Use uid_t and gid_t in fchown prototype.
9152 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9153 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9154 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9155 use 'const struct dirent **' as argument types to CMP function pointer
9156 argument.
9157 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9158 (File Times): Fix summary magic @comment for struct utimbuf and utime
9159 to refer to utime.h, not time.h.
9160 * manual/string.texi (Argz Functions): Add missing const in
9161 argz_extract and argz_next prototypes.
9162 (Finding Tokens in a String): Likewise for basename.
9163 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9164 (Copying and Concatenation): Fix typo in wmemmove prototype.
9165 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9166 (Signal Stack): Remove erroneous const in sigstack prototype.
9167 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9168 prototype.
9169 (Simple Calendar Time): Likewise for stime.
9170 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9171 prototype.
9172 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9173 say sys/sysctl.h instead.
9174 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9175 and vsyslog prototypes.
9176
fe77fe6d
TV
91772013-02-11 Tom de Vries <tom@codesourcery.com>
9178
9179 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9180 Remove.
9181
3a09b620
RM
91822013-02-11 Roland McGrath <roland@hack.frob.com>
9183
9184 * misc/sys/mman.h: Fix typo in mremap comment.
9185
550a0b89
RM
91862013-02-08 Roland McGrath <roland@hack.frob.com>
9187
9188 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9189 the '\0' terminator.
9190
a2da1673
JM
91912013-02-08 Joseph Myers <joseph@codesourcery.com>
9192
9193 [BZ #13550]
9194 * debug/segfault.c: Don't include <bp-checks.h>.
9195 * sysdeps/generic/bp-checks.h: Remove file.
9196 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9197 (__GETDENTS): Don't use CHECK_N.
9198 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9199 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9200 (__getgroups): Don't use CHECK_N.
9201 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9202 (setgroups): Don't use CHECK_N.
9203 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9204 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9205 (__libc_msgrcv): Don't use CHECK_N.
9206 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9207 (__libc_msgsnd): Don't use CHECK_N.
9208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9209 <bp-checks.h>.
9210 (__libc_pread): Don't use CHECK_N.
9211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9212 include <bp-checks.h>.
9213 (__libc_pread64): Don't use CHECK_N.
9214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9215 include <bp-checks.h>.
9216 (__libc_pwrite): Don't use CHECK_N.
9217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9218 include <bp-checks.h>.
9219 (__libc_pwrite64): Don't use CHECK_N.
9220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9221 <bp-checks.h>.
9222 (__libc_pread): Don't use CHECK_N.
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9224 include <bp-checks.h>.
9225 (__libc_pread64): Don't use CHECK_N.
9226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9227 include <bp-checks.h>.
9228 (__libc_pwrite): Don't use CHECK_N.
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9230 include <bp-checks.h>.
9231 (__libc_pwrite64): Don't use CHECK_N.
9232 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9233 (do_pread): Don't use CHECK_N.
9234 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9235 (do_pread64): Don't use CHECK_N.
9236 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9237 (do_pwrite): Don't use CHECK_N.
9238 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9239 (do_pwrite64): Don't use CHECK_N.
9240 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9241 (__libc_readv): Don't use CHECK_N.
9242 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9243 (semop): Don't use CHECK_N.
9244 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9245 <bp-checks.h>.
9246 (semtimedop): Don't use CHECK_N.
9247 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9248 (__libc_pread): Don't use CHECK_N.
9249 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9250 <bp-checks.h>.
9251 (__libc_pread64): Don't use CHECK_N.
9252 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9253 <bp-checks.h>.
9254 (__libc_pwrite): Don't use CHECK_N.
9255 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9256 <bp-checks.h>.
9257 (__libc_pwrite64): Don't use CHECK_N.
9258 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9259 <bp-checks.h>.
9260 (__libc_msgrcv): Don't use CHECK_N.
9261 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9262 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9263 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9264 (__libc_writev): Don't use CHECK_N.
9265
b84660a8
RM
92662013-02-08 Roland McGrath <roland@hack.frob.com>
9267
7f3e75f8
RM
9268 * string/strcpy.c: Removed unused variable.
9269
b84660a8
RM
9270 * Makeconfig (+sysdep-includes): Define with := rather than =.
9271 Use an existing include/ subdir of each sysdeps dir before it.
9272
471514d3
CD
92732013-02-08 Carlos O'Donell <carlos@redhat.com>
9274
9275 * nscd/connection.c (register_traced_file): Comment function.
9276 [HAVE_INOTIFY] (union __inev): Define.
9277 [HAVE_INOTIFY] (inotify_check_files): New function.
9278 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9279 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9280 clear_db_cache.
9281 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9282
b2d3c3be
CD
92832013-02-08 Carlos O'Donell <carlos@redhat.com>
9284
9285 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9286 loaded if not already and that a failure is permanent.
9287
b39949d2
CD
92882013-02-08 Carlos O'Donell <carlos@redhat.com>
9289
ddacd1db 9290 [BZ #15006]
b39949d2
CD
9291 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9292 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9293
b2c9eff4
JM
92942013-02-08 Joseph Myers <joseph@codesourcery.com>
9295
f3aae3f3
JM
9296 [BZ #13550]
9297 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9298 (CHECK_1_NULL_OK): Likewise.
9299 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9300 (__fxstat): Do not use CHECK_1.
9301 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9302 <bp-checks.h>.
9303 (___fxstat64): Do not use CHECK_1.
9304 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9305 <bp-checks.h>.
9306 (__fxstatat): Do not use CHECK_1.
9307 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9308 <bp-checks.h>.
9309 (__fxstatat64): Do not use CHECK_1.
9310 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9311 <bp-checks.h>.
9312 (__fxstat): Do not use CHECK_1.
9313 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9314 <bp-checks.h>.
9315 (__fxstatat): Do not use CHECK_1.
9316 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9317 <bp-checks.h>.
9318 (__getresgid): Do not use CHECK_1.
9319 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9320 <bp-checks.h>.
9321 (__getresuid): Do not use CHECK_1.
9322 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9323 <bp-checks.h>.
9324 (__lxstat): Do not use CHECK_1.
9325 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9326 <bp-checks.h>.
9327 (__old_msgctl): Do not use CHECK_1.
9328 (__new_msgctl): Likewise.
9329 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9330 <bp-checks.h>.
9331 (__new_setrlimit): Do not use CHECK_1.
9332 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9333 <bp-checks.h>.
9334 (__old_shmctl): Do not use CHECK_1.
9335 (__new_shmctl): Likewise.
9336 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9337 <bp-checks.h>.
9338 (__xstat): Do not use CHECK_1.
9339 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9340 (__lxstat): Do not use CHECK_1.
9341 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9342 <bp-checks.h>.
9343 (___lxstat64): Do not use CHECK_1.
9344 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9345 (__old_msgctl): Do not use CHECK_1.
9346 (__new_msgctl): Likewise.
9347 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9348 <bp-checks.h>.
9349 (__gettimeofday): Do not use CHECK_1.
9350 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9351 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9352 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9353 <bp-checks.h>.
9354 (__gettimeofday): Do not use CHECK_1.
9355 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9356 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9357 (__new_shmctl): Do not use CHECK_1.
9358 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9359 <bp-checks.h>.
9360 (do_sigtimedwait): Do not use CHECK_1.
9361 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9362 <bp-checks.h>.
9363 (do_sigwaitinfo): Do not use CHECK_1.
9364 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9365 <bp-checks.h>.
9366 (msgctl): Do not use CHECK_1.
9367 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9368 <bp-checks.h>.
9369 (shmctl): Do not use CHECK_1.
9370 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9371 (ustat): Do not use CHECK_1.
9372 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9373 <bp-checks.h>.
9374 (__fxstat): Do not use CHECK_1.
9375 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9376 <bp-checks.h>.
9377 (__fxstatat): Do not use CHECK_1.
9378 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9379 <bp-checks.h>.
9380 (__lxstat): Do not use CHECK_1.
9381 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9382 <bp-checks.h>.
9383 (__xstat): Do not use CHECK_1.
9384 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9385 (__xstat): Do not use CHECK_1.
9386 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9387 (___xstat64): Do not use CHECK_1.
9388
b2c9eff4
JM
9389 [BZ #13550]
9390 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9391 definitions.
9392 (CHECK_BOUNDS_HIGH): Likewise.
9393 * string/strcpy.c: Do not include <bp-checks.h>.
9394 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9395
f1d70dad
RM
93962013-02-07 Roland McGrath <roland@hack.frob.com>
9397
9398 * nscd/nscd-client.h (__nscd_drop_map_ref):
9399 Add __attribute__ ((unused)).
9400 * nis/nss-nisplus.h (niserr2nss): Likewise.
9401
9402 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9403 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9404
9405 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9406 Remove inline keyword.
9407 * include/rounding-mode.h (round_away): Likewise.
9408 * libio/wfileops.c (adjust_wide_data): Likewise.
9409 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9410 (__m128i_strloadu_tolower): Likewise.
9411 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9412 (__m128i_strloadu_tolower): Likewise.
9413 * time/mktime.c (ydhms_diff): Likewise.
9414 * locale/elem-hash.h (elem_hash): Likewise.
9415 * locale/setlocale.c (setdata): Likewise.
9416 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9417 (re_string_wchar_at): Likewise.
9418 (bitset_not, bitset_merge, bitset_mask): Likewise.
9419 [!(__GNUC__ > 3)] (inline): Remove macro.
9420 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9421 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9422 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9423 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9424 * string/memcmp.c (memcmp_bytes): Likewise.
9425 * locale/programs/locarchive.c (compute_hashval): Likewise.
9426 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9427 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9428 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9429 * nss/getent.c (print_rpc, print_protocols): Likewise.
9430 (print_passwd, print_group, print_aliases): Likewise.
9431 * nis/nss-nisplus.h (niserr2nss): Likewise.
9432 * nscd/connections.c (restart_p): Likewise.
9433 Change return type to bool.
9434
eab55bfb
RM
94352013-02-05 Roland McGrath <roland@hack.frob.com>
9436
7bd642f5
RM
9437 * Makeconfig (all-Depend-files): Add existing
9438 $(sorted-subdirs:=/Depend) files.
9439 (all-subdirs): Remove nss.
9440 * sysdeps/unix/inet/Subdirs: Add it here instead.
9441 * hesiod/Depend: New file.
9442
573c29b2
RM
9443 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9444 instead of calling alloca.
9445
b2e25af0
RM
9446 * io/lseek.c (__lseek): Rename to __libc_lseek.
9447 Define __lseek as an alias.
9448
eab55bfb
RM
9449 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9450
9a0d1941
CD
94512013-02-04 Carlos O'Donell <carlos@redhat.com>
9452
9453 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9454 else clause and remove check for non-standard endianness.
9455
b83bbec4
DM
94562013-02-04 David S. Miller <davem@davemloft.net>
9457
9458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9459
6277fdab
JM
94602013-02-04 Joseph Myers <joseph@codesourcery.com>
9461
9462 [BZ #13550]
9463 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9464 (__ubp_memchr): Remove prototype.
9465 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9466 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9467 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9468 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9469 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9470 Remove alias.
9471 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9472 (__ubp_memchr): Likewise.
9473 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9474 (__ubp_memchr): Likewise.
9475 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9476 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9477 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9478 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9479 CHECK_STRING.
9480 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9481 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9482 (__getcwd): Do not use CHECK_STRING.
9483 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9484 <bp-checks.h>.
9485 (__real_chown): Do not use CHECK_STRING.
9486 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9487 <bp-checks.h>.
9488 (fchownat): Do not use CHECK_STRING.
9489 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9490 CHECK_STRING.
9491 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9492 <bp-checks.h>.
9493 (__lchown): Do not use CHECK_STRING.
9494 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9495 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9496 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9497 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9499 include <bp-checks.h>.
9500 (truncate64): Do not use CHECK_STRING.
9501 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9502 <bp-checks.h>.
9503 (__real_chown): Do not use CHECK_STRING.
9504 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9505 <bp-checks.h>.
9506 (__lchown): Do not use CHECK_STRING.
9507 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9508 <bp-checks.h>.
9509 (__chown): Do not use CHECK_STRING.
9510 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9511 <bp-checks.h>.
9512 (truncate64): Do not use CHECK_STRING.
9513 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9514 Likewise.
9515 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9516 (__xmknod): Do not use CHECK_STRING.
9517 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9518 <bp-checks.h>.
9519 (__xmknodat): Do not use CHECK_STRING.
9520 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9521 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9522
903ae060
AS
95232013-02-04 Andreas Schwab <schwab@suse.de>
9524
9525 [BZ #14142]
9526 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9527 * include/netdb.h: Likewise for h_errno.
9528 * elf/tst-stackguard1.c: Include <tls.h>.
9529
542f9466
JK
95302013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9531
9532 * elf/link.h (struct link_map): Extend the l_addr comment.
9533 * include/link.h (struct link_map): Likewise.
9534
e782a927
JM
95352013-02-01 Joseph Myers <joseph@codesourcery.com>
9536
9537 [BZ #13550]
9538 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9539 (BOUNDED_1): Remove macro.
9540 * debug/backtrace.c: Don't include <bp-checks.h>.
9541 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9542 (__backtrace): Likewise.
9543 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9544 <bp-checks.h>.
9545 (__backtrace): Don't use BOUNDED_1.
9546 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9547 <bp-checks.h>.
9548 (__backtrace): Don't use BOUNDED_1.
9549 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9550 (__backtrace): Don't use BOUNDED_1.
9551 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9552 (shmat): Don't use BOUNDED_N.
9553
8cf28c5e
JM
95542013-01-31 Joseph Myers <joseph@codesourcery.com>
9555
3a7ac8a0
JM
9556 [BZ #13550]
9557 * sysdeps/generic/bp-start.h: Remove file.
9558 * csu/libc-start.c: Don't include <bp-start.h>.
9559 (LIBC_START_MAIN): Set up __environ directly instead of using
9560 INIT_ARGV_and_ENVIRON.
9561 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9562 <bp-start.h>.
9563
f3499f95
JM
9564 [BZ #13550]
9565 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9566 definitions.
9567 (CHECK_FCNTL): Likewise.
9568 (CHECK_N_PAGES): Likewise.
9569
32a45bea
JM
9570 [BZ #13550]
9571 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9572 definitions.
9573 (CHECK_SIGSET_NULL_OK): Likewise.
9574 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9575 <bp-checks.h>.
9576 (sigpending): Don't use CHECK_SIGSET.
9577 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9578 <bp-checks.h>.
9579 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9580 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9581 <bp-checks.h>.
9582 (do_sigsuspend): Don't use CHECK_SIGSET.
9583 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9584 use CHECK_SIGSET.
9585 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9586 (do_sigwait): Don't use CHECK_SIGSET.
9587 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9588 use CHECK_SIGSET.
9589 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9590 include <bp-checks.h>.
9591 (sigpending): Don't use CHECK_SIGSET.
9592 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9593 include <bp-checks.h>.
9594 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9595 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9596 <bp-checks.h>.
9597 (sigpending): Don't use CHECK_SIGSET.
9598 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9599 <bp-checks.h>.
9600 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9601
2e8a5c8c
JM
9602 [BZ #13550]
9603 * sysdeps/generic/bp-semctl.h: Remove file.
9604 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9605 <bp-checks.h> and <bp-semctl.h>.
9606 (__old_semctl): Don't use CHECK_SEMCTL.
9607 (__new_semctl): Likewise.
9608 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9609 and <bp-semctl.h>.
9610 (__old_semctl): Don't use CHECK_SEMCTL.
9611 (__new_semctl): Likewise.
9612 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9613 <bp-checks.h> and <bp-semctl.h>.
9614 (__old_semctl): Don't use CHECK_SEMCTL.
9615 (__new_semctl): Likewise.
9616 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9617 <bp-checks.h> and <bp-semctl.h>.
9618 (semctl): Don't use CHECK_SEMCTL.
9619
c2d54929
JM
9620 [BZ #13550]
9621 * Makerules (elide-bp-thunks): Remove variable.
9622 (elide-routines.oS): Don't use $(elide-bp-thunks).
9623 (elide-routines.os): Likewise.
9624 (elide-routines.o): Likewise.
9625 (elide-routines.op): Likewise.
9626 (elide-routines.og): Likewise.
9627 (objects): Don't use $(bp-thunks).
9628 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9629 include.
9630 (common-generated): Do not add s-proto-bp.d.
9631 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9632 (int): Likewise.
9633 (typ): Likewise.
9634 Do not generate makefile rules for bounded-pointer thunks.
9635 * sysdeps/generic/bp-thunks.h: Remove file.
9636 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9637 * sysdeps/unix/s-proto-bp.S: Likewise.
9638
8cf28c5e
JM
9639 [BZ #15062]
9640 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9641 parts of result separately when argument is not close to line from
9642 -i to i and one part of argument is small.
9643 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9644 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9645 * math/libm-test.inc (cacos_test): Add more tests.
9646 (casin_test): Likewise.
9647 (casinh_test): Likewise.
9648 * sysdeps/i386/fpu/libm-test-ulps: Update.
9649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9650
c4e33b8d
DM
96512013-01-31 David S. Miller <davem@davemloft.net>
9652
9653 * po/de.po: Update from translation team.
9654
3b60b421
MK
96552013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9656
9657 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9658
bb931195
TS
96592013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9660
b5a5da23
TS
9661 * configure.in (_AC_PROG_CC_C89): New definition.
9662 * configure: Regenerate.
9663
bb931195
TS
9664 * configure.in (AC_PROG_CPP): New definition.
9665 * configure: Regenerate.
9666
8c53a12c
JM
96672013-01-23 Joseph Myers <joseph@codesourcery.com>
9668
9669 * debug/tst-backtrace.h: New file.
9670 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9671 (ret): Remove variable.
9672 (x): Likewise.
9673 (FAIL): Remove macro.
9674 (NO_INLINE): Likewise.
9675 (fn1): Use match function instead of strstr.
9676 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9677 (ret): Remove variable.
9678 (x): Likewise.
9679 (FAIL): Remove macro.
9680 (NO_INLINE): Likewise.
9681 (fn): Use match function instead of strstr.
9682 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9683 (ret): Remove variable.
9684 (x): Likewise.
9685 (FAIL): Remove macro.
9686 (NO_INLINE): Likewise.
9687 (handle_signal): Use match function instead of strstr.
9688 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9689 (ret): Remove variable.
9690 (x): Likewise.
9691 (FAIL): Remove macro.
9692 (NO_INLINE): Likewise.
9693 (handle_signal): Use match function instead of strstr.
9694
4858fa2a
RM
96952013-01-23 Roland McGrath <roland@hack.frob.com>
9696
9697 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9698
bae8e7f5
DM
96992013-01-23 David S. Miller <davem@davemloft.net>
9700
9701 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9702 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9703 argument of CAS if possible.
9704 * sysdeps/sparc/sparc64/bits/atomic.h
9705 (__arch_compare_and_exchange_val_32_acq): Likewise.
9706 (__arch_compare_and_exchange_val_64_acq): Likewise.
9707
9cbbc4ae
PT
97082013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9709
9710 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9711 * sysdeps/posix/ulimit.c: ... this.
92a601b8 9712 Include <limits.h>.
67b3f58c 9713 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 9714
5655a0b5
AC
97152013-01-23 Adam Conrad <adconrad@0c3.net>
9716
9717 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9718 (LDFLAGS-tst-array5): Likewise.
9719
052aff95
JM
97202013-01-23 Joseph Myers <joseph@codesourcery.com>
9721
9722 [BZ #15036]
9723 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9724 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9725 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9726 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9727
7c1e01aa
DM
97282013-01-21 David S. Miller <davem@davemloft.net>
9729
9730 * sysdeps/sparc/backtrace.c: New file.
9731 * sysdeps/sparc/sparc32/backtrace.h: New file.
9732 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9733 * sysdeps/sparc/sparc64/backtrace.h: New file.
9734 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9735 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9736 -funwind-tables.
9737
ab087e0a
AS
97382013-01-21 Andreas Schwab <schwab@suse.de>
9739
9740 [BZ #15020]
9741 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9742 closed its stdout.
9743
ed689c2f
AS
97442013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9745
9746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9747 "mpa2.h".
9748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9749
31d470ac
JM
97502013-01-18 Joseph Myers <joseph@codesourcery.com>
9751 Mark Mitchell <mark@codesourcery.com>
9752 Tom de Vries <tom@codesourcery.com>
9753 Paul Pluzhnikov <ppluzhnikov@google.com>
9754
9755 * debug/tst-backtrace2.c: New file.
9756 * debug/tst-backtrace3.c: Likewise.
9757 * debug/tst-backtrace4.c: Likewise.
9758 * debug/tst-backtrace5.c: Likewise.
9759 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9760 (CFLAGS-tst-backtrace3.c): Likewise.
9761 (CFLAGS-tst-backtrace4.c): Likewise.
9762 (CFLAGS-tst-backtrace5.c): Likewise.
9763 (LDFLAGS-tst-backtrace2): Likewise.
9764 (LDFLAGS-tst-backtrace3): Likewise.
9765 (LDFLAGS-tst-backtrace4): Likewise.
9766 (LDFLAGS-tst-backtrace5): Likewise.
9767 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9768 tst-backtrace4 and tst-backtrace5.
9769
90567f30 97702013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9771 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9772
9773 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9774 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9775 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9776 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9778 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9779 "+r" and remove output regs list as redundant. Add explicit inline
9780 asm to specify register of return val to work around compiler codegen
9781 bug. Remove (int) cast on return value. Add return type parameter to
9782 use in macro so that this macro does not truncate return value for
9783 64-bit values.
9784 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9785 pass to INTERNAL_VSYSCALL_NCS.
9786 (INLINE_VSYSCALL): Add 'long int' as return type to
9787 INTERNAL_VSYSCALL_NCS macro invocation.
9788 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9789 INTERNAL_VSYSCALL_NCS macro invocation.
9790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9791
d3b9ea61
SP
97922013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9793
0b57daeb
SP
9794 [BZ #14496]
9795 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9796 Fix application of SIMD FP exception mask.
9797
caa99d06
SP
9798 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9799 mp_no from a power of two.
9800 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9801 __mpexp_twomm1. Use __pow_mp.
9802
d3b9ea61
SP
9803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9804 multiplication.
9805
1dbaee3c
DM
98062013-01-17 David S. Miller <davem@davemloft.net>
9807
9808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9809
728d7b43
JM
98102013-01-17 Joseph Myers <joseph@codesourcery.com>
9811
9812 [BZ #15023]
9813 * include/complex.h: Condition contents on [!_COMPLEX_H].
9814 (__kernel_casinhf): New prototype.
9815 (__kernel_casinh): Likewise.
9816 (__kernel_casinhl): Likewise.
9817 * math/Makefile (libm_calls): Add k_casinh.
9818 * math/k_casinh.c: New file.
9819 * math/k_casinhf.c: Likewise.
9820 * math/k_casinhl.c: Likewise.
9821 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9822 finite nonzero arguments.
9823 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9824 finite nonzero arguments.
9825 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9826 finite nonzero arguments.
9827 * math/s_casinh.c: Do not include <float.h>.
9828 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9829 * math/s_casinhf.c: Do not include <float.h>.
9830 (__casinhf): Move code for finite nonzero arguments to
9831 k_casinhf.c.
9832 * math/s_casinhl.c: Do not include <float.h>.
9833 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9834 redefine.
9835 (__casinhl): Move code for finite nonzero arguments to
9836 k_casinhl.c.
9837 * math/libm-test.inc (cacos_test): Add more tests.
9838 * sysdeps/i386/fpu/libm-test-ulps: Update.
9839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9840
2a26ef3a
PT
98412013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9842
9843 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9844 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9845 [!HAVE_MREMAP]: Remove [defined linux] case.
9846 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9847
a897655d
SP
98482013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9849
9850 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9851
881ebe89 98522013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9853
9854 * elf/elf.h (R_386_SIZE32): New relocation.
9855 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9856 R_386_SIZE32.
9857 (elf_machine_rela): Likewise.
9858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9859 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9860
59981e9b
JM
98612013-01-17 Joseph Myers <joseph@codesourcery.com>
9862
9863 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9864 (FP_FAST_FMA): Do not define.
9865 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9866 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9867 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9868 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9869 !_SOFT_FLOAT]: Likewise.
9870 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9871 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9872 value.
9873 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9874 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9875 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9876 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9877 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9878 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9879 file.
9880
cfa8054f
AS
98812013-01-16 Andreas Schwab <schwab@suse.de>
9882
9883 [BZ #14327]
9884 * include/stdlib.h (__mktemp): Add declaration.
9885 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9886 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9887
dd930cc5
SP
98882013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9889
881ebe89
SP
9890 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9891 definitions.
9892 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9893 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9894 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9895 definitions here.
9896 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9897 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9898 definitions.
9899 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9900 and ONE.
9901 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9902 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9903 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9904 definitions.
9905 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9906 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9907 definitions.
9908 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9909
dd930cc5
SP
9910 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9911
c19a9f89
DM
99122013-01-15 David S. Miller <davem@davemloft.net>
9913
1aa61767
DM
9914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9915 trunc{,f} to libm-sysdep_routes.
9916 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9918 file.
9919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9921 file.
9922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9923 file.
9924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9926 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9927 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9928 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9929 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9930 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9931 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9932
c42d5e98
DM
9933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9934 nearbyint{,f} to libm-sysdep_routes.
9935 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9937 New file.
9938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9939 file.
9940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9941 New file.
9942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9943 file.
9944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9946 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9947 file.
9948 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9949 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9950 file.
9951 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9952 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9953 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9954
c19a9f89
DM
9955 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9956 libc_feholdexcept and libc_fesetenv.
9957
357679d2
MF
99582013-01-15 Mike Frysinger <vapier@gentoo.org>
9959
9960 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9961
65a82e3d
DM
99622013-01-14 David S. Miller <davem@davemloft.net>
9963
8b954ab9
DM
9964 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9965 (SPARC_ASM_VIS2_IFUNC): Likewise.
9966 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9968 use of 'siam' instruction.
9969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9970 Likewise.
9971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9972 Likewise.
9973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9974 Likewise.
9975 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9980 file.
9981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9982 file.
9983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9984 file.
9985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9986 file.
9987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9992 new VIS2 routines.
9993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9996 Likewise.
9997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9998 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10000 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10002 routines to libm-sysdep_routines.
10003 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10004
65a82e3d
DM
10005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10006 fdim/fdimf to libm-sysdep_routines.
10007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10008 file.
10009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10011 file.
10012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10015 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10016 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10017 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10018 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10019
e34ab705
SP
100202013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10021
2a91b573
SP
10022 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10023 to optimize copies.
10024
1066a534
SP
10025 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10028
e34ab705
SP
10029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10030 local variable MPTWO.
10031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10032 Likewise.
10033
aba5e596
MF
100342013-01-13 Mike Frysinger <vapier@gentoo.org>
10035
10036 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10037 GLOB_NOESCAPE.
10038
e557e9e5
MF
100392013-01-13 Mike Frysinger <vapier@gentoo.org>
10040
10041 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10042
0428cec9
MF
100432013-01-13 Mike Frysinger <vapier@gentoo.org>
10044
10045 * manual/pattern.texi (glob_t): Document gl_flags.
10046 (glob64_t): Likewise.
10047
8794a964
DM
100482013-01-11 David S. Miller <davem@davemloft.net>
10049
66438c3f
RM
10050 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10051 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10052 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
10053 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10054 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10055 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10056 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10057 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10058 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10059 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10060 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10061 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10062 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10063
4ae4244d
DM
10064 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10065 sparc V9 rather than using V8 code.
10066 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10067 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10068
8794a964
DM
10069 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10070 Move to...
10071 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10072 Here.
10073
6270516e
RM
100742013-01-11 Roland McGrath <roland@hack.frob.com>
10075
10076 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10077 not in the main loop.
10078 * configure: Regenerated.
10079
6a57d931
JM
100802013-01-11 Joseph Myers <joseph@codesourcery.com>
10081
10082 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10083 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10084 to just #else.
10085 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10086 [!__GLIBC_HAVE_LONG_LONG] case.
10087 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10088 condition to just #else.
10089 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10090 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10091 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10092 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10093 unconditional.
10094 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10095 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10096 #elif condition to just #else.
10097 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10098 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10099 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10100 #elif condition to just #else.
10101
0e8529e9
SE
101022013-01-11 Steve Ellcey <sellcey@mips.com>
10103
10104 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10105 (EF_MIPS_ARCH_64): Fix value.
10106 (EF_MIPS_ARCH_32R2): New.
10107 (EF_MIPS_ARCH_64R2): New.
10108
740b3dbe
L
101092013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10110
10111 * Makeconfig (+link-pie-before-libc): New.
10112 (+link-pie-after-libc): Likewise.
10113 (+link-pie-tests): Likewise.
10114 (+link-pie): Rewritten.
10115 (link-before-libc): Remove $(config-LDFLAGS).
10116 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10117 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10118 (config-LDFLAGS): Renamed to ...
10119 (rtld-LDFLAGS): This.
10120 (rtld-tests-LDFLAGS): New macro.
10121 (link-libc-rpath-link): Likewise.
10122 (link-libc-tests-rpath-link): Likewise.
10123 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10124 (link-libc): Prepand $(link-libc-rpath-link).
10125 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10126 (test-program-prefix): New macro.
10127 (test-via-rtld-prefix): Likewise.
10128 (test-program-cmd): Likewise.
10129 (host-test-program-cmd): Likewise.
10130 * Makefile ($(common-objpfx)testrun.sh): Replace
10131 $(run-program-prefix) with $(test-program-prefix).
10132 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10133 $(rtld-LDFLAGS).
10134 ($(common-objpfx)shlib.lds): Likewise.
10135 (build-module-helper): Likewise.
10136 ($(common-objpfx)format.lds): Likewise.
10137 * Rules (binaries-pie-tests): New.
10138 (binaries-pie-notests): Likewise.
10139 (binaries-pie): Rewritten.
10140 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10141 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10142 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10143 (make-test-out): Replace $(host-built-program-cmd) with
10144 $(host-test-program-cmd).
10145 * config.make.in (build-hardcoded-path-in-tests): New variable.
10146 * configure.in (--enable-hardcoded-path-in-tests): New configure
10147 option.
10148 (hardcoded_path_in_tests): New AC_SUBST.
10149 * configure: Regenerated.
10150 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10151 $(built-program-cmd) with $(test-program-cmd).
10152 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10153 (test_program_cmd): This.
10154 * elf/Makefile ($(objpfx)order.out): Run test with
10155 $(test-program-prefix).
10156 ($(objpfx)order2.out): Likewise.
10157 ($(objpfx)tst-initorder.out): Likewise.
10158 ($(objpfx)tst-initorder2.out): Likewise.
10159 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10160 $(test-program-cmd).
10161 ($(objpfx)tst-array1-static.out): Likewise.
10162 ($(objpfx)tst-array2.out): Likewise.
10163 ($(objpfx)tst-array3.out): Likewise.
10164 ($(objpfx)tst-array4.out): Likewise.
10165 ($(objpfx)tst-array5.out): Likewise.
10166 ($(objpfx)tst-array5-static.out): Likewise.
10167 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10168 $(test-program-cmd).
10169 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10170 $(run-program-prefix) with $(test-program-prefix).
10171 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10172 (test_program_prefix): This.
10173 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10174 $(run-program-prefix) with $(test-program-prefix).
10175 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10176 (test_program_prefix): This.
10177 * iconvdata/tst-tables.sh: Likewise.
10178 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10179 $(run-program-prefix) with $(test-program-prefix).
10180 ($(objpfx)tst-translit.out): Likewise.
10181 ($(objpfx)tst-gettext2.out): Likewise.
10182 ($(objpfx)tst-gettext4.out): Likewise.
10183 ($(objpfx)tst-gettext6.out): Likewise.
10184 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10185 (test_program_prefix): This.
10186 * intl/tst-gettext2.sh: Likewise.
10187 * intl/tst-gettext4.sh Likewise.
10188 * intl/tst-gettext6.sh: Likewise.
10189 * intl/tst-translit.sh: Likewise.
10190 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10191 with $(test-program-cmd).
10192 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10193 $(run-program-prefix) with $(test-program-prefix).
10194 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10195 (test_program_prefix): This.
10196 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10197 $(run-program-prefix) with $(test-program-prefix).
10198 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10199 (test_program_prefix): This.
10200 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10201 * posix/Makefile ($(objpfx)globtest.out): Replace
10202 $(run-via-rtld-prefix) and $(test-wrapper) with
10203 $(test-program-prefix) and $(test-via-rtld-prefix).
10204 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10205 $(test-program-prefix).
10206 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10207 $(host-test-program-cmd).
10208 (tst-spawn-ARGS): Likewise.
10209 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10210 $(test-program-prefix).
10211 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10212 (test_via_rtld_prefix): This.
10213 (test_wrapper): Renamed to ...
10214 (test_program_prefix): This.
10215 (run_program_prefix): Replaced by test_program_prefix.
10216 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10217 (test_program_prefix): This.
10218 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10219 with $(host-test-program-cmd).
10220 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10221 $(run-program-prefix) with $(test-program-prefix).
10222 ($(objpfx)tst-printf.out): Likewise.
10223 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10224 $(test-program-cmd).
10225 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10226 (test_program_prefix): This.
10227 * stdio-common/tst-unbputc.sh: Likewise.
10228 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10229 $(run-program-prefix) with $(test-program-prefix).
10230 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10231 (test_program_prefix): This.
10232 * string/Makefile ($(objpfx)tst-svc.out): Replace
10233 $(built-program-cmd) with $(test-program-cmd).
10234
c6fe55cf
AJ
102352013-01-11 Andreas Jaeger <aj@suse.de>
10236
10237 [BZ #15003]
10238 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10239 value. Sync with Linux 3.7.
10240
9e6919c8
DM
102412013-01-10 David S. Miller <davem@davemloft.net>
10242
10243 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10244 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10245 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10246
1c9f1a02
RM
102472013-01-10 Roland McGrath <roland@hack.frob.com>
10248
10249 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10250 never set.
10251 * configure: Regenerated.
10252
b9de2dde
DM
102532013-01-10 David S. Miller <davem@davemloft.net>
10254
10255 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10256 sparc V9 rather than using V8 code.
10257 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10258 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10259
e7f68ef4
RM
102602013-01-10 Roland McGrath <roland@hack.frob.com>
10261
10262 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10263 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10264 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10265 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10266 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10267 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10268 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10269 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10270 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10271 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10272 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10273 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10274 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10275 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10276 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10277 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10278 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10279 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10280 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10281 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10282 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10283 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10284 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10285 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10286 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10287 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10288 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10289
5a47cc9c
DM
102902013-01-10 David S. Miller <davem@davemloft.net>
10291
10292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10293
4cf8f209
L
102942013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10295
10296 * posix/Makefile (tests-static): New variable.
10297 (tests): Add $(tests-static).
10298 (tst-exec-static-ARGS): New variable.
10299 (tst-spawn-static-ARGS): Likewise.
10300 * posix/tst-exec-static.c: New file.
10301 * posix/tst-spawn-static.c: Likewise.
10302 * posix/tst-exec.c: Support run directly.
10303 * posix/tst-spawn.c: Likewise.
10304
fed0faa1
JM
103052013-01-10 Joseph Myers <joseph@codesourcery.com>
10306
828beb13
JM
10307 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10308 long.
10309 * math/bits/mathcalls.h (llrint): Likewise.
10310 (llround): Likewise.
10311 * stdlib/stdlib.h (struct drand48_data): Likewise.
10312 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10313 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10314 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10315 Likewise.
10316 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10317 Likewise.
10318 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10319 (elf_greg_t): Likewise.
10320 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10321 (__jmp_buf): Likewise.
10322 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10323 definitions.
10324 (llrint): Likewise, for all definitions.
10325 (llrintl): Likewise.
10326
fed0faa1
JM
10327 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10328 Remove [__GNUC__] condition.
10329 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10330 condition to just [__USE_ISOC99].
10331 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10332
1a20cb20
L
103332013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10334
10335 [BZ #14200]
10336 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10337 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10338 defined.
10339 (_POSIX_V6_ILP32_OFF32): Likewise.
10340 (_XBS5_ILP32_OFF32): Likewise.
10341 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10342 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10343
751b85f7
SP
103442013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10345
7490eb81
SP
10346 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10347
751b85f7
SP
10348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10349 doubles __mpexp_twomm1. Adjust usage.
10350 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10351 Remove.
10352
988197f0
AS
103532013-01-10 Andreas Schwab <schwab@suse.de>
10354
10355 [BZ #14964]
10356 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10357 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10358
e83d7298
DM
103592013-01-09 David S. Miller <davem@davemloft.net>
10360
034ed64b 10361 [BZ #15003]
e83d7298
DM
10362 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10363 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10364 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10365 TCP_FASTOPEN): Define.
10366 (tcp_repair_opt): New structure.
10367 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10368 enum values.
10369 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10370 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10371 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10372 (tcp_cookie_transactions): New structure.
10373
d5e0b9bd
AB
103742013-01-09 Anton Blanchard <anton@samba.org>
10375
10376 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10377 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10378 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10379 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10380
0c07e3ea
JM
103812013-01-09 Joseph Myers <joseph@codesourcery.com>
10382
10383 * include/features.h (__USE_ANSI): Remove.
10384
232f7002
RM
103852013-01-09 Roland McGrath <roland@hack.frob.com>
10386
ad98e30c
RM
10387 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10388
232f7002
RM
10389 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10390
950c99ca
SP
103912013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10392
b5792741
SP
10393 * sysdeps/s390/fpu/libm-test-ulps: Update.
10394
47cf2278
SP
10395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10396
950c99ca
SP
10397 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10398 (__acr): Likewise.
10399 (__cpy): Likewise.
10400 (norm): Likewise.
10401 (denorm): Likewise.
10402 (__mp_dbl): Likewise.
10403 (__dbl_mp): Likewise.
10404 (add_magnitudes): Likewise.
10405 (sub_magnitudes): Likewise.
10406 (__add): Likewise.
10407 (__sub): Likewise.
10408 (__mul): Likewise.
10409 (__inv): Likewise.
10410 (__dvd): Likewise.
10411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10412 (__acr): Likewise.
10413 (__cpy): Likewise.
10414 (norm): Likewise.
10415 (denorm): Likewise.
10416 (__mp_dbl): Likewise.
10417 (__dbl_mp): Likewise.
10418 (add_magnitudes): Likewise.
10419 (sub_magnitudes): Likewise.
10420 (__add): Likewise.
10421 (__sub): Likewise.
10422 (__mul): Likewise.
10423 (__inv): Likewise.
10424 (__dvd): Likewise.
10425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10426 (__acr): Likewise.
10427 (__cpy): Likewise.
10428 (norm): Likewise.
10429 (denorm): Likewise.
10430 (__mp_dbl): Likewise.
10431 (__dbl_mp): Likewise.
10432 (add_magnitudes): Likewise.
10433 (sub_magnitudes): Likewise.
10434 (__add): Likewise.
10435 (__sub): Likewise.
10436 (__mul): Likewise.
10437 (__inv): Likewise.
10438 (__dvd): Likewise.
10439
eede9df9
JM
104402013-01-08 Joseph Myers <joseph@codesourcery.com>
10441
10442 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10443 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10444 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10445 2 && __USE_EXTERN_INLINES]: Likewise.
10446
c40ea3d9
AJ
104472013-01-08 Andreas Jaeger <aj@suse.de>
10448
10449 [BZ# 14985]
10450 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10451 Remove.
10452 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10453 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10454
2ccdea26
AB
104552013-01-07 Anton Blanchard <anton@samba.org>
10456
10457 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10458 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10459 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10460 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10461 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10462 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10463 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10464 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10466 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10467 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10468 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10469 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10470 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10471 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10472 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10473 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10474 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10475 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10476 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10477 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10478 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10479 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10480 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10481 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10482 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10483 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10484 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10485 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10486 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10487 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10489 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10490 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10491 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10492 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10493 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10494 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10495 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10496 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10497 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10498 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10499 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10500
a9708fed
JM
105012013-01-07 Joseph Myers <joseph@codesourcery.com>
10502
375607b9
JM
10503 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10504 (__MALLOC_PMT): Likewise.
10505 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10506 [__GNUC__], only on [_LIBC].
10507 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10508 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10509 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10510 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10511 forward declaration.
10512 (realloc_hook_ini): Likewise.
10513 (memalign_hook_ini): Likewise.
10514 (__libc_memalign): Do not use __MALLOC_PMT in variable
10515 declaration.
10516 (__libc_valloc): Likewise.
10517 (__libc_pvalloc): Likewise.
10518 (__libc_calloc): Likewise.
10519 (__posix_memalign): Likewise.
10520
a9708fed
JM
10521 [BZ #14996]
10522 * math/s_casinh.c: Include <float.h>.
10523 (__casinh): Do not do computation with squaring and square root
10524 for large arguments.
10525 * math/s_casinhf.c: Include <float.h>.
10526 (__casinhf): Do not do computation with squaring and square root
10527 for large arguments.
10528 * math/s_casinhl.c: Include <float.h>.
10529 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10530 (__casinhl): Do not do computation with squaring and square root
10531 for large arguments.
10532 * math/libm-test.inc (casin_test): Add more tests.
10533 (casinh_test): Likewise.
10534 * sysdeps/i386/fpu/libm-test-ulps: Update.
10535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10536
afec409a
L
105372013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10538
10539 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10540 (__x86_64_raw_data_cache_size): Likewise.
10541 (__x86_64_data_cache_size_half): Likewise.
10542 (__x86_64_raw_data_cache_size_half): Likewise.
10543 (__x86_64_shared_cache_size): Likewise.
10544 (__x86_64_raw_shared_cache_size): Likewise.
10545 (__x86_64_shared_cache_size_half): Likewise.
10546 (__x86_64_raw_shared_cache_size_half): Likewise.
10547 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10548 to ...
10549 (__x86_data_cache_size): This.
10550 (__x86_64_raw_data_cache_size): Renamed to ...
10551 (__x86_raw_data_cache_size): This.
10552 (__x86_64_data_cache_size_half): Renamed to ...
10553 (__x86_data_cache_size_half): This.
10554 (__x86_64_raw_data_cache_size_half): Renamed to ...
10555 (__x86_raw_data_cache_size_half): This.
10556 (__x86_64_shared_cache_size): Renamed to ...
10557 (__x86_shared_cache_size): This.
10558 (__x86_64_raw_shared_cache_size): Renamed to ...
10559 (__x86_raw_shared_cache_size): This.
10560 (__x86_64_shared_cache_size_half): Renamed to ...
10561 (__x86_shared_cache_size_half): This.
10562 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10563 (__x86_raw_shared_cache_size_half): This.
10564 * sysdeps/x86_64/memcpy.S: Updated.
10565 * sysdeps/x86_64/memset.S: Likewise.
10566 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10567 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10568 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10569
0b3986d0
DM
105702013-01-04 David S. Miller <davem@davemloft.net>
10571
10572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10573
e47686e9
AS
105742013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10575
d643bac1
AS
10576 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10577 1 to avoid redefinition warning.
10578 (__USE_GNU): Don't define.
10579 (init_signaling_nan): Protoize.
10580
e47686e9
AS
10581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10582
b18decba
SP
105832013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10584
fffb407f
SP
10585 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10587 (__cpymn): Likewise.
10588 (norm): Remove commented code.
10589 (denorm): Likewise.
10590 (__mp_dbl): Likewise.
10591 (__inv): Likewise.
10592 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10593 (__cpymn): Likewise.
10594 (norm): Remove commented code.
10595 (denorm): Likewise.
10596 (__mp_dbl): Likewise.
10597 (__inv): Likewise.
10598
b18decba
SP
10599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10600 mp_no value for 1.0 and 2.0.
10601 (norm): Use RADIXI instead of radixi.d.
10602 (denorm): Likewise.
10603 (__mul): Use 0.0 instead of zero.d.
10604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10605 mp_no value for 1.0 and 2.0.
10606 (norm): Use RADIXI instead of radixi.d.
10607 (denorm): Likewise.
10608 (__mul): Use 0.0 instead of zero.d.
10609
cdc1c96f
JM
106102013-01-04 Joseph Myers <joseph@codesourcery.com>
10611
10612 [BZ #14994]
10613 * math/s_casinh.c (__casinh): Reduce finite argument to first
10614 quadrant then set signs of results at the end.
10615 * math/s_casinhf.c (__casinhf): Likewise.
10616 * math/s_casinhl.c (__casinhl): Likewise.
10617 * math/libm-test.inc (casin_test): Add more tests.
10618 (casinh_test): Likewise.
10619 * sysdeps/i386/fpu/libm-test-ulps: Update.
10620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10621
302913e1
SP
106222013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10623
6420d207
SP
10624 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10625
a9e48ab4
SP
10626 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10627
b7837264
SP
10628 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10629 declarations.
10630 (denorm): Likewise.
10631 (__mp_dbl): Likewise.
10632 (__inv): Likewise.
10633
f8af25d2
SP
10634 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10635 and adjust the header comment.
10636
302913e1
SP
10637 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10638 variable name from declaration.
10639
5d7dd1ca
L
106402013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10641
10642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10643 Initialize COMMON_CPUID_INDEX_7 element.
10644 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10645 (CPUID_RTM): Likewise.
10646 (HAS_RTM): Likewise.
10647 (COMMON_CPUID_INDEX_7): New enum.
10648
2f5f40f4
AS
106492013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10650
10651 [BZ #14981]
10652 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10653 size is zero, record memory as freed.
10654
4056f4a0
AJ
106552013-01-03 Andreas Jaeger <aj@suse.de>
10656
10657 * po/ia.po: Add new Interlingua translation.
10658
ab15736f 106592012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
10660
10661 * locale/programs/localedef.c: Fix description of '--posix' flag.
10662
568035b7
JM
106632013-01-02 Joseph Myers <joseph@codesourcery.com>
10664
e6898b8d
JM
10665 * NEWS: Update dates in second copyright notice.
10666 * README: Update copyright dates in example.
10667 * manual/libc.texinfo: Update copyright dates.
10668 * scripts/test-installation.pl: Update copyright date in --version
10669 output.
10670
0e2f9562
JM
10671 * hurd/ctty-input.c: Fix copyright notice formatting.
10672 * hurd/ctty-output.c: Likewise.
10673 * hurd/dtable.c: Likewise.
10674 * hurd/hurd-raise.c: Likewise.
10675 * hurd/hurdprio.c: Likewise.
10676 * hurd/msgportdemux.c: Likewise.
10677 * misc/sys/file.h: Likewise.
10678 * misc/sys/ioctl.h: Likewise.
10679 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10680 * sysdeps/mach/hurd/chdir.c: Likewise.
10681 * sysdeps/mach/hurd/fchdir.c: Likewise.
10682 * sysdeps/mach/hurd/rename.c: Likewise.
10683 * sysdeps/mach/hurd/rmdir.c: Likewise.
10684 * sysdeps/mach/hurd/seekdir.c: Likewise.
10685 * sysdeps/mach/hurd/setsid.c: Likewise.
10686 * sysdeps/posix/wait3.c: Likewise.
10687
568035b7
JM
10688 * All files with FSF copyright notices: Update copyright dates
10689 using scripts/update-copyrights.
10690 * intl/plural.c: Regenerated.
10691 * locale/programs/charmap-kw.h: Likewise.
10692 * locale/programs/locfile-kw.h: Likewise.
10693
da08f647
SP
106942013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10695
0f5477af
SP
10696 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10697 four values.
10698
44e0d4c2
SP
10699 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10700 calculation loop and add branch prediction.
10701
4d55b4e5
SP
10702 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10703 check access beyond bounds of m1np.
10704
da08f647
SP
10705 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10706 MPTWO.
10707 (__inv): Remove local variable MPTWO to use the global
10708 constant.
10709 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10710 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10711 variable MPTWO.
10712 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10713 MP3HALFS static const.
10714
8e051029
DM
107152013-01-01 David S. Miller <davem@davemloft.net>
10716
10717 * po/ca.po: Update from translation team.
10718
f4cf5f2d
JM
107192013-01-01 Joseph Myers <joseph@codesourcery.com>
10720
10721 * scripts/update-copyrights: New file.
10722 * Makeconfig: Reformat copyright notice.
10723 * ctype/ctype.h: Likewise.
10724 * debug/swprintf_chk.c: Likewise.
10725 * elf/dl-cache.c: Likewise.
10726 * elf/dl-debug.c: Likewise.
10727 * elf/dl-object.c: Likewise.
10728 * grp/initgroups.c: Likewise.
10729 * hurd/Makefile: Likewise.
10730 * hurd/hurd/signal.h: Likewise.
10731 * hurd/hurdfault.c: Likewise.
10732 * hurd/hurdioctl.c: Likewise.
10733 * hurd/hurdlookup.c: Likewise.
10734 * hurd/intr-msg.c: Likewise.
10735 * iconv/gconv_open.c: Likewise.
10736 * libio/swprintf.c: Likewise.
10737 * locale/lc-ctype.c: Likewise.
10738 * locale/nl_langinfo.c: Likewise.
10739 * mach/Machrules: Likewise.
10740 * mach/Makefile: Likewise.
10741 * malloc/obstack.h: Likewise.
10742 * manual/Makefile: Likewise.
10743 * manual/tsort.awk: Likewise.
10744 * misc/bits/stab.def: Likewise.
10745 * nis/nis_print_group_entry.c: Likewise.
10746 * nis/nis_table.c: Likewise.
10747 * nis/nss_compat/compat-pwd.c: Likewise.
10748 * nis/nss_compat/compat-spwd.c: Likewise.
10749 * po/Makefile: Likewise.
10750 * posix/fnmatch.c: Likewise.
10751 * posix/regex.h: Likewise.
10752 * resolv/Makefile: Likewise.
10753 * resolv/nss_dns/dns-network.c: Likewise.
10754 * resolv/res_hconf.c: Likewise.
10755 * scripts/gen-sorted.awk: Likewise.
10756 * soft-fp/soft-fp.h: Likewise.
10757 * stdio-common/printf.h: Likewise.
10758 * stdlib/monetary.h: Likewise.
10759 * stdlib/random.c: Likewise.
10760 * stdlib/random_r.c: Likewise.
10761 * sysdeps/generic/Makefile: Likewise.
10762 * sysdeps/gnu/Makefile: Likewise.
10763 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10764 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10765 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10766 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10767 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10770 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10771 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10772 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10773 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10774 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10775 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10776 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10777 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10780 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10781 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10782 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10784 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10785 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10786 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10787 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10790 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10791 * sysdeps/mach/hurd/errnos.awk: Likewise.
10792 * sysdeps/mach/hurd/fork.c: Likewise.
10793 * sysdeps/mach/hurd/getcwd.c: Likewise.
10794 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10795 * sysdeps/mach/hurd/mmap.c: Likewise.
10796 * sysdeps/mach/hurd/utimes.c: Likewise.
10797 * sysdeps/mach/hurd/xmknod.c: Likewise.
10798 * sysdeps/posix/profil.c: Likewise.
10799 * sysdeps/posix/readdir_r.c: Likewise.
10800 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10801 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10802 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10803 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10805 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10806 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10807 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10809 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10810 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10811 * sysdeps/pthread/lio_listio.c: Likewise.
10812 * sysdeps/sparc/dl-procinfo.h: Likewise.
10813 * sysdeps/unix/i386/sysdep.S: Likewise.
10814 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10815 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10816 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10817 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10819 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10820 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10821 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10822 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10823 * sysdeps/wordsize-32/divdi3.c: Likewise.
10824 * time/sys/time.h: Likewise.
10825 * wcsmbs/Makefile: Likewise.
10826
0549fbba
DM
108272013-01-01 David S. Miller <davem@davemloft.net>
10828
a141f1a7
DM
10829 * po/fr.po: Update from translation team.
10830
0549fbba
DM
10831 * catgets/gencat.c: Update copyright year.
10832 * csu/version.c: Likewise.
10833 * debug/catchsegv.sh: Likewise.
10834 * debug/pcprofiledump.c: Likewise.
10835 * debug/xtrace.sh: Likewise.
10836 * elf/ldconfig.c: Likewise.
10837 * elf/ldd.bash.in: Likewise.
10838 * elf/pldd.c: Likewise.
10839 * elf/sotruss.ksh: Likewise.
10840 * elf/sprof.c: Likewise.
10841 * iconv/iconv_prog.c: Likewise.
10842 * iconv/iconvconfig.c: Likewise.
10843 * locale/programs/locale.c: Likewise.
10844 * locale/programs/localedef.c: Likewise.
10845 * login/programs/pt_chown.c: Likewise.
10846 * malloc/memusage.sh: Likewise.
10847 * malloc/memusagestat.c: Likewise.
10848 * malloc/mtrace.pl: Likewise.
10849 * nscd/nscd.c: Likewise.
10850 * nss/getent.c: Likewise.
10851 * nss/makedb.c: Likewise.
10852 * posix/getconf.c: Likewise.
10853
18ea052c
SP
108542012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10855
10856 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10857 numbers.
10858
9c89fca6
MF
108592012-12-30 Mike Frysinger <vapier@gentoo.org>
10860
10861 * math/bits/mathcalls.h (modf): Use __nonnull.
10862
085ec079
SP
108632012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10864
10865 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10866 (split): Use macro CN instead of the bare value.
10867 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10868 could be used.
10869 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10870 instead of the bare value.
10871 (power1): Likewise.
10872
6d9f97e1
SP
108732012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10874
d63f73be
SP
10875 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10876 __ATAN_TWOM.
10877 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10878
6d9f97e1
SP
10879 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10880 their values.
10881 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10882 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10883 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10884 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10885
4c4febf5
AJ
108862012-12-28 Andreas Jaeger <aj@suse.de>
10887
af5843ef
AJ
10888 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10889 values are from Linux 3.7.
10890
4c4febf5
AJ
10891 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10892 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10893
99136f82
SP
108942012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10895
2f216c3c 10896 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10897 TRUE case.
10898
99136f82
SP
10899 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10900 (norm): Likewise.
10901 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10902 variables with preprocessor constants.
10903 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10904 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10905 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10906
7fffbdff
BH
109072012-12-27 Bruno Haible <bruno@clisp.org>
10908
10909 [BZ #14317]
10910 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10911 only if needed.
10912
b76eb5f0
SP
109132012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10914
31a7fe5c
SP
10915 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10916 and use variable directly.
10917 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10918
b76eb5f0
SP
10919 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10920 MPONE.
10921 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10922 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10923 variable MPONE.
10924 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10925 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10926 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10927 include directive. Remove local variable MPONE.
10928 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10929 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10930 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10931
2c8bfe7d
DM
109322012-12-25 David S. Miller <davem@davemloft.net>
10933
10934 * version.h (RELEASE): Set to "development".
10935 (VERSION): Set to "2.17.90".
10936 * NEWS: Add 2.18 section.
10937
147d03b0
DM
109382012-12-21 David S. Miller <davem@davemloft.net>
10939
10940 * po/hr.po: Update from translation team.
10941
a8ebb2b9
AK
109422012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10943
10944 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10945
95b4f1b6
SE
109462012-12-19 Steve Ellcey <sellcey@mips.com>
10947
b2d94007 10948 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10949
cedb2a90
MS
109502012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10951
10952 * manual/contrib.texi (Contributors): Spelling correction.
10953
bbf527d6
DM
109542012-12-15 David S. Miller <davem@davemloft.net>
10955
10956 * po/ru.po: Update from translation team.
10957
bc38c906
DM
109582012-12-13 David S. Miller <davem@davemloft.net>
10959
85429b1a
DM
10960 * NEWS: Mention IFUNC testsuite enhancements.
10961
d283e353
DM
10962 * po/pl.po: Update from translation team.
10963 * po/bg.po: Likewise.
10964
bc38c906
DM
10965 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10966 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10967
a181b0d7
DM
109682012-12-11 David S. Miller <davem@davemloft.net>
10969
4641d57e
DM
10970 * po/sv.po: Update from translation team.
10971
f7bc6495
DM
10972 * po/vi.po: Update from translation team.
10973
6fc9048f
DM
10974 * po/cs.po: Update from translation team.
10975
a181b0d7
DM
10976 * po/de.po: Update from translation team.
10977 * po/eo.po: Likewise.
10978 * po/nl.po: Likewise.
10979
f70bfe80
SP
109802012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10981
3c8b4190
SP
10982 [BZ #14246]
10983 * manual/argp.texi (Argp Helper Functions): Move node to follow
10984 Argp Parsing State.
10985
f70bfe80
SP
10986 [BZ #14872]
10987 * manual/conf.texi (Limits on File System Capacity): Mention if
10988 terminating null is included in the max size.
10989
188f0adf
AJ
109902012-12-10 Andreas Jaeger <aj@suse.de>
10991
10992 * po/cs.po: Update from translation team.
10993
56e7d3ad
SP
109942012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10995
10996 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10997 void pointer and cast to uintptr_t.
10998 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10999 path.
11000 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11001 * sysdeps/s390/s390-64/memset.S: Likewise.
11002
76f2d2ea 110032012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11004
11005 [BZ #14833]
11006 * menual/message.texi (Message Translation): Fix typos.
11007 (Helper programs for gettext): Likewise.
11008
67cbf9a2
AS
110092012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11010
11011 [BZ #14898]
11012 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11013 Change to -1.
11014
682d0e9a
DM
110152012-12-07 David S. Miller <davem@davemloft.net>
11016
11017 * po/libc.pot: Update.
11018
573cd484
RH
110192012-12-07 Richard Henderson <rth@redhat.com>
11020
7e9da188 11021 [BZ #10114]
573cd484
RH
11022 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11023 normal/normal case to before the switch.
11024 (_FP_DIV): Likewise.
11025
e933a943
MF
110262012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11027 Mike Frysinger <vapier@gentoo.org>
11028
11029 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11030 check for __NR_fadvise64_64.
11031
82123268
CM
110322012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11033
11034 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11035 0, not just to plain "0" as a statement.
11036 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11037 with cw.
11038
d9814526
JM
110392012-12-06 Joseph Myers <joseph@codesourcery.com>
11040
11041 * NEWS: Use sourceware.org in Bugzilla URL.
11042
7728c574
SP
110432012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11044
f16946dd
SP
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11046 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11047
5704bbcb
SP
11048 * stdio-common/tst-put-error.c (do_test): Add newline to the
11049 padded test to ensure flush.
11050
17aa0516
JL
110512012-12-05 Jeff Law <law@redhat.com>
11052
11053 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11054
363313b5
JM
110552012-12-05 Joseph Myers <joseph@codesourcery.com>
11056
effbd42a
JM
11057 * README: Don't refer to ports add-on as distributed separately.
11058 Mention AArch64 in list of systems supported in the ports add-on.
11059
87600365
JM
11060 * LICENSES: Add more non-FSF copyright and license notices.
11061
a0d7066a
JM
11062 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11063 ((unused)).
11064
66ca5a5b
JM
11065 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11066
363313b5
JM
11067 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11068 10000 as width of padded output.
11069
b37984ad
JM
110702012-12-04 Joseph Myers <joseph@codesourcery.com>
11071
9003570a
JM
11072 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11073
b37984ad
JM
11074 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11075 variable LX with __attribute__ ((unused)).
11076 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11077 Likewise.
11078 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11079 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11081 with __attribute__ ((unused)).
11082
c8df52ec
DM
110832012-12-04 David S. Miller <davem@abraco.davemloft.net>
11084
11085 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11086
b3b099af
JM
110872012-12-04 Joseph Myers <joseph@codesourcery.com>
11088
c33aa6e3
JM
11089 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11090 (CFLAGS-nldbl-acos.c): New variable.
11091 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11092 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11093 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11094 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11095 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11096 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11097 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11098 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11099 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11100 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11101 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11102 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11103 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11104 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11105 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11106 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11107 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11108 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11109 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11110 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11111 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11112 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11113 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11114 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11115 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11116 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11117 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11118 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11119 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11120 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11121 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11122 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11123 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11124 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11125 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11126 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11127 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11128 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11129 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11130 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11131 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11132 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11133 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11134 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11135 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11136 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11137 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11138 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11139 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11140 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11141 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11142 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11143 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11144 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11145 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11146 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11147 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11148 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11149 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11150 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11151 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11152 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11153 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11154 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11155 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11156 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11157 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11158 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11159 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11160 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11161 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11162 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11163 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11164 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11165 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11166 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11167 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11168 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11169 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11170 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11171 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11172 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11173 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11174 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11175 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11176 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11177 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11178 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11179 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11180 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11181 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11182 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11183 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11184 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11185 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11186 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11187 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11188
20f0018d
JM
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11190 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11191
b3b099af
JM
11192 [BZ #14914]
11193 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11194 whole low double instead of just low 47 bits when splitting values
11195 into two parts.
11196
029264d1
AM
111972012-12-03 Allan McRae <allan@archlinux.org>
11198
11199 * manual/stdio.texi (Predefined Printf Handlers): Remove
11200 @hsep and @vsep usage.
11201
c9d6789e
MF
112022012-12-03 Mike Frysinger <vapier@gentoo.org>
11203
11204 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11205 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11206
4b7634a5
JL
112072012-12-03 Jeff Law <law@redhat.com>
11208
11209 * time/sys/time.h (settimeofday): Do not mark TV argument
11210 as __nonnull.
11211
eb6cbd24
MF
112122012-12-01 Mike Frysinger <vapier@gentoo.org>
11213
11214 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11215 when currently writing and seek to current position when not.
11216 * libio/Makefile (tests): Remove bug-fclose1.
11217 * libio/bug-fclose1.c: Delete.
11218
f638872a
JM
112192012-12-01 Joseph Myers <joseph@codesourcery.com>
11220
11221 * manual/arith.texi (feenableexcept): Fix typo.
11222 (fedisableexcept): Likewise.
11223
48085d14
RM
112242012-11-30 Roland McGrath <roland@hack.frob.com>
11225
11226 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11227 second, differently-typed declaration, rather than a cast.
11228
1a538b9f
SP
112292012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11230
11231 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11232 * include/rpc/svc.h: ... here.
11233
d07f2ff1 112342012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
11235
11236 [BZ #13013]
11237 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11238 depending n and resplen2 to catch cases where answer
11239 equals answerp2.
11240
c93ec1f0
CD
112412012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11242
11243 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11244 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11245
37db69de
MF
112462012-11-29 Mike Frysinger <vapier@gentoo.org>
11247
11248 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11249
e10c4e4f
RM
112502012-11-29 Roland McGrath <roland@hack.frob.com>
11251
11252 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11253
2af1b328
JL
112542012-11-28 Jeff Law <law@redhat.com>
11255
11256 [BZ #13761]
11257 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11258 dataset_temporary. Track alloca usage into alloca_used.
11259 If dataset is large allocate and release it via malloc/free.
11260
111db5b1
FW
112612012-06-04 Florian Weimer <fweimer@redhat.com>
11262
f06cc227 11263 [BZ #14197]
111db5b1
FW
11264 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11265
dd694abd
DM
112662012-11-28 David S. Miller <davem@davemloft.net>
11267
11268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11269
9984dd01
JM
112702012-11-28 Joseph Myers <joseph@codesourcery.com>
11271
11272 [BZ #14803]
11273 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11274 of pi/2 rounded to nearest to 64 bits.
11275 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11276 nearest to 64 bits.
11277 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11278 bits.
11279
14bc93a9
JL
112802012-11-28 Jeff Law <law@redhat.com>
11281 Martin Osvald <mosvald@redhat.com>
11282
11283 [BZ #14889]
11284 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11285 * sunrpc/svc.c: Include time.h.
11286 (__svc_accept_failed): New function.
11287 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11288 any reason other than EINTR, call __svc_accept_failed.
11289 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11290 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11291
e3c6aa3a
AS
112922012-11-28 Andreas Schwab <schwab@suse.de>
11293
11294 * scripts/abilist.awk: Also handle indirect functions in .opd
11295 section.
11296
1bead169
JM
112972012-11-28 Joseph Myers <joseph@codesourcery.com>
11298
11299 [BZ #13881]
11300 * sysdeps/x86/fpu/powl_helper.c: New file.
11301 * sysdeps/x86/fpu/Makefile: Likewise.
11302 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11303 (p3): New object.
11304 (__ieee754_powl): Use __powl_helper for finite arguments except
11305 integer exponents below 8.
11306 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11307 (p3): New object.
11308 (__ieee754_powl): Use __powl_helper for finite arguments except
11309 integer exponents below 8.
11310 * math/libm-test.inc (pow_test): Add more tests and enable some
11311 previously disabled tests.
11312 * sysdeps/i386/fpu/libm-test-ulps: Update.
11313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11314
0817d63d
SP
113152012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11316 Carlos O'Donell <carlos_odonell@mentor.com>
11317
11318 * nss/makedb.c (is_prime): Assert that input is odd and greater
11319 than 4. Note that fact in a comment too.
11320 (next_prime): Add 4 to input.
11321
de2fd463
SP
113222012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11323
11324 [BZ #11741]
11325 * libio/Makefile (tests): Add test case tst-fwrite-error.
11326 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11327 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11328 * libio/tst-fwrite-error.c: New test case.
11329
c515fb51
L
113302012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11331
11332 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11333 before casting to void *.
11334 * include/libc-internal.h (__pointer_type): New macro.
11335 (__integer_if_pointer_type_sub): Likewise.
11336 (__integer_if_pointer_type): Likewise.
11337 (cast_to_integer): Likewise.
11338 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11339 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11340 before casting to atomic64_t.
11341 (atomic_exchange_acq): Likewise.
11342 (__arch_exchange_and_add_body): Likewise.
11343 (__arch_add_body): Likewise.
11344 (atomic_add_negative): Likewise.
11345 (atomic_add_zero): Likewise.
11346
4cf77aa9
JM
113472012-11-26 Joseph Myers <joseph@codesourcery.com>
11348
11349 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11350 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11351 (add_fdes): Likewise.
11352 (linear_search_fdes): Likewise.
11353 (binary_search_unencoded_fdes): Likewise.
11354
d260b3b4
AS
113552012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11356
11357 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11358
67060746
AC
113592012-11-24 Adam Conrad <adconrad@0c3.net>
11360
11361 * configure.in: Autodetect C++ header directories.
11362 * configure: Regenerated.
11363
800938a1
MF
113642012-11-23 Mike Frysinger <vapier@gentoo.org>
11365
11366 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11367
4e6e34e6
AS
113682012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11369
11370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11371
7c7feb47
JM
113722012-11-22 Joseph Myers <joseph@codesourcery.com>
11373
7184dcdf
JM
11374 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11375 LDBL_MANT_DIG == 106]: Disable some tests.
11376 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11377 Likewise.
11378 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11379 Likewise.
11380
0a42601f
JM
11381 [BZ #14871]
11382 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11383 input for small inputs. Return +/- pi/2 for large inputs.
11384 * math/libm-test.inc (atan_test): Add more tests.
11385
79c9b9fe
JM
11386 * sysdeps/generic/unwind-dw2-fde-glibc.c
11387 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11388 __attribute__ ((unused)).
11389
c60d3bf2
JM
11390 [BZ #14645]
11391 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11392 x * y if x and y are nonzero and z is zero.
11393
ef1e0867
JM
11394 [BZ #14811]
11395 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11396 nonzero exponents with absolute value below 0x1p-117 to +/-
11397 0x1p-117.
11398
1468ded3
JM
11399 [BZ #14869]
11400 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11401 up arguments below 2**-450, not just those below 2**-500.
11402 * math/libm-test.inc (hypot_test): Add another test.
11403
8e27e3cc
JM
11404 [BZ #14868]
11405 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11406 Return a+b for ratio over 2**120, not 2**60.
11407 * math/libm-test.inc (hypot_test): Add another test.
11408
c9c0279b
JM
11409 * math/libm-test.inc (clog_test): Use
11410 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11411 (clog10_test): Likewise.
11412
7c7feb47
JM
11413 [BZ #6778]
11414 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11415
fff1530e
AS
114162012-11-22 Andreas Schwab <schwab@suse.de>
11417
11418 * sysdeps/i386/fpu/libm-test-ulps: Update.
11419
94558d30
PT
114202012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11421
11422 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11423 printf output with newline.
11424
7e1be741
L
114252012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11426
6bfea974
L
11427 [BZ #14865]
11428 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11429 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11430 -z nodlopen, -z initfirst and -z execstack support.
11431 * configure: Regenerated.
11432
7e1be741
L
11433 * elf/elf.h (DF_1_NODIRECT): New macro.
11434 (DF_1_IGNMULDEF): Likewise.
11435 (DF_1_NOKSYMS): Likewise.
11436 (DF_1_NOHDR): Likewise.
11437 (DF_1_EDITED): Likewise.
11438 (DF_1_NORELOC): Likewise.
11439 (DF_1_SYMINTPOSE): Likewise.
11440 (DF_1_GLOBAUDIT): Likewise.
11441 (DF_1_SINGLETON): Likewise.
11442 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11443 DT_1_SUPPORTED_MASK bits.
11444 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11445
105ce2ce
CD
114462012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11447
11448 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11449
123be9de
TS
114502012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11451
d072f3f7
TS
11452 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11453 macro.
11454
123be9de
TS
11455 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11456 (sendmmsg): Move declarations...
11457 * socket/sys/socket.h: ... here.
11458 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11459 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11460 include it from...
11461 * socket/recvmmsg.c: ... this new file.
11462 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11463 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11464 definition of __sendmmsg hidden.
11465 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11466 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11467 Move ENOSYS stub into and include it from...
11468 * socket/sendmmsg.c: ... this new file.
11469 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11470 (sysdep_routines): Move recvmmsg and sendmmsg...
11471 * socket/Makefile (routines): ... here.
11472 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11473 (GLIBC_PRIVATE): Add __sendmmsg.
11474 * include/sys/socket.h (__sendmmsg): Add declarations.
11475 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11476 sendmmsg.
11477
cf9a5d18
JM
114782012-11-20 Joseph Myers <joseph@codesourcery.com>
11479
11480 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11481 variable I1 with __attribute__ ((unused)).
11482 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11483
ecd4caf9
JM
114842012-11-19 Joseph Myers <joseph@codesourcery.com>
11485
be14d48f
JM
11486 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11487 DUMMY variables with __attribute__ ((unused)).
11488
ecd4caf9
JM
11489 * bits/byteswap.h: Include <bits/types.h>.
11490 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11491
986cab95
PT
114922012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11493
11494 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11495 string_t. Do not manually set errno.
11496 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11497 length with __strnlen. Make sure to both set errno and return it on
11498 failure.
11499
6d33cc9d
DM
115002012-11-19 David S. Miller <davem@davemloft.net>
11501
11502 With help from Joseph Myers.
11503 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11504 very large arguments properly.
11505 * math/libm-test.inc (atan_test): New tests.
11506 (atan2_test): New tests.
11507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11509
ee663277
JM
115102012-11-19 Joseph Myers <joseph@codesourcery.com>
11511
877f2d8e
JM
11512 [BZ #14856]
11513 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11514 Define to 3.
11515
116fc08a
JM
11516 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11517 [POSIX] (EADDRNOTAVAIL): Likewise.
11518 [POSIX] (EAFNOSUPPORT): Likewise.
11519 [POSIX] (EALREADY): Likewise.
11520 [POSIX] (ECONNABORTED): Likewise.
11521 [POSIX] (ECONNREFUSED): Likewise.
11522 [POSIX] (ECONNRESET): Likewise.
11523 [POSIX] (EDESTADDRREQ): Likewise.
11524 [POSIX] (EDQUOT): Likewise.
11525 [POSIX] (EHOSTUNREACH): Likewise.
11526 [POSIX] (EIDRM): Likewise.
11527 [POSIX] (EISCONN): Likewise.
11528 [POSIX] (ELOOP): Likewise.
11529 [POSIX] (EMULTIHOP): Likewise.
11530 [POSIX] (ENETDOWN): Likewise.
11531 [POSIX] (ENETUNREACH): Likewise.
11532 [POSIX] (ENOBUFS): Likewise.
11533 [POSIX] (ENODATA): Likewise.
11534 [POSIX] (ENOLINK): Likewise.
11535 [POSIX] (ENOMSG): Likewise.
11536 [POSIX] (ENOPROTOOPT): Likewise.
11537 [POSIX] (ENOSR): Likewise.
11538 [POSIX] (ENOSTR): Likewise.
11539 [POSIX] (ENOTCONN): Likewise.
11540 [POSIX] (ENOTSOCK): Likewise.
11541 [POSIX] (EOPNOTSUPP): Likewise.
11542 [POSIX] (EOVERFLOW): Likewise.
11543 [POSIX] (EPROTO): Likewise.
11544 [POSIX] (EPROTONOSUPPORT): Likewise.
11545 [POSIX] (EPROTOTYPE): Likewise.
11546 [POSIX] (ESTALE): Likewise.
11547 [POSIX] (ETIME): Likewise.
11548 [POSIX] (ETXTBSY): Likewise.
11549 [POSIX] (EWOULDBLOCK): Likewise.
11550 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11551 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11552 [POSIX] (SEEK_CUR): Likewise.
11553 [POSIX] (SEEK_END): Likewise.
11554 [POSIX || UNIX98] (mode_t): Do not require.
11555 [POSIX] (off_t): Likewise.
11556 [POSIX] (pid_t): Likewise.
11557 [POSIX] (sys/stat.h): Do not allow header.
11558 [POSIX] (unistd.h): Likewise.
11559 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11560 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11561 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11562 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11563 require.
11564 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11565 sigevent): Specify elements.
11566 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11567 entry.
11568 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11569 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11570
a483863f
JM
11571 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11572 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11573 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11574 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11575 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11576 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11577 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11578 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11579 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11580 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11581 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11582 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11583 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11584 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11585 Likewise.
11586 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11587 Likewise.
11588 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11589 Likewise.
11590 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11591 Likewise.
11592 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11593 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11594 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11595 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11596 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11597 Specify lower bound on value.
11598 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11599 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11600 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11601 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11602 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11603 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11604 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11605 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11606 value.
11607 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11608 as optional.
11609 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11610 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11611 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11612 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11613 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11614 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11615 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11616 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11617 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11618 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11619 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11620 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11621 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11622 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11623 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11624 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11625 entry.
11626 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11627 optional.
11628 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11629 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11630 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11631 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11632 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11633 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11634 Likewise.
11635 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11636 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11637 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11638 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11639 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11640 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11641 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11642 as optional.
11643 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11644 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11645 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11646 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11647 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11648 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11649 specify as optional.
11650 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11651 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11652 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11653 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11654 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11655 [XPG3] (NL_LANGMAX): Likewise.
11656 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11657 [POSIX || XPG3] (NL_NMAX): Likewise.
11658 [POSIX || XPG3] (NL_SETMAX): Likewise.
11659 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11660 [XPG3] (NZERO): Likewise.
11661 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11662 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11663 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11664 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11665 (REG_ERANGE): Expect.
11666 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11667 optional-constant.
11668 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11669 Use (void) in prototype.
11670 [POSIX] (*_t): Allow.
11671 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11672 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11673 (WRDE_BADVAL): Expect.
11674
5ba924e3
JM
11675 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11676 expect.
11677 [XPG3 || XPG4] (O_RSYNC): Likewise.
11678 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11679 Likewise.
11680 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11681 [XPG3 || XPG4] (sigqueue): Likewise.
11682 [XPG3 || XPG4] (sigtimedwait): Likewise.
11683 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11684 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11685 [XPG3 || XPG4] (vsnprintf): Likewise.
11686 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11687 Likewise.
11688 [XPG3 || XPG4] (blksize_t): Likewise.
11689 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11690 Likewise.
11691 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11692 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11693 [XPG3 || XPG4] (struct itimerspec): Likewise.
11694 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11695 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11696 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11697 [XPG3 || XPG4] (clockid_t): Likewise.
11698 [XPG3 || XPG4] (timer_t): Likewise.
11699 [XPG3 || XPG4] (clock_getres): Likewise.
11700 [XPG3 || XPG4] (clock_gettime): Likewise.
11701 [XPG3 || XPG4] (clock_settime): Likewise.
11702 [XPG3 || XPG4] (nanosleep): Likewise.
11703 [XPG3 || XPG4] (timer_create): Likewise.
11704 [XPG3 || XPG4] (timer_delete): Likewise.
11705 [XPG3 || XPG4] (timer_gettime): Likewise.
11706 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11707 [XPG3 || XPG4] (timer_settime): Likewise.
11708 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11709 [XPG3 || XPG4] (getlogin_r): Likewise.
11710 [XPG3 || XPG4] (pread): Likewise.
11711 [XPG3 || XPG4] (pthread_atfork): Likewise.
11712 [XPG3 || XPG4] (pwrite): Likewise.
11713
ee663277
JM
11714 [BZ #14835]
11715 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11716 <bits/siginfo.h>.
11717
942caa16
PT
117182012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11719
e19af380
PT
11720 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11721 finalizing MALLSTREAM.
11722
942caa16
PT
11723 * sysdeps/mach/hurd/syncfs.c: New file.
11724
cfde9b46
SP
117252012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11726
11727 [BZ #14719]
11728 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11729 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11730 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11731 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11732 (_nss_dns_gethostbyname4_r): Likewise.
11733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11734 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11735
f6da27e5
PH
117362012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11737
11738 [BZ #13763]
11739 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11740
6665d4a2
SM
117412012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11742
1f51ee92
SM
11743 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11744 * elf/cache.c (print_entry): Print ",AArch64" for
11745 FLAG_AARCH64_LIB64
11746
6665d4a2
SM
11747 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11748 * elf/cache.c (print_entry): Print ",hard-float" for
11749 FLAG_ARM_LIBHF.
11750
05b227bd
DM
117512012-11-18 David S. Miller <davem@davemloft.net>
11752
11753 With help from Joseph Myers.
11754 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11755 cutoff to 2**-13.
11756 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11757 cutoff to 2**-25.
11758 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11759 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11760 small.
11761 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11762 * math/libm-test.inc (y0_test): New tests.
11763 (y1_test): New tests.
11764 * sysdeps/i386/fpu/libm-test-ulps: Update.
11765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11767
786b0b67
AS
117682012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11769
11770 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11771 64-bit targets.
11772 * configure: Regenerated.
11773
8e18b86d
DM
117742012-11-17 David S. Miller <davem@davemloft.net>
11775
11776 [BZ #14811]
11777 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11778 nonzero exponents with absolute value below 0x1p-128 to +/-
11779 0x1p-128.
11780
531f1ae0
JM
117812012-11-17 Joseph Myers <joseph@codesourcery.com>
11782
12df29e2
JM
11783 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11784
150dc1a0
JM
11785 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11786
531f1ae0
JM
11787 * posix/getconf-speclist.c: New file.
11788 * posix/posix-envs.def: Likewise.
11789 * posix/confstr.c (START_ENV_GROUP): New macro.
11790 (END_ENV_GROUP): Likewise.
11791 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11792 (KNOWN_PRESENT_ENV_STRING): Likewise.
11793 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11794 (UNKNOWN_ENVIRONMENT): Likewise.
11795 (confstr): Include posix-envs.def instead of handling
11796 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11797 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11798 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11799 (END_ENV_GROUP): Likewise.
11800 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11801 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11802 (UNKNOWN_ENVIRONMENT): Likewise.
11803 (__sysconf): Include posix-envs.def instead of handling associated
11804 cases directly here.
11805 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11806 preprocessing getconf-speclist.c rather than running getconf or
11807 generating empty file.
11808
a93f9cbc
PT
118092012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11810
11811 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11812
d64d9f87
AL
118132012-11-16 Andrej Lajovic <natrij@gmail.com>
11814
11815 [BZ #14672]
11816 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11817
447885eb
DM
118182012-11-16 David S. Miller <davem@davemloft.net>
11819
11820 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11821 smaller than LDBL_EPSILON/2.0L, just return xm1.
11822
bcbf9830
L
118232012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11824
11825 * elf/tst-array1.c (init): Set constructor priority to 1000.
11826 (fini): Set destructor priority to 1000.
11827 * elf/tst-array2dep.c: Likewise.
11828
2b766585
SP
118292012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11830
11831 [BZ #11741]
11832 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11833 (_IO_new_file_xsputn): Also return EOF if none of the input
11834 data was written when overflow failed.
11835 * libio/iopadn.c (_IO_padn): Likewise.
11836 * libio/iowpadn.c (_IO_wpadn): Likewise.
11837 * stdio-common/tst-put-error.c: Add copyright notice.
11838 (do_test): Add case for printing padded string.
11839 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11840 _IO_padn returned error.
11841 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11842 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11843 return EOF.
11844
b1848fde
SP
118452012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11846
11847 * libio/libioP.h: Add comment note that the references to C++
11848 bits are now obsolete.
11849
2fd89785
MS
118502012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11851
11852 * math/libm-test.inc (check_complex): Use asprintf.
11853
e3ea5409
JM
118542012-11-14 Joseph Myers <joseph@codesourcery.com>
11855
11856 * debug/pcprofiledump.c (print_version): Update copyright year.
11857 * malloc/memusagestat.c (print_version): Likewise.
11858
2e64d265
L
118592012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11860
11861 [BZ #14831]
11862 * elf/Makefile (tests): Add tst-audit8.
11863 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11864 ($(objpfx)tst-audit8.out): New target.
11865 (tst-audit8-ENV): New variable.
11866 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11867 audit if l_reloc_result is NULL.
11868 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11869 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11870 * elf/tst-audit8.c: New file.
11871
c485e4d2
MS
118722012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11873
11874 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11875 * misc/Makefile (CFLAGS-select.c): Define.
11876 * posix/Makefile (CFLAGS-pause.c): Define.
11877
3a0d900a
DM
118782012-11-13 David S. Miller <davem@davemloft.net>
11879
11880 * crypt/Makefile: Move test targets after toplevel Rules
11881 inclusion. Grab any necessary sysdep routines when linking.
11882 * crypt/md5.c (md5_process_block): Remove define, we will always
11883 name it __md5_process_block.
11884 (md5_finish_ctx): Update md5_process_block call.
11885 (md5_stream): Likewise.
11886 (md5_process_bytes): Likewise.
11887 (md5_process_block): Rename to __md5_process_block and move to ...
11888 * crypt/md5-block.c: ... here.
11889 * crypt/sha256.c (sha256_process_block): Move to ...
11890 * crypt/sha256-block.c: ... here.
11891 * crypt/sha512.c (sha512_process_block): Move to ...
11892 * crypt/sha512-block.c: ... here.
11893 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11894 path.
11895 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11896 * sysdeps/sparc/sparc64/multiarch/Makefile
11897 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11898 crypt subdir.
11899 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11900 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11901 multiarch changes.
11902 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11903 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11904 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11905 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11906 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11907 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11908 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11909 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11910 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11911 file.
11912 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11913 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11914 file.
11915 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11916
8ca89318
JM
119172012-11-13 Joseph Myers <joseph@codesourcery.com>
11918
e27d476a
JM
11919 * timezone/tzselect.ksh: Update from tzcode git revision
11920 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11921 * timezone/zdump.c: Likewise.
11922 * timezone/zic.c: Likewise.
11923 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11924 in TZVERSION setting, not $(PKGVERSION).
11925 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11926 REPORT_BUGS_TO settings.
11927
8ca89318
JM
11928 [BZ #14838]
11929 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11930 macro.
11931
47594329
MS
119322012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11933
11934 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11935 detection to immediately after _FP_ROUND().
11936 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11937 bits are 0.
11938
640ac3f1
DM
119392012-11-11 David S. Miller <davem@davemloft.net>
11940
11941 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11942 inttypes.h
11943 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11944 __close rather than their public counterparts.
11945
3d2577bb
JM
119462012-11-10 Joseph Myers <joseph@codesourcery.com>
11947
11948 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11949 file.
11950 [UNIX98] (sem_timedwait): Do not expect.
11951 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11952 [XPG4 || UNIX98] (sockatmark): Do not expect.
11953 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11954 (clock_getcpuclockid): Do not expect.
11955 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11956 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11957 Do not expect.
11958 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11959 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11960 [UNIX98] (vwscanf): Likewise.
11961 [UNIX98] (vswscanf): Likewise.
11962
fb1ae1ee
JM
119632012-11-09 Joseph Myers <joseph@codesourcery.com>
11964
9ec6f8bd
JM
11965 * timezone/version.h: Remove file.
11966 * timezone/README: Do not refer to version.h.
11967 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11968 $(objpfx)version.h.
11969 ($(objpfx)zdump.o): Likewise.
c3f81911 11970 ($(objpfx)version.h): New target.
9ec6f8bd 11971
0aa8f8a1
JM
11972 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11973 2012i.
11974 * timezone/README: Don't mention modification to tzselect.ksh.
11975 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11976 work on unmodified tzselect.ksh. Substitute version numbers in
11977 tzselect.ksh.
11978
4e87147f
JM
11979 * Makefile (format-me): Remove.
11980 (INSTALL): Adjust indentation. Use commands directly instead of
11981 using $(format-me).
11982
8b748aed
JM
11983 * aclocal.m4 (ACX_PKGVERSION): New macro.
11984 (ACX_BUGURL): Likewise.
11985 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11986 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11987 (REPORT_BUGS_TO): Likewise.
11988 * configure: Regenerated.
11989 * config.h.in (PKGVERSION): New macro.
11990 (REPORT_BUGS_TO): Likewise.
11991 * config.make.in (PKGVERSION): New variable.
11992 (PKGVERSION_TEXI): Likewise.
11993 (REPORT_BUGS_TO): Likewise.
11994 (REPORT_BUGS_TEXI): Likewise.
11995 * Makefile (format-me): Use -I$(common-objpfx)manual.
11996 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11997 ($(common-objpfx)manual/%): New target.
11998 (manual/%): Remove target.
11999 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12000 (print_version): Use PKGVERSION.
12001 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12002 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12003 and REPORT_BUGS_TO.
12004 ($(objpfx)xtrace): Likewise.
12005 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12006 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12007 (print_version): Use PKGVERSION.
12008 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12009 (do_version): Use PKGVERSION.
12010 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12011 REPORT_BUGS_TO.
12012 (common-ldd-rewrite): Likewise.
12013 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12014 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12015 (print_version): Use PKGVERSION.
12016 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12017 * elf/pldd.c (argp_program_bug_address): Remove variable.
12018 (more_help): New function.
12019 (argp): Use more_help.
12020 (print_version): Use PKGVERSION.
12021 * elf/sln.c (main): Use PKGVERSION.
12022 (usage): Use REPORT_BUGS_TO.
12023 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12024 (top level): Use PKGVERSION.
12025 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12026 (print_version): Use PKGVERSION.
12027 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12028 (print_version): Use PKGVERSION.
12029 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12030 (print_version): Use PKGVERSION.
12031 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12032 (print_version): Use PKGVERSION.
12033 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12034 (print_version): Use PKGVERSION.
12035 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12036 (print_version): Use PKGVERSION.
12037 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12038 and BUGURL.
12039 ($(objpfx)memusage): Likewise.
12040 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12041 (do_version): Use PKGVERSION.
12042 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12043 (print_version): Use PKGVERSION.
12044 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12045 ($PKGVERSION): New variable.
12046 ($REPORT_BUGS_TO): Likewise.
12047 (usage): Use $REPORT_BUGS_TO.
12048 (top level): Use $PKGVERSION.
12049 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12050 ($(objpfx)pkgvers.texi): New rule.
12051 ($(objpfx)stamp-pkgvers): Likewise.
12052 * manual/install.texi: Include pkgvers.texi.
12053 (--with-pkgversion): Document new configure option.
12054 (--with-bugurl): Likewise.
12055 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12056 than necessarily for this particular distribution. Use
12057 REPORT_BUGS_TO for where to report bugs.
12058 * INSTALL: Regenerated.
12059 * manual/libc.texinfo: Include pkgvers.texi.
12060 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12061 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12062 (print_version): Use PKGVERSION.
12063 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12064 (print_version): Use PKGVERSION.
12065 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12066 (print_version): Use PKGVERSION.
12067 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12068 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12069 macro.
12070 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12071 (print_version): Use PKGVERSION.
12072 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12073 (print_version): Use PKGVERSION.
12074 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12075 and PKGVERSION.
12076
92e4b6a9
JM
12077 * timezone/checktab.awk: Update from tzcode 2012i.
12078 * timezone/ialloc.c: Likewise.
12079 * timezone/private.h: Likewise.
12080 * timezone/scheck.c: Likewise.
12081 * timezone/tzfile.h: Likewise.
12082 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12083 (TZVERSION): Hardcode tzcode version number.
12084 * timezone/zdump.c: Update from tzcode 2012i.
12085 * timezone/zic.c: Likewise.
12086 * timezone/version.h: New file.
12087 * timezone/README: Describe version.h. Update upstream location.
12088
9bde902c
JM
12089 [BZ #14824]
12090 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12091 (mktemp): Enable declaration.
12092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12093 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12094 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12095 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12096 Likewise.
12097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12098 Likewise.
12099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12100 Likewise.
12101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12102 Likewise.
12103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12104 Likewise.
12105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12106 Likewise.
12107
fb1ae1ee
JM
12108 [BZ #14821]
12109 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12110 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12111 for copies of such integer values.
12112 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12113 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12114
2c1adbcb
AJ
121152012-11-09 Andreas Jaeger <aj@suse.de>
12116
12117 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12118 definitions and declarations that are provided by
12119 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12120
d0f8457e
AK
121212012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12122
3a235abb 12123 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
12124 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12125 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12126 definition.
12127
57241e26
MS
121282012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12129
12130 * elf/elf.h: Update comment before AArch64 relocations.
12131
60e8270d
DM
121322012-11-07 David S. Miller <davem@davemloft.net>
12133
12134 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12135 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12136 (__start_context): Declare.
12137 (__makecontext_ret): Delete.
12138 (__makecontext): Hook up __start_context instead of
12139 __makecontext_ret.
12140 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12141 (sysdep_routines): Add __start_context when in stdlib.
12142
0fbb0fbc
JM
121432012-11-07 Joseph Myers <joseph@codesourcery.com>
12144
12145 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12146 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12147 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12148 hardcoded "nm".
12149 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12150 (READELF): New variable. Use it instead of hardcoded "readelf".
12151
eb48db7e
L
121522012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12153
12154 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12155 * sysdeps/x86/Makefile: Here.
12156 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12157 * sysdeps/x86/tst-xmmymm.sh: This.
12158
05bcf62a
JM
121592012-11-07 Joseph Myers <joseph@codesourcery.com>
12160
c4b6cf53
JM
12161 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12162 expectations.
12163 [UNIX98] (pthread_barrier_t): Do not expect.
12164 [UNIX98] (pthread_barrierattr_t): Likewise.
12165 [UNIX98] (pthread_spinlock_t): Likewise.
12166 [UNIX98] (pthread_barrier_destroy): Likewise.
12167 [UNIX98] (pthread_barrier_init): Likewise.
12168 [UNIX98] (pthread_barrier_wait): Likewise.
12169 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12170 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12171 [UNIX98] (pthread_barrierattr_init): Likewise.
12172 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12173 [UNIX98] (pthread_getcpuclockid): Likewise.
12174 [UNIX98] (pthread_mutex_timedlock): Likewise.
12175 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12176 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12177 [UNIX98] (pthread_sigmask): Likewise.
12178 [UNIX98] (pthread_spin_destroy): Likewise.
12179 [UNIX98] (pthread_spin_init): Likewise.
12180 [UNIX98] (pthread_spin_lock): Likewise.
12181 [UNIX98] (pthread_spin_trylock): Likewise.
12182 [UNIX98] (pthread_spin_unlock): Likewise.
12183 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12184 Do not expect.
12185 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12186 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12187 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12188 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12189 [XPG3 || XPG4] (pthread_key_t): Likewise.
12190 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12191 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12192 [XPG3 || XPG4] (pthread_once_t): Likewise.
12193 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12194 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12195 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12196 [XPG3 || XPG4] (pthread_t): Likewise.
12197
cbe6e120
JM
12198 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12199 not expect.
12200 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12201
1b126443
JM
12202 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12203 Change function return type to int.
12204
b961a573
JM
12205 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12206 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12207 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12208 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12209 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12210 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12211 [!POSIX] (posix_madvise): Likewise.
12212 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12213 && !UNIX98].
12214 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12215 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12216 (mode_t): Likewise.
12217 (posix_mem_offset): Likewise.
12218 (posix_typed_mem_get_info): Likewise.
12219 (posix_typed_mem_open): Likewise.
12220
9e188909
JM
12221 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12222 Change condition to [XOPEN2K8].
12223
05bcf62a
JM
12224 * conform/conformtest.pl: Preprocess allow-header data with -x c
12225 instead of from stdin.
12226 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12227 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12228 [C99-based standards] (cerfc): Likewise.
12229 [C99-based standards] (cexp2): Likewise.
12230 [C99-based standards] (cexpm1): Likewise.
12231 [C99-based standards] (clog10): Likewise.
12232 [C99-based standards] (clog1p): Likewise.
12233 [C99-based standards] (clog2): Likewise.
12234 [C99-based standards] (clgamma): Likewise.
12235 [C99-based standards] (ctgamma): Likewise.
12236 [C99-based standards] (cerff): Likewise.
12237 [C99-based standards] (cerfcf): Likewise.
12238 [C99-based standards] (cexp2f): Likewise.
12239 [C99-based standards] (cexpm1f): Likewise.
12240 [C99-based standards] (clog10f): Likewise.
12241 [C99-based standards] (clog1pf): Likewise.
12242 [C99-based standards] (clog2f): Likewise.
12243 [C99-based standards] (clgammaf): Likewise.
12244 [C99-based standards] (ctgammaf): Likewise.
12245 [C99-based standards] (cerfl): Likewise.
12246 [C99-based standards] (cerfcl): Likewise.
12247 [C99-based standards] (cexp2l): Likewise.
12248 [C99-based standards] (cexpm1l): Likewise.
12249 [C99-based standards] (clog10l): Likewise.
12250 [C99-based standards] (clog1pl): Likewise.
12251 [C99-based standards] (clog2l): Likewise.
12252 [C99-based standards] (clgammal): Likewise.
12253 [C99-based standards] (ctgammal): Likewise.
12254 * conform/data/inttypes.h-data [C99-based standards]: Include
12255 stdint.h-data. Remove all expectations for stdint.h contents.
12256 [C99-based standards] (PRI*): Do not allow.
12257 [C99-based standards] (SCN*): Likewise.
12258 [C99-based standards] (*_t): Likewise.
12259 [C99-based-standards] (PRId8): Expect macro.
12260 [C99-based-standards] (PRIi8): Likewise.
12261 [C99-based-standards] (PRIo8): Likewise.
12262 [C99-based-standards] (PRIu8): Likewise.
12263 [C99-based-standards] (PRIx8): Likewise.
12264 [C99-based-standards] (PRIX8): Likewise.
12265 [C99-based-standards] (SCNd8): Likewise.
12266 [C99-based-standards] (SCNi8): Likewise.
12267 [C99-based-standards] (SCNo8): Likewise.
12268 [C99-based-standards] (SCNu8): Likewise.
12269 [C99-based-standards] (SCNx8): Likewise.
12270 [C99-based-standards] (PRIdLEAST8): Likewise.
12271 [C99-based-standards] (PRIiLEAST8): Likewise.
12272 [C99-based-standards] (PRIoLEAST8): Likewise.
12273 [C99-based-standards] (PRIuLEAST8): Likewise.
12274 [C99-based-standards] (PRIxLEAST8): Likewise.
12275 [C99-based-standards] (PRIXLEAST8): Likewise.
12276 [C99-based-standards] (SCNdLEAST8): Likewise.
12277 [C99-based-standards] (SCNiLEAST8): Likewise.
12278 [C99-based-standards] (SCNoLEAST8): Likewise.
12279 [C99-based-standards] (SCNuLEAST8): Likewise.
12280 [C99-based-standards] (SCNxLEAST8): Likewise.
12281 [C99-based-standards] (PRIdFAST8): Likewise.
12282 [C99-based-standards] (PRIiFAST8): Likewise.
12283 [C99-based-standards] (PRIoFAST8): Likewise.
12284 [C99-based-standards] (PRIuFAST8): Likewise.
12285 [C99-based-standards] (PRIxFAST8): Likewise.
12286 [C99-based-standards] (PRIXFAST8): Likewise.
12287 [C99-based-standards] (SCNdFAST8): Likewise.
12288 [C99-based-standards] (SCNiFAST8): Likewise.
12289 [C99-based-standards] (SCNoFAST8): Likewise.
12290 [C99-based-standards] (SCNuFAST8): Likewise.
12291 [C99-based-standards] (SCNxFAST8): Likewise.
12292 [C99-based-standards] (PRId16): Likewise.
12293 [C99-based-standards] (PRIi16): Likewise.
12294 [C99-based-standards] (PRIo16): Likewise.
12295 [C99-based-standards] (PRIu16): Likewise.
12296 [C99-based-standards] (PRIx16): Likewise.
12297 [C99-based-standards] (PRIX16): Likewise.
12298 [C99-based-standards] (SCNd16): Likewise.
12299 [C99-based-standards] (SCNi16): Likewise.
12300 [C99-based-standards] (SCNo16): Likewise.
12301 [C99-based-standards] (SCNu16): Likewise.
12302 [C99-based-standards] (SCNx16): Likewise.
12303 [C99-based-standards] (PRIdLEAST16): Likewise.
12304 [C99-based-standards] (PRIiLEAST16): Likewise.
12305 [C99-based-standards] (PRIoLEAST16): Likewise.
12306 [C99-based-standards] (PRIuLEAST16): Likewise.
12307 [C99-based-standards] (PRIxLEAST16): Likewise.
12308 [C99-based-standards] (PRIXLEAST16): Likewise.
12309 [C99-based-standards] (SCNdLEAST16): Likewise.
12310 [C99-based-standards] (SCNiLEAST16): Likewise.
12311 [C99-based-standards] (SCNoLEAST16): Likewise.
12312 [C99-based-standards] (SCNuLEAST16): Likewise.
12313 [C99-based-standards] (SCNxLEAST16): Likewise.
12314 [C99-based-standards] (PRIdFAST16): Likewise.
12315 [C99-based-standards] (PRIiFAST16): Likewise.
12316 [C99-based-standards] (PRIoFAST16): Likewise.
12317 [C99-based-standards] (PRIuFAST16): Likewise.
12318 [C99-based-standards] (PRIxFAST16): Likewise.
12319 [C99-based-standards] (PRIXFAST16): Likewise.
12320 [C99-based-standards] (SCNdFAST16): Likewise.
12321 [C99-based-standards] (SCNiFAST16): Likewise.
12322 [C99-based-standards] (SCNoFAST16): Likewise.
12323 [C99-based-standards] (SCNuFAST16): Likewise.
12324 [C99-based-standards] (SCNxFAST16): Likewise.
12325 [C99-based-standards] (PRId32): Likewise.
12326 [C99-based-standards] (PRIi32): Likewise.
12327 [C99-based-standards] (PRIo32): Likewise.
12328 [C99-based-standards] (PRIu32): Likewise.
12329 [C99-based-standards] (PRIx32): Likewise.
12330 [C99-based-standards] (PRIX32): Likewise.
12331 [C99-based-standards] (SCNd32): Likewise.
12332 [C99-based-standards] (SCNi32): Likewise.
12333 [C99-based-standards] (SCNo32): Likewise.
12334 [C99-based-standards] (SCNu32): Likewise.
12335 [C99-based-standards] (SCNx32): Likewise.
12336 [C99-based-standards] (PRIdLEAST32): Likewise.
12337 [C99-based-standards] (PRIiLEAST32): Likewise.
12338 [C99-based-standards] (PRIoLEAST32): Likewise.
12339 [C99-based-standards] (PRIuLEAST32): Likewise.
12340 [C99-based-standards] (PRIxLEAST32): Likewise.
12341 [C99-based-standards] (PRIXLEAST32): Likewise.
12342 [C99-based-standards] (SCNdLEAST32): Likewise.
12343 [C99-based-standards] (SCNiLEAST32): Likewise.
12344 [C99-based-standards] (SCNoLEAST32): Likewise.
12345 [C99-based-standards] (SCNuLEAST32): Likewise.
12346 [C99-based-standards] (SCNxLEAST32): Likewise.
12347 [C99-based-standards] (PRIdFAST32): Likewise.
12348 [C99-based-standards] (PRIiFAST32): Likewise.
12349 [C99-based-standards] (PRIoFAST32): Likewise.
12350 [C99-based-standards] (PRIuFAST32): Likewise.
12351 [C99-based-standards] (PRIxFAST32): Likewise.
12352 [C99-based-standards] (PRIXFAST32): Likewise.
12353 [C99-based-standards] (SCNdFAST32): Likewise.
12354 [C99-based-standards] (SCNiFAST32): Likewise.
12355 [C99-based-standards] (SCNoFAST32): Likewise.
12356 [C99-based-standards] (SCNuFAST32): Likewise.
12357 [C99-based-standards] (SCNxFAST32): Likewise.
12358 [C99-based-standards] (PRId64): Likewise.
12359 [C99-based-standards] (PRIi64): Likewise.
12360 [C99-based-standards] (PRIo64): Likewise.
12361 [C99-based-standards] (PRIu64): Likewise.
12362 [C99-based-standards] (PRIx64): Likewise.
12363 [C99-based-standards] (PRIX64): Likewise.
12364 [C99-based-standards] (SCNd64): Likewise.
12365 [C99-based-standards] (SCNi64): Likewise.
12366 [C99-based-standards] (SCNo64): Likewise.
12367 [C99-based-standards] (SCNu64): Likewise.
12368 [C99-based-standards] (SCNx64): Likewise.
12369 [C99-based-standards] (PRIdLEAST64): Likewise.
12370 [C99-based-standards] (PRIiLEAST64): Likewise.
12371 [C99-based-standards] (PRIoLEAST64): Likewise.
12372 [C99-based-standards] (PRIuLEAST64): Likewise.
12373 [C99-based-standards] (PRIxLEAST64): Likewise.
12374 [C99-based-standards] (PRIXLEAST64): Likewise.
12375 [C99-based-standards] (SCNdLEAST64): Likewise.
12376 [C99-based-standards] (SCNiLEAST64): Likewise.
12377 [C99-based-standards] (SCNoLEAST64): Likewise.
12378 [C99-based-standards] (SCNuLEAST64): Likewise.
12379 [C99-based-standards] (SCNxLEAST64): Likewise.
12380 [C99-based-standards] (PRIdFAST64): Likewise.
12381 [C99-based-standards] (PRIiFAST64): Likewise.
12382 [C99-based-standards] (PRIoFAST64): Likewise.
12383 [C99-based-standards] (PRIuFAST64): Likewise.
12384 [C99-based-standards] (PRIxFAST64): Likewise.
12385 [C99-based-standards] (PRIXFAST64): Likewise.
12386 [C99-based-standards] (SCNdFAST64): Likewise.
12387 [C99-based-standards] (SCNiFAST64): Likewise.
12388 [C99-based-standards] (SCNoFAST64): Likewise.
12389 [C99-based-standards] (SCNuFAST64): Likewise.
12390 [C99-based-standards] (SCNxFAST64): Likewise.
12391 [C99-based-standards] (PRIdMAX): Likewise.
12392 [C99-based-standards] (PRIiMAX): Likewise.
12393 [C99-based-standards] (PRIoMAX): Likewise.
12394 [C99-based-standards] (PRIuMAX): Likewise.
12395 [C99-based-standards] (PRIxMAX): Likewise.
12396 [C99-based-standards] (PRIXMAX): Likewise.
12397 [C99-based-standards] (SCNdMAX): Likewise.
12398 [C99-based-standards] (SCNiMAX): Likewise.
12399 [C99-based-standards] (SCNoMAX): Likewise.
12400 [C99-based-standards] (SCNuMAX): Likewise.
12401 [C99-based-standards] (SCNxMAX): Likewise.
12402 [C99-based-standards] (PRIdPTR): Likewise.
12403 [C99-based-standards] (PRIiPTR): Likewise.
12404 [C99-based-standards] (PRIoPTR): Likewise.
12405 [C99-based-standards] (PRIuPTR): Likewise.
12406 [C99-based-standards] (PRIxPTR): Likewise.
12407 [C99-based-standards] (PRIXPTR): Likewise.
12408 [C99-based-standards] (SCNdPTR): Likewise.
12409 [C99-based-standards] (SCNiPTR): Likewise.
12410 [C99-based-standards] (SCNoPTR): Likewise.
12411 [C99-based-standards] (SCNuPTR): Likewise.
12412 [C99-based-standards] (SCNxPTR): Likewise.
12413 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12414 allow.
12415 * conform/data/stdint.h-data: Update comments to clarify
12416 requirements.
12417 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12418 type.
12419 [C99-based standards] (INT8_MAX): Likewise.
12420 [C99-based standards] (INT16_MIN): Likewise.
12421 [C99-based standards] (INT16_MAX): Likewise.
12422 [C99-based standards] (INT32_MIN): Likewise.
12423 [C99-based standards] (INT32_MAX): Likewise.
12424 [C99-based standards] (INT64_MIN): Likewise.
12425 [C99-based standards] (INT64_MAX): Likewise.
12426 [C99-based standards] (UINT8_MAX): Likewise.
12427 [C99-based standards] (UINT16_MAX): Likewise.
12428 [C99-based standards] (UINT32_MAX): Likewise.
12429 [C99-based standards] (UINT64_MAX): Likewise.
12430 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12431 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12432 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12433 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12434 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12435 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12436 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12437 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12438 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12439 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12440 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12441 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12442 [C99-based standards] (INT_FAST8_MIN): Likewise.
12443 [C99-based standards] (INT_FAST8_MAX): Likewise.
12444 [C99-based standards] (INT_FAST16_MIN): Likewise.
12445 [C99-based standards] (INT_FAST16_MAX): Likewise.
12446 [C99-based standards] (INT_FAST32_MIN): Likewise.
12447 [C99-based standards] (INT_FAST32_MAX): Likewise.
12448 [C99-based standards] (INT_FAST64_MIN): Likewise.
12449 [C99-based standards] (INT_FAST64_MAX): Likewise.
12450 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12451 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12452 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12453 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12454 [C99-based standards] (INTPTR_MIN): Likewise.
12455 [C99-based standards] (INTPTR_MAX): Likewise.
12456 [C99-based standards] (UINTPTR_MAX): Likewise.
12457 [C99-based standards] (INTMAX_MIN): Likewise.
12458 [C99-based standards] (INTMAX_MAX): Likewise.
12459 [C99-based standards] (UINTMAX_MAX): Likewise.
12460 [C99-based standards] (PTRDIFF_MIN): Likewise.
12461 [C99-based standards] (PTRDIFF_MAX): Likewise.
12462 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12463 [C99-based standards] (SIZE_MAX): Likewise.
12464 [C99-based standards] (WCHAR_MAX): Likewise.
12465 [C99-based standards] (WINT_MAX): Likewise.
12466 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12467 constraint on value.
12468 [C99-based standards] (WCHAR_MIN): Likewise.
12469 [C99-based standards] (WINT_MIN): Likewise.
12470 [C99-based standards] (*_t): Allow.
12471 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12472 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12473 Include math.h-data and complex.h-data. Remove all expectations
12474 of math.h and complex.h contents.
12475 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12476 at end of line.
12477 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12478 (struct tm): Expect tag.
12479 [C99-based-standards] (wcstof): Expect function.
12480 [C99-based-standards] (wcstold): Likewise.
12481 [C99-based-standards] (wcstoll): Likewise.
12482 [C99-based-standards] (wcstoull): Likewise.
12483 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12484 macro-int-constant. Specify type.
12485 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12486 constraint on value.
12487 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12488 Specify type.
12489 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12490 Specify value.
12491 [ISO C standards]: Do not allow headers.
12492 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12493 wcs[abcdefghijklmnopqrstuvwxyz]*.
12494 [ISO C standards] (*_t): Do not allow.
12495 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12496 Expect function.
12497 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12498 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12499 Specify type.
12500 [ISO C standards]: Do not allow headers.
12501 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12502 is[abcdefghijklmnopqrstuvwxyz]*.
12503 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12504 to[abcdefghijklmnopqrstuvwxyz]*.
12505 [ISO C standards] (*_t): Do not allow.
12506 * conform/data/stdalign.h-data: New file.
12507 * conform/data/stdbool.h-data: Likewise.
12508 * conform/data/stdnoreturn.h-data: Likewise.
12509
7514feb8
RM
125102012-11-07 Roland McGrath <roland@hack.frob.com>
12511
12512 [BZ #14815]
12513 * manual/filesys.texi (Directory Entries): Typo fix.
12514 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12515
19b2ecfc
MS
125162012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12517
12518 * elf/elf.h (EM_AARCH64): New macro.
12519 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12520 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12521 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12522 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12523 (R_AARCH64_TLSDESC): Likewise.
12524 (NT_ARM_TLS): Likewise.
12525 (NT_ARM_HW_BREAK): Likewise.
12526 (NT_ARM_HW_WATCH): Likewise.
12527
60e235ee
JM
125282012-11-07 Joseph Myers <joseph@codesourcery.com>
12529
12530 [BZ #14811]
12531 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12532 (__ieee754_powl): Saturate nonzero exponents with absolute value
12533 below 0x1p-79 to +/- 0x1p-79.
12534 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12535 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12536 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12537 nonzero exponents with absolute value below 0x1p-32 to +/-
12538 0x1p-32.
12539 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12540 (__ieee754_powl): Saturate nonzero exponents with absolute value
12541 below 0x1p-79 to +/- 0x1p-79.
12542 * math/libm-test.inc (pow_test): Add more tests.
12543
0ab234b7
AK
125442012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12545
12546 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12547 _dl_s390_cap_flags with kernel. Increase string length.
12548 (_dl_s390_platforms): Add z196 and zEC12.
12549
45832f74
JM
125502012-11-07 Joseph Myers <joseph@codesourcery.com>
12551
12552 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12553 Change XOPEN21K to XOPEN2K.
12554
19218757
MK
125552012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12556
12557 * string/memmove.c: Use memcpy when possible.
12558
c5f45721
AJ
125592012-11-06 Andreas Jaeger <aj@suse.de>
12560
12561 * po/eo.po: Update from translation team.
12562
82477c28
JM
125632012-11-06 Joseph Myers <joseph@codesourcery.com>
12564
12565 [BZ #14793]
12566 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12567 exponent and small x and y exponents, scale x or y up. Increase
12568 by 2 the exponent used in scaling up.
12569 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12570 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12571 * math/libm-test.inc (fma_test): Add more tests.
12572 (fma_test_towardzero): Likewise.
12573 (fma_test_downward): Likewise.
12574 (fma_test_upward): Likewise.
12575
99252c8c
JM
125762012-11-05 Joseph Myers <joseph@codesourcery.com>
12577
acfa885f
JM
12578 [BZ #14805]
12579 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12580 fenv_t *.
12581
99252c8c
JM
12582 [BZ #14801]
12583 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12584 namespace for names of struct fields.
12585 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12586 fenv_t fields.
12587 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12588 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12589
d6d98dea
ST
125902012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12591
12592 [BZ #3665]
12593 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12594
e10bb107
TS
125952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12596
12597 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12598 PTR_DEMANGLE.
12599
12600 [BZ #5246]
12601 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12602 PTR_DEMANGLE.
12603
a0c2940d
JM
126042012-11-04 Joseph Myers <joseph@codesourcery.com>
12605
12606 [BZ #14797]
12607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12608 definitely overflow as x * y not x * y + z.
12609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12610 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12611 * math/libm-test.inc (fma_test): Add more tests.
12612 (fma_test_towardzero): Likewise.
12613 (fma_test_downward): Likewise.
12614 (fma_test_upward): Likewise.
12615
b830319d
TS
126162012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12617
12618 [BZ #157]
12619
12620 * include/stub-tag.h: Remove file.
12621 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12622 '#include' of it.
12623 * manual/maint.texi (Porting): Don't reference it.
12624 * Makerules ($(objpfx)stubs): Likewise.
12625 * dirent/closedir.c: Don't include <stub-tag.h>.
12626 * dirent/dirfd.c: Likewise.
12627 * dirent/fdopendir.c: Likewise.
12628 * dirent/getdents.c: Likewise.
12629 * dirent/getdents64.c: Likewise.
12630 * dirent/opendir.c: Likewise.
12631 * dirent/readdir.c: Likewise.
12632 * dirent/readdir64.c: Likewise.
12633 * dirent/readdir64_r.c: Likewise.
12634 * dirent/readdir_r.c: Likewise.
12635 * dirent/rewinddir.c: Likewise.
12636 * dirent/seekdir.c: Likewise.
12637 * dirent/telldir.c: Likewise.
12638 * gmon/profil.c: Likewise.
12639 * grp/setgroups.c: Likewise.
12640 * inet/if_index.c: Likewise.
12641 * io/access.c: Likewise.
12642 * io/chdir.c: Likewise.
12643 * io/chmod.c: Likewise.
12644 * io/chown.c: Likewise.
12645 * io/close.c: Likewise.
12646 * io/dup.c: Likewise.
12647 * io/dup2.c: Likewise.
12648 * io/dup3.c: Likewise.
12649 * io/euidaccess.c: Likewise.
12650 * io/faccessat.c: Likewise.
12651 * io/fchdir.c: Likewise.
12652 * io/fchmod.c: Likewise.
12653 * io/fchmodat.c: Likewise.
12654 * io/fchown.c: Likewise.
12655 * io/fchownat.c: Likewise.
12656 * io/fcntl.c: Likewise.
12657 * io/flock.c: Likewise.
12658 * io/fstatfs.c: Likewise.
12659 * io/fstatfs64.c: Likewise.
12660 * io/fstatvfs.c: Likewise.
12661 * io/fstatvfs64.c: Likewise.
12662 * io/futimens.c: Likewise.
12663 * io/fxstat.c: Likewise.
12664 * io/fxstat64.c: Likewise.
12665 * io/fxstatat.c: Likewise.
12666 * io/fxstatat64.c: Likewise.
12667 * io/getcwd.c: Likewise.
12668 * io/isatty.c: Likewise.
12669 * io/lchmod.c: Likewise.
12670 * io/lchown.c: Likewise.
12671 * io/link.c: Likewise.
12672 * io/linkat.c: Likewise.
12673 * io/lseek.c: Likewise.
12674 * io/lseek64.c: Likewise.
12675 * io/lxstat64.c: Likewise.
12676 * io/mkdir.c: Likewise.
12677 * io/mkdirat.c: Likewise.
12678 * io/mkfifo.c: Likewise.
12679 * io/mkfifoat.c: Likewise.
12680 * io/open.c: Likewise.
12681 * io/open64.c: Likewise.
12682 * io/openat.c: Likewise.
12683 * io/openat64.c: Likewise.
12684 * io/pipe.c: Likewise.
12685 * io/pipe2.c: Likewise.
12686 * io/poll.c: Likewise.
12687 * io/posix_fadvise.c: Likewise.
12688 * io/posix_fadvise64.c: Likewise.
12689 * io/posix_fallocate.c: Likewise.
12690 * io/posix_fallocate64.c: Likewise.
12691 * io/read.c: Likewise.
12692 * io/readlink.c: Likewise.
12693 * io/readlinkat.c: Likewise.
12694 * io/rmdir.c: Likewise.
12695 * io/sendfile.c: Likewise.
12696 * io/sendfile64.c: Likewise.
12697 * io/statfs.c: Likewise.
12698 * io/statfs64.c: Likewise.
12699 * io/statvfs.c: Likewise.
12700 * io/statvfs64.c: Likewise.
12701 * io/symlink.c: Likewise.
12702 * io/symlinkat.c: Likewise.
12703 * io/ttyname.c: Likewise.
12704 * io/ttyname_r.c: Likewise.
12705 * io/umask.c: Likewise.
12706 * io/unlink.c: Likewise.
12707 * io/unlinkat.c: Likewise.
12708 * io/utime.c: Likewise.
12709 * io/utimensat.c: Likewise.
12710 * io/write.c: Likewise.
12711 * io/xmknod.c: Likewise.
12712 * io/xmknodat.c: Likewise.
12713 * io/xstat.c: Likewise.
12714 * io/xstat64.c: Likewise.
12715 * login/getpt.c: Likewise.
12716 * login/grantpt.c: Likewise.
12717 * login/unlockpt.c: Likewise.
12718 * math/e_acoshl.c: Likewise.
12719 * math/e_acosl.c: Likewise.
12720 * math/e_asinl.c: Likewise.
12721 * math/e_atan2l.c: Likewise.
12722 * math/e_atanhl.c: Likewise.
12723 * math/e_coshl.c: Likewise.
12724 * math/e_expl.c: Likewise.
12725 * math/e_fmodl.c: Likewise.
12726 * math/e_gammal_r.c: Likewise.
12727 * math/e_hypotl.c: Likewise.
12728 * math/e_j0l.c: Likewise.
12729 * math/e_j1l.c: Likewise.
12730 * math/e_jnl.c: Likewise.
12731 * math/e_lgammal_r.c: Likewise.
12732 * math/e_log10l.c: Likewise.
12733 * math/e_log2l.c: Likewise.
12734 * math/e_logl.c: Likewise.
12735 * math/e_powl.c: Likewise.
12736 * math/e_rem_pio2l.c: Likewise.
12737 * math/e_sinhl.c: Likewise.
12738 * math/e_sqrtl.c: Likewise.
12739 * math/fclrexcpt.c: Likewise.
12740 * math/fedisblxcpt.c: Likewise.
12741 * math/feenablxcpt.c: Likewise.
12742 * math/fegetenv.c: Likewise.
12743 * math/fegetexcept.c: Likewise.
12744 * math/fegetround.c: Likewise.
12745 * math/feholdexcpt.c: Likewise.
12746 * math/fesetenv.c: Likewise.
12747 * math/fesetround.c: Likewise.
12748 * math/feupdateenv.c: Likewise.
12749 * math/fgetexcptflg.c: Likewise.
12750 * math/fraiseexcpt.c: Likewise.
12751 * math/fsetexcptflg.c: Likewise.
12752 * math/ftestexcept.c: Likewise.
12753 * math/k_cosl.c: Likewise.
12754 * math/k_rem_pio2l.c: Likewise.
12755 * math/k_sinl.c: Likewise.
12756 * math/k_tanl.c: Likewise.
12757 * math/s_asinhl.c: Likewise.
12758 * math/s_atanl.c: Likewise.
12759 * math/s_cbrtl.c: Likewise.
12760 * math/s_erfl.c: Likewise.
12761 * math/s_expm1l.c: Likewise.
12762 * math/s_log1pl.c: Likewise.
12763 * math/s_tanhl.c: Likewise.
12764 * misc/acct.c: Likewise.
12765 * misc/brk.c: Likewise.
12766 * misc/chflags.c: Likewise.
12767 * misc/chroot.c: Likewise.
12768 * misc/fchflags.c: Likewise.
12769 * misc/fgetxattr.c: Likewise.
12770 * misc/flistxattr.c: Likewise.
12771 * misc/fremovexattr.c: Likewise.
12772 * misc/fsetxattr.c: Likewise.
12773 * misc/fsync.c: Likewise.
12774 * misc/ftruncate.c: Likewise.
12775 * misc/futimes.c: Likewise.
12776 * misc/futimesat.c: Likewise.
12777 * misc/getdomain.c: Likewise.
12778 * misc/getdtsz.c: Likewise.
12779 * misc/gethostid.c: Likewise.
12780 * misc/gethostname.c: Likewise.
12781 * misc/getloadavg.c: Likewise.
12782 * misc/getpagesize.c: Likewise.
12783 * misc/getsysstats.c: Likewise.
12784 * misc/getxattr.c: Likewise.
12785 * misc/gtty.c: Likewise.
12786 * misc/ioctl.c: Likewise.
12787 * misc/lgetxattr.c: Likewise.
12788 * misc/listxattr.c: Likewise.
12789 * misc/llistxattr.c: Likewise.
12790 * misc/lremovexattr.c: Likewise.
12791 * misc/lsetxattr.c: Likewise.
12792 * misc/lutimes.c: Likewise.
12793 * misc/madvise.c: Likewise.
12794 * misc/mincore.c: Likewise.
12795 * misc/mlock.c: Likewise.
12796 * misc/mlockall.c: Likewise.
12797 * misc/mmap.c: Likewise.
12798 * misc/mprotect.c: Likewise.
12799 * misc/msync.c: Likewise.
12800 * misc/munlock.c: Likewise.
12801 * misc/munlockall.c: Likewise.
12802 * misc/munmap.c: Likewise.
12803 * misc/preadv.c: Likewise.
12804 * misc/preadv64.c: Likewise.
12805 * misc/ptrace.c: Likewise.
12806 * misc/pwritev.c: Likewise.
12807 * misc/pwritev64.c: Likewise.
12808 * misc/readv.c: Likewise.
12809 * misc/reboot.c: Likewise.
12810 * misc/remap_file_pages.c: Likewise.
12811 * misc/removexattr.c: Likewise.
12812 * misc/revoke.c: Likewise.
12813 * misc/select.c: Likewise.
12814 * misc/setdomain.c: Likewise.
12815 * misc/setegid.c: Likewise.
12816 * misc/seteuid.c: Likewise.
12817 * misc/sethostid.c: Likewise.
12818 * misc/sethostname.c: Likewise.
12819 * misc/setregid.c: Likewise.
12820 * misc/setreuid.c: Likewise.
12821 * misc/setxattr.c: Likewise.
12822 * misc/sstk.c: Likewise.
12823 * misc/stty.c: Likewise.
12824 * misc/swapoff.c: Likewise.
12825 * misc/swapon.c: Likewise.
12826 * misc/sync.c: Likewise.
12827 * misc/syncfs.c: Likewise.
12828 * misc/syscall.c: Likewise.
12829 * misc/truncate.c: Likewise.
12830 * misc/ualarm.c: Likewise.
12831 * misc/usleep.c: Likewise.
12832 * misc/ustat.c: Likewise.
12833 * misc/utimes.c: Likewise.
12834 * misc/vhangup.c: Likewise.
12835 * misc/writev.c: Likewise.
12836 * posix/_exit.c: Likewise.
12837 * posix/alarm.c: Likewise.
12838 * posix/execve.c: Likewise.
12839 * posix/fexecve.c: Likewise.
12840 * posix/fork.c: Likewise.
12841 * posix/fpathconf.c: Likewise.
12842 * posix/getaddrinfo.c: Likewise.
12843 * posix/getegid.c: Likewise.
12844 * posix/geteuid.c: Likewise.
12845 * posix/getgid.c: Likewise.
12846 * posix/getgroups.c: Likewise.
12847 * posix/getlogin.c: Likewise.
12848 * posix/getlogin_r.c: Likewise.
12849 * posix/getpgid.c: Likewise.
12850 * posix/getpid.c: Likewise.
12851 * posix/getppid.c: Likewise.
12852 * posix/getresgid.c: Likewise.
12853 * posix/getresuid.c: Likewise.
12854 * posix/getsid.c: Likewise.
12855 * posix/getuid.c: Likewise.
12856 * posix/glob64.c: Likewise.
12857 * posix/nanosleep.c: Likewise.
12858 * posix/pathconf.c: Likewise.
12859 * posix/pause.c: Likewise.
12860 * posix/posix_madvise.c: Likewise.
12861 * posix/pread.c: Likewise.
12862 * posix/pread64.c: Likewise.
12863 * posix/pwrite.c: Likewise.
12864 * posix/pwrite64.c: Likewise.
12865 * posix/sched_getaffinity.c: Likewise.
12866 * posix/sched_getp.c: Likewise.
12867 * posix/sched_gets.c: Likewise.
12868 * posix/sched_primax.c: Likewise.
12869 * posix/sched_primin.c: Likewise.
12870 * posix/sched_rr_gi.c: Likewise.
12871 * posix/sched_setaffinity.c: Likewise.
12872 * posix/sched_setp.c: Likewise.
12873 * posix/sched_sets.c: Likewise.
12874 * posix/sched_yield.c: Likewise.
12875 * posix/setgid.c: Likewise.
12876 * posix/setlogin.c: Likewise.
12877 * posix/setpgid.c: Likewise.
12878 * posix/setresgid.c: Likewise.
12879 * posix/setresuid.c: Likewise.
12880 * posix/setsid.c: Likewise.
12881 * posix/setuid.c: Likewise.
12882 * posix/sleep.c: Likewise.
12883 * posix/spawni.c: Likewise.
12884 * posix/sysconf.c: Likewise.
12885 * posix/times.c: Likewise.
12886 * posix/wait.c: Likewise.
12887 * posix/wait3.c: Likewise.
12888 * posix/wait4.c: Likewise.
12889 * posix/waitpid.c: Likewise.
12890 * resolv/gai_sigqueue.c: Likewise.
12891 * resource/getpriority.c: Likewise.
12892 * resource/getrlimit.c: Likewise.
12893 * resource/getrusage.c: Likewise.
12894 * resource/nice.c: Likewise.
12895 * resource/setpriority.c: Likewise.
12896 * resource/setrlimit.c: Likewise.
12897 * resource/ulimit.c: Likewise.
12898 * rt/aio_cancel.c: Likewise.
12899 * rt/aio_fsync.c: Likewise.
12900 * rt/aio_read.c: Likewise.
12901 * rt/aio_sigqueue.c: Likewise.
12902 * rt/aio_suspend.c: Likewise.
12903 * rt/aio_write.c: Likewise.
12904 * rt/clock_getres.c: Likewise.
12905 * rt/clock_gettime.c: Likewise.
12906 * rt/clock_nanosleep.c: Likewise.
12907 * rt/clock_settime.c: Likewise.
12908 * rt/lio_listio.c: Likewise.
12909 * rt/mq_close.c: Likewise.
12910 * rt/mq_getattr.c: Likewise.
12911 * rt/mq_notify.c: Likewise.
12912 * rt/mq_open.c: Likewise.
12913 * rt/mq_receive.c: Likewise.
12914 * rt/mq_send.c: Likewise.
12915 * rt/mq_setattr.c: Likewise.
12916 * rt/mq_timedreceive.c: Likewise.
12917 * rt/mq_timedsend.c: Likewise.
12918 * rt/mq_unlink.c: Likewise.
12919 * rt/shm_open.c: Likewise.
12920 * rt/shm_unlink.c: Likewise.
12921 * rt/timer_create.c: Likewise.
12922 * rt/timer_delete.c: Likewise.
12923 * rt/timer_getoverr.c: Likewise.
12924 * rt/timer_gettime.c: Likewise.
12925 * rt/timer_settime.c: Likewise.
12926 * setjmp/__longjmp.c: Likewise.
12927 * setjmp/setjmp.c: Likewise.
12928 * signal/kill.c: Likewise.
12929 * signal/killpg.c: Likewise.
12930 * signal/raise.c: Likewise.
12931 * signal/sigaction.c: Likewise.
12932 * signal/sigaltstack.c: Likewise.
12933 * signal/sigblock.c: Likewise.
12934 * signal/sigignore.c: Likewise.
12935 * signal/sigintr.c: Likewise.
12936 * signal/signal.c: Likewise.
12937 * signal/sigpause.c: Likewise.
12938 * signal/sigpending.c: Likewise.
12939 * signal/sigqueue.c: Likewise.
12940 * signal/sigreturn.c: Likewise.
12941 * signal/sigset.c: Likewise.
12942 * signal/sigsetmask.c: Likewise.
12943 * signal/sigstack.c: Likewise.
12944 * signal/sigsuspend.c: Likewise.
12945 * signal/sigtimedwait.c: Likewise.
12946 * signal/sigvec.c: Likewise.
12947 * signal/sigwait.c: Likewise.
12948 * signal/sigwaitinfo.c: Likewise.
12949 * signal/sysv_signal.c: Likewise.
12950 * socket/accept.c: Likewise.
12951 * socket/accept4.c: Likewise.
12952 * socket/bind.c: Likewise.
12953 * socket/connect.c: Likewise.
12954 * socket/getpeername.c: Likewise.
12955 * socket/getsockname.c: Likewise.
12956 * socket/getsockopt.c: Likewise.
12957 * socket/isfdtype.c: Likewise.
12958 * socket/listen.c: Likewise.
12959 * socket/recv.c: Likewise.
12960 * socket/recvfrom.c: Likewise.
12961 * socket/recvmsg.c: Likewise.
12962 * socket/send.c: Likewise.
12963 * socket/sendmsg.c: Likewise.
12964 * socket/sendto.c: Likewise.
12965 * socket/setsockopt.c: Likewise.
12966 * socket/shutdown.c: Likewise.
12967 * socket/sockatmark.c: Likewise.
12968 * socket/socket.c: Likewise.
12969 * socket/socketpair.c: Likewise.
12970 * stdio-common/ctermid.c: Likewise.
12971 * stdio-common/cuserid.c: Likewise.
12972 * stdio-common/remove.c: Likewise.
12973 * stdio-common/rename.c: Likewise.
12974 * stdio-common/renameat.c: Likewise.
12975 * stdio-common/tempname.c: Likewise.
12976 * stdlib/getcontext.c: Likewise.
12977 * stdlib/makecontext.c: Likewise.
12978 * stdlib/setcontext.c: Likewise.
12979 * stdlib/swapcontext.c: Likewise.
12980 * stdlib/system.c: Likewise.
12981 * streams/fattach.c: Likewise.
12982 * streams/fdetach.c: Likewise.
12983 * streams/getmsg.c: Likewise.
12984 * streams/getpmsg.c: Likewise.
12985 * streams/putmsg.c: Likewise.
12986 * streams/putpmsg.c: Likewise.
12987 * sysdeps/unix/bsd/getpt.c: Likewise.
12988 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12989 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12990 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12992 Likewise.
12993 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12994 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12995 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12996 * sysvipc/msgctl.c: Likewise.
12997 * sysvipc/msgget.c: Likewise.
12998 * sysvipc/msgrcv.c: Likewise.
12999 * sysvipc/msgsnd.c: Likewise.
13000 * sysvipc/semctl.c: Likewise.
13001 * sysvipc/semget.c: Likewise.
13002 * sysvipc/semop.c: Likewise.
13003 * sysvipc/semtimedop.c: Likewise.
13004 * sysvipc/shmat.c: Likewise.
13005 * sysvipc/shmctl.c: Likewise.
13006 * sysvipc/shmdt.c: Likewise.
13007 * sysvipc/shmget.c: Likewise.
13008 * termios/tcdrain.c: Likewise.
13009 * termios/tcflow.c: Likewise.
13010 * termios/tcflush.c: Likewise.
13011 * termios/tcgetattr.c: Likewise.
13012 * termios/tcgetpgrp.c: Likewise.
13013 * termios/tcsendbrk.c: Likewise.
13014 * termios/tcsetattr.c: Likewise.
13015 * termios/tcsetpgrp.c: Likewise.
13016 * time/adjtime.c: Likewise.
13017 * time/clock.c: Likewise.
13018 * time/getitimer.c: Likewise.
13019 * time/gettimeofday.c: Likewise.
13020 * time/setitimer.c: Likewise.
13021 * time/settimeofday.c: Likewise.
13022 * time/stime.c: Likewise.
13023 * time/time.c: Likewise.
13024
130252012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13026
a20492cf
PT
13027 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13028 /usr/old/bin.
13029
72e182e3
PT
13030 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13031 instead of spaces.
13032 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13033
fbeafede
JM
130342012-11-03 Joseph Myers <joseph@codesourcery.com>
13035
5b5b04d6
JM
13036 [BZ #14796]
13037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13038 FE_TONEAREST before applying Dekker multiplication and Knuth
13039 addition. Clear inexact exceptions and check for exact zero
13040 results afterwards.
13041 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13042 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13043 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13044 * math/libm-test.inc (fma_test): Add more tests.
13045 (fma_test_towardzero): Likewise.
13046 (fma_test_downward): Likewise.
13047 (fma_test_upward): Likewise.
13048 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13049 function.
13050 (libc_fesetround): New macro.
13051 (libc_fesetroundf): Likewise.
13052 (libc_fesetroundl): Likewise.
13053 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13054 function.
13055 (libc_fesetround_387): Likewise.
13056 (libc_fesetroundf): New macro.
13057 (libc_fesetround): Likewise.
13058 (libc_fesetroundl): Likewise.
13059 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13060 function.
13061 (libc_fesetroundf): New macro.
13062 (libc_fesetround): Likewise.
13063 (libc_fesetroundl): Likewise.
13064 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13065 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13066 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13067 libm_hidden_ver.
13068 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13069 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13070 libm_hidden_def.
13071 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13072 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13073 libm_hidden_ver.
13074 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13075 libm_hidden_def.
13076
fbeafede
JM
13077 [BZ #3439]
13078 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13079 integer constant usable in #if and use that to give value to enum
13080 constant.
13081 (FE_DIVBYZERO): Likewise.
13082 (FE_UNDERFLOW): Likewise.
13083 (FE_OVERFLOW): Likewise.
13084 (FE_INVALID): Likewise.
13085 (FE_INVALID_SNAN): Likewise.
13086 (FE_INVALID_ISI): Likewise.
13087 (FE_INVALID_IDI): Likewise.
13088 (FE_INVALID_ZDZ): Likewise.
13089 (FE_INVALID_IMZ): Likewise.
13090 (FE_INVALID_COMPARE): Likewise.
13091 (FE_INVALID_SOFTWARE): Likewise.
13092 (FE_INVALID_SQRT): Likewise.
13093 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13094 (FE_TONEAREST): Likewise.
13095 (FE_TOWARDZERO): Likewise.
13096 (FE_UPWARD): Likewise.
13097 (FE_DOWNWARD): Likewise.
13098 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13099 (FE_DIVBYZERO): Likewise.
13100 (FE_OVERFLOW): Likewise.
13101 (FE_UNDERFLOW): Likewise.
13102 (FE_INEXACT): Likewise.
13103 (FE_TONEAREST): Likewise.
13104 (FE_DOWNWARD): Likewise.
13105 (FE_UPWARD): Likewise.
13106 (FE_TOWARDZERO): Likewise.
13107 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13108 (FE_UNDERFLOW): Likewise.
13109 (FE_OVERFLOW): Likewise.
13110 (FE_DIVBYZERO): Likewise.
13111 (FE_INVALID): Likewise.
13112 (FE_TONEAREST): Likewise.
13113 (FE_TOWARDZERO): Likewise.
13114 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13115 (FE_OVERFLOW): Likewise.
13116 (FE_UNDERFLOW): Likewise.
13117 (FE_DIVBYZERO): Likewise.
13118 (FE_INEXACT): Likewise.
13119 (FE_TONEAREST): Likewise.
13120 (FE_TOWARDZERO): Likewise.
13121 (FE_UPWARD): Likewise.
13122 (FE_DOWNWARD): Likewise.
13123 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13124 (FE_DIVBYZERO): Likewise.
13125 (FE_OVERFLOW): Likewise.
13126 (FE_UNDERFLOW): Likewise.
13127 (FE_INEXACT): Likewise.
13128 (FE_TONEAREST): Likewise.
13129 (FE_DOWNWARD): Likewise.
13130 (FE_UPWARD): Likewise.
13131 (FE_TOWARDZERO): Likewise.
13132
105ca950
CM
131332012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13134
13135 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13136
a542b389
AS
131372012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13138
13139 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13140 commands. Quote $PWD.
13141 (blacklist_exports): Don't use remove_newlines. Replace "declare
13142 -x" by "export".
13143 (remove_newlines): Remove.
13144
f62c8abc
L
131452012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13146
13147 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13148 * stdlib/stdlib.h (atof): Moved to ...
13149 * include/bits/stdlib-float.h: Here. New file.
13150 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13151 * stdlib/bits/stdlib-float.h: New file.
13152 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13153 -mno-sse -mno-mmx.
13154 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13155 <xmmintrin.h>.
13156
0155d5b2
JM
131572012-11-02 Joseph Myers <joseph@codesourcery.com>
13158
a68d0680
JM
13159 * conform/conformtest.pl (@headers): Add fenv.h.
13160 * conform/data/fenv.h-data: New file.
13161 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13162 include of <math/fenv.h>.
13163
caf7f573
JM
13164 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13165 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13166 && !UNIX98]. Enables tests for XOPEN2K8.
13167 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13168 POSIX2008]: Likewise.
13169
6c073ad6
JM
13170 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13171 (struct rusage): Do not expect type or its members.
13172
0155d5b2
JM
13173 [BZ #3439]
13174 * math/math.h (FP_NAN): Define macro to integer constant usable in
13175 #if and use that to give value to enum constant.
13176 (FP_INFINITE): Likewise.
13177 (FP_ZERO): Likewise.
13178 (FP_SUBNORMAL): Likewise.
13179 (FP_NORMAL): Likewise.
13180
b5dcacb4
AS
131812012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13182
13183 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13184 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13185 arguments.
13186
f7934be8
RM
131872012-11-02 Roland McGrath <roland@hack.frob.com>
13188
13189 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13190 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13191 autoconf-time if not.
13192 * configure.in: Remove AC_PREREQ.
13193
d7d08bde
TMQMF
131942012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13195
13196 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13197 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13198 of the internal implementation.
13199
dcdae19a
JM
132002012-11-02 Joseph Myers <joseph@codesourcery.com>
13201
13202 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13203 except include of <misc/sys/syslog.h>.
13204
d6cffd3e
AS
132052012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13206
13207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13208 function returns with a NULL context exit with zero.
13209
b3563932
TMQMF
132102012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13211
13212 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13213
b288a93d
L
132142012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13215
13216 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13217 (run_program_cmd): This.
13218 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13219 (tst_langinfo): New variable. Use it.
13220
a2421a68
SAS
132212012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13222
13223 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13224 floating point opcodes.
13225
6f796e1b
TS
132262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13227
7402596b
TS
13228 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13229 variable.
13230
d0d4f868
TS
13231 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13232
6f796e1b
TS
13233 * sysdeps/mach/hurd/powerpc: Remove directory.
13234 * sysdeps/mach/powerpc: Likewise.
13235
4da224a2
AS
132362012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13237
13238 * scripts/check-local-headers.sh: Ignore c++ headers.
13239
341dd673
TS
132402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13241
13242 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13243 __libc_cleanup_region_start argument.
13244
473611b2
JM
132452012-11-01 Joseph Myers <joseph@codesourcery.com>
13246
13247 [BZ #14784]
13248 [BZ #14785]
13249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13250 x * y using scaling, not as x * y + z.
13251 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13252 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13253 * math/libm-test.inc (fma_test): Add more tests.
13254 (fma_test_towardzero): Likewise.
13255 (fma_test_downward): Likewise.
13256 (fma_test_upward): Likewise.
13257
4078da3d
TS
132582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13259
13260 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13261
903252aa
JM
132622012-10-31 Joseph Myers <joseph@codesourcery.com>
13263
13264 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13265 New variable.
13266
cbc818d0
TS
132672012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13268
13269 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13270
5a03cb1e
AS
132712012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13272
13273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13274 Fix sort order.
13275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13276 Likewise.
13277
90aff2ff
TMQMF
132782012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13279
13280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13281 Fix the order of the list for glibc 2.17.
13282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13283 Likewise.
13284
1818fcb7
AS
132852012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13286
13287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13288
ef82f4da
JM
132892012-10-31 Joseph Myers <joseph@codesourcery.com>
13290
16a0e2ec
JM
13291 [BZ #14610]
13292 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13293 for low part of x being zero before using __atanl (y).
13294 * math/libm-test.inc (atan2_test): Add another test.
13295
0eb69512
JM
13296 * manual/install.texi (Configuring and compiling): Document
13297 general use of test-wrapper and test-wrapper-env.
13298 * INSTALL: Regenerated.
13299
ef82f4da
JM
13300 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13301 (__fma): Do not extract and scale down low bits on after-rounding
13302 systems when result rounded to normal precision would have normal
13303 exponent.
13304 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13305 (__fmal): Do not extract and scale down low bits on after-rounding
13306 systems when result rounded to normal precision would have normal
13307 exponent.
13308 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13309 (__fmal): Do not extract and scale down low bits on after-rounding
13310 systems when result rounded to normal precision would have normal
13311 exponent.
13312 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13313 macro.
13314 (fma_test): Add more tests.
13315 (fma_test_towardzero): Likewise.
13316 (fma_test_downward): Likewise.
13317 (fma_test_upward): Likewise.
13318
954ef0d9
L
133192012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13320
13321 * sysdeps/i386/tininess.h: Renamed to ...
13322 * sysdeps/x86/tininess.h: This.
13323 * sysdeps/x86_64/tininess.h: Removed.
13324
df61ffb2
JM
133252012-10-30 Joseph Myers <joseph@codesourcery.com>
13326
13327 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13328 input. Use $(build-program-cmd).
13329 ($(objpfx)tst-array1-static.out): Likewise.
13330 ($(objpfx)tst-array2.out): Likewise.
13331 ($(objpfx)tst-array3.out): Likewise.
13332 ($(objpfx)tst-array4.out): Likewise.
13333 ($(objpfx)tst-array5.out): Likewise.
13334 ($(objpfx)tst-array5-static.out): Likewise.
13335
01767843
CM
133362012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13337
47cc1490
CM
13338 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13339 if defined.
13340
01767843
CM
13341 * nss/nsswitch.h (nss_interface_function): Provide new
13342 macro for use with NSS functions.
13343 * grp/initgroups.c: Use new macro.
13344 * nss/getXXbyYY.c: Likewise.
13345 * nss/getXXbyYY_r.c: Likewise.
13346 * nss/getXXent.c: Likewise.
13347 * nss/getXXent_r.c: Likewise.
13348 * sysdeps/posix/getaddrinfo.c: Likewise.
13349
8321aa97
AJ
133502012-10-30 Andreas Jaeger <aj@suse.de>
13351
13352 * po/ru.po: Update Russion translation from translation project.
13353
2a27fd6d
JM
133542012-10-30 Joseph Myers <joseph@codesourcery.com>
13355
8627a232
JM
13356 [BZ #14152]
13357 [BZ #14783]
13358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13359 result and shift together with sticky bit instead of replicating
13360 round-to-nearest rounding.
13361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13362 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13363 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13364 missing underflow exceptions.
13365 (fma_test_towardzero): Add more tests.
13366 (fma_test_downward): Likewise.
13367 (fma_test_upward): Likewise.
13368
2a27fd6d
JM
13369 [BZ #14047]
13370 * sysdeps/generic/tininess.h: New file.
13371 * sysdeps/i386/tininess.h: Likewise.
13372 * sysdeps/sh/tininess.h: Likewise.
13373 * sysdeps/x86_64/tininess.h: Likewise.
13374 * stdlib/tst-strtod-underflow.c: Likewise.
13375 * stdlib/tst-tininess.c: Likewise.
13376 * stdlib/strtod_l.c: Include <tininess.h>.
13377 (round_and_return): Do not set errno for exact underflow cases.
13378 Force an underflow exception when setting errno for underflow.
13379 Determine underflow based on rounding to normal precision if
13380 TININESS_AFTER_ROUNDING.
13381 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13382 ERANGE for exact underflow cases.
13383 * stdlib/Makefile (tests): Add tst-tininess and
13384 tst-strtod-underflow.
13385 ($(objpfx)tst-tininess): Use $(link-libm).
13386 ($(objpfx)tst-strtod-underflow): Likewise.
13387
e7170363
AJ
133882012-10-30 Andreas Jaeger <aj@suse.de>
13389
e5088dc6
AJ
13390 [BZ#14767]
13391 * elf/Makefile (tests): Remove conditional for have-initfini-array
13392 since this is now always required and the variable does not exist
13393 anymore.
13394 (tests-static): Likewise.
13395 (modules-names): Likewise.
13396
e7170363 13397 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
13398
13399 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13400 merged with constructor/destructor.
13401 (init_array): Likewise.
13402 * elf/tst-array2dep.c (fini_array): Likewise.
13403 (init_array): Likewise.
13404
60457d8a
MF
134052012-10-29 Mike Frysinger <vapier@gentoo.org>
13406
13407 * manual/message.texi: Delete @cartouche tags.
13408
8bece752
PT
134092012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13410
94ce799f
PT
13411 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13412 EOPNOTSUPP.
13413 * sysdeps/mach/hurd/fsync.c: Likewise.
13414
8bece752
PT
13415 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13416 [_POSIX_REALTIME_SIGNALS]: Change condition to
13417 [_POSIX_REALTIME_SIGNALS > 0].
13418
86ebe6b1
AJ
134192012-10-27 Andreas Jaeger <aj@suse.de>
13420
13421 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13422 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13424 [__WORDSIZE != 64]: Likewise.
13425
54399c08
L
134262012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13427
13428 * iconvdata/tst-table.sh: Remove ${SHELL}.
13429 * iconvdata/tst-tables.sh: Likewise.
13430
e2211bed
DM
134312012-10-25 David S. Miller <davem@davemloft.net>
13432
13433 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13434 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13435 of strtoull.
13436
f303f97c
DM
13437 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13438 ifunc-impl-list.c
13439 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13440 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13441 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13442 file.
13443
1e9d84cd
RM
134442012-10-25 Roland McGrath <roland@hack.frob.com>
13445
13446 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13447 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13448 __getdirentries.
13449
df381762
JM
134502012-10-25 Joseph Myers <joseph@codesourcery.com>
13451 Jim Blandy <jimb@codesourcery.com>
13452
13453 * scripts/cross-test-ssh.sh: New file.
13454 * manual/install.texi (Configuring and compiling): Document use of
13455 cross-test-ssh.sh.
13456 * INSTALL: Regenerated.
13457
bff64913
PT
134582012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13459
13460 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13461 EOPNOTSUPP.
13462
25fe8932
JM
134632012-10-25 Joseph Myers <joseph@codesourcery.com>
13464
13465 * Makeconfig (run-program-prefix): Fix comment.
13466
cc1290d0
JM
134672012-10-24 Joseph Myers <joseph@codesourcery.com>
13468 Jim Blandy <jimb@codesourcery.com>
13469
13470 * Makeconfig (test-wrapper): New variable,
13471 (test-wrapper-env): Likewise.
13472 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13473 (run-built-tests): Define to yes.
13474 (run-program-prefix): Use $(test-wrapper).
13475 (built-program-cmd): Likewise.
13476 * Rules (make-test-out): Use $(test-wrapper-env) and
13477 $(host-built-program-cmd).
13478 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13479 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13480 tst-pathopt.sh.
13481 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13482 $(test-wrapper-env) to tst-rtld-load-self.sh.
13483 ($(objpfx)order2.out): Use $(test-wrapper).
13484 ($(objpfx)tst-initorder.out): Likewise.
13485 ($(objpfx)tst-initorder2.out): Likewise.
13486 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13487 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13488 (test_wrapper_env): New variable. Use it to run ld.so.
13489 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13490 Use it to run ld.so.
13491 (test_wrapper_env): Likewise.
13492 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13493 $(test-wrapper) to run-iconv-test.sh.
13494 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13495 (ICONV): Use $test_wrapper.
13496 * posix/Makefile ($(objpfx)globtest.out): Pass
13497 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13498 globtest.sh, not $(run-program-prefix).
13499 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13500 (test_wrapper): Likewise.
13501 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13502 set together with run_via_rtld_prefix.
13503 (run_program_prefix): Define in terms of test_wrapper and
13504 run_via_rtld_prefix.
13505
6e6249d0
RM
135062012-10-24 Roland McGrath <roland@hack.frob.com>
13507
13508 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13509 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13510 Targets removed.
13511
13512 [BZ #14743]
13513 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13514 Declare __clock_getres, __clock_gettime, __clock_settime,
13515 __clock_nanosleep, and __clock_getcpuclockid.
13516 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13517 Remove librt_hidden_def (clock_gettime).
13518 * sysdeps/unix/clock_gettime.c: Likewise.
13519 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13520 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13521 * rt/clock_getres.c: Define __clock_getres as an alias.
13522 * sysdeps/posix/clock_getres.c: Likewise.
13523 * rt/clock_settime.c: Define __clock_settime as an alias.
13524 * sysdeps/unix/clock_settime.c: Likewise.
13525 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13526 * sysdeps/unix/clock_nanosleep.c: Likewise.
13527 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13528 * rt/clock-compat.c: New file.
13529 * rt/Makefile (librt-routines): Add clock-compat and move
13530 $(clock-routines) to ...
13531 (routines): ... here, new variable.
13532 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13533 Don't add get_clockfreq here.
13534 * rt/Versions (libc: GLIBC_2.17): New version set.
13535 Add clock_* symbols here.
13536 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13537 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13538 (GLIBC_2.17): Add clock_* symbols.
13539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13541 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13543 Likewise.
13544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13545 Likewise.
13546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13547 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13550 * NEWS: Mention the move.
13551
13552 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13553 Use __open, __read, __close rather than their public counterparts.
13554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13555 (__get_clockfreq_via_cpuinfo): Likewise.
13556 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13557 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13558
13559 * config.h.in (HAVE_IFUNC): New #undef.
13560 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13561 was successful.
13562 * configure: Regenerated.
13563
0cae3f4b
MF
135642012-10-24 Mike Frysinger <vapier@gentoo.org>
13565
13566 * configure.in: Move READELF check to start of file.
13567 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13568 libc_cv_asm_gnu_indirect_function in the process.
13569 * configure: Regenerated.
13570
8175a253
MF
135712012-10-24 Mike Frysinger <vapier@gentoo.org>
13572
13573 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13574 send the output to /dev/null.
13575 (libc_cv_cc_with_libunwind): Likewise.
13576 (libc_cv_as_noexecstack): Likewise.
13577 * configure: Regenerate.
13578
0708a7d1
JM
135792012-10-24 Joseph Myers <joseph@codesourcery.com>
13580
10b40d85
JM
13581 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13582
0708a7d1
JM
13583 * posix/globtest.sh (TMPDIR): Do not set.
13584 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13585 (testout): Likewise.
13586
9fddec1a
AJ
135872012-10-24 Andreas Jaeger <aj@suse.de>
13588
3a8db22f
AJ
13589 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13590 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13591 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13592 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13593 posix_fadvise64, posix_fallocate64.
13594
9fddec1a
AJ
13595 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13596 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13597 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13598 Likewise.
13599 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13600 Likewise.
13601 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13602
13603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13604 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13605 <bits/fcntl-linux.h>.
13606 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13607
13608 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13609 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13610 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13611 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13612 [__WORDSIZE != 64]: Likewise.
13613
ebfd1bbd
JM
136142012-10-23 Joseph Myers <joseph@codesourcery.com>
13615
03ac099f
JM
13616 * Makeconfig (run-built-tests): New variable.
13617 * Rules [$(cross-compiling) = yes]: Change condition to
13618 [$(run-built-tests) = no].
13619 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13620 to [$(run-built-tests) = yes].
13621 * elf/Makefile [$(cross-compiling) = no]: Likewise
13622 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13623 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13624 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13625 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13626 * io/Makefile [$(cross-compiling) = no]: Likewise.
13627 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13628 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13629 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13630 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13631 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13632 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13633 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13634 * string/Makefile [$(cross-compiling) = no]: Likewise.
13635
ebfd1bbd
JM
13636 * posix/Makefile ($(objpfx)globtest.out): Pass
13637 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13638 $(rtld-installed-name).
13639 * posix/globtest.sh (elf_objpfx): Remove variable.
13640 (rtld_installed_name): Likewise.
13641 (library_path): Likewise.
13642 (run_program_prefix): New variable. Use for running globtest
13643 binary.
13644
166bca24
JB
136452012-10-23 Jim Blandy <jimb@codesourcery.com>
13646 Joseph Myers <joseph@codesourcery.com>
13647
13648 * Makeconfig (host-built-program-cmd): New variable.
13649 * elf/Makefile (tst-stackguard1-ARGS): Use
13650 $(host-built-program-cmd).
13651 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13652 (tst-spawn-ARGS): Likewise.
13653 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13654
88866099
JM
136552012-10-23 Joseph Myers <joseph@codesourcery.com>
13656 Jim Blandy <jimb@codesourcery.com>
13657
13658 * Makeconfig (run-via-rtld-prefix): New variable.
13659 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13660 (built-program-cmd): Likewise.
13661
b4b4c296
AJ
136622012-10-22 Andreas Jaeger <aj@suse.de>
13663
13664 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13665 __O_RSYNC if it exists, otherwise to O_SYNC.
13666
6fb54a22
JB
136672012-10-22 Jim Blandy <jimb@codesourcery.com>
13668 Joseph Myers <joseph@codesourcery.com>
13669
13670 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13671 /dev/null.
13672 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13673 from /dev/null
13674 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13675 /dev/null.
13676
481b90b9
AJ
136772012-10-22 Andreas Jaeger <aj@suse.de>
13678
2a0e2669
AJ
13679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13680 Define always.
13681 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13682
76e38f9a
AJ
13683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13684 bits/fcntl-linux.h.
13685
7cd37b43
AJ
13686 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13687 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13688
481b90b9
AJ
13689 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13690 to __O_LARGEFILE.
13691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13692 to __O_LARGEFILE.
13693
aba75984
JB
136942012-10-21 Jim Blandy <jimb@codesourcery.com>
13695 Joseph Myers <joseph@codesourcery.com>
13696
13697 * config.make.in (NM): New variable.
13698
88d4247f
AJ
136992012-10-21 Andreas Jaeger <aj@suse.de>
13700
13701 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13702 definitions and declarations that are provided by
13703 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13704
f2eed205
L
137052012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13706
13707 [BZ #14683]
13708 * elf/Makefile (tests-static): Add tst-leaks1-static.
13709 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13710 ($(objpfx)tst-leaks1-static): New rule.
13711 ($(objpfx)tst-leaks1-static-mem): Likewise.
13712 (tst-leaks1-static-ENV): New macro.
13713 * elf/dl-open.c (dl_open_worker): Check the main application
13714 only if SHARED is defined.
13715 * elf/tst-leaks1-static.c: New file.
13716
335e6931
AJ
137172012-10-20 Andreas Jaeger <aj@suse.de>
13718
13719 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13720 generic values for Linux.
13721 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13722 and declarations that are provided by <bits/fcntl-linux.h> and
13723 include <bits/fcntl-linux.h>.
13724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13726
ac5c94d3
RM
137272012-10-20 Roland McGrath <roland@hack.frob.com>
13728
13729 * io/fcntl.h: Move include of <bits/types.h> to the top and
13730 include it unconditionally.
13731
de54b33a
L
137322012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13733
228cfb01
L
13734 * wcsmbs/Makefile (tests-ifunc): New variable.
13735 (tests): Add $(tests-ifunc).
13736 * wcsmbs/test-wcschr-ifunc.c: New file.
13737 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13738 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13739 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13740 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13741 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13742
69f07e5f
L
13743 * string/Makefile (tests-ifunc): New variable.
13744 (tests): Add $(tests-ifunc).
13745 * string/test-memccpy.c (TEST_NAME): New macro.
13746 * string/test-memchr.c (TEST_NAME): Likewise.
13747 * string/test-memcmp.c (TEST_NAME): Likewise.
13748 * string/test-memcpy.c (TEST_NAME): Likewise.
13749 * string/test-memmem.c (TEST_NAME): Likewise.
13750 * string/test-memmove.c (TEST_NAME): Likewise.
13751 * string/test-memset.c (TEST_NAME): Likewise.
13752 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13753 * string/test-stpcpy.c (TEST_NAME): Likewise.
13754 * string/test-stpncpy.c (TEST_NAME): Likewise.
13755 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13756 * string/test-strcasestr.c (TEST_NAME): Likewise.
13757 * string/test-strcat.c (TEST_NAME): Likewise.
13758 * string/test-strchr.c (TEST_NAME): Likewise.
13759 * string/test-strcmp.c(TEST_NAME): Likewise.
13760 * string/test-strcpy.c (TEST_NAME): Likewise.
13761 * string/test-strcspn.c (TEST_NAME): Likewise.
13762 * string/test-strlen.c (TEST_NAME): Likewise.
13763 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13764 * string/test-strncmp.c (TEST_NAME): Likewise.
13765 * string/test-strncpy.c (TEST_NAME): Likewise.
13766 * string/test-strnlen.c (TEST_NAME): Likewise.
13767 * string/test-strpbrk.c (TEST_NAME): Likewise.
13768 * string/test-strrchr.c (TEST_NAME): Likewise.
13769 * string/test-strspn.c (TEST_NAME): Likewise.
13770 * string/test-strstr.c (TEST_NAME): Likewise.
13771 * string/test-bcopy-ifunc.c: New file.
13772 * string/test-bzero-ifunc.c: Likewise.
13773 * string/test-memccpy-ifunc.c: Likewise.
13774 * string/test-memchr-ifunc.c: Likewise.
13775 * string/test-memcmp-ifunc.c: Likewise.
13776 * string/test-memcpy-ifunc.c: Likewise.
13777 * string/test-memmem-ifunc.c: Likewise.
13778 * string/test-memmove-ifunc.c: Likewise.
13779 * string/test-mempcpy-ifunc.c: Likewise.
13780 * string/test-memset-ifunc.c: Likewise.
13781 * string/test-rawmemchr-ifunc.c: Likewise.
13782 * string/test-stpcpy-ifunc.c: Likewise.
13783 * string/test-stpncpy-ifunc.c: Likewise.
13784 * string/test-strcasecmp-ifunc.c: Likewise.
13785 * string/test-strcasestr-ifunc.c: Likewise.
13786 * string/test-strcat-ifunc.c: Likewise.
13787 * string/test-strchr-ifunc.c: Likewise.
13788 * string/test-strchrnul-ifunc.c: Likewise.
13789 * string/test-strcmp-ifunc.c: Likewise.
13790 * string/test-strcpy-ifunc.c: Likewise.
13791 * string/test-strcspn-ifunc.c: Likewise.
13792 * string/test-strlen-ifunc.c: Likewise.
13793 * string/test-strncasecmp-ifunc.c: Likewise.
13794 * string/test-strncat-ifunc.c: Likewise.
13795 * string/test-strncmp-ifunc.c: Likewise.
13796 * string/test-strncpy-ifunc.c: Likewise.
13797 * string/test-strnlen-ifunc.c: Likewise.
13798 * string/test-strpbrk-ifunc.c: Likewise.
13799 * string/test-strrchr-ifunc.c: Likewise.
13800 * string/test-strspn-ifunc.c: Likewise.
13801 * string/test-strstr-ifunc.c: Likewise.
13802
de54b33a
L
13803 * debug/Makefile (tests-ifunc): New variable.
13804 (tests): Add $(tests-ifunc).
13805 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13806 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13807 * debug/test-stpcpy_chk-ifunc.c: New file.
13808 * debug/test-strcpy_chk-ifunc.c: Likewise.
13809
88481c16
SP
138102012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13811
13812 [BZ #13601]
13813 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13814 header is not read in.
13815
135948bd
JM
138162012-10-19 Joseph Myers <joseph@codesourcery.com>
13817
89f1c388
JM
13818 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13819 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13820 directly. Pass built executable to script as
13821 $(built-program-cmd).
13822 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13823 $testprogram without using LD_LIBRARY_PATH and $ldso.
13824
e40a0d21
JM
13825 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13826 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13827 $(rtld-installed-name).
13828 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13829 (rtld_installed_name): Likewise.
13830 (library_path): Likewise.
13831 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13832 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13833 $(run-program-prefix) to tst-tables.sh.
13834 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13835 it to run tst-table-from and tst-table-to.
13836 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13837 Pass it to tst-table.sh.
13838 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13839 $(run-program-prefix) to tst-gettext.sh.
13840 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13841 tst-translit.sh.
13842 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13843 tst-gettext2.sh.
13844 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13845 to run tst-gettext.
13846 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13847 to run tst-gettext2.
13848 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13849 to run tst-translit.
13850 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13851 $(run-program-prefix) to tst-mtrace.sh.
13852 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13853 to run tst-mtrace.
13854 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13855 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13856 $(rtld-installed-name).
13857 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13858 (rtld_installed_name): Likewise.
13859 (run_program_prefix): New variable. Use it to run wordexp-test.
13860
728e272a
JM
13861 * Makeconfig (ARCH): Remove all definitions.
13862 (machine): Likewise.
13863 [ARCH]: Remove conditional code.
13864 [!objdir]: Give error.
13865 [!objdir] (objpfx): Remove.
13866 [!objdir] (common-objpfx): Likewise.
13867 [!objdir] (common-objdir): Likewise.
13868 * configure.in (config_makefile): Remove. Hardcode Makefile in
13869 AC_CONFIG_FILES call.
13870 * configure: Regenerated.
13871
d528cdcf
JM
13872 [BZ #13888]
13873 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13874 or TMPDIR.
13875 (testout): Likewise.
13876
135948bd
JM
13877 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13878 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13879 $(rtld-installed-name).
13880 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13881 (rtld_installed_name): Likwise.
13882 (runit): Remove function.
13883 (run_getconf): New variable, Use it for running getconf binary.
13884
38c78296
L
138852012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13886
13887 [BZ #14716]
13888 * string/test-memmem.c (check_result): New function.
13889 (do_one_test): Use it.
13890 (check1): New function.
13891 (test_main): Use it.
13892
d077f65f
MT
138932012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13894
13895 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13896
ced52c71
JM
138972012-10-18 Joseph Myers <joseph@codesourcery.com>
13898
13899 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13900 (_G_LSEEK64): Likewise.
13901 (_G_MMAP64): Likewise.
13902 (_G_FSTAT64): Likewise.
13903 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13904 (_G_LSEEK64): Likewise.
13905 (_G_MMAP64): Likewise.
13906 (_G_FSTAT64): Likewise.
13907 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13908 unconditional. Call __mmap64 directly.
13909 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13910 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13911 __lseek64 directly.
13912 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13913 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13914 __mmap64 directly.
13915 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13916 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13917 __lseek64 directly.
13918 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13919 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13920 __lseek64 directly.
13921 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13922 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13923 __lseek64 directly.
13924 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13925 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13926 __fxstat64 directly.
13927 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13928 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13929 unconditional.
13930 (freopen64) [!_G_OPEN64]: Remove conditional code.
13931 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13932 unconditional.
13933 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13934 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13935 unconditional.
13936 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13937 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13938 unconditional.
13939 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13940 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13941 unconditional.
13942 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13943 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13944 unconditional.
13945 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13946 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13947 unconditional.
13948 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13949 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13950 unconditional.
13951 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13952
b741de23
SP
139532012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13954
13955 [BZ #12140]
13956 * manual/memory.texi (Malloc Tunable Parameters): Add note
13957 about free list pointers overwriting some perturb bytes.
13958 Wording suggested by Roland McGrath.
13959
f9b9d9c9
JM
139602012-10-17 Joseph Myers <joseph@codesourcery.com>
13961
13962 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13963 (lgamma_test): Likewise.
13964 (tgamma_test): Likewise.
13965
172a631a
FW
139662012-10-16 Florian Weimer <fweimer@redhat.com>
13967
13968 [BZ #14700]
13969 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13970 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13971
e9f37252
MK
139722012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13973
13974 * NEWS: Mention BZ #14716.
13975 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13976 when removing AVAILABLE1_USES_J macro.
13977
d394eb74
L
139782012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13979
13980 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13981 (__bswap_64): __uint64_t for unsigned 64-bit int.
13982
ca38dc17
AS
139832012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13984
13985 * include/string.h (memmem): Declare libc hidden alias.
13986 * string/memmem.c (memmem): Define libc hidden alias.
13987 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13988 __read, __close instead of open, read, close.
13989
9a387d1f
L
139902012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13991
ac49ecaf
L
13992 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13993 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13994 global and hidden.
13995 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13996 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13997 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13998 Likewise.
13999 (__rawmemchr_sse2): Likewise.
14000 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14001 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14002 (__strchr_sse2): Likewise.
14003 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14004 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14005 (__strcasecmp_sse2): Likewise.
14006 (__strncasecmp_sse2): Likewise.
14007 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14008 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14009 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14010 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14011 (__strrchr_sse2): Likewise.
14012 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14013 ifunc-impl-list.c.
14014 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14015 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14016 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14017 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14018 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14019 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14020 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14021 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14022 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14023 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14024 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14025 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14026 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14027 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14028 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14029 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14030 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14031 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14032 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14033 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14034 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14035 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14036 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14037 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14038 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14039 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14040 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14041 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14042 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14043 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14044
b090e8ea
L
14045 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14046 global and hidden.
14047 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14048 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14049 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14050 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14051 Likewise.
14052 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14053 Likewise.
14054 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14055 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14056 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14057 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14058 ifunc-impl-list.c.
14059 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14060 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14061 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14062 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14063 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14064 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14065 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14066 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14067 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14068 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14069 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14070 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14071 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14072 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14073 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14074 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14075 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14076 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14077 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14078 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14079 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14080 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14081 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14082 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14083 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14084 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14085 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14086 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14087 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14088 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14089 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14090 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14091 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14092 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14093 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14094 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14095 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14096 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14097 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14098 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14099 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14100
11dd4af6
L
14101 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14102 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14103 * include/ifunc-impl-list.h: New file.
14104 * misc/ifunc-impl-list.c: Likewise.
14105 * misc/Makefile (routines): Add ifunc-impl-list.
14106 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14107 * string/test-string.h: Include <ifunc-impl-list.h>.
14108 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14109 impl_array): New variables.
14110 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14111 are defined.
14112 (test_init): Call __libc_ifunc_impl_list to initialize
14113 func_list if TEST_IFUNC and TEST_NAME are defined.
14114
9a387d1f
L
14115 * string/Makefile (strop-tests): Add bcopy and bzero.
14116 * string/test-bcopy.c: New file.
14117 * string/test-bzero.c: Likewise.
14118 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14119 defined.
14120 * string/test-memset.c: Support bzero test if TEST_BZERO is
14121 defined.
14122 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14123 __libc_memmove.
14124 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14125 __libc_memset.
14126 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14127 of memset.
14128
472371b9
JM
141292012-10-10 Joseph Myers <joseph@codesourcery.com>
14130
1e4a9536
JM
14131 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14132 * configure: Regenerated.
14133
d173d12e
JM
14134 * Makeconfig (+link-static-before-libc): Don't include
14135 $(link-static-libc).
14136
472371b9
JM
14137 * libio/libio.h (_IO_pos_t): Remove.
14138
89a3ad0b
AO
141392012-10-10 Alexandre Oliva <aoliva@redhat.com>
14140
14141 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14142 McGrath.
14143
e7451425
AO
141442012-10-10 Alexandre Oliva <aoliva@redhat.com>
14145
14146 * crypt/crypt-entry.c: Include fips-private.h.
14147 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14148 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14149 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14150 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14151
4ba74a35
AO
141522012-10-10 Alexandre Oliva <aoliva@redhat.com>
14153
14154 * crypt/crypt-private.h: Include stdbool.h.
14155 (_ufc_setup_salt_r): Return bool.
14156 * crypt/crypt-entry.c: Include errno.h.
14157 (__crypt_r): Return NULL with EINVAL for bad salt.
14158 * crypt/crypt_util.c (bad_for_salt): New.
14159 (_ufc_setup_salt_r): Check that salt is long enough and within
14160 the specified alphabet.
14161 * crypt/badsalttest.c: New file.
14162 * crypt/Makefile (tests): Add it.
14163 ($(objpfx)badsalttest): New.
14164
f96f1242
MK
141652012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14166
14167 * NEWS: Add entry for BZ #14602.
14168
0e8e0c1c
JM
141692012-10-09 Joseph Myers <joseph@codesourcery.com>
14170
14171 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14172 type-generic.
14173 * math/libm-test.inc: Update comment listing what functions and
14174 macros are tested.
14175 (isgreater_test): New function.
14176 (isgreaterequal_test): Likewise.
14177 (isless_test): Likewise.
14178 (islessequal_test): Likewise.
14179 (islessgreater_test): Likewise.
14180 (isunordered_test): Likewise.
14181 (main): Call the new functions.
14182
273edc5e
RM
141832012-10-09 Roland McGrath <roland@hack.frob.com>
14184
b8493de0
RM
14185 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14186 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14187 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14188 * sysdeps/i386/configure: Regenerated.
14189 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14190 * sysdeps/mach/configure: Regenerated.
14191 * sysdeps/mach/hurd/configure: Regenerated.
14192 * sysdeps/powerpc/configure: Regenerated.
14193 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14194 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14195 * sysdeps/s390/s390-32/configure: Regenerated.
14196 * sysdeps/s390/s390-64/configure: Regenerated.
14197 * sysdeps/sh/configure: Regenerated.
14198 * sysdeps/sparc/configure: Regenerated.
14199 * sysdeps/unix/sysv/linux/configure: Regenerated.
14200 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14201 * sysdeps/x86_64/configure: Regenerated.
14202
273edc5e
RM
14203 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14204 defined. Don't check if MAP is NULL.
14205
c8450f70
JM
142062012-10-09 Joseph Myers <joseph@codesourcery.com>
14207
14208 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14209 (_G_stat64): Likewise.
14210 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14211 (_G_stat64): Likewise.
14212 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14213 instead of struct _G_stat64.
14214 * libio/fileops.c (mmap_remap_check): Likewise.
14215 (decide_maybe_mmap): Likewise.
14216 (_IO_new_file_seekoff): Likewise.
14217 (_IO_file_stat): Likewise.
14218 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14219 _G_off64_t.
14220 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14221 instead of struct _G_stat64.
14222 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14223
57e605ba
MK
142242012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14225
14226 [BZ #14602]
14227 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14228 Replace with ...
14229 (CHECK_EOL): New macro.
14230 (two_way_short_needle): Check beginning of haystack for EOL. Use
14231 CHECK_EOL.
14232 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14233 Replace with CHECK_EOL.
14234 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14235 Replace with CHECK_EOL.
14236
ef1bb361
JM
142372012-10-08 Joseph Myers <joseph@codesourcery.com>
14238
14239 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14240 type-generic.
14241 * math/libm-test.inc: Update comment listing what functions and
14242 macros are tested.
14243 (finite_test): New function.
14244 (isinf_test): Likewise.
14245 (isnan_test): Likewise.
14246 (fpclassify_test): Test subnormal input.
14247 (isfinite_test): Likewise.
14248 (isnormal_test): Likewise.
14249 (main): Call the new functions.
14250
55f11534
JN
142512012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14252
14253 [BZ #14660]
14254 * Makerules (%.dynsym): Force C locale when running
14255 $(OBJDUMP) --dynamic-syms.
14256
1ab29350
AS
142572012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14258
14259 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14260 <stdint.h>.
14261
f1ecb7ef
DM
142622012-10-06 David S. Miller <davem@davemloft.net>
14263
14264 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14265 upper 32-bits of the length value in %o2 since we use branch-on-register
14266 tests which consider the entire 64-bit register.
14267
5d41d91a
L
142682012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14269
14270 * string/test-strstr.c (check2): Add a test for page boundary.
14271
3baddb72
DM
142722012-10-05 David S. Miller <davem@davemloft.net>
14273
14274 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14275 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14276 file.
14277 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14278 sysdep_routines.
14279 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14280 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14281 and bzero when HWCAP_SPARC_CRYPTO is present.
14282
9cee5585
L
142832012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14284
d7e0dab9
L
14285 [BZ #14602]
14286 * string/test-strstr.c (check2): New function.
14287 (test_main): Call check2.
14288
03759f47
L
14289 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14290 and bug-strchr1.
14291 * string/bug-strcasestr1.c (do_test): Moved to ...
14292 * string/test-strcasestr.c (check1): Here. New function.
14293 (do_one_test): Break out result checking code into ...
14294 (check_result): This. New function.
14295 (do_one_test): Call check_result.
14296 (test_main): Call check1.
14297 * string/bug-strchr1.c (do_test): Moved to ...
14298 * string/test-strchr.c (check1): Here. New function.
14299 (do_one_test): Break out result checking code into ...
14300 (check_result): This. New function.
14301 (do_one_test): Call check_result.
14302 (test_main): Call check1.
14303 * string/bug-strstr1.c (main): Moved to ...
046f153e 14304 * string/test-strstr.c (check1): Here. New function.
03759f47
L
14305 (do_one_test): Break out result checking code into ...
14306 (check_result): This. New function.
14307 (do_one_test): Call check_result.
14308 (test_main): Call check1.
14309 * string/bug-strcasestr1.c: Removed.
14310 * string/bug-strchr1.c: Likewise.
14311 * string/bug-strstr1.c: Likewise.
14312
53cea63e
L
14313 * elf/Makefile (dl-routines): Add hwcaps.
14314 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14315 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14316 (_dl_important_hwcaps): Moved to ...
14317 * elf/dl-hwcaps.c: Here. New file.
14318 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14319
9cee5585 14320 [BZ #14557]
bb859b06
L
14321 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14322 if IS_IN_rtld isn't defined.
14323
9cee5585
L
14324 * elf/dl-support.c (_dl_sysinfo_map): New.
14325 Include "get-dynamic-info.h" and "setup-vdso.h".
14326 (_dl_non_dynamic_init): Call setup_vdso.
14327 * elf/dynamic-link.h: Don't include <assert.h>.
14328 (elf_get_dynamic_info): Moved to ...
14329 * elf/get-dynamic-info.h: Here. New file.
14330 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14331 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14332 * elf/setup-vdso.h: Here. New file.
14333 * elf/rtld.c: Include "setup-vdso.h".
14334 (dl_main): Call setup_vdso.
14335
23c31b76
JM
143362012-10-05 Joseph Myers <joseph@codesourcery.com>
14337
28234b07
JM
14338 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14339 creal in comment listing functions tested. List finite, isinf,
14340 isnan, isless, islessequal, isgreater, isgreaterequal,
14341 islessgreater, isunordered, lgamma_r and pow10 as functions and
14342 macros not tested. Mention which functions not tested are aliases
14343 for other functions. Fix typo. Note that signs of NaNs are not
14344 tested.
14345
23c31b76
JM
14346 * scripts/config.guess: Update from config.git.
14347 * scripts/config.sub: Likewise.
14348
9043e228
RM
143492012-10-04 Roland McGrath <roland@hack.frob.com>
14350
14351 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14352 * misc/madvise.c (madvise): Renamed to __madvise.
14353 Make madvise a weak alias.
14354 * include/sys/mman.h: Declare __madvise.
14355 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14356 * sysdeps/unix/syscalls.list
14357 (madvise): Make __madvise the strong name, and madvise a weak alias.
14358 * sysdeps/unix/sysv/linux/syscalls.list
14359 (madvise, mmap): Remove redundant entries.
14360 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14361 * malloc/malloc.c (mtrim): Likewise.
14362 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14363
f57f8055
RM
143642012-10-03 Roland McGrath <roland@hack.frob.com>
14365
14366 * sysdeps/mach/hurd/dl-cache.c: File removed.
14367 * config.h.in (USE_LDCONFIG): New #undef.
14368 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14369 * configure: Regenerated.
14370 * elf/Makefile (dl-routines): Add dl-cache only under
14371 [$(use-ldconfig) = yes].
14372 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14373 cache on [USE_LDCONFIG].
14374 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14375 [USE_LDCONFIG].
14376 * elf/rtld.c (dl_main): Likewise.
14377
5bb0c10a
PT
143782012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14379
14380 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14381 _SC_LEVEL4_CACHE_LINESIZE.
14382
010188c6
RM
143832012-10-03 Roland McGrath <roland@hack.frob.com>
14384
14385 * sysdeps/unix/bsd/confstr.h: File removed.
14386
b6c5ec07
AO
143872012-10-02 Alexandre Oliva <aoliva@redhat.com>
14388
14389 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14390 sys/sdt-config.h.
14391
408223d4
RM
143922012-10-02 Roland McGrath <roland@hack.frob.com>
14393
14394 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14395 Make 'mapoff' field ElfW(Off) rather than off_t.
14396
bb9510dc
DL
143972012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14398
fc997c6e
DL
14399 * nscd/Makefile: Remove nscd-cflags and all its users.
14400 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14401 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14402
bb9510dc
DL
14403 [BZ #10631]
14404 * malloc.c (malloc_printerr): Clarify error message.
14405
05699367
L
144062012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14407
14408 [BZ #14648]
14409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14410 Set bit_FMA_Usable if FMA is supported.
14411 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14412 macro.
14413 (bit_FMA4_Usable): Updated.
14414 (index_FMA_Usable): New macro.
14415 (CPUID_FMA): Likewise
14416 (HAS_FMA): Defined with bit_FMA_Usable.
14417
51367701
RM
144182012-10-01 Roland McGrath <roland@hack.frob.com>
14419
14420 * bits/types.h (__swblk_t): Type removed.
14421 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14422 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14423 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14424 (__SWBLK_T_TYPE): Likewise.
14425 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14426 (__SWBLK_T_TYPE): Likewise.
14427 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14428 (__SWBLK_T_TYPE): Likewise.
14429 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14430 (__SWBLK_T_TYPE): Likewise.
14431
4d57bf63 144322012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 14433 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
14434
14435 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14436 (xdr_mapname): Use YPMAXMAP as maxsize.
14437 (xdr_peername): Use YPMAXPEER as maxsize.
14438 (xdr_keydat): Use YPAXRECORD as maxsize.
14439 (xdr_valdat): Use YPMAXRECORD as maxsize.
14440
93c65d43
RM
144412012-10-01 Roland McGrath <roland@hack.frob.com>
14442
497a03d6
RM
14443 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14444
93c65d43
RM
14445 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14446 * csu/init-first.c: ... here.
14447 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14448 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14449 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14450 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14451 * sysdeps/i386/init-first.c: File removed.
14452 * sysdeps/sh/init-first.c: File removed.
14453
bec749fd
JM
144542012-10-01 Joseph Myers <joseph@codesourcery.com>
14455
14456 [BZ #14645]
14457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14458 if x * y might underflow to zero and z is zero.
14459 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14460 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14461 * math/libm-test.inc (min_subnorm_value): New variable.
14462 (fma_test): Add more tests.
14463 (fma_test_towardzero): Likewise.
14464 (fma_test_downward): Likewise
14465 (fma_test_upward): Likewise.
14466 (initialize): Set min_subnorm_value.
14467
8ec5b013
JM
144682012-09-29 Joseph Myers <joseph@codesourcery.com>
14469
14470 [BZ #14638]
14471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14472 0 + 0.
14473 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14474 mode for addition resulting in exact zero.
14475 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14476 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14477 exact 0 + 0.
14478 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14479 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14480 * math/libm-test.inc (fma_test): Add more tests.
14481 (fma_test_towardzero): New function.
14482 (fma_test_downward): Likewise.
14483 (fma_test_upward): Likewise.
14484 (main): Call the new functions.
14485
b1fa802e
DM
144862012-09-28 David S. Miller <davem@davemloft.net>
14487
14488 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14489
d3b9fd9e
RM
144902012-09-28 Roland McGrath <roland@hack.frob.com>
14491
ea4d37b3
RM
14492 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14493 instead of SIGALRM.
14494
ac51c949
RM
14495 * sysdeps/gnu/_G_config.h: Moved to ...
14496 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14497 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14498 * sysdeps/generic/_G_config.h: ... here.
14499
28c195f7
RM
14500 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14501
848917f9
RM
14502 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14503
6bacf05b
RM
14504 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14505 Conditionalize target on [libnss_test1.so-version].
14506
91363dbb
RM
14507 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14508
cc87f7d8
RM
14509 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14510 (elfobjdir): Move out of conditionals.
14511
b1c608fe
RM
14512 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14513 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14514 (__nss_lookup_function): Conditionalize label remove_from_tree on
14515 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 14516
1d9a6d96
DM
145172012-09-28 David S. Miller <davem@davemloft.net>
14518
14519 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14520 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14521 file.
14522 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14523 sysdep_routines.
14524 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14525 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14526 when HWCAP_SPARC_CRYPTO is present.
14527
72581615
PT
145282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14529
14530 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14531
715a900c
JL
145322012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14533
14534 [BZ #6530]
14535 * stdio-common/vfprintf.c (process_string_arg): Revert
14536 2000-07-22 change.
14537
145382011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14539
14540 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14541 for testcase.
14542 * stdio-common/tst-sprintf.c: Include <locale.h>
14543 (main): Test sprintf's handling of incomplete multibyte
14544 characters.
14545
9bac1d86
L
145462012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14547
14548 * elf/dl-runtime.c (VERSYMIDX): Removed.
14549 * elf/dl-version.c (VERSYMIDX): Likewise.
14550 * elf/do-rel.h (VERSYMIDX): Likewise.
14551 (VALIDX): Likewise.
14552 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14553 * elf/rtld.c (VALIDX): Likewise.
14554 (ADDRIDX): Likewise.
9bac1d86
L
14555 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14556 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14557 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
14558 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14559 (VALIDX): Likewise.
14560 (ADDRIDX): Likewise.
9bac1d86 14561
b31606c0
PT
145622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14563
14564 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14565
11541177
JL
145662012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14567
14568 [BZ #11438]
14569 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14570 to global scope.
14571 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14572 addresses are in the same scope as 192.0.2/24.
14573 * posix/gai.conf: Document new scope table defaults.
14574
adb26fae
SP
145752012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14576
14577 [BZ #5298]
14578 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14579 for ftell. Compute offsets from write pointers instead.
14580 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14581
4573c6b0
SP
145822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14583
14584 [BZ #14543]
14585 * libio/Makefile (tests): New test case tst-fseek.
14586 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14587 combination works in wide mode.
14588 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14589 state when the external buffer state changes.
14590
aa9bbfe6
DM
145912012-09-27 David S. Miller <davem@davemloft.net>
14592
14593 [BZ #14376]
14594 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14595 pass reloc->r_addend in as the 'high' argument to
14596 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14597
784421e7
DM
14598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14599
c39bc8b8
PT
146002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14601
14602 * rt/tst-aio2.c: Include <pthread.h>.
14603 * rt/tst-aio3.c: Likewise.
14604
1ccc2399
SE
146052012-09-27 Steve Ellcey <sellcey@mips.com>
14606
14607 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14608
31ed4153
L
146092012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14610
25f5f885
L
14611 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14612 contents on [SHARED].
31ed4153 14613
b7bfe116
MP
146142012-09-26 Marek Polacek <polacek@redhat.com>
14615
14616 [BZ #14530]
14617 [BZ #13741]
14618 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14619 for C++ and GCC <4.3 as well as for non GCC compilers.
14620
43c4edba
MT
146212012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14622
14623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14624
6a1bf82f
RM
146252012-09-25 Roland McGrath <roland@hack.frob.com>
14626
14627 * Makefile.in (all, install): Declare with .PHONY.
14628 Reported by Michael Hope <michael.hope@linaro.org>.
14629
8ad11b9a
TMQMF
146302012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14631
14632 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14633 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14634 system header.
14635 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14636 Likewise.
14637 (sydep_routines): Add the new and the internal functions.
14638 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14639 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14641 (GLIBC_2.17): Add the new function.
14642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14643 (GLIBC_2.17): Likewise.
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14645 (GLIBC_2.17): Likewise.
14646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14647 (GLIBC_2.17): Likewise.
14648 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14649
7e2fca8d
AM
146502012-09-25 Alan Modra <amodra@gmail.com>
14651
14652 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14653 Add release barrier before setting once_control to say
14654 initialisation is done. Add hints on lwarx. Use macro in
14655 place of isync.
14656 (clear_once_control): Add release barrier.
14657
b87c4b24
JM
146582012-09-25 Joseph Myers <joseph@codesourcery.com>
14659
d032e0d2
JM
14660 [BZ #13629]
14661 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14662 specially.
14663 * math/s_clog10.c (__clog10): Likewise.
14664 * math/s_clog10f.c (__clog10f): Likewise.
14665 * math/s_clog10l.c (__clog10l): Likewise.
14666 * math/s_clogf.c (__clogf): Likewise.
14667 * math/s_clogl.c (__clogl): Likewise.
14668 * math/Makefile (libm-calls): Add x2y2m1.
14669 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14670 (__x2y2m1): Likewise.
14671 (__x2y2m1l): Likewise.
14672 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14673 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14674 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14675 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14676 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14677 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14678 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14679 * sysdeps/i386/fpu/libm-test-ulps: Update.
14680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14681
b87c4b24
JM
14682 [BZ #14621]
14683 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14684 int as type of variable DEPTH.
14685 (glob): Use size_t instead of int as type of variables NEWCOUNT
14686 and OLD_PATHC.
14687
6d3bf199
LD
146882012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14689
22bf5c17
LD
14690 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14691 Add s_sincosf-sse2.
14692 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14693 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14694 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14695 macros for using routine as __sincosf_ia32.
14696 Use macro for function declaration and weak_alias.
14697 * sysdeps/i386/fpu/libm-test-ulps: Update.
14698
14699 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14701
14702 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
14703 subnormal argument.
14704 * math/s_cexpf.c (__cexpf): Likewise.
14705 * math/s_csinf.c (__csinf): Likewise.
14706 * math/s_csinhf.c (__csinhf): Likewise.
14707 * math/s_ctanf.c (__ctanf): Likewise.
14708 * math/s_ctanhf.c (__ctanhf): Likewise.
14709 * math/s_ccosh.c (__ccoshf): Likewise.
14710 * math/s_cexp.c (__cexpl): Likewise.
14711 * math/s_csin.c (__csin): Likewise.
14712 * math/s_csinh.c (__csinh): Likewise.
14713 * math/s_ctan.c (__ctan): Likewise.
14714 * math/s_ctanh.c (ctanh): Likewise.
14715 * math/s_ccoshl.c (__ccoshl): Likewise.
14716 * math/s_cexpl.c (__cexpl): Likewise.
14717 * math/s_csinl.c (__csinl): Likewise.
14718 * math/s_csinhl.c (__csinhl): Likewise.
14719 * math/s_ctanl.c (__ctanl): Likewise.
14720 * math/s_ctanhl.c (__ctanhl): Likewise.
14721
203e5603
JM
147222012-09-25 Joseph Myers <joseph@codesourcery.com>
14723
14724 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14725 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14726 (_IO_off_t): Define to __off_t, not _G_off_t.
14727 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14728 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14729 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14730 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14731 type of __dummy and __dummy2 fields.
14732 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14733 (_G_ssize_t): Likewise.
14734 (_G_off_t): Likewise.
14735 (_G_pid_t): Likewise.
14736 (_G_uid_t): Likewise.
14737 (_G_wchar_t): Likewise.
14738 (_G_wint_t): Likewise.
14739 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14740 (_G_ssize_t): Likewise.
14741 (_G_off_t): Likewise.
14742 (_G_pid_t): Likewise.
14743 (_G_uid_t): Likewise.
14744 (_G_wchar_t): Likewise.
14745 (_G_wint_t): Likewise.
14746 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14747 (_G_ssize_t): Likewise.
14748 (_G_off_t): Likewise.
14749 (_G_pid_t): Likewise.
14750 (_G_uid_t): Likewise.
14751 (_G_wchar_t): Likewise.
14752 (_G_wint_t): Likewise.
14753
9fab36eb
SP
147542012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14755
14756 * malloc/arena.c: Include malloc-sysdep.h.
14757 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14758 is sufficient to shrink the heap or an unmap is needed.
14759 * sysdeps/generic/malloc-sysdep.h: New file. Define
14760 new function check_may_shrink_heap.
14761 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14762 new function check_may_shrink_heap.
14763
2b4f00d1
SP
147642012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14765
14766 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14767 comments.
14768
9a9028b1
DL
147692012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14770
57c69bef
DL
14771 * catgets/test-gencat.sh: Add "set -e".
14772 * elf/tst-pathopt.sh: Likewise.
14773 * grp/tst_fgetgrent.sh: Likewise.
14774 * iconvdata/run-iconv-test.sh: Likewise.
14775 * intl/tst-gettext.sh: Likewise.
14776 * intl/tst-gettext2.sh: Likewise.
14777 * intl/tst-gettext4.sh: Likewise.
14778 * intl/tst-gettext6.sh: Likewise.
14779 * intl/tst-translit.sh: Likewise.
14780 * io/ftwtest-sh: Likewise.
14781 * libio/test-freopen.sh: Likewise.
14782 * malloc/tst-mtrace.sh: Likewise.
14783 * posix/globtest.sh: Likewise.
14784 * posix/tst-getconf.sh: Likewise.
14785 * posix/wordexp-tst.sh: Likewise.
14786 * stdio-common/tst-printf.sh: Likewise.
14787 * stdio-common/tst-unbputc.sh: Likewise.
14788 * stdlib/tst-fmtmsg.sh: Likewise.
14789 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14790 * catgets/Makefile: Do not specify -e option when running
14791 testsuite shell scripts.
14792 * elf/Makefile: Likewise.
14793 * grp/Makefile: Likewise.
14794 * iconvdata/Makefile: Likewise.
14795 * intl/Makefile: Likewise.
14796 * io/Makefile: Likewise.
14797 * libio/Makefile: Likewise.
14798 * malloc/Makefile: Likewise.
14799 * posix/Makefile: Likewise.
14800 * stdio-common/Makefile: Likewise.
14801 * stdlib/Makefile: Likewise.
14802 * sysdeps/x86_64/Makefile: Likewise.
14803
9a9028b1
DL
14804 * io/ftwtest-sh: Add copyright header.
14805 * posix/globtest.sh: Likewise.
14806 * posix/tst-getconf.sh: Likewise.
14807 * posix/wordexp-tst.sh: Likewise.
14808 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14809
ced6f16e
L
148102012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14811
94b32c39
L
14812 [BZ #13679]
14813 * Makeconfig (+link): Defined as $(+link-static) if
14814 $(build-shared) isn't yes.
14815 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14816 isn't yes.
14817 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14818
189e935b
L
14819 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14820
ced6f16e
L
14821 [BZ #14562]
14822 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14823 new chunk size with MALLOC_ALIGN_MASK.
14824
a9f8e53a
JM
148252012-09-24 Joseph Myers <joseph@codesourcery.com>
14826
14827 [BZ #5044]
14828 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14829 <rounding-mode.h>.
14830 (__printf_fphex): Determine rounding using get_rounding_mode and
14831 round_away.
14832 * stdio-common/tst-printf-round.c (struct hex_test): New
14833 structure.
14834 (hex_tests): New variable.
14835 (test_hex_in_one_mode): New function.
14836 (do_test): Also run tests for hex float output.
14837
43153109
JM
148382012-09-21 Joseph Myers <joseph@codesourcery.com>
14839
14840 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14841 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14842 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14843 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14844 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14845 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14846 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14847 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14848
8a26625d
JM
148492012-09-20 Joseph Myers <joseph@codesourcery.com>
14850
14851 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14852 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14853 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14854 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14855
f3fd569c
DL
148562012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14857
14858 [BZ #14579]
14859 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14860 mode only.
14861 * elf/tst-rtld-load-self.sh: New test.
14862 * elf/Makefile: Run it.
14863
63bbedd4
JM
148642012-09-18 Joseph Myers <joseph@codesourcery.com>
14865
14866 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14867 (tst-writev-ENV): Remove.
14868 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14869
626f8b6a
CM
148702012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14871
14872 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14873
b7aaa4d6
JM
148742012-09-17 Joseph Myers <joseph@codesourcery.com>
14875
14876 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14877 unconditional.
14878 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14879 Likewise.
14880 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14881 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14882 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14883 Likewise.
14884
65513990
L
148852012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14886
14887 [BZ #14587]
14888 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14889 * config.make.in (have-cpp-asm-debuginfo): Removed.
14890 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14891 * configure: Regenerated.
14892
784761be
JM
148932012-09-14 Joseph Myers <joseph@codesourcery.com>
14894
14895 [BZ #5044]
14896 * stdio-common/printf_fp.c: Include <stdbool.h> and
14897 <rounding-mode.h>.
14898 (___printf_fp): Determine rounding using get_rounding_mode and
14899 round_away.
14900 * stdio-common/tst-printf-round.c: New file.
14901 * stdio-common/Makefile (tests): Add tst-printf-round.
14902 (link-libm): New variable.
14903 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14904
9503345f
L
149052012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14906
14907 [BZ #14576]
14908 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14909 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14910 Likewise.
14911 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14912 Likewise.
14913
ad35fc00
JM
149142012-09-13 Joseph Myers <joseph@codesourcery.com>
14915
14916 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14917 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14918 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14919 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14920
6c9b0f68
JM
149212012-09-12 Joseph Myers <joseph@codesourcery.com>
14922
14923 [BZ #14518]
14924 * include/rounding-mode.h: New file.
14925 * sysdeps/generic/get-rounding-mode.h: Likewise.
14926 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14927 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14928 (MAX_VALUE): New macro.
14929 (MIN_VALUE): Likewise.
14930 (overflow_value): New function.
14931 (underflow_value): Likewise.
14932 (round_and_return): Use overflow_value and underflow_value to
14933 determine return values in overflow and underflow cases. Use
14934 round_away to determine rounding depending on rounding mode.
14935 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14936 determine return values in overflow and underflow cases.
14937 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14938 (struct test_results): New structure.
14939 (struct test): Use struct test_results to store expected results
14940 for all rounding modes.
14941 (TEST): Include expected results for all rounding modes.
14942 (test_in_one_mode): New function.
14943 (do_test): Use test_in_one_mode to compute and check results.
14944 Check results for all rounding modes.
14945 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14946 $(link-libm).
14947
19fcedd5
AM
149482012-12-09 Allan McRae <allan@archlinux.org>
14949
1e9d84cd 14950 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14951
8bbfd2f1
JM
149522012-09-11 Joseph Myers <joseph@codesourcery.com>
14953
14954 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14955 (_G_int32_t): Likewise.
14956 (_G_uint16_t): Likewise.
14957 (_G_uint32_t): Likewise.
14958 (_G_HAVE_BOOL): Likewise.
14959 (_G_HAVE_ATEXIT): Likewise.
14960 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14961 (_G_HAVE_IO_FILE_OPEN): Likewise.
14962 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14963 (_G_int32_t): Likewise.
14964 (_G_uint16_t): Likewise.
14965 (_G_uint32_t): Likewise.
14966 (_G_HAVE_BOOL): Likewise.
14967 (_G_HAVE_ATEXIT): Likewise.
14968 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14969 (_G_HAVE_IO_FILE_OPEN): Likewise.
14970 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14971 (_G_int32_t): Likewise.
14972 (_G_uint16_t): Likewise.
14973 (_G_uint32_t): Likewise.
14974 (_G_HAVE_BOOL): Likewise.
14975 (_G_HAVE_ATEXIT): Likewise.
14976 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14977 (_G_HAVE_IO_FILE_OPEN): Likewise.
14978
b1dc5912
L
149792012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14980
14981 * csu/libc-tls.c: Update copyright years.
14982
0e886ef9
JM
149832012-09-10 Joseph Myers <joseph@codesourcery.com>
14984
28361c5e
JM
14985 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14986 [!_G_USING_THUNKS]: Remove conditional code.
14987 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14988 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14989
0e886ef9
JM
14990 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14991 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14992 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14993 (_G_VTABLE_LABEL_PREFIX): Likewise.
14994 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14995 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14996 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14997 (_G_VTABLE_LABEL_PREFIX): Likewise.
14998 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14999 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15000 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15001 (_G_VTABLE_LABEL_PREFIX): Likewise.
15002 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15003
bcba7aa2
L
150042012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15005
15006 * libio/Makefile: Include ../Makeconfig before tests.
15007 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15008 only if $(build-shared) is yes.
15009
06585ee8
L
15010 * iconv/gconv_db.c: Update copyright years.
15011
80ccd52c
LD
150122012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15013
15014 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15015 unwind info if defined PIC. Fix special cases description.
15016 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15017
15018 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15019 DP_HI_MASK entry.
15020 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15021
691bc9c1
L
150222012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15023
3d9b46b3
L
15024 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15025
de2139a9
L
15026 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15027 is NULL.
15028
5ca78dd0
L
15029 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15030 (LDLIBS-tst-chk4): This.
15031 (LDFLAGS-tst-chk5): Renamed to ...
15032 (LDLIBS-tst-chk5): This.
15033 (LDFLAGS-tst-chk6): Renamed to ...
15034 (LDLIBS-tst-chk6): This.
15035 (LDFLAGS-tst-lfschk4): Renamed to ...
15036 (LDLIBS-tst-lfschk4): This.
15037 (LDFLAGS-tst-lfschk5): Renamed to ...
15038 (LDLIBS-tst-lfschk5): This.
15039 (LDFLAGS-tst-lfschk6): Renamed to ...
15040 (LDLIBS-tst-lfschk6): This.
15041
691bc9c1
L
15042 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15043 on $(common-objpfx)soversions.mk.
15044
65cafb1c
JM
150452012-09-07 Joseph Myers <joseph@codesourcery.com>
15046
15047 [BZ #10014]
15048 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15049 example host name.
15050
c78ab094
SP
150512012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15052
15053 * malloc/arena.c (arena_get_retry): New function that gets
15054 another arena for the caller to try its request on.
15055 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15056 current arena cannot fulfill the request.
15057 (__libc_memalign): Likewise.
15058 (__libc_memalign): Likewise.
15059 (__libc_pvalloc): Likewise.
15060 (__libc_calloc): Likewise.
15061
01f49f59
JT
150622012-09-05 John Tobey <john.tobey@gmail.com>
15063
15064 [BZ #13542]
15065 * manual/arith.texi (Operations on Complex): Fix description
15066 of carg branch cut.
15067
4c23fed5
JM
150682012-09-06 Joseph Myers <joseph@codesourcery.com>
15069
1d3c8572
JM
15070 [BZ #10014]
15071 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15072 host name.
15073
4c23fed5
JM
15074 [BZ #10038]
15075 * manual/memory.texi (Memory): Make order of menu items match
15076 order of sections.
15077
04570aaa
L
150782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15079
15080 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15081 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15082 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15083
b80af2f4
L
150842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15085
15086 * csu/libc-tls.c (static_dtv): Renamed to ...
15087 (_dl_static_dtv): This. Make it global.
15088 (_dl_initial_dtv): Removed.
15089 (__libc_setup_tls): Updated.
15090 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15091 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15092 DL_INITIAL_DTV.
15093
2abe9f15
PM
150942012-09-06 Petr Machata <pmachata@redhat.com>
15095
15096 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15097 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15098 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15099 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15100
0948c3af
L
151012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15102
15103 [BZ #14545]
15104 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15105 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15106 freeing dtv[-1].
15107
a5055ad1
L
151082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15109
15110 [BZ #14544]
15111 * Makeconfig (link-static-before-libc): Replace $(+prector)
15112 with $(+prectorT).
15113 (link-static-after-libc): Replace $(+postctor) with
15114 $(+postctorT).
15115 (link-bounded): Replace $(+prector)/$(+postctor) with
15116 $(+prectorT)/$(+postctorT).
15117 (+prectorT): New macro.
15118 (+postctorT): Likewise.
15119
ed8c2ecd
JM
151202012-09-06 Joseph Myers <joseph@codesourcery.com>
15121
15122 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15123 (round_str): Handle values above the maximum for IBM long double
15124 as inexact.
15125 * stdlib/tst-strtod-round.c (tests): Regenerated.
15126
14c996c8
AK
151272012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15128
15129 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15130 assembler flag.
15131 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15132 zarch_nohighgprs around the zarch optimized routines.
15133 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15134 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15135 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15136 for zarch.
15137
430d6ce6
DM
151382012-09-05 David S. Miller <davem@davemloft.net>
15139
15140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15141
ff04dda4
DM
15142 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15143 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15144 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15145 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15146 entries.
15147
24d4e01b
AO
151482012-09-05 Alexandre Oliva <aoliva@redhat.com>
15149
15150 * malloc/arena.c: Fold copyright years.
15151 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15152
61d58174
AO
151532012-09-05 Alexandre Oliva <aoliva@redhat.com>
15154
15155 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15156
20196a5e
AO
151572012-09-05 Alexandre Oliva <aoliva@redhat.com>
15158
15159 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15160
5c447383
AO
151612012-09-05 Alexandre Oliva <aoliva@redhat.com>
15162
15163 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15164 change internal state upon failure.
15165
fad64255
AO
151662012-09-05 Alexandre Oliva <aoliva@redhat.com>
15167
15168 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15169 * malloc/memusage.c (mmap): Likewise.
15170 (mmap64, mremap): Likewise. Adjust name in comment.
15171
1ffb8c90
SP
151722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15173
15174 * libio/fileops.c: Fix typos in comments.
15175 * libio/oldfileops.c: Likewise.
15176 * libio/wfileops.c: Likewise.
15177
6ef9cc37
SP
151782012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15179
15180 [BZ #1349]
15181 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15182 (tst-malloc-usable-ENV): Set environment for test case.
15183 * malloc/hooks.c (malloc_check_get_size): New function to get
15184 requested size.
15185 * malloc/malloc.c (musable): Use malloc_check_get_size.
15186 * malloc/tst-malloc-usable.c: New test case.
15187
4d038ae3
AS
151882012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15189
15190 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15191
c4e85184
AM
151922012-09-05 Allan McRae <allan@archlinux.org>
15193
b9dafc56 15194 [BZ #13966]
c4e85184
AM
15195 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15196 determine header location.
15197 * configure: Regenerated.
15198
e1343020
AS
151992012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15200
15201 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15202 float format.
15203 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
15204 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15205 format.
e1343020
AS
15206 (test): Regenerate.
15207
0a9f1987
DM
152082012-09-04 David S. Miller <davem@davemloft.net>
15209
15210 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15211 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15212 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15213
29237804
FW
152142012-09-04 Florian Weimer <fweimer@redhat.com>
15215
15216 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15217 failures.
15218
edb3cb88
FW
15219 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15220
60160d83
JM
152212012-09-04 Joseph Myers <joseph@codesourcery.com>
15222
15223 [BZ #9914]
15224 * libio/iogetdelim.c: Include <limits.h>.
15225 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15226 + len + 1 would overflow.
15227
bcd6c8dc
AJ
152282012-09-03 Andreas Jaeger <aj@suse.de>
15229
15230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15231 * sysdeps/i386/fpu/libm-test-ulps: Update.
15232
4ffffbd2
LD
152332012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15234
15235 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15236 Add s_sinf-sse2, s_conf-sse2.
15237
15238 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15239 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15240 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15241 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15242
15243 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15244 for using routine as __sinf_ia32.
15245 Use macro for function declaration and weak_alias.
15246 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15247 for using routine as __cosf_ia32.
15248 Use macro for function declaration and weak_alias.
15249
15250 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15251 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15252
15253 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15254 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15256
15257 * math/libm-test.inc (cos_test): Add more test cases.
15258 (sin_test): Likewise.
15259 (sincos_test): Likewise.
15260
511fa286
AK
152612012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15262
15263 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15264 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15265 hidden.
15266 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15267
5f30cfec
L
152682012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15269
15270 [BZ #14538]
15271 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15272 first element of the GOT.
15273 (elf_machine_load_address): Return the difference between
15274 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15275
0786794f
AM
152762012-09-01 Allan McRae <allan@archlinux.org>
15277
5f30cfec
L
15278 [BZ #13412]
15279 * configure.in (AWK): Require gawk version 3.0 or later.
15280 * configure: Regenerated.
0786794f 15281
26889eac
JM
152822012-09-01 Joseph Myers <joseph@codesourcery.com>
15283
15284 * sysdeps/unix/sysv/linux/kernel-features.h
15285 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15286 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15287 [__NR_clock_getres]: Make code unconditional.
15288 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15289 (clock_getcpuclockid): Remove code left unreachable by removal of
15290 conditionals.
15291 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15292 code unconditional.
15293 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15294 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15295 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15296 Make code unconditional.
15297 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15298 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15299 * sysdeps/unix/sysv/linux/clock_settime.c
15300 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15301 conditional code.
15302 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15303 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15304
d22e28b0
L
153052012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15306
15307 [BZ #14476]
15308 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15309 scripts/test-installation.pl.
15310
15311 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15312 and $ld_so_version if it is set.
15313
050af9c4
SP
153142012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15315
15316 [BZ #14516]
15317 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15318 failure if reading from procfs failed.
15319 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15320
ad845c0b
JM
153212012-08-27 Joseph Myers <joseph@codesourcery.com>
15322
15323 * sysdeps/unix/sysv/linux/kernel-features.h
15324 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15325 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15326 Remove conditional code.
15327 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15328 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15329 Remove conditional code.
15330 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15331 * sysdeps/unix/sysv/linux/i386/fxstat.c
15332 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15333 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15334 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15335 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15336 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15337 * sysdeps/unix/sysv/linux/i386/lxstat.c
15338 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15339 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15340 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15341 Remove conditional code.
15342 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15343 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15344 Remove conditional code.
15345 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15346 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15347 <kernel-features.h>.
15348 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15349 Remove.
15350 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15351 Remove conditional code.
15352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15353 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15354 Remove conditional.
15355
5dbf56af
MF
153562012-08-27 Mike Frysinger <vapier@gentoo.org>
15357
15358 [BZ #5400]
15359 * NEWS: Add fixed bug number.
15360
d6e70f43
JM
153612012-08-27 Joseph Myers <joseph@codesourcery.com>
15362
7efb4737
JM
15363 [BZ #14519]
15364 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15365 underflowing exponent in case of negative sign.
15366 * stdlib/tst-strtod-round-data: Add more tests.
15367 * stdlib/tst-strtod-round.c (tests): Regenerated.
15368
af92131a
JM
15369 [BZ #3479]
15370 * stdlib/strtod_l.c (NDIG): Remove.
15371 (HEXNDIG): Likewise.
15372 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15373 smallest representable value.
15374 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15375 lie within an exact representation of 1/2 ulp of the result.
15376 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15377 unconditionally.
15378 (TENS_P9_IDX): Define unconditionally.
15379 (TENS_P9_SIZE): Likewise.
15380 (TENS_P10_IDX): Likewise.
15381 (TENS_P10_SIZE): Likewise.
15382 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15383 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15384 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15385 entries for 10^2^13 and 10^2^14.
15386 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15387 (TENS_P13_IDX): Define.
15388 (TENS_P13_SIZE): Likewise.
15389 (TENS_P14_IDX): Likewise.
15390 (TENS_P14_SIZE): Likewise.
15391 (_fpioconst_pow10): Change array size to
15392 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15393 unconditional.
15394 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15395 1024]: Add entries for 10^2^13 and 10^2^14.
15396 [LAST_POW10 > _LAST_POW10]: Remove #error.
15397 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15398 (_fpioconst_pow10): Change array size to
15399 FPIOCONST_POW10_ARRAY_SIZE.
15400 * stdlib/gen-fpioconst.c: New file.
15401 * stdlib/gen-tst-strtod-round.c: Likewise.
15402 * stdlib/tst-strtod-round-data: Likewise.
15403 * stdlib/tst-strtod-round.c: Likewise.
15404 * stdlib/Makefile (tests): Add tst-strtod-round.
15405
d6e70f43
JM
15406 [BZ #14459]
15407 * stdlib/strtod_l.c: Include <stdint.h>.
15408 (NDEBUG): Do not define.
15409 (round_and_return): Change EXPONENT parameter to type intmax_t.
15410 Rearrange calculations to avoid internal overflow possibilities.
15411 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15412 Rearrange calculations to avoid internal overflow possibilities.
15413 Assert that number fits inside MPNSIZE limbs.
15414 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15415 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15416 calculations and add assertions to avoid internal overflow
15417 possibilities. Add casts to avoid signed/unsigned operations.
15418 * stdlib/tst-strtod-overflow.c: New file.
15419 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15420
1f529f7d
MP
154212012-08-25 Marek Polacek <polacek@redhat.com>
15422
15423 * time/time.h: Fix some typos in comments.
15424
59a629f1
RM
154252012-08-23 Roland McGrath <roland@hack.frob.com>
15426
15427 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15428 * posix/tst-rfc3484-2.c: Likewise.
15429 * posix/tst-rfc3484-3.c: Likewise.
15430
d3bafbc9
SM
154312012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15432
15433 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15434 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15435
4efcc022
JM
154362012-08-23 Joseph Myers <joseph@codesourcery.com>
15437
15438 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15439 #include of fxstatat64.c.
15440
3cc3ef96
RM
154412012-08-22 Roland McGrath <roland@hack.frob.com>
15442
f04e2132
RM
15443 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15444 * shadow/getspent_r.c: Likewise.
15445 * shadow/getspnam.c: Likewise.
15446 * shadow/getspnam_r.c: Likewise.
15447 * gshadow/getsgent.c: Likewise.
15448 * gshadow/getsgent_r.c: Likewise.
15449 * gshadow/getsgnam.c: Likewise.
15450 * gshadow/getsgnam_r.c: Likewise.
15451 * inet/getnetbyad.c: Likewise.
15452 * inet/getnetbyad_r.c: Likewise.
15453 * inet/getnetbynm.c: Likewise.
15454 * inet/getnetbynm_r.c: Likewise.
15455 * inet/getnetent.c: Likewise.
15456 * inet/getnetent_r.c: Likewise.
15457 * inet/getproto.c: Likewise.
15458 * inet/getproto_r.c: Likewise.
15459 * inet/getprtent.c: Likewise.
15460 * inet/getprtent_r.c: Likewise.
15461 * inet/getprtname.c: Likewise.
15462 * inet/getprtname_r.c: Likewise.
15463 * inet/getrpcbyname.c: Likewise.
15464 * inet/getrpcbyname_r.c: Likewise.
15465 * inet/getrpcbynumber.c: Likewise.
15466 * inet/getrpcbynumber_r.c: Likewise.
15467 * inet/getrpcent.c: Likewise.
15468 * inet/getrpcent_r.c: Likewise.
15469 * inet/getaliasent.c: Likewise.
15470 * inet/getaliasent_r.c: Likewise.
15471 * inet/getaliasname.c: Likewise.
15472 * inet/getaliasname_r.c: Likewise.
15473 * nscd/getgrgid_r.c: Likewise.
15474 * nscd/getgrnam_r.c: Likewise.
15475 * nscd/gethstbyad_r.c: Likewise.
15476 * nscd/gethstbynm3_r.c: Likewise.
15477 * nscd/getpwnam_r.c: Likewise.
15478 * nscd/getpwuid_r.c: Likewise.
15479 * nscd/getsrvbynm_r.c: Likewise.
15480 * nscd/getsrvbypt_r.c: Likewise.
15481 * nscd/gai.c: Likewise.
15482
c53d909c
RM
15483 * configure.in (build_nscd): New substituted variable, set
15484 by --disable-build-nscd and defaults to $use_nscd.
15485 * configure: Regenerated.
15486 * config.make.in (build-nscd): New substituted variable.
15487 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15488 Change conditional to require [$(build-nscd) = yes] as well.
15489 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15490
3cc3ef96
RM
15491 [BZ# 13696]
15492 * configure.in (use_nscd): New substituted variable, set by
15493 --disable-nscd. If enabled, define USE_NSCD.
15494 * configure: Regenerated.
15495 * config.h.in: Add USE_NSCD.
15496 * config.make.in (use-nscd): New substituted variable.
15497 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15498 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15499 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15500 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15501 (CFLAGS-getgrnam_r.c): Likewise.
15502 (CFLAGS-initgroups.c): Likewise.
15503 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15504 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15505 Variables removed.
15506 * inet/getnetgrent_r.c
15507 (nscd_setnetgrent): New function, broken out of ...
15508 (setnetgrent): ... here. Call it.
15509 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15510 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15511 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15512 * nscd/Makefile (routines, aux): Move definitions after include of
15513 Makeconfig. Conditionalize on [$(use-nscd) != no].
15514 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15515 Conditionalize on [USE_NSCD].
15516 (is_nscd, nscd_init_cb): Likewise.
15517 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15518 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15519 * nss/nss_db/db-init.c: Likewise.
15520 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15521 [USE_NSCD].
15522 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15523 (make_request): Use it.
15524 (cache_valid_p): New function.
15525 (__check_pf): Use it.
15526 * NEWS: Add item for --disable-nscd.
15527
07e51550
DL
155282012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15529
15530 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15531 to support sed >= 4.2.1-20-ga9bf076.
15532 * configure: Regenerated.
15533
35a5b08b
RM
155342012-08-22 Roland McGrath <roland@hack.frob.com>
15535
15536 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15537 Conditionalize whole body on [IREL].
15538
8479f23a
JL
155392012-08-22 Jeff Law <law@redhat.com>
15540
15541 [BZ #14505]
15542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15543 if the family is PF_UNSPEC.
15544
48da0b21
MF
155452012-08-22 Mike Frysinger <vapier@gentoo.org>
15546
15547 * Makerules (lib-version): Rename from V.
15548 (install-lib-nosubdir): Change V to lib-version.
15549
15d0da8c
WS
155502012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15551
15552 [BZ #14252]
15553 * powerpc32/power6/wcschr.c: New file.
15554 * powerpc32/power6/wcscpy.c: New file.
15555 * powerpc32/power6/wcsrchr.c: New file.
15556 * powerpc64/power6/wcschr.c: New file.
15557 * powerpc64/power6/wcscpy.c: New file.
15558 * powerpc64/power6/wcsrchr.c: New file.
15559
bcca0895
MK
155602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15561
15562 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15563 (two_way_short_needle): Use it.
5a4aaa33
RM
15564 * string/strstr.c (AVAILABLE1_USES_J): Define.
15565 * string/strcasestr.c: Likewise.
99677e57
MK
15566
15567 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15568 array references.
15569 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15570
400726de
MK
15571 [BZ #11607]
15572 * NEWS: Add an entry.
15573 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15574 define their defaults.
15575 (two_way_short_needle): Detect end-of-string on-the-fly.
15576 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15577 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15578 * string/bug-strcasestr1.c: New test.
15579 * string/Makefile: Run it.
15580
20a71f2c
MK
155812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15582
15583 [BZ #11607]
15584 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15585 the first character.
15586
21ad0558
RM
155872012-08-21 Roland McGrath <roland@hack.frob.com>
15588
15589 * csu/elf-init.c (__libc_csu_irel): Function removed.
15590 * csu/libc-start.c (apply_irel): New function.
15591 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15592
0e1d9911
JM
155932012-08-21 Joseph Myers <joseph@codesourcery.com>
15594
15595 * sysdeps/unix/sysv/linux/kernel-features.h
15596 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15597 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15598 <kernel-features.h>.
15599 [__NR_fadvise64_64]: Make code unconditional.
15600 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15601 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15602 !__NR_fadvise64_64)]: Likewise.
15603 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15604 !__NR_fadvise64_64))]: Likewise.
15605 [__NR_fadvise64]: Make code unconditional.
15606 [!__NR_fadvise64]: Remove conditional code.
15607 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15608 <kernel-features.h>.
15609 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15610 unconditional.
15611 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15612 conditional code.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15614 not include <kernel-features.h>.
15615 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15616 unconditional.
15617 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15618 conditional code.
15619 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15620 include <kernel-features.h>.
15621 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15622 unconditional.
15623 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15624 conditional code.
15625
14a50c9d
WS
156262012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15627
15628 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15629 slight instruction rearrangements per scrollpipe analysis.
15630 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15631
c0f4faf0
RM
156322012-08-20 Roland McGrath <roland@hack.frob.com>
15633
696da859
RM
15634 * manual/syslog.texi (syslog; vsyslog, closelog):
15635 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15636 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15637
c0f4faf0
RM
15638 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15639 DSOCAPS to match condition on defining it.
15640
348363b2
JM
156412012-08-20 Joseph Myers <joseph@codesourcery.com>
15642
a35cbf28
JM
15643 * sysdeps/unix/sysv/linux/kernel-features.h
15644 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15646 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15647 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15649 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15650 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15652 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15653 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15654
445f7ecd
JM
15655 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15656 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15657
348363b2
JM
15658 * sysdeps/unix/sysv/linux/kernel-features.h
15659 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15660 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15661 unconditional.
15662 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15663 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15664 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15665 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15666 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15667 Make code unconditional.
15668 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15669 (__mmap64) [!__NR_mmap2]: Likewise.
15670 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15671 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15672 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15673 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15674 [__NR_mmap2]: Make code unconditional.
15675 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15676 (__mmap64) [!__NR_mmap2]: Likewise.
15677
bc5bc0e5
AK
156782012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15679
15680 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15681
88d506de
AJ
156822012-08-18 Andreas Jaeger <aj@suse.de>
15683
15684 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15685
493387d2
MF
156862012-08-18 Mike Frysinger <vapier@gentoo.org>
15687
15688 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15689 * include/unistd.h (__have_sock_cloexec): Likewise.
15690 (__have_pipe2): Likewise.
15691 (__have_dup3): Likewise.
15692
a277af22
MF
156932012-08-18 Mike Frysinger <vapier@gentoo.org>
15694
15695 [BZ #9685]
15696 * include/unistd.h (__have_pipe2): Change define into an extern int.
15697 (__have_dup3): Likewise.
15698 * socket/have_sock_cloexec.c: Include fcntl.h.
15699 (__have_pipe2): New variable.
15700 (__have_dup3): Likewise.
15701
fdab8fd3
MF
157022012-08-17 Mike Frysinger <vapier@gentoo.org>
15703
15704 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15705
31035e80
MP
157062012-08-17 Marek Polacek <polacek@redhat.com>
15707
15708 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15709 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15710
3bd9e993
RM
157112012-08-17 Roland McGrath <roland@hack.frob.com>
15712
c91c505f
RM
15713 * configure.in: Add AC_SUBST for sysheaders.
15714 * configure: Regenerated.
15715 * config.make.in (sysheaders): New substituted variable.
15716
7c6f9d53
RM
15717 * sysdeps/unix/mkfifo.c: Moved ...
15718 * sysdeps/posix/mkfifo.c: ... here.
15719 * sysdeps/unix/mkfifoat.c: Moved ...
15720 * sysdeps/posix/mkfifoat.c: ... here.
15721
15722 * sysdeps/unix/utime.c: Moved ...
15723 * sysdeps/posix/utime.c: ... here.
15724
15725 * sysdeps/unix/time.c: Moved ...
15726 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
15727 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15728 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
15729
15730 * sysdeps/unix/nice.c: Moved ...
15731 * sysdeps/posix/nice.c: ... here.
15732
15733 * sysdeps/unix/alarm.c: Moved ...
15734 * sysdeps/posix/alarm.c: ... here.
15735
3bd9e993
RM
15736 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15737
d1f09384
JL
157382012-08-17 Jeff Law <law@redhat.com>
15739
15740 * intl/Makefile (codeset_mo): New variable.
15741 ($(codeset_mo)): New target.
15742 (tst-codeset.out): Depend on that. Remove explicit rule.
15743 (tst-gettext3.out, tst-gettext5.out): Likewise.
15744 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15745 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15746 * intl/tst-codeset.sh: Remove.
15747 * intl/tst-gettext3.sh: Likewise.
15748 * intl/tst-gettext5.sh: Likewise.
15749
2ae1ae5c
RM
157502012-08-17 Roland McGrath <roland@hack.frob.com>
15751
c31fdb83
RM
15752 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15753 * sysdeps/unix/syscalls.list: ... here.
15754
a0844057
RM
15755 * sysdeps/posix/getaddrinfo.c
15756 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15757 (gaiconf_init, gaiconf_reload): Use them.
15758 [!_STATBUF_ST_NSEC]
15759 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15760 Define using time_t rather than struct timespec.
15761
750c1f2a
RM
15762 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15763 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15764 Macros removed.
15765 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15766 [!NO_THREADS].
15767 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15768 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15769 Likewise.
15770
2ae1ae5c
RM
15771 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15772 __libc_cleanup_push argument.
15773
e66a42f5
RM
15774 * bits/param.h: New file.
15775 * misc/sys/param.h: New file.
15776 * include/sys/param.h: New file.
15777 * misc/Makefile (headers): Add bits/param.h.
15778 * sysdeps/generic/sys/param.h: File removed.
15779 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15780 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15781 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15782 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15783
b7c08a66
RM
15784 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15785 last change.
15786
b2e1c562
RM
15787 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15788 [_IO_MTSAFE_IO].
15789 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15790 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15791 New macros.
15792
c75ccd4c
RM
15793 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15794 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15795 rather than -D_IO_MTSAFE_IO conditionally.
15796 * stdio-common/Makefile (CPPFLAGS): Likewise.
15797 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15798 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15799 Use $(libio-mtsafe).
15800 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15801 of -D_IO_MTSAFE_IO.
15802 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15803 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15804 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15805 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15806 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15807 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15808 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15809 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15810 (CFLAGS-fread_u_chk.c): Likewise.
15811 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15812 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15813 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15814 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15815 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15816 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15817 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15818 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15819 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15820
15821 * libio/Makefile: Test [$(libc-reentrant) = yes]
15822 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15823
15824 * Makeconfig
15825 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15826 * sysdeps/pthread/configure: File removed.
15827 * sysdeps/pthread/Makeconfig: New file.
15828 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15829 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15830
d9195db8
GB
158312012-08-16 Gary Benson <gbenson@redhat.com>
15832
15833 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15834 unmapping the first object in a namespace.
15835
86466cd9
RM
158362012-08-16 Roland McGrath <roland@hack.frob.com>
15837
15838 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15839 (__internal_setnetgrent): ... this. Add internal_function to
15840 definition. Add libc_hidden_def.
15841 (setnetgrent): Update caller.
15842 (internal_endnetgrent): Renamed to ...
15843 (__internal_endnetgrent): ... this. Add internal_function to
15844 definition. Add libc_hidden_def.
15845 (endnetgrent): Update caller.
15846 (internal_getnetgrent_r): Renamed to ...
15847 (__internal_getnetgrent_r): ... this. Add internal_function to
15848 definition. Add libc_hidden_def.
15849 (__getnetgrent_r): Update caller.
15850 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15851
c3c8283c
JM
158522012-08-16 Joseph Myers <joseph@codesourcery.com>
15853
15854 * stdlib/longlong.h: Update from GCC.
15855
db1ee0a8
RM
158562012-08-16 Roland McGrath <roland@hack.frob.com>
15857
15858 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15859 on _QL, which is set by umul_ppmm but never used.
15860 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15861 variables, which are set by GMP macros but never used.
15862 * stdio-common/_itowa.c (_itowa): Likewise.
15863 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15864 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15865
30f69637
CD
158662012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15867
15868 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15869 struct La_sh_regs is not constant.
15870 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15871 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15872 and struct La_sparc64_regs are not constant.
15873
93a78ac4
JM
158742012-08-16 Joseph Myers <joseph@codesourcery.com>
15875
15876 * sysdeps/unix/sysv/linux/kernel-features.h
15877 (__ASSUME_POSIX_TIMERS): Remove.
15878 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15879 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15880 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15881 Make code unconditional.
15882 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15883 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15884 Make code unconditional.
15885 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15886 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15887 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15888 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15889 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15890 Make code unconditional.
15891 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15892 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15893 (__libc_missing_posix_timers): Remove.
15894
dd924cd7
RM
158952012-08-15 Roland McGrath <roland@hack.frob.com>
15896
4b4f2771
RM
15897 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15898 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15899
601c888b
RM
15900 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15901
176790a7
RM
15902 * elf/dl-sym.c: Include <stdlib.h>.
15903
329bc018
RM
15904 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15905 constants, which avoids warnings in 32-bit builds.
15906
e04e272d
RM
15907 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15908 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15909
952bf94a
RM
15910 * misc/lseek.c: File moved to ...
15911 * io/lseek.c: ... here.
15912
7c99b50a
RM
15913 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15914
dd924cd7
RM
15915 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15916 shifting LEN more than 31 bits at once.
15917
b3f479a8
LD
159182012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15919
15920 [BZ #14195]
8c4ae0d4
RM
15921 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15922 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15923 * string/test-strncasecmp.c (check1): Renamed to...
15924 (bz12205): ...this.
15925 (bz14195): Add new testcase for two empty input strings and N > 0.
15926 (test_main): Call new testcase, adapt for renamed function.
15927
9c55864e
AJ
159282012-08-15 Andreas Jaeger <aj@suse.de>
15929
15930 [BZ #14090]
15931 * crypt/md5test2.c: New test, based on test supplied by Serge
15932 Belyshev <belyshev@depni.sinp.msu.ru>.
15933 * crypt/Makefile (xtests): Add md5test-giant..
15934 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15935
02dcb6c5
PE
159362012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15937
15938 [BZ #14090]
15939 * crypt/md5.c (md5_process_block): Don't assume the buffer
15940 length is less than 2**32.
15941 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15942 length is less than 2**64.
15943
a3f95dcc
RM
159442012-08-15 Roland McGrath <roland@hack.frob.com>
15945
be75d758
RM
15946 * string/str-two-way.h: Include <sys/param.h>.
15947 (MAX): Macro removed.
15948
7312ca90
RM
15949 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15950 Move #define and #undef of memmove to just before and after
15951 including <string.h>.
15952
9a0a5486
RM
15953 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15954 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15955 and after including <string.h>. Move declarations of
15956 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15957 to before #include "string/memmove.c".
15958
67cc348d
RM
15959 * include/dirent.h: Declare __getdirentries.
15960
a3f95dcc
RM
15961 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15962 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15963
ca98e171
MF
159642012-08-14 Mike Frysinger <vapier@gentoo.org>
15965
15966 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15967 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15968 * sysdeps/i386/configure: Regenerated.
15969 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15970 STABS_CURRENT_FILE, and STABS_FUN.
15971 (END): Remove call to STABS_FUN_END.
15972 (STABS_CURRENT_FILE1): Delete.
15973 (STABS_CURRENT_FILE): Likewise.
15974 (STABS_FUN): Likewise.
15975 (STABS_FUN_END): Likewise.
15976 (STABS_FUN2): Likewise.
15977 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15978 * sysdeps/x86_64/configure: Regenerated.
15979
5908bf46
RM
159802012-08-14 Roland McGrath <roland@hack.frob.com>
15981
15982 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15983 * elf/dl-lookup.c: Likewise.
5908bf46 15984
f2c05b9e
JM
159852012-08-14 Joseph Myers <joseph@codesourcery.com>
15986
15987 * sysdeps/unix/sysv/linux/kernel-features.h
15988 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15989 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15990 unconditionally.
15991 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15992 unconditionally.
15993 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15994 condition on __ASSUME_CLONE_THREAD_FLAGS.
15995
e11f5155
AJ
159962012-08-14 Andreas Jaeger <aj@suse.de>
15997
15998 * sysdeps/i386/fpu/libm-test-ulps: Update.
15999
51a9ba86
MK
160002012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16001
2fdd4f78
AJ
16002 * include/atomic.h (atomic_exchange_and_add): Split into ...
16003 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16004 New atomic macros.
51a9ba86 16005
ba6cba9e
MT
160062012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16007
16008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16009
42443a47
JL
160102012-08-13 Jeff Law <law@redhat.com>
16011
16012 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16013 null byte in the output string.
16014
121dce05
JM
160152012-08-10 Joseph Myers <joseph@codesourcery.com>
16016
16017 * sysdeps/unix/sysv/linux/kernel-features.h
16018 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16019 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16020 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16021 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16022 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16023 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16024 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16025
bf51f568
JL
160262012-08-09 Jeff Law <law@redhat.com>
16027
16028 [BZ #13939]
16029 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16030 When avoid_arena is set, don't retry in the that arena. Pick the
16031 next one, whatever it might be.
16032 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16033 (arena_lock): Pass in new parameter to arena_get2.
16034 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16035 arena_get2.
16036 (__libc_malloc): Unify retrying after main arena failure with
16037 __libc_memalign version.
16038 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16039
f85fa270
L
160402012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16041
16042 [BZ #14166]
16043 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16044 to __redirect_strstr.
16045 (__strstr_sse42): Use typeof __redirect_strstr.
16046 (__strstr_ia32): Likewise.
16047 (__libc_strstr): New prototype.
16048 (strstr): Renamed to ...
16049 (__libc_strstr): This.
16050 (strstr): New strong alias of __libc_strstr.
16051 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16052 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16053 __redirect_time.
16054 Include <time.h>.
16055 (__libc_time): New prototype.
16056 (time_ifunc): Replace time with __libc_time.
16057 (time): New strong alias and hidden definition of __libc_time.
16058 (__GI_time): Remove strong alias.
16059 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16060 Include <stddef.h>.
16061 (memmove): Redefined to __redirect_memmove.
16062 (__memmove_sse2): Use typeof __redirect_memmove.
16063 (__memmove_ssse3): Likewise.
16064 (__memmove_ssse3_back): Likewise.
16065 (__libc_memmove): New prototype.
16066 (memmove): Renamed to ...
16067 (__libc_memmove): This.
16068 (memmove): New strong alias of __libc_memmove.
16069
33b4a91e
MS
160702012-08-08 Mark Salter <msalter@redhat.com>
16071
16072 * elf/elf.h
16073 (R_MN10300_TLS_GD): Define.
16074 (R_MN10300_TLS_LD): Likewise.
16075 (R_MN10300_TLS_LDO): Likewise.
16076 (R_MN10300_TLS_GOTIE): Likewise.
16077 (R_MN10300_TLS_IE): Likewise.
16078 (R_MN10300_TLS_LE): Likewise.
16079 (R_MN10300_TLS_DTPMOD): Likewise.
16080 (R_MN10300_TLS_DTPOFF): Likewise.
16081 (R_MN10300_TLS_TPOFF): Likewise.
16082 (R_MN10300_SYM_DIFF): Likewise.
16083 (R_MN10300_ALIGN): Likewise.
16084 (R_MN10300_NUM): Update.
16085
b36137f1
JM
160862012-08-08 Joseph Myers <joseph@codesourcery.com>
16087
16088 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16089 Remove.
16090
cdd915fd
RM
160912012-08-08 Roland McGrath <roland@hack.frob.com>
16092
a2433aac
RM
16093 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16094
cdd915fd
RM
16095 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16096 sysdeps/unix -> sysdeps/posix move.
16097 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16098
bf9b740a
AM
160992012-08-07 Allan McRae <allan@archlinux.org>
16100
16101 [BZ #14303]
16102 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16103 (SUNOS_CPP): Likewise.
16104 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16105 not found.
16106 (open_input): Call CPP using execvp.
16107
93df14ee
JM
161082012-08-07 Joseph Myers <joseph@codesourcery.com>
16109
16110 * sysdeps/unix/sysv/linux/kernel-features.h
16111 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16112 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16113 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16114 (__ASSUME_WAITID_SYSCALL): Likewise.
16115 * sysdeps/unix/sysv/linux/dl-execstack.c
16116 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16117 code unconditional.
16118 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16119 conditional code.
16120 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16121 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16122 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16123 code.
16124 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16125 unconditional.
16126 [__ASSUME_WAITID_SYSCALL]: Likewise.
16127 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16128
d34689de
RM
161292012-08-07 Roland McGrath <roland@hack.frob.com>
16130
a281decc
RM
16131 * sysdeps/unix/closedir.c: Renamed to ...
16132 * sysdeps/posix/closedir.c: ... here.
16133 * sysdeps/unix/dirfd.c: Renamed to ...
16134 * sysdeps/posix/dirfd.c: ... here.
16135 * sysdeps/unix/dirstream.h: Renamed to ...
16136 * sysdeps/posix/dirstream.h: ... here.
16137 * sysdeps/unix/fdopendir.c: Renamed to ...
16138 * sysdeps/posix/fdopendir.c: ... here.
16139 * sysdeps/unix/opendir.c: Renamed to ...
16140 * sysdeps/posix/opendir.c: ... here.
16141 * sysdeps/unix/readdir.c: Renamed to ...
16142 * sysdeps/posix/readdir.c: ... here.
16143 * sysdeps/unix/readdir_r.c: Renamed to ...
16144 * sysdeps/posix/readdir_r.c: ... here.
16145 * sysdeps/unix/rewinddir.c: Renamed to ...
16146 * sysdeps/posix/rewinddir.c: ... here.
16147 * sysdeps/unix/seekdir.c: Renamed to ...
16148 * sysdeps/posix/seekdir.c: ... here.
16149 * sysdeps/unix/telldir.c: Renamed to ...
16150 * sysdeps/posix/telldir.c: ... here.
16151 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16152 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16153 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16154 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16155
22895b47
RM
16156 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16157 * bits/fcntl.h: ... here.
16158
707a53b6
RM
16159 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16160 not 0.
16161 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16162 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16163 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16164 (struct flock): Move l_start, l_len to the beginning.
16165 Use __pid_t for l_pid.
16166 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16167 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16168 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16169 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16170 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16171 [__USE_LARGEFILE64] (struct flock64): New type.
16172 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16173
f0bd3e25
RM
16174 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16175 * bits/dirent.h: ... here.
16176
d34689de
RM
16177 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16178 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16179
6dad2c06
JM
161802012-08-07 Joseph Myers <joseph@codesourcery.com>
16181
16182 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16183 Change from 2.6.0 to 2.6.16.
16184 * sysdeps/unix/sysv/linux/configure: Regenerated.
16185 * sysdeps/unix/sysv/linux/kernel-features.h
16186 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16187 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16188 version.
16189 (__ASSUME_UTIMES): Likewise.
16190 (__ASSUME_CLONE_STOPPED): Remove.
16191 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16192 architectures, not kernel version.
16193 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16194 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16195 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16196 (__ASSUME_WAITID_SYSCALL): Likewise.
16197 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16198 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16199 * README: State 2.6.16 as minimum Linux kernel version. Do not
16200 refer to older versions.
16201
03af9520
RM
162022012-08-06 Roland McGrath <roland@hack.frob.com>
16203
8e49df1d
RM
16204 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16205 Define alphasort64 as an alias.
16206 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16207 Define versionsort64 as an alias.
16208 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16209 Define scandir64 as an alias.
16210 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16211 Define scandirat64 as an alias.
16212 * dirent/alphasort64.c (alphasort64):
16213 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16214 * dirent/versionsort64.c: Likewise.
16215 * dirent/scandir64.c: Likewise.
16216 * dirent/scandirat64.c: Likewise.
16217 * sysdeps/wordsize-64/alphasort.c: File removed.
16218 * sysdeps/wordsize-64/alphasort64.c: File removed.
16219 * sysdeps/wordsize-64/scandir.c: File removed.
16220 * sysdeps/wordsize-64/scandir64.c: File removed.
16221 * sysdeps/wordsize-64/scandirat.c: File removed.
16222 * sysdeps/wordsize-64/scandirat64.c: File removed.
16223 * sysdeps/wordsize-64/versionsort.c: File removed.
16224 * sysdeps/wordsize-64/versionsort64.c: File removed.
16225 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16226 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16227 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16228 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16229 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16230 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16231 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16232 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16233
16234 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16235 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16236 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16237 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16238 [defined __arch64__ || defined __sparcv9]
16239 (__INO_T_MATCHES_INO64_T): New macro.
16240 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16241 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16242 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16243 * sysdeps/unix/sysv/linux/bits/dirent.h
16244 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16245 (_DIRENT_MATCHES_DIRENT64): New macro.
16246
03af9520
RM
16247 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16248 Define lockf64 as an alias.
16249 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16250 Define fseeko64 as an alias.
16251 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16252 Define ftello64 as an alias.
16253 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16254 Define _IO_fgetpos64 and fgetpos64 as aliases.
16255 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16256 Define _IO_fsetpos64 and fsetpos64 as aliases.
16257 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16258 Conditionalize body on this.
16259 * libio/fseeko64.c: Likewise.
16260 * libio/ftello64.c: Likewise.
16261 * libio/iofgetpos64.c: Likewise.
16262 * libio/iofsetpos64.c: Likewise.
16263 * sysdeps/wordsize-64/lockf.c: File removed.
16264 * sysdeps/wordsize-64/lockf64.c: File removed.
16265 * sysdeps/wordsize-64/fseeko.c: File removed.
16266 * sysdeps/wordsize-64/fseeko64.c: File removed.
16267 * sysdeps/wordsize-64/ftello.c: File removed.
16268 * sysdeps/wordsize-64/ftello64.c: File removed.
16269 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16270 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16271 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16272 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16273 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16274 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16275 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16276 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16277 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16278 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16279 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16280 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16281 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16282 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16283
16284 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16286 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16288 [defined __arch64__ || defined __sparcv9]
16289 (__OFF_T_MATCHES_OFF64_T): New macro.
16290 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16291 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16292 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16293 (__OFF_T_MATCHES_OFF64_T): New macro.
16294
c5757acd
L
162952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16296
16297 * stdlib/secure-getenv.c (__secure_getenv): Replace
16298 GLIBC_2_16 with GLIBC_2_17.
16299
3a31811e
L
163002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16301
16302 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16303 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16304
faa2bccb
DM
163052012-08-03 David S. Miller <davem@davemloft.net>
16306
16307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16308
85fe1997
JM
163092012-08-03 Joseph Myers <joseph@codesourcery.com>
16310
16311 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16312 Remove.
16313 (__ASSUME_CORRECT_SI_PID): Likewise.
16314 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16315 (__ASSUME_TMPFS_NAME): Likewise.
16316 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16317 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16318 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16319 (HAVE_AUX_SECURE): Make definition unconditional.
16320 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16321 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16322
4f75b7a0
RM
163232012-08-03 Roland McGrath <roland@hack.frob.com>
16324
16325 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16326 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16327 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16328 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16329 __eloop_threshold instead of SYMLOOP_MAX.
16330
16331 * sysdeps/generic/eloop-threshold.h: New file.
16332 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16333 of MAXSYMLINKS.
16334 * elf/chroot_canon.c (chroot_canon): Likewise.
16335
7aab07e4
JM
163362012-08-03 Joseph Myers <joseph@codesourcery.com>
16337
16338 [BZ #13717]
16339 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16340 Change to 2.6.0 everywhere.
16341 * sysdeps/unix/sysv/linux/configure: Regenerated.
16342 * sysdeps/unix/sysv/linux/kernel-features.h
16343 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16344 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16345 kernel versions.
16346 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16347 (__ASSUME_FUTEX_REQUEUE): Remove.
16348 (__ASSUME_STATFS64): Define unconditionally.
16349 (__ASSUME_AT_SECURE): Likewise.
16350 (__ASSUME_CORRECT_SI_PID): Likewise.
16351 (__ASSUME_TGKILL): Define without depending on kernel version for
16352 i386.
16353 (__ASSUME_UTIMES): Likewise.
16354 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16355 kernel version.
16356 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16357 (__ASSUME_TMPFS_NAME): Likewise.
16358 * README: Update reference to Linux kernel versions.
16359
b67e9372
MP
163602012-08-02 Marek Polacek <polacek@redhat.com>
16361
1f529f7d 16362 [BZ# 14150]
b67e9372
MP
16363 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16364 libc_cv_asm_type_prefix with %.
16365 * configure: Regenerated.
d2441631
RM
16366 * include/libc-symbols.h: Remove comment about
16367 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
16368 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16369 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16370 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16371 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16372 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16373 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16374 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16375 * elf/tst-unique2mod1.c: Likewise.
16376 * elf/tst-unique1mod2.c: Likewise.
16377 * elf/tst-unique1mod1.c: Likewise.
16378 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16379 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16380 Replace ASM_TYPE_DIRECTIVE with .type.
16381 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16382 * sysdeps/i386/sysdep.h: Likewise.
16383 * sysdeps/x86_64/sysdep.h: Likewise.
16384 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
16385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16386 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 16387 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
16388 * sysdeps/powerpc/powerpc32/sysdep.h:
16389 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
16390 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16391 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16392 * sysdeps/i386/fpu/e_powf.S: Likewise.
16393 * sysdeps/i386/fpu/e_expl.S: Likewise.
16394 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16395 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16396 * sysdeps/i386/fpu/e_pow.S: Likewise.
16397 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16398 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16399 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16400 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16401 * sysdeps/i386/fpu/e_log2.S: Likewise.
16402 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16403 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16404 * sysdeps/i386/fpu/e_powl.S: Likewise.
16405 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16406 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16407 * sysdeps/i386/fpu/e_logl.S: Likewise.
16408 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16409 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16410 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16411 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16412 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16413 * sysdeps/i386/fpu/e_log.S: Likewise.
16414 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16415 * sysdeps/i386/fpu/e_logf.S: Likewise.
16416 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16417 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16418 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16419 * sysdeps/i386/fpu/e_log10.S: Likewise.
16420 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16421 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16422 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16423 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16424 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16425 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16426 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16427 * sysdeps/i386/i686/strtok.S: Likewise.
16428 * sysdeps/i386/i386-mcount.S: Likewise.
16429 * sysdeps/i386/strtok.S: Likewise.
16430 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16431 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16432 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16433 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16434 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16435 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16436 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16437 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16438 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16439 * sysdeps/x86_64/_mcount.S: Likewise.
16440 * sysdeps/x86_64/strtok.S: Likewise.
16441 * sysdeps/sh/_mcount.S: Likewise.
16442
2747bf9a
RM
164432012-08-01 Roland McGrath <roland@hack.frob.com>
16444
16445 * libio/iofopen.c: Include <fcntl.h>.
16446 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16447 (_IO_fopen64, fopen64): Define as aliases.
16448 * libio/iofopen64.c: Include <fcntl.h>.
16449 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16450 Conditionalize body on this.
16451 * sysdeps/wordsize-64/iofopen.c: File removed.
16452 * sysdeps/wordsize-64/iofopen64.c: File removed.
16453
3fb791b8
MP
164542012-08-01 Marek Polacek <polacek@redhat.com>
16455
16456 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16457 Use dlfcn directly instead of a variable.
16458 (binfmt-subdir): Do not define.
16459 (dlfcn): Likewise.
16460
a9f1039f
JM
164612012-08-01 Joseph Myers <joseph@codesourcery.com>
16462
23bddc06
JM
16463 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16464 Remove all definitions.
16465 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16466 <kernel-features.h>.
16467 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16468 (miss_F_GETOWN_EX): Remove all definitions.
16469 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16470 macro definition.
16471 [!__ASSUME_FCNTL64]: Remove conditional code.
16472 [__ASSUME_FCNTL64]: Make code unconditional.
16473 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16474 <kernel-features.h>.
16475 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16476 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16477 (lockf64) [__NR_fcntl64]: Make code unconditional.
16478 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16479
a9f1039f
JM
16480 * sysdeps/unix/sysv/linux/kernel-features.h
16481 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16482 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16483 Make code unconditional.
16484 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16485 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16487 [__NR_vfork]: Make code unconditional.
16488 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16489 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16491 [__NR_vfork]: Make code unconditional.
16492 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16493 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16494
09c0ee5f
RM
164952012-08-01 Roland McGrath <roland@hack.frob.com>
16496
48aec5b9
RM
16497 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16498 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16499
cd97c966
RM
16500 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16501 Define mkstemp64 as an alias.
3f55550c
RM
16502 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16503 Define mkstemps64 as an alias.
cd97c966
RM
16504 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16505 Define mkostemp64 as an alias.
b8625cfc
RM
16506 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16507 Define mkostemps64 as an alias.
cd97c966
RM
16508 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16509 Conditionalize body on this.
16510 * misc/mkostemp64.c: Likewise.
b8625cfc 16511 * misc/mkostemps64.c: Likewise.
3f55550c 16512 * misc/mkstemps64.c: Likewise.
cd97c966
RM
16513 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16514 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16515 * sysdeps/wordsize-64/mkostemp.c: File removed.
16516 * sysdeps/wordsize-64/mkstemp.c: File removed.
16517 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16518 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16519 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16520 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16521
09c0ee5f
RM
16522 [BZ #14138]
16523 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16524 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16525 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16526 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16527
16528 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16529 compat_symbol macros from <shlib-compat.h> rather than the underlying
16530 default_symbol_version and symbol_version macros, so that DEFAULT
16531 lines in shlib-versions are respected.
16532 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16533
7e66ee51
FW
165342012-08-01 Florian Weimer <fweimer@redhat.com>
16535
16536 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16537 Declare with warn_unused_result.
16538 (setgid, setregid, setegid, setresgid): Likewise.
16539 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16540 Likewise.
16541 * WUR-REPORT: Remove set*id functions.
16542
d2a54255
PT
165432012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16544
16545 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16546
7ecdb005
RM
165472012-07-31 Roland McGrath <roland@hack.frob.com>
16548
b4180a5e 16549 [BZ #10191]
789bd351
RM
16550 * include/sys/socket.h (__libc_accept, __libc_accept4):
16551 Add attribute_hidden.
16552 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16553
40ce302d
RM
16554 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16555 use of PTR_MANGLE.
16556 * inet/getnetgrent_r.c (setup): Likewise.
16557
7ecdb005
RM
16558 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16559
e2eabb2c
DM
165602012-07-31 David S. Miller <davem@davemloft.net>
16561
16562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16563
d0419dbf
JM
165642012-07-31 Joseph Myers <joseph@codesourcery.com>
16565
16566 [BZ #13629]
16567 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16568 value between 1.0 and 2.0 and smaller part has absolute value less
16569 than 1.0.
16570 * math/s_clog10.c (__clog10): Likewise.
16571 * math/s_clog10f.c (__clog10f): Likewise.
16572 * math/s_clog10l.c (__clog10l): Likewise.
16573 * math/s_clogf.c (__clogf): Likewise.
16574 * math/s_clogl.c (__clogl): Likewise.
16575 * math/libm-test.inc (clog_test): Add more tests.
16576 (clog10_test): Likewise.
16577 * sysdeps/i386/fpu/libm-test-ulps: Update.
16578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16579
2bc13872
FW
165802012-07-31 Florian Weimer <fweimer@redhat.com>
16581
16582 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16583 Exit with zero in case no suitable GID is found, and write a
16584 message to standard error.
16585
bea9b193
RM
165862012-07-30 Roland McGrath <roland@hack.frob.com>
16587
16588 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16589 rather than to 1.
16590 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16591 (MAXPATHLEN): Removed.
16592 (NOGROUP, NODEV): New macros.
16593 (setbit, clrbit, isset, isclr): New macros.
16594 (howmany, roundup, powerof2): New macros.
16595 (DEV_BSIZE): New macro.
16596
16597 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16598 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16599
16600 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16601 definition on [!__NO_LONG_DOUBLE_MATH].
16602
16603 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16604 PTR_MANGLE and PTR_DEMANGLE.
16605
16606 * socket/accept4.c (accept4): Rename to __libc_accept4.
16607 Define accept4 as a weak alias.
16608
16609 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16610 on [_DIRENT_HAVE_D_TYPE].
16611 * io/ftw.c (ftw_dir): Likewise.
16612
16613 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16614
16615 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16616
16617 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16618 Use the BSD numbers rather than the arbitrary ones we had.
16619 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16620 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16621 (SIGXCPU, SIGXFSZ): New macros.
16622 (_NSIG): Now 32.
16623
16624 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16625 initializer on [_LIBC_REENTRANT].
16626
16627 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16628 definitions inside [_POSIX_MAPPED_FILES].
16629
16630 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16631
16632 * dirent/opendir.c: Include <fcntl.h>.
16633
16634 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16635 (__libc_getspecific): Likewise.
16636 (__libc_key_create): Likewise.
16637
16638 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16639 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16640 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16641 (tmpfile64): Define as alias.
16642 * sysdeps/wordsize-64/tmpfile.c: File removed.
16643 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16644 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16645 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16646
16647 * stdio-common/vfscanf.c: Include <stdbool.h>.
16648 * nss/makedb.c: Likewise.
16649 * stdio-common/_i18n_number.h: Likewise.
16650 * argp/argp-help.c: Likewise.
16651 * posix/wordexp.c: Likewise.
16652 * sysdeps/posix/spawni.c: Likewise.
16653 * nss/nss_files/files-initgroups.c: Likewise.
16654 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16655 * nss/nss_files/files-initgroups.c: Likewise.
16656 * nss/nss_db/db-netgrp.c: Likewise.
16657 * nss/nss_db/db-initgroups.c: Likewise.
16658 * io/fchmodat.c: Include <sys/stat.h>.
16659
16660 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16661 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16662
16663 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16664 [HAVE_MMAP].
16665
16666 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16667 Add multiple inclusion protection.
16668
e5abc686
DM
166692012-07-27 David S. Miller <davem@davemloft.net>
16670
16671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16672
815e6fa3
GB
166732012-07-27 Gary Benson <gbenson@redhat.com>
16674
16675 [BZ #14298]
16676 * elf/rtld.c: Include <stap-probe.h>.
16677 (dl_main): Added static probes "init_start" and "init_complete".
16678 * elf/dl-load.c: Include <stap-probe.h>.
16679 (lose): Take new parameter "nsid".
16680 Added static probe "map_failed".
16681 (_dl_map_object_from_fd): Pass namespace id to lose.
16682 Added static probe "map_start".
16683 (open_verify): Pass namespace id to lose.
16684 * elf/dl-open.c: Include <stap-probe.h>.
16685 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16686 and "reloc_complete".
16687 * elf/dl-close.c: Include <stap-probe.h>.
16688 (_dl_close_worker): Added static probes "unmap_start" and
16689 "unmap_complete".
16690 * elf/rtld-debugger-interface.txt: New file documenting the above.
16691
9f98c16c
RM
166922012-07-26 Roland McGrath <roland@hack.frob.com>
16693
16694 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16695 rather than a string variable.
16696 * sunrpc/rpc_main.c (h_output): Likewise.
16697 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16698
f3c22df3
PT
166992012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16700
16701 * inet/check_native.c: New file.
16702
3129cfc6
JM
167032012-07-26 Joseph Myers <joseph@codesourcery.com>
16704
da865e95
JM
16705 [BZ #13629]
16706 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16707 if larger part has absolute value 1.0.
16708 * math/s_clog10.c (__clog10): Likewise.
16709 * math/s_clog10f.c (__clog10f): Likewise.
16710 * math/s_clog10l.c (__clog10l): Likewise.
16711 * math/s_clogf.c (__clogf): Likewise.
16712 * math/s_clogl.c (__clogl): Likewise.
16713 * math/libm-test.inc (clog_test): Add more tests.
16714 (clog10_test): Likewise.
16715 * sysdeps/i386/fpu/libm-test-ulps: Update.
16716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16717
3129cfc6
JM
16718 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16719 (pltexit): Likewise.
16720 (La_regs): Likewise.
16721 (La_retval): Likewise.
16722 (int_retval): Likewise.
16723 Update #error for removed macros to refer only to definitions in
16724 tst-audit.h.
16725 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16726 macro.
16727 (pltexit): Likewise.
16728 (La_regs): Likewise.
16729 (La_retval): Likewise.
16730 (int_retval): Likewise.
16731 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16732 macro.
16733 (pltexit): Likewise.
16734 (La_regs): Likewise.
16735 (La_retval): Likewise.
16736 (int_retval): Likewise.
16737 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16738 macro.
16739 (pltexit): Likewise.
16740 (La_regs): Likewise.
16741 (La_retval): Likewise.
16742 (int_retval): Likewise.
16743 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16744 macro.
16745 (pltexit): Likewise.
16746 (La_regs): Likewise.
16747 (La_retval): Likewise.
16748 (int_retval): Likewise.
16749 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16750 macro.
16751 (pltexit): Likewise.
16752 (La_regs): Likewise.
16753 (La_retval): Likewise.
16754 (int_retval): Likewise.
16755 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16756 macro.
16757 (pltexit): Likewise.
16758 (La_regs): Likewise.
16759 (La_retval): Likewise.
16760 (int_retval): Likewise.
16761 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16762 macro definitions in tst-audit.h.
16763 * sysdeps/i386/tst-audit.h: New file.
16764 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16765 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16766 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16767 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16768 * sysdeps/sh/tst-audit.h: Likewise.
16769 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16770 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16771 * sysdeps/x86_64/tst-audit.h: Likewise.
16772
bfc07087
AJ
167732012-07-26 Andreas Jaeger <aj@suse.de>
16774
b1b2aaf8
AJ
16775 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16776 ptrace.
16777
16778 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16779 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16780 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16781 PTRACE_O_MASK.
16782 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16783 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16784 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16785
bfc07087
AJ
16786 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16787 value.
16788
16789 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16790 _sigsys.
16791 (si_call_addr, si_syscall, si_arch): Define new macro.
16792 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16793 _sigsys.
16794 (si_call_addr, si_syscall, si_arch): Define new marcro.
16795 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16796 _sigsys.
16797 (si_call_addr, si_syscall, si_arch): Define new macro.
16798 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16799 _sigsys.
16800 (si_call_addr, si_syscall, si_arch): Define new macro.
16801
89b4b02f
JM
168022012-07-25 Joseph Myers <joseph@codesourcery.com>
16803
16804 [BZ #13717]
16805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16806 Change to 2.4.21 where previously 2.4.1.
16807 * sysdeps/unix/sysv/linux/configure: Regenerated.
16808 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16809 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16810 Linux kernel version.
16811 (__ASSUME_STD_AUXV): Remove.
16812 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16813 kernel version.
16814 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16815 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16816 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16817 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16818 (__ASSUME_NETLINK_SUPPORT): Likewise.
16819 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16820 (__no_netlink_support): Remove conditional definition.
16821 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16822 Remove.
16823 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16824 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16825 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16826 (if_nameindex_ioctl): Remove.
16827 (if_nameindex_netlink): Do not handle __no_netlink_support.
16828 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16829 code.
16830 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16831 Remove conditional code.
16832 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16833 code.
16834 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16835 unconditional.
16836 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16837 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16838 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16839 Remove.
16840 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16841 [!__ASSUME_STD_AUXV]: Remove conditional code.
16842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16843 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16844 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16846 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16847 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16848 code.
16849 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16851 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16852 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16853 conditional code.
16854 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16856 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16857 code.
16858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16859 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16860 conditional code.
16861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16862 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16863 code unconditional.
16864 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16865 conditional code.
16866 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16867 unconditional.
16868 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16869 conditional code.
16870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16871 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16872 unconditional.
16873 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16874 conditional code.
16875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16876 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16877 code unconditional.
16878 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16879 conditional code.
16880 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16881 unconditional.
16882 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16883 conditional code.
16884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16885 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16886 code unconditional.
16887 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16888 conditional code.
16889 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16890 unconditional.
16891 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16892 conditional code.
16893
842a39cd
AS
168942012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16895
16896 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16897 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16898 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16899 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16900 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16901 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16902 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16903 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16904 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16905 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16906 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16907 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16908 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16909 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16910 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16911 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16912 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16913 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16914 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16915 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16916 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16917 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16918 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16919
84b3fd84
FW
169202012-07-25 Florian Weimer <fweimer@redhat.com>
16921
16922 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16923 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16924 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16925 Introduce __libc_secure_getenv.
0c7936d5
FW
16926 * stdlib/Versions (2.17): Add secure_getenv
16927 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16928 * stdlib/secure-getenv.c: Rename __secure_getenv to
16929 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16930 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16931 * stdlib/tst-secure-getenv.c: New.
16932 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16933 * manual/startup.texi (Environment Access): Document
16934 secure_getenv.
84b3fd84
FW
16935 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16936 __libc_secure_getenv.
16937 * inet/ruserpass.c (ruserpass): Likewise.
16938 * malloc/mtrace.c (mtrace): Likewise.
16939 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16940 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16941 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16942 * sysdeps/posix/tempname.c: Likewise. Evaluate
16943 HAVE_SECURE_GETENV.
16944 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16945 __secure_getenv to __libc_secure_getenv.
84b3fd84 16946 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16948 Likewise.
16949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16950 Likewise.
16951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16958
56e49b71
JM
169592012-07-25 Joseph Myers <joseph@codesourcery.com>
16960
16961 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16962 (struct La_i86_retval): Likewise.
16963 (struct La_x86_64_regs): Likewise.
16964 (struct La_x86_64_retval): Likewise.
16965 (struct La_x32_regs): Likewise.
16966 (struct La_x32_retval): Likewise.
16967 (struct La_ppc32_regs): Likewise.
16968 (struct La_ppc32_retval): Likewise.
16969 (struct La_ppc64_regs): Likewise.
16970 (struct La_ppc64_retval): Likewise.
16971 (struct La_sh_regs): Likewise.
16972 (struct La_sh_retval): Likewise.
16973 (struct La_s390_32_regs): Likewise.
16974 (struct La_s390_32_retval): Likewise.
16975 (struct La_s390_64_regs): Likewise.
16976 (struct La_s390_64_retval): Likewise.
16977 (struct La_sparc32_regs): Likewise.
16978 (struct La_sparc32_retval): Likewise.
16979 (struct La_sparc64_regs): Likewise.
16980 (struct La_sparc64_retval): Likewise.
16981 (struct audit_ifaces): Remove architecture-specific pltenter and
16982 pltexit members.
16983 * sysdeps/i386/ldsodefs.h: New file.
16984 * sysdeps/powerpc/ldsodefs.h: Likewise.
16985 * sysdeps/s390/ldsodefs.h: Likewise.
16986 * sysdeps/sh/ldsodefs.h: Likewise.
16987 * sysdeps/sparc/ldsodefs.h: Likewise.
16988 * sysdeps/x86_64/ldsodefs.h: Likewise.
16989
354691b7
MP
169902012-07-25 Marek Polacek <polacek@redhat.com>
16991
16992 [BZ #6808]
16993 * math/libm-test.inc (yn_test): Add another test.
16994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16995 to ERANGE when the result is +-Inf.
16996 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16997 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16998 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16999 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17000
bf9e2071
JM
170012012-07-24 Joseph Myers <joseph@codesourcery.com>
17002
17003 * conform/data/time.h-data (NULL): Use macro-constant. Require
17004 equal to 0.
17005 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17006 clock_t.
17007 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17008
57633811
TS
170092012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17010
17011 * configure.in <sysdeps resolving>: Correct printing
17012 Implies_before.
17013 * configure: Regenerate.
17014
c23c33b0
TS
170152012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17016
17017 * math/w_ilogb.c: Include <limits.h>.
17018 * math/w_ilogbl.c: Likewise.
17019
b5982523
JM
170202012-07-20 Joseph Myers <joseph@codesourcery.com>
17021
17022 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17023 va_copy. Document allowing for unavailable va_copy only as
17024 pre-C99 compatibility.
17025 * manual/string.texi (Copying and Concatenation): Use va_copy
17026 instead of __va_copy in concat example.
17027
ac4ea442
PT
170282012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17029
17030 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17031 (__sendto): Use create_address_port. Initialize APORT and deallocate
17032 it if not null.
17033
f98eafbd
PT
17034 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17035 with O_NOLINK passed to __file_name_lookup.
17036
898c7aab
PT
17037 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17038 with O_NOLINK passed to __file_name_lookup.
17039
0ced335a
PT
17040 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17041 negative N or less than NGIDS.
17042
b3404dbd
PT
17043 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17044 type to string_t. Set ERANGE as errno and return it if NAME is not big
17045 enough. Use memcpy instead of strncpy.
17046
0f48659e
JM
170472012-07-20 Joseph Myers <joseph@codesourcery.com>
17048
17049 * elf/Makefile (check-data): Remove.
17050 (localplt.data): New vpath directive.
17051 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17052 instead of $(check-data).
17053 * scripts/data/localplt-generic.data: Move to ...
17054 * sysdeps/generic/localplt.data: ... here.
17055 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17056 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17057 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17059 ... here.
17060 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17062 ... here.
17063 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17065 ... here.
17066 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17068 ... here.
17069 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17071 ... here.
17072 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17074 ... here.
17075
d37cbdaa
AZ
170762012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17077
17078 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17079 PPC32 and PPC64 files.
17080 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17081 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17082
46f85fc2
AK
170832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17084
17085 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17086 __makecontext_ret to ...
17087 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17088 ... here and call exit if uc_link is NULL. New file.
17089 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17090 __makecontext_ret.S.
17091 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17092 __makecontext_ret to ...
17093 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17094 ... here and call exit if uc_link is NULL. New file.
17095 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17096 __makecontext_ret.S.
17097
08f43f9b
AK
170982012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17099
17100 * elf/elf.h (R_390_IRELATIVE): New definition.
17101 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17102 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17103 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17104 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17105 (elf_machine_lazy_rel): Likewise.
17106 * sysdeps/s390/dl-irel.h: New file.
17107 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17108 * sysdeps/s390/s390-64/memset.S: New asm code.
17109 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17110 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17111 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17112 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17113 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17114 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17115 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17116 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17117 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17118 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17119 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17120 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17121 * sysdeps/s390/s390-32/memset.S: New asm code.
17122 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17123
3b05db33
MP
171242012-07-17 Marek Polacek <polacek@redhat.com>
17125
17126 [BZ #14349]
17127 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17128 * sysdeps/s390/s390-64/configure.in: Likewise.
17129 * sysdeps/sparc/configure.in: Likewise.
17130 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17131 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17132 * sysdeps/i386/configure.in: Likewise.
17133 * sysdeps/x86_64/configure.in: Likewise.
17134 * sysdeps/sh/configure.in: Likewise.
17135 * sysdeps/s390/s390-32/configure: Regenerated.
17136 * sysdeps/s390/s390-64/configure: Likewise.
17137 * sysdeps/x86_64/configure: Likewise.
17138 * sysdeps/sh/configure: Likewise.
17139 * sysdeps/powerpc/powerpc64/configure: Likewise.
17140 * sysdeps/powerpc/powerpc32/configure: Likewise.
17141 * sysdeps/sparc/configure: Likwise.
17142 * sysdeps/i386/configure: Likewise.
17143
a66877c6
MP
17144 * elf/dl-open.c: Comment fixes.
17145
cfc82fd8
JM
171462012-07-17 Joseph Myers <joseph@codesourcery.com>
17147
bd29910a
JM
17148 * Makefile [CXX] (check-data): Remove.
17149 [CXX] (c++-types.data): New vpath directive.
17150 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17151 vpath. Do not allow for C++ type data being missing.
17152 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17153 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17154 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17155 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17156 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17157 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17158 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17160 ... here.
17161 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17163 ... here.
17164 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17166 ... here.
17167 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17169 ... here.
17170 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17172 ... here.
17173 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17175 ... here.
17176 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17178 ... here.
17179 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17181
cfc82fd8
JM
17182 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17183 definitions to architecture-specific files.
17184 (TLS_IE): Likewise.
17185 (TLS_LD): Likewise.
17186 (TLS_GD): Likewise.
17187 * sysdeps/i386/tls-macros.h: New file.
17188 * sysdeps/powerpc/tls-macros.h: Likewise.
17189 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17190 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17191 * sysdeps/sh/tls-macros.h: Likewise.
17192 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17193 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17194 * sysdeps/x86_64/tls-macros.h: Likewise.
17195
f7db3170
TS
171962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17197
07cbfc23
TS
17198 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17199 zero value for regular exit case.
17200
f7db3170
TS
17201 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17202 (__start_context): Preserve zero value for regular exit case.
17203
dc97c227
TS
172042012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17205 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17206
17207 * manual/setjmp.texi (setcontext): Clarify normal process
17208 termination when uc_link is the null pointer.
17209 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17210 exit call.
17211
d0cd7d02
AS
172122012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17213
17214 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17215 preprocessor. Test for each exception mask separately.
17216
dd318934
AJ
172172012-07-16 Andreas Jaeger <aj@suse.de>
17218
17219 * po/ru.po: Update from translation team.
17220
8048311a
JM
172212012-07-15 Joseph Myers <joseph@codesourcery.com>
17222
17223 * conform/data/string.h-data (NULL): Use macro-constant. Require
17224 equal to 0.
17225 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17226 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17227 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17228 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17229 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17230
b637d46e
AJ
172312012-07-13 Andreas Jaeger <aj@suse.de>
17232
17233 * po/fr.po: Update from translation team.
17234
541428fe
MP
172352012-07-12 Marek Polacek <polacek@redhat.com>
17236
17237 [BZ #14173]
17238 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17239 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17240 loop condition.
17241
ec332e94
JM
172422012-07-12 Joseph Myers <joseph@codesourcery.com>
17243
17244 [BZ #13717]
17245 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17246 Change to 2.4.1 where previously 2.4.0.
17247 * sysdeps/unix/sysv/linux/configure: Regenerated.
17248 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17249 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17250 version.
17251 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17252 (__ASSUME_AT_CLKTCK): Remove.
17253 (__ASSUME_AT_PAGESIZE): Likewise.
17254 (__ASSUME_AT_XID): Likewise.
17255 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17256 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17257 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17258 unconditionally.
17259 (HAVE_AUX_PAGESIZE): Likewise.
17260 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17261 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17262 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17263
7b6e99be
JB
172642012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17265
17266 [BZ #14307]
17267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17268 the temporary buffer used to invoke __gethostbyname2_r,
17269 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17270 host_data / struct gaih_addrtuple.
17271 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17272 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17273 header file nss/nsswitch.h.
17274 * nss/nsswitch.h (global scope): Add definition of implementation
17275 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17276 resolv/nss_dns/dns-host.c).
17277
608404eb
AJ
172782012-07-11 Andreas Jaeger <aj@suse.de>
17279
17280 * po/fr.po: Update from translation team.
17281
71220aca
AJ
17282 * po/sv.po: Update from translation team
17283 * po/fr.po: Another update from translation team.
17284
28cfe843
AZ
172852012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17286
17287 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17288 for subnormals or multiply small sinh result by itself.
17289 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17291
6b90f981
DM
172922012-07-11 David S. Miller <davem@davemloft.net>
17293
17294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17295
c6825772
AS
172962012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17297
17298 [BZ #14347]
17299 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17300 (INTERNAL_MARK): Shift it here.
17301
7b8e0d49
MP
173022012-07-10 Marek Polacek <polacek@redhat.com>
17303
17304 [BZ #14151]
17305 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17306 libc_cv_asm_global_directive with .globl.
17307 * configure: Regenerated.
17308 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17309 with .globl.
17310 * sysdeps/i386/configure: Regenerated.
17311 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17312 with .globl.
17313 * sysdeps/x86_64/configure: Regenerated.
17314 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17315 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17316 * elf/tst-unique2mod2.c: Likewise.
17317 * elf/tst-unique2mod1.c: Likewise.
17318 * elf/tst-unique1mod2.c: Likewise.
17319 * elf/tst-unique1mod1.c: Likewise.
17320 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17321 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17322 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17323 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17324 * sysdeps/mach/sysdep.h: Likewise.
17325 * sysdeps/i386/sysdep.h: Likewise.
17326 * sysdeps/i386/i386-mcount.S: Likewise.
17327 * sysdeps/x86_64/_mcount.S: Likewise.
17328 * sysdeps/x86_64/sysdep.h: Likewise.
17329 * sysdeps/sh/_mcount.S: Likewise.
17330 * sysdeps/sh/sysdep.h: Likewise.
17331 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17332 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17333 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17334 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17335 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17336 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17337 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17338 * locale/localeinfo.h: Likewise.
17339 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17340 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17341
6c55cda3
RM
173422012-07-09 Roland McGrath <roland@hack.frob.com>
17343
17344 [BZ #14336]
17345 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17346 system".
17347 * manual/message.texi (The Uniforum approach): Likewise.
17348 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17349 (glibc iconv Implementation): Likewise.
17350
638a572e
JM
173512012-07-09 Joseph Myers <joseph@codesourcery.com>
17352
17353 [BZ #14337]
17354 * math/s_clog.c (__clog): Avoid scaling a value down where that
17355 could result in underflow.
17356 * math/s_clog10.c (__clog10): Likewise.
17357 * math/s_clog10f.c (__clog10f): Likewise.
17358 * math/s_clog10l.c (__clog10l): Likewise.
17359 * math/s_clogf.c (__clogf): Likewise.
17360 * math/s_clogl.c (__clogl): Likewise.
17361 * math/libm-test.inc (clog_test): Add more tests.
17362 (clog10_test): Likewise.
17363 * sysdeps/i386/fpu/libm-test-ulps: Update.
17364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17365
261f4859
AS
173662012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17367
0abaf3e4
AS
17368 [BZ #14283]
17369 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17370 by 7 not 8 to examine high bit of fractional part.
17371
261f4859
AS
17372 [BZ #14042]
17373 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17374 for call to __mcount_internal.
17375 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17376 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17377 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17378
f17ac40d
JM
173792012-07-06 Joseph Myers <joseph@codesourcery.com>
17380
9ad63c23
JM
17381 [BZ #14154]
17382 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17383 approximation for values within 0x1p-13f of an odd multiple of
17384 pi/4.
17385 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17386 exception. Add more tests.
17387 * sysdeps/i386/fpu/libm-test-ulps: Update.
17388
f17ac40d
JM
17389 [BZ #6778]
17390 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17391 inputs and return -1 for them. Do not check for +Inf in case not
17392 reachable for +Inf.
17393 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17394 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17395 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17396 and return -1 for them. Do not check for +Inf in case not
17397 reachable for +Inf.
17398 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17399 define.
17400 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17401 and return -1 for them. Do not check for +Inf in case not
17402 reachable for +Inf.
17403 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17404 spurious underflow.
17405 * sysdeps/i386/fpu/libm-test-ulps: Update.
17406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17407
fb21f89b
MF
174082012-07-06 Mike Frysinger <vapier@gentoo.org>
17409
17410 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17411
cdfe2c5e
JM
174122012-07-05 Joseph Myers <joseph@codesourcery.com>
17413
17414 [BZ #14157]
17415 [BZ #14331]
17416 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17417 could result in spurious underflow. Scale down values above
17418 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17419 * math/s_csqrtf.c (__csqrtf): Likewise.
17420 * math/s_csqrtl.c (__csqrtl): Likewise.
17421 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17422 spurious underflow.
17423 * sysdeps/i386/fpu/libm-test-ulps: Update.
17424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17425
70d35b67
AS
174262012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17427
704bc459
AS
17428 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17429 xopen-msg.sed.
17430 * catgets/xopen-msg.awk: New file.
17431 * catgets/xopen-msg.sed: Removed.
17432
70d35b67
AS
17433 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17434 po2text.sed.
17435 * intl/po2test.awk: New file.
17436 * intl/po2test.sed: Removed.
17437
ca61cf32
JM
174382012-07-04 Joseph Myers <joseph@codesourcery.com>
17439
17440 [BZ #14328]
17441 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17442 or multiply small sinh result by itself.
17443 * math/s_ctanf.c (__ctanf): Likewise.
17444 * math/s_ctanh.c (__ctanh): Likewise.
17445 * math/s_ctanhf.c (__ctanhf): Likewise.
17446 * math/s_ctanhl.c (__ctanhl): Likewise.
17447 * math/s_ctanl.c (__ctanl): Likewise.
17448 * math/libm-test.inc (ctan_test_tonearest): New function.
17449 (ctan_test_towardzero): Likewise.
17450 (ctan_test_downward): Likewise.
17451 (ctan_test_upward): Likewise.
17452 (ctanh_test_tonearest): Likewise.
17453 (ctanh_test_towardzero): Likewise.
17454 (ctanh_test_downward): Likewise.
17455 (ctanh_test_upward): Likewise.
17456 (main): Call these new functions.
17457 * sysdeps/i386/fpu/libm-test-ulps: Update.
17458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17459
ca48a46a
MF
174602012-07-03 Mike Frysinger <vapier@gentoo.org>
17461
17462 * .gitignore: Delete /ports entry.
17463
9d63d37d
AJ
174642012-07-03 Andreas Jaeger <aj@suse.de>
17465
17466 * po/bg.po: Update from translation team.
17467 * po/cs.po: Likewise.
17468 * po/de.po: Likewise.
17469 * po/hr.po: Likewise.
17470 * po/nl.pl: Likewise.
17471 * po/pl.po: Likewise.
17472 * po/vi.po: Likewise.
17473
370ca3d2
JM
174742012-07-03 Joseph Myers <joseph@codesourcery.com>
17475
95f5a9a8
JM
17476 * Makeconfig [!+link] (+link-before-libc): New variable.
17477 [!+link] (+link-after-libc): Likewise.
17478 [!+link] (+link-tests): Likewise.
17479 [!+link] (+link): Define in terms of $(+link-before-libc) and
17480 $(+link-after-libc).
17481 [!+link-static] (+link-static-before-libc): New variable.
17482 [!+link-static] (+link-static-after-libc): Likewise.
17483 [!+link-static] (+link-static-tests): Likewise.
17484 [!+link-static] (+link-static): Define in terms of
17485 $(+link-static-before-libc) and $(+link-static-after-libc).
17486 [build-shared] (link-libc-before-gnulib): New variable.
17487 [build-shared] (link-libc-tests): Likewise.
17488 [build-shared] (link-libc): Define in terms of
17489 $(link-libc-before-gnulib).
17490 [!build-shared] (link-libc-tests): New variable.
17491 (link-libc-static-tests): New variable.
17492 [!gnulib] (gnulib-arch): New variable.
17493 [!gnulib] (gnulib-tests): Likewise.
17494 [!gnulib] (static-gnulib-arch): Likewise.
17495 [!gnulib] (static-gnulib-tests): Likewise.
17496 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17497 Define with "=" instead of ":=".
17498 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17499 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17500 * Rules (binaries-all-notests): New variable.
17501 (binaries-all-tests): Likewise.
17502 (binaries-static-notests): Likewise.
17503 (binaries-static-tests): Likewise.
17504 (binaries-all): Define using $(binaries-all-notests) and
17505 $(binaries-all-tests).
17506 (binaries-static): Define using $(binaries-static-notests) and
17507 $(binaries-static-tests).
17508 (binaries-shared-tests): New variable.
17509 (binaries-shared-notests): Likewise.
17510 (binaries-shared): Remove variable.
17511 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17512 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17513 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17514 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17515 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17516 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17517 * elf/Makefile (sln-modules): New variable.
17518 (extra-objs): Add $(sln-modules:=.o).
17519 (ldconfig-modules): Add static-stubs.
17520 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17521 * elf/static-stubs.c: New file.
17522
7a845b2c
JM
17523 [BZ #14283]
17524 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17525 by 7 not 8 to examine high bit of fractional part. Use volatile
17526 variables when splitting into final array of floats if
17527 __FLT_EVAL_METHOD__ != 0.
17528 * math/libm-test.inc (cos_test): Add another test.
17529 (sin_test): Likewise.
17530 * sysdeps/i386/fpu/libm-test-ulps: Update.
17531
e2283f38
JM
17532 [BZ #14273]
17533 * math/libm-test.inc (cosh_test): Add more tests.
17534
370ca3d2
JM
17535 * version.h (RELEASE): Set to "development".
17536 (VERSION): Set to "2.16.90".
17537
ee9247c3
CD
175382012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17539
17540 * NEWS: Update copyright. Remove last-updated date.
17541 Mention math library bug fixes and timezone data changes.
17542 * README: Mention GNU/Hurd, x32, and HPPA support status.
17543
4648c381
TS
175442012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17545
17546 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17547
aac78a43
AJ
175482012-06-27 Andreas Jaeger <aj@suse.de>
17549
17550 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17551
ed3dbfad
AJ
175522012-06-25 Andreas Jaeger <aj@suse.de>
17553
17554 * sysdeps/s390/fpu/libm-test-ulps: Update.
17555
4d0ee855
AS
175562012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17557 Thomas Schwinge <thomas@codesourcery.com>
17558
17559 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17560 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17561 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17562 fanotify_mark.
17563
af1bce34
TS
175642012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17565
a9fa33ba
TS
17566 * sysdeps/mach/start.c: Remove file.
17567 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17568 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17569 * sysdeps/sh/init-first.c: Likewise.
17570
58f902b8
TS
17571 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17572 registers for frame unwinding purposes, add CFI directives.
17573 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17574 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17575 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17576 Likewise.
17577
1518f58b
TS
17578 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17579 __fortify_fail returning.
17580 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17581
db9b5059
TS
17582 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17583 sysdeps/sh/____longjmp_chk.S.
17584 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17585 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17586 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17587 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17588
967705fe
TS
17589 * sysdeps/sh/abort-instr.h: New file.
17590 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17591 process in case exit returns.
17592
a9def8c4
TS
17593 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17594 initialize the GOT register before use.
17595
2a649725
TS
17596 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17597 calculation of ARGC > 4.
17598
af1bce34
TS
17599 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17600 meaningful names to some local labels.
17601
d230f50a
KK
176022012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17603 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17604
17605 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17606 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17607 (__arch_compare_and_exchange_val_16_acq): Likewise.
17608 (__arch_compare_and_exchange_val_32_acq): Likewise.
17609 (atomic_exchange_and_add): Fix gUSA sequence.
17610 (atomic_add): Likewise.
17611 (atomic_add_negative): Likewise.
17612 (atomic_add_zero): Likewise.
17613 (atomic_bit_test_set): Likewise.
17614
0479b305
AS
176152012-06-22 Andreas Schwab <schwab@redhat.com>
17616
17617 [BZ #13579]
17618 * include/link.h (struct link_map): Add l_free_initfini.
17619 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17620 l_initfini.
17621 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17622 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17623 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17624 set.
17625
0e3933b9
CD
176262012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17627
17628 * configure.in: Use AC_LANG_SOURCE.
17629 * configure: Regenerate.
17630
4248b1b1
RM
176312012-06-22 Roland McGrath <roland@hack.frob.com>
17632
17633 * configure.in (libc_cv_localstatedir): New substituted variable.
17634 * configure: Regenerated.
17635 * config.make.in (localstatedir): New variable, substituted from
17636 libc_cv_localstatedir.
17637 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17638 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17639 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17640 * sysdeps/gnu/configure: Regenerated.
17641
006dd861
JL
176422012-06-21 Jeff Law <law@redhat.com>
17643
17644 [BZ #14277]
17645 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17646 free. Simplify list management for _LIBC case.
17647
79662d42
JM
176482012-06-21 Joseph Myers <joseph@codesourcery.com>
17649
b7abb4bf
JM
17650 [BZ #14273]
17651 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17652 Clear sign bit of 64-bit integer value before comparing against
17653 overflow value.
17654
79662d42
JM
17655 * sysdeps/mach/configure: Regenerated.
17656
1f150908
L
176572012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17658
17659 [BZ #14278]
17660 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17661
28363bbf
JL
176622012-06-21 Jeff Law <law@redhat.com>
17663
17664 [BZ #13882]
17665 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17666 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 17667 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
17668 * elf/dl-open.c (dl_open_worker): Likewise.
17669
09615db4
CD
176702012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17671
17672 * scripts/list-sources.sh: Scan PORTS for translations.
17673 * po/libc.pot: Regenerated.
17674
2174c6dd
AJ
176752012-06-21 Andreas Jaeger <aj@suse.de>
17676
17677 [BZ #12194]
17678 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17679 warning.
17680 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17681 * bits/byteswap-16.h (__bswap_16): Likewise.
17682 * bits/byteswap.h (__bswap_constant_16): Likewise.
17683
3ee947b1
L
176842012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17685
17686 [BZ #14117]
a2f34833
L
17687 * sysdeps/i386/fpu_control.h: Removed.
17688 * sysdeps/x86_64/fpu_control.h: Moved to ...
17689 * sysdeps/x86/fpu_control.h: Here.
17690
3ee947b1
L
17691 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17692 (_FPU_SETCW): Likewise.
17693
ed1825f8
L
176942012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17695
25f1282a
L
17696 [BZ #14117]
17697 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17698 * sysdeps/x86/fpu/bits/mathinline.h: This.
17699 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17700
ed1825f8
L
17701 [BZ #14050]
17702 [BZ #14117]
17703 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17704 functions if __x86_64__ is defined.
17705
36d54b74
CLT
177062012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17707
17708 * string/endian.h: Add !__ASSEMBLER__ condition for including
17709 conversion interfaces.
17710
10285c21
JM
177112012-06-15 Joseph Myers <joseph@codesourcery.com>
17712
17713 [BZ #14241]
17714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17715 of ABS(x) in calculating zero to negative powers other than odd
17716 integers.
17717 * math/libm-test.inc (pow_test): Add more tests.
17718
06c5abbd
AJ
177192012-06-15 Andreas Jaeger <aj@suse.de>
17720
17721 * manual/contrib.texi (Contributors): Update entry of Liubov
17722 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17723 Machado Filho.
17724
a3aeac40
CH
177252012-06-15 Cyril Hrubis <metan@ucw.cz>
17726
17727 * string/string.h: Add __wur to GNU version of strerror_r.
17728
49bdf4c1
L
177292012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17730
17731 [BZ #14229]
17732 * string/Makefile (tests): Add tst-strtok_r.
17733 * string/tst-strtok_r.c: New file.
17734 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17735 RAX_LP/RDX_LP on SAVE_PTR.
17736
834f9b8d
RM
177372012-06-14 Roland McGrath <roland@hack.frob.com>
17738
17739 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17740
75fa1921
JM
177412012-06-14 Joseph Myers <joseph@codesourcery.com>
17742
17743 * libm_test.inc (csqrt_test): Allow more spurious underflow
17744 exceptions.
17745 (j0_test): Likewise.
17746 (j1_test): Likewise.
17747 (y0_test): Likewise.
17748 (y1_test): Likewise.
17749
771766df
CD
177502012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17751
17752 * po/Makefile (libc.pot): Use UTF-8 charset.
17753
ceb9e56b
PP
177542012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17755
17756 [BZ #14210]
17757 Suppress sign-conversion warning from FD_SET.
17758 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17759 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17760 not unsigned long int.
17761 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17762
ddb28975
L
177632012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17764
17765 [BZ #14050]
17766 [BZ #14117]
17767 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17768 __extern_always_inline instead of __extern_inline.
17769 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17770 (__signbit): Likewise.
17771 (__signbitl): Support C++ namespace.
17772 (lrintf): New inline function.
17773 (lrint): Likewise.
17774 (llrintf): Likewise.
17775 (llrint): Likewise.
17776 (fmaxf): Likewise.
17777 (fmax): Likewise.
17778 (fminf): Likewise.
17779 (fmin): Likewise.
17780 (rint): Likewise.
17781 (rintf): Likewise.
17782 (ceil): Likewise.
17783 (ceilf): Likewise.
17784 (floor): Likewise.
17785 (floorf): Likewise.
17786 (nearbyint): Likewise.
17787 (nearbyintf): Likewise.
17788
d7b4fb26
TS
177892012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17790
17791 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17792 non-default versions.
17793
eb55f5c2
RM
177942012-06-11 Roland McGrath <roland@hack.frob.com>
17795
17796 [BZ #14218]
17797 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17798
366af02c
TS
177992012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17800
99ff6e5c
TS
17801 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17802 (FE_UPWARD, FE_DOWNWARD): Don't define.
17803 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17804 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17805
366af02c
TS
17806 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17807 reading it.
17808 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17809 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17810
793ea851
KK
178112012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17812
17813 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17815 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17816 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17817
a728a38f
L
178182012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17819
17820 [BZ #14117]
c08010c7
L
17821 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17822 * sysdeps/i386/fpu/Implies: New file.
17823 * sysdeps/x86_64/fpu/Implies: Likewise.
17824 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17825 * sysdeps/x86/fpu/bits/fenv.h: This.
17826
a728a38f
L
17827 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17828 __SSE_MATH__.
17829
6e230d11
SP
178302012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17831
17832 [BZ #14134]
17833 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17834 character 0xffff that matches the last element of the
17835 conversion table.
17836
1b671feb
AZ
178372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17838
17839 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17840 fmodl commit.
17841
6043738b
AZ
178422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17843
17844 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17845 values higher than 25.6283.
17846
34ae0b32
AZ
178472012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17848
17849 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17850 subnormal exponent extraction and add some __builtin_expect.
17851 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17852 Fix for subnormal mantissa calculation.
17853
1214ec8f
MF
178542012-06-04 Mike Frysinger <vapier@gentoo.org>
17855
17856 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17857 cpu2 is -1 and errno is not ENOSYS.
17858
f3d1f93c
L
178592012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17860
17861 [BZ #14117]
0e4a3cd7
L
17862 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17863 * sysdeps/x86/bits/string.h: This.
17864 * sysdeps/x86_64/bits/string.h: Removed.
17865
6704c645
L
17866 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17867 if not compiling for x86-64, but compiling for >= i486.
17868
48495318
L
17869 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17870 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17871
14adcbfc
L
17872 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17873 New macro from Linux kernel 3.4.0.
17874 (FP_XSTATE_MAGIC2): Likewise.
17875 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17876 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17877 (struct _fpx_sw_bytes): New struct.
17878 (struct _xsave_hdr): Likewise.
17879 (struct _ymmh_state): Likewise.
17880 (struct _xstate): Likewise.
17881
68e408ab
L
17882 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17883 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17884 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17885 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17886 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17887 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17888
f3d1f93c
L
17889 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17890 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17891 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17892 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17893 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17894 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17895
d9dc34cd
TMQMF
178962012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17897
17898 [BZ #13743]
17899 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17900 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17901 (sysdep_headers): Include sys/platform/ppc.h.
17902 * sysdeps/powerpc/test-gettimebase.c: Test for
17903 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17904 * manual/Makefile (appendices): Include platform.texi.
17905 * manual/contrib.texi (Contributors): Update @node pointers.
17906 * manual/maint.texi (Maintenance): Likewise.
17907 (Platform): New node.
17908 * manual/platform.texi: New file. Document the new features.
17909
4af3879c
SP
179102012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17911 Jakub Jelinek <jakub@redhat.com>
17912
17913 [BZ #14188]
17914 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17915 where __builtin_expect is unavailable.
17916
2fd6ff13
DM
179172012-06-03 David S. Miller <davem@davemloft.net>
17918
17919 * stdlib/longlong.h: Updated from GCC.
17920
173f7220
AS
179212012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17922
17923 [BZ #14042]
17924 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17925 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17926 __mcount_internal.
17927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17928 (GLIBC_2.16): Likewise.
17929
f34a1c6f
L
179302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17931
17932 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17933
88a4576f
JM
179342012-06-01 Joseph Myers <joseph@codesourcery.com>
17935
ea32bcdd
JM
17936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17937 (default-abi): New variable.
17938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17939 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17940 variable.
17941 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17942 Likewise.
17943 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17944 Likewise.
17945 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17946 Likewise.
17947
88a4576f
JM
17948 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17949 definition. Document in comment.
17950
402fe938
DM
179512012-06-01 David S. Miller <davem@davemloft.net>
17952
17953 * stdlib/longlong.h: Updated from GCC.
17954
3553723f
L
179552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17956
17957 [BZ #14117]
3bd872c4
L
17958 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17959 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17960 sys/debugreg.h sys/io.h here.
17961 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17962 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17963 sys/io.h.
17964 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17965 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17966 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17967 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17968 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17969 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17970
3553723f
L
17971 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17972 Define only if __x86_64__ is defined.
17973
4842e4fe
JM
179742012-06-01 Joseph Myers <joseph@codesourcery.com>
17975
c5bfe3d5
JM
17976 [BZ #14048]
17977 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17978 Use int64_t for variable i.
17979 * math/libm-test.inc (fmod_test): Add more tests.
17980
4842e4fe
JM
17981 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17982 z computation is not scheduled after fetestexcept.
17983 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17984 Use math_force_eval instead of asm to ensure calculation scheduled
17985 before exception test.
17986 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17987 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17988
efb73488
AJ
179892012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17990
17991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17992 computation is not scheduled after fetestexcept.
17993
29bcce7c
L
179942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17995
17996 [BZ #14117]
17997 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17998 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17999
73a68f94
AZ
180002012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18001
18002 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18003 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18004
67b6df78
L
180052012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18006
edf2933a 18007 [BZ #14117]
ebc64a18
L
18008 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18009 <bits/wordsize.h>.
18010 (__WCHAR_MIN): Support __WORDSIZE == 64.
18011 (__WCHAR_MAX): Likewise.
18012
edf2933a
L
18013 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18014 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18015
57c6cf40
L
18016 [BZ #14183]
18017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18018 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18019
67b6df78 18020 [BZ #14117]
8eb6281e
L
18021 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18022 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18023
aac639f4
L
18024 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18025 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18026
67b6df78
L
18027 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18028 Defined to 1 if __x86_64__ isn't defined.
18029 (_STAT_VER_LINUX_OLD): New.
18030 (st_atime): Remove duplicate.
18031 (st_mtime): Likewise.
18032 (st_ctime): Likewise.
18033
1c2cfe81
DM
180342012-05-31 David S. Miller <davem@davemloft.net>
18035
18036 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18037 entries.
18038
5be8418c
AS
180392012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18040
e7725326
AS
18041 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18042 gen-libm-test.pl.
18043
5be8418c
AS
18044 [BZ #14132]
18045 * elf/dl-reloc.c: Include <_itoa.h>.
18046 (_dl_reloc_bad_type): Remove use of INTUSE.
18047 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18048 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18049 * stdio-common/psiginfo.c (psiginfo): Likewise.
18050 * stdio-common/psignal.c (psignal): Likewise.
18051 * string/strsignal.c (strsignal): Likewise.
18052 * include/signal.h (_sys_siglist): Declare hidden proto.
18053 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18054 INTVARDEF with libc_hidden_data_def.
18055 * stdio-common/itoa-udigits.c: Likewise.
18056 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18057 (_itoa_lower_digits_internal): Remove declaration.
18058 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18059 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18060 (_sys_sigabbrev_internal): Remove aliases.
18061 (_sys_siglist): Define hidden alias.
18062
507352f1
MT
180632012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18064
18065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18066 bits/sysctl.h.
18067
42bbb1c3
L
180682012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18069
18070 [BZ #14117]
6bd784b6
L
18071 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18072 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18073
8bca20f0
L
18074 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18075 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18076 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18077 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18078 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18079 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18080
f9e890a9
L
18081 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18082 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18083 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18084
471101a1
L
18085 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18086 with __addr.
18087 (insw): Likewise.
18088 (insl): Likewise.
18089 (outsb): Likewise.
18090 (outsw): Likewise.
18091 (outsl): Likewise.
18092
6451c862
L
18093 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18094 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18095 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18096
a254b8c9
L
18097 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18098 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18099 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18100 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18101 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18102 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18103
b8dfdd92
L
18104 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18105 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18106
578cd270
L
18107 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18108 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18109
de662f5f
L
18110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18111 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18112 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18113
25653439
L
18114 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18115 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18116 to ...
18117 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18118
6bad24a0
L
18119 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18120 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18121 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18122
42bbb1c3
L
18123 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18124 for x86-64.
18125 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18126
2d10d547
JM
181272012-05-31 Joseph Myers <joseph@codesourcery.com>
18128
18129 * math/math.h (M_El): Use two more decimal places.
18130 (M_LOG2El): Likewise.
18131 (M_LOG10El): Likewise.
18132 (M_LN2l): Likewise.
18133 (M_LN10l): Likewise.
18134 (M_PIl): Likewise.
18135 (M_PI_2l): Likewise.
18136 (M_PI_4l): Likewise.
18137 (M_1_PIl): Likewise.
18138 (M_2_PIl): Likewise.
18139 (M_2_SQRTPIl): Likewise.
18140 (M_SQRT2l): Likewise.
18141 (M_SQRT1_2l): Likewise.
18142
f230c29b
DM
181432012-05-31 David S. Miller <davem@davemloft.net>
18144
18145 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18146 values between float registers.
18147 * sysdeps/sparc/sparc64/memset.S: Likewise.
18148 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18149
fed806c3
MF
181502012-05-31 Mike Frysinger <vapier@gentoo.org>
18151
18152 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18153 -D_FORTIFY_SOURCE=1.
18154 (CPPFLAGS-tst-longjmp_chk.c): Define.
18155 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18156 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18157 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18158 CFLAGS-tst-wchar-h.c.
18159
30917259
MP
181602012-05-31 Marek Polacek <polacek@redhat.com>
18161
18162 [BZ #14132]
18163 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18164 __endmntent_internal): Remove declaration.
18165 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18166 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18167 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18168
1c58d5dc
DM
181692012-05-30 David S. Miller <davem@davemloft.net>
18170
18171 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18172 (___Q_simulate_exceptions): Use real FP ops rather than writing
18173 into the %fsr.
18174 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18175 Likewise.
18176
7dc00e0d
L
181772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18178
18179 [BZ #14117]
0bd53985
L
18180 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18181 * sysdeps/x86/bits/xtitypes.h: This.
18182
3a257e66
L
18183 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18184 * sysdeps/x86/bits/wordsize.h: This.
18185
62f62904
L
18186 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18187 * sysdeps/x86/bits/huge_vall.h: This.
18188
404fe9d9
L
18189 * sysdeps/i386/bits/select.h: Removed.
18190 * sysdeps/x86_64/bits/select.h: Renamed to ...
18191 * sysdeps/x86/bits/select.h: This.
18192
d48d0446
L
18193 * sysdeps/i386/bits/setjmp.h: Removed.
18194 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18195 * sysdeps/x86/bits/setjmp.h: This.
18196
7dc00e0d
L
18197 * sysdeps/i386/bits/mathdef.h: Removed.
18198 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18199 * sysdeps/x86/bits/mathdef.h: This.
18200
03277f8f
AS
182012012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18202
18203 [BZ #14132]
18204 * include/sys/socket.h (__connect_internal)
18205 (__libc_sa_len_internal): Remove declaration.
18206 (__connect, __libc_sa_len): Declare hidden_proto.
18207 (SA_LEN): Remove use of INTUSE.
18208 * socket/connect.c: Add libc_hidden_def.
18209 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18210 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18211 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18212 alias.
18213 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18214 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18215 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18216 of adding _internal alias.
18217
13764867
L
182182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18219
18220 [BZ #14117]
6bd97696
L
18221 * sysdeps/i386/bits/link.h: Removed.
18222 * sysdeps/i386/bits/linkmap.h: Likewise.
18223 * sysdeps/x86_64/bits/link.h: Renamed to ...
18224 * sysdeps/x86/bits/link.h: This.
18225 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18226 * sysdeps/x86/bits/linkmap.h: This.
18227
f726f0bb
L
18228 * sysdeps/i386/bits/endian.h: Removed.
18229 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18230 * sysdeps/x86/bits/endian.h: This.
18231
13764867
L
18232 * sysdeps/i386/bits/byteswap.h: Removed.
18233 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18234 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18235 * sysdeps/x86/bits/byteswap.h: This.
18236 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18237 * sysdeps/x86/bits/byteswap-16.h: This.
18238 * sysdeps/i386/Implies: Add x86.
18239 * sysdeps/x86_64/Implies: Likewise.
18240
ae251b0b
DM
182412012-05-30 David S. Miller <davem@davemloft.net>
18242
18243 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18244 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18245 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18246 (FP_TRAPPING_EXCEPTIONS): Define.
18247 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18248 (FP_TRAPPING_EXCEPTIONS): Define.
18249 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18250 subnormals only when inexact has been signalled or underflow
18251 exceptions are enabled.
18252 (_FP_PACK_CANONICAL): Likewise.
18253
d5c90867
L
182542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18255
18256 [BZ #14183]
18257 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18258 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18259
63f1549e
RH
182602012-05-30 Richard Henderson <rth@twiddle.net>
18261
8d8f2279
RH
18262 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18263 with #ifndef NOT_IN_libc.
18264
63f1549e
RH
18265 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18266 marked to avoid plt entry.
18267
0ab0291b
L
182682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18269
18270 [BZ #14112]
18271 * Makeconfig (default-abi): New macro.
18272 (abi-includes): Likewise.
18273 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18274 $(abi-$(default-abi)-lib-soname) for soname if defined.
18275 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18276 abi-variants.
18277 * Makefile (installed-stubs): Likewise.
18278 * include/stubs-biarch.h: Removed.
18279 * scripts/lib-names.awk: Only handle one library at a time.
18280 * scripts/soversions.awk: Remove WORDSIZE support.
18281 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18282 entries.
18283 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18284 Removed.
18285 (syscall-list-default-condition): Likewise.
18286 (syscall-list-default-condition): Likewise.
18287 (syscall-list-includes): Likewise.
18288 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18289 syscall-list-* with abi-*. Handle undefined abi-variants.
18290 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18291 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18292 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18293 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18294 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18295 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18296 Removed.
18297 (syscall-list-32-options): Likewise.
18298 (syscall-list-32-condition): Likewise.
18299 (syscall-list-64-options): Likewise.
18300 (syscall-list-64-condition): Likewise.
18301 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18302 macro.
18303 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18304 Renamed to ...
18305 (abi-*): This.
18306 (abi-64-ld-soname): New macro.
18307 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18308 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18309 Renamed to ...
18310 (abi-*): This.
18311 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18312 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18313
4da0431d
JM
183142012-05-30 Joseph Myers <joseph@codesourcery.com>
18315
3a85279c
JM
18316 * sysdeps/unix/sysv/linux/kernel-features.h
18317 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18318 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18319 include <kernel-features.h>.
18320 [!__NR_ftruncate64]: Remove conditional code.
18321 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18322 [__NR_ftruncate64]: Make code unconditional.
18323 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18324 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18325 include <kernel-features.h>.
18326 [!__NR_ftruncate64]: Remove conditional code.
18327 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18328 [__NR_ftruncate64]: Make code unconditional.
18329 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18331 include <kernel-features.h>.
18332 [!__NR_ftruncate64]: Remove conditional code.
18333 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18334 [__NR_ftruncate64]: Make code unconditional.
18335 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18337 include <kernel-features.h>.
18338 [!__NR_ftruncate64]: Remove conditional code.
18339 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18340 [__NR_ftruncate64]: Make code unconditional.
18341 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18342
4da0431d
JM
18343 * configure.in (libc_cv_fpie): Weaken to a compile test using
18344 LIBC_TRY_CC_OPTION.
18345 * configure: Regenerated.
18346
11ef492c
AK
183472012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18348
18349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18353 Refreshed.
18354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18360 Refreshed.
18361
d66ef399
DM
183622012-05-27 David S. Miller <davem@davemloft.net>
18363
18364 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18365 (___Q_zero): New.
18366 (__Q_simulate_exceptions): Return void. Change to simulate
18367 exceptions by writing into the %fsr.
18368 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18369 (__Qp_handle_exceptions): Likewise.
18370 (numbers): Delete.
18371 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18372 __Qp_handle_exceptions.
18373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18374 __Qp_handle_exceptions.
18375 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18376 as unused and give dummy FP_RND_NEAREST initializer.
18377 (FP_INHIBIT_RESULTS): Define.
18378 (___Q_simulate_exceptions): Update declaration.
18379 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18380 formatting.
18381 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18382 as unused and give dummy FP_RND_NEAREST initializer.
18383 (__Qp_handle_exceptions): Update declaration.
18384 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18385 formatting.
18386
04fb54b5
TS
183872012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18388
18389 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18390 the temporary FPU control word.
18391 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18392 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18393 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18394 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18395 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18396 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18397 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18398 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18399 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18400 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18401 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18402
3f99608f
KK
184032012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18404
18405 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18406 fields.
18407
65a4de4e
CLT
184082012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18409
18410 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18411 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18412 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18413 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18414 Likewise.
18415 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18416 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18417 Likewise.
18418
15749d40
UD
184192012-05-27 Ulrich Drepper <drepper@gmail.com>
18420
18421 * po/h.po: Update from translation team.
18422
25dbcb27
AS
184232012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18424
3d3f8e55
AS
18425 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18426
25dbcb27
AS
18427 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18428 handling of denormals.
18429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18430 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18431 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18432 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18433 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18434 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18436 Likewise.
18437
7ad47a80 184382012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
18439
18440 [BZ #14152]
18441 * math/libm-test.inc (fma_test): Don't always expect underflow
18442 exception.
18443
9c6ea9fa
SP
184442012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18445
18446 [BZ #12416]
18447 * elf/tst-execstack.c: Include stackinfo.h.
18448 (do_test): Adjust test case to ensure that pthread_getattr_np
18449 behaviour remains the same after marking stack executable.
18450
a8239222
JM
184512012-05-25 Joseph Myers <joseph@codesourcery.com>
18452
18453 * sysdeps/unix/sysv/linux/kernel-features.h
18454 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18455 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18456 kernel-features.h.
18457 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18458 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18459 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18460 kernel-features.h.
18461 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18462 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18463
918b5606
L
184642012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18465
18466 * configure.in: Define the default includes to being none.
18467 * configure: Regenerated.
18468
3a097cc7
RM
184692012-05-25 Roland McGrath <roland@hack.frob.com>
18470
8422c9a5
RM
18471 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18472 * sysdeps/x86_64/setjmp.S: Likewise.
18473 * sysdeps/i386/bsd-setjmp.S: Likewise.
18474 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18475 * sysdeps/i386/setjmp.S: Likewise.
18476 * sysdeps/i386/__longjmp.S: Likewise.
18477 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18478 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18479
3a097cc7
RM
18480 * include/stap-probe.h: New file.
18481 * configure.in: Handle --enable-systemtap.
18482 * configure: Regenerated.
18483 * config.h.in (USE_STAP_PROBE): New #undef.
18484 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18485 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18486 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18487
21708942
JM
184882012-05-25 Joseph Myers <joseph@codesourcery.com>
18489
18490 [BZ #13717]
18491 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18492 to 2.4.0 where earlier.
18493 * sysdeps/unix/sysv/linux/configure: Regenerated.
18494 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18495 <kernel-features.h>.
18496 [__ASSUME_32BITUIDS]: Make code unconditional.
18497 [!__ASSUME_32BITUIDS]: Remove conditional code.
18498 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18499 <kernel-features.h>.
18500 [__ASSUME_32BITUIDS]: Make code unconditional.
18501 [!__ASSUME_32BITUIDS]: Remove conditional code.
18502 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18503 [__ASSUME_32BITUIDS]: Make code unconditional.
18504 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18505 * sysdeps/unix/sysv/linux/i386/getegid.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/i386/geteuid.c: Do not include
18510 <kernel-features.h>.
18511 [__ASSUME_32BITUIDS]: Make code unconditional.
18512 [!__ASSUME_32BITUIDS]: Remove conditional code.
18513 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18514 <kernel-features.h>.
18515 [__ASSUME_32BITUIDS]: Make code unconditional.
18516 [!__ASSUME_32BITUIDS]: Remove conditional code.
18517 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18518 <kernel-features.h>.
18519 [__ASSUME_32BITUIDS]: Make code unconditional.
18520 [!__ASSUME_32BITUIDS]: Remove conditional code.
18521 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18522 <kernel-features.h>.
18523 [__ASSUME_32BITUIDS]: Make code unconditional.
18524 [!__ASSUME_32BITUIDS]: Remove conditional code.
18525 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18526 <kernel-features.h>.
18527 [__ASSUME_32BITUIDS]: Make code unconditional.
18528 [!__ASSUME_32BITUIDS]: Remove conditional code.
18529 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18530 <kernel-features.h>.
18531 [__ASSUME_32BITUIDS]: Make code unconditional.
18532 [!__ASSUME_32BITUIDS]: Remove conditional code.
18533 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18534 <kernel-features.h>.
18535 [__ASSUME_32BITUIDS]: Make code unconditional.
18536 [!__ASSUME_32BITUIDS]: Remove conditional code.
18537 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18538 <kernel-features.h>.
18539 [__ASSUME_32BITUIDS]: Make code unconditional.
18540 [!__ASSUME_32BITUIDS]: Remove conditional code.
18541 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18542 <kernel-features.h>.
18543 [__ASSUME_32BITUIDS]: Make code unconditional.
18544 [!__ASSUME_32BITUIDS]: Remove conditional code.
18545 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18546 <kernel-features.h>.
18547 [__NR_setresgid] (__setresgid): Do not declare.
18548 [__ASSUME_32BITUIDS]: Make code unconditional.
18549 [!__ASSUME_32BITUIDS]: Remove conditional code.
18550 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18551 <kernel-features.h>.
18552 [__NR_setresuid] (__setresuid): Do not declare.
18553 [__ASSUME_32BITUIDS]: Make code unconditional.
18554 [!__ASSUME_32BITUIDS]: Remove conditional code.
18555 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18556 <kernel-features.h>.
18557 [__ASSUME_32BITUIDS]: Make code unconditional.
18558 [!__ASSUME_32BITUIDS]: Remove conditional code.
18559 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18560 <kernel-features.h>.
18561 [__ASSUME_32BITUIDS]: Make code unconditional.
18562 [!__ASSUME_32BITUIDS]: Remove conditional code.
18563 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18564 <kernel-features.h>.
18565 [__ASSUME_32BITUIDS]: Make code unconditional.
18566 [!__ASSUME_32BITUIDS]: Remove conditional code.
18567 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18568 <kernel-features.h>.
18569 [__ASSUME_32BITUIDS]: Make code unconditional.
18570 [!__ASSUME_32BITUIDS]: Remove conditional code.
18571 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18572 <kernel-features.h>.
18573 [__ASSUME_32BITUIDS]: Make code unconditional.
18574 [!__ASSUME_32BITUIDS]: Remove conditional code.
18575 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18576 <kernel-features.h>.
18577 [__ASSUME_32BITUIDS]: Make code unconditional.
18578 [!__ASSUME_32BITUIDS]: Remove conditional code.
18579 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18580 <kernel-features.h>.
18581 [__ASSUME_32BITUIDS]: Make code unconditional.
18582 [!__ASSUME_32BITUIDS]: Remove conditional code.
18583 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18584 <kernel-features.h>.
18585 [__ASSUME_32BITUIDS]: Make code unconditional.
18586 [!__ASSUME_32BITUIDS]: Remove conditional code.
18587 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18588 <kernel-features.h>.
18589 [__ASSUME_32BITUIDS]: Make code unconditional.
18590 [!__ASSUME_32BITUIDS]: Remove conditional code.
18591 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18592 <kernel-features.h>.
18593 [__ASSUME_32BITUIDS]: Make code unconditional.
18594 [!__ASSUME_32BITUIDS]: Remove conditional code.
18595 * sysdeps/unix/sysv/linux/kernel-features.h
18596 (__ASSUME_SETRESUID_SYSCALL): Remove.
18597 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18598 (__ASSUME_32BITUIDS): Likewise.
18599 (__ASSUME_LDT_WORKS): Likewise.
18600 (__ASSUME_O_DIRECTORY): Likewise.
18601 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18602 architecture but not kernel version.
18603 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18604 (__ASSUME_MMAP2_SYSCALL): Likewise.
18605 (__ASSUME_STAT64_SYSCALL): Likewise.
18606 (__ASSUME_IPC64): Likewise.
18607 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18608 <kernel-features.h>.
18609 [__ASSUME_32BITUIDS]: Make code unconditional.
18610 [!__ASSUME_32BITUIDS]: Remove conditional code.
18611 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18612 <kernel-features.h>.
18613 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18614 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18615 132096]: Remove conditional code.
18616 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18617 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18618 <kernel-features.h>.
18619 [__ASSUME_32BITUIDS]: Make code unconditional.
18620 [!__ASSUME_32BITUIDS]: Remove conditional code.
18621 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18622 <kernel-features.h>.
18623 [__ASSUME_32BITUIDS]: Make code unconditional.
18624 [!__ASSUME_32BITUIDS]: Remove conditional code.
18625 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18626 <kernel-features.h>.
18627 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18628 unconditional.
18629 (__setresgid): Do not declare.
18630 [__ASSUME_32BITUIDS]: Make code unconditional.
18631 [!__ASSUME_32BITUIDS]: Remove conditional code.
18632 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18633 <kernel-features.h>.
18634 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18635 unconditional.
18636 (__setresuid): Do not declare.
18637 [__ASSUME_32BITUIDS]: Make code unconditional.
18638 [!__ASSUME_32BITUIDS]: Remove conditional code.
18639 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18640 <kernel-features.h>.
18641 [__ASSUME_32BITUIDS]: Make code unconditional.
18642 [!__ASSUME_32BITUIDS]: Remove conditional code.
18643 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18644 <kernel-features.h>.
18645 [__ASSUME_32BITUIDS]: Make code unconditional.
18646 [!__ASSUME_32BITUIDS]: Remove conditional code.
18647
a386f1cc
RH
186482012-05-25 Richard Henderson <rth@twiddle.net>
18649
18650 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18651 dl_hwcap to ifunc resolver.
18652 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18653 elf_ifunc_invoke.
18654 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18655 dl_hwcap to ifunc resolver.
18656 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18657
b6550497
JM
186582012-05-24 Joseph Myers <joseph@codesourcery.com>
18659
18660 [BZ #14153]
18661 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18662 for |x| <= 2**-26, not 2**-57.
18663 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18664 exception.
18665
b0bc23a1
JL
186662012-05-24 Jeff Law <law@redhat.com>
18667
18668 * stdio-common/Makefile (tests): Add bug25.
18669 * stdio-common/bug25.c: New test.
18670
347c92e9
L
186712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18672
18673 [BZ #13576]
18674 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18675 multiple of MALLOC_ALIGNMENT in size.
18676 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18677
6bcc8b3f
JM
186782012-05-24 Joseph Myers <joseph@codesourcery.com>
18679
18680 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18681 Require >= 256.
18682 (FILENAME_MAX): Use macro-int-constant.
18683 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18684 (_IOFBF): Use macro-int-constant.
18685 (_IOLBF): Likewise.
18686 (_IONBF): Likewise.
18687 (SEEK_CUR): Likewise.
18688 (SEEK_END): Likewise.
18689 (SEEK_SET): Likewise.
18690 (TMP_MAX): Likewise.
18691 (EOF): Use macro-int-constant. Require < 0.
18692 (NULL): Use macro-constant. Require == 0.
18693 (stdin): Require type to be FILE *.
18694 (stdout): Likewise.
18695 (stderr): Likewise.
18696 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18697 macro-int-constant.
18698 (EXIT_SUCCESS): Likewise.
18699 (NULL): Use macro-constant. Require == 0.
18700 (RAND_MAX): Use macro-int-constant.
18701 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18702 [C99-based standards] (strtof): Require function.
18703 [C99-based standards] (strtold): Likewise.
18704 [C99-based standards] (strtoll): Likewise.
18705 [C99-based standards] (strtoull): Likewise.
18706 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18707 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18708 [ISO || ISO99 || ISO11] (math.h): Likewise.
18709 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18710 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18711 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18712
d18ea0c5
AS
187132012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18714
18715 [BZ #14132]
56d25bb8
AS
18716 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18717 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18718 * intl/dgettext.c (DCGETTEXT): Likewise.
18719 * intl/gettext.c (DCGETTEXT): Likewise.
18720 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18721 * posix/regex_internal.h (gettext): Likewise.
18722 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18723 Remove declaration.
18724 * include/argz.h (__argz_count_internal)
18725 (__argz_stringify_internal): Remove declaration.
18726 (__argz_count, __argz_stringify): Declare hidden proto.
18727 * intl/dcgettext.c: Remove use of INTDEF.
18728 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18729 * string/argz-stringify.c: Likewise.
18730 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18731 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18732 Declare hidden proto.
d18ea0c5
AS
18733 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18734 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18735 Declare hidden proto.
18736 * include/stdio.h (__asprintf_internal): Don't declare.
18737 (__asprintf): Don't define as macro. Declare hidden proto.
18738 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18739 (__fsetlocking): Declare hidden proto.
18740 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18741 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18742 hidden proto.
18743 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18744 (_IO_setlinebuf): Remove use of INTUSE.
18745 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18746 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18747 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18748 Remove declaration.
18749 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18750 (_IO_do_flush): Remove use of INTUSE.
18751 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18752 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18753 (_IO_adjust_column, _IO_least_wmarker)
18754 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18755 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18756 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18757 (_IO_default_doallocate, _IO_wdefault_doallocate)
18758 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18759 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18760 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18761 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18762 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18763 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18764 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18765 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18766 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18767 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18768 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18769 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18770 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18771 proto.
18772 (_IO_flush_all_internal, _IO_adjust_column_internal)
18773 (_IO_default_uflow_internal, _IO_default_finish_internal)
18774 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18775 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18776 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18777 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18778 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18779 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18780 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18781 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18782 (_IO_file_close_internal, _IO_file_close_it_internal)
18783 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18784 (_IO_file_init_internal, _IO_file_attach_internal)
18785 (_IO_file_fopen_internal, _IO_file_read_internal)
18786 (_IO_file_sync_internal, _IO_file_seek_internal)
18787 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18788 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18789 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18790 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18791 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18792 (_IO_list_all_internal, _IO_link_in_internal)
18793 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18794 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18795 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18796 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18797 (_IO_do_write_internal, _IO_padn_internal)
18798 (_IO_getline_info_internal, _IO_getline_internal)
18799 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18800 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18801 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18802 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18803 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18804 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18805 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18806 with libc_hidden_ver, remove use of INTUSE.
18807 * libio/genops.c: Likewise.
18808 * libio/freopen.c: Likewise.
18809 * libio/freopen64.c: Likewise.
18810 * libio/iofclose.c: Likewise.
18811 * libio/iofdopen.c: Likewise.
18812 * libio/iofflush.c: Likewise.
18813 * libio/iofflush_u.c: Likewise.
18814 * libio/iofgets.c: Likewise.
18815 * libio/iofgets_u.c: Likewise.
18816 * libio/iofopen.c: Likewise.
18817 * libio/iofopncook.c: Likewise.
18818 * libio/iofread.c: Likewise.
18819 * libio/iofread_u.c: Likewise.
18820 * libio/ioftell.c: Likewise.
18821 * libio/iofwrite.c: Likewise.
18822 * libio/iogetline.c: Likewise.
18823 * libio/iogets.c: Likewise.
18824 * libio/iogetwline.c: Likewise.
18825 * libio/iopadn.c: Likewise.
18826 * libio/iopopen.c: Likewise.
18827 * libio/ioseekoff.c: Likewise.
18828 * libio/ioseekpos.c: Likewise.
18829 * libio/iosetbuffer.c: Likewise.
18830 * libio/iosetvbuf.c: Likewise.
18831 * libio/ioungetc.c: Likewise.
18832 * libio/ioungetwc.c: Likewise.
18833 * libio/iovdprintf.c: Likewise.
18834 * libio/iovsprintf.c: Likewise.
18835 * libio/iovsscanf.c: Likewise.
18836 * libio/memstream.c: Likewise.
18837 * libio/obprintf.c: Likewise.
18838 * libio/oldfileops.c: Likewise.
18839 * libio/oldiofclose.c: Likewise.
18840 * libio/oldiofdopen.c: Likewise.
18841 * libio/oldiofopen.c: Likewise.
18842 * libio/oldiopopen.c: Likewise.
18843 * libio/oldstdfiles.c: Likewise.
18844 * libio/putc.c: Likewise.
18845 * libio/setbuf.c: Likewise.
18846 * libio/setlinebuf.c: Likewise.
18847 * libio/stdfiles.c: Likewise.
18848 * libio/strops.c: Likewise.
18849 * libio/vasprintf.c: Likewise.
18850 * libio/vscanf.c: Likewise.
18851 * libio/vsnprintf.c: Likewise.
18852 * libio/vswprintf.c: Likewise.
18853 * libio/wfiledoalloc.c: Likewise.
18854 * libio/wfileops.c: Likewise.
18855 * libio/wgenops.c: Likewise.
18856 * libio/wmemstream.c: Likewise.
18857 * libio/wstrops.c: Likewise.
18858 * libio/__fpurge.c: Likewise.
18859 * libio/__fsetlocking.c: Likewise.
18860 * assert/assert.c: Likewise.
18861 * debug/fgets_chk.c: Likewise.
18862 * debug/fgets_u_chk.c: Likewise.
18863 * debug/fread_chk.c: Likewise.
18864 * debug/fread_u_chk.c: Likewise.
18865 * debug/gets_chk.c: Likewise.
18866 * debug/obprintf_chk.c: Likewise.
18867 * debug/vasprintf_chk.c: Likewise.
18868 * debug/vdprintf_chk.c: Likewise.
18869 * debug/vsnprintf_chk.c: Likewise.
18870 * debug/vsprintf_chk.c: Likewise.
18871 * malloc/mtrace.c: Likewise.
18872 * misc/error.c: Likewise.
18873 * misc/syslog.c: Likewise.
18874 * stdio-common/asprintf.c: Likewise.
18875 * stdio-common/fxprintf.c: Likewise.
18876 * stdio-common/getw.c: Likewise.
18877 * stdio-common/isoc99_fscanf.c: Likewise.
18878 * stdio-common/isoc99_scanf.c: Likewise.
18879 * stdio-common/isoc99_vfscanf.c: Likewise.
18880 * stdio-common/isoc99_vscanf.c: Likewise.
18881 * stdio-common/isoc99_vsscanf.c: Likewise.
18882 * stdio-common/printf-prs.c: Likewise.
18883 * stdio-common/printf_fp.c: Likewise.
18884 * stdio-common/printf_fphex.c: Likewise.
18885 * stdio-common/printf_size.c: Likewise.
18886 * stdio-common/putw.c: Likewise.
18887 * stdio-common/scanf.c: Likewise.
18888 * stdio-common/sprintf.c: Likewise.
18889 * stdio-common/tmpfile.c: Likewise.
18890 * stdio-common/vfprintf.c: Likewise.
18891 * stdio-common/vfscanf.c: Likewise.
18892 * stdlib/strfmon_l.c: Likewise.
18893 * sunrpc/openchild.c: Likewise.
18894 * sunrpc/xdr_stdio.c: Likewise.
18895 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18896 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18897
d6c33fda
RM
188982012-05-24 Roland McGrath <roland@hack.frob.com>
18899
c1487492
RM
18900 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18901
18902 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18903 in the third column, to generate for the shared library an IFUNC
18904 that uses _dl_vdso_vsym.
18905 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18906 * Makeconfig (object-suffixes-noshared): New variable.
18907
18908 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18909 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18910 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18911 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18912
d6c33fda
RM
18913 [BZ #14132]
18914 * include/sys/time.h (__gettimeofday): Remove macro.
18915 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18916 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18917 Remove INTDEF.
18918 (__gettimeofday): Add libc_hidden_def.
18919 (gettimeofday): Add libc_hidden_weak.
18920 * sysdeps/mach/gettimeofday.c: Likewise.
18921 * sysdeps/posix/gettimeofday.c: Likewise.
18922 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18923 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18924 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18925 (__gettimeofday_internal): Remove strong_alias.
18926 (__gettimeofday): Add libc_hidden_def.
18927 (gettimeofday): Add libc_hidden_weak.
18928 * sysdeps/unix/syscalls.list (gettimeofday):
18929 Remove __gettimeofday_internal alias.
18930
b5a2bbe6
L
189312012-05-24 Daniel Jacobowitz <drow@false.org>
18932 H.J. Lu <hongjiu.lu@intel.com>
18933
18934 [BZ #12495]
18935 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18936 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18937 (largebin_index_32_big): New.
18938 (largebin_index): Use it for 16-byte alignment.
18939 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18940 correction with front_misalign.
18941
cfba4fda
L
189422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18943
7f907421
L
18944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18946 Likewise.
18947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18948 Likewise.
18949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18950 Likewise.
18951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18952 Likewise.
18953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18954 Likewise.
18955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18956 Likewise.
18957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18958 Likewise.
18959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18960 Likewise.
18961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18962 Likewise.
18963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18964 Likewise.
18965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18966 Likewise.
18967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18968 Likewise.
18969
cfba4fda
L
18970 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18971 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18972
80bad0cc
JM
189732012-05-24 Joseph Myers <joseph@codesourcery.com>
18974
7a25eb06
JM
18975 [BZ #10846]
18976 [BZ #14036]
18977 * math/libm-test.inc (exp_test): Add test from bug 14036.
18978 (pow_test): Add test from bug 10846.
18979
795405f9
JM
18980 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18981 and other flags.
18982 (special_function): Do not include flags in test name.
18983 (parse_args): Likewise.
18984 * sysdeps/i386/fpu/libm-test-ulps: Update.
18985 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18986 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18987 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18989
80bad0cc
JM
18990 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18991 exceptions.
18992 * math/libm-test.inc ("Philosophy"): Update comment about
18993 exception testing.
18994 (UNDERFLOW_EXCEPTION): New macro.
18995 (UNDERFLOW_EXCEPTION_OK): Likewise.
18996 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18997 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18998 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18999 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19000 (INVALID_EXCEPTION_OK): Update value.
19001 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19002 (OVERFLOW_EXCEPTION_OK): Likewise.
19003 (IGNORE_ZERO_INF_SIGN): Likewise.
19004 (test_exceptions): Handle underflow exceptions.
19005 (acos_test): Update for underflow exception expectations.
19006 (cexp_test): Likewise.
19007 (clog_test): Likewise.
19008 (clog10_test): Likewise.
19009 (csqrt_test): Likewise.
19010 (ctan_test): Likewise.
19011 (ctanh_test): Likewise.
19012 (exp_test): Likewise.
19013 (exp10_test): Likewise.
19014 (exp2_test): Likewise.
19015 (expm1_test): Likewise.
19016 (fma_test): Likewise.
19017 (j0_test): Likewise.
19018 (jn_test): Likewise.
19019 (nexttoward_test): Likewise.
19020 (pow_test): Likewise.
19021 (scalbn_test): Likewise.
19022 (scalbln_test): Likewise.
19023 (tan_test): Likewise.
19024 (y1_test): Likewise.
19025 * sysdeps/i386/fpu/libm-test-ulps: Update.
19026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19027
9e0e3d0b
DM
190282012-05-23 David S. Miller <davem@davemloft.net>
19029
19030 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19031 (__libc_sigaction): Remove unused local variables.
19032
ccd0a08f
L
190332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19034
19035 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19036
62bdf9a6
PE
190372012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19038
f8591f80
PE
19039 mktime: avoid signed integer overflow
19040 * time/mktime.c (__mktime_internal): Do not mishandle the case
19041 where diff == INT_MIN.
19042
94c7d826
PE
19043 mktime: simplify computation of average
19044 * time/mktime.c (ranged_convert): Use new time_t_avg function
19045 instead of rolling our own (probably-slower) code.
19046
ce73d683
PE
19047 mktime: do not assume signed right shift propagates sign bit
19048 * time/mktime.c (isdst_differ): New static function.
19049 (__mktime_internal): No need to normalize tm_isdst now.
19050 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19051 tm_isdst values.
19052
72a22e59
PE
19053 mktime: merge another wrapv change from gnulib
19054 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19055 from some compilers.
19056
68605433
PE
19057 mktime: remove incorrect attempt at unusual arithmetics
19058 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19059 The code didn't really work on such machines anyway.
19060 (TYPE_MINIMUM): Assume two's complement.
19061 (twos_complement_arithmetic): Verify that long_int and time_t
19062 are two's complement (or unsigned, in the latter case).
19063
03cf7fe3
PE
19064 mktime: check signed shifts on long_int and time_t, too
19065 * time/mktime.c (SHR): Check that shifts work as desired
19066 on the types long_int and time_t too, as SHR is used on
19067 such types.
19068
f04dfbc2
PE
19069 mktime: do not assume 'long' is wide enough
19070 * time/mktime.c (verify): Move decl up.
19071 (long_int): New type.
19072 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19073 to remove assumption in the code that 'long' is wide enough to
19074 store year values. This assumption is not true on x32 and on
19075 some non-glibc platforms.
19076
62bdf9a6
PE
19077 mktime: merge wrapv change from gnulib
19078 * time/mktime.c (WRAPV): New macro.
19079 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19080 (guess_time_tm, __mktime_internal): Do not assume that signed
19081 integer overflow wraps around; modern compilers generate code
19082 where this assumption is no longer valid.
19083
5e292e4f
L
190842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19085
19086 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19087 Replace "jmp L(pseudo_end)" with "ret".
19088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19089 Likewise.
19090
8caf8c87
AJ
190912012-05-23 Andreas Jaeger <aj@suse.de>
19092
19093 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19094 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19095
1a09dc56
AJ
190962012-05-23 Andreas Jaeger <aj@suse.de>
19097 Maximilian Attems <max@stro.at>
19098
19099 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19100 New macros.
19101
1c87aba0
L
191022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19103
19104 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19105 code so that pseudo_end is just ret and the stack pointer is
19106 correct also for static library in error case.
19107
40e45bd5
JM
191082012-05-23 Joseph Myers <joseph@codesourcery.com>
19109
c2670533
JM
19110 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19111 move to syscalls.list.
19112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19116
40e45bd5
JM
19117 * manual/install.texi (Running make install): Do not mention Linux
19118 kernel version for which pt_chown is not needed.
19119 (Linux): Do not mention problems with nscd with 2.0 kernels.
19120 * INSTALL: Regenerated.
19121
be08eda5
AJ
191222012-05-23 Andreas Jaeger <aj@suse.de>
19123
19124 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19125 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19126 macro.
19127 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19128 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19129 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19130 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19131 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19135 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19136 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19137 * sysdeps/unix/sysv/linux/bits/in.h
19138 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19139
a6a056bb
RM
191402012-05-22 Roland McGrath <roland@hack.frob.com>
19141
19142 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19143 (PREPARE_VERSION): Just use assert instead, it will be elided
19144 under [NDEBUG] anyway.
19145
c9009328
L
191462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19147
19148 * sysdeps/unix/sysv/linux/Makefile: Include
19149 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 19150 (sysdep_routines): Remove sysctl.
c9009328
L
19151 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19152 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19153 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19154 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19155 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19156
73338355
AJ
191572012-05-22 Andreas Jaeger <aj@suse.de>
19158
19159 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19160 that pseudo_end is just ret and the stack pointer is correct also
19161 for static library in error case.
19162
d44638b0
PP
191632012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19164
19165 [BZ #14122]
19166 * nss/nsswitch.c (defconfig_entries): New variable.
19167 (__nss_database_lookup): Don't leak defconfig entries.
19168 (nss_parse_service_list): Don't leak on error paths.
19169 (free_database_entries): New function.
19170 (free_defconfig): New function.
19171 (free_mem): Move common code to free_database_entries.
19172
31a39bd8
L
191732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19174
da0331a8
L
19175 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19176 Add arch_prctl.
19177 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19178
31a39bd8
L
19179 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19180 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19182 New macro.
19183 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19184 (INTERNAL_SYSCALL_TYPES): Likewise.
19185 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19186 (LOAD_REGS_TYPES_[1-6]): Likewise.
19187 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19188 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19189
45470df3
AZ
191902012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19191
19192 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19193 copysignl for GLIBC_2_0.
19194 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19195 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19197 logbl for GLIBC_2_0.
19198 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19199 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19200
98a61bcb
L
192012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19202
a4f6e481
L
19203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19204 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19205
f63d5db6
L
19206 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19207 Use "neg %eax".
19208
98a61bcb
L
19209 * time/mktime.c: Update copyright years.
19210
95770f14
PE
192112012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19212
6226efbd
PE
19213 mktime: merge comment-quoting-style change from gnulib
19214 * time/mktime.c: Quote 'like this' in comments.
19215 The GNU coding standards suggest that we no longer quote `like this',
19216 as "`" and "'" are typically rendered asymmetrically nowadays.
19217 The typical gnulib style is to quote 'like this' when quoting
19218 code, and "like this" when quoting English.
19219
b99e4f78
PE
19220 * time/mktime.c (compile-command): Add "-I.".
19221
643e01e6
PE
19222 mktime: merge mktime-internal.h change from gnulib
19223 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19224
2554247d
PE
19225 mktime: merge time_r change from gnulib
19226 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19227
826dd0ab
PE
19228 mktime: merge DEBUG change from gnulib
19229 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19230 case system <time.h> has a #define.
19231
bd83aabe
PE
19232 mktime: merge <sys/types.h> change from gnulib
19233 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19234 since <time.t> is now guaranteed to define time_t.
19235
95770f14
PE
19236 mktime: merge HAVE_CONFIG_H change from gnulib
19237 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19238
5e1a27a9
L
192392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19240
0e44a77e
L
19241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19242 Use "neg %eax".
19243
5e1a27a9
L
19244 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19245 __rlim_t cast.
19246 (struct rusage): Use anonymous union to pad each field to
19247 __syscall_slong_t.
19248
46259bec
DM
192492012-05-21 David S. Miller <davem@davemloft.net>
19250
19251 * Makefules (o-iterator): Remove .s cases.
19252 (compile-command.s): Delete.
19253 (COMPILE.s): Delete.
19254 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19255
59f0c22e
JM
192562012-05-21 Joseph Myers <joseph@codesourcery.com>
19257
19258 * configure.in (libc_cv_predef_stack_protector): Only consider
19259 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19260 * configure: Regenerated.
19261
20c07380
L
192622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19263
bbb3154b
L
19264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19265 New macro. Use R*LP on int and pointer.
19266 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
19267 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19268 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
19269 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19270
20c07380
L
19271 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19272 [__WORDSIZE_TIME64_COMPAT32] instead of
19273 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19274 (struct utmp): Likewise.
19275 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19276 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19277 Renamed to ...
19278 (__WORDSIZE_TIME64_COMPAT32): This.
19279 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19280 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19281 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19282 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19283 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19284 (__WORDSIZE_TIME64_COMPAT32): New macro.
19285
d8d1017e
AJ
192862012-05-21 Andreas Jaeger <aj@suse.de>
19287
19288 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19289 only if [SHARED]. Add prototype for __wcschr_ia32.
19290
6c7fb145
RM
192912012-05-21 Roland McGrath <roland@hack.frob.com>
19292
19293 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19294 of %rbp unmolested in the jmp_buf while mangling the low bits.
19295 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19296 unmolested high bits of %rbp while demangling the low bits.
19297 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19298
66274218
AJ
192992012-05-21 Andreas Jaeger <aj@suse.de>
19300
07c58f8f
AJ
19301 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19302 * sunrpc/svc_simple.c: Use it for registerrpc.
19303 * sunrpc/xcrypt.c: Use it for passwd2des.
19304
66274218
AJ
19305 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19306
61f65140
L
193072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19308
19309 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19310 Don't define if [__SYSCALL_WORDSIZE != 32].
19311 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19312 New macro.
19313
5fefb436
AJ
193142012-05-21 Bruno Haible <bruno@clisp.org>
19315 Andreas Jaeger <aj@suse.de>
19316
19317 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19318 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19319 inptr and inend for must_buffer_ch.
19320 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19321 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19322 * stdio-common/Makefile (tests): Remove bug15.
19323 (bug15-ENV): Remove macro.
19324 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19325 anymore.
19326
d8e272ab
AJ
193272012-05-19 Andreas Jaeger <aj@suse.de>
19328 Roland McGrath <roland@hack.frob.com>
19329
19330 * manual/contrib.texi: Completely rewritten. It contains now an
19331 alphabetical list of contributors and their contributions.
19332
4a56a162
RH
193332012-05-21 Richard Henderson <rth@twiddle.net>
19334
19335 * misc/getauxval.c (__getauxval): Use unsigned long int.
19336 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19337 (getauxval): Use unsigned long int.
19338
d024d23c
L
193392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19340
19341 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19342
cbc00a03
RM
193432012-05-21 Roland McGrath <roland@hack.frob.com>
19344
19345 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19346 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19347 __alignof__ (long double).
19348
478143fa
AZ
193492012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19350
19351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19352
c7683a6d
RH
193532012-05-20 Richard Henderson <rth@twiddle.net>
19354
19355 * misc/getauxval.c: New file.
19356 * misc/sys/auxv.h: New file.
19357 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19358 (routines): Add getauxval.
19359 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19360 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19361 * elf/dl-sysdep.c (_dl_auxv): Remove.
19362 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19363 * elf/dl-support.c (_dl_auxv): New variable.
19364 (_dl_aux_init): Initialize it.
19365 * manual/startup.texi (Auxiliary Vector): New node.
19366 * sysdeps/generic/bits/hwcap.h: New file.
19367 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19368 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19369 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19370 * sysdeps/sparc/sysdep.h: ... here. Include it.
19371 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19372 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
19373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19374 Update.
c7683a6d
RH
19375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19378 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19383
a6f1845d
AZ
193842012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19385
19386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19387
cbcbe830
DM
193882012-05-19 David S. Miller <davem@davemloft.net>
19389
19390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19391
e0b16cc2
JM
193922012-05-19 Joseph Myers <joseph@codesourcery.com>
19393
19394 [BZ #14123]
19395 * math/s_ccosh.c: Include <float.h>
19396 (__ccosh): Avoid internal overflow calculating sinh and cosh
19397 values before multiplying by sin and cos values.
19398 * math/s_ccoshf.c: Likewise.
19399 * math/s_ccoshl.c: Likewise.
19400 * math/s_csin.c: Likewise.
19401 * math/s_csinf.c: Likewise.
19402 * math/s_csinl.c: Likewise.
19403 * math/s_csinh.c: Likewise.
19404 * math/s_csinhf.c: Likewise.
19405 * math/s_csinhl.c: Likewise.
19406 * math/libm-test.inc (ccos_test): Add more tests.
19407 (ccosh_test): Likewise.
19408 (csin_test): Likewise.
19409 (csinh_test): Likewise.
19410 * sysdeps/i386/fpu/libm-test-ulps: Update.
19411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19412
6ad13e08
L
194132012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19414
f66f0ce8
L
19415 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19416 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19417
6ad13e08
L
19418 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19419
b1d072a7
JM
194202012-05-19 Joseph Myers <joseph@codesourcery.com>
19421
19422 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19423 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19424 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19425 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19426 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19427 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19428 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19429 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19430 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19431 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19432 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19433 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19434 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19435 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19436 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19437 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19438 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19439 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19440 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19441 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19442 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19443 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19444 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19445 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19446 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19447 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19448 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19449 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19450 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19451 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19452 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19453
9eae47cb
AJ
194542012-05-18 Andreas Jaeger <aj@suse.de>
19455
19456 * csu/.gitignore: Delete.
19457
bb07f69f
L
194582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19459
19460 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19461 (timex): Use __syscall_slong_t.
19462
e6bdb741
AJ
194632012-05-18 Andreas Jaeger <aj@suse.de>
19464 Carlos O'Donell <carlos_odonell@mentor.com>
19465
19466 * manual/install.texi (Configuring and compiling): Update
19467 description about files modified in the source directory.
d6c33fda 19468 * INSTALL: Regenerated.
e6bdb741 19469
1b74487e
L
194702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19471
19472 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19473 value. Use "or" to set return value to -1.
19474 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19475 negate return value.
19476
a88b64b9
TMQMF
194772012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19478
19479 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19480 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19481 failure if the compiler has Graphite support disabled.
19482 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19483 Likewise.
19484 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19485 CFLAGS-memmove.c): Likewise.
19486 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19487 Likewise.
19488
3707636e
L
194892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19490
610b8622
L
19491 * sysdeps/x86_64/x32/_itoa.h: New file.
19492
7cd195df
L
19493 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19494 getdents system call only if kernel and user dirents have the
19495 same d_ino and d_off.
19496
94b07d20
L
19497 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19498 LLONG_MAX != LONG_MAX.
19499 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19500 (_fitoa_word): Likewise.
19501
18298070
L
19502 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19503 years.
19504 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19505 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19506 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19507
553c7ea4
L
19508 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19509 include <bits/wordsize.h>. Check __x86_64__ instead of
19510 __WORDSIZE.
19511 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19512 if __x86_64__ is defined. Use anonymous union on fpstate.
19513
3707636e
L
19514 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19515 anonymous union.
19516
b53ef01a
AS
195172012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19518
37fb1dc0
AS
19519 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19520 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19521 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19522 Refer to _rtld_local_ro instead of _rtld_global_ro.
19523 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19524 Likewise.
19525 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19526 Likewise.
19527 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19528 Likewise.
19529 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19530 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19531 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19532
b53ef01a
AS
19533 * sysdeps/powerpc/powerpc32/dl-machine.c
19534 (__elf_machine_runtime_setup) [PROF]: Don't reference
19535 _dl_prof_resolve.
19536
7a185db2
AJ
195372012-05-18 Andreas Jaeger <aj@suse.de>
19538
19539 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19540 function only available for GCCs before 3.4 since GCC 3.4
19541 introduced a builtin.
19542 (lrint): Likewise.
19543 (llrintf): Likewise.
19544 (llrint): Likewise.
19545 (fmaxf): Likewise.
19546 (fmax): Likewise.
19547 (fminf): Likewise.
19548 (fmin): Likewise.
19549 (rint): Likewise.
19550 (rintf): Likewise.
19551 (nearbyint): Likewise.
19552 (nearbyintf): Likewise.
19553 (ceil): Likewise.
19554 (ceilf): Likewise.
19555 (floor): Likewise.
19556 (floorf): Likewise.
19557
3e5aef87
L
195582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19559
428bd707
L
19560 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19561 on both fields and cast pointer to __syscall_ulong_t.
19562
3e5aef87
L
19563 * bits/types.h (__fsword_t): New type.
19564 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19565 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19566 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19567 (__FSWORD_T_TYPE): Likewise.
19568 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19569 (__FSWORD_T_TYPE): Likewise.
19570 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19571 (__FSWORD_T_TYPE): Likewise.
19572 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19573 (__FSWORD_T_TYPE): Likewise.
19574 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19575 __SWORD_TYPE with __fsword_t.
19576 (statfs64): Likewise.
19577
1ba7c3dc
DM
195782012-05-17 David S. Miller <davem@davemloft.net>
19579
19580 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19581
59910343
AJ
195822012-05-17 Andreas Jaeger <aj@suse.de>
19583
19584 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19585 warning.
19586
2e4c1e9e
L
195872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19588
19589 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19590
de7f5ce7
AJ
195912012-05-17 Andreas Jaeger <aj@suse.de>
19592
19593 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19594 when it is used.
19595
286abc3d
CM
195962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19597
19598 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19599
477cc68e
L
196002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19601
19602 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19603 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19604
1a0994f5
CD
196052012-05-17 Andreas Jaeger <aj@suse.de>
19606 Carlos O'Donell <carlos_odonell@mentor.com>
19607
19608 [BZ #14059]
19609 * sysdeps/x86_64/multiarch/init-arch.h
19610 (bit_YMM_Usable): Rename to...
19611 (bit_AVX_Usable): ... this.
19612 (bit_FMA4_Usable): New macro.
19613 (bit_XMM_state): New macro.
19614 (bit_YMM_state): New macro.
19615 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19616 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19617 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19618 (CPUID_OSXSAVE): New macro.
19619 (CPUID_AVX): New macro.
19620 (CPUID_FMA4): New macro.
19621 (index_YMM_Usable): Rename to...
19622 (index_AVX_Usable): ... this.
19623 (HAS_AVX): Use HAS_ARCH_FEATURE.
19624 (HAS_FMA4): Likewise.
19625 (HAS_YMM_USABLE): Remove.
19626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19627 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19628 are present.
19629 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19630 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19631 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19632 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19633 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19634
0af797de
CM
196352012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19636
19637 * math/libm-test.c: Support platforms without multiple rounding modes.
19638 * math/bug-nextafter.c: Support platforms without FP exceptions.
19639 * math/bug-nexttoward.c: Likewise.
19640 * math/test-fenv.c: Likewise.
19641 * math/test-misc.c: Likewise.
19642 * stdlib/bug-getcontext.c: Likewise.
19643
e39745ff
AJ
196442012-05-17 Andreas Jaeger <aj@suse.de>
19645
19646 * manual/examples/search.c (critter_cmp): Change signature to
19647 avoid warnings.
19648 * manual/string.texi (Collation Functions): Likewise.
19649
48970aba
L
196502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19651
19652 * bits/types.h: Fold copyright years.
19653 * bits/typesizes.h: Likewise.
19654 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19655 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19656 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19657 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19658 * time/time.h: Likewise.
19659
bedee953
PP
196602012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19661
19662 [BZ #208]
19663 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19664 in instead of returning them. Return void.
19665 (__libc_mallinfo): Accumulate over all arenas.
19666 (__malloc_stats): Adjust for change in int_mallinfo interface.
19667
61653dfb
RM
196682012-05-16 Roland McGrath <roland@hack.frob.com>
19669
30b99d79
RM
19670 [BZ #10375]
19671 * configure.in (NM): Add AC_CHECK_TOOL for it.
19672 (libc_extra_cflags): New substituted variable.
19673 Check for -fstack-protector being used implicitly.
19674 * configure: Regenerated.
19675 * config.make.in (config-extra-cflags): New variable,
19676 gets @libc_extra_cflags@.
19677 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19678
61653dfb
RM
19679 [BZ #10375]
19680 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19681 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19682 * configure: Regenerated.
19683 * config.make.in (CPPUNDEFS): New substituted variable.
19684 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19685 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19686 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19687
661768bb
L
196882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19689
19690 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19691 (mq_attr): Use __syscall_slong_t.
19692
d4261567
L
196932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19694
19695 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19696 Check __x86_64__ instead of __WORDSIZE.
19697 (_STAT_VER_LINUX): Likewise.
19698 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19699 __syscall_ulong_t and __syscall_slong_t.
19700 (stat64): Likewise.
19701
cf3ff365
L
197022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19703
19704 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19705
76cf3e4d
L
197062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19707
19708 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19709
a637753a
L
197102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19711
19712 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19713 __syscall_ulong_t.
19714
d5e05119
L
19715 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19716 include <bits/wordsize.h>. Check __x86_64__ instead of
19717 __WORDSIZE.
19718 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19719 defined.
19720 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19721
f62ee380
L
19722 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19723 include <bits/wordsize.h>. Check __x86_64__ instead of
19724 __WORDSIZE.
19725 (user_regs_struct): Use "__extension__ unsigned long long"
19726 instead of "unsigned long" if __x86_64__ is defined.
19727 (user): Likewise. Pad after pointer field if __ILP32__ is
19728 defined.
19729
4e124ced
JM
197302012-05-16 Joseph Myers <joseph@codesourcery.com>
19731
6a3951a0
JM
19732 * configure.in (makeinfo): Require version 4.5 or later. Allow
19733 versions 5 to 9.
19734 * configure: Regenerated.
19735 * manual/install.texi (texinfo): Increase version requirement to
19736 4.5 or later.
19737 * INSTALL: Regenerated.
19738
4e124ced
JM
19739 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19740
953ca31a
L
197412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19742
19743 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19744
617aca05
L
19745 * sysdeps/x86_64/x32/ffs.c: New file.
19746
5762f7ae
L
19747 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19748 __syscall_ulong_t.
19749 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19750 defined. Use __syscall_ulong_t.
19751 (shminfo): Use __syscall_ulong_t.
19752 (shm_info): Likewise.
19753
a26b6856
L
19754 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19755 __syscall_ulong_t.
19756
cb2b9ef7
L
19757 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19758 <bits/wordsize.h>.
19759 (msgqnum_t): Use __syscall_ulong_t.
19760 (msglen_t): Likewise.
19761 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19762 __syscall_ulong_t.
19763
34683bb0
L
19764 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19765 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19766
84a68786
L
19767 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19768
48baa5f1
L
19769 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19770 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19771
180be88b
L
19772 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19773 __syscall_slong_t.
19774
5e90c8ad
L
19775 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19776 include <bits/wordsize.h>. Check __x86_64__ instead of
19777 __WORDSIZE.
19778
23dfb58b
L
19779 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19780 "unsigned long long int" if __x86_64__ is defined.
19781 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19782
ce5d54b0
L
19783 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19784 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19785 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19786
13dc9eac
L
19787 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19788 <stdint.h>.
19789 (GET_PC): Cast to uintptr_t first.
19790 (GET_FRAME): Likewise.
19791 (GET_STACK): Likewise.
19792
a7895d15
L
19793 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19794 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19795 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19796 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19797 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19798 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19799 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19800 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19801 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19802 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19803 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19804 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19805 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19806 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19807 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19808 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19809 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19810 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19811 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19812 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19813 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19814 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19815 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19816 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19817 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19818 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19819 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19820 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19821 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19822
656416c9
AS
198232012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19824
5bd66283
AS
19825 * Makerules (+depfiles): Also collect depfiles from .oS in
19826 $(extra-objs).
19827 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19828 .oS, $(libnldbl-routines)).
19829
656416c9
AS
19830 * Makerules (native-compile-mkdep-flags): Define.
19831 * sunrpc/Makefile (extra-objs): Add $(addprefix
19832 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19833 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19834 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19835 calling $(make-target-directory).
19836
a46f2169
L
198372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19838
19839 * bits/types.h (__snseconds_t): Removed.
19840 * time/time.h (struct timespec): Replace __snseconds_t with
19841 __syscall_slong_t.
19842 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19843 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19844 Likewise.
19845 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19846 (__SNSECONDS_T_TYPE): Likewise.
19847 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19848 (__SNSECONDS_T_TYPE): Likewise.
19849 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19850 (__SNSECONDS_T_TYPE): Likewise.
19851
6af6528b
L
198522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19853
19854 * sysdeps/mach/hurd/bits/typesizes.h
19855 (__SYSCALL_SLONG_TYPE): New macro.
19856 (__SYSCALL_ULONG_TYPE): Likewise.
19857
de986b56
L
198582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19859
19860 * bits/types.h (__syscall_slong_t): New type.
19861 (__syscall_ulong_t): Likewise.
19862
19863 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19864 (__SYSCALL_ULONG_TYPE): Likewise.
19865 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19866 (__SYSCALL_SLONG_TYPE): Likewise.
19867 (__SYSCALL_ULONG_TYPE): Likewise.
19868 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19869 (__SYSCALL_SLONG_TYPE): Likewise.
19870 (__SYSCALL_ULONG_TYPE): Likewise.
19871 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19872 (__SYSCALL_SLONG_TYPE): Likewise.
19873 (__SYSCALL_ULONG_TYPE): Likewise.
19874
85736dc7
L
198752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19876
19877 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19878 Add sigaltstack-offsets.sym.
19879 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19880 <sigaltstack-offsets.h>.
19881 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19882 longjmp_msg pointer.
19883 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19884 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19885 signal stack.
19886 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19887
cc03b296
JM
198882012-05-15 Joseph Myers <joseph@codesourcery.com>
19889
a9538892
JM
19890 * elf/stackguard-macros.h: Remove file.
19891 * sysdeps/generic/stackguard-macros.h: New file.
19892 * sysdeps/i386/stackguard-macros.h: Likewise.
19893 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19894 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19895 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19896 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19897 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19898 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19899 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19900 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19901 <elf/stackguard-macros.h>.
19902
cc03b296
JM
19903 [BZ #14109]
19904 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19905 __aligned__ in attribute.
19906 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19907 (gregset_t): Likewise.
19908
93171016
L
199092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19910
19911 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19912 * sysdeps/x86_64/64/Implies-after: Here. New file.
19913 * sysdeps/x86_64/x32/Implies-after: New file.
19914
d86813a0
L
199152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19916
19917 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19918 and access return value for _dl_profile_fixup. Use R10_LP to
19919 load frame size.
19920
2953ec75
L
199212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19922
19923 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19924
3b550e9e
L
199252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19926
19927 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19928 * sysdeps/x86_64/x32/sysdep.h: New file.
19929
eda41706
L
199302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19931
19932 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19933 * sysdeps/x86_64/setjmp.S: Likewise.
19934
9ea01d93
AZ
199352012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19936
19937 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19938 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19939 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19940 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19941 remove unused global constant.
19942
02a91938
CM
199432012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19944
19945 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19946 include of <not-cancel.h>.
19947
6540185f
RM
199482012-05-15 Roland McGrath <roland@hack.frob.com>
19949
19950 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19951
509072a0
AJ
199522012-05-15 Jeff Law <law@redhat.com>
19953 Andreas Jaeger <aj@suse.de>
19954
19955 [BZ #13594]
19956 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19957 out from...
19958 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19959 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19960 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19961 code changing __hst_map_handle.map.
19962
ba75122d
RM
199632012-05-15 Roland McGrath <roland@hack.frob.com>
19964
19965 * configure.in (sysnames): Look for Implies-before and Implies-after
19966 files.
19967 * configure: Regenerated.
19968
890d8bd8
L
199692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19970
19971 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19972 8-byte data alignment with LP_SIZE alignment.
19973
f6ee6623
L
199742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19975
19976 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19977 into R10_LP.
19978
ea2626f6
L
199792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19980
19981 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19982
085f715e
L
199832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19984
19985 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19986 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19987 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19988 Likewise.
19989 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19990
be8498fc
L
199912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19992
19993 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19994 (stackinfo_sub_sp): Likewise.
19995
70bc83b9
L
199962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19997
19998 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19999 RAX_LP.
20000
9bc0b730
L
200012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20002
20003 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20004 into R*_LP.
20005
6d2850e7
L
200062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20007
20008 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20009 sizes into R*_LP.
20010
3cb84561
L
200112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20012
20013 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20014
54e2ed81
L
200152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20016
20017 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20018 into R11_LP and load __x86_64_shared_cache_size_half into
20019 R8_LP.
20020
8a17f349
L
200212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20022
20023 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20024 R8_LP.
20025
777b1eea
AZ
200262012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20027
20028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20029 logb for POWER7.
20030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20031 logbf for POWER7.
20032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20033 logbl for POWER7.
20034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20035 powerpc32/power7/fpu/s_logb.c via #include.
20036 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20037 powerpc32/power7/fpu/s_logbf.c via #include.
20038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20039 powerpc32/power7/fpu/s_logbl.c via #include.
20040
d20d4ac2
JM
200412012-05-15 Joseph Myers <joseph@codesourcery.com>
20042
20043 * README.libm: Remove file.
20044
6cdef1ab
L
200452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20046
20047 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20048 count for x32. Use R*_LP and omit operand-size suffix.
20049
0b254d8f
L
200502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20051
20052 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20053 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20054 * sysdeps/x86_64/x32/shlib-versions: New file.
20055
ceb809dc
RM
200562012-05-14 Roland McGrath <roland@hack.frob.com>
20057
20058 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20059 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20060 Use _dl_fatal_printf instead.
20061
37f1abd4
JM
200622012-05-14 Joseph Myers <joseph@codesourcery.com>
20063
20064 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20065 set if not set by the user. Do not allow for being unset.
20066 * sysdeps/unix/sysv/linux/configure: Regenerated.
20067
11de3a33
L
200682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20069
20070 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20071 the `q' suffix from lea and replace .quad with ASM_ADDR.
20072
e02f153a
L
200732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20074
20075 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20076 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20077 instead of $17.
20078 (PTR_DEMANGLE): Likewise.
20079
520ae0fd
L
200802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20081
20082 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20083 (LP_OP): Likewise.
20084 (ASM_ADDR): Likewise.
20085 (RAX_LP): Likewise.
20086 (RBP_LP): Likewise.
20087 (RBX_LP): Likewise.
20088 (RCX_LP): Likewise.
20089 (RDI_LP): Likewise.
20090 (RSI_LP): Likewise.
20091 (RSP_LP): Likewise.
20092 (R8_LP): Likewise.
20093 (R9_LP): Likewise.
20094 (R10_LP): Likewise.
20095 (R10_LP): Likewise.
20096 (R11_LP): Likewise.
20097 (R12_LP): Likewise.
20098 (R13_LP): Likewise.
20099 (R14_LP): Likewise.
20100 (R15_LP): Likewise.
20101
b985be81
L
201022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20103
20104 * sysdeps/x86_64/x32/dl-machine.h: New file.
20105
6a4888ff
AJ
201062012-05-14 Andreas Jaeger <aj@suse.de>
20107
20108 * manual/Makefile (subdir): Remove export of subdir.
20109 (all): Remove target.
20110 (.PHONY): Remove all from list.
20111 (mkinstalldirs): Remove.
20112 (.PHONY): Remove installdirs from list.
20113 ($(inst_infodir)/libc.info): Use make-target-directory.
20114 (installdirs): Remove.
20115 (subdir_%): Remove.
20116 (glibc-targets): Remove.
20117 (lib): Remove.
20118 (stubs): Remove.
20119 ($(objpfx)stubs ../po/manual.pot): Remove.
20120 ($(objpfx)stamp%): Remove.
20121 (make-target-directory): Remove.
20122 (subdir_install): Remove.
20123 (routines): Remove.
20124 (aux): Remove.
20125 (sources): Remove.
20126 (objects): Remove.
20127 (headers): Remove.
20128
20129 [BZ #13750]
20130 * manual/.gitignore: Remove, it's not needed anymore.
20131 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20132 all files in it.
20133 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20134 directory.
20135 (texis): Renamed to $(objpfx)texis.
20136 (texis-path): New, contains path to generated files.
20137 (chapters.%): Use texis-path for complete path, add extra argument
20138 libc-texinfo.sh.
20139 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20140 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20141 (summary,texi, stamp-summary): Use complete path of
20142 files. Generate files in build dir.
20143 (dir-add.texi): Build in build dir.
20144 (libm-err.texi,stamp-libm-err): Likewise.
20145 (version.texi, stamp-version): Likewise.
20146 (.%c.texi): Likewise.
20147 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20148 (mostlyclean): Remove target.
20149 (realclean): Remove target.
20150 (generated): Add new variable with contents from mostlyclean and
20151 realclean, remove entries duplicated in common-mostlyclean, add
20152 stamp-libm-err and stamp-version.
20153 (generated-dirs): Add libc directory.
20154 ($(inst_infodir)/libc.info): Install files from build dir.
20155
20156 * manual/install.texi (Configuring and compiling): Adjust since
20157 the info files are not part of the tar ball anymore.
20158
7ac77294
AJ
201592012-05-14 Andreas Jaeger <aj@suse.de>
20160
20161 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20162 variable.
20163
ffb7875d
JM
201642012-05-14 Joseph Myers <joseph@codesourcery.com>
20165
20166 [BZ #13717]
20167 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20168 to 2.2.0 where earlier.
20169 * sysdeps/unix/sysv/linux/configure: Regenerated.
20170 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20171 Remove conditional code.
20172 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20173 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20174 Remove conditional code.
20175 [!__NR_lchown]: Likewise.
20176 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20177 [__NR_lchown]: Likewise.
20178 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20179 comment referencing __ASSUME_LCHOWN_SYSCALL.
20180 * sysdeps/unix/sysv/linux/i386/sigaction.c
20181 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20182 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20183 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20184 Remove conditional code.
20185 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20186 (__protocol_available): Remove #if 0 code.
20187 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20188 conditional code.
20189 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20190 * sysdeps/unix/sysv/linux/kernel-features.h
20191 (__ASSUME_GETCWD_SYSCALL): Don't define.
20192 (__ASSUME_REALTIME_SIGNALS): Likewise.
20193 (__ASSUME_PREAD_SYSCALL): Likewise.
20194 (__ASSUME_PWRITE_SYSCALL): Likewise.
20195 (__ASSUME_POLL_SYSCALL): Likewise.
20196 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20197 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20198 non-SPARC.
20199 (__ASSUME_SIOCGIFNAME): Don't define.
20200 (__ASSUME_MSG_NOSIGNAL): Likewise.
20201 (__ASSUME_SENDFILE): Define unconditionally.
20202 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20203 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20204 conditional code.
20205 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20206 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20207 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20208 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20209 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20210 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20211 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20213 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20216 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20217 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20219 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20222 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20223 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20225 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20226 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20228 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20229 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20231 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20232 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20234 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20236 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20237 Remove conditional code.
20238 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20239 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20240 Remove conditional code.
20241 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20242 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20243 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20244 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20245 Remove conditional code.
20246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20247 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20248 Remove conditional code.
20249 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20250 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20251 Remove conditional code.
20252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20253 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20254 Remove conditional code.
20255 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20256 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20257 Remove conditional code.
20258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20259 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20260 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20262 * sysdeps/unix/sysv/linux/sigaction.c
20263 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20264 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20265 * sysdeps/unix/sysv/linux/sigpending.c
20266 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20267 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20268 * sysdeps/unix/sysv/linux/sigprocmask.c
20269 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20270 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20271 * sysdeps/unix/sysv/linux/sigsuspend.c
20272 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20273 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20274 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20275 (__libc_missing_rt_sigs): Remove.
20276 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20277 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20278 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20279 Remove conditional code.
20280 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20281 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20282 return 1.
20283 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20284 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20285 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20286 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20287
1bfb7291
AJ
202882012-05-14 Andreas Jaeger <aj@suse.de>
20289
caae5a81
AJ
20290 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20291 it's not used in glibc.
20292 (__coshm1): Likewise.
20293 (__acosh1p): Likewise.
20294 (__sgn): Likewise.
20295
1bfb7291
AJ
20296 * manual/string.texi (Copying and Concatenation): Add missing
20297 variable in concat example.
20298 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20299
c044d724
L
203002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20301
144c5467 20302 [BZ #14103]
c044d724
L
20303 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20304 __builtin_clzl with __builtin_clzll.
20305
2523c62b
L
203062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20307
20308 [BZ #14104]
20309 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20310 libc_freeres_ptr.
20311
d7bb4c42
LD
203122012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20313
20314 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20315 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20316 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20317 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20318
9dc4e1fb
MF
203192012-05-14 Mike Frysinger <vapier@gentoo.org>
20320
20321 * NEWS: Update ia64 info.
20322
c7df0112
AS
203232012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20324
20325 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20326 used as bcopy.
20327
dc70356c
TS
203282012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20329
20330 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20331 * sysdeps/unix/syscalls.list (dup3): Likewise.
20332 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20333 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20334
9fb1a21f
L
203352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20336
20337 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20338 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20339
4822a2a5
L
203402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20341
20342 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20343 thread pointer.
20344 (TLS_IE): Use mov/add instead of movq/addq to load thread
20345 pointer.
20346 (TLS_GD_PREFIX): New.
20347 (TLS_GD): Use it.
20348
842b81d6
DM
203492012-05-11 David S. Miller <davem@davemloft.net>
20350
20351 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20352 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20353 (_FPU_SETCW): Likewise.
20354
1cf463cd
L
203552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20356
20357 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20358 is 32-byte aligned.
20359
60cc4a18
AS
203602012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20361
20362 [BZ #11837]
20363 * iconvdata/gb18030.c: Update tables.
20364 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20365 characters specially.
20366 (BODY for TO_LOOP): Add encoding of missing ranges.
20367
febb44a4
TS
203682012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20369
20370 [BZ #13673]
20371 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20372 * sysdeps/mach/hurd/dup3.c: Likewise.
20373 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20374 * sysdeps/powerpc/memmove.c:: Likewise.
20375
0a10fb9e
L
203762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20377
20378 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20379 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20380
df8a552f
L
203812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20382
20383 * elf/elf.h (R_X86_64_RELATIVE64): New.
20384 (R_X86_64_NUM): Updated.
20385 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20386 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20387 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20388 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20389 tst-quad1pie tst-quad2pie
20390 (modules-names): Add tst-quadmod1 tst-quadmod2.
20391 ($(objpfx)tst-quad1): New dependency.
20392 ($(objpfx)tst-quad2): Likewise.
20393 ($(objpfx)tst-quad1pie): Likewise.
20394 ($(objpfx)tst-quad2pie): Likewise.
20395 * sysdeps/x86_64/tst-quad1.c: New file.
20396 * sysdeps/x86_64/tst-quad1pie.c: New file.
20397 * sysdeps/x86_64/tst-quad2.c: Likewise.
20398 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20399 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20400 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20401 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20402 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20403
f34d6f84
ST
204042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20405
f42d41d1
ST
20406 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20407 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20408 * streams/stropts.h (t_scalar_t): Define type.
20409
3c3571fc
ST
20410 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20411 (_PATH_PRESERVE): Set to "/var/lib".
20412 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20413
61f06bd3
ST
20414 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20415 instead of int.
20416
918d4d71
ST
20417 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20418 if __dir_mkfile succeeded.
20419
f34d6f84
ST
20420 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20421 checking for _hurd_dtablesize. Unlock it right after having
20422 finished _hurd_dtable allocation.
20423
10589b4a
TS
204242012-05-10 Thomas Schwinge <thomas@schwinge.name>
20425
674cdbc7
TS
20426 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20427 * sysdeps/mach/hurd/configure: Regenerated.
20428 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20429 special-casing to...
20430 * sysdeps/gnu/configure.in: ... this new file.
20431 * sysdeps/unix/sysv/linux/configure: Regenerated.
20432 * sysdeps/gnu/configure: New generated file.
20433
8e41b99f
TS
20434 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20435 for Linux: use nsec instead of usec, as well as:
20436 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20437 members of type struct timespec.
20438 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20439 New macros.
20440 (struct stat64): Likewise.
20441 (_STATBUF_ST_NSEC): New macro.
20442 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20443
10589b4a
TS
20444 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20445 __strtoul_internal rather than strtoul.
20446
63643c85
PT
204472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20448
20449 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20450 and reject them.
20451
3faebe6a
ST
204522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20453
20454 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20455 which preserves existing values.
20456 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20457
c6474b07
PT
204582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20459
20460 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20461 TIMEOUT values. Return EINVAL for NFDS values either negative or
20462 greater than FD_SETSIZE.
20463
1043890b
ST
204642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20465
20466 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20467 allocated, call __vm_protect to finish enabling the existing space, and
20468 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20469 allocate the remainder.
20470
37ed8b9b
PT
204712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20472
20473 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20474 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20475
db653660
ST
204762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20477
37ed8b9b
PT
20478 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20479 sysdeps/mach/hurd/readlink.c.
b29d4053 20480
db653660
ST
20481 * posix/tst-sysconf.c (posix_options): Only use
20482 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20483 _POSIX_SYNCHRONIZED_IO when they are defined
20484 * sysdeps/mach/hurd/bits/posix_opt.h:
20485 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20486 (_XOPEN_REALTIME): Undefine macro.
20487 (_XOPEN_REALTIME_THREADS): Undefine macro.
20488 (_XOPEN_SHM): Undefine macro.
20489 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20490 macro to -1.
20491 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20492 macro to -1.
20493 (_POSIX_ASYNC_IO): Undefine macro.
20494 (_POSIX_PRIORITIZED_IO): Undefine macro.
20495 (_POSIX_SPIN_LOCKS): Define macro to -1.
20496
ee16e894
ST
20497 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20498 SA_NODEFER, SA_RESETHAND.
20499 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20500 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20501 F_DUPFD_CLOEXEC.
20502
6103ae3b
TS
205032012-05-10 Thomas Schwinge <thomas@schwinge.name>
20504
20505 * elf/Makefile (pldd-modules): Define unconditionally.
20506
80b4e5f3
TS
205072012-05-10 Thomas Schwinge <thomas@schwinge.name>
20508
20509 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20510
edadcbd6
ST
205112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20512
20513 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20514 Return ENOENT when name is empty.
20515 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20516
80694780
TS
205172012-05-10 Thomas Schwinge <thomas@schwinge.name>
20518
1792c087
TS
20519 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20520
80694780
TS
20521 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20522
6b645f0d
ST
205232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20524
80694780
TS
20525 Fix mlock in all cases except non-readable pages.
20526 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20527 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 20528
6b645f0d
ST
20529 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20530 (__mkdir): When path is `/', just fail with EEXIST.
20531 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20532
e468f8a3
TS
205332012-05-10 Thomas Schwinge <thomas@schwinge.name>
20534
20535 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20536 <sys/uio.h> (for writev).
20537 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20538 and <sys/param.h> (for MIN).
20539
a4186cff
PT
205402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20541
20542 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20543 REQUESTED_TIME. Properly set the remaining time and return EINTR
20544 if interrupted.
20545
510bbf14
TS
205462012-05-10 Thomas Schwinge <thomas@schwinge.name>
20547
20548 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20549 Depend on against $(link-rpcuserlibs).
20550
5d5722e8
ST
205512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20552
a4186cff
PT
20553 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20554 (__libc_stack_end): Do not use attribute_relro.
20555 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20556 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 20557 to libthread-provided value.
a4186cff
PT
20558 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20559 attribute_relro.
5d5722e8 20560
37233df9
TS
205612012-05-10 Thomas Schwinge <thomas@schwinge.name>
20562
be971a2b
TS
20563 [BZ #3748]
20564 * bits/libc-lock.h (__libc_once_get): New macro.
20565 * sysdeps/mach/bits/libc-lock.h: Likewise.
20566 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20567 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20568 instead of using implementation details.
20569
37233df9
TS
20570 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20571 * libio/freopen.c: Likewise.
20572 * libio/freopen64.c: Likewise.
20573 * misc/syslog.c: Likewise.
20574 * nscd/connections.c: Likewise.
20575 * nscd/netgroupcache.c: Likewise.
20576 * sysdeps/posix/getcwd.c: Likewise.
20577
38de94a5
RM
205782012-05-10 Roland McGrath <roland@hack.frob.com>
20579
20580 * math/w_ilogbf.c: Add #include <limits.h>.
20581
67530489
ST
205822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20583
a4186cff 20584 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
20585 path instead of returning without unlocking.
20586
67530489
ST
20587 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20588 immediate-write ioctls.
20589 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20590
5aa3a74a
TS
205912012-05-10 Thomas Schwinge <thomas@schwinge.name>
20592
18bad2ae
TS
20593 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20594 __builtin_frame_address instead of making assumptions about the
20595 location of the return address relative to DATA. Force early load of
20596 the return address.
20597 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20598 __builtin_frame_address.
20599
5aa3a74a
TS
20600 dup3 for GNU Hurd.
20601 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20602 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20603 implement dup3 and do some further code clean-ups.
20604 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20605 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20606
ecd0de9a
ST
206072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20608
cd9fa985
ST
20609 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20610
a4186cff
PT
20611 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20612 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20613 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20614 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20615 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20616 d->port.lock.
802ca5a5 20617
a4186cff
PT
20618 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20619 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20620 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 20621
bcf55240
TS
206222012-05-10 Thomas Schwinge <thomas@schwinge.name>
20623
6960eb42
TS
20624 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20625 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20626 definitions.
20627
eb43375f
TS
20628 accept4 for GNU Hurd.
20629 * include/sys/socket.h (__libc_accept4): New prototype.
20630 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20631 to implement __libc_accept4.
20632 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20633 __libc_accept4.
20634 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20635
bcf55240
TS
20636 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20637 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20638 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20639 signal-defines.sym.
20640
6178c55b
ST
206412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20642
a4186cff 20643 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 20644
6f080c2f
TS
206452012-05-10 Thomas Schwinge <thomas@schwinge.name>
20646
20647 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20648 assertion on O_CLOEXEC flag.
20649 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20650 * hurd/intern-fd.c: Likewise.
20651 * hurd/port2fd.c: Likewise.
20652
bcfe3a54
ST
206532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20654
20655 [BZ #3906]
20656 * bits/in.h (IPV6_PKTINFO): Define new macro.
20657 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20658
89c9aa49
AZ
206592012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20660
20661 [BZ #13954]
20662 [BZ #13955]
20663 [BZ #13956]
20664 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20665 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20666 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20667 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20668 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20669 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20670 * math/libm-test.inc (logb_test) : Additional logb tests.
20671
021db4be
AJ
206722012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20673 Andreas Jaeger <aj@suse.de>
20674
20675 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20676 * configure: Regenerated.
20677 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20678 * config.make.in (link-obsolete-rpc): New substituted variable.
20679 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20680 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20681 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20682 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20683 so that libc.a contains the symbols.
20684 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20685 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20686 * sunrpc/auth_none.c: Likewise.
20687 * sunrpc/auth_unix.c: Likewise.
20688 * sunrpc/authdes_prot.c: Likewise.
20689 * sunrpc/authuxprot.c: Likewise.
20690 * sunrpc/clnt_gen.c: Likewise.
20691 * sunrpc/clnt_perr.c: Likewise.
20692 * sunrpc/clnt_raw.c: Likewise.
20693 * sunrpc/clnt_simp.c: Likewise.
20694 * sunrpc/clnt_tcp.c: Likewise.
20695 * sunrpc/clnt_udp.c: Likewise.
20696 * sunrpc/clnt_unix.c: Likewise.
20697 * sunrpc/des_crypt.c: Likewise.
20698 * sunrpc/des_soft.c: Likewise.
20699 * sunrpc/get_myaddr.c: Likewise.
20700 * sunrpc/key_call.c: Likewise.
20701 * sunrpc/key_prot.c: Likewise.
20702 * sunrpc/netname.c: Likewise.
20703 * sunrpc/pm_getmaps.c: Likewise.
20704 * sunrpc/pm_getport.c: Likewise.
20705 * sunrpc/pmap_clnt.c: Likewise.
20706 * sunrpc/pmap_prot.c: Likewise.
20707 * sunrpc/pmap_prot2.c: Likewise.
20708 * sunrpc/pmap_rmt.c: Likewise.
20709 * sunrpc/publickey.c: Likewise.
20710 * sunrpc/rpc_cmsg.c: Likewise.
20711 * sunrpc/rpc_common.c: Likewise.
20712 * sunrpc/rpc_dtable.c: Likewise.
20713 * sunrpc/rpc_prot.c: Likewise.
20714 * sunrpc/rpc_thread.c: Likewise.
20715 * sunrpc/rtime.c: Likewise.
20716 * sunrpc/svc.c: Likewise.
20717 * sunrpc/svc_auth.c: Likewise.
20718 * sunrpc/svc_raw.c: Likewise.
20719 * sunrpc/svc_run.c: Likewise.
20720 * sunrpc/svc_tcp.c: Likewise.
20721 * sunrpc/svc_udp.c: Likewise.
20722 * sunrpc/svc_unix.c: Likewise.
20723 * sunrpc/svcauth_des.c: Likewise.
20724 * sunrpc/xcrypt.c: Likewise.
20725 * sunrpc/xdr.c: Likewise.
20726 * sunrpc/xdr_array.c: Likewise.
20727 * sunrpc/xdr_float.c: Likewise.
20728 * sunrpc/xdr_intXX_t.c: Likewise.
20729 * sunrpc/xdr_mem.c: Likewise.
20730 * sunrpc/xdr_rec.c: Likewise.
20731 * sunrpc/xdr_ref.c: Likewise.
20732 * sunrpc/xdr_sizeof.c: Likewise.
20733 * sunrpc/xdr_stdio.c: Likewise.
20734
b5c086a2
RM
207352012-05-10 Roland McGrath <roland@hack.frob.com>
20736
20737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20738 change. Update copyright years.
20739
6d74dd09
JM
207402012-05-10 Joseph Myers <joseph@codesourcery.com>
20741
20742 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20743
28e72501
MK
207442012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20745 Joseph Myers <joseph@codesourcery.com>
20746 Paul Pluzhnikov <ppluzhnikov@google.com>
20747
20748 [BZ #14012]
20749 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20750 requiring rpcgen.
20751 [cross-compiling] (extra-libs): Likewise.
20752 [cross-compiling] (extra-libs-others): Likewise.
20753 [cross-compiling] (librpcsvc-routines): Likewise.
20754 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20755 [cross-compiling] (omit-deps): Likewise.
20756 (sunrpc-CPPFLAGS): New variable.
20757 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20758 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20759 (cross-rpcgen-objs): New variable.
20760 (extra-objs): Append $(cross-rpcgen-objs).
20761 ($(cross-rpcgen-objs)): New rule.
20762 ($(objpfx)cross-rpcgen): Likewise.
20763 (rpcgen-cmd): Define to use $(built-program-file). Expand
20764 comment.
20765 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20766 ($(objpfx)x%.stmp): Likewise.
20767 * sunrpc/proto.h [IS_IN_build] (_): Define.
20768 [IS_IN_build] (_libc_intl_domainname): Likewise.
20769
c8c59454
L
207702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20771
20772 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20773 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20774 and R_X86_64_TPOFF64.
20775
6f27cd16
JM
207762012-05-10 Joseph Myers <joseph@codesourcery.com>
20777
20778 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20779 sysdeps/unix/sysv/syscalls.list.
20780 (stime): Likewise.
20781 (utime): Likewise.
20782 * sysdeps/unix/sysv/syscalls.list: Remove file.
20783
02467e1c
PE
207842012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20785
20786 [BZ #3440]
20787 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20788 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20789 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20790 (__LC_IDENTIFICATION): Make these macros useful in #if
20791 expressions, as required by C99.
20792
da392631
AS
207932012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20794
20795 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20796 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20797 after this.
20798
8115f29b
L
207992012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20800
20801 * stdlib/longlong.h: Updated from GCC.
20802
bdd74070
AJ
208032012-05-09 Andreas Jaeger <aj@suse.de>
20804
edfe0dbe
AJ
20805 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20806 default is first entry.
20807 (run_mode): Set type.
20808 (main): Remove informal message about syslog.
20809 (options): Fix typo.
20810
bcfe3a54
ST
20811 [BZ #14053]
20812 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20813 to asm.
bcfe3a54
ST
20814 (lrint): Likewise.
20815 (llrintf): Likewise.
20816 (llrint): Likewise.
20817 (rint): Likewise.
20818 (rintf): Likewise.
20819 (nearbyint): Likewise.
20820 (nearbyintf): Likewise.
bdd74070 20821
91d8d69e
AJ
208222012-05-09 Andreas Jaeger <aj@suse.de>
20823 Pedro Alves <palves@redhat.com>
20824
20825 * nscd/nscd.c (run_mode): Use enum.
20826 (main): Cleanup coding style issue.
20827
bb90b80b
AJ
208282012-05-09 Alexandre Oliva <aoliva@redhat.com>
20829 Andreas Jaeger <aj@suse.de>
20830
bcfe3a54
ST
20831 * nscd/nscd.c (go_background): Replaced with...
20832 (run_mode): ... this.
bb90b80b 20833 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20834 (options): Add -F --foreground.
20835 (main): Implement it.
20836 (parse_opt): Parse it.
bb90b80b 20837
1a4b75a1
AJ
208382012-05-09 Andreas Jaeger <aj@suse.de>
20839
20840 [BZ #14083]
20841 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20842 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20843 -Wconversion warning.
20844 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20845 Likewise.
20846
b1cc2472
JM
208472012-05-09 Joseph Myers <joseph@codesourcery.com>
20848
20849 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20850 == 0.
20851 (LC_ALL): Use macro-int-constant.
20852 (LC_COLLATE): Likewise.
20853 (LC_CTYPE): Likewise.
20854 (LC_MESSAGES): Likewise.
20855 (LC_MONETARY): Likewise.
20856 (LC_NUMERIC): Likewise.
20857 (LC_TIME): Likewise.
20858 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20859 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20860 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20861 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20862 Specify type.
20863 [C99-based standards] (float_t): Expect type.
20864 [C99-based standards] (double_t): Expect type.
20865 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20866 type.
20867 [C99-based standards] (HUGE_VALL): Likewise.
20868 [C99-based standards] (INFINITY): Likewise.
20869 [C99-based standards] (NAN): Likewise.
20870 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20871 [C99-based standards] (FP_NAN): Likewise.
20872 [C99-based standards] (FP_NORMAL): Likewise.
20873 [C99-based standards] (FP_SUBNORMAL): Likewise.
20874 [C99-based standards] (FP_ZERO): Likewise.
20875 [C99-based standards] (FP_FAST_FMA): Use
20876 optional-macro-int-constant. Specify type. Require == 1.
20877 [C99-based standards] (FP_FAST_FMAF): Likewise.
20878 [C99-based standards] (FP_FAST_FMAL): Likewise.
20879 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20880 [C99-based standards] (FP_ILOGBNAN): Likewise.
20881 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20882 Specify type.
20883 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20884 [C99-based standards] (math_errhandling): Specify type.
20885 [ISO99 || ISO11] (signgam): Do not allow.
20886 [non-C99-based standards] (copysignf): Do not allow.
20887 [non-C99-based standards] (exp2f): Likewise.
20888 [non-C99-based standards] (log2f): Likewise.
20889 [non-C99-based standards] (modff): Allow.
20890 [non-C99-based standards] (erff): Do not allow.
20891 [non-C99-based standards] (erfcf): Likewise.
20892 [non-C99-based standards] (gammaf): Likewise.
20893 [non-C99-based standards] (hypotf): Likewise.
20894 [non-C99-based standards] (j0f): Likewise.
20895 [non-C99-based standards] (j1f): Likewise.
20896 [non-C99-based standards] (jnf): Likewise.
20897 [non-C99-based standards] (lgammaf): Likewise.
20898 [non-C99-based standards] (tgammaf): Likewise.
20899 [non-C99-based standards] (y0f): Likewise.
20900 [non-C99-based standards] (y1f): Likewise.
20901 [non-C99-based standards] (ynf): Likewise.
20902 [non-C99-based standards] (isnanf): Likewise.
20903 [non-C99-based standards] (acoshf): Likewise.
20904 [non-C99-based standards] (asinhf): Likewise.
20905 [non-C99-based standards] (atanhf): Likewise.
20906 [non-C99-based standards] (cbrtf): Likewise.
20907 [non-C99-based standards] (expm1f): Likewise.
20908 [non-C99-based standards] (ilogbf): Likewise.
20909 [non-C99-based standards] (log1pf): Likewise.
20910 [non-C99-based standards] (logbf): Likewise.
20911 [non-C99-based standards] (nextafterf): Likewise.
20912 [non-C99-based standards] (remainderf): Likewise.
20913 [non-C99-based standards] (rintf): Likewise.
20914 [non-C99-based standards] (scalbf): Likewise.
20915 [non-C99-based standards] (copysignl): Likewise.
20916 [non-C99-based standards] (exp2l): Likewise.
20917 [non-C99-based standards] (log2l): Likewise.
20918 [non-C99-based standards] (modfl): Allow.
20919 [non-C99-based standards] (erfl): Do not allow.
20920 [non-C99-based standards] (erfcl): Likewise.
20921 [non-C99-based standards] (gammal): Likewise.
20922 [non-C99-based standards] (hypotl): Likewise.
20923 [non-C99-based standards] (j0l): Likewise.
20924 [non-C99-based standards] (j1l): Likewise.
20925 [non-C99-based standards] (jnl): Likewise.
20926 [non-C99-based standards] (lgammal): Likewise.
20927 [non-C99-based standards] (tgammal): Likewise.
20928 [non-C99-based standards] (y0l): Likewise.
20929 [non-C99-based standards] (y1l): Likewise.
20930 [non-C99-based standards] (ynl): Likewise.
20931 [non-C99-based standards] (isnanl): Likewise.
20932 [non-C99-based standards] (acoshl): Likewise.
20933 [non-C99-based standards] (asinhl): Likewise.
20934 [non-C99-based standards] (atanhl): Likewise.
20935 [non-C99-based standards] (cbrtl): Likewise.
20936 [non-C99-based standards] (expm1l): Likewise.
20937 [non-C99-based standards] (ilogbl): Likewise.
20938 [non-C99-based standards] (log1pl): Likewise.
20939 [non-C99-based standards] (logbl): Likewise.
20940 [non-C99-based standards] (nextafterl): Likewise.
20941 [non-C99-based standards] (remainderl): Likewise.
20942 [non-C99-based standards] (rintl): Likewise.
20943 [non-C99-based standards] (scalbl): Likewise.
20944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20945 [non-C99-based standards] (FP_*): Do not allow.
20946 [C99-based standards] (FP_*): Change to
20947 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20948 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20949 allow.
20950 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20951 (SIG_ERR): Likewise.
20952 [X/Open-based standards] (SIG_HOLD): Likewise.
20953 (SIG_IGN): Likewise.
20954 (SIGABRT): Use macro-int-constant. Specify type. Require
20955 positive value.
20956 (SIGFPE): Likewise.
20957 (SIGILL): Likewise.
20958 (SIGINT): Likewise.
20959 (SIGSEGV): Likewise.
20960 (SIGTER): Likewise.
20961 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20962 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20963 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20964 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20965 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20966 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20967 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20968 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20969 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20970 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20971 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20972 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20973 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20974 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20975 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20976 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20977 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20978 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20979 [X/Open-based standards] (SIGTRAP): Likewise.
20980 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20981 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20982 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20983 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20984 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20985 allow.
20986
b9f1922d
IW
209872012-05-08 Ian Wienand <ianw@vmware.com>
20988
20989 [BZ #14080]
20990 * time/tzset.c (__tzset_parse_tz): Update default rules for
20991 daylight time changes in the Energy Policy Act of 2005.
20992
1db86e88
AJ
209932012-05-09 Andreas Jaeger <aj@suse.de>
20994
20995 [BZ #13983]
20996 * elf/ldconfig.c (parse_conf): Change string to make clear that
20997 ldconfig only issued a warning if ld.so.conf does not exist.
20998
dee4a4e3
DM
209992012-05-08 David S. Miller <davem@davemloft.net>
21000
ee0db190
DM
21001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21002 movxtod instead of popping the value on the stack.
21003
dee4a4e3
DM
21004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21005
6a43ec98
CD
210062012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21007
21008 * config.h.in: Add HAVE_ARM_PCS_VFP.
21009
05c2c961
RMG
210102012-05-08 Roland Mc Grath <roland@hack.frob.com>
21011
bcfe3a54
ST
21012 [BZ #13979]
21013 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21014 checking but the checks are disabled for any reason.
05c2c961 21015
4b30f61a
L
210162012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21017
21018 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21019 and ELF64_R_TYPE with ELFW(R_TYPE).
21020
eee2bc67
JM
210212012-05-08 Joseph Myers <joseph@codesourcery.com>
21022
7ea5391a
JM
21023 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21024 (ulimit): Likewise.
21025
eee2bc67
JM
21026 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21027 (settimeofday): Likewise.
21028
abb66a67
MF
210292012-05-08 Mike Frysinger <vapier@gentoo.org>
21030
21031 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21032 a struct th_u2 inside the union, and move tu_block/tu_code into
21033 a new th_u3 union of tu_block/tu_code inside of that. Move
21034 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21035 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21036 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21037 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21038 (th_stuff): Change to th_u1.tu_stuff.
21039 (th_data): Define.
21040 (th_msg): Change to th_u1.th_u2.tu_data.
21041
7f18b530
DM
210422012-05-07 David S. Miller <davem@davemloft.net>
21043
05760585
DM
21044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21045
7f18b530
DM
21046 [BZ #14074]
21047 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21048 (SETUP_PIC_REG): Use it.
21049 (SETUP_PIC_REG_LEAF): Use it.
21050
495fd99f
JM
210512012-05-07 Joseph Myers <joseph@codesourcery.com>
21052
21053 [BZ #13885]
21054 [BZ #13923]
21055 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21056 USE_AS_EXPM1L.
21057 (EXPL_FINITE): Likewise.
21058 (FLDLOG): Likewise.
21059 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21060 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21061 e_expl.S.
21062 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21063 USE_AS_EXPM1L.
21064 (EXPL_FINITE): Likewise.
21065 (FLDLOG): Likewise.
21066 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21067 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21068 e_expl.S.
21069 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21070 test of -max_value argument for long double.
21071 * sysdeps/i386/fpu/libm-test-ulps: Update.
21072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21073
6693d694
DM
210742012-05-06 David S. Miller <davem@davemloft.net>
21075
21076 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21077 quad soft-float symbols whose references which are compiler
21078 generated.
21079 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21080
6c23e11c
JM
210812012-05-06 Joseph Myers <joseph@codesourcery.com>
21082
d8b82cad
JM
21083 [BZ #13884]
21084 [BZ #13914]
21085 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21086 USE_AS_EXP10L.
21087 (EXPL_FINITE): Likewise.
21088 (FLDLOG): Likewise.
21089 (c0): Likewise.
21090 (c1): Likewise.
21091 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21092 Adjust comments for base varying.
21093 (__expl_finite): Change alias to EXPL_FINITE.
21094 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21095 e_expl.S.
21096 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21097 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21098 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21099 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21100 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21101 USE_AS_EXP10L.
21102 (EXPL_FINITE): Likewise.
21103 (FLDLOG): Likewise.
21104 (c0): Likewise.
21105 (c1): Likewise.
21106 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21107 Adjust comments for base varying.
21108 (__expl_finite): Change alias to EXPL_FINITE.
21109 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21110 tests for bugs.
21111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21112
6c23e11c
JM
21113 [BZ #14064]
21114 * math/libm-test.inc (check_float_internal): Correct ulp
21115 calculation for subnormal expected results.
21116
29ba805c
AJ
211172012-05-06 Andreas Jaeger <aj@suse.de>
21118
21119 * Makeconfig (+math-flags): New, set to -frounding-math.
21120 (+cflags): Add +math-flags so that all of glibc gets compiled with
21121 it.
21122
21123 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21124
7b17aeda
JM
211252012-05-05 Joseph Myers <joseph@codesourcery.com>
21126
5779f134
JM
21127 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21128 Disable one test.
21129
41498f4d
JM
21130 [BZ #13787]
21131 [BZ #13922]
21132 [BZ #14036]
21133 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21134 (__ieee754_expl): Allow for and saturate large arguments.
21135 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21136 (u_threshold): Likewise.
21137 (__exp): Call __ieee754_exp before checking for overflow and
21138 underflow.
21139 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21140 (u_threshold): Likewise.
21141 (__expf): Call __ieee754_expf before checking for overflow and
21142 underflow.
21143 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21144 (u_threshold): Likewise.
21145 (__expl): Call __ieee754_expl before checking for overflow and
21146 underflow.
21147 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21148 (__ieee754_expl): Allow for and saturate large arguments.
21149 * math/libm-test.inc (exp_test): Add another test. Do not allow
21150 missing overflow exception on overflow.
21151 (expm1_test): Do not allow missing overflow exception on overflow.
21152
6698b8bf
JM
21153 * sysdeps/i386/fpu/e_expl.c: Move to ...
21154 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21155 rather than using inline asm.
21156 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21157 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21158 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21159
7b17aeda
JM
21160 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21161 (nice): Likewise.
21162 (poll): Likewise.
21163 (signal): Likewise.
21164 (time): Likewise.
21165 (times): Likewise.
21166
f7c85819
JM
211672012-05-04 Joseph Myers <joseph@codesourcery.com>
21168
21169 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21170 sysdeps/unix/common/syscalls.list.
21171 (fchmod): Likewise.
21172 (fchown): Likewise.
21173 (ftruncate): Likewise.
21174 (getrusage): Likewise.
21175 (gettimeofday): Likewise.
21176 (setpgid): Likewise.
21177 (setregid): Likewise.
21178 (setreuid): Likewise.
21179 (sigaction): Likewise.
21180 (truncate): Likewise.
21181 (vhangup): Likewise.
21182 * sysdeps/unix/common/syscalls.list: Remove file.
21183 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21184 * sysdeps/unix/sysv/linux/Implies: Likewise.
21185
336270d0
L
211862012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21187
21188 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21190 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21191 Moved to ...
21192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21193 Here.
21194 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21195 to ...
21196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21197 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21198 to ...
21199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21200 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21201 to ...
21202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21203 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21204 to ...
21205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21206 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21207 to ...
21208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21209 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21210 to ...
21211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21212 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21213 to ...
21214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21215 Here.
21216 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21217 to ...
21218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21219 Here.
21220 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21221 to ...
21222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21223 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21224 Moved to ...
21225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21226 Here.
21227 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21228 to ...
21229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21230
d128e450
JM
212312012-05-04 Joseph Myers <joseph@codesourcery.com>
21232
fa8ee516
JM
21233 * sysdeps/unix/common/bits/dirent.h: Remove file.
21234 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21235
d128e450
JM
21236 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21237 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21238 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21239 * sysdeps/unix/bsd/isatty.c: Likewise.
21240 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21241 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21242 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21243
ff8faaf0 212442012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 21245
62881be4 21246 [BZ #13563]
31dc8730
AZ
21247 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21248 long double comparison inaccuracies.
21249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21251
6fef930c
AS
212522012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21253
21254 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21255 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21256
8f203e6c
JM
212572012-05-04 Joseph Myers <joseph@codesourcery.com>
21258
21259 [BZ #14049]
21260 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21261 nonzero digits before rounding a hex value.
21262 * stdlib/tst-strtod.c (tests): Add another test.
21263
5197d9c2
AK
212642012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21265
21266 * sysdeps/s390/fpu/libm-test-ulps: Update.
21267
f0c1dedf
AJ
212682012-05-03 Andreas Jaeger <aj@suse.de>
21269
21270 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21271 does not get optimized out.
21272 (malloc_opt_barrier): New.
21273
a65ef2ae 212742012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 21275 Roland McGrath <roland@hack.frob.com>
a65ef2ae 21276
2b942cb7 21277 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 21278 intermediate file deletion.
2b942cb7 21279 (generated): Add .symlist files.
a65ef2ae 21280
54b71e02
JM
212812012-05-03 Joseph Myers <joseph@codesourcery.com>
21282
21283 [BZ #13775]
21284 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21285 Redirect under this condition.
21286 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21287 [__USE_GNU] (__dprintf_chk): Not under this condition.
21288 [__USE_GNU] (__vdprintf_chk): Likewise.
21289 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21290 under this condition.
21291 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21292 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21293 [__USE_XOPEN2K8] (vdprintf): Likewise.
21294 [__USE_GNU] (__dprintf_chk): Not under this condition.
21295 [__USE_GNU] (__vdprintf_chk): Likewise.
21296 [__USE_GNU] (dprintf): Likewise.
21297 [__USE_GNU] (vdprintf): Likewise.
21298
d3dfcc41
RM
212992012-05-03 Roland McGrath <roland@hack.frob.com>
21300
21301 * elf/Makefile (common-generated): Set this instead of generated for
21302 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21303 $(all-built-dso)-derived lists.
21304
7ac30cc5
AJ
213052012-05-03 Andreas Jaeger <aj@suse.de>
21306
0c51e550
AJ
21307 * sysdeps/i386/fpu/libm-test-ulps: Update.
21308
7ac30cc5
AJ
21309 * FAQ: Removed.
21310 * FAQ.in: Likewise.
21311 * scripts/gen-FAQ.pl: Likewise.
21312 * manual/install.texi (Installation): Point to online location of
21313 FAQ.
21314 * Makefile (files-for-dist): Remove FAQ.
21315 (FAQ): Remove.
21316
d4c2917f
AM
213172012-05-02 Allan McRae <allan@archlinux.org>
21318
21319 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21320 (LDFLAGS-reldepmod5.so): Likewise.
21321 (LDFLAGS-reldep6mod1.so): Likewise.
21322 (LDFLAGS-reldep6mod4.so): Likewise.
21323 (LDFLAGS-reldep8mod3.so): Likewise.
21324 (LDFLAGS-unload4mod1.so): Likewise.
21325 (LDFLAGS-unload4mod2.so): Likewise.
21326 (LDFLAGS-tst-initorder): Likewise.
21327 (LDFLAGS-tst-initordera2.so): Likewise.
21328 (LDFLAGS-tst-initordera3.so): Likewise.
21329 (LDFLAGS-tst-initordera4.so): Likewise.
21330 (LDFLAGS-tst-initorderb2.so): Likewise.
21331 (LDFLAGS-noload): Likewise.
21332 (LDFLAGS-next): Likewise.
21333 (LDFLAGS-order2mod1.so): Likewise.
21334 (LDFLAGS-order2mod2.so): Likewise.
21335 (LDFLAGS-tst-initorder2): Likewise.
21336 (LDFLAGS-tst-initorder2a.so): Likewise.
21337 (LDFLAGS-tst-initorder2b.so): Likewise.
21338 (LDFLAGS-tst-initorder2c.so): Likewise.
21339 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21340
d77f993f
DM
213412012-05-02 David S. Miller <davem@davemloft.net>
21342
21343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21344
171a70b4
PP
213452012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21346
21347 [BZ #14055]
21348 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21349
0be196ad
AJ
213502012-05-02 Andreas Jaeger <aj@suse.de>
21351
21352 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21353 since we manipulate rounding mode.
21354 (CPPFLAGS-test-idouble.c): Likewise.
21355 (CPPFLAGS-test-ifloat.c): Likewise.
21356 (CFLAGS-test-ldouble.c): Likewise.
21357 (CFLAGS-test-double.c): Likewise.
21358 (CFLAGS-test-float.c): Likewise.
21359 (CFLAGS-test-misc.c): Likewise.
21360 (CFLAGS-test-test-fenv.c): Likewise.
21361
4f9d04aa
AZ
213622012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21363
2b942cb7
RM
21364 [BZ #2550]
21365 [BZ #2570]
21366 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21367 comparisons to determine direction to adjust input.
4f9d04aa 21368
82a79e7d
RM
213692012-05-01 Roland McGrath <roland@hack.frob.com>
21370
f5a01ca9
RM
21371 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21372 output to the target.
21373
90fe4186
RM
21374 * scripts/localplt.awk: New file.
21375 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21376 (check-localplt-CFLAGS): Variable removed.
21377 ($(all-built-dso:=.jmprel)): New static pattern rule.
21378 (generated): Add those targets.
21379 (localplt-built-dso): New variable.
21380 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21381
21382 * elf/check-localplt.c: File removed.
21383
82397ed6
RM
21384 * scripts/check-execstack.awk: New file.
21385 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21386 (check-execstack-CFLAGS): Variable removed.
21387 ($(objpfx)check-execstack.h): Target removed.
21388 ($(objpfx)execstack-default): New target.
21389 (generated): Add that instead of check-execstack.h.
21390 ($(all-built-dso:=.phdr)): New static pattern rule.
21391 (generated): Add those targets.
21392 * elf/check-execstack.c: File removed.
21393
82a79e7d
RM
21394 * scripts/check-textrel.awk: New file.
21395 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21396 (check-textrel-CFLAGS): Variable removed.
21397 (all-built-dso): Use := to define.o
21398 ($(all-built-dso:=.dyn)): New static pattern rule.
21399 (generated): Add those targets.
21400 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21401 * config.make.in (READELF): New substituted variable.
21402 * elf/check-textrel.c: File removed.
21403
62fde54f 214042012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 21405
615605c9
JM
21406 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21407 allow.
21408 * conform/data/ctype.h-data [C99-based standards] (isblank):
21409 Expect function.
21410 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21411 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21412 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21413 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21414 Specify type. Require positive value.
21415 (EILSEQ): Likewise.
21416 (ERANGE): Likewise.
21417 [ISO || POSIX] (EILSEQ): Do not expect.
21418 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21419 Specify type. Require positive value.
21420 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21421 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21422 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21423 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21424 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21425 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21426 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21427 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21428 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21429 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21430 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21431 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21432 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21433 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21434 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21435 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21436 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21437 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21438 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21439 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21440 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21441 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21442 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21443 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21444 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21445 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21446 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21447 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21448 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21449 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21450 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21451 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21452 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21453 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21454 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21455 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21456 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21457 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21458 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21459 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21460 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21461 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21462 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21463 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21464 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21465 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21466 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21467 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21468 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21469 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21470 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21471 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21472 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21473 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21474 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21475 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21476 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21477 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21478 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21479 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21480 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21481 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21482 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21483 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21484 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21485 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21486 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21487 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21488 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21489 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21490 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21491 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21492 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21493 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21494 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21495 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21496 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21497 Require >= 2.
21498 (FLT_ROUNDS): Expect as macro, not constant.
21499 (FLT_MANT_DIG): Use macro-int-constant.
21500 (DBL_MANT_DIG): Likewise.
21501 (LDBL_MANT_DIG): Likewise.
21502 (FLT_DIG): Likewise.
21503 (DBL_DIG): Likewise.
21504 (LDBL_DIG): Likewise.
21505 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21506 (DBL_MIN_EXP): Likewise.
21507 (LDBL_MIN_EXP): Likewise.
21508 (FLT_MAX_EXP): Use macro-int-constant.
21509 (DBL_MAX_EXP): Likewise.
21510 (LDBL_MAX_EXP): Likewise.
21511 (FLT_MAX_10_EXP): Likewise.
21512 (DBL_MAX_10_EXP): Likewise.
21513 (LDBL_MAX_10_EXP): Likewise.
21514 (FLT_MAX): Use macro-constant.
21515 (DBL_MAX): Likewise.
21516 (LDBL_MAX): Likewise.
21517 (FLT_EPSILON): Use macro-constant. Give upper bound.
21518 (DBL_EPSILON): Likewise.
21519 (LDBL_EPSILON): Likewise.
21520 (FLT_MIN): Likewise.
21521 (DBL_MIN): Likewise.
21522 (LDBL_MIN): Likewise.
21523 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21524 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21525 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21526 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21527 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21528 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21529 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21530 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21531 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21532 [ISO11] (FLT_TRUE_MIN): Likewise.
21533 [ISO11] (LDBL_TRUE_MIN): Likewise.
21534 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21535 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21536 (SCHAR_MIN): Use macro-int-constant. Specify type.
21537 (SCHAR_MAX): Likewise.
21538 (UCHAR_MAX): Likewise.
21539 (CHAR_MIN): Likewise.
21540 (CHAR_MAX): Likewise.
21541 (MB_LEN_MAX): Use macro-int-constant.
21542 (SHRT_MIN): Use macro-int-constant. Specify type.
21543 (SHRT_MAX): Likewise.
21544 (USHRT_MAX): Likewise.
21545 (INT_MAX): Likewise.
21546 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21547 bound negative.
21548 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21549 bound with "U".
21550 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21551 bound with "L".
21552 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21553 bound negative. Suffix upper bound with "L".
21554 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21555 bound with "UL".
21556 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21557 Specify type.
21558 [C99-based standards] (LLONG_MAX): Likewise.
21559 [C99-based standards] (ULLONG_MAX): Likewise.
21560 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21561 == 0.
21562 [ISO11] (max_align_t): Require type.
21563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21564
c9140a62
JM
21565 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21566 from $CFLAGS, without defining away __attribute__ calls.
21567 (checknamespace): Use $CFLAGS_namespace.
21568
9af0bf29
JM
21569 * conform/conformtest.pl (@keywords): Only include C99 keywords
21570 for standards based on C99 or C11.
21571
343222a2
JM
21572 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21573 Disable tests.
21574 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21575 UNIX98]: Likewise.
21576
661f8cf0
JM
21577 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21578 usability of symbols in #if.
21579
ee74b9cb
JM
21580 * conform/conformtest.pl: If macro or constant types start
21581 "promoted:", expect the symbol to be of the following type
21582 promoted by the integer promotions.
62fde54f 21583
aafc49b3
JM
21584 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21585 in one place. Also handle "macro-constant".
21586
fefdf574
JM
21587 * conform/conformtest.pl: Only accept expected macro values with
21588 "==". Parse all "macro" lines in one place.
21589 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21590
f2d922fe
JM
21591 * conform/conformtest.pl: Handle braced types on "constant" lines
21592 instead of handling "typed-constant".
21593 * conform/data/signal.h-data: Use "constant" instead of
21594 "typed-constant".
21595
d22956c9
JM
21596 * conform/conformtest.pl: Handle "optional-" at start of lines in
21597 one place rather than duplicating several cases. Handle each
21598 format of "macro" line with initial "optional-".
21599
028e2e38
JM
21600 * conform/conformtest.pl: Only accept expected constant or
21601 optional-constant values with "==". Parse all "constant" lines in
21602 one place. Parse all "optional-constant" lines in one place.
21603 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21604 * conform/data/fmtmsg.h-data: Likewise.
21605 * conform/data/netinet/in.h-data: Likewise.
21606 * conform/data/tar.h-data: Likewise.
21607 * conform/data/limits.h-data: Use "==" form on "constant" and
21608 "optional-constant" lines.
21609
1b8f2850
JM
21610 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21611 Use -std=c99 for XOPEN2K.
21612 (@knownproblems): Remove.
21613 (newtoken): Don't check %isknown.
21614
a05a144b
JM
21615 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21616 Do not expect macro.
21617 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21618 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21619 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21620 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21621 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21622 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21623 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21624 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21625 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21626 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21627 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21628 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21629 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21630 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21631 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21632 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21633 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21634 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21635 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21636 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21637 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21638 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21639 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21640 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21641 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21642 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21643 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21644 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21645 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21646 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21647 [XPG3] (acosh): Likewise.
21648 [XPG3] (asinh): Likewise.
21649 [XPG3] (atanh): Likewise.
21650 [XPG3] (cbrt): Likewise.
21651 [XPG3] (expm1): Likewise.
21652 [XPG3] (ilogb): Likewise.
21653 [XPG3] (log1p): Likewise.
21654 [XPG3] (logb): Likewise.
21655 [XPG3] (nextafter): Likewise.
21656 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21657 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21658 [XPG3] (remainder): Likewise.
21659 [XPG3] (rint): Likewise.
21660 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21661 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21662 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21663 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21664 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21665 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21666 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21667 [UNIX98 || XOPEN2K] (scalb): Expect.
21668 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21669 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21670 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21671 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21672 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21673 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21674 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21675 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21676 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21677 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21678 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21679 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21680 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21681 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21682 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21683 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21684 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21685 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21686 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21687 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21688 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21689 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21690 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21691 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21692 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21693 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21694 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21695 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21696 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21697 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21698 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21699 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21700 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21701 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21702 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21703 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21704 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21705 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21706 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21707 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21708 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21709 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21710 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21711 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21712 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21713 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21714 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21715 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21716 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21717 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21718 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21719 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21720 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21721 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21722 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21723 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21724 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21725 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21726 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21727 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21728 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21729 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21730 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21731 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21732 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21733 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21734 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21735 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21736 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21737 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21738 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21739 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21740 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21741 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21742 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21743 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21744 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21745 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21746 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21747 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21748 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21749 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21750 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21751 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21752 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21753 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21754 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21755 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21756 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21757 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21758 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21759 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21760 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21761 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21762 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21763 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21764 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21765 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21766 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21767 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21768 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21769 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21770 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21771 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21772 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21773 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21774 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21775 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21776 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21777 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21778 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21779 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21780 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21781 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21782 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21783 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21784 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21785 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21786 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21787 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21788 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21789 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21790 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21791 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21792 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21793 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21794 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21795 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21796 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21797 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21798 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21799 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21800 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21801 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21802 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21803 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21804 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21805
73c5ebe3
JM
21806 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21807 _XOPEN_SOURCE_EXTENDED for XPG4.
21808
39c33b6c
JM
21809 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21810
62fde54f
JM
21811 * Makeconfig (localtime): Remove variable.
21812 (inst_localtime-file): Likewise.
21813
0741d64c
AS
218142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21815
21816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21817 Update.
21818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21819 Update.
21820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21821 Update.
21822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21823 Update.
21824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21825 Update.
21826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21827 Update.
21828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21829 Update.
21830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21831 Update.
21832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21833 Update.
21834
7cb029ee
JM
218352012-05-01 Joseph Myers <joseph@codesourcery.com>
21836
21837 [BZ #2550]
21838 [BZ #2570]
21839 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21840 comparisons to determine direction to adjust input.
21841 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21842 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21843 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21844 Likewise.
21845 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21846 Likewise.
21847 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21848 Likewise.
21849 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21850 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21851 Likewise.
21852 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21853 Likewise.
21854 * math/libm-test.inc (nexttoward_test): Add more tests.
21855
412bd966
AS
218562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21857
21858 [BZ #14040]
21859 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21860 in version GLIBC_2.1, not GLIBC_2.0.
21861 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21862 Likewise.
21863
9568c0c2
JM
218642012-04-30 Joseph Myers <joseph@codesourcery.com>
21865
adfbc8ac
JM
21866 [BZ #13942]
21867 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21868 (1 - x) * (1 + x).
21869 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21870 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21871 * math/libm-test.inc (acos_test): Add more tests.
21872 (asin_test): Likewise.
21873 * sysdeps/i386/fpu/libm-test-ulps: Update.
21874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21875
5ba3cc69
JM
21876 [BZ #14034]
21877 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21878 of square root.
21879 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21880 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21881 * math/libm-test.inc (acos_test_tonearest): New function.
21882 (acos_test_towardzero): Likewise.
21883 (acos_test_downward): Likewise.
21884 (acos_test_upward): Likewise.
21885 (asin_test_tonearest): Likewise.
21886 (asin_test_towardzero): Likewise.
21887 (asin_test_downward): Likewise.
21888 (asin_test_upward): Likewise.
21889 (main): Call the new functions.
21890 * sysdeps/i386/fpu/libm-test-ulps: Update.
21891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21892
9568c0c2
JM
21893 [BZ #13884]
21894 [BZ #13924]
21895 * math/e_exp10.c: Include <float.h>.
21896 (__ieee754_exp10): Handle underflow here rather than multiplying
21897 large negative argument by M_LN10.
21898 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21899 of __ieee754_expf.
21900 * math/e_exp10l.c: Include <float.h>.
21901 (__ieee754_exp10l): Handle underflow here rather than multiplying
21902 large negative argument by M_LN10l.
21903 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21904 spurious overflow exception on underflow.
21905
5ac3ea17
MP
219062012-04-29 Marek Polacek <polacek@redhat.com>
21907
21908 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21909 (__fortify_function): New macro.
21910 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21911 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21912 __extern_always_inline.
21913 * libio/bits/stdio2.h: Likewise.
21914 * libio/bits/stdio.h: Likewise.
21915 * string/string.h: Likewise.
21916 * string/bits/string3.h: Likewise.
21917 * include/stdio.h: Likewise.
21918 * stdlib/bits/stdlib.h: Likewise.
21919 * stdlib/stdlib.h: Likewise.
21920 * rt/bits/mqueue2.h: Likewise.
21921 * rt/mqueue.h: Likewise.
21922 * posix/bits/unistd.h: Likewise.
21923 * posix/unistd.h: Likewise.
21924 * io/bits/poll2.h: Likewise.
21925 * io/bits/fcntl2.h: Likewise.
21926 * io/fcntl.h: Likewise.
21927 * io/sys/poll.h: Likewise.
21928 * misc/bits/syslog.h: Likewise.
21929 * misc/bits/syslog-ldbl.h: Likewise.
21930 * misc/sys/syslog.h: Likewise.
21931 * socket/bits/socket2.h: Likewise.
21932 * socket/sys/socket.h: Likewise.
21933 * debug/tst-chk1.c: Likewise.
21934 * wcsmbs/bits/wchar2.h: Likewise.
21935 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21936 * wcsmbs/wchar.h: Likewise.
21937
ecf0ebfb
AJ
219382012-04-29 Andreas Jaeger <aj@suse.de>
21939
21940 * Makerules (tests): Remove enable-check-abi protection.
21941 (check-abi-warn): Remove.
21942 (check-abi-%): Remove check-abi-warn usage.
21943
21944 * configure.in: Remove check-abi configure option.
21945 * configure: Regenerated.
21946 * config.make.in (enable-check-abi): Remove.
21947
6d5c57fa
AS
219482012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21949
24c5d07e 21950 [BZ #14033]
ded5180a
AS
21951 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21952 double functions to double *_finite functions.
21953
7e0d315d
AS
21954 [BZ #13941]
21955 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21956 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21957 LDBL_MIN_EXP.
21958 * stdio-common/Makefile (tests): Add tst-sprintf3.
21959 * stdio-common/tst-sprintf3.c: New file.
21960
6d5c57fa
AS
21961 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21962 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21963
0749ff8b
JM
219642012-04-28 Joseph Myers <joseph@codesourcery.com>
21965
21966 * conform/conformtest.pl: Remove duplicate typed-constant
21967 handling.
21968
8dbd5d7b
DM
219692012-04-28 David S. Miller <davem@davemloft.net>
21970
21971 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21972 (check-abi-%): Remove AWK script prerequisite and explicit
21973 abilist directory.
21974 (check-abi): Rewrite to just diff the symlist with the abilist.
21975 (config-tls, config-abi-config): Delete, no longer used.
21976 (update-abi-%): Remove AWK script and explicit abilist directory.
21977 (update-abi): Rewrite to simply compare and conditionally copy the
21978 symlist and the sysdep abilist file. Remove update-abi-config
21979 checks.
21980 * abilist/ld.abilist: Remove.
21981 * abilist/libBrokenLocale.abilist: Remove.
21982 * abilist/libanl.abilist: Remove.
21983 * abilist/libcrypt.abilist: Remove.
21984 * abilist/libdl.abilist: Remove.
21985 * abilist/librt.abilist: Remove.
21986 * abilist/libthread_db.abilist: Remove.
21987 * abilist/libutil.abilist: Remove.
21988 * scripts/extract-abilist.awk: Remove.
21989 * scripts/merge-abilist.awk: Remove.
21990 * sysdeps/generic/libcidn.abilist: New file.
21991 * sysdeps/generic/libnss_compat.abilist: New file.
21992 * sysdeps/generic/libnss_db.abilist: New file.
21993 * sysdeps/generic/libnss_dns.abilist: New file.
21994 * sysdeps/generic/libnss_files.abilist: New file.
21995 * sysdeps/generic/libnss_hesiod.abilist: New file.
21996 * sysdeps/generic/libnss_nis.abilist: New file.
21997 * sysdeps/generic/libnss_nisplus.abilist: New file.
21998 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21999 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22000 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22001 file.
22002 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22003 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22004 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22005 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22006 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22007 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22008 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22009 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22010 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22011 file.
22012 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22013 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22014 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22015 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22016 file.
22017 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22018 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22019 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22020 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22021 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22022 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22023 file.
22024 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22025 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22026 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22027 file.
22028 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22030 New file.
22031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22032 New file.
22033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22034 New file.
22035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22036 New file.
22037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22038 New file.
22039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22040 New file.
22041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22042 New file.
22043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22044 New file.
22045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22046 New file.
22047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22048 New file.
22049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22050 New file.
22051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22052 New file.
22053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22054 New file.
22055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22056 file.
22057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22058 New file.
22059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22060 New file.
22061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22062 file.
22063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22064 New file.
22065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22066 New file.
22067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22068 file.
22069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22070 New file.
22071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22072 New file.
22073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22074 New file.
22075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22076 New file.
22077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22078 New file.
22079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22080 New file.
22081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22083 file.
22084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22085 New file.
22086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22087 file.
22088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22089 file.
22090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22091 file.
22092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22093 file.
22094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22095 file.
22096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22097 New file.
22098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22099 file.
22100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22101 file.
22102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22103 New file.
22104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22105 file.
22106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22108 file.
22109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22110 New file.
22111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22112 file.
22113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22114 file.
22115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22116 file.
22117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22118 file.
22119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22120 file.
22121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22122 New file.
22123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22124 file.
22125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22126 file.
22127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22128 New file.
22129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22130 file.
22131 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22132 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22133 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22134 file.
22135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22136 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22137 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22138 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22139 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22140 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22141 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22142 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22143 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22144 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22147 file.
22148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22149 New file.
22150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22151 file.
22152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22153 file.
22154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22155 file.
22156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22157 file.
22158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22159 file.
22160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22161 New file.
22162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22163 New file.
22164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22165 file.
22166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22167 New file.
22168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22169 file.
22170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22172 file.
22173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22174 New file.
22175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22176 file.
22177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22178 file.
22179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22180 file.
22181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22182 file.
22183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22184 file.
22185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22186 New file.
22187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22188 New file.
22189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22190 file.
22191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22192 New file.
22193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22194 file.
22195
41d73a1b
JM
221962012-04-28 Joseph Myers <joseph@codesourcery.com>
22197
22198 * conform/conformtest.pl: Fix typo in handling typed-constant from
22199 allow-header.
22200
28aeeda4
JM
222012012-04-27 Joseph Myers <joseph@codesourcery.com>
22202
adae8f5e
JM
22203 * README: Cut down references to pre-2.6 Linux kernels and
22204 Linuxthreads. Update lists of configurations in libc and ports
22205 and sort alphabetically. Say "or newer" with Linux kernel version
22206 requirements.
22207
28aeeda4
JM
22208 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22209
a462cb63
RA
222102012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22211
22212 [BZ #887]
22213 * math/libm-test.inc (logb_test_downward): New test to expose
22214 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22215 rounding mode.
22216
6ad3493e
JM
222172012-04-27 Joseph Myers <joseph@codesourcery.com>
22218
22219 [BZ #14027]
22220 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22221 to be done.
22222 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22223 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22224
2ce4f015
JM
222252012-04-26 Joseph Myers <joseph@codesourcery.com>
22226
5aeb141a
JM
22227 * sysdeps/unix/i386/brk.S: Remove file.
22228 * sysdeps/unix/i386/dl-brk.S: Likewise.
22229 * sysdeps/unix/i386/pipe.S: Likewise.
22230 * sysdeps/unix/i386/sigreturn.S: Likewise.
22231 * sysdeps/unix/i386/syscall.S: Likewise.
22232 * sysdeps/unix/i386/vfork.S: Likewise.
22233 * sysdeps/unix/i386/wait.S: Likewise.
22234
7143acae
JM
22235 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22236 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22237
2ce4f015
JM
22238 * configure.in (arm*-none*): Do not allow without
22239 --enable-hacker-mode.
22240 (netbsd*): Remove case setting base_os.
22241 (386bsd*): Likewise.
22242 (freebsd*): Likewise.
22243 (bsdi*): Likewise.
22244 (osf*): Likewise.
22245 (sunos*): Likewise.
22246 (ultrix*): Likewise.
22247 (newsos*): Likewise.
22248 (dynix*): Likewise.
22249 (*bsd*): Likewise.
22250 (sysv*): Likewise.
22251 (isc*): Likewise.
22252 (esix*): Likewise.
22253 (sco*): Likewise.
22254 (minix*): Likewise.
22255 (irix4*): Likewise.
22256 (irix6*): Likewise.
22257 (solaris[2-9]*): Likewise.
22258 (none): Likewise.
22259 * configure: Regenerated.
22260
0ac229c8
AZ
222612012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22262
22263 [BZ #11521]
22264 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22265 overflow or cancellation in calculating denominator.
22266 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22267 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22268 down expression to avoid unexpected rounding in newer GCCs.
22269 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22270
33f244f4
DM
222712012-04-26 David S. Miller <davem@davemloft.net>
22272
22273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22274 long-double compat symbols.
22275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22288
cfa1f3e8
DM
222892012-04-25 David S. Miller <davem@davemloft.net>
22290
22291 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22292 HWCAP_* values only after the memory barriers have been defined.
22293 (atomic_full_barrier): Define.
22294 (atomic_read_barrier): Define.
22295 (atomic_write_barrier): Define.
22296
6e236b92
SP
222972012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22298
22299 * shlib-versions: Add libgcc_s version information.
22300 * sysdeps/generic/libgcc_s.h: Remove.
22301 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22302 libgcc_s.h.
22303 * sysdeps/gnu/unwind-resume.c: Likewise.
22304 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22305
aab39a09
DM
223062012-04-25 David S. Miller <davem@davemloft.net>
22307
22308 * sysdeps/unix/sparc/brk.S: Delete.
22309 * sysdeps/unix/sparc/dl-brk.S: Delete.
22310 * sysdeps/unix/sparc/pipe.S: Delete.
22311 * sysdeps/unix/sparc/sysdep.S: Delete.
22312 * sysdeps/unix/sparc/sysdep.h: Delete.
22313 * sysdeps/unix/sparc/vfork.S: Delete.
22314 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22315 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22316 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22317 ret_ERRVAL, r0, r1, MOVE): Define.
22318 (JUMPTARGET): Remove.
22319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22320 sysdeps/unix/sparc/sysdep.h
22321 (ENTRY, END): Remove.
22322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22323
a3cc4f48
JM
223242012-04-25 Joseph Myers <joseph@codesourcery.com>
22325
2ed8cda2
JM
22326 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22327 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22328 -DIS_IN_build.
22329
35d76d59
JM
22330 * timezone/README: Update upstream location and email address for
22331 tzcode and tzdata.
22332 * timezone/zdump.c: Update from tzcode 2012b.
22333 * timezone/zic.c: Likewise.
22334
a3cc4f48
JM
22335 * configure.in (libc_cv_as_needed): Remove test.
22336 * configure: Regenerated.
22337 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22338 conditional definition.
22339 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22340 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22341 * config.make.in (have-as-needed): Remove variable.
22342
ceab42c3
SP
223432012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22344 Paul Pluzhnikov <ppluzhnikov@google.com>
22345
22346 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22347 strings correctly.
22348
3ce2865f
CLT
223492012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22350
22351 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22352 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22353 * sysdeps/sh/strlen.S: Likewise.
22354
f37e0d68
JM
223552012-04-24 Joseph Myers <joseph@codesourcery.com>
22356
ae186e9a
JM
22357 * sysdeps/unix/fork.S: Remove file.
22358 * sysdeps/unix/i386/fork.S: Likewise.
22359 * sysdeps/unix/sparc/fork.S: Likewise.
22360
b96914af
JM
22361 * sysdeps/unix/system.c: Remove file.
22362 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22363
f37e0d68
JM
22364 * sysdeps/unix/getegid.S: Remove file.
22365 * sysdeps/unix/geteuid.S: Likewise.
22366
87ef29ca
RM
223672012-04-24 Roland McGrath <roland@hack.frob.com>
22368
83bcd236
RM
22369 * scripts/check-localplt.awk: New file.
22370 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22371 of diff.
22372 * scripts/data/localplt-generic.data: Add a comment.
22373
87ef29ca
RM
22374 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22375 NODE when __dir_mkfile failed.
22376 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22377 Reported by Ludovic Courtès <ludo@gnu.org>.
22378
e5a6e567
AJ
223792012-04-24 Andreas Jaeger <aj@suse.de>
22380
22381 * Makerules (common-clean): Also remove gen-as-const-headers
22382 files.
22383
c1820385
JM
223842012-04-24 Joseph Myers <joseph@codesourcery.com>
22385
22386 * Makerules (native-compile): Do not change working directory for
22387 build. Use $(OUTPUT_OPTION) in command.
22388 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22389
94e02fc4
AZ
223902012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22391
22392 [BZ #13886]
22393 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22394 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22395 * math/libm-test.inc (floor_test): Add more tests.
22396 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22397
3a533ca3
JM
223982012-04-24 Joseph Myers <joseph@codesourcery.com>
22399
940ab4b3
JM
22400 * sysdeps/unix/getdents.c: Remove file.
22401 * sysdeps/unix/sysv/getdents.c: Likewise.
22402 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22403
90e037bd
JM
22404 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22405 sysdeps/unix/mman/syscalls.list.
22406 (mmap): Likewise.
22407 (mprotect): Likewise.
22408 (msync): Likewise.
22409 (munmap): Likewise.
22410 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22411 * sysdeps/unix/mman/syscalls.list: Remove.
22412 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22413
3a533ca3
JM
22414 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22415 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22416 * configure: Regenerated.
22417 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22418 $(libgcc_s_suffix).
22419 * config.make.in (libgcc_s_suffix): Remove variable.
22420
1ad743de
JM
224212012-04-23 Joseph Myers <joseph@codesourcery.com>
22422
4ad451e2
JM
22423 * sysdeps/unix/sysv/gethostname.c: Move to ...
22424 * sysdeps/posix/gethostname.c: ... here.
22425
5e37ce39
JM
22426 * sysdeps/unix/execve.S: Remove file.
22427
1ad743de
JM
22428 * sysdeps/unix/_exit.S: Remove file.
22429
4e681b5b
AJ
224302012-04-23 Andreas Jaeger <aj@suse.de>
22431
22432 [BZ #13739]
22433 * manual/Makefile: Remove make dist support, there's no
22434 need for a stand-alone documentation tar ball.
22435 (TEXI2DVI): Define always, it's not in Makeconfig.
22436 (dist): Removed.
22437 (tar-it): Removed.
22438 (edition): Removed.
22439 (glibc-doc-$(edition).tar): Removed
22440 (%.Z): Removed.
22441 (%.gz): Removed.
22442 (%.uu): Removed.
22443 (ETAGS): Remove, it's in Makeconfig.
22444 (move-if-change): Remove, it's in Makeconfig.
22445
38686a03 224462012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
22447
22448 [BZ #13970]
22449 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22450 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22451 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22452 (strtod_l, strtof_l, strtold_l): Remove __wur.
22453 It is not necessarily an error to ignore strtol's return value.
22454 One can reliably look at the stored endptr to decide whether
22455 the number had valid syntax.
22456
7c0616fa
AJ
224572012-04-21 Andreas Jaeger <aj@suse.de>
22458
803cb6b7 22459 [BZ #13739]
7c0616fa
AJ
22460 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22461
b0fe253f
JM
224622012-04-21 Joseph Myers <joseph@codesourcery.com>
22463
22464 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22465 * sysdeps/unix/sysv/Versions: Remove file.
22466
8280f22d
MT
224672012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22468
22469 [BZ #13927]
22470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22471
75ce411f 224722012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
22473
22474 [BZ #7064]
22475 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22476 version from __vm86.
22477
097d59fa
JM
224782012-04-20 Joseph Myers <joseph@codesourcery.com>
22479
a90f3bcb
JM
22480 * sysdeps/unix/common/lxstat.c: Remove file.
22481 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22482
edc7ea78
JM
22483 * sysdeps/unix/sysv/Makefile: Remove file.
22484
cb78c221
JM
22485 * sysdeps/unix/sysv/direct.h: Remove file.
22486
efa6a45f
JM
22487 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22488 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22489 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22490 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22491 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22492 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22493 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22494
9c9f2d0c
JM
22495 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22496
4541c83b
JM
22497 * sysdeps/unix/xmknod.c: Remove file.
22498 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22499
f5d153a0
JM
22500 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22501
aa746595
JM
22502 * sysdeps/unix/sysv/i386/time.S: Remove file.
22503
cce5905e
JM
22504 * sysdeps/unix/fxstat.c: Remove file.
22505 * sysdeps/unix/xstat.c: Likewise.
22506 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22507
37fa3841
JM
22508 * sysdeps/unix/sysv/sigaction.c: Remove file.
22509
ff1962a3
JM
22510 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22511 (sysdep_headers): Remove variable.
22512 [termio.h not in sysdep_headers] (generated): Likewise.
22513 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22514 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22515 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22516 * sysdeps/unix/sysv/tcflow.c: Likewise.
22517 * sysdeps/unix/sysv/tcflush.c: Likewise.
22518 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22519 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22520 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22521 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22522 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22523
e7740d31
JM
22524 * sysdeps/unix/siglist.c: Remove file.
22525
ee06f18b
JM
22526 * sysdeps/unix/getppid.S: Remove file.
22527
097d59fa
JM
22528 * sysdeps/unix/mkdir.c: Remove file.
22529 * sysdeps/unix/rmdir.c: Likewise.
22530
ff3d51ec
AS
225312012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22532
22533 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22534 ERR_MAX value.
22535 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22536 errlist-compat value.
22537
50f81fd7
DM
225382012-04-18 David S. Miller <davem@davemloft.net>
22539
22540 * sysdeps/generic/memcopy.h (reg_char): Delete.
22541 * debug/strcat_chk.c: Use char, not reg_char.
22542 * debug/strcpy_chk.c: Likewise.
22543 * debug/strncat_chk.c: Likewise.
22544 * debug/strncpy_chk.c: Likewise.
22545 * string/memchr.c: Likewise.
22546 * string/memrchr.c: Likewise.
22547 * string/rawmemchr.c: Likewise.
22548 * string/strcat.c: Likewise.
22549 * string/strchr.c: Likewise.
22550 * string/strchrnul.c: Likewise.
22551 * string/strcmp.c: Likewise.
22552 * string/strcpy.c: Likewise.
22553 * string/strncat.c: Likewise.
22554 * string/strncmp.c: Likewise.
22555 * string/strncpy.c: Likewise.
22556
8ff41c46
WS
225572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22558
22559 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22560 __builtin_memcopy is called when src and dest ranges are known to not
22561 overlap.
22562
6b652f46
WS
225632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22564
22565 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22566 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22567 fwd_align_merge macro call.
22568 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22569 bwd_align_merge macro call.
22570 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22571
b282631e
WS
225722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22573
22574 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22575 bwd_align_merge macros.
22576 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22577 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22578 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22579
95aa737c
DM
225802012-04-18 David S. Miller <davem@davemloft.net>
22581
22582 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22583
7a99a614
AJ
225842012-04-18 Andreas Jaeger <aj@suse.de>
22585
22586 [BZ# 6794]
22587 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22588 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22589 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22590
22591 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22592 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22593 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22594
22595 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22596 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22597 Adjust for changed ldbl-128 files.
22598
22599 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22600 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22601 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22602
e5270c23
DM
226032012-04-17 David S. Miller <davem@davemloft.net>
22604
22605 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22606
fb5e92c9
AS
226072012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22608
22609 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22610 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22611 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22612 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22613 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22614 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22615
76da7265
AZ
226162012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22617
22618 [BZ #6794]
22619 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22620 * math/libm-test.inc: Add ilogb errno and exception tests.
22621 * math/w_ilogb.c: New file: ilogb wrapper.
22622 * math/w_ilogbf.c: New file: ilogbf wrapper.
22623 * math/w_ilogbl.c: New file: ilogbl wrapper.
22624 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22625 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22626 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22627 exception being thrown with 0.0 as argument.
22628 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22629 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22630 exception being thrown with 0.0 as argument.
22631 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22632 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22633 exception being thrown with 0.0 as argument.
22634 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22635 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22636 exception being thrown with 0.0 as argument.
22637 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22638 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 22639 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
22640 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22641 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22642 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22643 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22644 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22645 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22646
0396e69d
PB
226472012-04-17 Petr Baudis <pasky@ucw.cz>
22648
22649 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22650 with altivec.
22651
750b5926
MP
226522012-04-16 Marek Polacek <polacek@redhat.com>
22653
22654 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22655
751728a1
MP
226562012-04-16 Marek Polacek <polacek@redhat.com>
22657
22658 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22659 operands of fdivp instruction.
22660
34a27407
L
226612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22662
22663 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22664 * elf/tst-auditmod3b.c: Likewise.
22665 * elf/tst-auditmod4b.c: Likewise.
22666 * elf/tst-auditmod5b.c: Likewise.
22667 * elf/tst-auditmod6b.c: Likewise.
22668 * elf/tst-auditmod6c.c: Likewise.
22669 * elf/tst-auditmod7b.c: Likewise.
22670 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22671 * sysdeps/x86_64/preconfigure.in: Likewise.
22672 * sysdeps/x86_64/preconfigure: Regenerated.
22673
7e73e17d
L
226742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22675
22676 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22677 __ILP32__.
22678
c7a6ab72
AB
226792012-04-13 Antoine Balestrat <merkil33@gmail.com>
22680
22681 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22682 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22683
a9e8e0e0
CL
226842012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22685
22686 [BZ #13973]
22687 * locale/iso-639.def: Fix gl language name. Spotted by
22688 Yaron Shahrabani.
22689
ec98af7d
RM
226902012-04-12 Roland McGrath <roland@hack.frob.com>
22691
22692 [BZ #2074]
22693 * libio/libio.h (__io_write_fn): Update comment.
22694
247c3ede
PB
226952012-04-12 Petr Baudis <pasky@ucw.cz>
22696
22697 [BZ #2074]
22698 * stdio.texi (Hook Functions): The user provided writer function
22699 is not allowed to return -1.
22700
55939d6d
DM
227012012-04-11 David S. Miller <davem@davemloft.net>
22702
22703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22704
90020f5a
MF
227052012-04-11 Mike Frysinger <vapier@gentoo.org>
22706
22707 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22708 Add a leading slash to rtkaio.
22709
288f9098
JM
227102012-04-11 Jim Meyering <meyering@redhat.com>
22711
90020f5a
MF
22712 [BZ #11959]
22713 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22714 It is not necessarily an error to ignore fwrite's return
22715 value. One can reliably use ferror to test for errors after
22716 the fact.
288f9098 22717
4be2b570
L
227182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22719
22720 * bits/types.h (__snseconds_t): New type.
22721 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22722
22723 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22724 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22725 (__SNSECONDS_T_TYPE): Likewise.
22726 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22727 (__SNSECONDS_T_TYPE): Likewise.
22728 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22729 (__SNSECONDS_T_TYPE): Likewise.
22730
288f9098 227312012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22732
22733 [BZ #2636]
22734 * manual/time.texi (Processor Time): Return type of times is
22735 elapsed real time since an arbitrary point in the past.
22736 (CPU Time): Move CLK_TCK from here...
22737 (Processor Time): ...to here. Correct description.
22738 * manual/conf.texi (Constants for Sysconf): Correct description of
22739 _SC_CLK_TCK.
22740
d7dd4413
DM
227412012-04-10 David S. Miller <davem@davemloft.net>
22742
22743 [BZ #13967]
22744 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22745 where the is a gap between DT_REL(A) and DT_JMPREL.
22746
b46068fc
L
227472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22748
22749 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22750 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22751 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22752
73d65cc3
SP
227532012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22754
22755 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22756 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22757 (dl_main): Handle --inhibit-cache.
22758 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22759 _dl_inhibit_cache.
22760 * elf/dl-load.c (_dl_map_object): Use it.
22761 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22762
bcc8d661
JM
227632012-04-09 Joseph Myers <joseph@codesourcery.com>
22764
8f9a2fae
JM
22765 [BZ #13872]
22766 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22767 (__ieee754_powl): Saturate large exponents rather than testing for
22768 overflow of y*log2(x).
22769 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22770 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22771 exceptions.
22772
bcc8d661
JM
22773 [BZ #11521]
22774 * math/s_ctan.c: Include <float.h>.
22775 (__ctan): Avoid internal overflow or cancellation in calculating
22776 denominator.
22777 * math/s_ctanf.c: Likewise.
22778 * math/s_ctanl.c: Likewise.
22779 * math/s_ctanh.c: Likewise.
22780 * math/s_ctanhf.c: Likewise.
22781 * math/s_ctanhl.c: Likewise.
22782 * math/libm-test.inc (ctan_test): Add more tests.
22783 (ctanh_test): Likewise.
22784 * sysdeps/i386/fpu/libm-test-ulps: Update.
22785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22786
823fbbb4
AJ
227872012-04-09 Andreas Jaeger <aj@suse.de>
22788
03879793
AJ
22789 [BZ #6894]
22790 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22791 is an optional BSD extension.
22792
823fbbb4
AJ
22793 [BZ #10254]
22794 * manual/stdio.texi (Opening Streams): Document additional fopen
22795 parameters.
22796
8de131cb
RM
227972012-04-09 Roland McGrath <roland@hack.frob.com>
22798
22799 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22800 %eax without telling the compiler.
22801
c0ed9d7d
CD
228022012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22803
22804 [BZ # 13963]
22805 * manual/install.texi: Use sourceware.org.
22806
c483f6b4
JM
228072012-04-09 Joseph Myers <joseph@codesourcery.com>
22808
d7dd9453
JM
22809 [BZ #13873]
22810 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22811 (__ieee754_pow): Generate overflow and underflow using huge*huge
22812 and tiny*tiny rather than just returning constant infinity or zero
22813 for large exponents.
22814 * math/libm-test.inc (pow_test): Require overflow exceptions for
22815 applicable cases of large exponents.
22816
c483f6b4
JM
22817 [BZ #706]
22818 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22819 (__ieee754_pow): Use iterative multiplication algorithm only for
22820 integer exponents with absolute value below 1024. Check for odd
22821 integer exponents when using algorithm for real exponents.
22822 * math/libm-test.inc (pow_test): Add more tests.
22823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22824
d2de7579
JM
228252012-04-08 Joseph Myers <joseph@codesourcery.com>
22826
22827 [BZ #13705]
22828 * math/libm-test.inc (exp_test): Do not allow overflow exception
22829 on underflow test.
22830
f77f1232
AJ
228312012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22832
22833 [BZ #13705]
22834 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22835 instead of __kernel_standard_f.
22836
3884932b
MF
228372012-04-08 Mike Frysinger <vapier@gentoo.org>
22838
22839 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22840 * sysdeps/x86_64/memset_chk.S: Likewise.
22841
54472e9c
AJ
228422012-04-08 Andreas Jaeger <aj@suse.de>
22843
6ab0fbfc
AJ
22844 [BZ #10153]
22845 * manual/startup.texi (Environment Access): Describe return value
22846 for putenv and setenv.
22847
61efba8c
AJ
22848 [BZ #6895]
22849 * manual/filesys.texi (Directory Entries): Add description for
22850 DT_LNK.
22851
95c3f29a
AJ
22852 [BZ #6890]
22853 * manual/filesys.texi (Directory Entries): Clarify that it's file
22854 system not operating system in the description of DT_UNKNOWN.
22855
54472e9c
AJ
22856 [BZ #6578]
22857 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22858
624254b1
SC
228592012-04-08 Stephen Compall <s11@member.fsf.org>
22860
22861 [BZ #6649]
22862 * manual/llio.texi (Opening and Closing Files): Add cross
22863 reference to explain mode argument.
22864
1e4920e0
MF
228652012-04-07 Mike Frysinger <vapier@gentoo.org>
22866
22867 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22868 * sysdeps/x86_64/memset_chk.S: Likewise.
22869
5ed848f3
DM
228702012-04-07 David S. Miller <davem@davemloft.net>
22871
22872 * elf/elf.h (R_SPARC_WDISP10): Define.
22873 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22874 R_SPARC_SIZE32.
22875 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22876 R_SPARC_SIZE64 and R_SPARC_H34.
22877
96154cd8
CD
228782012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22879
22880 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22881 conditions and remove no longer applicable assertion.
22882
9904dc47
L
228832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22884
22885 * bits/byteswap.h: Include <features.h>.
22886 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22887 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22888
f8887d0a
L
228892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22890
22891 * bits/byteswap.h (__bswap_16): Removed.
22892 Include <bits/byteswap-16.h> to get __bswap_16.
22893 * sysdeps/i386/bits/byteswap.h: Likewise.
22894 * sysdeps/s390/bits/byteswap.h: Likewise.
22895 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22896 * bits/byteswap-16.h: New file.
22897 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22898 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22899 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22900 * string/Makefile (headers): Add bits/byteswap-16.h.
22901
62470f60
PP
229022012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22903
22904 [BZ #13895]
22905 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22906 extra indirection.
22907 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22908 * nss/tst-nss-static.c: New.
22909
4dad7bab
RM
229102012-04-06 Robert Millan <rmh@gnu.org>
22911
22912 [BZ #6486]
22913 * manual/llio.texi (File Position Primitive): lseek
22914 refers to WHENCE when it really means OFFSET.
22915
e9142a17
AJ
229162012-04-06 Andreas Jaeger <aj@suse.de>
22917
2c040eff
AJ
22918 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22919 strncmp declarations.
22920
e9142a17
AJ
22921 * abilist/libc.abilist: Add __poll and __ppoll.
22922
ff9f1c5f
DM
229232012-04-05 David S. Miller <davem@davemloft.net>
22924
dcd2ae90
DM
22925 * scripts/check-local-headers.sh: Accept a host triplet in the
22926 path matched by the exclude regexp.
22927
993eb054
DM
22928 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22929 definition.
22930 * sysdeps/powerpc/powerpc32/dl-machine.h
22931 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22932 * sysdeps/s390/s390-32/dl-machine.h
22933 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22934 * sysdeps/sparc/sparc32/dl-machine.h
22935 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22936 * sysdeps/sparc/sparc64/dl-machine.h
22937 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22938
ff9f1c5f
DM
22939 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22940 lazy binding.
48e2e132 22941 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22942 undefined symbol errors.
22943
48e2e132 22944 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22945 DT_NEEDED entries.
22946
e80d6f94
MM
229472012-04-05 Michael Matz <matz@suse.de>
22948
22949 [BZ #13592]
22950 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22951
349fa79f
AJ
229522012-04-05 Andreas Jaeger <aj@suse.de>
22953
22954 [BZ #13908]
22955 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22956 comment.
22957
f402708f
KK
229582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22959
22960 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22961 which ROUND is no valid rounding mode.
22962
2ecccfc9
KK
229632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22964
22965 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22966 read again.
22967 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22968
8a53f50f
KK
229692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22970
22971 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22972 an exception using FPU order intentionally.
22973
229742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22975
22976 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22977 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22978 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22979 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22980
d653abb7
SJ
229812012-04-05 Simon Josefsson <simon@josefsson.org>
22982
22983 [BZ #12340]
22984 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22985 EINVAL when BUFLEN is too smal.
22986
c3b1bf7d
TS
229872012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22988
22989 [BZ #13553]
22990 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22991 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22992
b1aa60f3
AJ
229932012-04-03 Andreas Jaeger <aj@suse.de>
22994
c3b1bf7d 22995 [BZ #13938]
67f60a26
AJ
22996 * manual/setjmp.texi (System V contexts): Fix sentence.
22997
b1aa60f3
AJ
22998 [BZ #13926]
22999 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23000 New macro for this case.
23001 [!__GNUC__] (__bswap_64): New inline function for this case.
23002 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23003 * bits/byteswap.h: Likewise.
23004 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23005 ull, guard with __GLIBC_HAVE_LONG_LONG.
23006
23007 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23008 __GLIBC_HAVE_LONG_LONG.
23009
23010 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23011 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23012
39c59c35
TMQMF
230132012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23014
23015 [BZ #13691]
23016 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23017 inptr and inend, rather than using last_ch.
23018
135ffda8
DM
230192012-04-02 David S. Miller <davem@davemloft.net>
23020
23021 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23022 * stdio-common/printf-parse.h (read_int): Change return type to
23023 'int', return -1 on INT_MAX overflow.
23024 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23025 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23026 overflows INT_MAX. Check for overflow of in-format-string precision
23027 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23028 SIZE_MAX not INT_MAX for integer overflow test.
23029 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23030 skip the construct in the format string but do not record anything.
23031 * stdio-common/bug22.c: Adjust to test both width/prevision
23032 INT_MAX overflow as well as total length INT_MAX overflow. Check
23033 explicitly for proper errno values.
23034
228c019e
TS
230352012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23036
302cadd3
TS
23037 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23038 CHAR_MAX.
23039 * string/test-strcmp.c [! WIDE]: Likewise.
23040 * time/tst-mktime2.c: Likewise for INT_MAX.
23041 * string/test-string.h: #include <sys/param.h> for MIN.
23042
228c019e
TS
23043 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23044 * sysdeps/i386/init-first.c (init): Likewise.
23045 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23046 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23047 * sysdeps/sh/init-first.c (init): Likewise.
23048
cfa633f5
UD
230492012-04-01 Ulrich Drepper <drepper@gmail.com>
23050
23051 * po/ru.po: Update from translation team.
d1635ef8 23052 * po/vi.po: Likewise.
cfa633f5 23053
6cd0a5ea
SP
230542012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23055
23056 * resolv/nss_dns/dns-host.c: Merge copyright years.
23057
4b43400f
LD
230582012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23059
23060 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23061 Optimize memcpy with prefetch if
23062 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23063 src, dst pointers have unequal 16 byte alignments.
23064
48c41d04
SP
230652012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23066
23067 [BZ #13928]
23068 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23069 from a CNAME entry and return the minimum ttl for the query.
23070 (gaih_getanswer_slice): Likewise.
23071
b8dc394d
JL
230722012-03-30 Jeff Law <law@redhat.com>
23073
23074 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23075 due to long keys.
23076 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23077 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23078
2f5a5ed0
JL
23079 * resolv/nss_dns/dns-host.c: Update copyright year.
23080
1d39e359
UD
230812012-03-30 Ulrich Drepper <drepper@gmail.com>
23082
c030f70c 23083 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 23084 requests to save a system call. Fix check that all bytes are sent.
c030f70c 23085
1d39e359
UD
23086 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23087 comments for sendmmsg.
23088
230892012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
23090
23091 [BZ #13691]
23092 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23093 with only 1 character between 0x0041 and 0x01b0.
23094 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23095 * wcsmbs/tst-mbsnrtowcs.c: New file.
23096
20fde227
DM
230972012-03-29 David S. Miller <davem@davemloft.net>
23098
23099 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23100 small copies by hand.
23101
984a4237
JL
231022012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23103
23104 [BZ #13761]
23105 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23106 _nss_compat_initgroups_dyn): Fall back to malloc/free
23107 for large group memberships.
23108
18c9d62b
DM
231092012-03-28 David S. Miller <davem@davemloft.net>
23110
88d85d4f
DM
23111 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23112 that branches into memcpy.
23113 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23114 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23115 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23116 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23117 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23118 bits.
23119 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23120 implementation too.
23121 * sysdeps/sparc/mempcpy.S: New file.
23122
e5aa83e1
DM
23123 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23124 the IFUNC routine in the libc case.
23125 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23126
88570753
DM
23127 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23128 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23129 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23130 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23131 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23132 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23133 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23134 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23135
249d7567
DM
23136 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23137 loop to 256 bytes instead of 64 bytes and fix test signedness.
23138
18c9d62b
DM
23139 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23140 * sysdeps/sparc/sparc32/Makefile: rather than here...
23141 * sysdeps/sparc/sparc64/Makefile: and here.
23142
05f3d1f6
UD
231432012-03-28 Ulrich Drepper <drepper@gmail.com>
23144
23145 * malloc/mallocbug.c: Avoid warnings about unused variables.
23146
86ae07a8
JL
231472012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23148
23149 [BZ #13760]
23150 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23151 in the right place. Discard and retry query if response is
23152 larger than input buffer size.
23153
41bf21a1
JM
231542012-03-28 Joseph Myers <joseph@codesourcery.com>
23155
d6270972
JM
23156 [BZ #369]
23157 [BZ #2678]
23158 [BZ #3866]
23159 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23160 x for large integer exponent.
23161 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23162 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23163 sign of result as needed afterwards.
23164 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23165 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23166 result for underflowing pow the same as for overflow.
23167 (__kernel_standard_l): Handle powl overflow and underflow here
23168 rather than calling __kernel_standard.
23169 * math/libm-test.inc (pow_test): Add more tests.
23170
414fca03 23171 [BZ #3868]
41bf21a1
JM
23172 [BZ #13879]
23173 [BZ #13910]
23174 [BZ #13911]
23175 [BZ #13912]
23176 [BZ #13913]
23177 [BZ #13915]
23178 [BZ #13916]
23179 [BZ #13917]
23180 [BZ #13918]
23181 [BZ #13919]
23182 [BZ #13920]
23183 [BZ #13921]
23184 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23185 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23186 (__kernel_standard_l): New function.
23187 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23188 __kernel_standard.
23189 * math/w_acosl.c (__acosl): Likewise.
23190 * math/w_asinl.c (__asinl): Likewise.
23191 * math/w_atan2l.c (__atan2l): Likewise.
23192 * math/w_atanhl.c (__atanhl): Likewise.
23193 * math/w_coshl.c (__coshl): Likewise.
23194 * math/w_exp10l.c (__exp10l): Likewise.
23195 * math/w_exp2l.c (__exp2l): Likewise.
23196 * math/w_fmodl.c (__fmodl): Likewise.
23197 * math/w_hypotl.c (__hypotl): Likewise.
23198 * math/w_j0l.c (__j0l, __y0l): Likewise.
23199 * math/w_j1l.c (__j1l, __y1l): Likewise.
23200 * math/w_jnl.c (__jnl, __ynl): Likewise.
23201 * math/w_lgammal.c (__lgammal): Likewise.
23202 * math/w_log10l.c (__log10l): Likewise.
23203 * math/w_log2l.c (__log2l): Likewise.
23204 * math/w_logl.c (__logl): Likewise.
23205 * math/w_powl.c (__powl): Likewise.
23206 * math/w_remainderl.c (__remainderl): Likewise.
23207 * math/w_scalbl.c (sysv_scalbl): Likewise.
23208 * math/w_sinhl.c (__sinhl): Likewise.
23209 * math/w_sqrtl.c (__sqrtl): Likewise.
23210 * math/w_tgammal.c (__tgammal): Likewise.
23211 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23212 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23213 * math/libm-test.inc (acos_test): Add more tests.
23214 (acosh_test): Likewise.
23215 (asin_test): Likewise.
23216 (atanh_test): Likewise.
23217 (exp_test): Likewise.
23218 (exp10_test): Likewise.
23219 (exp2_test): Likewise.
23220 (expm1_test): Likewise.
23221 (lgamma_test): Likewise.
23222 (log_test): Likewise.
23223 (log10_test): Likewise.
23224 (log1p_test): Likewise.
23225 (log2_test): Likewise.
23226 (pow_test): Do not allow some spurious overflow exceptions.
23227 (sqrt_test): Add more tests.
23228 (tgamma_test): Likewise.
23229 (y0_test): Likewise.
23230 (y1_test): Likewise.
23231 (yn_test): Likewise.
23232
dd62fda6
AB
232332012-03-27 Anton Blanchard <anton@samba.org>
23234
23235 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23236 MAP_HUGETLB.
23237 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23238 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23239 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23240
1e3cdfda
AJ
232412012-03-27 David S. Miller <davem@davemloft.net>
23242
b855ab85
DM
23243 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23244
1e3cdfda
AJ
23245 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23246 have-as-vis3 check.
23247
232482012-03-27 Andreas Jaeger <aj@suse.de>
23249
23250 * sysdeps/x86_64/elf/configure.in: Moved to ...
23251 * sysdeps/x86_64/configure.in: ... here.
23252 * sysdeps/x86_64/elf/start.S: Moved to ...
23253 * sysdeps/x86_64/start.S: ... here.
23254 * sysdeps/x86_64/elf/configure: Delete.
23255
23256 * sysdeps/x86_64/configure.in: Merge contents from
23257 sysdeps/i386/configure.in (without i686 check).
23258
23259 * sysdeps/i386/elf/Versions: Merge into ...
23260 * sysdeps/i386/Versions: ... this.
23261 * sysdeps/i386/elf/Versions: Delete file.
23262 * sysdeps/i386/elf/start.S: Moved to ...
23263 * sysdeps/i386/start.S: ...here.
23264 * sysdeps/i386/elf/configure.in: Merge into...
23265 * sysdeps/i386/configure.in: ...here.
23266 * sysdeps/i386/elf/configure.in: Delete file.
23267 * sysdeps/i386/elf/configure: Delete file.
23268
23269 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23270 * debug/backtracesyms.c: ... here.
23271 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23272 * debug/backtracesymsfd.c: ... here.
23273 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23274 * sysdeps/generic/ifunc-sel.h: ... here.
23275
23276 * sysdeps/unix/i386/start.c: Delete file.
23277 * sysdeps/unix/sparc/start.c: Delete file.
23278 * sysdeps/unix/start.c: Delete file.
23279
23280 * sysdeps/sh/elf/configure.in: Moved to ...
23281 * sysdeps/sh/configure.in: ... here.
23282 * sysdeps/sh/elf/start.S: Moved to ...
23283 * sysdeps/sh/start.S: ... here.
23284 * sysdeps/sh/elf/configure: Delete file.
23285
23286 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23287 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23288 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23289 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23290 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23291 * sysdeps/powerpc/powerpc64/start.S: here.
23292 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23293 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23294 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23295 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23296 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23297
23298 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23299 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23300 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23301 * sysdeps/powerpc/powerpc32/start.S: ... here.
23302 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23303 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23304 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23305
23306 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23307 * sysdeps/powerpc/ifunc-sel.h: ... here.
23308 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23309 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23310
23311 * sysdeps/sparc/elf/configure.in: Moved to ...
23312 * sysdeps/sparc/configure.in: ... here.
23313 * sysdeps/sparc/elf/configure: Delete file.
23314 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23315 * sysdeps/sparc/sparc32/start.S: ... here.
23316 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23317 * sysdeps/sparc/sparc64/start.S: ... here.
23318 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23319 * sysdeps/sparc/sparc32/Makefile: ... this.
23320 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23321 * sysdeps/sparc/sparc64/Makefile: ... this.
23322
23323 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23324 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23325 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23326 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23327 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23328 * sysdeps/s390/s390-32/setjmp.S: ... here.
23329 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23330 * sysdeps/s390/s390-32/configure.in: ... here.
23331 * sysdeps/s390/s390-32/elf/configure: Delete file.
23332 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23333 * sysdeps/s390/s390-32/start.S: ... here.
23334
23335 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23336 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23337 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23338 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23339 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23340 * sysdeps/s390/s390-64/setjmp.S: ... here.
23341 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23342 * sysdeps/s390/s390-64/configure.in: ... here
23343 * sysdeps/s390/s390-64/elf/configure: Delete file.
23344 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23345 * sysdeps/s390/s390-64/start.S: ... here.
23346 * sysdeps/s390/s390-64/elf/configure: Delete.
23347
23348 * configure.in: Remove support for elf directories in sysdeps.
23349
23350 * configure: Regenerated.
23351 * sysdeps/i386/configure: Regenerated.
23352 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23353 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23354 * sysdeps/s390/s390-32/configure: Regenerated.
23355 * sysdeps/s390/s390-64/configure: Regenerated.
23356 * sysdeps/sh/configure: Regenerated.
23357 * sysdeps/sparc/configure: Regenerated.
23358 * sysdeps/x86_64/configure: Regenerated.
23359
a3f61311
AS
233602012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23361
c876e002
AS
23362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23363
a3f61311
AS
23364 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23365 denormal result into account.
23366
ac4c54f0
RM
233672012-03-25 Roland McGrath <roland@hack.frob.com>
23368
23369 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23370 Reported by Allan McRae <allan@archlinux.org>.
23371
6a9b9c02
JL
233722012-03-23 Jeff Law <law@redhat.com>
23373
23374 * nss/getnssent.c (__nss_getent): Fix typo.
23375
4c42a0c1
DM
233762012-03-23 David S. Miller <davem@davemloft.net>
23377
23378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23379
1532c7ac
L
233802012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23381
23382 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23383 to pad to uint64_t for each field.
23384 (dl_tls_index): Replace unsigned long with uint64_t.
23385
3ff42526
PP
233862012-03-23 Daniel Jacobowitz <dmj@google.com>
23387 Paul Pluzhnikov <ppluzhnikov@google.com>
23388
23389 [BZ #6528]
23390 * grp/Makefile (otherlibs): Don't set it.
23391 * inet/Makefile (otherlibs): Likewise.
23392 * login/Makefile (otherlibs): Likewise.
23393 * nscd/Makefile (otherlibs): Likewise.
23394 * posix/Makefile (otherlibs): Likewise.
23395 * pwd/Makefile (otherlibs): Likewise.
23396 * rt/Makefile (otherlibs): Likewise.
23397 * sunrpc/Makefile (otherlibs): Likewise.
23398 * nss/Makefile (otherlibs): Likewise.
23399 Add libnss_files to routines and static-only-routines.
23400 ($(objpfx)getent): Remove rule.
23401 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23402 static-only-routines.
23403
7c69cd14
JM
234042012-03-22 Joseph Myers <joseph@codesourcery.com>
23405
23406 [BZ #13892]
23407 * math/s_cexp.c: Include <float.h>.
23408 (__cexp): Handle exp result overflowing not necessarily
23409 overflowing both real and imaginary parts of result.
23410 * math/s_cexpf.c: Likewise.
23411 * math/s_cexpl.c: Likewise.
23412 * math/libm-test.inc (cexp_test): Add more tests.
23413 * sysdeps/i386/fpu/libm-test-ulps: Update.
23414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23415
81b035fe
L
234162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23417
23418 * include/link.h (ELFW): New macro.
23419 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23420 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23421
1da7940c
L
234222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23423
23424 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23425 with uint64_t.
23426
b749dbb9
L
234272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23428
23429 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23430 declaration.
23431 (struct La_x32_retval): Likewise.
23432
2ff87f3f
L
234332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23434
23435 * sysdeps/x86_64/preconfigure.in: New file.
23436 * sysdeps/x86_64/preconfigure: New generated file.
23437
c0df8e69
JM
234382012-03-22 Joseph Myers <joseph@codesourcery.com>
23439
48e44791
JM
23440 [BZ #13824]
23441 * math/e_exp2l.c: Include <float.h>.
23442 (__ieee754_exp2l): Handle overflow and underflow cases
23443 separately. Only pass fractional part of argument to
23444 __ieee754_expl.
23445 * math/libm-test.inc (exp2_test): Add more tests.
23446
c0df8e69
JM
23447 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23448 negating x to take absolute value.
23449 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23450 Likewise.
23451 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23452 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23453 Likewise.
23454 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23455 computing low part if x was negated.
23456 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23457
c8e43ba7
L
234582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23459
23460 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23461 la_x32_gnu_pltexit.
23462 (pltexit): Cast int_retval to ptrdiff_t.
23463 * elf/tst-auditmod3b.c: Likewise.
23464 * elf/tst-auditmod4b.c: Likewise.
23465 * elf/tst-auditmod5b.c: Likewise.
23466 * elf/tst-auditmod6b.c: Likewise.
23467 * elf/tst-auditmod6c.c: Likewise.
23468 * elf/tst-auditmod7b.c: Likewise.
23469
23470 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23471 and x32_gnu_pltexit.
23472
23473 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23474 __ELF_NATIVE_CLASS.
23475 (La_x32_regs): New macro.
23476 (La_x32_retval): Likewise.
23477 (la_x32_gnu_pltenter): New function prototype.
23478 (la_x32_gnu_pltexit): Likewise.
23479
7998fa78
AS
234802012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23481
dcb33988
AS
23482 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23483 exponent.
23484
233fc563
AS
23485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23486
7998fa78
AS
23487 * configure.in (libc_cv_cc_nofma): Check for option to disable
23488 generation of FMA instructions.
23489 * configure: Regenerate.
23490 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23491 * sysdeps/ieee754/dbl-64/Makefile: New file.
23492 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23493 Remove brandred-fma4.
23494 (CFLAGS-brandred-fma4.c): Remove.
23495 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23496 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23497 define.
23498 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23499 define.
23500
8e95c99a
L
235012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23502
23503 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23504 LLONG_MAX != LONG_MAX.
23505 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23506 (_fitoa_word): Likewise.
23507 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23508 LLONG_MAX != LONG_MAX.
23509 * stdio-common/_itowa.h: Include <_itoa.h>.
23510 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23511 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23512 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23513 only if not defined.
23514 (_ITOA_WORD_TYPE): Likewise.
23515 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23516 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23517
6f4db457
DM
235182012-03-21 David S. Miller <davem@davemloft.net>
23519
23520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23521
7785fe5a
L
235222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23523
23524 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23525 of x86_64 when setting libc_cv_slibdir, libdir and
23526 libc_cv_localedir.
23527 * sysdeps/unix/sysv/linux/configure: Regenerated.
23528
4535cd55
JM
235292012-03-21 Joseph Myers <joseph@codesourcery.com>
23530
23531 * manual/lang.texi (Old Varargs): Remove section.
23532 (How Variadic): Update menu.
23533 (va_start): Do not mention varargs.h.
23534
17228132
TS
235352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23536 Joseph Myers <joseph@codesourcery.com>
23537
23538 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23539 link test.
23540 * configure: Regenerated.
23541
8149f976
TS
235422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23543
05f3d1f6
UD
23544 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23545 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23546 conformtest.pl
8149f976 23547
1a4ac776
JM
235482012-03-21 Joseph Myers <joseph@codesourcery.com>
23549
be22ce65
JM
23550 * NOTES: Remove.
23551 * Makefile (files-for-dist): Remove NOTES.
23552 (NOTES): Remove rule.
23553 * README: Don't refer to NOTES.
23554 * manual/creature.texi: Don't include macros.texi.
23555 * manual/intro.texi (creature.texi): Remove comment referring to
23556 NOTES.
23557
40b601fb
JM
23558 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23559 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23560 * configure: Regenerated.
23561 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23562 LIBC_TRY_CC_OPTION.
23563 (libc_cv_as_i686): Likewise.
23564 (libc_cv_cc_avx): Likewise.
23565 (libc_cv_cc_sse2avx): Likewise.
23566 (libc_cv_cc_fma4): Likewise.
23567 (libc_cv_cc_novzeroupper): Likewise.
23568 * sysdeps/i386/configure: Regenerated.
23569
1a4ac776
JM
23570 [BZ #13883]
23571 * sysdeps/i386/fpu/s_cexp.S: Remove.
23572 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23573 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23574 * math/libm-test.inc (cexp_test): Add more tests.
23575 * sysdeps/i386/fpu/libm-test-ulps: Update.
23576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23577
a458e7fe
AM
235782012-03-21 Allan McRae <allan@archlinux.org>
23579
23580 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23581
0cb7efc5
JM
235822012-03-21 Joseph Myers <joseph@codesourcery.com>
23583
23584 [BZ #13871]
23585 * math/w_exp2.c: Do not include <float.h>.
23586 (o_threshold, u_threshold): Remove.
23587 (__exp2): Calculate result before checking finiteness and calling
23588 __kernel_standard.
23589 * math/w_exp2f.c: Likewise.
23590 * math/w_exp2l.c: Likewise.
23591 * math/libm-test.inc (exp2_test): Require overflow exception for
23592 1e6 input.
2460d3aa
JM
23593
23594 [BZ #3866]
23595 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23596 range of signed 64-bit integers before using fistpll. Remove
23597 checks for whether integers fit in mantissa bits.
23598 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23599 the range of signed 32-bit integers before using fistpl. Remove
23600 checks for whether integers fit in mantissa bits.
23601 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23602 (__ieee754_powl): Test for y outside the range of signed 64-bit
23603 integers before using fistpll. Reduce 64-bit values to 63-bit
23604 ones as needed.
23605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23606 divide-by-zero is raised for zero to large negative powers.
23607 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23608 (__ieee754_powl): Test for y outside the range of signed 64-bit
23609 integers before using fistpll. Reduce 64-bit values to 63-bit
23610 ones as needed.
23611 * math/libm-test.inc (pow_test): Add more tests.
23612
eb96ffb0
L
236132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23614
23615 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23616 <stdio-common/_itoa.h>.
23617 * debug/segfault.c: Likewise.
23618 * elf/dl-cache.c: Likewise.
23619 * elf/dl-minimal.c: Likewise.
23620 * elf/dl-misc.c: Likewise.
23621 * elf/dl-sysdep.c: Likewise.
23622 * elf/dl-version.c: Likewise.
23623 * elf/rtld.c: Likewise.
23624 * hurd/hurdsock.c: Likewise.
23625 * hurd/lookup-retry.c: Likewise.
23626 * malloc/malloc.c: Likewise.
23627 * malloc/mtrace.c: Likewise.
23628 * nscd/nscd_getgr_r.c: Likewise.
23629 * nscd/nscd_getpw_r.c: Likewise.
23630 * nscd/nscd_getserv_r.c: Likewise.
23631 * posix/getopt_init.c: Likewise.
23632 * posix/wordexp.c: Likewise.
23633 * stdio-common/_itoa.c: Likewise.
23634 * stdio-common/printf_fphex.c: Likewise.
23635 * stdio-common/vfprintf.c: Likewise.
23636 * string/_strerror.c: Likewise.
23637 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23638 * sysdeps/i386/i686/hp-timing.h: Likewise.
23639 * sysdeps/mach/_strerror.c: Likewise.
23640 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23641 * sysdeps/mach/hurd/sethostid.c: Likewise.
23642 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23643 * sysdeps/mach/xpg-strerror.c: Likewise.
23644 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23645 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23646 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23647 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23648 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23649 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23650 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23651 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23652 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23653 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23654 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23655 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23656 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23657 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23658 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23659 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23660 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23661 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23662 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23663 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23664 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23665
23666 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23667
23668 * stdio-common/_itoa.h: Moved to ...
23669 * sysdeps/generic/_itoa.h: Here.
23670
23671 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23672
23673 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23674 instead of "_itoa.h" and "_itowa.h".
23675 * stdio-common/vfprintf.: Likewise.
23676
d1af992d
L
236772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23678
23679 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23680 <bits/wordsize.h>.
23681 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23682 (__signbit): Likwise.
23683 (llrintf): Likwise.
23684 (llrint): Likwise.
23685
114883e0
L
236862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23687
23688 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23689 __WORDSIZE != 64.
23690
c135cc1b
JM
236912012-03-20 Joseph Myers <joseph@codesourcery.com>
23692
23693 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23694 OVERFLOW_EXCEPTION_OK.
23695 * math/libm-test.inc ("Philosophy"): Update comment about
23696 exception testing.
23697 (OVERFLOW_EXCEPTION): Define.
23698 (OVERFLOW_EXCEPTION_OK): Likewise.
23699 (INVALID_EXCEPTION_OK): Renumber.
23700 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23701 (IGNORE_ZERO_INF_SIGN): Likewise.
23702 (test_exceptions): Handle FE_OVERFLOW.
23703 (exp10_test): Expect overflow exceptions.
23704 (exp2_test): Likewise.
23705 (expm1_test): Likewise.
23706 (nextafter_test): Likewise.
23707 (pow_test): Likewise.
23708 (scalbn_test): Likewise.
23709 (scalbln_test): Likewise.
23710
95443d88
L
237112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23712
23713 * sysdeps/x86_64/bits/atomic.h
23714 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23715 64bit integer.
23716 (atomic_exchange_acq): Likewise.
23717 (__arch_exchange_and_add_body): Likewise.
23718 (__arch_add_body): Likewise.
23719 (atomic_add_negative): Likewise.
23720 (atomic_add_zero): Likewise.
23721
490df6c4
L
237222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23723
c2722551 23724 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
23725 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23726
5e52b189
L
237272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23728
23729 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23730 Check __x86_64__ instead of __WORDSIZE.
23731
a9879d4c
L
237322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23733
23734 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23735
5df98260
DM
237362012-03-19 David S. Miller <davem@davemloft.net>
23737
e1497744
DM
23738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23739
5df98260
DM
23740 * sysdeps/sparc/fpu/fenv_private.h: New file.
23741 * sysdeps/sparc/fpu/math_private.h: Use it.
23742 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23743 Remove.
23744 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23745 (libc_feholdexcept_setroundl): Remove.
23746 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23747 Remove.
23748 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23749 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23750
b4c35121
L
237512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23752
23753 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23754 int64_t instead of long int.
23755 (INSERT_WORDS64): Likwise.
23756
56965fd7
L
237572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23758
23759 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23760 _Unwind_GetCFA return to _Unwind_Ptr first.
23761
83d1aec8
JM
237622012-03-19 Joseph Myers <joseph@codesourcery.com>
23763
1897ad44
JM
23764 [BZ #13629]
23765 * math/s_clog.c: Include <float.h>.
23766 (__clog): Scale large or subnormal inputs.
23767 * math/s_clogf.c: Likewise.
23768 * math/s_clogl.c: Likewise.
23769 * math/s_clog10.c: Include <float.h>.
23770 (M_LOG10_2): Define.
23771 (__clog10): Scale large or subnormal inputs.
23772 * math/s_clog10f.c: Likewise.
23773 * math/s_clog10l.c: Likewise.
23774 * math/libm-test.inc (clog_test): Add more tests.
23775 (clog10_test): Likewise.
23776 * sysdeps/i386/fpu/libm-test-ulps: Update.
23777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23778
7726d6a9
JM
23779 [BZ #11451]
23780 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23781 x and y.
23782 * math/libm-test.inc (atan2_test): Add another test.
23783
83d1aec8
JM
23784 * Makerules (common-objdir-compile): Remove.
23785 * sysdeps/unix/Makefile (config-generated): Do not add
23786 $(unix-generated) to variable.
23787 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23788 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23789 Remove rule.
23790 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23791 Likewise.
23792 [generic bits/local_lim.h] (before-compile): Do not append to
23793 variable.
23794 [generic bits/local_lim.h] (common-generated): Likewise.
23795 [generic sys/param.h] (before-compile): Do not append to variable.
23796 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23797 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23798 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23799 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23800 include.
23801 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23802 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23803 [generic sys/param.h] ($(addprefix
23804 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23805 [generic sys/param.h] (common-generated): Do not append to
23806 variable.
23807 [generic sys/param.h] (sysdep_headers): Likewise.
23808 [generic bits/errno.h] (before-compile): Do not append to
23809 variable.
23810 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23811 rule.
23812 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23813 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23814 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23815 [generic bits/errno.h] (common-generated): Do not append to
23816 variable.
23817 [generic bits/ioctls.h] (before-compile): Do not append to
23818 variable.
23819 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23820 rule.
23821 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23822 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23823 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23824 rule.
23825 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23826 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23827 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23828 [generic bits/ioctls.h] (common-generated): Do not append to
23829 variable.
23830 [generic sys/syscall.h] (syscall.h): Remove variable.
23831 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23832 rule.
23833 [generic sys/syscall.h] (before-compile): Do not append to
23834 variable.
23835 [generic sys/syscall.h] (common-generated): Likewise.
23836 * sysdeps/unix/errnos-tmpl.c: Remove file.
23837 * sysdeps/unix/errnos.awk: Likewise.
23838 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23839 * sysdeps/unix/ioctls.awk: Likewise.
23840 * sysdeps/unix/mk-local_lim.c: Likewise.
23841 * sysdeps/unix/snarf-ioctls: Likewise.
23842
4851a949
RH
238432012-03-19 Richard Henderson <rth@twiddle.net>
23844
bd37f2ee
RH
23845 * sysdeps/i386/fpu/fenv_private.h: New file.
23846 * sysdeps/i386/fpu/math_private.h: Use it.
23847 (math_opt_barrier, math_force_eval): Remove.
23848 (libc_feholdexcept_setround_53bit): Remove.
23849 (libc_feupdateenv_53bit): Remove.
23850 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23851 (math_opt_barrier, math_force_eval): Remove.
23852 (libc_feholdexcept): Remove.
23853 (libc_feholdexcept_setround): Remove.
23854 (libc_fetestexcept, libc_fesetenv): Remove.
23855 (libc_feupdateenv_test): Remove.
23856 (libc_feupdateenv, libc_feholdsetround): Remove.
23857 (libc_feresetround): Remove.
23858
d0adc922
RH
23859 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23860 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23861
0fe0f1f8
RH
23862 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23863 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23864 (libc_feupdateenv_testl): New.
23865 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23866 (libc_feupdateenv_testf): New.
23867 (libc_feupdateenv): Use libc_feupdateenv_test.
23868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23869 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23870
eb92c487
RH
23871 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23872 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23873 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23874 (libc_feresetround_noex): New.
23875 (libc_feresetround_noexf): New.
23876 (libc_feresetround_noexl): New.
23877 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23878 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23879 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23880 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23881 SET_RESTORE_ROUND.
23882 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23883 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23884 (__cos): Likewise.
23885 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23886 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23887 SET_RESTORE_ROUND_NOEX.
23888 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23889 SET_RESTORE_ROUND_NOEXF.
23890 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23891 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23892 (libc_feholdsetroundf): New.
23893 (libc_feresetround, libc_feresetroundf): New.
23894
7d2e8012
RH
23895 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23896 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23897 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23898
b4dabbb4
RH
23899 * sysdeps/generic/math_private.h: Include <fenv.h>.
23900 (default_libc_feholdexcept): New.
23901 (default_libc_feholdexcept_setround): New.
23902 (default_libc_fesetenv, default_libc_feupdateenv): New.
23903 (libc_feholdexcept): Only define if undefined.
23904 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23905 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23906 (libc_feholdexcept_setroundl): Likewise.
23907 (libc_feholdexcept_setround_53bit): Likewise.
23908 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23909 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23910 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23911 (libc_feupdateenv_53bit): Likewise.
23912 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23913 (libc_feholdexcept): Convert from macro to inline function.
23914 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23915 (libc_fesetenv, libc_feupdateenv): Likewise.
23916
4851a949
RH
23917 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23918 not previously defined.
23919 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23920 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23921 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23922 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23923 * sysdeps/ieee754/flt-32/math_private.h: New file.
23924 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23925 math_private.h below SET_FLOAT_WORD.
23926 (__isnan, __isinf_ns, __finite): Remove.
23927 (__isnanf, __isinf_nsf, __finitef): Remove.
23928
e79d442e
AS
239292012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23930
23931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23932
90b80344
DM
239332012-03-17 David S. Miller <davem@davemloft.net>
23934
23935 [BZ #6471]
23936 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23937 for 2.16.
23938
edc21804
DM
239392012-03-16 David S. Miller <davem@davemloft.net>
23940
77e927af
DM
23941 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23942 warnings.
23943
374976dd
DM
23944 [BZ #6471]
23945 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23946 properly.
23947 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23948 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23949 sysdep_routines when subdir is sysvipc.
23950 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23951 __getshmlba helper.
23952
edc21804
DM
23953 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23954
473c3ef3
L
239552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23956
23957 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23958 [__LP64__].
23959
eb0f39b6
L
239602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23961
23962 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23963 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23964 (__lround): Renamed to ...
23965 (__llround): This. Replace long int with long long int.
23966 Define lround functions as aliases of llround functions.
23967 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23968
6b6cd74b
L
239692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23970
23971 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23972 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23973 adresses to uintptr_t. Replace "long int" and "unsigned long
23974 int" with "greg_t" on va_arg.
23975
f1a77b01
L
239762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23977
23978 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23979 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23980
23981 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23982 Move e_machine check before EI_CLASS check. Handle x32
23983 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23984 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23985 SKIP_EM_IA_64 and include
23986 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23987
23988 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23989 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23990 (add_system_dir): New macro.
23991
23992 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23993 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23994
11b90b9f
JM
239952012-03-16 Joseph Myers <joseph@codesourcery.com>
23996
c36e1d23
JM
23997 [BZ #2551]
23998 [BZ #2552]
23999 [BZ #2553]
24000 [BZ #2554]
24001 [BZ #2562]
24002 [BZ #2563]
24003 [BZ #2565]
24004 [BZ #2566]
24005 [BZ #2576]
24006 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24007 (y0): Likewise.
24008 * math/w_j0f.c (j0f): Likewise.
24009 (y0f): Likewise.
24010 * math/w_j0l.c (__j0l): Likewise.
24011 (__y0l): Likewise.
24012 * math/w_j1.c (j1): Likewise.
24013 (y1): Likewise.
24014 * math/w_j1f.c (j1f): Likewise.
24015 (y1f): Likewise.
24016 * math/w_j1l.c (__j1l): Likewise.
24017 (__y1l): Likewise.
24018 * math/w_jn.c (jn): Likewise.
24019 (yn): Likewise.
24020 * math/w_jnf.c (jnf): Likewise.
24021 (ynf): Likewise.
24022 * math/w_jnl.c (__jnl): Likewise.
24023 (__ynl): Likewise.
24024 * math/libm-test.inc (j0_test): Add more tests.
24025 (j1_test): Likewise.
24026 (jn_test): Likewise. Add trailing semicolon to existing test.
24027 (y0_test): Likewise.
24028 (y1_test): Likewise.
24029 * sysdeps/i386/fpu/libm-test-ulps: Update.
24030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24031
11b90b9f
JM
24032 [BZ #13851]
24033 [BZ #13854]
24034 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24035 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24036 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24037 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24038 (__tanl): Set errno for infinite argument.
24039 * sysdeps/i386/fpu/mptan.c: Remove.
24040 * sysdeps/i386/fpu/s_tan.S: Likewise.
24041 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24042 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24043 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24044 * math/libm-test.inc (tan_test): Add more tests and enable more
24045 tests for double and long double.
24046 * sysdeps/i386/fpu/libm-test-ulps: Update.
24047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24048
6a1bd2a1
JK
240492012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24050
24051 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24052 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24053
10a803e0
RM
240542012-03-16 Roland McGrath <roland@hack.frob.com>
24055
24056 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24057 * configure.in: Use it for both main tree and add-ons.
24058 * configure: Regenerated.
24059
f196c7f7
L
240602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24061
24062 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24063
8848d99d
JM
240642012-03-16 Joseph Myers <joseph@codesourcery.com>
24065
96cbe7f4
JM
24066 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24067 in comment.
24068
8848d99d
JM
24069 [BZ #13851]
24070 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24071 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24072 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24073 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24074 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24075 infinite argument.
24076 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24077 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24078 != 0 for prec == 2.
24079 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24080 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24081 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24082 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24083 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24084 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24085 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24086 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24087 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24088 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24089 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24090 * math/libm-test.inc (cos_test): Add more tests and enable more
24091 tests for long double.
24092 (sin_test): Likewise.
24093 (sincos_test): Likewise.
24094 * sysdeps/i386/fpu/libm-test-ulps: Update.
24095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24096
dd7f4703
DM
240972012-03-16 David S. Miller <davem@davemloft.net>
24098
24099 * sysdeps/sparc/fpu/math_private.h: New file.
24100
006f1daa
DM
241012012-03-15 David S. Miller <davem@davemloft.net>
24102
c0c83bc8
DM
24103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24104 file.
e6a62e18 24105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
24106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24107 file.
e6a62e18
DM
24108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24113 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24114 sysdep routines.
24115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24116
88cb87d9
DM
24117 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24118 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24119
006f1daa 24120 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
24121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24122 sparc-ifunc.h
006f1daa 24123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
24124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24125 Likewise.
24126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24127 Likewise.
006f1daa
DM
24128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
24131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24132 Likewise.
006f1daa
DM
24133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
24137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24138 Likewise.
24139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24140 Likewise.
006f1daa
DM
24141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24147 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24148 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24149 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24150 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24160 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24162 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24163 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24164 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24165
11e0098e
AS
241662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24167
24168 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24169 scaling.
24170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24171
e85b09d0
AJ
241722012-03-15 Andreas Jaeger <aj@suse.de>
24173
24174 [BZ #13852]
24175 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24176 ieee754/flt-32 implementation for sin, cos and sincos.
24177 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24178 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24179 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24180 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24181 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24182 ieee754/flt-32 implementation for tan.
24183
24184 * math/libm-test.inc (cos_test): Enable some large input tests for
24185 float as well
24186 (sin_test): Likewise.
24187 (sincos_test): Likewise.
24188 (tan_test): Add tests for large input.
24189
24190 * sysdeps/i386/fpu/libm-test-ulps: Update.
24191
81c64153
AJ
241922012-03-15 Andreas Jaeger <aj@suse.de>
24193
24194 [BZ #13658]
24195 * math/libm-test.inc (cos_test): Add more test cases.
24196 (sin_test): Likewise.
24197 (sincos_test): Likewise.
24198
7bbfa5c6
AJ
241992012-03-15 Andreas Jaeger <aj@suse.de>
24200
24201 [BZ #13837]
24202 * math/libm-test.inc (cos_test): Add a test case for large input
24203 value.
24204 (sin_test): Likewise.
24205 (sincos_test): Likewise.
24206
242072012-03-15 Andreas Jaeger <aj@suse.de>,
24208 Joseph Myers <joseph@codesourcery.com>
24209
24210 [BZ #13658]
0671f479 24211 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
24212 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24213 * sysdeps/i386/fpu/branred.c: Likewise.
24214 * sysdeps/i386/fpu/dosincos.c: Likewise.
24215 * sysdeps/i386/fpu/mpa.c: Likewise.
24216 * sysdeps/i386/fpu/s_cos.S: Likewise.
24217 * sysdeps/i386/fpu/s_sin.S: Likewise.
24218 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24219 * sysdeps/i386/fpu/sincos32.c: Likewise.
24220
24221 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24222 Define.
24223 (libc_feupdateenv_53bit): Define.
24224 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24225 Define.
24226 (libc_feupdateenv_53bit): Define.
24227
24228 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24229 53 bit (without extend i386 double precision).
24230
24231 * math/libm-test.inc (sincos_test): Add tests for large input.
24232 (sin): Likewise.
24233 (cos): Likewise.
24234
24235 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24236
9cad04ea
AS
242372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24238
24239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24240
f7062b9a
DM
242412012-03-15 David S. Miller <davem@davemloft.net>
24242
24243 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24244 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24245 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24246 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
24258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24259 file.
f7062b9a 24260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
24261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24262 file.
f7062b9a 24263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
24264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24265 file.
f7062b9a 24266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
24267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24268 file.
f7062b9a
DM
24269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24271 fmin/fmax sysdep routines.
24272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24273
7bd951ff
DM
242742012-03-14 David S. Miller <davem@davemloft.net>
24275
559398ab
DM
24276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24282 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24283 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24297 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24298 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24299 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24300 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24301 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24303 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24304 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24305 routines.
24306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24307 file.
559398ab 24308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
24309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24310 file.
559398ab 24311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
24312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24313 file.
559398ab 24314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
24315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24316 file.
559398ab 24317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
24318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24319 file.
559398ab 24320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
24321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24322 file.
24323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24324 file.
24325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24326 file.
24327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24328 file.
24329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24330 New file.
24331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24332 file.
24333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24334 file.
559398ab 24335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
24336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24337 file.
559398ab 24338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24340 file.
559398ab 24341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
24342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24343 file.
559398ab 24344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
24345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24346 VIS3 routines.
559398ab
DM
24347
24348 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24349 New file.
24350
5a1c1e32
DM
24351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24352
eae47a36
DM
24353 * sysdeps/sparc/configure.in: New file.
24354 * sysdeps/sparc/configure: Generate.
24355 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24356 * configure: Regenerate.
24357 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24358 * config.make.in (have-as-vis3): New.
24359 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24360 available use -Av9d instead of -Av9a.
24361 * sysdeps/sparc/sparc64/Makefile: Likewise.
24362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
24363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24364 New file.
24365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24366 file.
24367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24368 New file.
24369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24370 file.
eae47a36
DM
24371 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24372 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24373 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24374 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24375 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24376
c0c83bc8
DM
24377 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24378 fzeros/fnegs to load 0x80000000 into a float register instead of
24379 using the stack.
7bd951ff
DM
24380 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24381
bd951ccb
JM
243822012-03-14 Joseph Myers <joseph@codesourcery.com>
24383
24384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24385 bits/syscall.h.
24386 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24387 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24388 ($(inst_includedir)/bits/syscall.h): Remove rule.
24389 ($(objpfx)bits/syscall.d): Include instead of
24390 $(objpfx)syscall-list.d.
24391 (generated): Change syscall-list.h and syscall-list.d to
24392 bits/syscall.h and bits/syscall.d.
24393
bb4e6db2
RM
243942012-03-14 Roland McGrath <roland@hack.frob.com>
24395
24396 [BZ #13846]
24397 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24398
aa4a2ae1
JM
243992012-03-14 Joseph Myers <joseph@codesourcery.com>
24400
e456826d
JM
24401 [BZ #13841]
24402 * math/s_csqrt.c: Include <float.h>.
24403 (__csqrt): Scale large or subnormal inputs.
24404 * math/s_csqrtf.c: Likewise.
24405 * math/s_csqrtl.c: Likewise.
24406 * math/libm-test.inc (csqrt_test): Add more tests.
24407 * sysdeps/i386/fpu/libm-test-ulps: Update.
24408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24409
aa4a2ae1
JM
24410 [BZ #13840]
24411 * math/libm-test.inc (hypot_test): Add more tests.
24412
7c10fd35
DM
244132012-03-13 David S. Miller <davem@davemloft.net>
24414
24415 [BZ #13840]
24416 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24417 double-precision for the calculation instead of scaling.
24418
f453b98b
JM
244192012-03-13 Joseph Myers <joseph@codesourcery.com>
24420
24421 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24422 manipulate bits before adding and subtracting TWO52[sx].
24423 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24424 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24425 Likewise.
24426 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24427
09a3453f
DM
244282012-03-13 David S. Miller <davem@davemloft.net>
24429
8e59da90
DM
24430 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24431 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24432 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24433 rtld-global-offsets.h
24434 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24435
2a8ab7f2
DM
24436 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24437 large parameters.
24438
10f62770
DM
24439 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24440
5f0bdb18
DM
24441 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24442 'err' in the ifdef scope in which it is actually used.
24443
09a3453f
DM
24444 * nss/nss_db/db-init.c: Include string.h
24445
b4b2eb5e
DM
244462012-03-12 David S. Miller <davem@davemloft.net>
24447
98bb2f1c
DM
24448 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24449 masking out of the most significant byte of random value used.
24450 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24451 Fix coding style in previous change.
24452
b4b2eb5e
DM
24453 * sysdeps/unix/sysv/linux/kernel-features.h
24454 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24455 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24456 expression.
24457 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24458 later.
24459
6e226b09
DM
244602012-03-11 David S. Miller <davem@davemloft.net>
24461
a1bcbd40
DM
24462 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24463 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24464 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24465 for 'resultvar' otherwise things get truncated on 64-bit.
24466
cb9d6174
DM
24467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24468 Fix masking out of the most significant byte of random value used.
24469
6e226b09
DM
24470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24471
058c132d
AS
244722012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24473
24474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24475
2d2cd515
DM
244762012-03-09 David S. Miller <davem@davemloft.net>
24477
24478 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24479 variables with appropriate CPP guards.
24480 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24481 frame pointer, not the stack pointer. Correct layout comments. Fix test
24482 on resulting framesize and the management of the outregs buffer for pltexit.
24483 Preserve floating point return values across _dl_call_pltexit call.
24484 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24485 framesize and the management of the outregs buffer for pltexit.
24486 Preserve floating point return values across _dl_call_pltexit
24487 call.
24488 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24489 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24490 (print_exit): Fix format string for return register value.
24491
9a07f9d0
JM
244922012-03-10 Joseph Myers <joseph@codesourcery.com>
24493
24494 * sunrpc/Makefile (others): Add rpcgen.
24495 ($(objpfx)rpcgen): Remove special build rule and dependency on
24496 libc.
24497 * sunrpc/rpcgen.c: New file.
24498
547b5e30
PE
244992012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24500
c524201a
PE
24501 [BZ #13673]
24502 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24503 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24504 * sysdeps/i386/crti.S: Likewise.
24505 * sysdeps/i386/crtn.S: Likewise.
24506 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24507 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24508 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24509 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24510 * sysdeps/sh/crti.S: Likewise.
24511 * sysdeps/sh/crtn.S: Likewise.
24512 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24513
7b6235f2
PE
24514 [BZ #13673]
24515 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24516 with URL.
24517 * locale/programs/locfile-kw.gperf: Likewise.
24518 * locale/programs/charmap-kw.h: Regenerated.
24519 * locale/programs/locfile-kw.h: Likewise.
24520
547b5e30
PE
24521 [BZ #13673]
24522 * intl/plural.y: Replace FSF snail mail address with URL.
24523 * intl/plural.c: Regenerated.
24524
5f0a5dae
RH
245252012-03-09 Richard Henderson <rth@twiddle.net>
24526
24527 * include/math_private.h: Remove file.
24528 * math/math_private.h: Move file ...
24529 * sysdeps/generic/math_private.h: ... here.
24530
b8c03620
RH
24531 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24532 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24533 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24534
4e234f5d 24535 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
24536 and <math_private.h>.
24537 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24538 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24539 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24540 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24541 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24542 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24543 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24544 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24545 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24546 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24548 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24549 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24550 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24551 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24552 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24553 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24554 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24555 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24556 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24558 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24559 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24561 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24562 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24563 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24564 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24565 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24566 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24567 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24568 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24569 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24570 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24571 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24572 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24573 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24574 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24575 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24576 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24577 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24578 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24579 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24580 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24581 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24582 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24583 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24584 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24585 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24586 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24587 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24588 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24589 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24590 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24591 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24592 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24593 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24594 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24595 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24596 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24597 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24598 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24599 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24600 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24601 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24602 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24603 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24604 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24605 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24606 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24607 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24608 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24609 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24610 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24611 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24615 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24616 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24617 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24618 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24619 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24620 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24621 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24622 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24624 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24625 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24626 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24627 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24628 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24629 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24630 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24631 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24632 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24633 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24634 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24635 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24636 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24637 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24638 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24639 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24640 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24641 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24642 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24643 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24644 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24645 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24646 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24647 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24648 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24649 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24650 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24651 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24652 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24653 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24654 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24655 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24656 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24657 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24658 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24659 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24660 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24661 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24662 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24663 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24664 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24665 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24666 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24667 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24668 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24669 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24670 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24671 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24672 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24673 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24674 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24675 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24676 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24677 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24678 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24679 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24680 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24681 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24682 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24683 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24684 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24685 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24686 * sysdeps/ieee754/k_standard.c: Likewise.
24687 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24688 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24689 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24690 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24691 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24692 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24693 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24694 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24695 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24696 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24697 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24698 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24699 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24700 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24701 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24702 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24703 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24704 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24705 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24706 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24707 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24708 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24709 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24710 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24711 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24712 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24713 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24714 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24715 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24717 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24718 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24719 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24720 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24721 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24722 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24723 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24724 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24725 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24726 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24727 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24728 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24729 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24730 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24731 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24732 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24733 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24738 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24739 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24740 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24741 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24742 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24743 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24744 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24745 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24746 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24747 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24748 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24749 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24750 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24751 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24752 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24753 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24754 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24755 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24756 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24758 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24759 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24760 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24761 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24762 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24763 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24764 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24765 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24766 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24767 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24768 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24769 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24770 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24771 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24772 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24773 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24774 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24775 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24777 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24778 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24779 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24780 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24781 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24782 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24783 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24784 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24785 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24786 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24787 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24788 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24789 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24790 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24791 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24792 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24793 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24794 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24795 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24796 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24797 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24798 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24799 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24800 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24801 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24802 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24803 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24804 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24805 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24806 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24807 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24808 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24809 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24810 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24811 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24812 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24813 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24814 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24815 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24816 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24817 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24818 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24819 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24820 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24821 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24822 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24823 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24824 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24825 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24826 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24827 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24829 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24830 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24831 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24832 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24833 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24834 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24835 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24836 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24837 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24838 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24839 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24840 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24841 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24842 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24843 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24844 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24845 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24846 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24847 * sysdeps/ieee754/s_lib_version.c: Likewise.
24848 * sysdeps/ieee754/s_matherr.c: Likewise.
24849 * sysdeps/ieee754/s_signgam.c: Likewise.
24850 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24851 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24852 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24853 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24854 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24855 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24856 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24857 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24858 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24859 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24860 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24861 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24862 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24863 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24864 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24865 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24866 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24867 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24868 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24871
1991fa03
JM
248722012-03-09 Joseph Myers <joseph@codesourcery.com>
24873
24874 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24875 * sunrpc/rpc_main.c: Likewise.
24876 * sunrpc/rpc_svcout.c: Likewise.
24877
60d6f5a6
DM
248782012-03-09 David S. Miller <davem@davemloft.net>
24879
24880 * include/math_private.h: New file.
24881
4962050e
JM
248822012-03-09 Joseph Myers <joseph@codesourcery.com>
24883
02a6f887
JM
24884 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24885 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24886 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24887 from <bits/socket_type.h>.
24888 (enum __socket_type): Don't define here.
24889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24891 bits/socket_type.h.
24892
c6e013c1
JM
24893 [BZ #13566]
24894 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24895 checking __USE_GNU.
24896
4962050e
JM
24897 * Makerules ($(inst_includedir)/%.h): New rule.
24898 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24899 (install-others): Remove variable setting.
24900 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24901
38842f45
RH
249022012-03-08 Richard Henderson <rth@twiddle.net>
24903
67bb6da6
RH
24904 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24905 from macro to inline function; merge with the
24906 !__LIBC_INTERNAL_MATH_INLINES version.
24907 (__ieee754_sqrtf): Likewise.
24908
15194b4b
RH
24909 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24910 to inline function.
24911 (__rintf, __floor, __floorf): Likewise.
24912
64e21ede
RH
24913 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24914 macro to inline function.
24915 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24916
38842f45
RH
24917 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24918 not <math/math_private.h>.
24919
c64bf5fe
DM
249202012-03-08 David S. Miller <davem@davemloft.net>
24921
24922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24923 copyright year.
24924 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24925
82d86f28
TS
249262012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24927
24928 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24929 normalization.
24930 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24931 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24932
aea5d727
UD
249332012-03-08 Ulrich Drepper <drepper@gmail.com>
24934
24935 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24936 be defined individually, they must be defined as a block. Define
24937 S for printing a string instead of hidint the different by using a
24938 macro for adding the 'l'.
24939 * stdio-common/tst-fphex-wide.c: Adjust.
24940
70bca0a3
MP
249412012-03-07 Marek Polacek <polacek@redhat.com>
24942
24943 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24944
65b81130
MP
249452012-03-08 Marek Polacek <polacek@redhat.com>
24946
24947 [BZ #13806]
24948 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24949 * stdio-common/tst-fphex.c: Define a few macros to make the
24950 test reusable. Use them.
24951 * stdio-common/tst-fphex-wide.c: New file.
24952
07037eeb
JM
249532012-03-08 Joseph Myers <joseph@codesourcery.com>
24954
a7a93d50
JM
24955 [BZ #6911]
24956 * manual/macros.texi (gnusystems): New macro.
24957 (nongnusystems): Likewise.
24958 (gnulinuxhurdsystems): Likewise.
24959 (gnuhurdsystems): Likewise..
24960 (gnulinuxsystems): Likewise.
24961 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24962 variants of the GNU system, not "GNU system".
24963 * manual/conf.texi: Likewise.
24964 * manual/errno.texi: Likewise. Update example of errno macro
24965 expansion.
24966 * manual/filesys.texi: Likewise.
24967 (getumask): Document as specific to GNU/Hurd.
24968 * manual/install.texi: Likewise. Reword some references to
24969 GNU/Linux.
24970 * manual/intro.texi: Likewise.
24971 * manual/io.texi: Likewise.
24972 (File Name Portability): Detail which constraints are inapplicable
24973 to all GNU systems and which are only inapplicable to GNU/Hurd.
24974 * manual/job.texi: Likewise.
24975 * manual/llio.texi: Likewise.
24976 (O_NOCTTY): Document as present on GNU/Linux.
24977 * manual/maint.texi: Likewise.
24978 * manual/memory.texi: Likewise.
24979 * manual/pattern.texi: Likewise.
24980 * manual/pipe.texi: Likewise.
24981 * manual/process.texi: Likewise.
24982 * manual/resource.texi: Likewise.
24983 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24984 child on GNU/Hurd.
24985 * manual/setjmp.texi: Likewise.
24986 * manual/signal.texi: Likewise.
24987 * manual/startup.texi: Likewise.
24988 * manual/stdio.texi: Likewise.
24989 * manual/terminal.texi: Likewise.
24990 (ONLCR): Document as POSIX.
24991 (OXTABS): Document availability on GNU/Linux as XTABS.
24992 (ONOEOT): Document availability separately from other bits.
24993 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24994 * manual/time.texi: Likewise.
24995 * manual/users.texi: Likewise.
24996 * INSTALL: Regenerated.
24997 * sysdeps/gnu/errlist.c: Regenerated.
24998
07037eeb
JM
24999 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25000 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25001 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25002 puts.
25003 * configure: Regenerated.
25004
d1d3431a
JM
250052012-03-07 Joseph Myers <joseph@codesourcery.com>
25006
af6a1e37
JM
25007 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25008 default includes instead of AC_HEADER_CHECK.
25009 * sysdeps/i386/configure: Regenerated.
25010
d1d3431a
JM
25011 [BZ #10716]
25012 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25013 * math/s_cacoshf.c (__cacoshf): Likewise.
25014 * math/s_cacoshl.c (__cacoshl): Likewise.
25015 * math/s_casinh.c (__casinh): Set signs of result from argument.
25016 * math/s_casinhf.c (__casinhf): Likewise.
25017 * math/s_casinhl.c (__casinhl): Likewise.
25018 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25019 (casinh_test): Add more tests.
25020 * sysdeps/i386/fpu/libm-test-ulps: Update.
25021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25022
482ff4da
UD
250232012-03-07 Ulrich Drepper <drepper@gmail.com>
25024
872fda05
UD
25025 * po/zh_TW.po: Update from translation team.
25026
a4300c7a
UD
25027 * login/Makefile (distribute): Remove variable.
25028 * catgets/Makefile: Likewise.
25029 * mach/Makefile: Likewise.
25030 * malloc/Makefile: Likewise.
25031 * misc/Makefile: Likewise.
25032 * iconv/Makefile: Likewise.
25033 * nscd/Makefile: Likewise.
25034 * hurd/Makefile: Likewise.
25035 * manual/Makefile: Likewise.
25036 * locale/Makefile: Likewise.
25037 * intl/Makefile: Likewise.
25038 * conform/Makefile: Likewise.
25039 * nss/Makefile: Likewise.
25040 * time/Makefile: Likewise.
25041 * soft-fp/Makefile: Likewise.
25042 * dirent/Makefile: Likewise.
25043 * gmon/Makefile: Likewise.
25044 * po/Makefile: Likewise.
25045 * rt/Makefile: Likewise.
25046 * socket/Makefile: Likewise.
25047 * math/Makefile: Likewise.
25048 * signal/Makefile: Likewise.
25049 * debug/Makefile: Likewise.
25050 * elf/Makefile: Likewise.
25051 * timezone/Makefile: Likewise.
25052 * stdlib/Makefile: Likewise.
25053 * iconvdata/Makefile: Likewise.
25054 * sunrpc/Makefile: Likewise.
25055 * io/Makefile: Likewise.
25056 * argp/Makefile: Likewise.
25057 * inet/Makefile: Likewise.
25058 * hesiod/Makefile: Likewise.
25059 * grp/Makefile: Likewise.
25060 * csu/Makefile: Likewise.
25061 * wctype/Makefile: Likewise.
25062 * crypt/Makefile: Likewise.
25063 * libio/Makefile: Likewise.
25064 * string/Makefile: Likewise.
25065 * nis/Makefile: Likewise.
25066 * resolv/Makefile: Likewise.
25067 * stdio-common/Makefile: Likewise.
25068 * wcsmbs/Makefile: Likewise.
25069 * dlfcn/Makefile: Likewise.
25070 * posix/Makefile: Likewise.
25071
3b7c4e74 25072 [BZ #6959]
482ff4da
UD
25073 * timezone/Makefile: Don't install timezone files, just the programs
25074 and scripts.
25075
f72ed77d
UD
250762012-03-06 Ulrich Drepper <drepper@gmail.com>
25077
a000466f
UD
25078 * nss/databases.def: Add missing gshadow entry.
25079
f72ed77d
UD
25080 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25081
a53b7a4e
MP
250822012-03-06 Marek Polacek <polacek@redhat.com>
25083
25084 [BZ #13726]
25085 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25086 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25087 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25088 * stdio-common/tst-long-dbl-fphex.c: New file.
25089
e9258400
DM
250902012-03-06 David S. Miller <davem@davemloft.net>
25091
25092 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25093 (set_obp_int): New function.
25094 (get_obp_int): New function.
25095 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
25096 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25097 Avoid unused variable warnings on 'val' and use builtin_expect.
25098 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25099 __builtin_expect.
e9258400
DM
25100 (INLINE_CLONE_SYSCALL): Likewise.
25101
3bd2c723
DM
251022012-03-05 David S. Miller <davem@davemloft.net>
25103
25104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25105
bbb78d03
AS
251062012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25107
884c5db4
AS
25108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25109
bbb78d03
AS
25110 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25111 only for |x| >= 40.
25112 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25113
1c9f702a 251142012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
25115
25116 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25117 Replace gettimeofday with __vdso_gettimeofday.
25118
7be16f82
RM
25119 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25120 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25121 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
25122
25123 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25124 time with __vdso_time.
25125
ed58a00f
JM
251262012-03-05 Joseph Myers <joseph@codesourcery.com>
25127
25128 * manual/lang.texi (size_t): Note types to which size_t may be
25129 equivalent with the GNU C Library, but do not describe when
25130 differences between them are significant.
25131
30ee4ced
AJ
251322012-03-05 Andreas Jaeger <aj@suse.de>
25133
25134 * sysdeps/i386/fpu/libm-test-ulps: Update.
25135
b7cd39e8
JM
251362012-03-05 Joseph Myers <joseph@codesourcery.com>
25137
25138 [BZ #3976]
25139 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25140 (__ieee754_pow): Save and restore rounding mode and use
25141 round-to-nearest for main computations.
25142 * math/libm-test.inc (pow_test_tonearest): New function.
25143 (pow_test_towardzero): Likewise.
25144 (pow_test_downward): Likewise.
25145 (pow_test_upward): Likewise.
25146 (main): Call the new functions.
25147 * sysdeps/i386/fpu/libm-test-ulps: Update.
25148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
25149
25150 [BZ #3976]
25151 * math/libm-test.inc (cosh_test_tonearest): New function.
25152 (cosh_test_towardzero): Likewise.
25153 (cosh_test_downward): Likewise.
25154 (cosh_test_upward): Likewise.
25155 (sinh_test_tonearest): Likewise.
25156 (sinh_test_towardzero): Likewise.
25157 (sinh_test_downward): Likewise.
25158 (sinh_test_upward): Likewise.
25159 (main): Call the new functions.
25160 * sysdeps/i386/fpu/libm-test-ulps: Update.
25161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25162
6c6a98c9
TV
251632012-03-05 Tom de Vries <tom@codesourcery.com>
25164
25165 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25166 default stack guard is set in last bytes.
25167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25168
21bb2d2e 251692012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 25170
21bb2d2e 25171 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 25172
21bb2d2e
AJ
25173 [BZ #13656]
25174 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25175 possibly allocate from heap instead of stack.
25176 * stdio-common/bug-vfprintf-nargs.c: New file.
25177 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 25178
c6922934
AS
251792012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25180
25181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25182
bc957d53
MP
251832012-03-03 Marek Polacek <polacek@redhat.com>
25184
25185 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25186 * math/math_private.h: Likewise.
25187 * stdlib/tst-strtod.c: Likewise.
25188 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25189 * sysdeps/x86_64/bits/atomic.h: Likewise.
25190
6358490d
DM
251912012-03-02 David S. Miller <davem@davemloft.net>
25192
25193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25197 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25198 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25199 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25200 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25201
01ae168d
RM
252022012-03-02 Roland McGrath <roland@hack.frob.com>
25203
d9a17c07
RM
25204 [BZ #13792]
25205 * manual/examples/README: New file, says the example source files
25206 can be used under GPL>=2.
25207 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25208 line containing just "*/".
25209 * manual/examples/add.c: Add copyright header (GPL>=2).
25210 * manual/examples/argp-ex1.c: Likewise.
25211 * manual/examples/argp-ex2.c: Likewise.
25212 * manual/examples/argp-ex3.c: Likewise.
25213 * manual/examples/argp-ex4.c: Likewise.
25214 * manual/examples/atexit.c: Likewise.
25215 * manual/examples/db.c: Likewise.
25216 * manual/examples/dir.c: Likewise.
25217 * manual/examples/dir2.c: Likewise.
25218 * manual/examples/execinfo.c: Likewise.
25219 * manual/examples/filecli.c: Likewise.
25220 * manual/examples/filesrv.c: Likewise.
25221 * manual/examples/fmtmsgexpl.c: Likewise.
25222 * manual/examples/genpass.c: Likewise.
25223 * manual/examples/inetcli.c: Likewise.
25224 * manual/examples/inetsrv.c: Likewise.
25225 * manual/examples/isockad.c: Likewise.
25226 * manual/examples/longopt.c: Likewise.
25227 * manual/examples/memopen.c: Likewise.
25228 * manual/examples/memstrm.c: Likewise.
25229 * manual/examples/mkfsock.c: Likewise.
25230 * manual/examples/mkisock.c: Likewise.
25231 * manual/examples/mygetpass.c: Likewise.
25232 * manual/examples/pipe.c: Likewise.
25233 * manual/examples/popen.c: Likewise.
25234 * manual/examples/rprintf.c: Likewise.
25235 * manual/examples/search.c: Likewise.
25236 * manual/examples/select.c: Likewise.
25237 * manual/examples/setjmp.c: Likewise.
25238 * manual/examples/sigh1.c: Likewise.
25239 * manual/examples/sigusr.c: Likewise.
25240 * manual/examples/stpcpy.c: Likewise.
25241 * manual/examples/strdupa.c: Likewise.
25242 * manual/examples/strftim.c: Likewise.
25243 * manual/examples/strncat.c: Likewise.
25244 * manual/examples/subopt.c: Likewise.
25245 * manual/examples/swapcontext.c: Likewise.
25246 * manual/examples/termios.c: Likewise.
25247 * manual/examples/testopt.c: Likewise.
25248 * manual/examples/testpass.c: Likewise.
25249 * manual/examples/timeval_subtract.c: Likewise.
25250
01ae168d
RM
25251 [BZ #13792]
25252 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25253 function to ...
25254 * manual/timeval_subtract.c.texi: ... here, new file.
25255
49efa33d
DM
252562012-03-02 David S. Miller <davem@davemloft.net>
25257
25258 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25259
28afd92d
JM
252602012-03-02 Joseph Myers <joseph@codesourcery.com>
25261
804360ed
JM
25262 [BZ #3976]
25263 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25264 (__sin): Save and restore rounding mode and use round-to-nearest
25265 for all computations.
25266 (__cos): Save and restore rounding mode and use round-to-nearest
25267 for all computations.
25268 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25269 <fenv.h>.
25270 (tan): Save and restore rounding mode and use round-to-nearest for
25271 all computations.
25272 * math/libm-test.inc (cos_test_tonearest): New function.
25273 (cos_test_towardzero): Likewise.
25274 (cos_test_downward): Likewise.
25275 (cos_test_upward): Likewise.
25276 (sin_test_tonearest): Likewise.
25277 (sin_test_towardzero): Likewise.
25278 (sin_test_downward): Likewise.
25279 (sin_test_upward): Likewise.
25280 (tan_test_tonearest): Likewise.
25281 (tan_test_towardzero): Likewise.
25282 (tan_test_downward): Likewise.
25283 (tan_test_upward): Likewise.
25284 (main): Call the new functions.
25285 * sysdeps/i386/fpu/libm-test-ulps: Update.
25286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25287
a6d06d7b
JM
25288 [BZ #10135]
25289 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25290 small n, then large n, before computing and testing k+n.
25291 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25292 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25293 Likewise.
25294 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25295 Likewise.
25296 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25297 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25298 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25299 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25300 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25301 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25302 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25303 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25304 * math/libm-test.inc (scalbn_test): Add more tests.
25305 (scalbln_test): Likewise.
25306
07e12bb3
JM
25307 * manual/filesys.texi (mode_t): Describe constraints on size and
25308 signedness, not exact equivalence to a particular type.
25309 (ino_t): Likewise.
25310 (ino64_t): Likewise.
25311 (dev_t): Likewise.
25312 (nlink_t): Likewise.
25313 (blkcnt_t): Likewise.
25314 (blkcnt64_t): Likewise.
25315 * manual/llio.texi (off_t): Likewise.
25316
28afd92d
JM
25317 [BZ #3976]
25318 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25319 (__ieee754_exp): Save and restore rounding mode and use
25320 round-to-nearest for all computations.
25321 * math/libm-test.inc (exp_test_tonearest): New function.
25322 (exp_test_towardzero): Likewise.
25323 (exp_test_downward): Likewise.
25324 (exp_test_upward): Likewise.
25325 (main): Call the new functions.
25326 * sysdeps/i386/fpu/libm-test-ulps: Update.
25327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25328
b1eeb65d
CD
253292012-03-01 Chris Demetriou <cgd@google.com>
25330
25331 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25332 have predictable order.
25333
53362a4b
DM
253342012-03-01 David S. Miller <davem@davemloft.net>
25335
3c969083
DM
25336 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25337
759707de
DM
25338 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25339 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25340 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25341 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25342
dfdb8ff2
DM
25343 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25344 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25345 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25347 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25348 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25349 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25350 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25351 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25352
ead89f96
DM
25353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25354
7f66bd07
DM
25355 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25356 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25357 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25358
53362a4b
DM
25359 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25360 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25361 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25362 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25363 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25364 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25365 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25366 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25367 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25368 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25369 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25370 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25371 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25372 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25373 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25374 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25375 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25376 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25377 * sysdeps/sparc/elf/configure: Regenerated.
25378
7b1902cb
JM
253792012-03-01 Joseph Myers <joseph@codesourcery.com>
25380
bec039bc
JM
25381 * configure.in (AS, LD): Require binutils 2.20 or later.
25382 * configure: Regenerated.
25383 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25384 as required minimum version.
25385 * INSTALL: Regenerated.
25386
7b1902cb
JM
25387 [BZ #2541]
25388 [BZ #4108]
25389 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25390 before squaring exponent.
25391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25392 bottom long double and 27 bits of top long double before squaring
25393 exponent.
25394 * math/libm-test.inc (erfc_test): Add more tests.
25395 * sysdeps/i386/fpu/libm-test-ulps: Update.
25396 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25398
f775c276
KT
253992012-03-01 Kai Tietz <ktietz@redhat.com>
25400
25401 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25402 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25403 containing bit-fields.
25404 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25405 * soft-fp/single.h (_FP_UNION_S): Likewise.
25406 * soft-fp/double.h (_FP_UNION_D): Likewise.
25407
5b8a4d4a
JM
254082012-02-29 Joseph Myers <joseph@codesourcery.com>
25409
0bab47b6
JM
25410 [BZ #13786]
25411 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25412 not include ../strcmp.S.
25413 [USE_AS_STRNCASECMP_L]: Likewise.
25414 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25415 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25416 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25417 (__strncasecmp_l_ia32): Define as alias to
25418 __strncasecmp_l_nonascii.
25419
0fcad3e2
JM
25420 [BZ #5794]
25421 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25422 * sysdeps/i386/fpu/libm-test-ulps: Update.
25423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25424
5b8a4d4a
JM
25425 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25427
8fdceb2e
JL
254282012-02-29 Jeff Law <law@redhat.com>
25429
25430 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25431 out of bounds read.
25432
1f393a11
MP
254332012-02-29 Marek Polacek <polacek@redhat.com>
25434
25435 [BZ #13706]
25436 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25437 * elf/Makefile: Add rules to run tst-unused-dep.out.
25438
8847f037
DM
254392012-02-28 David S. Miller <davem@davemloft.net>
25440
25441 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25442 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25443 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25444 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25445 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25446 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25447
169d7f11
JM
254482012-02-29 Joseph Myers <joseph@codesourcery.com>
25449
25450 * math/libm-test.inc (llround_test): Move one test from
25451 lround_test. Use TEST_f_L in moved test.
25452 (lround_test): Move misplaced test to llround_test. Add testcase
25453 from bug 2561.
25454
39adf059
UD
254552012-02-28 Ulrich Drepper <drepper@gmail.com>
25456
25457 * sysdeps/x86_64/fpu/e_expf.S: New file.
25458 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25459
71b5d1c5
SB
254602012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25461
25462 [BZ #13637]
25463 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25464 of remain_len that may cause incomplete multi-byte character and
25465 false match.
25466 * posix/bug-regex33.c: New file.
25467 * posix/Makefile (tests): Add bug-regex33.
25468
1f77f049
JM
254692012-02-28 Joseph Myers <joseph@codesourcery.com>
25470
25471 * manual/macros.texi: New file.
25472 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25473 * manual/libc.texinfo: Include macros.texi.
25474 * manual/creatute.texi: Likewise.
25475 * manual/install.texi: Likewise.
25476 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25477 @glibcadj{} in references to the GNU C Library.
25478 * manual/charset.texi: Likewise.
25479 * manual/conf.texi: Likewise.
25480 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25481 when not using those macros.
25482 * manual/creature.texi: Likewise.
25483 * manual/crypt.texi: Likewise.
25484 * manual/errno.texi: Likewise.
25485 * manual/filesys.texi: Likewise.
25486 * manual/header.texi: Likewise.
25487 * manual/install.texi: Likewise.
25488 * manual/intro.texi: Likewise.
25489 * manual/io.texi: Likewise.
25490 * manual/job.texi: Likewise.
25491 * manual/lang.texi: Likewise.
25492 * manual/libc.texiinfo: Likewise.
25493 * manual/llio.texi: Likewise.
25494 * manual/locale.texi: Likewise.
25495 * manual/maint.texi: Likewise.
25496 * manual/math.texi: Likewise.
25497 * manual/memory.texi: Likewise.
25498 * manual/message.texi: Likewise.
25499 * manual/nss.texi: Likewise.
25500 * manual/pattern.texi: Likewise.
25501 * manual/process.texi: Likewise.
25502 * manual/resource.texi: Likewise.
25503 * manual/search.texi: Likewise.
25504 * manual/setjmp.texi: Likewise.
25505 * manual/signal.texi: Likewise.
25506 * manual/socket.texi: Likewise.
25507 * manual/startup.texi: Likewise.
25508 * manual/stdio.texi: Likewise.
25509 * manual/string.texi: Likewise.
25510 * manual/sysinfo.texi: Likewise.
25511 * manual/syslog.texi: Likewise.
25512 * manual/terminal.texi: Likewise.
25513 * manual/time.texi: Likewise.
25514 * manual/users.texi: Likewise.
25515 * INSTALL: Regenerated.
25516 * NOTES: Regenerated.
d40c5d54 25517 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 25518
450bf206
AS
255192012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25520
25521 * include/dirent.h: Include <dirstream.h> before
25522 <dirent/dirent.h>.
25523
741a235b
DM
255242012-02-28 David S. Miller <davem@davemloft.net>
25525
25526 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25527 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25528 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25529 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25530
d6b5aa58
DM
255312012-02-27 David S. Miller <davem@davemloft.net>
25532
1aff59a3
DM
25533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25535 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25536 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25537
d6b5aa58
DM
25538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25539 frame pointer instead of stack pointer relative arg slot.
25540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25541 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25542 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25543
433f48bf
CD
255442012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25545
25546 [BZ #3992]
25547 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25548
d674b76d
DM
255492012-02-27 David S. Miller <davem@davemloft.net>
25550
25551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25555 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25556 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25557 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25558 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25559
0e7727f7
JM
255602012-02-27 Joseph Myers <joseph@codesourcery.com>
25561
25562 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25563 later. Allow versions 5-9.
43be4ca2 25564 * configure: Regenerated.
0e7727f7
JM
25565 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25566 required minimum version and 4.6 as recommended version. Do not
25567 mention bugs in GCC 2.7 and 2.8.
43be4ca2 25568 * INSTALL: Regenerated.
0e7727f7 25569
a78bc654
DM
255702012-02-27 David S. Miller <davem@davemloft.net>
25571
428d5830
DM
25572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25576 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25577 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25578 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25579 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25580
a78bc654
DM
25581 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25582 manipulate bits before adding and subtracting TWO112[sx].
25583 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25584
4579f81c
RM
255852012-02-27 Roland McGrath <roland@hack.frob.com>
25586
36c8acb4
RM
25587 [BZ #13775]
25588 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25589 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25590 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25591 being in POSIX, because they are in 1003.1-2008.
25592
84ad622b
RM
25593 * rt/tst-aio.c: Include <fcntl.h>.
25594 * rt/tst-aio7.c: Likewise.
25595 * rt/tst-aio64.c: Likewise.
25596
4579f81c
RM
25597 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25598
abd923db
JM
255992012-02-27 Joseph Myers <joseph@codesourcery.com>
25600
25601 * manual/install.texi (--with-headers): Describe headers as
25602 interface headers, not private headers.
25603 (Specific advice for GNU/Linux systems): Describe use of headers
25604 from "make headers_install", not private headers from older
25605 kernels.
43be4ca2 25606 * INSTALL: Regenerated.
abd923db
JM
25607 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25608 Change to 2.6.19.
25609 * sysdeps/unix/sysv/linux/configure: Regenerated.
25610
6664049b
JM
25611 * manual/llio.texi (fclean): Remove documentation.
25612
bb8b6697
JM
25613 * manual/Makefile (libc-texi-generated): New variable. Include
25614 version.texi.
25615 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25616 $(libc-texi-generated), not duplicated list of files.
25617 (version.texi, stamp-version): New rules.
25618 (realclean): Remove $(libc-texi-generated), not individual files
25619 from that list. Do not remove dir-add.texinfo.
25620 * manual/libc.texinfo: Comment out uses of edition numbers and
25621 references to printed manual. Remove last-updated dates.
25622 (EDITION): Comment out.
25623 (ISBN): Likewise.
25624 (VERSION, UPDATED): Remove.
25625 (version.texi): Include.
25626
12e5c3b9
AS
256272012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25628
25629 * sysdeps/posix/spawni.c: Include <signal.h>.
25630 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25631 * sysdeps/pthread/aio_fsync.c: Likewise.
25632
4efeffc1 256332012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 25634
ba63ba08
UD
25635 * conform/Makefile (tests): Run only when not cross-compiling and
25636 when fast-check is not defined.
25637
d94a4670
UD
25638 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25639 * conform/data/limits.h-data: Fixes for POSIX2008.
25640 * conform/run-conformtest.sh: Run all tests.
25641 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25642 headers.
25643 * include/bits/dlfcn.h: Likewise.
25644 * include/langinfo.h: Likewise.
25645 * include/monetary.h: Likewise.
25646 * include/sys/poll.h: Likewise.
25647
25648 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25649 for __USE_GNU.
25650 * posix/spawn.h: Define __need_sigset_t.
25651 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25652 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25653 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25654 to get sigevent_t only.
25655 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25656 only for __USE_GNU.
25657 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25658 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25659 process_vm_writev only for __USE_GNU.
25660 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
25661
25662 * conform/Makefile: For now ignore errors from run-conformtest.
25663 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25664 POSIX to avoid namespace pollution. Don't prepend headers.
25665 * conform/data/aio.h-data: Fixes for POSIX testing.
25666 * conform/data/fcntl.h-data: Likewise.
25667 * conform/data/glob.h-data: Likewise.
25668 * conform/data/grp.h-data: Likewise.
25669 * conform/data/pthread.h-data: Likewise.
25670 * conform/data/pwd.h-data: Likewise.
25671 * conform/data/signal.h-data: Likewise.
25672 * conform/data/spawn.h-data: Likewise.
25673 * conform/data/stdio.h-data: Likewise.
25674 * conform/data/stdlib.h-data: Likewise.
25675 * conform/data/stropts.h-data: Likewise.
25676 * conform/data/sys/mman.h-data: Likewise.
25677 * conform/data/sys/stat.h-data: Likewise.
25678 * conform/data/sys/types.h-data: Likewise.
25679 * conform/data/sys/wait.h-data: Likewise.
25680 * conform/data/time.h-data: Likewise.
25681 * conform/data/unistd.h-data: Likewise.
25682 * conform/data/utime.h-data: Likewise.
25683
25684 * io/sys/stat.h: fchmod was always in POSIX.
25685 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25686 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25687 * rt/aio.h: Define __need_timespec before including <time.h>.
25688 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25689 struct. Add forward declaration of pthread_attr_t and use it in
25690 sigevent.
25691 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25692 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25693 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25694 always remove CLK_TCK definition.
25695
c20105c3
AS
256962012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25697
25698 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25699
7a270350
UD
257002012-02-25 Ulrich Drepper <drepper@gmail.com>
25701
31341567
UD
25702 * conform/run-conformtest.sh: New file.
25703 * conform/Makefile: Run run-conformtest for tests.
25704 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25705 support.
25706
25707 * conform/data/uchar.h-data: New file.
25708 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25709 * conform/data/arpa/inet.h-data: Likewise.
25710 * conform/data/assert.h-data: Likewise.
25711 * conform/data/complex.h-data: Likewise.
25712 * conform/data/cpio.h-data: Likewise.
25713 * conform/data/ctype.h-data: Likewise.
25714 * conform/data/dirent.h-data: Likewise.
25715 * conform/data/dlfcn.h-data: Likewise.
25716 * conform/data/errno.h-data: Likewise.
25717 * conform/data/fcntl.h-data: Likewise.
25718 * conform/data/float.h-data: Likewise.
25719 * conform/data/fmtmsg.h-data: Likewise.
25720 * conform/data/fnmatch.h-data: Likewise.
25721 * conform/data/ftw.h-data: Likewise.
25722 * conform/data/glob.h-data: Likewise.
25723 * conform/data/grp.h-data: Likewise.
25724 * conform/data/iconv.h-data: Likewise.
25725 * conform/data/inttypes.h-data: Likewise.
25726 * conform/data/langinfo.h-data: Likewise.
25727 * conform/data/libgen.h-data: Likewise.
25728 * conform/data/limits.h-data: Likewise.
25729 * conform/data/locale.h-data: Likewise.
25730 * conform/data/math.h-data: Likewise.
25731 * conform/data/monetary.h-data: Likewise.
25732 * conform/data/mqueue.h-data: Likewise.
25733 * conform/data/ndbm.h-data: Likewise.
25734 * conform/data/net/if.h-data: Likewise.
25735 * conform/data/netdb.h-data: Likewise.
25736 * conform/data/netinet/in.h-data: Likewise.
25737 * conform/data/nl_types.h-data: Likewise.
25738 * conform/data/poll.h-data: Likewise.
25739 * conform/data/pthread.h-data: Likewise.
25740 * conform/data/pwd.h-data: Likewise.
25741 * conform/data/regex.h-data: Likewise.
25742 * conform/data/sched.h-data: Likewise.
25743 * conform/data/search.h-data: Likewise.
25744 * conform/data/semaphore.h-data: Likewise.
25745 * conform/data/setjmp.h-data: Likewise.
25746 * conform/data/signal.h-data: Likewise.
25747 * conform/data/spawn.h-data: Likewise.
25748 * conform/data/stdarg.h-data: Likewise.
25749 * conform/data/stdio.h-data: Likewise.
25750 * conform/data/stdlib.h-data: Likewise.
25751 * conform/data/string.h-data: Likewise.
25752 * conform/data/strings.h-data: Likewise.
25753 * conform/data/stropts.h-data: Likewise.
25754 * conform/data/sys/ipc.h-data: Likewise.
25755 * conform/data/sys/mman.h-data: Likewise.
25756 * conform/data/sys/msg.h-data: Likewise.
25757 * conform/data/sys/resource.h-data: Likewise.
25758 * conform/data/sys/select.h-data: Likewise.
25759 * conform/data/sys/sem.h-data: Likewise.
25760 * conform/data/sys/shm.h-data: Likewise.
25761 * conform/data/sys/socket.h-data: Likewise.
25762 * conform/data/sys/stat.h-data: Likewise.
25763 * conform/data/sys/statvfs.h-data: Likewise.
25764 * conform/data/sys/time.h-data: Likewise.
25765 * conform/data/sys/timeb.h-data: Likewise.
25766 * conform/data/sys/times.h-data: Likewise.
25767 * conform/data/sys/types.h-data: Likewise.
25768 * conform/data/sys/uio.h-data: Likewise.
25769 * conform/data/sys/un.h-data: Likewise.
25770 * conform/data/sys/utsname.h-data: Likewise.
25771 * conform/data/sys/wait.h-data: Likewise.
25772 * conform/data/syslog.h-data: Likewise.
25773 * conform/data/tar.h-data: Likewise.
25774 * conform/data/termios.h-data: Likewise.
25775 * conform/data/utime.h-data: Likewise.
25776 * conform/data/utmpx.h-data: Likewise.
25777 * conform/data/varargs.h-data: Likewise.
25778 * conform/data/wchar.h-data: Likewise.
25779 * conform/data/wctype.h-data: Likewise.
25780 * conform/data/wordexp.h-data: Likewise.
25781
25782 * include/stropts.h: New file.
25783 * include/uchar.h: New file.
25784 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25785 * include/assert.h: Likewise.
25786 * include/ctype.h: Likewise.
25787 * include/dirent.h: Likewise.
25788 * include/dlfcn.h: Likewise.
25789 * include/fcntl.h: Likewise.
25790 * include/fnmatch.h: Likewise.
25791 * include/glob.h: Likewise.
25792 * include/grp.h: Likewise.
25793 * include/libio.h: Likewise.
25794 * include/locale.h: Likewise.
25795 * include/math.h: Likewise.
25796 * include/net/if.h: Likewise.
25797 * include/netdb.h: Likewise.
25798 * include/netinet/in.h: Likewise.
25799 * include/pthread.h: Likewise.
25800 * include/pwd.h: Likewise.
25801 * include/regex.h: Likewise.
25802 * include/sched.h: Likewise.
25803 * include/search.h: Likewise.
25804 * include/setjmp.h: Likewise.
25805 * include/signal.h: Likewise.
25806 * include/stdio.h: Likewise.
25807 * include/stdlib.h: Likewise.
25808 * include/string.h: Likewise.
25809 * include/sys/cdefs.h: Likewise.
25810 * include/sys/mman.h: Likewise.
25811 * include/sys/msg.h: Likewise.
25812 * include/sys/resource.h: Likewise.
25813 * include/sys/select.h: Likewise.
25814 * include/sys/socket.h: Likewise.
25815 * include/sys/stat.h: Likewise.
25816 * include/sys/statvfs.h: Likewise.
25817 * include/sys/time.h: Likewise.
25818 * include/sys/times.h: Likewise.
25819 * include/sys/uio.h: Likewise.
25820 * include/sys/utsname.h: Likewise.
25821 * include/sys/wait.h: Likewise.
25822 * include/termios.h: Likewise.
25823 * include/time.h: Likewise.
25824 * include/ulimit.h: Likewise.
25825 * include/unistd.h: Likewise.
25826 * include/utime.h: Likewise.
25827 * include/wchar.h: Likewise.
25828 * include/wctype.h: Likewise.
25829 * include/wordexp.h: Likewise.
25830
25831 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25832
7a270350
UD
25833 * time/time.h: TIME_UTC must be a macro.
25834 Make timespec_get available for ISO C11 only as well.
25835
7724defc
UD
258362012-02-24 Ulrich Drepper <drepper@gmail.com>
25837
25838 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25839 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25840
6b1d1d46
JM
258412012-02-24 Joseph Myers <joseph@codesourcery.com>
25842
25843 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25844
0f8bbd69
JM
258452012-02-24 Joseph Myers <joseph@codesourcery.com>
25846
25847 * manual/texinfo.tex: Update to version 2012-01-19.16.
25848
66ab80bc
JM
258492012-02-24 Joseph Myers <joseph@codesourcery.com>
25850
25851 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25852
74981cc5
RM
258532012-02-24 Roland McGrath <roland@hack.frob.com>
25854
ee968201
RM
25855 [BZ #13738]
25856 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25857 * manual/fdl-1.3.texi: New file.
25858 * manual/fdl-1.1.texi: File removed.
25859
74981cc5
RM
25860 [BZ #13738]
25861 * manual/libc.texinfo (FDL_VERSION): New @set.
25862 Use it for mention of FDL in cover text.
25863 (Documentation License): Use it in @include file name.
25864
7bb764bc
JM
258652012-02-22 Joseph Myers <joseph@codesourcery.com>
25866 Roland McGrath <roland@hack.frob.com>
25867
25868 [BZ #5461]
25869 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25870 not LONG_LONG_MAX and LONG_LONG_MIN.
25871 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25872 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25873 name.
25874 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25875
6cbeae47
JM
258762012-02-22 Joseph Myers <joseph@codesourcery.com>
25877
25878 [BZ #2547]
25879 [BZ #11365]
25880 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25881 manipulate bits before adding and subtracting TWO23[sx].
25882 * math/libm-test.inc (nearbyint_test): Add more tests.
25883
fe45ce09
JM
258842012-02-22 Joseph Myers <joseph@codesourcery.com>
25885
25886 [BZ #2548]
25887 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25888 bits before adding and subtracting TWO23[sx].
25889 * math/libm-test.inc (rint_test): Add more tests.
25890 (rint_test_tonearest): Likewise.
25891 (rint_test_towardzero): Likewise.
25892 (rint_test_downward): Likewise.
25893 (rint_test_upward: Likewise.
25894
ff3b3d82
JM
258952012-02-22 Joseph Myers <joseph@codesourcery.com>
25896
25897 [BZ #10110]
25898 * include/stdc-predef.h: New file. Extracted from features.h.
25899 * include/features.h: Include stdc-predef.h.
25900 * Makefile (headers): Add stdc-predef.h.
25901 * CONFORMANCE (Compiler limitations): Update.
25902
ef0aab35
JM
259032012-02-22 Joseph Myers <joseph@codesourcery.com>
25904
25905 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25906
58639409
DM
259072012-02-21 David S. Miller <davem@davemloft.net>
25908
25909 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25910 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25911
c0e70b25
DM
259122012-02-20 David S. Miller <davem@davemloft.net>
25913
25914 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25915 using a normal save/restore sequence, rather than allocating a
25916 dummy stack frame just to store a frame pointer and restore.
25917 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25918
fb06851d
JM
259192012-02-21 Joseph Myers <joseph@codesourcery.com>
25920
25921 * manual/install.texi: Fix stray word in line-wrapped comment.
25922
7a8b71c3
DM
259232012-02-20 David S. Miller <davem@davemloft.net>
25924
d510c123
DM
25925 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25926 both binutils and gcc support GOTDATA.
25927
0722d7c2
DM
25928 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25929 "rd %pc" in the PIC register setup sequences.
25930
3d2b3019
DM
25931 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25932 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25933 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25934 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25935 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25937 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25938 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25939 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25940 (SYSCALL_ERROR_HANDLER): Likewise.
25941 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25942 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25943 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25944 (SYSCALL_ERROR_HANDLER): Likewise.
25945
c80098a9
DM
25946 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25947 (HAVE_GCC_GOTDATA): New.
25948 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25949 relocation support in both binutils and gcc.
25950 * sysdeps/sparc/elf/configure: Regenerate.
25951
3a2545a0
DM
25952 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25953 * sysdeps/sparc/sparc32/elf/configure: Delete.
25954 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25955 * sysdeps/sparc/sparc64/elf/configure: Delete.
25956 * sysdeps/sparc/elf/configure.in: New file.
25957 * sysdeps/sparc/elf/configure: Generate.
25958
7a8b71c3
DM
25959 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25960 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25961 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25962 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25963 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25964
f1e86fca
JM
259652012-02-21 Joseph Myers <joseph@codesourcery.com>
25966
25967 * manual/install.texi: Do not mention specific glibc version
25968 numbers.
25969 * manual/libc.texinfo (VERSION, UPDATED): Update.
25970 (@copying): Use @copyright{} and range of years.
25971
0e7dfaef
JM
259722012-02-21 Joseph Myers <joseph@codesourcery.com>
25973
25974 [BZ #13695]
25975 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25976 [crti.S not in sysdirs] (generated): Do not append.
25977 [crti.S not in sysdirs] (omit-deps): Likewise.
25978 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25979 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25980 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25981 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25982 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25983 Likewise.
25984 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25985 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25986 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25987 * csu/defs.awk: Remove file.
25988 * sysdeps/generic/initfini.c: Likewise.
25989 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25990 variable.
25991 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25992 Likewise.
25993
599af3ca
JM
259942012-02-20 Joseph Myers <joseph@codesourcery.com>
25995
25996 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25997 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25998 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25999 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26000 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26001 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26002 <bits/epoll.h>.
26003 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26004 (__EPOLL_PACKED): Define to empty if not defined by
26005 <bits/epoll.h>.
26006 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26008 bits/epoll.h.
26009
0e499750
JM
260102012-02-20 Joseph Myers <joseph@codesourcery.com>
26011
26012 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26013 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26014 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26015 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26016 <bits/timerfd.h>.
26017 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26019 bits/timerfd.h.
26020
5ad91f6e
JM
260212012-02-20 Joseph Myers <joseph@codesourcery.com>
26022
26023 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26024 in C locale.
26025 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26026 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26027 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26029
06b99b02
AJ
260302012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26031
26032 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26033 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26034
7638c0fd
AS
260352012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26036
26037 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26038 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26039 defined.
26040 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26041 Likewise.
26042 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26043 entry for 2.16.
26044
92221550
AJ
260452012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26046
26047 * math/w_acos.c: Use non-signaling floating-point comparisons.
26048 * math/w_acosf.c: Likewise.
26049 * math/w_acosh.c: Likewise.
26050 * math/w_acoshf.c: Likewise.
26051 * math/w_acoshl.c: Likewise.
26052 * math/w_acosl.c: Likewise.
26053 * math/w_asin.c: Likewise.
26054 * math/w_asinf.c: Likewise.
26055 * math/w_asinl.c: Likewise.
26056 * math/w_atanh.c: Likewise.
26057 * math/w_atanhf.c: Likewise.
26058 * math/w_atanhl.c: Likewise.
26059 * math/w_exp2.c: Likewise.
26060 * math/w_exp2f.c: Likewise.
26061 * math/w_exp2l.c: Likewise.
26062 * math/w_j0.c: Likewise.
26063 * math/w_j0f.c: Likewise.
26064 * math/w_j0l.c: Likewise.
26065 * math/w_j1.c: Likewise.
26066 * math/w_j1f.c: Likewise.
26067 * math/w_j1l.c: Likewise.
26068 * math/w_jn.c: Likewise.
26069 * math/w_jnf.c: Likewise.
26070 * math/w_log.c: Likewise.
26071 * math/w_log10.c: Likewise.
26072 * math/w_log10f.c: Likewise.
26073 * math/w_log10l.c: Likewise.
26074 * math/w_log2.c: Likewise.
26075 * math/w_log2f.c: Likewise.
26076 * math/w_log2l.c: Likewise.
26077 * math/w_logf.c: Likewise.
26078 * math/w_logl.c: Likewise.
26079 * math/w_sqrt.c: Likewise.
26080 * math/w_sqrtf.c: Likewise.
26081 * math/w_sqrtl.c: Likewise.
26082 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26083 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26084 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26085 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26086 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26087
ebaf36eb
JM
260882012-02-19 Joseph Myers <joseph@codesourcery.com>
26089
26090 [BZ #9739]
26091 * manual/string.texi (strnlen): Use correct parameter name in
26092 equivalent expression.
26093
71c254a6
JM
260942012-02-19 Joseph Myers <joseph@codesourcery.com>
26095
26096 [BZ #11174]
26097 * manual/users.texi (seteuid): Consistently use neweuid for
26098 argument name.
26099
16d2c631
JM
261002012-02-19 Joseph Myers <joseph@codesourcery.com>
26101
26102 [BZ #13704]
26103 * manual/nss.texi (Services in the NSS configuration): Correct
26104 list of services in example configuration file.
26105
cd837b09
NB
261062012-02-19 Nick Bowler <nbowler@draconx.ca>
26107
26108 [BZ #11322]
26109 * manual/arith.texi: Remove statements about negative zero
26110 behaving identically to zero.
26111
02c4bbad
JM
261122012-02-18 Joseph Myers <joseph@codesourcery.com>
26113
26114 [BZ #5993]
26115 * manual/install.texi: Do not document upgrading from libc5.
26116
366842e7
JM
261172012-02-18 Joseph Myers <joseph@codesourcery.com>
26118
26119 [BZ #4596]
26120 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26121
dd54084d
DM
261222012-02-18 David S. Miller <davem@davemloft.net>
26123
26124 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26125 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26126 %o7 across the call.
26127 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26128 instead.
26129 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26130 SETUP_PIC_REG_LEAF.
26131 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26132 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26133 * sysdeps/sparc/crtn.S: Likewise.
26134
2bcc53a3
UD
261352012-02-17 Ulrich Drepper <drepper@gmail.com>
26136
26137 * aout/Makefile: Remove.
26138
09c093b5
RK
261392012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26140
26141 [BZ #13058]
26142 * manual/examples/argp-ex1.c (main): Format definition in GNU
26143 style.
26144 * manual/examples/argp-ex2.c (main): Likewise.
26145 * manual/examples/argp-ex3.c (main): Likewise.
26146 * manual/examples/argp-ex4.c (main): Likewise.
26147 * manual/examples/longopt.c (main): Use new-style prototype
26148 definition.
26149 * manual/examples/strncat.c (main): Specify return type and use
26150 (void) for arguments.
26151 * manual/examples/subopt.c (main): Use char **argv argument.
26152
2ee633a2
JM
261532012-02-17 Joseph Myers <joseph@codesourcery.com>
26154
26155 [BZ #5077]
26156 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26157 rounding modes.
26158
0520adde
FB
261592012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26160
26161 [BZ #6907]
26162 * manual/string.texi (strchr): Change when strchrnul is
26163 recommended.
26164
3f4081cd
DGM
261652012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26166
26167 [BZ #174]
26168 * manual/locale.texi (setlocale): Document LOCPATH.
26169
d1b10e78
JM
261702012-02-17 Joseph Myers <joseph@codesourcery.com>
26171
26172 [BZ #10210]
26173 * manual/process.texi (execle): Move @dots{} before last argument.
26174
79c6869c
PB
261752012-02-17 Paul Bolle <pebolle@tiscali.nl>
26176
26177 [BZ #12047]
26178 * manual/charset.texi (Generic Charset Conversion): Fix typo
26179 (LC_TYPE -> LC_CTYPE).
26180
cc6e48bc
NB
261812012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26182
26183 [BZ #5805]
26184 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26185 (scalbnf): Likewise.
26186 (scalbnl): Likewise.
26187 (scalbln): Likewise.
26188 (scalblnf): Likewise.
26189 (scalblnl): Likewise.
26190 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26191 (vwarnx): Likewise.
26192 (verr): Likewise.
26193 (verrx): Likewise.
26194 * manual/filesys.texi (telldir): Use braces around return type.
26195 * manual/llio.texi (mmap): Add space after comma.
26196 (mmap64): Likewise.
26197 * manual/math.texi (jn): Use @var{} on parameter names.
26198 (jnf): Likewise.
26199 (jnl): Likewise.
26200 (yn): Likewise.
26201 (ynf): Likewise.
26202 (ynl): Likewise.
26203 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26204 line.
26205 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26206 "...".
26207 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26208 (sched_get_priority_max): Likewise.
26209 * manual/signal.texi (sigvec): Add space after comma.
26210 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26211 names.
26212 (if_indextoname): Likewise.
26213 (if_freenameindex): Likewise.
26214 (sendto): Use ',' instead of '.' in prototype.
26215 * manual/startup.texi (syscall): Use @dots{} instead of literal
26216 "...".
26217 * manual/stdio.texi (__fpending): Separate initial words of
26218 paragraph from @deftypefun line.
26219 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26220 "...".
26221 (vsyslog): Use @var{} on parameter names.
26222 * manual/terminal.texi (stty): Use @var{} on parameter names.
26223 * manual/users.texi (getutmp): Use @var{} on parameter names.
26224 (getutmpx): Likewise.
26225
5b23062f
JM
262262012-02-17 Joseph Myers <joseph@codesourcery.com>
26227
26228 [BZ #6884]
26229 * manual/stdio.texi (fopen): Fix typos in description of
26230 ",ccs=STRING".
26231
8dee4833
AJ
262322012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26233
26234 [BZ #4026]
26235 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26236 get clock_id definition.
26237
9078ce93
TS
262382012-02-17 Thomas Schwinge <thomas@schwinge.name>
26239
26240 [BZ #4822]
26241 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26242 (madvise): Cast every argument to void on its own.
26243
3835c55f
JM
262442012-02-17 Joseph Myers <joseph@codesourcery.com>
26245
26246 [BZ #9902]
26247 * manual/startup.texi (Exit Status): Fix typo.
26248
35c47e37
JM
262492012-02-17 Joseph Myers <joseph@codesourcery.com>
26250
26251 [BZ #10140]
26252 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26253 * manual/examples/argp-ex2.c: Likewise.
26254 * manual/examples/argp-ex3.c: Likewise.
26255
e3b69ca7
RH
262562012-02-16 Richard Henderson <rth@redhat.com>
26257
26258 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26259 * sysdeps/s390/s390-32/initfini.c: Remove.
26260 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26261 * sysdeps/s390/s390-64/initfini.c: Remove.
26262
df83af67
KK
262632012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26264
26265 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26266 compiler output for sysdeps/generic/initfini.c.
26267 * sysdeps/sh/elf/initfini.c: Remove file.
26268
f63f3380
DM
262692012-02-16 David S. Miller <davem@davemloft.net>
26270
fb59b3a4
DM
26271 [BZ #11494]
26272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26273
f63f3380
DM
26274 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26275 * sysdeps/sparc/crti.S: New file.
26276 * sysdeps/sparc/crtn.S: New file.
26277 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26278 * sysdeps/sparc/sparc64/Makefile: Likewise.
26279
df6a4a4a
MF
262802012-02-15 Mike Frysinger <vapier@gentoo.org>
26281
6dd8f3dc 26282 [BZ #3335]
df6a4a4a
MF
26283 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26284
1cac7236
RM
262852012-02-15 Roland McGrath <roland@hack.frob.com>
26286
d2c736f8
RM
26287 [BZ #4822]
26288 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26289
1cac7236
RM
26290 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26291 (write, read, close): Likewise.
26292 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26293
8e475601
JM
262942012-02-15 Joseph Myers <joseph@codesourcery.com>
26295
26296 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26297 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26298 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26299 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26300 <bits/signalfd.h>.
26301 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26303 bits/signalfd.h.
26304
ed656b40
MP
263052012-02-14 Marek Polacek <polacek@redhat.com>
26306
26307 * sysdeps/x86_64/crti.S: New file.
26308 * sysdeps/x86_64/crtn.S: New file.
26309 * sysdeps/x86_64/elf/initfini.c: Remove file.
26310
2a979d3a
JM
263112012-02-13 Joseph Myers <joseph@codesourcery.com>
26312
26313 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26314 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26315 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26316 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26317 <bits/inotify.h>.
26318 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26320 bits/inotify.h.
26321
2a418ac3
JM
263222012-02-13 Joseph Myers <joseph@codesourcery.com>
26323
26324 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26325 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26326 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26327 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26328 <bits/eventfd.h>.
26329 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26331 bits/eventfd.h.
26332
fb779be7
TS
263332012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26334
e19e83c5
RM
26335 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26336 __feraiseexcept instead of feraiseexcept.
7c35ffed 26337
fb779be7
TS
26338 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26339 nanosleep invocations.
26340 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26341 strings, and add error checking for a nanosleep invocations.
26342
59ba27a6
PE
263432012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26344
26345 Replace FSF snail mail address with URLs, as per GNU coding standards.
26346 Most of the snail mail addresses were wrong anyway, and omitting
26347 them makes the source code easier to maintain. Almost all of the
26348 changes are to license notices and to locale LC_IDENTIFICATION
26349 addresses, except for this one:
26350 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26351 not its snail mail address.
26352
57b957eb
RH
263532012-02-09 Richard Henderson <rth@twiddle.net>
26354
af850b1c
RH
26355 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26356 of kernel-features.h.
26357
57b957eb
RH
26358 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26359
6b73181a
MP
263602012-02-08 Marek Polacek <polacek@redhat.com>
26361
26362 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26363 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26364 * sysdeps/gnu/_G_config.h: Likewise.
26365 * sysdeps/generic/_G_config.h: Likewise.
26366
26ecc33a
AS
263672012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26368
6c6dbc63
AS
26369 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26370 tests.
26371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26372
e216c012
AS
26373 * sysdeps/powerpc/powerpc32/crti.S: New file.
26374 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26375 * sysdeps/powerpc/powerpc64/crti.S: New file.
26376 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26377
26ecc33a
AS
26378 * Makeconfig (have-initfini): Don't set.
26379 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26380 * configure.in (nopic_initfini): Don't substitute.
26381 * config.h.in (HAVE_INITFINI): Don't #undef.
26382 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26383 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26384
3add8e13
JM
263852012-02-08 Joseph Myers <joseph@codesourcery.com>
26386
26387 Support crti.S and crtn.S provided directly by architectures.
26388 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26389 [crti.S in sysdirs] (omit-deps): Likewise.
26390 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26391 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26392 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26393 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26394 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26395 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26396 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26397 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26398 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26399 compiler output for sysdeps/generic/initfini.c.
26400 * sysdeps/i386/elf/Makefile: Remove file.
26401 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26402
a22f12b4
MP
264032012-02-07 Marek Polacek <polacek@redhat.com>
26404
26405 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26406 * sysdeps/gnu/_G_config.h: Likewise.
26407 * sysdeps/mach/hurd/_G_config.h: Likewise.
26408
148cf100
MP
264092012-02-07 Marek Polacek <polacek@redhat.com>
26410
26411 * math/Makefile (tests): Add tst-CMPLX2.
26412 * math/tst-CMPLX2.c: New file.
26413
cfdc0dd7
AS
264142012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26415
84ba42c4
AS
26416 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26417
cfdc0dd7
AS
26418 * math/libm-test.inc (jn_test): Add missing L suffix.
26419
622c86f4
MP
264202012-02-06 Marek Polacek <polacek@redhat.com>
26421
26422 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26423 * sysdeps/i386/fpu/e_powf.S: Likewise.
26424 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26425 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26426 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26427 * sysdeps/i386/fpu/e_pow.S: Likewise.
26428 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26429 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26430 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26431 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26432 * sysdeps/i386/fpu/e_log2.S: Likewise.
26433 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26434 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26435 * sysdeps/i386/fpu/e_powl.S: Likewise.
26436 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26437 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26438 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26439 * sysdeps/i386/fpu/e_logl.S: Likewise.
26440 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26441 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26442 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26443 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26444 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26445 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26446 * sysdeps/i386/fpu/e_log.S: Likewise.
26447 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26448 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26449 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26450 * sysdeps/i386/fpu/e_logf.S: Likewise.
26451 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26452 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26453 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26454 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26455 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26456 * sysdeps/i386/fpu/e_log10.S: Likewise.
26457 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26458 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26459 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26460 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26461 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26462 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26463 * sysdeps/i386/asm-syntax.h: Likewise.
26464 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26465 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26466 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26467 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26468 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26469 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26470 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26471 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26472 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26473 * sysdeps/powerpc/sysdep.h: Likewise.
26474 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26475 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26476
d4a54ac6
JM
264772012-02-06 Joseph Myers <joseph@codesourcery.com>
26478
26479 [BZ #411]
26480 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26481
314054ea
JM
264822012-02-06 Joseph Myers <joseph@codesourcery.com>
26483
26484 * sysdeps/i386/sysdep.h: Include <features.h>.
26485 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26486 version.
26487
d8e0ca50
JM
264882012-02-05 Joseph Myers <joseph@codesourcery.com>
26489
26490 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26491 Define.
26492 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26493 LOAD_PIC_REG_STR.
26494
b1da7dd9
JM
264952012-02-03 Joseph Myers <joseph@codesourcery.com>
26496
26497 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26498 (SETUP_PIC_REG): Use GET_PC_THUNK.
26499 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26500 macro.
26501
9a1d9254
JM
265022012-02-03 Joseph Myers <joseph@codesourcery.com>
26503
26504 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26505 for non-PIC compilation.
26506 (SETUP_PIC_REG): Add .p2align directive.
26507 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26508 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26509 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26510 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26511 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26512 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26513 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26514 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26515 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26516 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26517 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26518 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26519 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26520 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26521 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26522 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26523 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26524 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26525 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26526 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26527 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26528 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26529 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26530 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26531 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26532 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26533 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26534 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26535 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26536 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26537 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26538 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26539 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26540 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26541 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26542 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26543 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26544 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26545 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26546 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26547 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26548
65dc3b75
JM
265492012-02-03 Joseph Myers <joseph@codesourcery.com>
26550
26551 * math/tst-CMPLX.c: Include <stdio.h>.
26552
d55bf177
JM
265532012-01-31 Joseph Myers <joseph@codesourcery.com>
26554
26555 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26556 float.
26557 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26558 * sysdeps/sparc/bits/mathdef.h: Likewise.
26559
69db4f8f
MP
265602012-01-31 Marek Polacek <polacek@redhat.com>
26561
26562 * libio/libio.h: Don't define _PARAMS.
26563 * locale/programs/config.h: Don't define PARAMS.
26564 * stdlib/strtol_l.c: Likewise.
26565 (__strtol_l): Remove PARAMS from the prototype.
26566
41b81892
UD
265672012-01-31 Ulrich Drepper <drepper@gmail.com>
26568
3b49edc0
UD
26569 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26570 names. Just use the correct names. Remove unnecessary wrapper
26571 functions.
26572 * malloc/arena.c: Likewise.
26573 * malloc/hooks.c: Likewise.
26574
41b81892
UD
26575 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26576 ARENA_TEST says not to. Simplify test for creation of a new arena.
26577 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26578
27a25b6e
UD
265792012-01-30 Ulrich Drepper <drepper@gmail.com>
26580
26581 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26582 into tail calls.
26583 (update_get_addr): New function.
26584 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26585 GET_ADDR_MODULE parameter.
26586
c8a89e7d
JM
265872012-01-30 Joseph Myers <joseph@codesourcery.com>
26588
26589 * crypt/cert.c: Remove __STDC__ conditionals.
26590 * crypt/crypt-entry.c: Likewise.
26591 * crypt/crypt_util.c: Likewise.
26592 * libio/filedoalloc.c: Likewise.
26593 * libio/fileops.c: Likewise.
26594 * libio/genops.c: Likewise.
26595 * libio/iofclose.c: Likewise.
26596 * libio/iofdopen.c: Likewise.
26597 * libio/iofopen.c: Likewise.
26598 * libio/iofopen64.c: Likewise.
26599 * libio/iogetdelim.c: Likewise.
26600 * libio/iopopen.c: Likewise.
26601 * libio/obprintf.c: Likewise.
26602 * libio/oldfileops.c: Likewise.
26603 * libio/oldiofclose.c: Likewise.
26604 * libio/oldiofdopen.c: Likewise.
26605 * libio/oldiofopen.c: Likewise.
26606 * libio/oldiopopen.c: Likewise.
26607 * libio/wfiledoalloc.c: Likewise.
26608 * libio/wgenops.c: Likewise.
26609 * locale/programs/xmalloc.c: Likewise.
26610 * misc/syslog.c: Likewise.
26611 * stdio-common/xbug.c: Likewise.
26612 * string/memchr.c: Likewise.
26613 * string/memcmp.c: Likewise.
26614 * string/memrchr.c: Likewise.
26615 * string/rawmemchr.c: Likewise.
26616 * sysdeps/posix/getcwd.c: Likewise.
26617 * time/strftime_l.c: Likewise.
26618
3b100462
JM
266192012-01-30 Joseph Myers <joseph@codesourcery.com>
26620
26621 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
26622 * config.make.in (config-cflags-sse2avx): Define.
26623 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26624 Fix typo.
26625
607998af
CM
266262012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26627
26628 * scripts/config.guess: Update from upstream config git repository.
26629 * scripts/config.sub: Likewise.
26630
3601428f
CM
266312012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26632
3ac8b282
CM
26633 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26634 (EM_NUM): Update.
26635 (R_TILEPRO_*, R_TILEGX_*): New macros.
26636
e034841e
CM
26637 * scripts/firstversions.awk: Fix bug in version range handling.
26638
540d7568
CM
26639 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26640
3601428f
CM
26641 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26642
463de862
CM
26643 * include/sys/epoll.h: New file.
26644 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26645 libc_hidden_def.
26646
73139a76
UD
266472012-01-28 Ulrich Drepper <drepper@gmail.com>
26648
96bc5b45
UD
26649 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26650 Avoid unnecessary __WORDSIZE == 64 test.
26651 (fmaxf): Use VEX format if possible.
26652 (fmax): Likewise.
26653 (fminf): Likewise.
26654 (fmin): Likewise.
26655
56f6f6a2
UD
26656 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26657 * math/math_private.h: Remove libc_fegetround* and
26658 libc_fesetround*.
26659 * sysdeps/i386/configure.in: Check for -msse2avx.
26660 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26661 also if SSE2AVX is defined.
26662 Remove libc_fegetround* and libc_fesetround*.
26663 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26664 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26665 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26666 of HAS_YMM_USABLE.
26667 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26668 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26669 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26670 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26671 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26672
73139a76
UD
26673 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26674
d73f93a4
AZ
266752012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26676
26677 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26678 size is not set.
26679 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26680
6ee65ed6
UD
266812012-01-27 Ulrich Drepper <drepper@gmail.com>
26682
26683 [BZ #13618]
26684 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26685 relocation.
26686 * Makeconfig (libm): Define.
26687 * elf/Makefile: Add rules to build and run tst-relsort1.
26688 * elf/tst-relsort1.c: New file.
26689 * elf/tst-relsort1mod1.c: New file.
26690 * elf/tst-relsort1mod2.c: New file.
26691
8db21882
JM
266922012-01-27 Joseph Myers <joseph@codesourcery.com>
26693
26694 * math/s_ldexp.c: Remove __STDC__ conditionals.
26695 * math/s_ldexpf.c: Likewise.
26696 * math/s_ldexpl.c: Likewise.
26697 * math/s_nextafter.c: Likewise.
26698 * math/s_nexttowardf.c: Likewise.
26699 * math/s_significand.c: Likewise.
26700 * math/s_significandf.c: Likewise.
26701 * math/s_significandl.c: Likewise.
26702 * math/w_jnl.c: Likewise.
26703 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26704 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26705 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26706 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26707 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26708 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26709 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26710 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26711 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26712 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26713 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26714 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26715 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26716 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26717 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26718 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26719 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26720 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26722 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26723 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26724 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26725 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26727 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26728 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26729 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26730 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26731 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26732 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26733 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26734 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26735 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26736 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26737 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26738 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26739 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26740 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26741 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26742 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26743 * sysdeps/ieee754/k_standard.c: Likewise.
26744 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26745 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26746 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26747 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26748 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26749 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26750 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26751 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26752 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26753 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26754 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26755 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26756 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26757 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26758 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26759 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26760 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26761 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26762 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26763 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26764 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26765 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26766 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26767 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26768 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26769 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26772 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26773 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26774 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26775 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26776 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26777 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26778 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26779 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26780 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26781 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26782 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26783 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26784 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26785 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26786 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26787 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26788 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26789 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26790 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26791 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26792 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26793 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26794 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26795 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26796 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26797 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26798 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26799 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26800 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26801 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26802 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26803 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26804 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26805 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26806 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26807 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26808 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26809 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26810 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26811 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26812 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26813 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26814 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26815 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26816 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26817 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26818 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26819 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26820 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26821 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26822 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26823 * sysdeps/ieee754/s_matherr.c: Likewise.
26824 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26825 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26828
965a54a4
JM
268292012-01-26 Joseph Myers <joseph@codesourcery.com>
26830
26831 * crypt/md5.h: Remove __STDC__ conditionals.
26832 * libio/libioP.h: Likewise.
26833 * locale/programs/config.h: Likewise.
26834 * sysdeps/generic/sysdep.h: Likewise.
26835 * sysdeps/i386/asm-syntax.h: Likewise.
26836 * sysdeps/s390/asm-syntax.h: Likewise.
26837 * sysdeps/unix/sysdep.h: Likewise.
26838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26840
7071ad79
JM
268412012-01-26 Joseph Myers <joseph@codesourcery.com>
26842
26843 * libio/libio.h: Remove __STDC__ conditionals.
26844 * malloc/obstack.h: Likewise.
26845 * math/complex.h: Likewise.
26846 * math/math.h: Likewise.
26847 * sysdeps/generic/_G_config.h: Likewise.
26848 * sysdeps/gnu/_G_config.h: Likewise.
26849 * sysdeps/mach/hurd/_G_config.h: Likewise.
26850 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26851 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26852 * sysdeps/sparc/bits/mathdef.h: Likewise.
26853
afc5ed09
UD
268542012-01-26 Ulrich Drepper <drepper@gmail.com>
26855
26856 [BZ #13583]
26857 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26858 Clean up HAS_* macros.
afc5ed09 26859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26860 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26861 possible.
26862 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26863 HAS_AVX.
26864 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26865 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26869
bdb6de1d
JM
268702012-01-25 Joseph Myers <joseph@codesourcery.com>
26871
26872 * elf/tst-unique3.cc (gets): Remove declaration.
26873 * elf/tst-unique3lib.cc (gets): Likewise.
26874 * elf/tst-unique3lib2.cc (gets): Likewise.
26875 * elf/tst-unique4.cc (gets): Likewise.
26876
b15549e6
UD
268772012-01-24 Ulrich Drepper <drepper@gmail.com>
26878
26879 * include/stdio.h: Add C++ protection. Add gets declarations and
26880 definitions.
26881 * debug/tst-chk1.c: Don't declare gets here.
26882 * stdio-common/tst-gets.c: Likewise.
26883
a037381f
JM
268842012-01-24 Joseph Myers <joseph@codesourcery.com>
26885
26886 * posix/glob: Remove directory.
26887
f1d4aa75
JM
268882012-01-24 Joseph Myers <joseph@codesourcery.com>
26889
26890 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26891
81c0c964
PT
268922012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26893
26894 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26895 of the non-standard EPFNOSUPPORT.
26896
0ea698ae
ST
268972011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26898
26899 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26900 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26901 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26902
d220b117
UD
269032012-01-21 Ulrich Drepper <drepper@gmail.com>
26904
26905 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26906
3e1aa84e
UD
269072012-01-20 Ulrich Drepper <drepper@gmail.com>
26908
26909 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26910 transient errors.
26911 * nscd/grpcache.c (cache_addgr): Likewise.
26912 * nscd/hstcache.c (cache_addhst): Likewise.
26913 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26914 * nscd/pwdcache.c (cache_addpw): Likewise.
26915 * nscd/servicescache.c (cache_addserv): Likewise.
26916
400aa020
UD
269172012-01-16 Ulrich Drepper <drepper@gmail.com>
26918
d77e7869
UD
26919 * malloc/malloc.c: Various cleanups.
26920 * malloc/hooks.c: Likewise.
26921
400aa020
UD
26922 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26923 * stdlib/bug-fmtmsg1.c: New file.
26924
26925 * stdlib/fmtmsg.c (init): Add missing unlock.
26926 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26927
e0a309cf
MP
269282012-01-12 Marek Polacek <polacek@redhat.com>
26929
26930 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26931 and _GNU_SOURCE.
26932
929d11c7
WS
269332012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26934
26935 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26936 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26937 macro to ensure uniqueness of label name.
26938 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26939 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26940
41d0e869
UD
269412012-01-11 Ulrich Drepper <drepper@gmail.com>
26942
0cc5ed3b
UD
26943 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26944
41d0e869
UD
26945 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26946 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26947 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26949
a47a831a
UD
269502012-01-10 Ulrich Drepper <drepper@gmail.com>
26951
daa891c0
UD
26952 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26953
26954 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26955 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26956 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26957
e58ef0f2
UD
26958 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26959
a47a831a 26960 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26961 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26962 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26964
26965 * math/bits/math-finite.h: Add ldexp support.
26966
a0bfc9c7
MP
269672012-01-10 Marek Polacek <polacek@redhat.com>
26968
26969 * locale/programs/localedef.h (show_archive_content): Add noreturn
26970 attribute.
26971
d6e97a1d
UD
269722012-01-09 Ulrich Drepper <drepper@gmail.com>
26973
26974 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26975
d5835c26
UD
269762012-01-08 Ulrich Drepper <drepper@gmail.com>
26977
e5f484c6
UD
26978 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26979
d5835c26
UD
26980 * io/Makefile (headers): Add bits/poll2.h.
26981
d1f741e9
WS
269822011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26983
26984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26985 typo #include statement.
26986
ec09c1c4
UD
269872012-01-08 Ulrich Drepper <drepper@gmail.com>
26988
26989 * include/sys/cdefs.h: Define __attribute_alloc_size.
26990 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26991 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26992 * elf/pldd.c: Likewise.
26993 * iconv/iconv_charmap.c: Likewise.
26994 * iconv/iconvconfig.c: Likewise.
26995 * iconv/strtab.c: Likewise.
26996 * locale/programs/locale.c: Likewise.
26997 * locale/programs/localedef.h: Likewise.
26998 * locale/programs/simple-hash.c: Likewise.
26999 * nscd/nscd.h: Likewise.
27000 * nss/makedb.c: Likewise.
27001 * sysdeps/generic/ldconfig.h: Likewise.
27002 * locale/programs/localedef.c: Remove xmalloc prototype.
27003 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27004
20b38e03
PP
270052012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27006
27007 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27008 appropriate.
27009
a0da5fe1
UD
270102012-01-08 Ulrich Drepper <drepper@gmail.com>
27011
1d5a644a 27012 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27013 * math/tst-CMPLX.c: New file.
1d5a644a 27014
8784a6db
UD
27015 * math/complex.h (CMPLXL): Fix typo.
27016
d9a216c0
UD
27017 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27018 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27019 GLIBC_2.16.
27020 * debug/tst-chk1.c: Add poll and ppoll tests.
27021 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27022 * include/sys/poll.h: Add hidden proto for ppoll.
27023 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27024 * sysdeps/mach/hurd/ppoll.c: Likewise.
27025 * io/ppoll.c: Likewise.
27026 * debug/poll_chk.c: New file.
27027 * debug/ppoll_chk.c: New file.
27028 * include/bits/poll2.h: New file.
27029 * io/bits/poll2.h: New file.
27030
ac097f5c
UD
27031 [BZ #1350]
27032 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27033
2119dcfa
UD
27034 * configure.in: static is always set to yes. Remove.
27035 * config.make.in: Don't set build-static.
27036 * Makeconfig: Remove use of build-static.
27037 * dlfcn/Makefile: Likewise.
27038 * elf/Makefile: Likewise.
27039 * math/Makefile: Likewise.
27040 * misc/Makefile: Likewise.
27041 * nptl/Makefile: Likewise.
27042 * sysdeps/mach/hurd/Makefile: Likewise.
27043
121766a9
UD
27044 * configure.in: PWD_P is not used anymore.
27045 * config.make.in: Remove PWD_P entry.
27046
51a1d39c 27047 * configure.in: Remove last remnants of RANLIB.
8720d066 27048 No need to check for signed size_t anymore.
215f4bdc
UD
27049 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27050 and IA-64.
3857022a 27051 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
27052 * aclocal.m4: Likewise.
27053
d3ed7225
UD
27054 * wcsmbs/mbrtoc16.c: Implement using towc function.
27055 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27056 * wcsmbs/wcsmbsload.c: Likewise.
27057 * iconv/gconv_simple.c: Likewise.
27058 * iconv/gconv_int.h: Likewise.
27059 * iconv/gconv_builtin.h: Likewise.
27060 * iconv/iconv_prog.c: Remove CHAR16 handling.
27061
27062 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27063
27064 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27065
a0da5fe1
UD
27066 * configure.in: Remove --with-elf and --enable-bounded options.
27067 Dont set base_machine for ia64. More non-ELF conditions removed.
27068 Remove testing and setting of leading underscore information.
27069 * config.make.in (build-bounded): Set to no.
27070 * config.h.in: Remove NO_UNDERSCORES entry.
27071 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27072 them.
27073 * csu/start.c: Remove !NO_UNDERSCORE code.
27074 * locale/localeinfo.h: Likewise.
27075 * sysdeps/generic/machine-gmon.h: Likewise.
27076 * sysdeps/generic/sysdep.h: Likewise.
27077 * sysdeps/i386/sysdep.h: Likewise.
27078 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27079 * sysdeps/mach/sysdep.h: Likewise.
27080 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27081 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27082 * sysdeps/sh/sysdep.h: Likewise.
27083 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27084 * sysdeps/unix/i386/sysdep.S: Likewise.
27085 * sysdeps/unix/sparc/start.c: Likewise.
27086 * sysdeps/unix/sparc/sysdep.S: Likewise.
27087 * sysdeps/unix/sparc/sysdep.h: Likewise.
27088 * sysdeps/unix/start.c: Likewise.
27089 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27090 * sysdeps/x86_64/sysdep.h: Likewise.
27091
df78418a
UD
270922012-01-07 Ulrich Drepper <drepper@gmail.com>
27093
a784e502
UD
27094 [BZ #13553]
27095 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27096 for non-gcc.
27097 * argp/argp-fmtstream.h: Use const instead __const.
27098 * argp/argp.h: Likewise.
27099 * assert/assert.h: Likewise.
27100 * bits/fenv.h: Likewise.
27101 * bits/sched.h: Likewise.
27102 * bits/sigset.h: Likewise.
27103 * bits/sigthread.h: Likewise.
27104 * catgets/nl_types.h: Likewise.
27105 * conform/data/pthread.h-data: Likewise.
27106 * crypt/crypt-private.h: Likewise.
27107 * crypt/crypt.h: Likewise.
27108 * crypt/crypt_util.c: Likewise.
27109 * ctype/ctype.h: Likewise.
27110 * debug/execinfo.h: Likewise.
27111 * debug/mbsnrtowcs_chk.c: Likewise.
27112 * debug/mbsrtowcs_chk.c: Likewise.
27113 * debug/wcsnrtombs_chk.c: Likewise.
27114 * debug/wcsrtombs_chk.c: Likewise.
27115 * debug/wcstombs_chk.c: Likewise.
27116 * dirent/dirent.h: Likewise.
27117 * dlfcn/dlfcn.h: Likewise.
27118 * elf/neededtest4.c: Likewise.
27119 * grp/grp.h: Likewise.
27120 * gshadow/gshadow.h: Likewise.
27121 * iconv/gconv.h: Likewise.
27122 * iconv/gconv_int.h: Likewise.
27123 * iconv/gconv_simple.c: Likewise.
27124 * iconv/iconv.h: Likewise.
27125 * iconv/loop.c: Likewise.
27126 * iconv/skeleton.c: Likewise.
27127 * include/aio.h: Likewise.
27128 * include/aliases.h: Likewise.
27129 * include/argz.h: Likewise.
27130 * include/arpa/inet.h: Likewise.
27131 * include/assert.h: Likewise.
27132 * include/dirent.h: Likewise.
27133 * include/dlfcn.h: Likewise.
27134 * include/execinfo.h: Likewise.
27135 * include/fcntl.h: Likewise.
27136 * include/fenv.h: Likewise.
27137 * include/glob.h: Likewise.
27138 * include/grp.h: Likewise.
27139 * include/libintl.h: Likewise.
27140 * include/mntent.h: Likewise.
27141 * include/netdb.h: Likewise.
27142 * include/pwd.h: Likewise.
27143 * include/rpc/netdb.h: Likewise.
27144 * include/sched.h: Likewise.
27145 * include/search.h: Likewise.
27146 * include/shadow.h: Likewise.
27147 * include/signal.h: Likewise.
27148 * include/stdio.h: Likewise.
27149 * include/stdlib.h: Likewise.
27150 * include/string.h: Likewise.
27151 * include/sys/socket.h: Likewise.
27152 * include/sys/stat.h: Likewise.
27153 * include/sys/statfs.h: Likewise.
27154 * include/sys/statvfs.h: Likewise.
27155 * include/sys/syslog.h: Likewise.
27156 * include/sys/time.h: Likewise.
27157 * include/sys/uio.h: Likewise.
27158 * include/time.h: Likewise.
27159 * include/unistd.h: Likewise.
27160 * include/utmp.h: Likewise.
27161 * include/wchar.h: Likewise.
27162 * include/wctype.h: Likewise.
27163 * inet/aliases.h: Likewise.
27164 * inet/arpa/inet.h: Likewise.
27165 * inet/netinet/ether.h: Likewise.
27166 * inet/netinet/in.h: Likewise.
27167 * intl/libintl.h: Likewise.
27168 * io/bits/fcntl2.h: Likewise.
27169 * io/fcntl.h: Likewise.
27170 * io/ftw.h: Likewise.
27171 * io/sys/poll.h: Likewise.
27172 * io/sys/stat.h: Likewise.
27173 * io/sys/statfs.h: Likewise.
27174 * io/sys/statvfs.h: Likewise.
27175 * io/utime.h: Likewise.
27176 * libio/bits/stdio.h: Likewise.
27177 * libio/bits/stdio2.h: Likewise.
27178 * libio/libio.h: Likewise.
27179 * libio/libioP.h: Likewise.
27180 * libio/stdio.h: Likewise.
27181 * locale/lc-ctype.c: Likewise.
27182 * locale/locale.h: Likewise.
27183 * login/utmp.h: Likewise.
27184 * malloc/arena.c: Likewise.
27185 * malloc/malloc.c: Likewise.
27186 * malloc/malloc.h: Likewise.
27187 * malloc/mcheck.c: Likewise.
27188 * malloc/mtrace.c: Likewise.
27189 * math/bits/mathcalls.h: Likewise.
27190 * math/fenv.h: Likewise.
27191 * math/math_private.h: Likewise.
27192 * misc/bits/error.h: Likewise.
27193 * misc/bits/syslog.h: Likewise.
27194 * misc/err.h: Likewise.
27195 * misc/error.h: Likewise.
27196 * misc/fstab.h: Likewise.
27197 * misc/mntent.h: Likewise.
27198 * misc/regexp.h: Likewise.
27199 * misc/search.h: Likewise.
27200 * misc/sgtty.h: Likewise.
27201 * misc/sys/mman.h: Likewise.
27202 * misc/sys/syslog.h: Likewise.
27203 * misc/sys/uio.h: Likewise.
27204 * misc/sys/xattr.h: Likewise.
27205 * misc/ttyent.h: Likewise.
27206 * nis/rpcsvc/ypclnt.h: Likewise.
27207 * nss/nss.h: Likewise.
27208 * posix/bits/unistd.h: Likewise.
27209 * posix/fnmatch.h: Likewise.
27210 * posix/glob.h: Likewise.
27211 * posix/sched.h: Likewise.
27212 * posix/spawn.h: Likewise.
27213 * posix/sys/wait.h: Likewise.
27214 * posix/unistd.h: Likewise.
27215 * posix/wordexp.h: Likewise.
27216 * pwd/pwd.h: Likewise.
27217 * resolv/netdb.h: Likewise.
27218 * resource/sys/resource.h: Likewise.
27219 * rt/aio.h: Likewise.
27220 * rt/bits/mqueue2.h: Likewise.
27221 * rt/mqueue.h: Likewise.
27222 * shadow/shadow.h: Likewise.
27223 * signal/signal.h: Likewise.
27224 * socket/send.c: Likewise.
27225 * socket/sendto.c: Likewise.
27226 * socket/sys/socket.h: Likewise.
27227 * stdio-common/printf.h: Likewise.
27228 * stdlib/bits/stdlib.h: Likewise.
27229 * stdlib/fmtmsg.h: Likewise.
27230 * stdlib/monetary.h: Likewise.
27231 * stdlib/stdlib.h: Likewise.
27232 * stdlib/ucontext.h: Likewise.
27233 * streams/stropts.h: Likewise.
27234 * string/argz.h: Likewise.
27235 * string/bits/string2.h: Likewise.
27236 * string/string.h: Likewise.
27237 * string/strings.h: Likewise.
27238 * sunrpc/rpc/auth.h: Likewise.
27239 * sunrpc/rpc/auth_des.h: Likewise.
27240 * sunrpc/rpc/clnt.h: Likewise.
27241 * sunrpc/rpc/netdb.h: Likewise.
27242 * sunrpc/rpc/pmap_clnt.h: Likewise.
27243 * sunrpc/rpc/xdr.h: Likewise.
27244 * sysdeps/generic/inttypes.h: Likewise.
27245 * sysdeps/generic/net/if.h: Likewise.
27246 * sysdeps/generic/sys/swap.h: Likewise.
27247 * sysdeps/gnu/net/if.h: Likewise.
27248 * sysdeps/gnu/utmpx.h: Likewise.
27249 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27250 * sysdeps/i386/i486/bits/string.h: Likewise.
27251 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27252 * sysdeps/s390/bits/string.h: Likewise.
27253 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27254 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27255 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27256 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27257 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27258 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27259 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27260 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27261 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27262 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27263 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27264 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27265 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27266 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27267 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27268 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27269 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27271 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27272 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27273 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27274 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27275 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27276 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27277 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27278 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27279 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27280 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27281 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27282 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27283 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27284 * sysvipc/sys/ipc.h: Likewise.
27285 * sysvipc/sys/msg.h: Likewise.
27286 * sysvipc/sys/sem.h: Likewise.
27287 * sysvipc/sys/shm.h: Likewise.
27288 * termios/termios.h: Likewise.
27289 * time/sys/time.h: Likewise.
27290 * time/time.h: Likewise.
27291 * wcsmbs/bits/wchar2.h: Likewise.
27292 * wcsmbs/uchar.h: Likewise.
27293 * wcsmbs/wchar.h: Likewise.
27294 * wctype/wctype.h: Likewise.
27295
0269750c
UD
27296 [BZ #13551]
27297 * Makeconfig: Remove all but ELF support including AIX support.
27298 * Makerules: Likewise.
27299 * config.h.in: Likewise.
27300 * config.make.in: Likewise.
27301 * configure: Likewise.
27302 * configure.in: Likewise.
27303 * csu/Makefile: Likewise.
27304 * csu/version.c: Likewise.
27305 * debug/Makefile: Likewise.
27306 * dlfcn/Makefile: Likewise.
27307 * elf/Makefile: Likewise.
27308 * extra-lib.mk: Likewise.
27309 * iconv/Makefile: Likewise.
27310 * include/libc-symbols.h: Likewise.
27311 * include/shlib-compat.h: Likewise.
27312 * resolv/Makefile: Likewise.
27313 * resolv/res_libc.c: Likewise.
27314 * rt/Makefile: Likewise.
27315 * sysdeps/i386/asm-syntax.h: Likewise.
27316 * sysdeps/i386/sysdep.h: Likewise.
27317 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27318 * sysdeps/mach/sysdep.h: Likewise.
27319 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27320 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27321 * sysdeps/s390/asm-syntax.h: Likewise.
27322 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27323 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27324 * sysdeps/sh/sysdep.h: Likewise.
27325 * sysdeps/unix/sparc/sysdep.h: Likewise.
27326 * sysdeps/wordsize-32/divdi3.c: Likewise.
27327 * sysdeps/x86_64/sysdep.h: Likewise.
27328
00bbd29b
UD
27329 * argp/Versions: Remove _argp_unlock_xxx.
27330
27331 [BZ #13559]
27332 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27333 * abilist/libBrokenLocale.abilist: Likewise.
27334 * abilist/libanl.abilist: Likewise.
27335 * abilist/libc.abilist: Likewise.
27336 * abilist/libcrypt.abilist: Likewise.
27337 * abilist/libdl.abilist: Likewise.
27338 * abilist/libm.abilist: Likewise.
27339 * abilist/libnsl.abilist: Likewise.
27340 * abilist/libpthread.abilist: Likewise.
27341 * abilist/libresolv.abilist: Likewise.
27342 * abilist/librt.abilist: Likewise.
27343 * abilist/libthread_db.abilist: Likewise.
27344 * abilist/libutil.abilist: Likewise.
27345 * abilist/libnss_db.abilist: New file.
27346
27347 * scripts/abilist.awk: Add support for indirect functions.
27348
a2693a0e
UD
27349 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27350
3f05895f
UD
27351 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27352
ecb6fb48
UD
27353 * shlib-versions: Remove entries for ports architectures.
27354
664f8cb9
UD
27355 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27356 files in ports.
27357 * elf/stackguard-macros.h: Remove support for IA-64.
27358 * elf/tst-auditmod1.c: Likewise.
27359 * sysdeps/generic/ldsodefs.h: Likewise.
27360
7ae81d88
UD
27361 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27362 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27363 configure files.
27364
bdeba135
UD
27365 [BZ #13552]
27366 * configure.in: Remove --enable-omitfp support.
27367 * FAQ.in: Adjust.
27368 * config.make.in: Likewise.
27369 * Makeconfig: Likewise.
27370 * manual/install.texi: Likewise.
27371
d75a0a62
UD
27372 In case anyone cares, the IA-64 architecture could move to ports.
27373 * sysdeps/ia64/*: Removed.
27374 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 27375 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 27376
dcc9756b
UD
27377 [BZ #13555]
27378 * configure.in: Remove entries for unsupported architectures.
27379
d3761ebc 27380 [BZ #13533]
9954432e
UD
27381 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27382 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27383 routines.
27384 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27385 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27386 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27387 fall back to using wcrtomb.
27388 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27389 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27390 renaming.
27391 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27392 * wcsmbs/tst-c16c32-1.c: New file.
27393
27394 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27395 local variable.
27396
c3a87236
UD
27397 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27398
28926a1b
UD
27399 * elf/tst-unique3.cc: Add explicit declaration of gets.
27400 * elf/tst-unique3lib.cc: Likewise.
27401 * elf/tst-unique3lib2.cc: Likewise.
27402 * elf/tst-unique4.cc: Likewise.
27403
df78418a
UD
27404 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27405
8ecd6b2a
JM
274062012-01-06 Joseph Myers <joseph@codesourcery.com>
27407
27408 [BZ #13566]
27409 * assert/assert.h (static_assert): Don't define for C++.
27410 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27411 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27412
9f115170
UD
274132012-01-03 Ulrich Drepper <drepper@gmail.com>
27414
5e0d0300
UD
27415 * iconv/loop.c (single loop): Fix assertion in storing of
27416 remaining bytes.
27417
9f115170
UD
27418 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27419
81fb02b0
UD
274202012-01-01 Ulrich Drepper <drepper@gmail.com>
27421
27422 * posix/getconf.c: Update copyright year.
27423 * nss/getent.c: Likewise.
a316c1f6 27424 * nss/makedb.c: Likewise.
81fb02b0
UD
27425 * iconv/iconvconfig.c: Likewise.
27426 * iconv/iconv_prog.c: Likewise.
27427 * elf/ldconfig.c: Likewise.
a316c1f6
UD
27428 * elf/pldd.c: Likewise.
27429 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
27430 * catgets/gencat.c: Likewise.
27431 * csu/version.c: Likewise.
27432 * elf/ldd.bash.in: Likewise.
27433 * elf/sprof.c (print_version): Likewise.
27434 * locale/programs/locale.c: Likewise.
27435 * locale/programs/localedef.c: Likewise.
a316c1f6 27436 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
27437 * nscd/nscd.c (print_version): Likewise.
27438 * debug/xtrace.sh: Likewise.
27439 * malloc/memusage.sh: Likewise.
27440 * malloc/mtrace.pl: Likewise.
27441 * debug/catchsegv.sh: Likewise.
27442
2ba92745
JJ
274432011-12-30 Jakub Jelinek <jakub@redhat.com>
27444
27445 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27446 pure attribute.
27447
dadebdae
UD
274482011-12-24 Ulrich Drepper <drepper@gmail.com>
27449
d3761ebc 27450 [BZ #13533]
db6af3eb
UD
27451 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27452 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27453 transformations.
27454 * iconv/gconv_int.h: Likewise.
27455 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27456 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27457 from libc for GLIBC_2.16.
27458 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27459 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27460 * wcsmbs/uchar.h: Really define mbstate_t.
27461 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27462 * wcsmbs/c16rtomb.c: New file.
27463 * wcsmbs/mbrtoc16.c: New file.
27464 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27465 for C/POSIX locale.
27466 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27467 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27468
dadebdae
UD
27469 * wcsmbs/wchar.h: Add missing __restrict.
27470
67371b56
UD
274712011-12-23 Ulrich Drepper <drepper@gmail.com>
27472
74033a25
UD
27473 [BZ #13532]
27474 * time/Makefile (routines): Add timespec_get.
27475 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27476 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27477 timespec for ISO C11.
27478 * time/timespec_get.c: New file.
27479 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27480 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27481
380d7e87
UD
27482 [BZ #13531]
27483 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27484 * stdlib/stdlib.h: Declare aligned_alloc.
27485 * Versions.def: Add GLIBC_2.16 for libc.
27486 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27487
4e9e7a35
UD
27488 [BZ 13527]
27489 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27490 ISO C11.
27491
380d7e87 27492 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
27493 code.
27494
03a71829
UD
27495 [BZ #13528]
27496 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27497
839e283e
UD
27498 [BZ #13529]
27499 * assert/assert.h (static_assert): Define.
27500
ce5294e2 27501 * version.h: Update for 2.16 development version.
90fa7312 27502
8d44e150 27503 [BZ #13526]
d7809905
UD
27504 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27505 _ISOC11_SOURCE.
27506
c0da14cd
UD
27507 * version.h (RELEASE): Bump for 2.15 release.
27508 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27509
530a3249
MP
27510 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27511 Patch by Marek Polacek <mpolacek@redhat.com>.
27512
67371b56
UD
27513 * bits/byteswap.h: Protect long long constants with __extension__.
27514 * sysdeps/i386/bits/byteswap.h: Likewise.
27515 * sysdeps/ia64/bits/byteswap.h: Likewise.
27516 * sysdeps/s390/bits/byteswap.h: Likewise.
27517 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27518
15db4de1
LD
275192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27520
27521 [BZ #13540]
bbe315ea
LD
27522 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27523 destination buffer.
15db4de1
LD
27524 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27525
2b2596b1
MP
275262011-12-23 Marek Polacek <polacek@redhat.com>
27527
27528 * elf/dl-addr.c (determine_info): Add inline keyword.
27529 * elf/tst-auditmod4b.c (check_avx): Likewise.
27530 * elf/tst-auditmod6b.c (check_avx): Likewise.
27531 * elf/tst-auditmod6c.c (check_avx): Likewise.
27532 * elf/tst-auditmod7b.c (check_avx): Likewise.
27533
70c6c246
UD
275342011-12-23 Ulrich Drepper <drepper@gmail.com>
27535
27536 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27537 !__SSE_MATH__.
27538
c044cf14
LD
275392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27540
15db4de1 27541 [BZ #13540]
c044cf14
LD
27542 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27543 processing for last bytes.
27544
6b13d9d9
BH
275452011-08-06 Bruno Haible <bruno@clisp.org>
27546
d455f537
BH
27547 [BZ #13061]
27548 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27549 U+0385, not to U+1FEE.
27550
6b13d9d9
BH
27551 [BZ #13062]
27552 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27553 entry for U+00A5 U+0301.
27554
db910efd
UD
275552011-12-22 Ulrich Drepper <drepper@gmail.com>
27556
27deeafc
UD
27557 [BZ #13166]
27558 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27559 buffer for the output is too small.
27560
aed9d171
UD
27561 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27562 optimization.
27563
db910efd
UD
27564 [BZ #13185]
27565 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27566 SSE flags if possible.
27567
2bd779ae
LD
275682011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27569
e7f9dac3 27570 [BZ #13540]
2bd779ae
LD
27571 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27572 processing for last bytes.
27573
154bfc16
JM
275742011-12-22 Joseph Myers <joseph@codesourcery.com>
27575
27576 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27577 (syscall-list-default-options, syscall-list-default-condition)
27578 (syscall-list-includes): Define.
27579 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27580 list of ABIs and options and #if conditions for each ABI. Do not
27581 handle common syscalls between ABIs specially.
27582 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27583 Remove.
27584 (syscall-list-variants, syscall-list-32bit-options)
27585 (syscall-list-32bit-condition, syscall-list-64bit-options)
27586 (syscall-list-64bit-condition): Define.
27587 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27588 (syscall-list-variants, syscall-list-32bit-options)
27589 (syscall-list-32bit-condition, syscall-list-64bit-options)
27590 (syscall-list-64bit-condition): Define.
27591 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27592 Remove.
27593 (syscall-list-variants, syscall-list-32bit-options)
27594 (syscall-list-32bit-condition, syscall-list-64bit-options)
27595 (syscall-list-64bit-condition): Define.
27596 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27597 Remove.
27598 (syscall-list-variants, syscall-list-32bit-options)
27599 (syscall-list-32bit-condition, syscall-list-64bit-options)
27600 (syscall-list-64bit-condition): Define.
27601
21eaf3a5
UD
276022011-12-22 Ulrich Drepper <drepper@gmail.com>
27603
16c6f992
UD
27604 * locale/iso-639.def: Add brx entry.
27605
41043168
UD
27606 [BZ #13328]
27607 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27608 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27609
21eaf3a5
UD
27610 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27611 __feraiseexcept_renamed.
27612
e3a851a2
UD
276132011-12-21 Ulrich Drepper <drepper@gmail.com>
27614
4920765e
UD
27615 [BZ #13538]
27616 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27617 EPOLLET with unsigned values.
27618 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27619 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27620
e3a851a2
UD
27621 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27622 to large cancellation.
27623 * math/s_cacoshf.c: Likewise.
27624 * math/s_cacoshl.c: Likewise.
27625
b27e24b8
RK
276262011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27627
27628 [BZ #13305]
aebefeee 27629 [BZ #12786]
b27e24b8
RK
27630 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27631 * math/s_cacoshf.c: Likewise.
27632 * math/s_cacoshl.c: Likewise.
27633
ee190f67
UD
276342011-12-21 Ulrich Drepper <drepper@gmail.com>
27635
27636 [BZ #13439]
27637 * iconv/gconv.h: Define __GCONV_SWAP.
27638 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27639 * iconvdata/utf-16.c: Likewise.
27640 * iconvdata/utf-32.c: Likewise.
27641
707f25df
AS
276422011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27643
27644 [BZ #13524]
27645 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27646 numerator after shifting it by one limb.
27647
d2daaa1e
RÁE
276482011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27649
27650 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27651 under [__USE_EXTERN_INLINES].
27652
a4647e72
UD
276532011-12-17 Ulrich Drepper <drepper@gmail.com>
27654
27655 [BZ #13446]
27656 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27657
f0b264f1
AZ
276582011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27659
27660 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27661 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27662 optimized code.
27663 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27664 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27665 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27666 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27667 for strncasecmp/strncasecmp_l compilation.
27668 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27669 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27670
8ef4f244
MP
276712011-12-08 Marek Polacek <mpolacek@redhat.com>
27672
27673 [BZ #13484]
27674 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27675 of __asm__.
27676
97ac2654
UD
276772011-12-17 Ulrich Drepper <drepper@gmail.com>
27678
27679 [BZ #13506]
27680 * time/tzfile.c (__tzfile_read): Check values from file header.
27681
91d2a845
WS
276822011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27683
27684 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27685 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27686 * powerpc/powerpc32/dl-start.S: Likewise.
27687 * powerpc/powerpc32/elf/start.S: Likewise.
27688 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27689 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27690 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27691 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27692 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27693 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27694 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27695 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27696 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27697 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27698 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27699 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27700 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27701 * powerpc/powerpc32/memset.S: Likewise.
27702 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27703 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27704 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27705 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27706 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27707 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27708 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27709 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27710 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27711 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27712 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27713 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27714 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27715
a1267ba1
AZ
277162011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27717
27718 * math/libm-test.inc: Added more nearbyint tests.
27719 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27720 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27721 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27722 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27723
ad8ac1bd
RL
277242011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27725
27726 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27727 FD_CLOEXEC.
27728
1d3e4b61
UD
277292011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27730
27731 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27732 Add wcscpy-ssse3 wcscpy-c.
27733 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27734 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27735 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27736 * sysdeps/x86_64/wcschr.S: New file.
27737 * sysdeps/x86_64/wcsrchr.S: New file.
27738 * string/test-strcmp.c: Remove checking of wcscmp function for
27739 wrong alignments.
27740 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27741 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27742 wcsrchr-sse2 wcsrchr-c.
27743 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27744 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27745 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27746 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27747 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27748 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27749 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27750 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27751 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27752 * wcsmbc/wcschr.c (WCSCHR): New macro.
27753
5b330a2d
UD
277542011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27755
27756 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27757 * wcsmbs/test-wcsrchr.c: New file.
27758 * string/test-strrchr.c: Add wcsrchr support.
27759 (WIDE): New macro.
27760 * wcsmbs/test-wcscpy.c: New file.
27761 * string/test-strcpy.c: Add wcscpy support.
27762 (WIDE): New macro.
26428b7c 27763
f039c043
UD
277642011-12-10 Ulrich Drepper <drepper@gmail.com>
27765
27766 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27767 the inner loop.
27768
850fb039
AS
277692011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27770
27771 [BZ #13472]
27772 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27773
4efbd5cb
UD
277742011-12-04 Ulrich Drepper <drepper@gmail.com>
27775
52ff5dd0 27776 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27777 Minor optimizations.
52ff5dd0 27778
4efbd5cb
UD
27779 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27780 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27781 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27782
8a426e12
UD
277832011-12-03 Ulrich Drepper <drepper@gmail.com>
27784
aff2453d
UD
27785 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27786 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27787 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27788 for gcc to avoid warnings.
27789 * inet/Makefile (tests): Add tst-checks.
27790 * inet/tst-checks.c: New file.
27791
27792 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27793 warning.
27794
27795 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27796 __wmemcmp_sse2.
27797
27798 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27799 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27800
8a426e12
UD
27801 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27802
9bea3473
UD
278032011-12-02 Ulrich Drepper <drepper@gmail.com>
27804
3a965496
UD
27805 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27806 problem.
27807
9bea3473
UD
27808 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27809
f101631b
UD
278102011-11-29 Joseph Myers <joseph@codesourcery.com>
27811
27812 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27813 conditional on GCC version.
27814 (__arch_compare_and_exchange_val_8_acq)
27815 (__arch_compare_and_exchange_val_16_acq)
27816 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27817 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27818 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27819
a98275aa
UD
278202011-12-02 Joseph Myers <joseph@codesourcery.com>
27821
27822 * sysdeps/sh/backtrace.c: New file.
27823
d4cc29a2
AS
278242011-12-02 Andreas Schwab <schwab@redhat.com>
27825
27826 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27827 parenthesis.
27828
6257af2d
AS
278292011-12-01 Andreas Schwab <schwab@redhat.com>
27830
27831 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27832 falling back to utime.
27833
b5f44c1a
AS
278342011-11-30 Andreas Schwab <schwab@redhat.com>
27835
27836 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27837 expectations for float.
27838
f3a6cc0a
AS
278392011-11-29 Andreas Schwab <schwab@redhat.com>
27840
27841 * locale/weight.h (findidx): Add parameter len.
27842 * locale/weightwc.h (findidx): Likewise.
27843 * posix/fnmatch_loop.c (FCT): Adjust caller.
27844 * posix/regcomp.c (build_equiv_class): Likewise.
27845 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27846 * posix/regexec.c (check_node_accept_bytes): Likewise.
27847 * string/strcoll_l.c (STRCOLL): Likewise.
27848 * string/strxfrm_l.c (STRXFRM): Likewise.
27849
9d65ea3a
UD
278502011-11-17 Ulrich Drepper <drepper@gmail.com>
27851
27852 * Makefile.in: Remove CVSOPT handling.
27853 * configure.in: Remove use of AC_REVISION.
27854 * iconvdata/Makefile (distribute): No need to filter out CVS.
27855 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27856 handling.
27857
5583a086
AS
278582011-11-16 Andreas Schwab <schwab@redhat.com>
27859
27860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27861 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27862 [USE_AS_STRNCASECMP_L]: Likewise.
27863 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27864 NO_TLS_DIRECT_SEG_REFS.
27865 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27866 Fix argument offsets for non-PIC.
27867 [USE_AS_STRNCASECMP_L]: Likewise.
27868 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27869 NO_TLS_DIRECT_SEG_REFS.
27870
d62a8200
UD
278712011-11-15 Ulrich Drepper <drepper@gmail.com>
27872
9d65ea3a 27873 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27874 O_CLOEXEC.
27875 * locale/loadlocale.c (_nl_load_locale): Likewise.
27876
09f93bd3
AS
278772011-11-15 Andreas Schwab <schwab@redhat.com>
27878
446514f9
AS
27879 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27880 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27881 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27882 (SYSCALL_GETTIME): Set errno on error.
27883
09f93bd3
AS
27884 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27885 count references to noai6ai_cached.
27886
312be3f9
UD
278872011-11-15 Ulrich Drepper <drepper@gmail.com>
27888
27889 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27890
27891 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27892 FD_CLOEXEC for /proc/self/maps.
27893
27894 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27895 FD_CLOEXEC for /proc/meminfo.
27896
27897 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27898 gai.conf.
27899
27900 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27901 FD_CLOEXEC for given file.
27902
27903 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27904
27905 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27906 FD_CLOEXEC for /etc/hosts.
27907 (_gethtent): Likewise.
27908
27909 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27910
27911 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27912 cancellation and set FD_CLOEXEC for /etc/netgroup.
27913
27914 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27915 reading /etc/publickey.
27916
27917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27918 allow cancellation when reading /etc/group.
27919
27920 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27921 cancellation.
27922 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27923
27924 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27925 when using data file.
27926
27927 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27928
27929 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27930 (write_nis_obj): Use "c" and "e" in fopen.
27931
27932 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27933
27934 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27935
27936 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27937
27938 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27939
27940 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27941 locale.alias.
27942
27943 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27944
27945 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27946
27947 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27948
27949 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27950 file parsing and set FD_CLOEXEC.
27951
82af0fa8
UD
279522011-11-14 Ulrich Drepper <drepper@gmail.com>
27953
27954 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27955
a5fb313c
AS
279562011-11-14 Andreas Schwab <schwab@redhat.com>
27957
27958 * malloc/arena.c (arena_get2): Don't call reused_arena when
27959 _int_new_arena failed.
27960
6abf3465
UD
279612011-11-14 Ulrich Drepper <drepper@gmail.com>
27962
27963 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27964 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27965 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27966 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27967 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27968 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27969 to compile strcasecmp and strncasecmp.
27970 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27971 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27972
27973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27974
76e3966e
UD
279752011-11-13 Ulrich Drepper <drepper@gmail.com>
27976
27977 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27978 locale-defines.sym to gen-as-const-headers.
27979 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27980 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27981 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27982 to compile strcasecmp and strncasecmp.
27983 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27984 strcasecmp_l and strncasecmp_l.
27985 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27986 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27987 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27988 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27989 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27990 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27991 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27992 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27993 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27994 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27995 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27996
ab26144e
UD
279972011-11-12 Ulrich Drepper <drepper@gmail.com>
27998
7edb22ef
UD
27999 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28000 result of SYSDEP_GETTIME_CPU to retval.
28001 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28002 parameter list to macro. Remove trailing semicolon. Adjust users.
28003
9694fc44
UD
28004 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28005 variable.
28006
8ad89ef8
UD
28007 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28008 mantissa words.
28009 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28010
0c822ef9
UD
28011 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28012 from unused variable.
28013
874e0564
UD
28014 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28015 DWARF definitions.
28016 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28017 for assembling.
28018
3a2edc79
UD
28019 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28020 over namespaces.
28021
f3c2577f
UD
28022 * sunrpc/rpc_prot.c (rejected): Fix case value.
28023
294ce126
UD
28024 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28025 unsigned long long int to avoid warnings in shift.
28026
5e2b63c6
UD
28027 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28028 of use of trans.
28029 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28030 variable tmp.
28031
e7f4b08e
UD
28032 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28033 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28034 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28035
ab26144e
UD
28036 * nis/nis_table.c (nis_list): Use variable of correct type for
28037 result of __follow_path call.
28038
8a6d5255
AZ
280392011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28040
28041 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28042 of math functions ceil, trunc, floor, round, and sqrt, when
28043 avaliable on the platform.
28044 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28045 name clash.
28046 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28047 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28048 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28049
aaddc98c
MP
280502011-10-30 Marek Polacek <mpolacek@redhat.com>
28051
28052 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28053 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28054
95b7042b
RM
280552011-11-11 Roland McGrath <roland@hack.frob.com>
28056
28057 * include/unistd.h: Fix __readlink return type.
28058 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28059
57769839
UD
280602011-11-11 Ulrich Drepper <drepper@gmail.com>
28061
28062 * stdlib/ucontext.h: Undo last change for makecontext.
28063
edc5984d
AS
280642011-11-11 Andreas Schwab <schwab@redhat.com>
28065
98591e58
AS
28066 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28067
edc5984d
AS
28068 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28069 * setjmp/setjmp.h: Mark functions as non-leaf.
28070 * setjmp/bits/setjmp2.h: Likewise.
28071 * stdlib/ucontext.h: Likewise.
28072
77cdc054
AS
280732011-11-10 Andreas Schwab <schwab@redhat.com>
28074
28075 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28076 (reused_arena): Don't check arena limit.
28077 (arena_get2): Atomically check arena limit.
28078
fe72eebd
UD
280792011-11-08 Ulrich Drepper <drepper@gmail.com>
28080
5f078c32
UD
28081 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28082 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28083
fe72eebd
UD
28084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28085 instructions.
28086
ae1bc2fa
AS
280872011-11-07 Andreas Schwab <schwab@redhat.com>
28088
7583a88d
AS
28089 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28090 handler when locking.
28091
ae1bc2fa
AS
28092 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28093 Fix size of allocated buffer.
28094
10fb0bfa
AS
280952011-11-04 Andreas Schwab <schwab@redhat.com>
28096
998832a4
AS
28097 [BZ #10103]
28098 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28099 declarations for long double functions.
28100 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28101
10fb0bfa
AS
28102 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28103
3d7ba52b
AS
281042011-11-03 Andreas Schwab <schwab@redhat.com>
28105
a9ae54a1
AS
28106 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28107 installed.
28108
3d7ba52b
AS
28109 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28110 is disabled.
28111
bc8db248
ST
281122011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28113
28114 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28115
45b96dd6
AS
281162011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28117
647776f6
AS
28118 * include/alloca.h (stackinfo_alloca_round): Define.
28119 (extend_alloca): Use it.
28120 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28121 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28122 here.
28123
d91a8b93
AS
28124 * scripts/check-local-headers.sh: Ignore libaudit.h.
28125
45b96dd6
AS
28126 * nscd/Makefile (extra-objs): Make recursively expanded.
28127
432d41ce
UD
281282011-11-01 Ulrich Drepper <drepper@gmail.com>
28129
34372fc6
UD
28130 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28131 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28132
fadb59f8
UD
28133 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28134 * posix/tst-rfc3484-2.c: Likewise.
28135 * posix/tst-rfc3484-3.c: Likewise.
28136
78239589
UD
28137 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28138 process_vm_writev.
28139 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28140 process_vm_writev.
28141 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28142 process_vm_writev from libc using GLIBC_2.15 version.
28143
432d41ce
UD
28144 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28145
02f9c6cf
PP
281462011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28147
28148 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28149 stack usage.
28150
3a2c0242
UD
281512011-10-31 Ulrich Drepper <drepper@gmail.com>
28152
f4ec4833
UD
28153 [BZ #13367]
28154 * nss/getent.c (initgroups_keys): Show error message in case no group
28155 names are given.
28156
3a2c0242
UD
28157 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28158 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28159 __bump_nl_timestamp.
28160 * nscd/connections (nscd_init): When host database is served open
28161 netlink socket and request notification about configuration changes.
28162 (main_loop_poll): Track netlink file descriptor and bump timestamp
28163 in case data becomes available.
28164 (main_loop_epoll): Likewise.
28165 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28166 (database_pers_head): Add extra_data fileds.
28167 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28168 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28169 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28170 Adjust caller.
28171 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28172 in6ai data, call __free_in6ai.
28173 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28174 Add -DHAVE_NETLINK.
28175 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28176 interface information. Reuse previous data if netlink timestamp
28177 is not changed.
28178 (__bump_nl_timestamp): New function.
28179 (__free_in6ai): New function.
28180
636064eb
UD
281812011-10-30 Ulrich Drepper <drepper@gmail.com>
28182
28183 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28184 close_not_cancel_no_status here.
28185 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28186
9beb2334
UD
281872011-10-29 Ulrich Drepper <drepper@gmail.com>
28188
6ef76f3b
UD
28189 [BZ #13276]
28190 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28191 return value.
28192
0ffc4f3e 28193 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
28194 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28195 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28196
cb95113e
UD
281972011-07-03 Andreas Jaeger <aj@suse.de>
28198
28199 [BZ #10709]
28200 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28201 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28202 * math/libm-test.inc (sin_test): Add test case.
28203
a1b560ff
UD
282042011-10-29 Ulrich Drepper <drepper@gmail.com>
28205
c9aaface
UD
28206 [BZ #13337]
28207 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28208 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28209
d272e7f1
UD
28210 * elf/chroot_canon.c (chroot_canon): Cleanups.
28211
1bc33071
UD
28212 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28213
1760874d
TJ
28214 [BZ #13335]
28215 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28216 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28217
51d91b18
UD
28218 * string/test-strchr.c: Make usable for strchrnul testing.
28219 * string/test-strchrnul.c: New file.
28220 * string/Makefile (strop-tests): Add strchrnul.
28221
a1b560ff 28222 * po/it.po: Update from translation team.
b611fb81 28223 * po/es.po: Likewise.
a1b560ff 28224
a5b81e1f
UD
282252011-10-28 Ulrich Drepper <drepper@gmail.com>
28226
fd52bc6d
UD
28227 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28228 the three constants needed as parameters. Drop the others.
28229 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28230 __m128i_strloadu_tolower.
52e4b9eb
UD
28231 Create and initialize variable zero and use it in all the places
28232 where _mm_setzero_si128 was used.
fd52bc6d 28233
a5b81e1f
UD
28234 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28235 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28236 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28237 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28238 anymore.
28239 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28240 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28241 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28242 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28243 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28244 __mpranred, __mptan.
28245 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28246 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28247 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28248 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28249 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28250 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28251 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28252 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28253 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28254
b4343346
AS
282552011-10-28 Andreas Schwab <schwab@redhat.com>
28256
0c92d8a8
AS
28257 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28258 redefine if SHARED.
28259 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28260
b4343346
AS
28261 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28262 wide char related routines to wcsmbs subdir.
28263
3871f58f
AS
282642011-10-27 Andreas Schwab <schwab@redhat.com>
28265
28266 [BZ #13344]
28267 * misc/sys/cdefs.h (__THROWNL): Define.
28268 * posix/unistd.h: Use __THREADNL instead of __THREAD
28269 for memory synchronization functions.
28270
94d44d9f
RM
282712011-10-26 Roland McGrath <roland@hack.frob.com>
28272
21b64b15 28273 [BZ #13349]
94d44d9f
RM
28274 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28275 doesn't exist.
28276 * manual/stdio.texi (Obstack Streams): Node removed.
28277
f6ce9294
AS
282782011-10-26 Andreas Schwab <schwab@redhat.com>
28279
80479147
AS
28280 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28281 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28282 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28283
f6ce9294
AS
28284 * math/math_private.h (math_force_eval): Allow non-addressable
28285 arguments.
28286 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28287
618280a1
UD
282882011-10-25 Ulrich Drepper <drepper@gmail.com>
28289
e0016b11
UD
28290 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28291 file is not needed.
28292
28293 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28294 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28295 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28296 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28297 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28298 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28299 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28300 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28301 Add AVX variants.
28302 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28303 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28304 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28305 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28306 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28307 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28308 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28309 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28310 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28311 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28312 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28313 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28314 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28315 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28316 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28317 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28318 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28319 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28320 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28321
28322 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28323 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28324
618280a1
UD
28325 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28326 place. Use VEX encoding when compiling for AVX.
28327
37822576
AS
283282011-10-25 Andreas Schwab <schwab@redhat.com>
28329
1f1e1947
AS
28330 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28331 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28332
37822576
AS
28333 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28334
31ea014d
UD
283352011-10-25 Ulrich Drepper <drepper@gmail.com>
28336
d7826aa1 28337 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 28338 useless if() expression.
d7826aa1
UD
28339 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28340 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28341 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28342 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28343 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28344 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28345 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28346 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28347 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28348 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28349 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28350 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28351 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28352 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28353 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28354 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28355 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28356 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28357 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28358
31ea014d
UD
28359 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28360
16437fec
AS
283612011-10-25 Andreas Schwab <schwab@redhat.com>
28362
28363 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28364 condition.
28365 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28366
31d3cc00
UD
283672011-10-25 Ulrich Drepper <drepper@gmail.com>
28368
28369 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28370 .text section. Avoid duplicate constants.
28371 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28373 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28374 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28375 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28378 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28379 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28380 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28381 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28382 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28383 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28384 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28385 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28386 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28387 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28388 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28389 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28390 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28391 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28392 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28393 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28394 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28395 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28396 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28397 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28398 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28399 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28400 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28401 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28402 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28403 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28404 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28405 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28406 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28407 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28408 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28409 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28410 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28411 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28412 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28413 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28414 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28415 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28416
58985aa9
UD
284172011-10-24 Ulrich Drepper <drepper@gmail.com>
28418
202c9deb
UD
28419 * sysdeps/x86_64/dla.h: Move to ...
28420 * sysdeps/x86_64/fpu/dla.h: ...here.
28421 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28422 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 28423
af968f62
UD
28424 * config.make.in: Add have-mfma4 entry.
28425 * configure.in: Substitute libc_cv_cc_fma4.
28426 * math/Makefile (dbl-only-routines): Add sincostab.
28427 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28428 Use __sincostab not sincos.
28429 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28430 name is a macro.
28431 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28435 using __copysign.
28436 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28437 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28438 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28439 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28440 and __inv.
28441 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28442 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28443 __copysign.
28444 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28445 define aliases when function name is a macro.
28446 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28447 sysdeps/ieee754/dbl-64/sincos.tbl.
28448 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28449 fma4-enabled routines.
28450 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28451 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28452 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28453 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28454 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28455 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28456 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28457 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28458 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28459 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28460 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28461 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28462 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28463 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28464 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28465 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28466 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28467 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28468 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28469 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28470 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28471 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28472 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28473 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28474 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28475 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28476 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28477 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28478 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28479 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28480
58985aa9
UD
28481 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28482 rename.
28483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
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
a201fbcf
AS
284922011-10-24 Andreas Schwab <schwab@redhat.com>
28493
28494 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28495
fc2ee42a
LD
284962011-10-23 Ulrich Drepper <drepper@gmail.com>
28497
bb3129bd
UD
28498 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28499
0275fff8
UD
28500 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28501 prediction.
28502 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28503
2fa2ae85
UD
28504 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28505 Remove unused variable magic_bits.
28506 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28507
fc2ee42a
LD
28508 * string/strnlen.c: Define and use STRNLEN macro.
28509 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28510 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28511 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28512 * wcsmbs/wcslen.c: Define and use WCSLEN.
28513 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28514 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28515 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28516 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28517 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28518 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28519 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28520
ce7dd29f
LD
285212011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28522
28523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28524 strnlen-sse2-no-bsf.
28525 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28526 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28527 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28528 Add strnlen support.
28529 (USE_AS_STRNLEN): New macro.
28530 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28531 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28532 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28533 * sysdeps/x86_64/wcslen.S: New file.
28534
979c70a3
MZ
285352011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28536
28537 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28538 XMM-moves are used for copying on small sizes.
28539
2d09f82f
LD
285402011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28541
28542 * wcsmbs/Makefile (strop-tests): Add wcschr.
28543 * wcsmbs/test-wcschr.c: New file.
28544 * string/test-strchr.c: Update.
28545 Add wcschr support.
28546 (WIDE): New macro.
28547
619fccca
LD
285482011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28549
2d09f82f 28550 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
28551 * wcsmbs/test-wcslen.c: New file.
28552 * string/test-strlen.c: Update.
28553 Add wcslen support.
28554 (WIDE): New macro.
28555
09f699ea
UD
285562011-10-23 Ulrich Drepper <drepper@gmail.com>
28557
28558 * po/it.po: Update from translation team.
28559
95584d3b
LD
285602011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28561
28562 * sysdeps/x86_64/wcscmp.S: Update.
28563 Fix wrong comparison semantics.
28564 wcscmp shall use signed comparison not unsigned.
28565 Don't use substraction to avoid overflow bug.
28566 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28567 * wcsmbc/wcscmp.c: Likewise.
28568 * string/test-strcmp.c: Likewise.
28569 Add new tests to check cases with negative values.
28570
c8b3296b
UD
285712011-10-23 Ulrich Drepper <drepper@gmail.com>
28572
28573 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28574 * sysdeps/x86_64/dla.h: ...here. New file.
28575 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28579 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28580 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28582 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28583 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28584
246ad57a
AS
285852011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28586
28587 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28588 __ynl_finite aliases.
28589
a1a87169
UD
285902011-10-22 Ulrich Drepper <drepper@gmail.com>
28591
0d355eb7
UD
28592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28593
a1a87169
UD
28594 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28595 define DLA_FMA.
28596 [DLA_FMA] (EMULV): Use DLA_FMA.
28597 [DLA_FMA] (MUL12): Use EMULV.
28598 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28599 that are not needed.
28600 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28602 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28603 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28604 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28605 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28606 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28607
ee2aafe0
AS
286082011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28609
28610 * math/s_nan.c: Undef __nan.
28611 * math/s_nanf.c: Undef __nanf.
28612 * math/s_nanl.c: Undef __nanl.
28613 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28614 "math_private.h".
28615
bc62c2fb
UD
286162011-10-22 Ulrich Drepper <drepper@gmail.com>
28617
77425c63
UD
28618 * math/s_catan.c: Add branch predictions.
28619 * math/s_catanf.c: Likewise.
28620 * math/s_catanh.c: Likewise.
28621 * math/s_catanhf.c: Likewise.
28622 * math/s_catanhl.c: Likewise.
28623 * math/s_catanl.c: Likewise.
28624 * math/s_cexp.c: Likewise.
28625 * math/s_cexpf.c: Likewise.
28626 * math/s_cexpl.c: Likewise.
28627 * math/s_clog.c: Likewise.
28628 * math/s_clog10.c: Likewise.
28629 * math/s_clog10f.c: Likewise.
28630 * math/s_clog10l.c: Likewise.
28631 * math/s_clogf.c: Likewise.
28632 * math/s_clogl.c: Likewise.
28633 * math/s_csqrt.c: Likewise.
28634 * math/s_csqrtf.c: Likewise.
28635 * math/s_csqrtl.c: Likewise.
28636 * math/s_ctanf.c: Likewise.
28637 * math/s_ctanh.c: Likewise.
28638 * math/s_ctanhf.c: Likewise.
28639 * math/s_ctanhl.c: Likewise.
28640 * math/s_ctanl.c: Likewise.
28641
bc62c2fb
UD
28642 * math/math_private.h: Define __nan, __nanf, __nanl.
28643 * math/s_cacosh.c: Include <math_private.h>.
28644 * math/s_cacoshl.c: Likewise.
28645 * math/s_casinh.c: Likewise.
28646 * math/s_casinhf.c: Likewise.
28647 * math/s_casinhl.c: Likewise.
28648 * math/s_ccos.c: Rely entire on ccosh.
28649 * math/s_ccosf.c: Rely entire on ccoshf.
28650 * math/s_ccosl.c: Rely entirely on ccoshl.
28651 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28652 Remove tests for FE_INVALID.
28653 * math/s_ccoshf.c: Likewise.
28654 * math/s_ccoshl.c: Likewise.
28655 * math/s_csin.c: Likewise.
28656 * math/s_csinf.c: Likewise.
28657 * math/s_csinh.c Likewise.
28658 * math/s_csinhf.c: Likewise.
28659 * math/s_csinhl.c: Likewise.
28660 * math/s_csinl.c: Likewise.
28661 * math/s_ctan.c: Likewise.
28662 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28663 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28664 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28665
8ec250a4
UD
286662011-10-21 Ulrich Drepper <drepper@gmail.com>
28667
c196fed8
UD
28668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28669 compilation problems.
28670
8ec250a4
UD
28671 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28672 __builtin_expect.
28673
8d4f46c6
UD
286742011-10-20 Ulrich Drepper <drepper@gmail.com>
28675
ed72b654
UD
28676 * sysdeps/i386/configure.in: Test for -mfma4 option.
28677 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28678 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28679 COMMON_CPUID_INDEX_80000001.
28680 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28681 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28682 use it if FMA3 is not supported.
28683 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28684
8d4f46c6
UD
28685 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28686 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28687
d45c60c2
AS
286882011-10-20 Andreas Schwab <schwab@redhat.com>
28689
28690 [BZ #12892]
28691 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28692 it would create a cycle with a link time dependency.
28693
d9a4d2ab
UD
286942011-10-19 Ulrich Drepper <drepper@gmail.com>
28695
855d1560
UD
28696 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28697 instruction.
28698 * string/Makefile (strop-tests): Add rawmemchr.
28699 * string/test-rawmemchr.c: New file.
28700
d9a4d2ab
UD
28701 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28702 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28703 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28704 when compiling str{,n}casecmp and when AVX is available. Hook up
28705 new optimized code in initializers.
28706
8f3b1ffe
AS
287072011-10-19 Andreas Schwab <schwab@redhat.com>
28708
28709 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28710 __feraiseexcept instead of feraiseexcept.
28711
d38f1dba
UD
287122011-10-18 Ulrich Drepper <drepper@gmail.com>
28713
d9a8d0ab
UD
28714 * math/math_private.h: Define defaults for libc_fetestexcept and
28715 libc_feupdateenv.
28716 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28717 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28718 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28719 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28720 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28721 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28722 libc_fetestexcept and libc_feupdateenv.
28723
4855e3dd
UD
28724 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28725 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28726 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28727 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28728 libc_feholdexcept_setround.
28729
581d30e3
UD
28730 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28731 Add s_nearbyint-c and s_nearbyintf-c.
28732 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28733 nearbyintf inlines.
28734 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28735 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28736 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28737 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28738
d38f1dba
UD
28739 * math/math_private.h: Define defaults for libc_fegetround,
28740 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28741 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28742 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28743 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28744 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28745 standard functions.
28746 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28747 Remove comments and hacks for old compiler versions.
28748 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28749 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28750 libc_feholdexceptl.
28751
caa6c9d8
AS
287522011-10-18 Andreas Schwab <schwab@redhat.com>
28753
28754 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28755 (__feraiseexcept_renamed): Add __NTH.
28756 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28757 namespace violations.
28758
97c066e6
UD
287592011-10-17 Ulrich Drepper <drepper@gmail.com>
28760
99ce7b04
UD
28761 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28762
1004d182
UD
28763 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28764
228a984d
UD
28765 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28766 recently added interfaces.
28767 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28768
c8553a6a
UD
28769 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28770 about macro parameter expansion.
28771
ed22dcf6
UD
28772 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28773 __NO_MATH_INLINES is defined. Cleanups.
28774
28775 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28776 and __floorf is target has SSE4.1.
28777 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28778 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28779 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28780 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28781
b171c137
UD
28782 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28783 name.
28784 (floorf): Likewise.
28785
97c066e6
UD
28786 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28787
629f62ef
AS
287882011-10-17 Andreas Schwab <schwab@redhat.com>
28789
49a43d80
AS
28790 * misc/sys/cdefs.h: Fix last change.
28791
629f62ef
AS
28792 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28793 database lookup.
28794
e453f6cd
UD
287952011-10-16 Ulrich Drepper <drepper@gmail.com>
28796
aa78043a
UD
28797 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28798
ad0f5cad
UD
28799 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28800 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28801 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28802 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28803 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28804 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28805 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28806 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28807 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28808 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28809 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28810 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28811 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28812 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28813 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28814 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28815 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28816 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28817 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28818 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28819 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28820 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28821
28822 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28823 ceil, ceilf, floor, floorf.
28824
28825 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28826 Perform IRELATIVE relocations last.
28827
e453f6cd
UD
28828 * elf/do-rel.h: Add another parameter nrelative, replacing the
28829 local variable with the same name. Change name of the function
28830 to end in Rel or Rela (uppercase).
28831 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28832 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28833 elf_dynamic_do_##reloc function.
28834
fd5bdc09
UD
288352011-10-15 Ulrich Drepper <drepper@gmail.com>
28836
79b195b5
UD
28837 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28838 is sufficient, at least on modern CPUs.
28839
d4a28569
UD
28840 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28841
b61099b5
UD
28842 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28843 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28844
bcf01e6d
UD
28845 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28846 __expl_finite.
28847 * math/bits/math-finite.h: Add entries for exp.
28848 * math/e_expl.c: Add __*_finite alias.
28849 * sysdeps/i386/fpu/e_exp.S: Likewise.
28850 * sysdeps/i386/fpu/e_expf.S: Likewise.
28851 * sysdeps/i386/fpu/e_expl.c: Likewise.
28852 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28853 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28854 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28855 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28856 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28857 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28858 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28859
ba1a0d59
UD
28860 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28861 is sufficient, at least on modern CPUs.
28862
fd5bdc09
UD
28863 * ctype/ctype-info.c (__ctype_init): Define.
28864 * include/ctype.h (__ctype_init): Declare.
28865 (__ctype_b_loc): The variable is always initialized.
28866 (__ctype_toupper_loc): Likewise.
28867 (__ctype_tolower_loc): Likewise.
28868 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28869 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28870
7872cfb0
AS
288712011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28872
b468825a
AS
28873 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28874
7872cfb0
AS
28875 * configure.in: Also look in $cxxmachine/include for C++ system
28876 headers.
28877
be13f7bf
LD
288782011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28879
28880 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28881 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28882 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28883 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28884 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28885 (USE_AS_WMEMCMP): New macro.
28886 Fixing indents.
28887 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28888 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28889 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28890 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28891 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28892 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28893 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28894 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28895 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28896 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28897 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28898 (USE_AS_WMEMCMP): New macro.
28899 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28900 * sysdeps/string/test-memcmp.c: Update.
28901 Fix simple_wmemcmp.
28902 Add new tests.
28903 * wcsmbs/wmemcmp.c: Update.
28904 (WMEMCMP): New macro.
28905 Fix overflow bug.
28906
556a2007
AJ
289072011-10-12 Andreas Jaeger <aj@suse.de>
28908
28909 [BZ #13268]
28910 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28911
538faaa7
UD
289122011-10-15 Ulrich Drepper <drepper@gmail.com>
28913
ab6737ff
UD
28914 * libio/iofwide.c (do_length): Avoid warning.
28915
538faaa7
UD
28916 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28917
396a21b1
UD
289182011-10-14 Ulrich Drepper <drepper@gmail.com>
28919
cdf2901f
UD
28920 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28921
38ad40ce
UD
28922 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28923 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28924 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28925 * sysdeps/i386/i686/fpu/e_log.S: New file.
28926 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28927 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28928
396a21b1
UD
28929 * ctype/ctype.h: Add support for inlined isXXX functions when
28930 compiling C++ code.
28931
6b1f68c9
AS
289322011-10-14 Andreas Schwab <schwab@redhat.com>
28933
349290c0
AS
28934 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28935
6b1f68c9
AS
28936 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28937
f2282d42
RM
289382011-10-13 Roland McGrath <roland@hack.frob.com>
28939
28940 [BZ #13291]
28941 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28942
5298ffa8
AS
289432011-10-13 Andreas Schwab <schwab@redhat.com>
28944
714fad23
AS
28945 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28946 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28947 feraiseexcept.
28948
81dcc7fb
AS
28949 * sysdeps/x86_64/memrchr.S: Check for zero size.
28950
5298ffa8
AS
28951 * string/stratcliff.c: Add memrchr tests.
28952
951fbcec
LD
289532011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28954
28955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28956 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28957 rawmemchr-sse2 rawmemchr-sse2-bsf.
28958 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28959 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28960 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28961 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28962 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28963 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28964 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28965 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28966 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28967 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28968 * string/memrchr.c (MEMRCHR): New macro.
28969
0ac5ae23
UD
289702011-10-12 Ulrich Drepper <drepper@gmail.com>
28971
28972 Add integration with gcc's -ffinite-math-only and optimize wrapper
28973 functions in libm.
28974 * Versions.def: Define GLIBC_2.15 version for libm.
28975 * math/Makefile (headers): Add bits/math-finite.h.
28976 * math/bits/math-finite.h: New file.
28977 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28978 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28979 * math/e_acoshl.c: Add __*_finite alias.
28980 * math/e_acosl.c: Likewise.
28981 * math/e_asinl.c: Likewise.
28982 * math/e_atan2l.c: Likewise.
28983 * math/e_atanhl.c: Likewise.
28984 * math/e_coshl.c: Likewise.
28985 * math/e_exp10.c: Likewise.
28986 * math/e_exp10f.c: Likewise.
28987 * math/e_exp10l.c: Likewise.
28988 * math/e_exp2l.c: Likewise.
28989 * math/e_fmodl.c: Likewise.
28990 * math/e_gammal_r.c: Likewise.
28991 * math/e_hypotl.c: Likewise.
28992 * math/e_j0l.c: Likewise.
28993 * math/e_j1l.c: Likewise.
28994 * math/e_jnl.c: Likewise.
28995 * math/e_lgammal_r.c: Likewise.
28996 * math/e_log10l.c: Likewise.
28997 * math/e_log2l.c: Likewise.
28998 * math/e_logl.c: Likewise.
28999 * math/e_powl.c: Likewise.
29000 * math/e_sinhl.c: Likewise.
29001 * math/e_sqrtl.c: Likewise.
29002 * math/e_scalb.c: Completely rewritten and optimized.
29003 * math/e_scalbf.c: Likewise.
29004 * math/e_scalbl.c: Likewise.
29005 * math/w_acos.c: Likewise.
29006 * math/w_acosf.c: Likewise.
29007 * math/w_acosl.c: Likewise.
29008 * math/w_acosh.c: Likewise.
29009 * math/w_acoshf.c: Likewise.
29010 * math/w_acoshl.c: Likewise.
29011 * math/w_asin.c: Likewise.
29012 * math/w_asinf.c: Likewise.
29013 * math/w_asinl.c: Likewise.
29014 * math/w_atan2.c: Likewise.
29015 * math/w_atan2f.c: Likewise.
29016 * math/w_atan2l.c: Likewise.
29017 * math/w_atanh.c: Likewise.
29018 * math/w_atanhf.c: Likewise.
29019 * math/w_atanhl.c: Likewise.
29020 * math/w_exp10.c: Likewise.
29021 * math/w_exp10f.c: Likewise.
29022 * math/w_exp10l.c: Likewise.
29023 * math/w_fmod.c: Likewise.
29024 * math/w_fmodf.c: Likewise.
29025 * math/w_fmodl.c: Likewise.
29026 * math/w_j0.c: Likewise.
29027 * math/w_j0f.c: Likewise.
29028 * math/w_j0l.c: Likewise.
29029 * math/w_j1.c: Likewise.
29030 * math/w_j1f.c: Likewise.
29031 * math/w_j1l.c: Likewise.
29032 * math/w_jn.c: Likewise.
29033 * math/w_jnf.c: Likewise.
29034 * math/w_log.c: Likewise.
29035 * math/w_logf.c: Likewise.
29036 * math/w_logl.c: Likewise.
29037 * math/w_log10.c: Likewise.
29038 * math/w_log10f.c: Likewise.
29039 * math/w_log10l.c: Likewise.
29040 * math/w_log2.c: Likewise.
29041 * math/w_log2f.c: Likewise.
29042 * math/w_log2l.c: Likewise.
29043 * math/w_pow.c: Likewise.
29044 * math/w_powf.c: Likewise.
29045 * math/w_powl.c: Likewise.
29046 * math/w_remainder.c: Likewise.
29047 * math/w_remainderf.c: Likewise.
29048 * math/w_remainderl.c: Likewise.
29049 * math/w_scalb.c: Likewise.
29050 * math/w_scalbf.c: Likewise.
29051 * math/w_scalbl.c: Likewise.
29052 * math/w_sqrt.c: Likewise.
29053 * math/w_sqrtf.c: Likewise.
29054 * math/w_sqrtl.c: Likewise.
29055 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29056 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29057 used.
29058 * math/math_private.h: Declare __kernel_standard_f.
29059 * math/w_cosh.c: Remove cruft and optimize a bit.
29060 * math/w_coshf.c: Likewise.
29061 * math/w_coshl.c: Likewise.
29062 * math/w_exp2.c: Likewise.
29063 * math/w_exp2f.c: Likewise.
29064 * math/w_exp2l.c: Likewise.
29065 * math/w_hypot.c: Likewise.
29066 * math/w_hypotf.c: Likewise.
29067 * math/w_hypotl.c: Likewise.
29068 * math/w_lgamma.c: Likewise.
29069 * math/w_lgamma_r.c: Likewise.
29070 * math/w_lgammaf.c: Likewise.
29071 * math/w_lgammaf_r.c: Likewise.
29072 * math/w_lgammal.c: Likewise.
29073 * math/w_lgammal_r.c: Likewise.
29074 * math/w_sinh.c: Likewise.
29075 * math/w_sinhf.c: Likewise.
29076 * math/w_sinhl.c: Likewise.
29077 * math/w_tgamma.c: Likewise.
29078 * math/w_tgammaf.c: Likewise.
29079 * math/w_tgammal.c: Likewise.
29080 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29081 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29082 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29083 Minor optimizations. Pretty printing. Remove cruft.
29084 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29085 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29086 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29087 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29088 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29089 * sysdeps/i386/fpu/e_asin.S: Likewise.
29090 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29091 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29092 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29093 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29094 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29095 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29096 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29097 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29098 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29099 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29100 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29101 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29102 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29103 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29104 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29105 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29106 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29107 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29108 * sysdeps/i386/fpu/e_log.S: Likewise.
29109 * sysdeps/i386/fpu/e_log10.S: Likewise.
29110 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29111 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29112 * sysdeps/i386/fpu/e_log2.S: Likewise.
29113 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29114 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29115 * sysdeps/i386/fpu/e_logf.S: Likewise.
29116 * sysdeps/i386/fpu/e_logl.S: Likewise.
29117 * sysdeps/i386/fpu/e_pow.S: Likewise.
29118 * sysdeps/i386/fpu/e_powf.S: Likewise.
29119 * sysdeps/i386/fpu/e_powl.S: Likewise.
29120 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29121 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29122 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29123 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29124 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29125 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29126 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29127 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29128 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29129 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29130 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29131 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29132 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29133 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29134 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29135 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29136 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29137 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29138 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29139 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29140 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29142 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29143 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29144 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29145 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29146 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29147 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29148 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29149 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29150 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29151 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29152 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29153 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29154 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29155 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29156 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29157 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29158 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29159 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29160 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29161 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29162 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29163 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29164 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29165 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29166 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29167 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29168 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29169 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29170 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29171 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29172 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29173 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29174 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29175 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29176 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29177 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29178 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29179 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29180 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29181 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29182 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29183 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29184 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29185 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29186 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29187 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29188 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29189 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29190 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29191 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29192 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29193 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29194 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29195 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29196 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29197 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29200 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29201 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29202 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29203 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29205 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29206 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29207 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29208 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29209 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29211 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29212 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29214 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29215 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29216 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29217 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29218 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29219 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29220 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29221 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29222 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29223 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29224 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29225 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29226 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29227 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29228 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29229 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29230 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29231 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29232 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29233 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29234 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29235 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29236 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29237 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29238 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29239 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29240 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29241 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29242 (__isnanf): Likewise.
29243 (__isinf_ns): Likewise.
29244 (__isinf_nsf): Likewise.
29245 (__finite): Likewise.
29246 (__finitef): Likewise.
29247 (__ieee754_sqrt): Define as macro.
29248 (__ieee754_sqrtf): Define as macro.
29249 (__ieee754_sqrtl): Define as macro.
29250 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29251 inlined copy.
29252 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29253 __FINITE_MATH_ONLY__ consistent.
29254 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29255
12cc2fcd
AS
292562011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29257
a843a204
AS
29258 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29259 of rawmemchr.
29260
12cc2fcd
AS
29261 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29262
c853acd5
UD
292632011-10-09 Ulrich Drepper <drepper@gmail.com>
29264
29265 * po/ja.po: Update from translation team.
29266
c658d255
RM
292672011-10-08 Roland McGrath <roland@hack.frob.com>
29268
110946e4
RM
29269 * locale/programs/locarchive.c (prepare_address_space): New function.
29270 (create_archive, enlarge_archive, open_archive): Use it.
29271
50604220
RM
29272 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29273 inside [SHARED], where it is used.
29274
c658d255
RM
29275 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29276
29277 * nss/getent.c (netgroup_keys): Remove unused variable.
29278 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29279
6a621eb7
UD
292802011-10-08 Ulrich Drepper <drepper@gmail.com>
29281
7edb55ce
UD
29282 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29283 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29284 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29285 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29286 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29287 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29288 * math/Makefile (libm-calls): Add s_isinf_ns.
29289 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29290 * math/multc3.c: Likewise.
29291 * math/s_casin.c: Likewise.
29292 * math/s_casinf.c: Likewise.
29293 * math/s_casinl.c: Likewise.
29294 * math/s_ccos.c: Likewise.
29295 * math/s_ccosf.c: Likewise.
29296 * math/s_ccosl.c: Likewise.
29297 * math/s_ctan.c: Likewise.
29298 * math/s_ctanf.c: Likewise.
29299 * math/s_ctanh.c: Likewise.
29300 * math/s_ctanhf.c: Likewise.
29301 * math/s_ctanhl.c: Likewise.
29302 * math/s_ctanl.c: Likewise.
29303 * math/w_fmod.c: Likewise.
29304 * math/w_fmodf.c: Likewise.
29305 * math/w_fmodl.c: Likewise.
29306 * math/w_remainder.c: Likewise.
29307 * math/w_remainderf.c: Likewise.
29308 * math/w_remainderl.c: Likewise.
29309 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29310 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29311 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29313 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29314 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29315 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29316 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29317
187da0ae
UD
29318 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29319 of the number.
29320 * stdio-common/printf_fphex.c: Likewise.
29321 * stdio-common/printf_size.c: Likewise.
29322
9277c064
UD
29323 * math/e_exp10.c: Include math_private.h using <...> not "...".
29324 * math/e_exp10f.c: Likewise.
29325 * math/e_exp10l.c: Likewise.
29326 * math/e_exp2l.c: Likewise.
29327 * math/e_j0l.c: Likewise.
29328 * math/e_j1l.c: Likewise.
29329 * math/e_jnl.c: Likewise.
29330 * math/e_lgammal_r.c: Likewise.
29331 * math/e_rem_pio2l.c: Likewise.
29332 * math/e_scalb.c: Likewise.
29333 * math/e_scalbf.c: Likewise.
29334 * math/e_scalbl.c: Likewise.
29335 * math/k_cosl.c: Likewise.
29336 * math/k_sinl.c: Likewise.
29337 * math/k_tanl.c: Likewise.
29338 * math/s_cacoshf.c: Likewise.
29339 * math/s_catan.c: Likewise.
29340 * math/s_catanf.c: Likewise.
29341 * math/s_catanh.c: Likewise.
29342 * math/s_catanhf.c: Likewise.
29343 * math/s_catanhl.c: Likewise.
29344 * math/s_catanl.c: Likewise.
29345 * math/s_ccosh.c: Likewise.
29346 * math/s_ccoshf.c: Likewise.
29347 * math/s_ccoshl.c: Likewise.
29348 * math/s_cexp.c: Likewise.
29349 * math/s_cexpf.c: Likewise.
29350 * math/s_cexpl.c: Likewise.
29351 * math/s_clog.c: Likewise.
29352 * math/s_clog10.c: Likewise.
29353 * math/s_clog10f.c: Likewise.
29354 * math/s_clog10l.c: Likewise.
29355 * math/s_clogf.c: Likewise.
29356 * math/s_clogl.c: Likewise.
29357 * math/s_csin.c: Likewise.
29358 * math/s_csinf.c: Likewise.
29359 * math/s_csinh.c: Likewise.
29360 * math/s_csinhf.c: Likewise.
29361 * math/s_csinhl.c: Likewise.
29362 * math/s_csinl.c: Likewise.
29363 * math/s_csqrt.c: Likewise.
29364 * math/s_csqrtf.c: Likewise.
29365 * math/s_csqrtl.c: Likewise.
29366 * math/s_ctan.c: Likewise.
29367 * math/s_ctanf.c: Likewise.
29368 * math/s_ctanh.c: Likewise.
29369 * math/s_ctanhf.c: Likewise.
29370 * math/s_ctanhl.c: Likewise.
29371 * math/s_ctanl.c: Likewise.
29372 * math/s_ldexp.c: Likewise.
29373 * math/s_ldexpf.c: Likewise.
29374 * math/s_ldexpl.c: Likewise.
29375 * math/s_significand.c: Likewise.
29376 * math/s_significandf.c: Likewise.
29377 * math/s_significandl.c: Likewise.
29378 * math/w_acos.c: Likewise.
29379 * math/w_acosf.c: Likewise.
29380 * math/w_acosh.c: Likewise.
29381 * math/w_acoshf.c: Likewise.
29382 * math/w_acoshl.c: Likewise.
29383 * math/w_acosl.c: Likewise.
29384 * math/w_asin.c: Likewise.
29385 * math/w_asinf.c: Likewise.
29386 * math/w_asinl.c: Likewise.
29387 * math/w_atan2.c: Likewise.
29388 * math/w_atan2f.c: Likewise.
29389 * math/w_atan2l.c: Likewise.
29390 * math/w_atanh.c: Likewise.
29391 * math/w_atanhf.c: Likewise.
29392 * math/w_atanhl.c: Likewise.
29393 * math/w_cosh.c: Likewise.
29394 * math/w_coshf.c: Likewise.
29395 * math/w_coshl.c: Likewise.
29396 * math/w_dremf.c: Likewise.
29397 * math/w_exp10.c: Likewise.
29398 * math/w_exp10f.c: Likewise.
29399 * math/w_exp10l.c: Likewise.
29400 * math/w_exp2.c: Likewise.
29401 * math/w_exp2f.c: Likewise.
29402 * math/w_fmod.c: Likewise.
29403 * math/w_fmodf.c: Likewise.
29404 * math/w_fmodl.c: Likewise.
29405 * math/w_hypot.c: Likewise.
29406 * math/w_hypotf.c: Likewise.
29407 * math/w_hypotl.c: Likewise.
29408 * math/w_j0.c: Likewise.
29409 * math/w_j0f.c: Likewise.
29410 * math/w_j0l.c: Likewise.
29411 * math/w_j1.c: Likewise.
29412 * math/w_j1f.c: Likewise.
29413 * math/w_j1l.c: Likewise.
29414 * math/w_jn.c: Likewise.
29415 * math/w_jnf.c: Likewise.
29416 * math/w_jnl.c: Likewise.
29417 * math/w_lgamma.c: Likewise.
29418 * math/w_lgamma_r.c: Likewise.
29419 * math/w_lgammaf.c: Likewise.
29420 * math/w_lgammaf_r.c: Likewise.
29421 * math/w_lgammal.c: Likewise.
29422 * math/w_lgammal_r.c: Likewise.
29423 * math/w_log.c: Likewise.
29424 * math/w_log10.c: Likewise.
29425 * math/w_log10f.c: Likewise.
29426 * math/w_log10l.c: Likewise.
29427 * math/w_log2.c: Likewise.
29428 * math/w_log2f.c: Likewise.
29429 * math/w_log2l.c: Likewise.
29430 * math/w_logf.c: Likewise.
29431 * math/w_logl.c: Likewise.
29432 * math/w_pow.c: Likewise.
29433 * math/w_powf.c: Likewise.
29434 * math/w_powl.c: Likewise.
29435 * math/w_remainder.c: Likewise.
29436 * math/w_remainderf.c: Likewise.
29437 * math/w_remainderl.c: Likewise.
29438 * math/w_scalb.c: Likewise.
29439 * math/w_scalbf.c: Likewise.
29440 * math/w_scalbl.c: Likewise.
29441 * math/w_sinh.c: Likewise.
29442 * math/w_sinhf.c: Likewise.
29443 * math/w_sinhl.c: Likewise.
29444 * math/w_sqrt.c: Likewise.
29445 * math/w_sqrtf.c: Likewise.
29446 * math/w_sqrtl.c: Likewise.
29447 * math/w_tgamma.c: Likewise.
29448 * math/w_tgammaf.c: Likewise.
29449 * math/w_tgammal.c: Likewise.
29450
6a621eb7
UD
29451 * po/ja.po: Update from translation team.
29452
bf582445
AJ
294532011-09-29 Andreas Jaeger <aj@suse.de>
29454
f9efbf3a
AJ
29455 [BZ #13179]
29456 * sunrpc/netname.c (netname2host): Fix logic.
29457
bf582445
AJ
29458 [BZ #6779]
29459 [BZ #6783]
29460 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29461 correctly.
29462 * math/w_remainder.c (__remainder): Likewise.
29463 * math/w_remainderf.c (__remainderf): Likewise.
29464 * math/libm-test.inc (remainder_test): Add test cases.
29465
48693bea
AK
294662011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29467
29468 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29469 sdiv_qrnnd.
29470
42622229
LD
294712011-10-07 Ulrich Drepper <drepper@gmail.com>
29472
29473 * string/test-memcmp.c: Avoid unncessary #defines.
29474 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29475
093ecf92
LD
294762011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29477
29478 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29479 Use new sse2 version for core i3 - i7 as it's faster
29480 than sse42 version.
29481 (bit_Prefer_PMINUB_for_stringop): New.
29482 * sysdeps/x86_64/rawmemchr.S: Update.
29483 Replace with faster SSE2 version.
29484 * sysdeps/x86_64/memrchr.S: New file.
29485 * sysdeps/x86_64/memchr.S: Update.
29486 Replace with faster SSE2 version.
29487
fde56e5c
MP
294882011-09-12 Marek Polacek <mpolacek@redhat.com>
29489
29490 * elf/dl-load.c (lose): Add cast to avoid warning.
29491
21fd49a9
UD
294922011-10-07 Ulrich Drepper <drepper@gmail.com>
29493
5a06e643
UD
29494 * po/ca.po: Update from translation team.
29495
684ae515
UD
29496 * inet/getnetgrent_r.c: Hook up nscd.
29497 * nscd/Makefile (routines): Add nscd_netgroup.
29498 (nscd-modules): Add netgroupcache.
29499 (CFLAGS-netgroupcache.c): Define.
29500 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29501 (cache_search): Add const to second parameter.
29502 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29503 INNETGR.
29504 (dbs): Add netgrdb entry.
29505 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29506 (verify_persistent_db): Handle netgrdb.
29507 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29508 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29509 GETFDNETGR.
29510 (netgroup_response_header): Define.
29511 (innetgroup_response_header): Define.
29512 (datahead): Add netgroup_response_header and innetgroup_response_header
29513 elements.
29514 * nscd/nscd.conf: Add entries for netgroup cache.
29515 * nscd/nscd.h (dbtype): Add netgrdb.
29516 (_PATH_NSCD_NETGROUP_DB): Define.
29517 (netgroup_iov_disabled): Declare.
29518 (xmalloc, xcalloc, xrealloc): Move declarations here.
29519 (cache_search): Adjust prototype.
29520 Add netgroup-related prototypes.
29521 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29522 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29523 (__nscd_innetgr): Declare.
29524 * nscd/selinux.c (perms): Use access_vector_t as element type and
29525 add netgroup-related initializers.
29526 * nscd/netgroupcache.c: New file.
29527 * nscd/nscd_netgroup.c: New file.
29528 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29529 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29530 For four parameters use innetgr.
29531 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29532 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29533 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29534 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29535
21fd49a9
UD
29536 * nscd/connections.c (register_traced_file): Don't register file
29537 for disabled databases.
29538
054c0457
UD
295392011-10-06 Ulrich Drepper <drepper@gmail.com>
29540
32b63198
UD
29541 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29542
054c0457
UD
29543 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29544 from tree and freeing node.
29545
64031225
JO
295462011-09-25 Jiri Olsa <jolsa@redhat.com>
29547
29548 * nss/nsswitch.c (__nss_database_lookup): Handle
29549 nss_parse_service_list out of memory case.
29550
0490345c
JO
295512011-09-15 Jiri Olsa <jolsa@redhat.com>
29552
29553 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29554 out of memory case.
29555
3a62d00d
AS
295562011-10-04 Andreas Schwab <schwab@redhat.com>
29557
29558 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29559 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29560 pass it down.
29561 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29562 elf_machine_rela, elf_machine_lazy_rel.
29563 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29564 (ELF_DYNAMIC_DO_REL): Likewise.
29565 (ELF_DYNAMIC_DO_RELA): Likewise.
29566 (ELF_DYNAMIC_RELOCATE): Likewise.
29567 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29568 to ELF_DYNAMIC_DO_REL.
29569 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29570 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29571 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29572 elf_machine_rela.
29573 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29574 skip_ifunc, don't call ifunc function if non-zero.
29575 (elf_machine_rela): Likewise.
29576 (elf_machine_lazy_rel): Likewise.
29577 (elf_machine_lazy_rela): Likewise.
29578 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29579 (elf_machine_lazy_rel): Likewise.
29580 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29581 Likewise.
29582 (elf_machine_lazy_rel): Likewise.
29583 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29584 Likewise.
29585 (elf_machine_lazy_rel): Likewise.
29586 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29587 (elf_machine_lazy_rel): Likewise.
29588 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29589 (elf_machine_lazy_rel): Likewise.
29590 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29591 (elf_machine_lazy_rel): Likewise.
29592 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29593 (elf_machine_lazy_rel): Likewise.
29594 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29595 (elf_machine_lazy_rel): Likewise.
29596 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29597 (elf_machine_lazy_rel): Likewise.
29598
68577918
UD
295992011-09-28 Ulrich Drepper <drepper@gmail.com>
29600
29601 * nss/nss_files/files-init.c (_nss_files_init): Use static
29602 initialization for all the *_traced_file variables.
29603
68822d74
AS
296042011-09-28 Andreas Schwab <schwab@redhat.com>
29605
29606 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29607
2056100b
RM
296082011-09-27 Roland McGrath <roland@hack.frob.com>
29609
29610 [BZ #13226]
29611 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29612
32c76b63
AS
296132011-09-27 Andreas Schwab <schwab@redhat.com>
29614
29615 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29616 Reread the line before reparsing it.
29617
bf972c9d
AS
296182011-09-26 Andreas Schwab <schwab@redhat.com>
29619
29620 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29621
e057a1b5
JM
296222011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29623 Maxim Kuvyrkov <maxim@codesourcery.com>
29624 Joseph Myers <joseph@codesourcery.com>
29625
29626 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29627 if needed for __stack_chk_guard.
29628
bc7e1c36
RM
296292011-09-19 Roland McGrath <roland@hack.frob.com>
29630
ecb1482f
RM
29631 * sysdeps/posix/spawni.c (script_execute): Always define it.
29632 It will be optimized away if unused.
29633 (maybe_script_execute): New function.
29634 (__spawni): Call it.
29635
bc7e1c36
RM
29636 * Makerules: Don't include tls.make.
29637 (config-tls): Always set to thread.
29638 * tls.make.c: File removed.
29639
1c3b002b
MF
296402011-09-19 Mike Frysinger <vapier@gentoo.org>
29641
29642 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29643 * config.make.in (CPPFLAGS-config): New substituted variable.
29644
2840865d
UD
296452011-09-15 Ulrich Drepper <drepper@gmail.com>
29646
88738eb6
UD
29647 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29648
cbf645a6 29649 [BZ #13192]
2840865d
UD
29650 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29651 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29652
b402e91a
RM
296532011-09-15 Roland McGrath <roland@hack.frob.com>
29654
29655 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29656 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29657 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29658 (CALL_FAIL): Likewise.
29659 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29660 (CALL_FAIL): Macro removed.
29661 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29662
4c1a1f71
UD
296632011-09-15 Ulrich Drepper <drepper@gmail.com>
29664
29665 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29666 for __FINITE_MATH_ONLY__ == 1.
29667
edc121be
AS
296682011-09-15 Andreas Schwab <schwab@redhat.com>
29669
29670 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29671 __ieee754_sqrt instead of sqrt.
29672 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29673 __ieee754_sqrtf instead of sqrtf.
29674 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29675 __floorf instead of floorf.
29676 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29677 __floorf, __truncf instead of floorf, truncf.
29678
cd205654
UD
296792011-09-14 Ulrich Drepper <drepper@gmail.com>
29680
ee4d0315
UD
29681 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29682
cd205654
UD
29683 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29684 __extern_always_inline.
29685 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29686 32-bit.
29687
48b67d71
AS
296882011-09-14 Andreas Schwab <schwab@redhat.com>
29689
29690 * elf/rtld.c (dl_main): Also relocate in dependency order when
29691 doing symbol dependency testing.
29692
1ae12c75
AS
296932011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29694
29695 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29696 Always define `refsym'.
29697
995a80df
AS
296982011-09-13 Andreas Schwab <schwab@redhat.com>
29699
e529793b
AS
29700 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29701 (__FD_ELT): Renamed from __FDELT.
29702 * misc/bits/select2.h (__FD_ELT): Likewise.
29703 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29704 __FD_MASK instead of __FDELT, __FDMASK.
29705 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29706 Likewise.
29707 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29708 Likewise.
29709
52d4fef8
AS
29710 * elf/Makefile (gen-ldd): Fix pattern.
29711
995a80df
AS
29712 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29713 (init_tls): Likewise.
29714
8682f8b0
UD
297152011-09-12 Ulrich Drepper <drepper@gmail.com>
29716
29717 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29718
de82006d
AS
297192011-09-12 Andreas Schwab <schwab@redhat.com>
29720
a7c8e6a1
AS
29721 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29722 `struct cmsghdr *' instead of `void *'.
29723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29724 Likewise.
29725
0f31fe77
AS
297262011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29727
29728 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29729 if non-absolute.
29730 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29731 ldd_rewrite_script.
0f31fe77 29732
32b4c839
UD
297332011-09-11 Ulrich Drepper <drepper@gmail.com>
29734
83cd1420
UD
29735 * configure.in: Remove --with-tls option.
29736 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29737 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29738 out in case it is missing.
29739 * sysdeps/ia64/elf/configure.in: Likewise.
29740 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29741 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29742 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29743 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29744 * sysdeps/sh/elf/configure.in: Likewise.
29745 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29746 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29747 * sysdeps/x86_64/elf/configure.in: Likewise.
29748 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29749 * sysdeps/mach/hurd/tls.h: Likewise.
29750
633f745d
UD
29751 [BZ #13067]
29752 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29753
f318beb8
UD
29754 [BZ #13090]
29755 * configure.in: Fix use of AC_INIT.
29756
32b4c839
UD
29757 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29758
3ce1f295
UD
297592011-09-10 Ulrich Drepper <drepper@gmail.com>
29760
bb016596
UD
29761 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29762 __set_errno.
8e58439c
UD
29763 * malloc/hooks.c: Likewise.
29764
aebae053 29765 [BZ #11929]
02d46fc4
UD
29766 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29767 variables statically.
29768 (narenas): Initialize.
29769 (list_lock): Initialize.
bb016596
UD
29770 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29771 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29772 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29773 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29774 Add initializers to main_arena and mp_.
29775 (malloc_state): Remove pagesize member. Change all users to use
29776 GLRO(dl_pagesize).
29777
29778 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29779 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29780 is always initialized.
29781
22a89187
UD
29782 * malloc/malloc.c: Removed unused configurations and dead code.
29783 * malloc/arena.c: Likewise.
29784 * malloc/hooks.c: Likewise.
02d46fc4 29785 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29786
d063d164
UD
29787 * include/tls.h: Removed. USE___THREAD must always be defined.
29788 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29789 * elf/dl-libc.c: Likewise.
29790 * elf/dl-tsd.c: Likewise.
29791 * include/errno.h: Likewise.
29792 * include/netdb.h: Likewise.
29793 * include/resolv.h: Likewise.
29794 * inet/herrno-loc.c: Likewise.
29795 * inet/herrno.c: Likewise.
29796 * malloc/arena.c: Likewise.
29797 * malloc/hooks.c: Likewise.
29798 * malloc/malloc.c: Likewise.
29799 * resolv/res-state.c: Likewise.
29800 * resolv/res_libc.c: Likewise.
29801 * sysdeps/i386/dl-machine.h: Likewise.
29802 * sysdeps/ia64/dl-machine.h: Likewise.
29803 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29804 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29805 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29806 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29807 * sysdeps/sh/dl-machine.h: Likewise.
29808 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29809 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29810 * sysdeps/unix/i386/sysdep.S: Likewise.
29811 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29812 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29813 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29814 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29815 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29816 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29817 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29819 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29821 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29822 * sysdeps/x86_64/dl-machine.h: Likewise.
29823 * tls.make.c: Likewise.
29824
3ce1f295
UD
29825 * configure.in: Remove --with-__thread option. Make tests for
29826 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29827 tls_model attribute fail if no support is available. Remove
29828 USE_IN_LIBIO.
29829 * Makeconfig: Adjust for dropped configure option. All features are
29830 now mandatory.
29831 * Makerules: Likewise.
29832 * Versions.def: Likewise.
29833 * argp/argp-fmtstream.c: Likewise.
29834 * argp/argp-fmtstream.h: Likewise.
29835 * argp/argp-help.c: Likewise.
29836 * assert/assert.c: Likewise.
29837 * config.h.in: Likewise.
29838 * config.make.in: Likewise.
29839 * configure: Likewise.
29840 * configure.in: Likewise.
29841 * csu/Versions: Likewise.
29842 * csu/init.c: Likewise.
29843 * elf/tst-audit2.c: Likewise.
29844 * elf/tst-tls10.c: Likewise.
29845 * elf/tst-tls10.h: Likewise.
29846 * elf/tst-tls11.c: Likewise.
29847 * elf/tst-tls12.c: Likewise.
29848 * elf/tst-tls14.c: Likewise.
29849 * elf/tst-tlsmod11.c: Likewise.
29850 * elf/tst-tlsmod12.c: Likewise.
29851 * elf/tst-tlsmod13.c: Likewise.
29852 * elf/tst-tlsmod13a.c: Likewise.
29853 * elf/tst-tlsmod14a.c: Likewise.
29854 * elf/tst-tlsmod15b.c: Likewise.
29855 * elf/tst-tlsmod16a.c: Likewise.
29856 * elf/tst-tlsmod16b.c: Likewise.
29857 * elf/tst-tlsmod7.c: Likewise.
29858 * elf/tst-tlsmod8.c: Likewise.
29859 * elf/tst-tlsmod9.c: Likewise.
29860 * gmon/gmon.c: Likewise.
29861 * grp/fgetgrent_r.c: Likewise.
29862 * grp/putgrent.c: Likewise.
29863 * hurd/fopenport.c: Likewise.
29864 * include/libc-symbols.h: Likewise.
29865 * include/tls.h: Likewise.
29866 * intl/gettextP.h: Likewise.
29867 * intl/loadinfo.h: Likewise.
29868 * locale/global-locale.c: Likewise.
29869 * locale/localeinfo.h: Likewise.
29870 * mach/devstream.c: Likewise.
29871 * malloc/arena.c: Likewise.
29872 * malloc/set-freeres.c: Likewise.
29873 * misc/err.c: Likewise.
29874 * misc/getttyent.c: Likewise.
29875 * misc/mntent_r.c: Likewise.
29876 * posix/getopt.c: Likewise.
29877 * posix/wordexp.c: Likewise.
29878 * pwd/fgetpwent_r.c: Likewise.
29879 * resolv/Versions: Likewise.
29880 * resolv/res_hconf.c: Likewise.
29881 * shadow/fgetspent_r.c: Likewise.
29882 * shadow/putspent.c: Likewise.
29883 * stdio-common/printf_fphex.c: Likewise.
29884 * stdio-common/tmpfile.c: Likewise.
29885 * stdlib/abort.c: Likewise.
29886 * stdlib/fmtmsg.c: Likewise.
29887 * sunrpc/auth_unix.c: Likewise.
29888 * sunrpc/clnt_perr.c: Likewise.
29889 * sunrpc/clnt_tcp.c: Likewise.
29890 * sunrpc/clnt_udp.c: Likewise.
29891 * sunrpc/clnt_unix.c: Likewise.
29892 * sunrpc/openchild.c: Likewise.
29893 * sunrpc/svc_simple.c: Likewise.
29894 * sunrpc/svc_tcp.c: Likewise.
29895 * sunrpc/svc_udp.c: Likewise.
29896 * sunrpc/svc_unix.c: Likewise.
29897 * sunrpc/xdr.c: Likewise.
29898 * sunrpc/xdr_array.c: Likewise.
29899 * sunrpc/xdr_rec.c: Likewise.
29900 * sunrpc/xdr_ref.c: Likewise.
29901 * sunrpc/xdr_stdio.c: Likewise.
29902
1248c1c4
PB
299032011-09-09 Ulrich Drepper <drepper@gmail.com>
29904
29905 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29906
299072011-07-03 Andreas Jaeger <aj@suse.de>
29908
29909 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29910 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29911 regenerate with gen-libm-tests.pl.
29912
299132010-05-12 Petr Baudis <pasky@suse.cz>
29914
29915 [BZ #11589]
29916 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29917 around j0() zero points by switching to j1().
29918 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29919 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29922
f22e1074
UD
299232011-09-09 Ulrich Drepper <drepper@gmail.com>
29924
f19009c1
UD
29925 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29926 instead of 0.
29927 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29928 instead of 0.
f19009c1
UD
29929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29930 Patch in part by Pavel Roskin <proski@gnu.org>.
29931
3f8cc204
UD
29932 [BZ #13138]
29933 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29934 realloc.
29935 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29936 Free memory block if necessary.
29937
f22e1074
UD
29938 [BZ #12847]
29939 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29940 be NULL. Don't lock in this case.
29941
0a2349f9
RM
299422011-09-09 Roland McGrath <roland@hack.frob.com>
29943
29944 * elf/elf.h (ELFOSABI_GNU): New macro.
29945 (ELFOSABI_LINUX): Define to that.
29946
f3cdd467
DZ
299472011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29948
29949 * string/strncat.c (strncat): Undef the symbol in case it has been
29950 defined in bits/string.h.
29951
74718d13
UD
299522011-09-09 Ulrich Drepper <drepper@gmail.com>
29953
633e9e0f
UD
29954 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29955
0a2349f9 29956 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29957 link map.
29958
f9924780
AJ
299592011-08-17 Andreas Jaeger <aj@suse.de>
29960
29961 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29962
7f5517aa
PP
299632011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29964 Ian Lance Taylor <iant@google.com>
29965
29966 * math/libm-test.inc (lround_test): New testcase.
29967 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29968
762011fe
UD
299692011-09-08 Ulrich Drepper <drepper@gmail.com>
29970
92963737
UD
29971 * Makefile: Remove support for automatic cvs check-ins.
29972 * Makerules: Likewise.
29973 * config.make.in: Likewise.
29974 * configure.in: Likewise.
29975 * intl/Makefile: Likewise.
29976 * locale/Makefile: Likewise.
29977 * po/Makefile: Likewise.
29978 * posix/Makefile: Likewise.
29979 * sysdeps/gnu/Makefile: Likewise.
29980 * sysdeps/mach/hurd/Makefile: Likewise.
29981 * sysdeps/sparc/sparc32/Makefile: Likewise.
29982
b0727fd8
JS
29983 [BZ #13118]
29984 * posix/Makefile (bug-regex32-ENV): Define.
29985 Patch by John Stanley <jpsinthemix@verizon.net>.
29986
a0f33f99
UD
29987 * misc/Makefile (headers): Add bits/select2.h.
29988 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29989 * misc/bits/select2.h: New file.
29990 * include/bits/select2.h: New file.
29991 * debug/Makefile (routines): Add fdelt_chk.
29992 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29993 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29994 FD_ISSET.
29995 * debug/fdelt_chk.c: New file.
29996
762011fe
UD
29997 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29998 * wcsmbs/test-wmemcmp.c: Likewise.
29999 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30000 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30001
300022011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30003
30004 * string/Makefile (strop-tests): Add memcmp.
30005 * string/test-wmemcmp.c: New file.
30006 * string/test-memcmp.c: Add wmemcmp support.
30007
7f513ec8
RM
300082011-09-08 Roland McGrath <roland@hack.frob.com>
30009
0442afb4
RM
30010 [BZ #13153]
30011 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30012 2011-07-19 change.
30013
7f513ec8
RM
30014 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30015 garbage value in a __mach_port_mod_refs call in the cases of the
30016 task-self and thread-self ports.
30017
a12b2239
ST
300182011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30019
30020 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30021
610f9ab4
AS
300222011-09-08 Andreas Schwab <schwab@redhat.com>
30023
7f513ec8 30024 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30025
48882a1a
LD
300262011-09-07 Ulrich Drepper <drepper@gmail.com>
30027
b49865be
UD
30028 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30029
fdc86bc9
UD
30030 * elf/dl-libc.c (dlerror_run): Pass back error code from
30031 dl_catch_error.
30032
c966526a
UD
30033 [BZ #13123]
30034 * elf/dl-load.c (lose): Free l_origin if it is valid.
30035
48882a1a
LD
30036 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30037 names.
30038 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30039 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30040 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30041 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30042 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30043 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30044
77a2a8b4
AZ
300452011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30046
30047 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30048 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30049 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30050 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30051 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30052 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30053 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30054 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30055 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30056 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30057
24f579d8
AM
300582011-08-15 Alan Modra <amodra@gmail.com>
30059
30060 [BZ #13092]
30061 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30062 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30063 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30064 ppc_mcount to static-only-routines.
30065 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30066 __mcount_internal.
30067 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30068 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30069
3d4837df
UD
300702011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30071
30072 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30073 for finite and infinity parameters.
30074
22700377
WS
300752011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30076
30077 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30078 and add nop instructions for throughput optimization.
30079 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30080
5025581e
WS
300812011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30082
30083 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30084 aligned copy for power7 with vector-scalar instructions.
30085 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30086
08a300c9
L
300872011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30088
30089 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30090 AVX check.
30091
59178ef9
AS
300922011-09-07 Andreas Schwab <schwab@redhat.com>
30093
30094 [BZ #13144]
30095 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30096 last change.
30097
e38ba7ab
UD
300982011-09-07 Ulrich Drepper <drepper@gmail.com>
30099
30100 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30101 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30102 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30103 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30104 clock_gettime.
30105
d53a73ac
UD
301062011-09-06 Ulrich Drepper <drepper@gmail.com>
30107
fc8bffcc
UD
30108 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30109 Forgot to demangle the pointer.
30110
ceaa0c5d
UD
30111 * sysdeps/i386/sysdep.h: Define atom_text_section.
30112 * sysdeps/x86_64/sysdep.h: Likewise.
30113 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30114 section with atom_text_section.
30115 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30116 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30117 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30118 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30119 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30120
a77d3c17
UD
30121 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30122 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30123 already be defined. Change to take two parameters and don't assign
30124 result to variable. Adjust all users.
30125 Define INTERNAL_GETTIME if not already defined.
30126 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30127 call.
30128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30129 HAVE_CLOCK_GETTIME_VSYSCALL.
30130 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30131
d53a73ac
UD
30132 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30133 gettimeofday vsyscall, just use time.
30134
a8f84144
AS
301352011-09-06 Andreas Schwab <schwab@redhat.com>
30136
30137 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30138 <errno.h>.
30139
ef606249
UD
301402011-09-06 Ulrich Drepper <drepper@gmail.com>
30141
30142 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30143 syscall on x86-64.
30144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30145 syscall.
30146 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30147 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30148 syscall if possible.
30149
6585cb60
UD
301502011-09-05 Ulrich Drepper <drepper@gmail.com>
30151
30152 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30153 e_ident. Don't pass to find_mapsXX.
30154 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30155
a5f524e4
LD
301562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30157
30158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30159 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30160 * sysdeps/x86_64/multiarch/strchr.S: Update.
30161 Check bit_slow_BSF bit.
30162 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30163 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30164 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30165
554881ef
UD
301662011-09-05 Ulrich Drepper <drepper@gmail.com>
30167
d96de963
UD
30168 [BZ #13134]
30169 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30170 before glibc 2.15.
30171 (tryshell): Define.
30172 (__spawni): Change last parameter to be flag. Test
30173 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30174 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30175 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30176 * posix/spawni.c: Likewise.
30177 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30178 * posix/spawnp.c: Likewise. Change normal version to use
30179 SPAWN_XFLAGS_USE_PATH.
30180 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30181 SPAWN_XFLAGS_TRY_SHELL.
30182
d48e5868
UD
30183 [BZ #13150]
30184 * posix/glob.h: Remove gcc 1.x support.
30185
554881ef
UD
30186 [BZ #13068]
30187 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30188
693fb948
LD
301892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30190
30191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30192 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30193 strrchr-sse2-bsf
30194 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30195 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30196 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30197 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30198 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30199 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30200
1b48c537
UD
302012011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30202
49d42c37
UD
30203 * sysdeps/x86_64/wcscmp.S: New file.
30204
1b48c537
UD
30205 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30206 wcscmp-c wcscmp-sse2
30207 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30208 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30209 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30210 * wcsmbs/wcscmp.c: Allow renaming.
30211
15c95c5d
DM
302122011-09-05 David S. Miller <davem@davemloft.net>
30213
30214 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30215 stack slot, rather than the struct return pointer slot.
30216 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30217 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30219 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30220
2f0ad8f3
UD
302212011-09-05 Ulrich Drepper <drepper@gmail.com>
30222
d88ae418
UD
30223 * po/ja.po: Update from translation team.
30224
2f0ad8f3
UD
30225 [BZ #13144]
30226 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30227 kernel in 64-bit binaries.
30228
5f4318d1
DM
302292011-09-01 David S. Miller <davem@davemloft.net>
30230
30231 * elf/elf.h (HWCAP_SPARC_*): Move to..
30232 * sysdeps/sparc/sysdep.h: this new file and add new values.
30233 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30234 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30235 _DL_HWCAP_COUNT to 24.
30236 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30237 entries.
30238 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30239 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30240 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30241 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30242 instead of magic constants.
30243 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30244
3ba57516
DM
302452011-08-31 David S. Miller <davem@davemloft.net>
30246
30247 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30248 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30249 Reimplement to do errno handling inline.
30250 (SYSCALL_ERROR_HANDLER): New macro.
30251 (__SYSCALL_STRING): Do not do errno handling in asm.
30252 (__CLONE_SYSCALL_STRING): Delete.
30253 (__INTERNAL_SYSCALL_STRING): Delete.
30254 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30255 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30256 (PSEUDO): Reimplement to do errno handling inline.
30257 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30258 (SYSCALL_ERROR_HANDLER): New macro.
30259 (__SYSCALL_STRING): Do not do errno handling in asm.
30260 (__CLONE_SYSCALL_STRING): Delete.
30261 (__INTERNAL_SYSCALL_STRING): Delete.
30262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30263 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30264 i386.
30265 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30266 (inline_syscall*): Add 'err' argument.
30267 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30268 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30269 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30270 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30271
30272 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30273 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30274
2bc17433
AS
302752011-08-30 Andreas Schwab <schwab@redhat.com>
30276
30277 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30278
fbeb5f4d
JO
302792011-08-29 Jiri Olsa <jolsa@redhat.com>
30280
30281 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30282 directive.
30283
ad69cc26
DM
302842011-08-24 David S. Miller <davem@davemloft.net>
30285
30286 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30287
39dd69df
AS
302882011-08-24 Andreas Schwab <schwab@redhat.com>
30289
30290 * elf/Makefile: Add rules to build and run unload8 test.
30291 * elf/unload8.c: New file.
30292 * elf/unload8mod1.c: New file.
30293 * elf/unload8mod1x.c: New file.
30294 * elf/unload8mod2.c: New file.
30295 * elf/unload8mod3.c: New file.
30296
30297 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30298 it wasn't used.
30299
2c0b250a
DM
303002011-08-23 David S. Miller <davem@davemloft.net>
30301
30302 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30303 subtract stack bias.
30304 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30305 %sp not %fp in calculations.
30306 (_JMPBUF_UNWINDS_ADJ): Likewise.
30307
22044b48
DM
30308 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30309 (aio_suspend): Call it to force an exception region around the
30310 AIO_MISC_WAIT() invocation.
30311
2cae4995
AS
303122011-08-23 Andreas Schwab <schwab@redhat.com>
30313
30314 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30315 backslash.
30316
873a772e
AJ
303172011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30318
30319 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30320 protection macro.
30321 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30322 and <dl-machine.h>.
30323 (Elf64_FuncDesc): Remove.
30324
25ad0df1
DM
303252011-08-22 David S. Miller <davem@davemloft.net>
30326
30327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30328 sigaltstack check, add missing cfi directives.
30329 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30330 missing cfi directives, and sigaltstack handling.
30331
e888bcbe
AS
303322011-08-16 Andreas Schwab <schwab@redhat.com>
30333
30334 [BZ #11724]
30335 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30336 object is seen twice.
30337 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30338
30339 * elf/Makefile (distribute): Add tst-initorder2.c.
30340 (tests): Add tst-initorder2.
30341 (modules-names): Add tst-initorder2a tst-initorder2b
30342 tst-initorder2c tst-initorder2d. Add rules to build them.
30343 ($(objpfx)tst-initorder2.out): New rule.
30344 * elf/tst-initorder2.c: New file.
30345 * elf/tst-initorder2.exp: New file.
30346
87162f46
AS
303472011-08-22 Andreas Schwab <schwab@redhat.com>
30348
70538b7f
AS
30349 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30350
f55ffe58
AS
30351 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30352 dependencies back to end of function.
30353
87162f46
AS
30354 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30355 $(elfobjdir)/ld.so.
30356
91b392a4
UD
303572011-08-21 Ulrich Drepper <drepper@gmail.com>
30358
30359 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30360 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30361 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30362 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30363 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30364 of __vdso_gettimeofday.
30365 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30366 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30367 attribute_hidden.
30368 (_libc_vdso_platform_setup): Remove initialization of
30369 __vdso_gettimeofday and __vdso_time.
30370
5c43483f
UD
303712011-08-20 Ulrich Drepper <drepper@gmail.com>
30372
775a77e7
UD
30373 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30374 and fgetc_unlocked.
30375 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30376 getc_unlocked.
89f447ed 30377
49c74ba9
UD
30378 * elf/dl-open.c (add_to_global): Report additions to the global scope
30379 for LD_DEBUG=scopes.
30380 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 30381 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 30382
5c43483f
UD
30383 [BZ #13114]
30384 * stdio-common/Makefile (tests): Add bug24.
30385 * stdio-common/bug24.c: New file.
30386
a101b025
AJ
303872011-08-19 Andreas Jaeger <aj@suse.de>
30388
30389 [BZ #13114]
30390 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30391 non-existant file when using close-on-exec mode.
30392
c88f1766
UD
303932011-08-20 Ulrich Drepper <drepper@gmail.com>
30394
0276a718
UD
30395 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30396 the very first instruction.
30397
c88f1766
UD
30398 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30399 the CFI state in the end.
30400 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30401 inclusion of dl-trampoline.h.
30402 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30403
51ccffa0
AS
304042011-08-19 Andreas Schwab <schwab@redhat.com>
30405
94d7165f
AS
30406 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30407 expectations for long double.
30408
51ccffa0
AS
30409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30410 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30411
fd708658 304122011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
30413
30414 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30415 artificual limit depends upon the system page size.
30416
44f0a71e
UD
304172011-08-17 Ulrich Drepper <drepper@gmail.com>
30418
30419 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30420 * resolv/Makefile: Define CFLAGS-libresolv.
30421
8de79a24
AS
304222011-08-17 Andreas Schwab <schwab@redhat.com>
30423
30424 * nss/makedb.c (compute_tables): Make variables used in nested
30425 function static.
30426
27724598
UD
304272011-08-17 Ulrich Drepper <drepper@gmail.com>
30428
c5305d88
UD
30429 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30430 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30431 if buffer was too small.
30432
27724598
UD
30433 * elf/pldd.c (main): Attach to all threads in the process.
30434 Rewrite /proc handling to use *at functions.
30435
076fe015
UD
304362011-08-16 Ulrich Drepper <drepper@gmail.com>
30437
174baab3
UD
30438 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30439 specifies first scope to show.
30440 (dl_open_worker): Update callers. Move printing scope of new
30441 object to before the relocation.
44f0a71e 30442 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
30443 * sysdeps/generic/ldsodefs.h: Update declaration.
30444
076fe015
UD
30445 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30446 string for the scope number.
30447
a60df2c3
UD
304482011-08-14 Ulrich Drepper <drepper@gmail.com>
30449
30450 * nscd/servicescache.c (cache_addserv): Make sure written is always
30451 initialized.
30452
5e4287d1
RM
304532011-08-14 Roland McGrath <roland@hack.frob.com>
30454
85ae0589
RM
30455 * sysdeps/i386/i486/bits/atomic.h
30456 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30457 statement expression, so as to suppress "set but not used" warning.
30458 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30459
69f63097
RM
30460 * string/strncat.c (STRNCAT): Use prototype definition.
30461
675456ef
RM
30462 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30463 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30464 -Iprograms here.
30465 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30466 (localedef-modules): Add localedef.
30467 (locale-modules): Add locale.
30468
5e4287d1
RM
30469 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30470 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30471 to avoid a warning.
30472
9c96ff23
DM
304732011-08-14 David S. Miller <davem@davemloft.net>
30474
30475 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30476 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30477
f9ddf089
UD
304782011-08-13 Ulrich Drepper <drepper@gmail.com>
30479
44f0a71e 30480 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
30481 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30482 * elf/rtld.c (dl_main): Set l_name of vDSO.
30483 Call _dl_show_scope when DL_DEBUG_SCOPES.
30484 (process_dl_debug): Recognize scopes flag and also set it for all.
30485 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30486 Declare _dl_show_scope.
30487
1dc27704
UD
30488 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30489 (do_dlopen): Pass caller_dlopen to dl_open.
30490 (__libc_dlopen_mode): Initialize caller_dlopen.
30491
f9ddf089
UD
30492 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30493 of libc. Make tolower call locale-independent. Optimize a bit by
30494 using isdigit instead of isalnum.
30495 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30496
9ac533d3
UD
304972011-08-12 Ulrich Drepper <drepper@gmail.com>
30498
30499 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30500 was a dependency or dynamically loaded.
30501
89edf2e9
UD
305022011-08-11 Ulrich Drepper <drepper@gmail.com>
30503
8e999d29
UD
30504 * intl/l10nflist.c: Allow architecture-specific pop function.
30505 * sysdeps/x86_64/l10nflist.c: New file.
30506
89edf2e9
UD
30507 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30508 classification.
30509
14d96785
AS
305102011-08-10 Andreas Schwab <schwab@redhat.com>
30511
30512 * include/dirent.h: Add libc_hidden_proto for scandirat and
30513 scandirat64. Don't declare __scandirat64.
30514 * dirent/scandirat.c: Add libc_hidden_def.
30515 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30516 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30517
6761ac04
DM
305182011-08-10 David S. Miller <davem@davemloft.net>
30519
30520 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30521 enum.
30522 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30523 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30524 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30525
c55fbd1e
UD
305262011-08-09 Ulrich Drepper <drepper@gmail.com>
30527
30528 * Versions.def [libc]: Add GLIBC_2.15.
30529 * dirent/Makefile (routines): Add scandirat and scandirat64.
30530 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30531 GLIBC_2.15.
30532 * dirent/dirent.h: Declare scandirat and scandirat64.
30533 * dirent/scandirat.c: New file.
30534 * dirent/scandirat64.c: New file.
30535 * sysdeps/wordsize-64/scandirat.c: New file.
30536 * sysdeps/wordsize-64/scandirat64.c: New file.
30537 * dirent/opendir.c: Define opendirat.
30538 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30539 using scandirat.
30540 * dirent/scandir64.c: Adjust for scandir.c change.
30541 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30542 __scandirat64, and __scandir_cancel_handler.
30543 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30544 additional parameter and use openat instead of open (outside of ld.so).
30545 Add new __opendir as wrapper around __opendirat.
30546 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30547 here without requiring old scandirat implementation.
30548
879165f2
UD
305492011-08-08 Ulrich Drepper <drepper@gmail.com>
30550
30551 * dirent/scandir.c (cancel_handler): Renamed to
30552 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30553 defined. Adjust users.
30554 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30555 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30556
cb7e923b
UD
305572011-08-04 Ulrich Drepper <drepper@gmail.com>
30558
16292edd
UD
30559 * string/test-string.h (IMPL): Use __STRING to expand name and then
30560 stringify it.
30561
cb7e923b
UD
30562 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30563 of cleanups.
30564
cff82933
LD
305652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30566
30567 * string/Makefile: Update.
30568 (strop-tests): Append strncat.
30569 * string/test-wcscmp.c: New file.
30570 New comprehensive test for wcscmp.
30571 * string/test-strcmp.c: Update.
30572 (WIDE): New define.
30573
9be9bfcc
AS
305742011-07-22 Andreas Schwab <schwab@redhat.com>
30575
30576 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30577 line.
30578
2e96f1c7
AS
305792011-07-26 Andreas Schwab <schwab@redhat.com>
30580
30581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30582 encoding to ACE if AI_IDN.
30583
85188888
JJ
305842011-08-01 Jakub Jelinek <jakub@redhat.com>
30585
30586 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30587 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30588
5fa16e9b
LD
305892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30590
30591 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30592 Fix overflow bug in strncat.
30593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30594
30595 * string/test-strncat.c: Update.
30596 Add new tests for checking overflow bugs.
30597
305982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30599
30600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30601 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30602 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30603 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30604 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30605 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30606 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30607 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30608 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30609
30610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30611 (USE_AS_STRCAT): Define.
30612 Add strcat and strncat support.
30613 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30614
8c1a459f
AS
306152011-07-25 Andreas Schwab <schwab@redhat.com>
30616
30617 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30618 __n bigger than INT_MAX+1.
30619 (__strncmp_g): Likewise.
30620
bba33c28
UD
306212011-07-23 Ulrich Drepper <drepper@gmail.com>
30622
798be72d
UD
30623 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30624 * libio/stido.h: Likewise.
30625
8accd4dc
UD
30626 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30627 (AF_NFC): Define.
30628 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30629 (AF_NFC): Define.
30630
cbff0d96
UD
30631 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30632 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30633 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30634 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30635 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30636
9191c04a
UD
30637 [BZ #13021]
30638 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30639 installed.
30640
bba33c28
UD
30641 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30642 typo.
30643 (_dl_x86_64_save_sse): Likewise.
30644
90f139dd
UD
306452011-07-22 Ulrich Drepper <drepper@gmail.com>
30646
1aae088a
UD
30647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30648 OSXSAVE.
30649 (_dl_x86_64_save_sse): Likewise.
30650
8e2045f5
UD
30651 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30652
90f139dd
UD
30653 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30654
1d002f25
AS
306552011-07-21 Andreas Schwab <schwab@redhat.com>
30656
30657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30658 change.
30659 (_dl_x86_64_save_sse): Use correct AVX check.
30660
21137f89
UD
306612011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30662
30663 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30664 bug in strncpy/strncat.
30665 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30666
a65c0b7a
UD
306672011-07-21 Ulrich Drepper <drepper@gmail.com>
30668
30669 * string/tester.c (test_strcat): Add tests for different alignments
30670 of source and destination.
30671 (test_strncat): Likewise.
30672
6986b98a
UD
306732011-07-20 Ulrich Drepper <drepper@gmail.com>
30674
90bb2039
UD
30675 [BZ #12852]
30676 * posix/glob.c (glob): Check passed in values before using them in
30677 expressions to avoid some overflows.
30678 (glob_in_dir): Likewise.
30679
5644ef54
UD
30680 [BZ #13007]
30681 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30682 check for AVX enablement so that we don't crash with old kernels and
30683 new hardware.
30684 * elf/tst-audit4.c: Add same checks here.
30685 * elf/tst-audit6.c: Likewise.
30686
30687 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 30688
bfc9dc9b
AS
306892011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30690
30691 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30692
702e64bb
UD
306932011-07-20 Ulrich Drepper <drepper@gmail.com>
30694
30695 * po/cs.po: Update from translation team.
30696 * po/bg.po: Likewise.
30697
295e904f
MP
306982011-07-12 Marek Polacek <mpolacek@redhat.com>
30699
30700 * misc/sys/cdefs.h: Add support for const attribute.
30701 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30702 to gnu_dev_{major,minor,makedev} functions.
30703
3ff94596
MP
307042011-07-20 Marek Polacek <mpolacek@redhat.com>
30705
30706 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30707
28b59fca
AS
307082011-07-20 Andreas Schwab <schwab@redhat.com>
30709
30710 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30711 strlen results.
30712
19df733e
AK
307132011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30714
30715 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30716 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30717 register in order to avoid conflicts with the soft frame pointer
30718 being held in r11 when necessary.
30719 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30720 (INTERNAL_VSYSCALL_NCS): Likewise.
30721
c8835729
MP
307222011-07-14 Marek Polacek <mpolacek@redhat.com>
30723
30724 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30725 * elf/dl-fini.c (_dl_fini): Adjust caller.
30726 * elf/dl-close.c (_dl_close_worker): Likewise.
30727 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30728
b902330c
MP
307292011-07-15 Marek Polacek <mpolacek@redhat.com>
30730
8991e135
MP
30731 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30732 "aux_cache->nlibs < 0".
30733
b902330c
MP
30734 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30735 in the reload-count case.
30736
99710781
LD
307372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30738
30739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30740 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30741 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30742 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30743 * sysdeps/x86_64/multiarch/strcat.S: New file.
30744 * sysdeps/x86_64/multiarch/strncat.S: New file.
30745 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30746 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30747 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30748 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30749 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30750 (USE_AS_STRCAT): Define.
30751 Add strcat and strncat support.
30752 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30753 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30754 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30755 * string/strncat.c: Update.
30756 (USE_AS_STRNCAT): Define.
30757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30758 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30759 and i7.
30760 * sysdeps/x86_64/multiarch/init-arch.h
30761 (bit_Prefer_PMINUB_for_stringop): New.
30762 (index_Prefer_PMINUB_for_stringop): Likewise.
30763 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30764 bit_Prefer_PMINUB_for_stringop.
30765
7dc6bd90
UD
307662011-07-19 Ulrich Drepper <drepper@gmail.com>
30767
30768 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30769 buffer64.
30770 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30771 of casting of buffer.
30772 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30773 buffer32 and buffer64.
30774 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30775 writes instead of casting of buffer.
30776 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30777 buffer32.
30778 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30779 casting of buffer.
30780
e0e72284
AS
307812011-07-19 Andreas Schwab <schwab@redhat.com>
30782
30783 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30784
feb1eb0b
UD
307852011-07-19 Ulrich Drepper <drepper@gmail.com>
30786
30787 * nscd/nscd.c (termination_handler): Don't do anything for a database
30788 if it has not yet been initialized.
30789
298711ff
UD
307902011-07-18 Ulrich Drepper <drepper@gmail.com>
30791
30792 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30793
307942011-07-15 Marek Polacek <mpolacek@redhat.com>
30795
30796 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30797
f9d68389
UD
307982011-07-18 Ulrich Drepper <drepper@gmail.com>
30799
30800 * po/nl.po: Update from translation team.
30801 * po/sv.po: Likewise.
30802
db290cf5
RM
308032011-07-16 Roland McGrath <roland@hack.frob.com>
30804
30805 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30806 now disallowed by GCC.
5c550700 30807
fd5e21c7
RM
30808 * configure.in (use-default-link): Default to yes if a test -shared
30809 link meets our qualifications.
30810 * configure: Regenerated.
30811
5c550700
RM
30812 * config.make.in (output-format): New variable.
30813 * configure.in: Check for ld --print-output-format support.
30814 * configure: Regenerated.
30815 * Makerules ($(common-objpfx)format.lds)
30816 [$(output-format) != unknown]: Just use $(output-format),
30817 instead of the linker-script munging.
30818
9fa2c032
RM
308192011-07-14 Roland McGrath <roland@hack.frob.com>
30820
a6928d51
RM
30821 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30822 of $(common-objpfx)shlib.lds.
30823 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30824
661607b3
RM
30825 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30826 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30827
9fa2c032
RM
30828 * configure.in (-z relro check): Adjust test code to add a large
30829 writable data section after it.
30830 * configure: Regenerated.
30831
defe9061
RM
308322011-07-11 Roland McGrath <roland@hack.frob.com>
30833
30834 * configure.in (-z relro check): Fix test code to make the variable
30835 truly const.
30836 * configure: Regenerated.
30837
319b9ad4
UD
308382011-07-11 Ulrich Drepper <drepper@gmail.com>
30839
30840 * nscd/nscd.h (struct traced_file): Define.
30841 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30842 elements. Add traced_files.
30843 (inotify_fd): Declare.
30844 (register_traced_file): Declare.
30845 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30846 (inotify_fd): Export.
30847 (resolv_conf_descr): Remove.
30848 (nscd_init): Move inotify descriptor creation to main.
30849 Don't register files for notification here.
30850 (register_traced_file): New function.
30851 (invalidate_cache): Don't use reset_res to determine whether to call
30852 res_init, go through the list of registered files.
30853 (main_loop_poll): The inotify descriptors are now stored in the
30854 structures for the traced files.
30855 (main_loop_epoll): Likewise
30856 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30857 to __nss_disable_nscd.
30858 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30859 for a database anymore. Check the records for all the registered
30860 files instead.
30861 * nss/Makefile (libnss_files-routines): Add files-init.
30862 (libnss_db-routines): Add db-init.
30863 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30864 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30865 * nss/nss_db/db-init.c: New file.
30866 * nss/nss_files/files-init.c: New file.
30867 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30868 __nss_lookup_function.
30869 (__nss_lookup_function): Call nss_load_library.
30870 (nss_load_all_libraries): New function.
30871 (__nss_disable_nscd): Take parameter with callback function for files
30872 to register. Set is_nscd. Load all the DSOs for the NSS modules
30873 used for the cached services.
30874 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30875 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30876 options for features to all the files in nscd.
30877
30878 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30879
23bee3e8
RM
308802011-07-10 Roland McGrath <roland@hack.frob.com>
30881
30882 * csu/elf-init.c (__libc_csu_init): Comment typo.
30883
46a5b7f0
UD
308842011-07-09 Ulrich Drepper <drepper@gmail.com>
30885
30886 * po/pl.po: Update from translation team.
30887 * po/ja.po: Likewise.
30888 * po/ru.po: Likewise.
30889 * po/ko.po: Likewise.
30890 * po/fr.po: Likewise.
30891
d30cf5bb
RM
308922011-07-09 Roland McGrath <roland@hack.frob.com>
30893
113ddea4
RM
30894 * configure.in (.ctors/.dtors header and trailer check):
30895 Use an empirical test on a built program.
30896 * configure: Regenerated.
30897
574920b4
RM
30898 * configure.in (-z relro check): Use an empirical test on a built DSO.
30899 Detect, but do not require, on ia64.
30900 * configure: Regenerated.
30901
d30cf5bb
RM
30902 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30903 Update tests that use readelf to use $READELF instead.
30904 * configure: Regenerated.
30905
8538fdb3
UD
309062011-07-08 Ulrich Drepper <drepper@gmail.com>
30907
30908 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30909 if the result is not used.
30910
04d08991
AJ
309112011-07-05 Andreas Jaeger <aj@suse.de>
30912
30913 [BZ#9696]
30914 * stdlib/tst-strtod.c: Add testcase.
30915
de283087
AD
309162011-07-07 Ulrich Drepper <drepper@gmail.com>
30917
4e5f31c8 30918 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30919 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30920 The latter has a higher limit. Take additional parameter to pass to
30921 the new function.
30922 (__pathconf): Pass file to __statfs_link_max.
30923 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30924 __statfs_link_max.
30925 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30926 __statfs_link_max.
30927
de283087
AD
30928 [BZ #12868]
30929 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30930 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30931 Handle Lustre.
30932 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30933 (__statfs_filesize_max): Likewise.
30934 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30935
c75fa153
AJ
309362011-07-05 Andreas Jaeger <aj@suse.de>
30937
30938 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30939
1a544854
UD
309402011-07-06 Marek Polacek <mpolacek@redhat.com>
30941
30942 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30943 `status' variable.
30944 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30945 Likewise.
30946
6f0eec67
UD
309472011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30948
30949 * Makefile (strop-tests): Add strncat.
30950 * string/test-strncat.c: New file.
30951
aae30307
UD
309522011-06-30 Marek Polacek <mpolacek@redhat.com>
30953
30954 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30955
c0cfb5eb
UD
309562011-06-21 Andreas Jaeger <aj@suse.de>
30957
30958 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30959 Copy rule from iconvdata/Makefile.
30960
01636b21
UD
309612011-07-06 Ulrich Drepper <drepper@gmail.com>
30962
30963 [BZ #12922]
30964 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30965 but no long options are defined, just return 'W'.
30966
9895c8bc
UD
309672011-06-22 Marek Polacek <mpolacek@redhat.com>
30968
30969 [BZ #9696]
30970 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30971
5d4cf042
UD
309722011-07-06 Ulrich Drepper <drepper@gmail.com>
30973
30974 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30975 netgroups to read.
960e5535 30976 (innetgr): Likewise.
5d4cf042 30977
751eb97e
RM
309782011-07-05 Roland McGrath <roland@hack.frob.com>
30979
30980 * config.make.in (install_root): Default to $(DESTDIR).
30981
f15f1e45
UD
309822011-07-05 Ulrich Drepper <drepper@gmail.com>
30983
30984 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30985
4e34ac6a
RM
309862011-07-02 Roland McGrath <roland@hack.frob.com>
30987
5e9b6af4
RM
30988 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30989
84f9ea0f
RM
30990 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30991 containing directory rather than embedding absolute directory names.
30992
ea5ee9f7
RM
30993 * scripts/check-local-headers.sh: Rewritten using awk.
30994 Match by word, not by line. Print error messages for matches.
30995 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30996
1b74661a
RM
30997 * Makerules [shlib-lds-flags empty]:
30998 ($(common-objpfx)libc_pic.opts): New target.
30999 ($(common-objpfx)libc_pic.os.clean): New target.
31000 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31001
31002 * config.make.in (OBJCOPY): New variable.
31003 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31004 * configure: Regenerated.
31005
f781ef40
RM
31006 * config.make.in (use-default-link): New variable.
31007 * configure.in (use_default_link): Grok --with-default-link to set it.
31008 * configure: Regenerated.
31009 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31010 (shlib-lds, shlib-lds-flags): Define to empty.
31011
2d4fa81e
RM
31012 * Makerules (shlib-lds): New variable.
31013 (shlib-lds-flags): New variable.
31014 (build-shlib, build-moduile, build-module-asneeded): Use it.
31015 ($(common-objpfx)libc.so): Use $(shlib-lds).
31016 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31017 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31018
31fffa6b
RM
31019 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31020 DT_FLAGS/DT_FLAGS_1 with zero flags.
31021
4e34ac6a
RM
31022 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31023 linker script munging.
31024
fcfc776b
UD
310252011-07-02 Ulrich Drepper <drepper@gmail.com>
31026
31027 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31028 as 128-bit value.
31029 * crypt/sha512.c (sha512_process_block): Perform total addition using
31030 128-bit if possible.
31031 (__sha512_finish_ctx): Likewise.
31032 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31033 as 64-bit value.
31034 * crypt/sha256.c (SWAP64): Define.
31035 (sha256_process_block): Perform total addition using 64-bit if
31036 possible.
31037 (__sha256_finish_ctx): Likewise.
31038
99231d9a
UD
310392011-07-01 Ulrich Drepper <drepper@gmail.com>
31040
31041 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31042 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31043 * nscd/hstcache.c (cache_addhst): Likewise.
31044 * nscd/grpcache.c (cache_addgr): Likewise.
31045 * nscd/aicache.c (addhstaiX): Likewise
31046 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31047
445b4a53
TK
310482011-07-01 Thorsten Kukuk <kukuk@suse.de>
31049
31050 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31051 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31052 * nscd/hstcache.c (cache_addhst): Likewise.
31053 * nscd/grpcache.c (cache_addgr): Likewise.
31054 * nscd/aicache.c (addhstaiX): Likewise
31055
6d4d8e8e
AS
310562011-07-01 Andreas Schwab <schwab@redhat.com>
31057
31058 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31059 domain only when needed.
31060
89f654c5
AS
310612011-06-30 Andreas Schwab <schwab@redhat.com>
31062
31063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31064 is always restored.
31065
cf3b23ff
UD
310662011-06-29 Ulrich Drepper <drepper@gmail.com>
31067
31068 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31069 are re-adding the entry.
31070 * nscd/servicescache.c (cache_addserv): Likewise.
31071
751626f9
AJ
310722011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31073
31074 * sysdeps/generic/dl-irel.h: fix protection against multiple
31075 inclusions.
31076 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31077
9113ea1f
UD
310782011-06-28 Ulrich Drepper <drepper@gmail.com>
31079
5c0b8d90
UD
31080 [BZ #12935]
31081 * malloc/memusage.sh: Fix quoting in message.
31082 * debug/xtrace.sh: Likewise.
31083
9113ea1f
UD
31084 * configure.in: Remove support for --experimental-malloc option, make
31085 it the default.
31086 * config.make.in: Likewise.
31087 * malloc/Makefile: Likewise.
31088
a4172181
AS
310892011-06-27 Andreas Schwab <schwab@redhat.com>
31090
31091 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31092 two-byte characters.
31093
78a7eee7
RM
310942011-06-27 Roland McGrath <roland@hack.frob.com>
31095
62bede13
RM
31096 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31097 AC_CACHE_CHECK invocation.
31098 * configure: Regenerated.
31099
78a7eee7
RM
31100 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31101
5ce33a62
UD
311022011-06-27 Ulrich Drepper <drepper@gmail.com>
31103
034807a9
UD
31104 [BZ #12350]
31105 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31106 bit from old_res_options.
31107
4902da17
UD
31108 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31109
5ce33a62
UD
31110 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31111 value type for setfct.
31112
c2344f56
L
311132011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31114
31115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31116 __gettimeofday instead of gettimeofday.
31117
68468076
UD
311182011-06-26 Ulrich Drepper <drepper@gmail.com>
31119
31120 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31121
acb0d739
L
311222011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31123
31124 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31125
31126 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31127 info.
31128
8912479f
L
311292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31130
31131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31132 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31133 strcpy-sse2-unaligned strncpy-sse2-unaligned
31134 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31135 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31136 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31137 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31138 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31139 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31140 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31141 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31142 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31143 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31144 (STRCPY): Support SSE2 and SSSE3 versions.
31145
d5495a11
UD
311462011-06-24 Ulrich Drepper <drepper@gmail.com>
31147
31148 [BZ #12874]
31149 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31150 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31151 kernels which artificially limit size of requests.
31152
0b1cbaae
L
311532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31154
31155 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31156 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31157 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31158 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31159 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31160 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31161 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31162 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31163 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31164 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31165 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31166 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31167 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31168 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31169 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31171 Enable unaligned load optimization for Intel Core i3, i5 and i7
31172 processors.
31173 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31174 Define.
31175 (index_Fast_Unaligned_Load): Define.
31176 (HAS_FAST_UNALIGNED_LOAD): Define.
31177
07f494a0
MP
311782011-06-23 Marek Polacek <mpolacek@redhat.com>
31179
31180 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31181
fa3fc0fe
UD
311822011-06-22 Ulrich Drepper <drepper@gmail.com>
31183
31184 [BZ #12907]
31185 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31186 until it is clear that the information is realy needed.
31187 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31188
e12df166
AS
311892011-06-22 Andreas Schwab <schwab@redhat.com>
31190
31191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31192
852eb34d
UD
311932011-06-22 Ulrich Drepper <drepper@gmail.com>
31194
84e2a551
UD
31195 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31196 /sys/devices/system/cpu/online if it is usable.
31197
852eb34d
UD
31198 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31199 reading the information from the /proc filesystem to once a second.
31200
6e502e19
UD
312012011-06-21 Andreas Jaeger <aj@suse.de>
31202
31203 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31204 NULL after inclusion of kernel headers.
31205
75d39ff2
UD
312062011-06-21 Ulrich Drepper <drepper@gmail.com>
31207
51f9aa6a
UD
31208 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31209 calls to internal_setent.
31210
c0244a9d
UD
31211 [BZ #12885]
31212 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31213 addresses using gethostbyname4_r ignore IPv4 addresses.
31214
c5e3c2ae
UD
31215 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31216 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31217
75d39ff2
UD
31218 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31219
42675c6f
DM
312202011-06-20 David S. Miller <davem@davemloft.net>
31221
31222 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31223 inclusions.
31224 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31225
31226 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31227 (elf_irel): Use it.
31228 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31229 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31230 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31231 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31232 * sysdeps/x86_64/dl-irel.h: Likewise.
31233
31234 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31235 * elf/dl-sym.c: Likewise.
31236
57912a71
UD
312372011-06-15 Ulrich Drepper <drepper@gmail.com>
31238
31239 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31240 need to dereference resplen2.
31241
ee22793d
AS
312422011-06-14 Andreas Schwab <schwab@redhat.com>
31243
31244 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31245
a9e836b0
UD
312462011-06-15 Ulrich Drepper <drepper@gmail.com>
31247
77fb9117
UD
31248 * Makeconfig: Define vardbdir and inst_vardbdir.
31249 * nss/Makefile: Add rules to install db-Makefile.
31250
40c1b22c
UD
31251 * nss/nss_db/db-XXX.c: Cleanup.
31252
9f2da732
UD
31253 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31254 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31255 GLIBC_PRIVATE.
31256 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31257 * nss/makedb.c: Implement -g option to specify that value strings
31258 are generated and should not be added to table iterated over for
31259 get*ent calls.
31260 * nss/nss_db/db-initgroups.c: New file.
31261
82e9a1f7
UD
31262 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31263 interface.
31264
c41af17e
UD
31265 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31266 (internal_getgrouplist): Adjust to name change.
31267 Update use_initgroups_entry if this is not the first call.
31268 * nss/databases.def: Add initgroups entry.
31269
a9e836b0
UD
31270 * nss/makedb.c (compute_tables): Check result of multiple hash table
31271 sizes to minimize maximum chain length.
31272
2666d441
UD
312732011-06-14 Ulrich Drepper <drepper@gmail.com>
31274
31275 * Versions.def: Add entry for libnss_db.
31276 * shlib-versions: Likewise.
31277 * nss/Makefile: Add rules to build libnss_db.
31278 * nss/Versions: Add libnss_db information. Organize libnss_files
31279 entries better.
31280 * nss/db-Makefile: Add gshadow support. Change rules for the new
31281 makedb progra. Some minor improvements to generate smaller files.
31282 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31283 here from...
31284 * nss/makedb.c: ...here.
31285 Improve database format to be smaller and require less memory at
31286 runtime.
31287 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31288 db anymore.
31289 * nss/nss_db/db-netgrp.c: Likewise.
31290 * nss/nss_db/db-open.c: Likewise.
31291 * nss/nss_files/flies-XXX.x: Adjust comments.
31292 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31293 * nss/nss_files/files-grp.c: Likewise.
31294 * nss/nss_files/files-hosts.c: Likewise.
31295 * nss/nss_files/files-network.c: Likewise.
31296 * nss/nss_files/files-proto.c: Likewise.
31297 * nss/nss_files/files-pwd.c: Likewise.
31298 * nss/nss_files/files-rpc.c: Likewise.
31299 * nss/nss_files/files-service.c: Likewise.
31300 * nss/nss_files/files-sgrp.c: Likewise.
31301 * nss/nss_files/files-spwd.c: Likewise.
31302 * nss/nss_db/db-alias.c: Removed.
31303 * nss/nss_db/dummy-db.h: Removed.
31304
9ee76b5a
UD
313052011-06-02 Ulrich Drepper <drepper@gmail.com>
31306
31307 * nss/makedb.c: Rewritten to not use database library.
31308 * nss/Makefile: Update to build new makedb program.
31309
c71ca1f8
AJ
313102011-06-14 Andreas Jaeger <aj@suse.de>
31311
31312 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31313 memset declaration.
31314
3154bfb8
UD
313152011-06-10 Andreas Schwab <schwab@redhat.com>
31316
31317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31318 tmpbuf.
31319
b350afab
RM
313202011-06-10 Roland McGrath <roland@hack.frob.com>
31321
decd4e50
RM
31322 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31323 * elf/Makefile ($(objpfx)ld.so): Likewise.
31324
5615eaf2
RM
31325 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31326 Don't list ld.so twice in dependencies.
31327
31328 * posix/bug-regex31.c: Include <stdlib.h>.
31329
31330 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31331
31332 * nis/nss_compat/compat-spwd.c
31333 (getspent_next_nss_netgr): Remove unused variable.
31334 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31335
31336 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31337 nonmembers" output to use the right array.
31338
31339 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31340
31341 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31342
31343 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31344 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31345 * catgets/gencat.c (read_input_file): Likewise.
31346 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31347
31348 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31349 variable definition inside #if's controlling its use.
31350
31351 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31352
31353 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31354
31355 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31356
31357 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31358 unreachable code.
31359
31360 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31361
b68e08db
RM
31362 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31363 * configure: Regenerated.
31364
b350afab
RM
31365 * Makerules: Revert last change.
31366 * elf/Makefile: Likewise.
31367
28368601
RM
313682011-06-09 Roland McGrath <roland@hack.frob.com>
31369
31370 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31371 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31372 (reloc-link): Likewise.
31373
11988f8f
UD
313742011-06-09 Ulrich Drepper <drepper@gmail.com>
31375
31376 * elf/Makefile: Add rules to build pldd.
31377 * elf/pldd.c: New file.
31378 * elf/pldd-xx.c: New file.
31379
e80fab37
UD
313802011-06-07 Ulrich Drepper <drepper@gmail.com>
31381
31382 * version.h: Update for 2.15 development version.
31383
9b849836
DM
313842011-06-07 David S. Miller <davem@davemloft.net>
31385
31386 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31387 ifuncs.
31388 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31389 elf_machine_lazy_rel): Likewise.
31390 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31391 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31392 elf_machine_lazy_rel): Likewise.
31393 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31394 dl_hwcap via passed in argument.
31395 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31396 Likewise.
31397
5a31b283
AK
313982011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31399
31400 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31401
069e52f8
RM
314022011-06-06 Roland McGrath <roland@hack.frob.com>
31403
31404 [BZ #12849]
31405 * manual/fdl-1.1.texi: New file, verbatim from:
31406 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31407 * manual/lgpl-2.1.texi: New file, verbatim from:
31408 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31409 * manual/Makefile (licenses): New variable, list those new file names.
31410 (texis): Use it.
31411 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31412
31413 * manual/fdl.texi: File removed.
31414 * manual/lesser.texi: File removed.
31415 * manual/libc.texinfo (Copying, Documentation License):
31416 Use new @include file names, put @appendix directive before @include.
31417
f16846a5
JJ
314182011-06-04 Jakub Jelinek <jakub@redhat.com>
31419
31420 [BZ #12841]
31421 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31422 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31423 (mq_open): Add __NTH.
31424
3d29045b
L
314252011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31426
31427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31428 Assume Intel Core i3/i5/i7 processor if AVX is available.
31429
8c297311
UD
314302011-05-31 Ulrich Drepper <drepper@gmail.com>
31431
31432 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31433 typo.
31434
c8fc0c91
UD
314352011-05-31 Andreas Schwab <schwab@redhat.com>
31436
31437 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31438 memory. Use alloca_account. Fix memory leak when retrying.
31439
5b27a807
UD
314402011-05-31 Ulrich Drepper <drepper@gmail.com>
31441
356f8bc6
UD
31442 * version.h (RELEASE): Bump for 2.14 release.
31443 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31444
5b27a807
UD
31445 * config.make.in (RANLIB): Remove entry.
31446
01f16ab0
UD
314472011-05-30 Ulrich Drepper <drepper@gmail.com>
31448
41fce8bd
UD
31449 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31450 (libc.pot): Work around missing support for .ksh extension in xgettext.
31451
4769ae77
UD
31452 [BZ #12684]
31453 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31454 if both request failed.
31455 (send_dg): In case of server errors clear resplen or *resplen2.
31456
6b1e7d19
UD
31457 [BZ #12454]
31458 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31459 when there are multiple maps.
31460 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31461 (_dl_fini): Remove test here.
31462
01f16ab0
UD
31463 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31464
b1ebd700
UD
314652011-05-29 Ulrich Drepper <drepper@gmail.com>
31466
7ae22829
UD
31467 [BZ #12350]
31468 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31469 bit from old_res_options.
31470 (gaih_inet): Likewise.
31471
553149f6 31472 [BZ #11099]
18a84741 31473 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
31474 as signed.
31475
652ffab1
UD
31476 * resolv/res_init.c (res_setoptions): Make the code more compact.
31477
16985fd0
UD
31478 [BZ #11558]
31479 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31480 set RES_USEVC.
31481
0464f746
UD
31482 [BZ #11634]
31483 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31484
7d17596c
UD
31485 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31486
cf6bbbd7
UD
31487 [BZ #11781]
31488 * malloc/malloc.h: Declare malloc hook variables as volatile.
31489
13f1ab36
UD
31490 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31491 in last patch.
31492
b1ebd700
UD
31493 [BZ #11799]
31494 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 31495 raise in the comment.
80e2212d
UD
31496 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31497 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31498 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 31499
ce67228d
UD
315002011-05-28 Ulrich Drepper <drepper@gmail.com>
31501
8887a920
UD
31502 [BZ #12811]
31503 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31504 grow the buffers more if it already has to be sufficient.
31505 (build_wcs_upper_buffer): Likewise.
31506 * posix/regexec.c (check_matching): Likewise.
31507 (clean_state_log_if_needed): Likewise.
31508 (extend_buffers): Don't enlarge buffers beyond size of the input
31509 buffer.
31510 Patches mostly by Emil Wojak <emil@wojak.eu>.
31511 * posix/bug-regex32.c: New file.
31512 * posix/Makefile (tests): Add bug-regex32.
31513
4f031072
UD
31514 * locale/findlocale.c (_nl_find_locale): Return right away if
31515 _nl_explode_name failed.
31516 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31517
d0478f0c
UD
31518 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31519
de81b246
UD
31520 * debug/xtrace.sh: Unify messages.
31521 * malloc/memusage.sh: Likewise.
31522
c738465a
UD
31523 [BZ #12813]
31524 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31525 time symbol from vDSO. Substitute with vsyscall if not available.
31526 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31527 __vdso_time.
31528
f1f929d7
UD
31529 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31530 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31531 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31532 Add sendmmsg and internal_sendmmsg.
31533 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31534 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31535 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31536
ce67228d
UD
31537 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31538 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31539 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31540
e57420c6
UD
315412011-05-27 Ulrich Drepper <drepper@gmail.com>
31542
a8509ca5
UD
31543 [BZ #12813]
31544 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31545 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31546 available.
31547 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31548 __vdso_getcpu.
31549
e57420c6
UD
31550 [BZ #12814]
31551 * iconvdata/Makefile (tests): Add bug-iconv9.
31552 * iconvdata/bug-iconv9.c: New file.
31553
4d07db15
AS
315542011-05-27 Andreas Schwab <schwab@redhat.com>
31555
31556 [BZ #12814]
31557 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31558
ea486f69
JJ
315592011-05-25 Jakub Jelinek <jakub@redhat.com>
31560
31561 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31562 (struct user_regs_struct): Change intcs field back to cs.
31563
6f038433
UD
315642011-05-25 Ulrich Drepper <drepper@gmail.com>
31565
31566 * po/ja.po: Update from translation team.
31567
67f86a25
UD
315682011-05-23 Ulrich Drepper <drepper@gmail.com>
31569
31570 [BZ #12795]
31571 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31572 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31573
def7fbd6
AS
315742011-05-20 Andreas Schwab <schwab@redhat.com>
31575
31576 * stdlib/longlong.h: Update from GCC.
31577
f50ef8f1
AS
315782011-05-23 Andreas Schwab <schwab@redhat.com>
31579
31580 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31581 parameter name.
31582 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31583 Add parameter name.
31584 (__sysconf): Pass it down.
31585
de7ce8f1
UD
315862011-05-22 Ulrich Drepper <drepper@gmail.com>
31587
f2962a71
UD
31588 [BZ #12671]
31589 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31590 some situations.
31591 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31592 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31593 add in in __libc_use_alloca calls. Adjust callers.
31594 (glob): Use malloc in some situations.
31595
de7ce8f1
UD
31596 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31597 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31598 pltexit.
31599
aec84f53
UD
316002011-05-21 Ulrich Drepper <drepper@gmail.com>
31601
05bb4a68
UD
31602 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31603 and CLOCK_BOOTTIME_ALARM.
31604
7ea72f99
UD
31605 [BZ #12782]
31606 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31607 is returned.
31608
7e4afad5
UD
31609 * string/_strerror.c (__strerror_r): Print negative errors as signed
31610 numbers.
31611
8e211fec
UD
31612 [BZ #12777]
31613 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31614 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31615 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31616
f7d82dc9
UD
31617 * configure.in: Fix typo in redirection and correct removal of test
31618 files in two cases.
31619
cc9e536d
UD
31620 [BZ #12788]
31621 * locale/setlocale.c (new_composite_name): Fix test to check for
31622 identical name of all categories.
31623
aec84f53
UD
31624 [BZ #12792]
31625 * libio/filedoalloc.c (local_isatty): New function.
31626 (_IO_file_doallocate): Use local_isatty.
31627 * stdio-common/perror.c (perror): In case a new stream is used
31628 forward the stream error.
31629 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31630 error flag.
31631
78e64fdc
RT
316322011-05-20 Ulrich Drepper <drepper@gmail.com>
31633
34a9094f
UD
31634 [BZ #11869]
31635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31636 alloca.
31637 * include/alloca.h (extend_alloca_account): Define.
31638
78e64fdc
RT
31639 [BZ #11857]
31640 * posix/regex.h: Fix comments with documentation of user-accessible
31641 fields after compilation and describe correct free'ing of pattern
31642 after re_compile_pattern.
31643 Patch by Reuben Thomas <rrt@sc3d.org>.
31644
457bddfc
RA
316452011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31646
31647 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31648 and -mno-altivec to prevent the compiler from using Altivec and/or
31649 VSX instructions when the corresponding registers are not available.
31650
a4527b51
AS
316512011-05-19 Andreas Schwab <schwab@redhat.com>
31652
31653 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31654
ed690b2f
UD
316552011-05-19 Ulrich Drepper <drepper@gmail.com>
31656
31657 * libio/freopen.c (freopen): Use __dup2, not dup2.
31658 * libio/freopen64.c (freopen64): Likewise.
31659
8db73634
L
316602011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31661
31662 [BZ #12775]
31663 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31664 * math/Makefile (tests): Add test-powl.
31665 (CFLAGS-test-powl.c): Define.
31666 * math/test-powl.c: New file.
31667
0a197a9d
L
316682011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31669
31670 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31671
ee30c380
UD
316722011-05-17 Ulrich Drepper <drepper@gmail.com>
31673
31674 [BZ #11837]
31675 * iconvdata/gb18030.c: Update to GB18020-2005.
31676
6ce75379
UD
316772011-05-16 Ulrich Drepper <drepper@gmail.com>
31678
a4b89fd8
AR
31679 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31680 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31681 Patch by Aharon Robbins <arnold@skeeve.com>.
31682
ea389b12
UD
31683 [BZ #11892]
31684 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31685 on the stack.
31686
68a3f91f
UD
31687 [BZ #11895]
31688 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31689 through underflows.
31690
15cc7dd1
UD
31691 [BZ #12766]
31692 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31693 point to strings before performing equality test for error_one_per_line
31694 mode.
31695
f3799213
UD
31696 [BZ #11697]
31697 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31698
d79a9c94
UD
31699 [BZ #11820]
31700 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31701 (struct user_fpregs_struct): Avoid __uint*_t types.
31702
56e5eb46
UD
31703 [BZ #6420]
31704 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31705 symbol info. Use it instead of calling _dl_addr locally.
31706 (lock_and_info): New function.
31707 (tr_freehook): Call lock_and_info and pass symbol info as additional
31708 parameter to tr_where.
31709 (tr_mallochook): Likewise.
31710 (tr_reallochook): Likewise.
31711 (tr_memalignhook): Likewise.
31712
6ce75379
UD
31713 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31714 used and couldn't be at all thread-safe.
31715
f8a3b5bf
UD
317162011-05-15 Ulrich Drepper <drepper@gmail.com>
31717
94b7cc37
UD
31718 * libio/freopen.c (freopen): Don't close old file descriptor
31719 before the new one is opened. Instead dup the new file descriptor
31720 to the old one after the new stream is created.
31721 * libio/freopen64.c (freopen64): Likewise.
31722 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31723 * libio/fileops.c (_IO_new_file_close_it): Handle new
31724 _IO_FLAGS2_NOCLOSE flag.
31725 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31726 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31727 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31728 _IO_FLAGS2_NOCLOSE flag.
31729 * include/unistd.h: Add hidden_proto for dup3.
31730 Define __have_dup3.
31731 * io/dup3.c: Define hidden symbol.
31732 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31733
bd25564e
UD
31734 [BZ #7101]
31735 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31736 when an incomplete long option is used.
31737 * posix/tst-getopt_long1.c: New file.
31738 * posix/Makefile (tests): Add tst-getopt_long1.
31739
c84cfef4
UD
31740 [BZ #10138]
31741 * scripts/config.guess: Update from autoconf-2.68.
31742 * scripts/config.sub: Likewise.
31743
3b85df27
UD
31744 [BZ #10157]
31745 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31746 tests into ...
31747 (has_cpuclock): ...this. New function.
31748 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31749 macro here based on has_cpuclock code.
31750
15a856b1
UD
31751 [BZ #10149]
31752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31753 First byte (not low byte) is now always NUL.
31754 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31755
05f399e6
UD
31756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31757 Use non-cancelable interfaces.
31758
10a52685 31759 [BZ #9809]
94ecc67d
UD
31760 * locale/iso-639.def: Add entry for Sorani.
31761
f8a3b5bf
UD
31762 [BZ #11901]
31763 * include/stdlib.h: Move include protection to the right place.
31764 Define abort_msg_s. Declare __abort_msg with it.
31765 * stdlib/abort.c (__abort_msg): Adjust type.
31766 * assert/assert.c (__assert_fail_base): New function. Majority
31767 of code from __assert_fail. Allocate memory for __abort_msg with
31768 mmap.
31769 (__assert_fail): Now call __assert_fail_base.
31770 * assert/assert-perr.c: Remove bulk of implementation. Use
31771 __assert_fail_base.
31772 * include/assert.hL Declare __assert_fail_base.
31773 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31774 mmap.
31775 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31776
1af4e298
UD
317772011-05-14 Ulrich Drepper <drepper@gmail.com>
31778
f8a3b5bf 31779 [BZ #11952]
d26dfc60
MG
31780 [BZ #12453]
31781 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31782 until all modules are registered in the DTV.
31783 * elf/Makefile: Add rules to build and run tst-tls19.
31784 * elf/tst-tls19.c: New file.
31785 * elf/tst-tls19mod1.c: New file.
31786 * elf/tst-tls19mod2.c: New file.
31787 * elf/tst-tls19mod3.c: New file.
31788 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31789
2fc54d6f
UD
31790 [BZ #12083]
31791 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31792 correctly.
31793
98d76b46
UD
31794 [BZ #12601]
31795 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31796 two-byte sequence errors.
31797 * iconvdata/Makefile (tests): Add bug-iconv8.
31798 * iconvdata/bug-iconv8.c: New file.
31799
da3c19ef
UD
31800 [BZ #12626]
31801 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31802 buf2 definition.
31803
ca408c15
UD
31804 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31805
d6f67f7d
UD
31806 [BZ #12432]
31807 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31808 (dummy_getcfa): New function.
31809 (init): Get _Unwind_GetCFA address, use dummy if not found.
31810 (backtrace_helper): In recursion check, also check whether CFA changes.
31811 (__backtrace): Completely initialize arg.
31812
1af4e298 31813 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31814 storing incomplete byte sequence in state object. Avoid testing for
31815 guaranteed too small input if we know there is enough data available.
1af4e298 31816
da62f81b
AS
318172011-05-11 Andreas Schwab <schwab@redhat.com>
31818
31819 * Makeconfig (+link-pie): Indent.
31820 * Rules (binaries-pie): Define if $(have-fpie) and
31821 $(build-shared).
31822 (binaries-shared): Also filter out $(binaries-pie).
31823 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31824 * nscd/Makefile (others-pie): Add nscd.
31825 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31826 ($(objpfx)nscd): Remove command override.
31827 * login/Makefile (others-pie): Add pt_chown.
31828 ($(objpfx)pt_chown): Remove command override.
31829 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31830 remove command overrides.
31831
fcabc0f8
UD
318322011-05-13 Ulrich Drepper <drepper@gmail.com>
31833
20030ae6
UD
31834 * libio/tst_putwc.c: Fix error messages.
31835
fcabc0f8
UD
31836 [BZ #12724]
31837 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31838 currently writing and seek to current position when not.
31839 * libio/Makefile (tests): Add bug-fclose1.
31840 * libio/bug-fclose1.c: New file.
31841
320a5dc0
PB
318422011-05-12 Ulrich Drepper <drepper@gmail.com>
31843
31844 [BZ #12511]
31845 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31846 don't set DF_1_NODELETE here.
31847 (do_lookup_x): When entering new entry test for copy relocation
31848 and if necessary set DF_1_NODELETE flag.
31849 * elf/tst-unique4.cc: New file.
31850 * elf/tst-unique4.h: New file.
31851 * elf/tst-unique4lib.cc: New file.
31852 * elf/Makefile: Add rules to build and run tst-unique4.
31853 Patch by Piotr Bury <pbury@goahead.com>.
31854
22836f52
UD
318552011-05-11 Ulrich Drepper <drepper@gmail.com>
31856
f574184a
UD
31857 [BZ #12052]
31858 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31859
e1fb097f
UD
31860 [BZ #12625]
31861 * misc/mntent_r.c (addmntent): Flush the stream after the output
31862
22836f52
UD
31863 [BZ #12393]
31864 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31865 (is_trusted_path_normalize): Skip initial colon. Append slash
31866 to empty buffer. Duplicate is_trusted_path code but allow
31867 constructed patch to be prefix.
31868 (is_dst): Allow $ORIGIN followed by /.
31869 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31870 Correct testing of result of is_trusted_path_normalize
31871 (decompose_rpath): Fix warning.
31872
7b3b0b2a
UD
318732011-05-10 Ulrich Drepper <drepper@gmail.com>
31874
31875 [BZ #11257]
31876 * grp/initgroups.c (internal_getgrouplist): When we found the service
31877 list through the initgroups entry in nsswitch.conf do not always
31878 continue on a successful lookup. Don't always use the
eac80ce2 31879 __nss_group_database value if it is set.
7b3b0b2a
UD
31880 * nss/nsswitch.conf (initgroups): Change action for successful db
31881 lookup to continue for compatibility.
31882
2a81eaa5
UD
318832011-05-09 Ulrich Drepper <drepper@gmail.com>
31884
be97a69e
UD
31885 [BZ #11532]
31886 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31887 and CP774 modules.
31888 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31889 and CP774 modules.
31890 * iconvdata/tst-tables.sh: Likewise.
31891 * iconvdata/cp770.c: New file.
31892 * iconvdata/cp771.c: New file.
31893 * iconvdata/cp772.c: New file.
31894 * iconvdata/cp773.c: New file.
31895 * iconvdata/cp774.c: New file.
31896 * iconvdata/testdata/CP770: New file.
31897 * iconvdata/testdata/CP770..UTF8: New file.
31898 * iconvdata/testdata/CP771: New file.
31899 * iconvdata/testdata/CP771..UTF8: New file.
31900 * iconvdata/testdata/CP772: New file.
31901 * iconvdata/testdata/CP772..UTF8: New file.
31902 * iconvdata/testdata/CP773: New file.
31903 * iconvdata/testdata/CP773..UTF8: New file.
31904 * iconvdata/testdata/CP774: New file.
31905 * iconvdata/testdata/CP774..UTF8: New file.
31906
31907 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31908 END CHARMAP line.
31909 * iconvdata/gen-8bit-gap.sh: Likewise.
31910 * iconvdata/gen-8bit.sh: Likewise.
31911
c1e9e399
UD
31912 * locale/iso-639.def: Add ary entry.
31913
24c55fb3 31914 [BZ #11258]
96b4b1b0
UD
31915 * locale/C-translit.h.in: Add U20A1 transliteration.
31916
bdc2f971
KB
31917 [BZ #12178]
31918 * locale/iso-639.def: Add wae entry.
31919 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31920
2952b117
UD
31921 [BZ #12545]
31922 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31923 for n.
31924
2a81eaa5
UD
31925 [BZ #12711]
31926 * locale/C-translit.h.in: Add entry for U20B9.
31927 Patch by pravin.d.s@gmail.com.
31928
28377d1b
UD
319292011-05-08 Ulrich Drepper <drepper@gmail.com>
31930
7fb90fb8
UD
31931 [BZ #12713]
31932 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31933 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31934 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31935 in rtld. Use *stat64.
7fb90fb8 31936 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31937 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31938 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31939 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31940 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31941 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31942 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31943 __fstatat64 macros.
7fb90fb8
UD
31944 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31945 * dirent/rewinddir.c: Add libc_hidden_def.
31946 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31947 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31948
28377d1b
UD
31949 * include/dirent.h (__alloc_dir): Add flags parameter.
31950 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31951 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31952 __alloc_dir.
31953 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31954 from fdopendir if O_CLOEXEC is already set.
31955
66bdbaa4
AM
319562011-03-15 Alan Modra <amodra@gmail.com>
31957
31958 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31959 l_tls_firstbyte_offset non-zero. Save padding offset in
31960 l_tls_firstbyte_offset for later use.
31961 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31962 freeing static tls block.
31963
95721191
JN
319642011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31965
31966 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31967 where #ifdef was intended. The intent is to prevent ARG_MAX from
31968 being defined by the kernel headers.
31969
f87dfb1f
UD
319702011-05-07 Ulrich Drepper <drepper@gmail.com>
31971
31972 [BZ #12734]
31973 * resolv/resolv.h: Define RES_NOTLDQUERY.
31974 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31975 no-tld-query and set RES_NOTLDQUERY.
31976 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31977 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31978 modern BIND to search name as TLD unless forbidden.
31979
47c3cd7a
UD
319802011-05-07 Petr Baudis <pasky@suse.cz>
31981 Ulrich Drepper <drepper@gmail.com>
31982
31983 [BZ #12393]
31984 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31985 (is_trusted_path): ...to here.
c1e9ea35 31986 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31987 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31988 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31989
8a35c912
PP
319902011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31991
31992 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31993 __BEGIN/__END_DECLS.
31994
acd41f47
UD
319952011-05-06 Ulrich Drepper <drepper@gmail.com>
31996
31997 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31998 NSS_STATUS_NOTFOUND if no record was found.
31999
597df647
AS
320002011-05-05 Andreas Schwab <schwab@redhat.com>
32001
32002 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32003 (headers-not-in-tirpc): Remove rpc/netdb.h
32004 * resolv/netdb.h: Revert last change.
32005
b9af1301
PP
320062011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32007
32008 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32009 circular dependency between libgcc.a and libc.a.
32010
4e34d5f5
AS
320112011-05-05 Andreas Schwab <schwab@redhat.com>
32012
32013 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32014 * nis/Makefile: Don't install rpcsvc/*.
32015 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32016 instead of <rpc/types.h>.
32017 (MAXHOSTNAMELEN): Define.
32018
00ee369c
AS
320192011-05-03 Andreas Schwab <schwab@redhat.com>
32020
32021 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32022
0b592a30
MB
320232011-04-28 Maciej Babinski <mbabinski@google.com>
32024
32025 [BZ #12714]
32026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32027 gethostbyname4_r when IPv6 results are possible.
32028
6e04cbbe
UD
320292011-05-02 Ulrich Drepper <drepper@gmail.com>
32030
32031 [BZ #12723]
32032 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32033 _PC_PIPE_BUF handling.
32034
e4ecafe0
BH
320352011-04-30 Bruno Haible <bruno@clisp.org>
32036
32037 [BZ #12717]
32038 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32039 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32040 to 'int'.
32041 * inet/getnameinfo.c (getnameinfo): Likewise.
32042
125ee683
UD
320432011-04-29 Ulrich Drepper <drepper@gmail.com>
32044
32045 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32046 to groups setting in database lookup.
32047 * nss/nsswitch.conf: Add initgroups entry.
32048
b722481a
EB
320492011-04-22 Ulrich Drepper <drepper@gmail.com>
32050
32051 [BZ #12685]
32052 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32053 mode string.
32054 Patch by Eric Blake <eblake@redhat.com>.
32055
4df46dbd
L
320562011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32057
32058 * sunrpc/Makefile (need-export-routines): Add svc_run.
32059 (routines): Remove svc_run.
32060 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32061 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32062 * sunrpc/svc_run.c (svc_run): Likewise.
32063 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32064
e84142d2
UD
320652011-04-21 Ulrich Drepper <drepper@gmail.com>
32066
32067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32068 problem in reallocation in last patch.
32069
877175d8
UD
320702011-04-20 Ulrich Drepper <drepper@gmail.com>
32071
32072 * sunrpc/Makefile: Move inclusion of Rules.
32073
ab8eed78
UD
320742011-04-19 Ulrich Drepper <drepper@gmail.com>
32075
32076 * nss/nss_files/files-initgroups.c: New file.
32077 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32078 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32079 _nss_files_initgroups_dyn.
32080
e3d8f584
RS
320812011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32082
32083 * elf/elf.h (R_ARM_IRELATIVE): Define.
32084
af190f45
UD
320852011-04-19 Ulrich Drepper <drepper@gmail.com>
32086
32087 * po/ru.po: Update from translation team.
32088
53cf59ef
UD
320892011-04-17 Ulrich Drepper <drepper@gmail.com>
32090
32091 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32092 dependencies.
32093
4c559bcd
MF
320942011-02-06 Mike Frysinger <vapier@gentoo.org>
32095
32096 [BZ #12653]
32097 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32098 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32100 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32101 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32102
4420675c
AS
321032011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32104
32105 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32106 differing bytes.
32107 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32108 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32109 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32110
75ea32ab
UD
321112011-04-17 Ulrich Drepper <drepper@gmail.com>
32112
32113 [BZ #12420]
32114 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32115 storing it.
32116 * stdlib/bug-getcontext.c: New file.
32117 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32118
27390476
AK
321192011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32120
32121 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32122 instructions into .machine "z9-109".
32123 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32124 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32125
10442705
AK
321262011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32127
32128 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32129 between environment variables and auxiliary vector.
32130
7b57bfe5
UD
321312011-04-16 Ulrich Drepper <drepper@gmail.com>
32132
32133 * Makefile: Add rules to build linkobj/libc.so.
32134 * include/libc-symbols.h: Define libc_hidden_nolink.
32135 * include/rpc/auth.h: Mark functions which are to be hidden.
32136 * include/rpc/auth_des.h: Likewise.
32137 * include/rpc/auth_unix.h: Likewise.
32138 * include/rpc/clnt.h: Likewise.
32139 * include/rpc/des_crypt.h: Likewise.
32140 * include/rpc/key_prot.h: Likewise.
32141 * include/rpc/pmap_clnt.h: Likewise.
32142 * include/rpc/pmap_prot.h: Likewise.
32143 * include/rpc/pmap_rmt.h: Likewise.
32144 * include/rpc/rpc_msg.h: Likewise.
32145 * include/rpc/svc.h: Likewise.
32146 * include/rpc/svc_auth.h: Likewise.
32147 * include/rpc/xdr.h: Likewise.
32148 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32149 * nss/Makefile: Likewise.
32150 * sunrpc/Makefile: Don't install headers. Build library with normal
32151 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32152 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32153 for the compat linking library. Remove use of INTDEF/INTUSE.
32154 * sunrpc/auth_none.c: Likewise.
32155 * sunrpc/auth_unix.c: Likewise.
32156 * sunrpc/authdes_prot.c: Likewise.
32157 * sunrpc/authuxprot.c: Likewise.
32158 * sunrpc/clnt_gen.c: Likewise.
32159 * sunrpc/clnt_perr.c: Likewise.
32160 * sunrpc/clnt_raw.c: Likewise.
32161 * sunrpc/clnt_simp.c: Likewise.
32162 * sunrpc/clnt_tcp.c: Likewise.
32163 * sunrpc/clnt_udp.c: Likewise.
32164 * sunrpc/clnt_unix.c: Likewise.
32165 * sunrpc/des_crypt.c: Likewise.
32166 * sunrpc/des_soft.c: Likewise.
32167 * sunrpc/get_myaddr.c: Likewise.
32168 * sunrpc/key_call.c: Likewise.
32169 * sunrpc/key_prot.c: Likewise.
32170 * sunrpc/netname.c: Likewise.
32171 * sunrpc/pm_getmaps.c: Likewise.
32172 * sunrpc/pm_getport.c: Likewise.
32173 * sunrpc/pmap_clnt.c: Likewise.
32174 * sunrpc/pmap_prot.c: Likewise.
32175 * sunrpc/pmap_prot2.c: Likewise.
32176 * sunrpc/pmap_rmt.c: Likewise.
32177 * sunrpc/publickey.c: Likewise.
32178 * sunrpc/rpc_cmsg.c: Likewise.
32179 * sunrpc/rpc_common.c: Likewise.
32180 * sunrpc/rpc_dtable.c: Likewise.
32181 * sunrpc/rpc_prot.c: Likewise.
32182 * sunrpc/rpc_thread.c: Likewise.
32183 * sunrpc/rtime.c: Likewise.
32184 * sunrpc/svc.c: Likewise.
32185 * sunrpc/svc_auth.c: Likewise.
32186 * sunrpc/svc_authux.c: Likewise.
32187 * sunrpc/svc_raw.c: Likewise.
32188 * sunrpc/svc_run.c: Likewise.
32189 * sunrpc/svc_simple.c: Likewise.
32190 * sunrpc/svc_tcp.c: Likewise.
32191 * sunrpc/svc_udp.c: Likewise.
32192 * sunrpc/svc_unix.c: Likewise.
32193 * sunrpc/svcauth_des.c: Likewise.
32194 * sunrpc/xcrypt.c: Likewise.
32195 * sunrpc/xdr.c: Likewise.
32196 * sunrpc/xdr_array.c: Likewise.
32197 * sunrpc/xdr_float.c: Likewise.
32198 * sunrpc/xdr_intXX_t.c: Likewise.
32199 * sunrpc/xdr_mem.c: Likewise.
32200 * sunrpc/xdr_rec.c: Likewise.
32201 * sunrpc/xdr_ref.c: Likewise.
32202 * sunrpc/xdr_sizeof.c: Likewise.
32203 * sunrpc/xdr_stdio.c: Likewise.
32204
e6c61494
UD
322052011-04-10 Ulrich Drepper <drepper@gmail.com>
32206
32207 [BZ #12650]
32208 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32209 * sysdeps/ia64/dl-tls.h: Likewise.
32210 * sysdeps/powerpc/dl-tls.h: Likewise.
32211 * sysdeps/s390/dl-tls.h: Likewise.
32212 * sysdeps/sh/dl-tls.h: Likewise.
32213 * sysdeps/sparc/dl-tls.h: Likewise.
32214 * sysdeps/x86_64/dl-tls.h: Likewise.
32215 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32216
34fe483e
AS
322172011-03-14 Andreas Schwab <schwab@redhat.com>
32218
32219 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32220 rpath element also skip the following colon.
32221 (expand_dynamic_string_token): Add is_path parameter and pass
32222 down to DL_DST_REQUIRED and _dl_dst_substitute.
32223 (decompose_rpath): Call expand_dynamic_string_token with
32224 non-zero is_path. Ignore empty rpaths.
32225 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32226 with zero is_path.
32227
f12a32e6
AS
322282011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32229
32230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32231 Make cancelable.
32232
38a7d692
UD
322332011-04-09 Ulrich Drepper <drepper@gmail.com>
32234
32235 [BZ #12655]
32236 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32237 Patch by Filipe David Manana <fdmanana@apache.org>.
32238
e451d22b
AS
322392011-04-07 Andreas Schwab <schwab@redhat.com>
32240
32241 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32242 Maintain aligned stack.
32243 (CHECK_RSP): Remove unused macro.
32244
dedc7c7b
UD
322452011-04-03 Ulrich Drepper <drepper@gmail.com>
32246
32247 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32248 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32249
94521213
UD
322502011-04-02 Ulrich Drepper <drepper@gmail.com>
32251
32252 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32253
8cb700c0 32254 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 32255
0354e355
L
322562011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32257
32258 [BZ #12518]
32259 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32260 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32261 * sysdeps/x86_64/memmove.c: New file.
32262 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32263 (memcpy): Renamed to ...
32264 (__new_memcpy): This.
32265 (memcpy): Provide GLIBC_2_14 memcpy.
32266 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32267 (memcpy): Provide GLIBC_2_2_5 memcpy.
32268
8593482f
UD
322692011-04-01 Ulrich Drepper <drepper@gmail.com>
32270
32271 [BZ #12631]
32272 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32273
81a5726b
AS
322742011-03-30 Andreas Schwab <schwab@redhat.com>
32275
32276 * misc/syncfs.c: New file.
32277 * misc/Makefile (routines): Add syncfs.
32278 * posix/unistd.h: Declare syncfs.
32279 * sysdeps/unix/syscalls.list: Add syncfs.
32280
00e5419f
AS
322812011-04-01 Andreas Schwab <schwab@redhat.com>
32282
32283 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32284 open_by_handle_at.
32285 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32286 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32287 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32288 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32290 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32291 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32292
748876bf
UD
322932011-04-01 Ulrich Drepper <drepper@gmail.com>
32294
658e451d
UD
32295 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32296 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32297 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32298 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32299 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32301 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32302
748876bf
UD
32303 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32304 sync_file_range.c with -fexceptions.
32305 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32306 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32307 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32308 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32309 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32310 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32311 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
32312 sync_file_range as cancellation point
32313 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32314 now a wrapper around __call_sync_file_range with cancellation handling.
32315 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32316 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32317 function name to __call_sync_file_range.
32318 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32319 Add call_sync_file_range.
748876bf 32320
6e63d5e1
AS
323212011-04-01 Andreas Schwab <schwab@redhat.com>
32322
32323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 32324 bits/timex.h.
6e63d5e1 32325
46998f74
UD
323262011-04-01 Ulrich Drepper <drepper@gmail.com>
32327
4c1423ed
UD
32328 * iconv/iconv.h: Fix typo in comment.
32329 * io/fcntl.h: Likewise.
32330 * libio/stdio.h: Likewise.
32331 * posix/spawn.h: Likewise.
32332 * posix/unistd.h: Likewise.
32333 * stdlib/stdlib.h: Likewise.
32334 * time/time.h: Likewise.
32335 * wcsmbs/wchar.h: Likewise.
32336
158648c0
UD
32337 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32338 open_by_handle): Add.
32339 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32340 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32341 Augment a few comments.
32342 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32346 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32347 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32348 open_by_handle.
32349
46998f74
UD
32350 * io/fcntl.h (AT_EMPTY_PATH): Define.
32351
83fe108b
UD
323522011-03-30 Ulrich Drepper <drepper@gmail.com>
32353
32354 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32355 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32356 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32357 to...
32358 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
32359 * Versions.def: Add GLIBC_2.14.
32360 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32361 Export.
83fe108b 32362
bb242059
UD
323632011-03-22 Ulrich Drepper <drepper@gmail.com>
32364
32365 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32366 round counter.
32367 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32368
c97a1282
L
323692011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32370
32371 [BZ #12597]
32372 * string/test-strncmp.c (do_page_test): New function.
32373 (check2): Likewise.
32374 (test_main): Call check2.
32375 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32376
2a115601
UD
323772011-03-20 Ulrich Drepper <drepper@gmail.com>
32378
32379 [BZ #12587]
32380 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32381 Handle cache information in CPU leaf 4.
32382 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32383
8126d904
UD
323842011-03-18 Ulrich Drepper <drepper@gmail.com>
32385
042c49c6 32386 [BZ #12583]
8126d904
UD
32387 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32388 character representation.
32389 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32390
ccfe366e
RA
323912011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32392
32393 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32394 END(__isnan) to END(__isnanf) to match function entry point/label
32395 EALIGN(__isnanf,...).
32396
c6e13027
JJ
323972011-03-10 Jakub Jelinek <jakub@redhat.com>
32398
32399 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32400
33f85a3f
UD
324012011-03-10 Ulrich Drepper <drepper@gmail.com>
32402
028478fa
UD
32403 [BZ #12510]
32404 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32405 copy from the symbol referenced in the relocation to initialize the
32406 used variable.
32407 Patch by Piotr Bury <pbury@goahead.com>.
32408 * elf/Makefile: Add rules to build and tst-unique3.
32409 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32410 * elf/tst-unique3.cc: New file.
32411 * elf/tst-unique3.h: New file.
32412 * elf/tst-unique3lib.cc: New file.
32413 * elf/tst-unique3lib2.cc: New file.
32414
33f85a3f
UD
32415 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32416
03592fc7
MF
324172011-03-10 Mike Frysinger <vapier@gentoo.org>
32418
32419 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32420 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32421 to _start.
03592fc7 32422
6a5ee102
UD
324232011-03-06 Ulrich Drepper <drepper@gmail.com>
32424
32425 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32426 to-be-loaded object along a path to loader is ld.so.
32427
7e4ba49c
HJ
324282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32429 Ulrich Drepper <drepper@gmail.com>
32430
32431 * sysdeps/x86_64/memset.S: After aligning destination, code
32432 branches to different locations depending on the value of
32433 misalignment, when multiarch is enabled. Fix this.
32434
324352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32436
32437 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32438 Set _x86_64_preferred_memory_instruction for AMD processsors.
32439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32440 Set bit_Prefer_SSE_for_memop for AMD processors.
32441
13a804de
UD
324422011-03-04 Ulrich Drepper <drepper@gmail.com>
32443
32444 * libio/fmemopen.c (fmemopen): Optimize a bit.
32445
9d25c392
AS
324462011-03-03 Andreas Schwab <schwab@redhat.com>
32447
32448 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32449
a5543c6a
RM
324502011-03-03 Roland McGrath <roland@redhat.com>
32451
32452 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32453
012d35f7
DM
324542011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32455
7e4ba49c 32456 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
32457 __bzero_ultra1 instead of __memset_ultra1.
32458
4bff6e01
AS
324592011-02-23 Andreas Schwab <schwab@redhat.com>
32460 Ulrich Drepper <drepper@gmail.com>
32461
32462 [BZ #12509]
32463 * include/link.h (struct link_map): Add l_orig_initfini.
32464 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32465 returning unsuccessfully.
32466 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32467 close of a file loaded at startup, restore the original l_initfini
32468 list.
32469 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32470 list, store the pointer.
32471 * elf/Makefile ($(objpfx)noload-mem): New rule.
32472 (noload-ENV): Define.
32473 (tests): Add $(objpfx)noload-mem.
32474 * elf/noload.c: Include <memcheck.h>.
32475 (main): Call mtrace. Close all opened handles.
32476
f2092faf
AS
324772011-02-17 Andreas Schwab <schwab@redhat.com>
32478
32479 [BZ #12454]
32480 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32481 dependencies are missing.
32482
6c8a2e88
ST
324832011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32484
f2092faf 32485 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
32486 Hurd needs munmap.
32487 * sysdeps/mach/hurd/ifreq.h: New file.
32488
84a42118
PB
324892011-01-27 Petr Baudis <pasky@suse.cz>
32490 Ulrich Drepper <drepper@gmail.com>
32491
071f805e 32492 [BZ 12445]#
84a42118
PB
32493 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32494 to extend_alloca().
32495 * stdio-common/bug23.c: New file.
32496 * stdio-common/Makefile (tests): Add bug23.
32497
e23fe25b
AS
324982010-09-28 Andreas Schwab <schwab@redhat.com>
32499 Ulrich Drepper <drepper@gmail.com>
32500
32501 [BZ #12489]
32502 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32503 before performing relro protection. At old place add assertion
32504 to make sure nothing changed.
32505
d3f02e10
NS
325062011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32507 Glauber de Oliveira Costa <glommer@gmail.com>
32508
32509 * elf/elf.h: Add new ARM TLS relocs.
32510
d55fd7a5
RA
325112011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32512
32513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32514 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32515 cast from r3.
32516 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32517 'tests' variable.
32518 * sysdeps/wordsize-64/tst-writev.c: New file.
32519
2206397e
RA
325202011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32521
32522 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32523 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32524 insns in _dl_start to prevent a TOC reference before relocs are
32525 resolved.
32526
e9433893
UD
325272011-02-15 Ulrich Drepper <drepper@gmail.com>
32528
32529 [BZ #12469]
32530 * Makeconfig: Remove RANLIB definition.
32531 * Makerules: Don't use RANLIB.
32532 * aclocal.m4: Remove ranlib test.
32533 * configure.in: No need to check for ranlib.
32534 * elf/rtld-Rules: Don't use RANLIB.
32535
f75286c6
ST
325362011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32537
8e31c82d
ST
32538 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32539 protection macro.
32540 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32541 inclusion protection macro.
32542
f75286c6
ST
32543 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32544 SIGRTMIN and SIGRTMAX and print information in that case only when
32545 SIGRTMIN is defined.
32546
c1d0e639
JJ
325472011-02-11 Jakub Jelinek <jakub@redhat.com>
32548
32549 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32550 arginfo fn returning -1.
32551
32552 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32553 and thousands string is zero terminated.
32554
edf9294e
AS
325552011-02-03 Andreas Schwab <schwab@redhat.com>
32556
32557 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32558 sysdeps/unix/sysv/linux/bits/socket.h.
32559
2b7e92df
ST
325602011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32561
edf9294e
AS
32562 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32563 (__CPU_COUNT): Remove old macros.
32564 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32565 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32566 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
32567 (__sched_cpualloc, __sched_cpufree): Add declarations.
32568
a4c7ea7b
UD
325692011-02-05 Ulrich Drepper <drepper@gmail.com>
32570
32571 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32572 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32573 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32574 (readdhstai): Return value of addhstaiX call.
32575 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32576 (addgrbyX): Return value returned by cache_addgr.
32577 (readdgrbyname): Return value returned by addgrbyX.
32578 (readdgrbygid): Likewise.
32579 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32580 (addpwbyX): Return value returned by cache_addpw.
32581 (readdpwbyname): Return value returned by addhstbyX.
32582 (readdpwbyuid): Likewise.
32583 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32584 (addservbyX): Return value returned by cache_addserv.
32585 (readdservbyname): Return value returned by addservbyX:
32586 (readdservbyport): Likewise.
32587 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32588 (addhstbyX): Return value returned by cache_addhst.
32589 (readdhstbyname): Return value returned by addhstbyX.
32590 (readdhstbyaddr): Likewise.
32591 (readdhstbynamev6): Likewise.
32592 (readdhstbyaddrv6): Likewise.
32593 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32594 (readdinitgroups): Return value returned by addinitgroupsX.
32595 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32596 (prune_cache): Keep track of timeout value of re-added entries.
32597 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32598 * nscd/nscd.h: Adjust prototypes of readd* functions.
32599
a0bf67cc
RM
326002011-02-04 Roland McGrath <roland@redhat.com>
32601
32602 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32603 (nis_stats): Likewise.
32604 * nis/nis_modify.c (nis_modify): Likewise.
32605 * nis/nis_remove.c (nis_remove): Likewise.
32606 * nis/nis_add.c (nis_add): Likewise.
32607
32608 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32609
32610 * posix/fnmatch_loop.c: Add some consts.
32611
32612 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32613
435b95eb
L
326142011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32615
32616 [BZ #12460]
32617 * config.make.in (config-cflags-novzeroupper): Define.
32618 * configure.in: Substitute libc_cv_cc_novzeroupper.
32619 * elf/Makefile (AVX-CFLAGS): Define.
32620 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32621 (CFLAGS-tst-auditmod4a.c): Likewise.
32622 (CFLAGS-tst-auditmod4b.c): Likewise.
32623 (CFLAGS-tst-auditmod6b.c): Likewise.
32624 (CFLAGS-tst-auditmod6c.c): Likewise.
32625 (CFLAGS-tst-auditmod7b.c): Likewise.
32626 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32627
8517b15e
UD
326282011-02-02 Ulrich Drepper <drepper@gmail.com>
32629
32630 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32631 function to the callback.
32632 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32633
10a656fe
AS
326342011-02-02 Andreas Schwab <schwab@redhat.com>
32635
32636 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32637 of errno.
32638
968dad0a
UD
326392011-01-19 Ulrich Drepper <drepper@gmail.com>
32640
9f94d2ea 32641 [BZ #11724]
968dad0a
UD
32642 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32643 of constructors.
32644 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32645 of destructors.
32646 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32647
32648 [BZ #11724]
32649 * elf/Makefile: Add rules to build and run new test.
32650 * elf/tst-initorder.c: New file.
32651 * elf/tst-initorder.exp: New file.
32652 * elf/tst-initordera1.c: New file.
32653 * elf/tst-initordera2.c: New file.
32654 * elf/tst-initordera3.c: New file.
32655 * elf/tst-initordera4.c: New file.
32656 * elf/tst-initorderb1.c: New file.
32657 * elf/tst-initorderb2.c: New file.
32658 * elf/tst-order-a1.c: New file.
32659 * elf/tst-order-a2.c: New file.
32660 * elf/tst-order-a3.c: New file.
32661 * elf/tst-order-a4.c: New file.
32662 * elf/tst-order-b1.c: New file.
32663 * elf/tst-order-b2.c: New file.
32664 * elf/tst-order-main.c: New file.
32665 New test case by George Gensure <werkt0@gmail.com>.
32666
86e92359
UD
326672010-10-01 Andreas Schwab <schwab@redhat.com>
32668
32669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32670 decoding ACE if AI_CANONIDN.
32671
5d5732b0
UD
326722011-01-18 Ulrich Drepper <drepper@gmail.com>
32673
32674 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32675
a77e8cbc
UD
326762011-01-17 Ulrich Drepper <drepper@gmail.com>
32677
6392473f
UD
32678 * version.h (RELEASE): Bump for 2.13 release.
32679 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32680
620a0529
UD
32681 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32682
18ba70a5
UD
32683 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32684 MADV_NOHUGEPAGE.
32465c3e
UD
32685 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32686 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32687 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32688 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32689 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32690 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32691
c0dafcf1
UD
32692 * posix/getconf.c: Update copyright year.
32693 * catgets/gencat.c: Likewise.
32694 * csu/version.c: Likewise.
32695 * debug/catchsegv.sh: Likewise.
32696 * debug/xtrace.sh: Likewise.
32697 * elf/ldconfig.c: Likewise.
32698 * elf/ldd.bash.in: Likewise.
32699 * elf/sprof.c (print_version): Likewise.
32700 * iconv/iconv_prog.c: Likewise.
32701 * iconv/iconvconfig.c: Likewise.
32702 * locale/programs/locale.c: Likewise.
32703 * locale/programs/localedef.c: Likewise.
32704 * malloc/memusage.sh: Likewise.
32705 * malloc/mtrace.pl: Likewise.
32706 * nscd/nscd.c (print_version): Likewise.
32707 * nss/getent.c: Likewise.
32708
a77e8cbc
UD
32709 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32710 PF_CAIF, and PF_ALG.
32711 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32712
77e8bddf
AS
327132011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32714
1f20b93a
AS
32715 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32716 (modules-names): Use them.
32717 (ifunc-test-modules, ifunc-pie-tests): Define.
32718 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32719 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32720 (test-extras): Likewise.
32721 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32722 $(compile-command.c).
32723 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32724 (all-built-dso): Define.
32725 (check-textrel.out, check-execstack.out): Depend on it.
32726
77e8bddf
AS
32727 * configure.in: Don't override --enable-multi-arch.
32728
bc425b33
UD
327292011-01-15 Ulrich Drepper <drepper@gmail.com>
32730
32731 [BZ #6812]
32732 * nscd/hstcache.c (tryagain): Define.
32733 (cache_addhst): Return tryagain not notfound for temporary errors.
32734 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32735 failed.
32736
794c3ad3
UD
327372011-01-14 Ulrich Drepper <drepper@gmail.com>
32738
70181fdd
UD
32739 [BZ #10563]
32740 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32741 to make the syscall.
32742 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32743
794c3ad3
UD
32744 [BZ #12378]
32745 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32746 and fall back to matching as normal character if the string ends before
32747 the matching ']' is found. This is what POSIX requires.
32748 * posix/testfnm.c: Adjust test result.
32749 * posix/globtest.sh: Adjust test result. Add new test.
32750 * posix/tst-fnmatch.input: Likewise.
32751 * posix/tst-fnmatch2.c: Add new test.
32752
68dc9497
AS
327532010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32754
32755 * elf/Makefile (check-execstack): Revert last change. Depend on
32756 check-execstack.h.
32757 (check-execstack.h): New target.
32758 (generated): Add check-execstack.h.
32759 * elf/check-execstack.c: Include "check-execstack.h".
32760 (main): Revert last change.
32761 (handle_file): Return zero if GNU_STACK is absent and
32762 DEFAULT_STACK_PERMS doesn't include PF_X.
32763
451f001b
UD
327642011-01-13 Ulrich Drepper <drepper@gmail.com>
32765
cfa28e56
UD
32766 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32767 in child fails because the descriptor is already closed.
8cf8ce17
UD
32768 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32769 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32770 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32771
1086d70d
UD
32772 [BZ #12397]
32773 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32774 syscall.
32775
451f001b
UD
32776 [BZ #10484]
32777 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32778 temporary buffer used to handle multi lookups locally.
a85b5cb4 32779 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32780
08769175
UD
327812011-01-12 Ulrich Drepper <drepper@gmail.com>
32782
32783 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32784 loader is ld.so.
32785
5e49c52e
UD
327862011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32787
32788 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32789 alignment for SSE2.
32790
60522a5f
UD
327912011-01-12 Ulrich Drepper <drepper@gmail.com>
32792
32793 [BZ #12394]
32794 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32795 characters. When rounding increased number of integer digits recompute
32796 number of groups.
32797 * stdio-common/tst-grouping.c: New file.
32798 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32799
f257bbd7
UD
328002011-01-09 Ulrich Drepper <drepper@gmail.com>
32801
32802 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32803 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32804
32805 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32806 void.
32807 * bits/select.h: Likewise.
32808
fa9c15cb
UD
328092011-01-08 Ulrich Drepper <drepper@gmail.com>
32810
32811 * po/ja.po: Update from translation team.
32812
16c2895f
DM
328132011-01-04 David S. Miller <davem@sunset.davemloft.net>
32814
32815 [BZ #11155]
32816 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32817 implementation just like for lxstat, fxstatat, et al.
32818
2543fef2
JM
328192010-12-27 Jim Meyering <meyering@redhat.com>
32820
32821 [BZ #12348]
32822 * posix/regexec.c (build_trtable): Return failure indication upon
32823 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32824
98727dbe
UD
328252010-12-25 Ulrich Drepper <drepper@gmail.com>
32826
5bd6dc5c
UD
32827 [BZ #12201]
32828 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32829 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32830 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32831 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32832
97983464
UD
32833 [BZ #12207]
32834 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32835
98727dbe
UD
32836 [BZ #12204]
32837 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32838 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32839
4a531bb0
L
328402010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32841
32842 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32843 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32844 script has SORT_BY_INIT_PRIORITY.
32845 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32846 NO_CTORS_DTORS_SECTIONS is defined.
32847 * elf/soinit.c: Likewise.
32848 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32849 NO_CTORS_DTORS_SECTIONS is defined.
32850 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32851 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32852 * sysdeps/sh/init-first.c: Likewise.
32853 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32854
07eb4b71
UD
328552010-12-24 Ulrich Drepper <drepper@gmail.com>
32856
32857 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32858 always use the slow path.
32859
30950a5f
RA
328602010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32861
32862 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32863 similar rule which adds the sysdep directories to the header search in
32864 order to pick up the correct platform stackinfo.h.
32865 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32866 perform test if it is, otherwise return successfully without testing.
32867 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32868 DEFAULT_STACK_PERMS define in stackinfo.h.
32869 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32870 defined in stackinfo.h.
32871 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32872 DEFAULT_STACK_PERMS defined in stackinfo.h.
32873 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32874 * sysdeps/ia64/stackinfo.h: Likewise.
32875 * sysdeps/s390/stackinfo.h: Likewise.
32876 * sysdeps/sh/stackinfo.h: Likewise.
32877 * sysdeps/sparc/stackinfo.h: Likewise.
32878 * sysdeps/x86_64/stackinfo.h: Likewise.
32879 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32880 PF_X for powerpc64. Retain PF_X for powerpc32.
32881
db753e2c
UD
328822010-12-19 Ulrich Drepper <drepper@gmail.com>
32883
14b697f7
UD
32884 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32885 accurately.
db753e2c
UD
32886 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32887 GETDENTS_64BIT_ALIGNED.
32888
28300719
UD
328892010-12-14 Ulrich Drepper <dreper@gmail.com>
32890
14b697f7 32891 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32892
4f197237
AS
328932010-12-10 Andreas Schwab <schwab@redhat.com>
32894
dbb0472f
AS
32895 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32896 _GNU_SOURCE.
32897
4f197237
AS
32898 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32899 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32900 Remove __restrict.
32901 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32902 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32903
fb88ac72
UD
329042010-12-09 Ulrich Drepper <drepper@gmail.com>
32905
32906 [BZ #11655]
32907 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32908 are initialized.
32909
42acbb92
JJ
329102010-12-09 Jakub Jelinek <jakub@redhat.com>
32911
32912 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32913
c038d98d
UD
329142010-12-03 Ulrich Drepper <drepper@gmail.com>
32915
32916 * po/it.po: Update from translation team.
32917
3a4a2499
L
329182010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32919
32920 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32921 unused codes.
32922
1e24cf6e
UD
329232010-11-30 Ulrich Drepper <drepper@gmail.com>
32924
32925 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32926
a7690819
AS
329272010-11-24 Andreas Schwab <schwab@redhat.com>
32928
32929 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32930 specially.
32931 (gaih_getanswer_slice): Likewise.
32932
3bf8d1b1
JJ
329332010-10-20 Jakub Jelinek <jakub@redhat.com>
32934
32935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32936
6db52fbb
PB
329372010-05-31 Petr Baudis <pasky@suse.cz>
32938
32939 [BZ #11149]
32940 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32941 silently even in the chroot mode.
32942
eaca7569
UD
329432010-11-22 Ulrich Drepper <drepper@gmail.com>
32944
32945 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32946 last patch a bit. Pretty printing
32947
3056dcdb
UD
329482010-05-31 Petr Baudis <pasky@suse.cz>
32949
32950 [BZ #10085]
32951 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32952 initialization of skip_initgroups_dyn.
32953
cf7c9078
UD
329542010-11-19 Ulrich Drepper <drepper@gmail.com>
32955
32956 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32957 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32958
a1fb5e3e
UD
329592010-11-16 Ulrich Drepper <drepper@gmail.com>
32960
32961 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32962
3540d66b
AS
329632010-11-11 Andreas Schwab <schwab@redhat.com>
32964
32965 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32966 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32967 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32968 ($(objpfx)tst-fnmatch-mem): New rule.
32969 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32970 * posix/tst-fnmatch.c (main): Call mtrace.
32971
13b69574
L
329722010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32973
32974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32975 Support Intel processor model 6 and model 0x2c.
32976
da93d214
LM
329772010-11-10 Luis Machado <luisgpm@br.ibm.com>
32978
32979 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32980 signed comparison.
32981
8ca52c6e
L
329822010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32983
32984 [BZ #12205]
32985 * string/test-strncasecmp.c (check_result): New function.
32986 (do_one_test): Use it.
32987 (check1): New function.
32988 (test_main): Use it.
32989 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32990 Support strcasecmp and strncasecmp.
32991
69da074d
UD
329922010-11-08 Ulrich Drepper <drepper@gmail.com>
32993
32994 [BZ #12194]
32995 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32996 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32997
ff02d528
L
329982010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32999
33000 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33001 IFUNC support.
33002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33003 memset-x86-64.
33004 * sysdeps/x86_64/multiarch/bzero.S: New file.
33005 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33006 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33007 * sysdeps/x86_64/multiarch/memset.S: New file.
33008 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33010 Set bit_Prefer_SSE_for_memop for Intel processors.
33011 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33012 Define.
33013 (index_Prefer_SSE_for_memop): Define.
33014 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33015
344d0b54
LM
330162010-11-04 Luis Machado <luisgpm@br.ibm.com>
33017
33018 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33019 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33020
c0dde15b
UD
330212010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33022
33023 [BZ #12191]
33024 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33025 (__x86_64_raw_data_cache_size_half): Likewise.
33026 (__x86_64_raw_shared_cache_size): Likewise.
33027 (__x86_64_raw_shared_cache_size_half): Likewise.
33028
33029 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33030 (__x86_64_raw_data_cache_size_half): Likewise.
33031 (__x86_64_raw_shared_cache_size): Likewise.
33032 (__x86_64_raw_shared_cache_size_half): Likewise.
33033 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33034 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33035 and __x86_64_raw_shared_cache_size_half. Round
33036 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33037 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33038 to multiple of 256 bytes.
33039
0e516e0e
MS
330402010-11-03 Ulrich Drepper <drepper@gmail.com>
33041
33042 [BZ #12167]
33043 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33044 of inacessible symlinks. Verify result of symlink before returning it.
33045 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33046 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33047
0e012e87
ER
330482010-10-28 Erich Ritz <erichritz@gmail.com>
33049
33050 * math/math.h (isinf): Fix typo in comment.
33051
de0ff7bc
UD
330522010-11-01 Ulrich Drepper <drepper@gmail.com>
33053
33054 * po/da.po: Update from translation team.
33055
fa41c84d
UD
330562010-10-26 Ulrich Drepper <drepper@gmail.com>
33057
33058 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33059 is added to the list.
33060
f0967738
AK
330612010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33062 Ulrich Drepper <drepper@gmail.com>
33063
33064 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33065 the global list here. Move code to...
33066 (_dl_add_to_namespace_list): ...here. New function.
33067 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33068 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33069 * elf/dl-load.c (lose): Don't remove the element from the list.
33070 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33071 (_dl_map_object): Likewise.
33072
330732010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
33074
33075 [BZ #12159]
33076 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33077 into all bytes of SSE register.
33078 Patch by Richard Li <richardpku@gmail.com>.
33079
f0967738 330802010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
33081
33082 [BZ #12140]
33083 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33084 perturbing.
33085
d0b9e94f
MB
330862010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33087
33088 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33089 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33090 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33091 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33093 submachine.
33094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33095
8e9f92e9
AS
330962010-10-22 Andreas Schwab <schwab@redhat.com>
33097
33098 * include/dlfcn.h (__RTLD_SECURE): Define.
33099 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33100 mode & __RTLD_SECURE instead.
33101 (open_path): Rename preloaded parameter to secure.
33102 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33103 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33104 * elf/dl-deps.c (openaux): Likewise.
33105 * elf/rtld.c (struct map_args): Remove is_preloaded.
33106 (map_doit): Don't use it.
33107 (dl_main): Likewise.
33108 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33109 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33110
bc96fbda
AS
331112010-09-09 Andreas Schwab <schwab@redhat.com>
33112
33113 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33114 (sysd-rules-targets): Remove duplicates.
33115 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33116 rtld-%.$o dependency.
33117
22cd1c9b
AS
331182010-10-18 Andreas Schwab <schwab@redhat.com>
33119
33120 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33121 _dl_map_object do it.
33122
18edac48
UD
331232010-10-19 Ulrich Drepper <drepper@gmail.com>
33124
33125 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33126 fast fma builtins, define the macros in the C99 standard.
33127 (FP_FAST_FMAF): Likewise.
33128 (FP_FAST_FMAL): Likewise.
33129 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33130
33131 * bits/mathdef.h: Update copyright year.
33132 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33133
d2050124
MM
331342010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33135
33136 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33137 builtins, define the macros in the C99 standard.
33138 (FP_FAST_FMAF): Likewise.
33139 (FP_FAST_FMAL): Likewise.
33140 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33141 multiply/add.
33142 (FP_FAST_FMAF): Likewise.
33143
475facd1
JJ
331442010-10-15 Jakub Jelinek <jakub@redhat.com>
33145
33146 [BZ #3268]
33147 * math/libm-test.inc (fma_test): Some new testcases.
33148 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33149 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33150 y and infinite z. Do multiplication by C already in long double.
33151 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33153 y and infinite z. Do bitwise or of inexact bit into u.d.
33154 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33155 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33156 * sysdeps/i386/fpu/s_fma.S: Removed.
33157 * sysdeps/i386/fpu/s_fmal.S: Removed.
33158
7c08a05c
JJ
331592010-10-16 Jakub Jelinek <jakub@redhat.com>
33160
33161 [BZ #3268]
33162 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33163 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33164 computation is not scheduled after fetestexcept. Fix value
33165 of minimum denormal long double.
33166
f3f7372d
JJ
331672010-10-14 Jakub Jelinek <jakub@redhat.com>
33168
33169 [BZ #3268]
33170 * math/libm-test.inc (fma_test): Add some more tests.
33171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33172 correctly.
33173
14d43591
AS
331742010-10-15 Andreas Schwab <schwab@redhat.com>
33175
33176 * scripts/data/localplt-s390-linux-gnu.data: New file.
33177 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33178
5e908464
JJ
331792010-10-13 Jakub Jelinek <jakub@redhat.com>
33180
33181 [BZ #3268]
33182 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33183 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33184 instead of dbl-64.
33185 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33186 inlines.
33187 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33189 if one of x and y is very large and the other is subnormal.
33190 * sysdeps/s390/fpu/s_fmaf.c: New file.
33191 * sysdeps/s390/fpu/s_fma.c: New file.
33192 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33193 * sysdeps/powerpc/fpu/s_fma.S: New file.
33194 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33195 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33196 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33197
331982010-10-12 Jakub Jelinek <jakub@redhat.com>
33199
33200 [BZ #3268]
33201 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33202 fma tests.
33203 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33204 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33205 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33206 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33207 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33208 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33210
b833d51f
UD
332112010-10-12 Ulrich Drepper <drepper@redhat.com>
33212
33213 [BZ #12078]
33214 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33215 * posix/bug-regex31.input: Add test case.
33216
1751705d
UD
332172010-10-11 Ulrich Drepper <drepper@gmail.com>
33218
e9b9cbf5
UD
33219 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33220 * posix/bug-regex31.input: New file.
33221
33222 [BZ #12078]
33223 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33224 (parse_sub_exp): Fix last change, use postorder.
33225
ef06edbe
UD
33226 * posix/bug-regex31.c: New file.
33227 * posix/Makefile: Add rules to build and run bug-regex31.
33228
a129c80d
UD
33229 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33230
33231 [BZ #12078]
33232 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33233
b76b818e
UD
33234 [BZ #12108]
33235 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33236 to have entries in sys_siglist.
33237
1751705d
UD
33238 [BZ #12093]
33239 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33240 be NULL.
33241
9ff8d36f
JJ
332422010-10-07 Jakub Jelinek <jakub@redhat.com>
33243
33244 [BZ #3268]
33245 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33246 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33247 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33248 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33249 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33250 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33251 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33252 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33253 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33254 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33255 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33256 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33257 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33258 * math/ftestexcept.c (fetestexcept): Likewise.
33259 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33260 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33261 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33262 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33263 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33264 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33265 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33266
af325969
UD
332672010-10-11 Ulrich Drepper <drepper@gmail.com>
33268
c579b202 33269 [BZ #12107]
af325969
UD
33270 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33271 newline.
33272
67a67b95
UD
332732010-10-06 Ulrich Drepper <drepper@gmail.com>
33274
33275 * string/bug-strstr1.c: New file.
33276 * string/Makefile: Add rules to build and run bug-strstr1.
33277
5fb308bc
EB
332782010-10-05 Eric Blake <eblake@redhat.com>
33279
33280 [BZ #12092]
33281 * string/str-two-way.h (two_way_long_needle): Always clear memory
33282 when skipping input due to the shift table.
33283
45db99c7
UD
332842010-10-03 Ulrich Drepper <drepper@gmail.com>
33285
3b111893
UD
33286 [BZ #12005]
33287 * malloc/mcheck.c: Handle large requests.
33288
45db99c7
UD
33289 [BZ #12077]
33290 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33291 for strncmp and strncasecmp.
33292 * string/stratcliff.c: Add tests for strcmp and strncmp.
33293 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33294
cf7a1eb8
NI
332952010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33296
33297 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33298 __set_fpscr.
33299
6484ba5e
AJ
333002010-09-30 Andreas Jaeger <aj@suse.de>
33301
33302 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33303 (CGROUP_SUPER_MAGIC): Define.
33304 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33305 Handle btrfs and cgroup file systems.
33306 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33307 Likewise.
33308
91c42559
LM
333092010-09-27 Luis Machado <luisgpm@br.ibm.com>
33310
33311 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33312 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33313
87a97932
AK
333142010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33315
33316 [BZ #12067]
33317 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33318 trying to locate the ELF header.
33319
c21cc9bc
AS
333202010-09-27 Andreas Schwab <schwab@redhat.com>
33321
33322 [BZ #11611]
33323 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33324 Mask out sign-bit copies when constructing f_fsid.
33325
315970f6
PB
333262010-09-24 Petr Baudis <pasky@suse.cz>
33327
33328 * debug/stack_chk_fail_local.c: Add missing licence exception.
33329 * debug/warning-nop.c: Likewise.
33330
1ac7a2c7
JM
333312010-09-15 Joseph Myers <joseph@codesourcery.com>
33332
33333 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33334 implementing getdents64 using getdents syscall, set d_type if
33335 __ASSUME_GETDENTS32_D_TYPE.
33336
56801c50
AS
333372010-09-16 Andreas Schwab <schwab@redhat.com>
33338
33339 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33340 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33341
dda51327
UD
333422010-09-21 Ulrich Drepper <drepper@redhat.com>
33343
33344 [BZ #12037]
33345 * posix/unistd.h: Undo change of feature selection for ftruncate from
33346 2010-01-11.
33347
8ffcee4a
UD
333482010-09-20 Ulrich Drepper <drepper@redhat.com>
33349
a545ecd9 33350 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
33351 detection.
33352
e24f0a8b
AS
333532010-09-20 Andreas Schwab <schwab@redhat.com>
33354
33355 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33356 fanotify_mark.
33357 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33358
7291c56f
AS
333592010-09-14 Andreas Schwab <schwab@redhat.com>
33360
33361 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33362 variables after CHECK_SP call.
33363 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33364
bc5fb037
AS
333652010-09-13 Andreas Schwab <schwab@redhat.com>
33366 Ulrich Drepper <drepper@redhat.com>
33367
33368 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33369 re-relocationg ld.so.
33370 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33371 _dl_init_paths call.
33372 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33373 here anymore.
33374
e66e7419
UD
333752010-09-14 Ulrich Drepper <drepper@redhat.com>
33376
33377 * resolv/res_init.c (__res_vinit): Count the default server we added.
33378
c044aa75
CLT
333792010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33380 Ulrich Drepper <drepper@redhat.com>
33381
33382 [BZ #11968]
33383 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33384 (____longjmp_chk): Use %ebx for saving value across system call.
33385 Add unwind info.
33386
32cf4069
AS
333872010-09-06 Andreas Schwab <schwab@redhat.com>
33388
33389 * manual/Makefile: Don't mix pattern rules with normal rules.
33390
817328ee
AS
333912010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33392
33393 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33394 operation.
33395 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33396 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33397 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33398 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33400 Likewise.
33401
29fddf61
UD
334022010-09-04 Ulrich Drepper <drepper@redhat.com>
33403
33404 [BZ #11979]
33405 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33406 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33407
0959ffc9
UD
334082010-09-02 Ulrich Drepper <drepper@redhat.com>
33409
33410 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33411 * sysdeps/x86_64/addmul_1.S: Likewise.
33412 * sysdeps/x86_64/lshift.S: Likewise.
33413 * sysdeps/x86_64/mul_1.S: Likewise.
33414 * sysdeps/x86_64/rshift.S: Likewise.
33415 * sysdeps/x86_64/sub_n.S: Likewise.
33416 * sysdeps/x86_64/submul_1.S: Likewise.
33417
ece29840
ST
334182010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33419
0959ffc9
UD
33420 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33421 Define __sched_param instead of SCHED_* and sched_param when
ece29840 33422 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 33423 * bits/sched.h [__need_schedparam]
ece29840 33424 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
33425 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33426 (__defined_schedparam): Define to 1.
ece29840
ST
33427 (__sched_param): New structure, identical to sched_param.
33428 (__need_schedparam): Undefine.
33429
e53a31fe
MF
334302010-08-31 Mike Frysinger <vapier@gentoo.org>
33431
fdc0c10d
MF
33432 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33433 (epoll_create1): Declare.
33434
e53a31fe
MF
33435 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33436
a726d796
AS
334372010-08-31 Andreas Schwab <schwab@redhat.com>
33438
33439 [BZ #7066]
33440 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33441 shifting retval into place.
33442
2f3e3dc7
UD
334432010-09-01 Ulrich Drepper <drepper@redhat.com>
33444
f2933da9
UD
33445 * nis/rpcsvc/nis.h: Update copyright notice.
33446 * nis/rpcsvc/nis.x: Likewise.
33447 * nis/rpcsvc/nis_callback.h: Likewise.
33448 * nis/rpcsvc/nis_callback.x: Likewise.
33449 * nis/rpcsvc/nis_object.x: Likewise.
33450 * nis/rpcsvc/nis_tags.h: Likewise.
33451 * nis/rpcsvc/yp.h: Likewise.
33452 * nis/rpcsvc/yp.x: Likewise.
33453 * nis/rpcsvc/ypupd.h: Likewise.
33454 * nis/yp_xdr.c: Likewise.
33455 * nis/ypupdate_xdr.c: Likewise.
33456
2f3e3dc7
UD
33457 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33458 mainly the body of pmap_getport. Add parameters to specify timeouts.
33459 (pmap_getport): Use __libc_rpc_getport.
33460 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33461 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33462 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33463
f3dcc2f9
AS
334642010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33465
33466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33467 fanotify_mark.
33468
6d34eb5b
RM
334692010-08-27 Roland McGrath <roland@redhat.com>
33470
33471 * sysdeps/i386/i686/multiarch/Makefile
33472 (CFLAGS-varshift.c): New variable.
33473
9ea3de11
UD
334742010-08-27 Ulrich Drepper <drepper@redhat.com>
33475
c96d23fc
UD
33476 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33477 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33478
9ea3de11
UD
33479 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33480
33481 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33482
623aac7f
L
334832010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33484
33485 * sysdeps/x86_64/strlen.S: Unroll the loop.
33486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33487 strlen-sse2 strlen-sse2-bsf.
33488 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33489 __strlen_no_bsf if bit_Slow_BSF is set.
33490 (__strlen_sse42): Removed.
33491 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33492 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33493
8b2b7715
RM
334942010-08-25 Roland McGrath <roland@redhat.com>
33495
33496 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33497 * sysdeps/x86_64/multiarch/varshift.c: New file.
33498 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33499 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33500 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33501 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33502
e73015f2
L
335032010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33504
33505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33506 strlen-sse2 strlen-sse2-bsf.
33507 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33508 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33509 (__strlen_sse2): Removed.
33510 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33511 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33513 bit_Slow_BSF for Atom.
33514 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33515 (index_Slow_BSF): Define.
33516 (HAS_SLOW_BSF): Define.
33517
df24a73e
UD
335182010-08-25 Ulrich Drepper <drepper@redhat.com>
33519
33520 [BZ #10851]
33521 * resolv/res_init.c (__res_vinit): When no server address at all
33522 is given default to loopback.
33523
f2ac4868
RM
335242010-08-24 Roland McGrath <roland@redhat.com>
33525
09055553
RM
33526 * configure.in: Remove config-name.h generation.
33527 * configure: Regenerated.
33528 * config-name.in: File removed.
33529 * scripts/config-uname.sh: New file.
33530 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33531 ($(objdir)config-name.h): New target.
33532
f2ac4868
RM
33533 * sunrpc/rpc_parse.h: Avoid nested comment.
33534
73f27d5e
RH
335352010-08-24 Richard Henderson <rth@redhat.com>
33536 Ulrich Drepper <drepper@redhat.com>
33537 H.J. Lu <hongjiu.lu@intel.com>
33538
33539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33541 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33542 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33543 _mm_alignr_epi8 with _mm_loadu_si128.
33544 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33545 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33546 (__m128i_shift_right): Removed.
33547 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33548 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33549 * sysdeps/x86_64/multiarch/varshift.h: New file.
33550 * sysdeps/x86_64/multiarch/varshift.S: New file.
33551
84b9230c
MF
335522010-08-21 Mike Frysinger <vapier@gentoo.org>
33553
33554 * configure.in: Move assembler checks to before sysdep dir checking.
33555
9bbd0ddc
PB
335562010-08-20 Petr Baudis <pasky@suse.cz>
33557
33558 * LICENSES: Sync the sunrpc license.
33559
9da4bb31
UD
335602010-08-19 Ulrich Drepper <drepper@redhat.com>
33561
a7ab6ec8
UD
33562 * sunrpc/auth_des.c: Update copyright notice once again.
33563 * sunrpc/auth_none.c: Likewise.
33564 * sunrpc/auth_unix.c: Likewise.
33565 * sunrpc/authdes_prot.c: Likewise.
33566 * sunrpc/authuxprot.c: Likewise.
33567 * sunrpc/bindrsvprt.c: Likewise.
33568 * sunrpc/clnt_gen.c: Likewise.
33569 * sunrpc/clnt_perr.c: Likewise.
33570 * sunrpc/clnt_raw.c: Likewise.
33571 * sunrpc/clnt_simp.c: Likewise.
33572 * sunrpc/clnt_tcp.c: Likewise.
33573 * sunrpc/clnt_udp.c: Likewise.
33574 * sunrpc/clnt_unix.c: Likewise.
33575 * sunrpc/des_crypt.c: Likewise.
33576 * sunrpc/des_soft.c: Likewise.
33577 * sunrpc/get_myaddr.c: Likewise.
33578 * sunrpc/getrpcport.c: Likewise.
33579 * sunrpc/key_call.c: Likewise.
33580 * sunrpc/key_prot.c: Likewise.
33581 * sunrpc/openchild.c: Likewise.
33582 * sunrpc/pm_getmaps.c: Likewise.
33583 * sunrpc/pm_getport.c: Likewise.
33584 * sunrpc/pmap_clnt.c: Likewise.
33585 * sunrpc/pmap_prot.c: Likewise.
33586 * sunrpc/pmap_prot2.c: Likewise.
33587 * sunrpc/pmap_rmt.c: Likewise.
33588 * sunrpc/rpc/auth.h: Likewise.
33589 * sunrpc/rpc/auth_unix.h: Likewise.
33590 * sunrpc/rpc/clnt.h: Likewise.
33591 * sunrpc/rpc/des_crypt.h: Likewise.
33592 * sunrpc/rpc/key_prot.h: Likewise.
33593 * sunrpc/rpc/netdb.h: Likewise.
33594 * sunrpc/rpc/pmap_clnt.h: Likewise.
33595 * sunrpc/rpc/pmap_prot.h: Likewise.
33596 * sunrpc/rpc/pmap_rmt.h: Likewise.
33597 * sunrpc/rpc/rpc.h: Likewise.
33598 * sunrpc/rpc/rpc_des.h: Likewise.
33599 * sunrpc/rpc/rpc_msg.h: Likewise.
33600 * sunrpc/rpc/svc.h: Likewise.
33601 * sunrpc/rpc/svc_auth.h: Likewise.
33602 * sunrpc/rpc/types.h: Likewise.
33603 * sunrpc/rpc/xdr.h: Likewise.
33604 * sunrpc/rpc_clntout.c: Likewise.
33605 * sunrpc/rpc_cmsg.c: Likewise.
33606 * sunrpc/rpc_common.c: Likewise.
33607 * sunrpc/rpc_cout.c: Likewise.
33608 * sunrpc/rpc_dtable.c: Likewise.
33609 * sunrpc/rpc_hout.c: Likewise.
33610 * sunrpc/rpc_main.c: Likewise.
33611 * sunrpc/rpc_parse.c: Likewise.
33612 * sunrpc/rpc_parse.h: Likewise.
33613 * sunrpc/rpc_prot.c: Likewise.
33614 * sunrpc/rpc_sample.c: Likewise.
33615 * sunrpc/rpc_scan.c: Likewise.
33616 * sunrpc/rpc_scan.h: Likewise.
33617 * sunrpc/rpc_svcout.c: Likewise.
33618 * sunrpc/rpc_tblout.c: Likewise.
33619 * sunrpc/rpc_util.c: Likewise.
33620 * sunrpc/rpc_util.h: Likewise.
33621 * sunrpc/rpcinfo.c: Likewise.
33622 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33623 * sunrpc/rpcsvc/key_prot.x: Likewise.
33624 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33625 * sunrpc/rpcsvc/mount.x: Likewise.
33626 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33627 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33628 * sunrpc/rpcsvc/rex.x: Likewise.
33629 * sunrpc/rpcsvc/rstat.x: Likewise.
33630 * sunrpc/rpcsvc/rusers.x: Likewise.
33631 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33632 * sunrpc/rpcsvc/spray.x: Likewise.
33633 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33634 * sunrpc/rtime.c: Likewise.
33635 * sunrpc/svc.c: Likewise.
33636 * sunrpc/svc_auth.c: Likewise.
33637 * sunrpc/svc_authux.c: Likewise.
33638 * sunrpc/svc_raw.c: Likewise.
33639 * sunrpc/svc_run.c: Likewise.
33640 * sunrpc/svc_simple.c: Likewise.
33641 * sunrpc/svc_tcp.c: Likewise.
33642 * sunrpc/svc_udp.c: Likewise.
33643 * sunrpc/svc_unix.c: Likewise.
33644 * sunrpc/svcauth_des.c: Likewise.
33645 * sunrpc/xcrypt.c: Likewise.
33646 * sunrpc/xdr.c: Likewise.
33647 * sunrpc/xdr_array.c: Likewise.
33648 * sunrpc/xdr_float.c: Likewise.
33649 * sunrpc/xdr_mem.c: Likewise.
33650 * sunrpc/xdr_rec.c: Likewise.
33651 * sunrpc/xdr_ref.c: Likewise.
33652 * sunrpc/xdr_sizeof.c: Likewise.
33653 * sunrpc/xdr_stdio.c: Likewise.
33654
9da4bb31
UD
33655 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33656 handling.
33657
bdaa77bc
AS
336582010-08-19 Andreas Schwab <schwab@redhat.com>
33659
33660 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33661
fe2f79db
LM
336622010-08-19 Luis Machado <luisgpm@br.ibm.com>
33663
33664 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33665 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33666 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33667 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33668 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33669 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33670 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33671 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33672 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33673 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33674 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33675 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33676 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33677 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33678
b9b42ee0
AB
336792010-07-26 Anton Blanchard <anton@samba.org>
33680
33681 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33682 * malloc/arena.c (heap_trim): Likewise.
33683
1c06ba31
UD
336842010-08-16 Ulrich Drepper <drepper@redhat.com>
33685
33686 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33687 here. Not...
33688 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33689 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33690
f8392f40
L
336912010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33692
33693 * sysdeps/i386/elf/Makefile: New file.
33694
3162f12e
AS
336952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33696
33697 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33698 from fanotify_init.
33699 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33701
28c90b2c
UD
337022010-08-15 Ulrich Drepper <drepper@redhat.com>
33703
33704 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33705 of strncasecmp_l.
1feccb6c 33706 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 33707
ca6bb004
UD
337082010-08-14 Ulrich Drepper <drepper@redhat.com>
33709
e9f82e0d
UD
33710 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33711 strncase_l-nonascii.
33712 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33713 Add strncase_l-ssse3.
33714 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33715 * sysdeps/x86_64/strcmp.S: Likewise.
33716 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33717 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33718 * sysdeps/x86_64/strncase.S: New file.
33719 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33720 * sysdeps/x86_64/strncase_l.S: New file.
33721 * string/Makefile (strop-tests): Add strncasecmp.
33722 * string/test-strncasecmp.c: New file.
33723
33724 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33725 warning.
33726
ca6bb004
UD
33727 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33728 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33729
052fa7b3
AS
337302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33731
33732 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33733
962dba78
UD
337342010-08-12 Ulrich Drepper <drepper@redhat.com>
33735
33736 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33737 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33738 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33739
bebff237
AM
337402010-05-01 Alan Modra <amodra@gmail.com>
33741
33742 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33743 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33744 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33745 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33746 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33747 tidying. Don't tail-call __sigjmp_save for static lib.
33748 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33749 save location.
33750 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33751 (CALL_MCOUNT): Add eh info, and nop after bl.
33752 (TAIL_CALL_SYSCALL_ERROR): New macro.
33753 (PSEUDO_RET): Use it.
33754 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33755 Correct save location of integer regs and cr.
33756 (_dl_profile_resolve): Correct cr save location. Delete nops
33757 after bl when SHARED. Reduce cfi size a little by better
33758 placement of cfi directives.
33759 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33760 make a stack frame. Instead use parm save area as a temp.
33761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33762 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33764 Don't make a stack frame for parent, use parm save area.
33765 Increase child stack frame to 112 bytes. Don't save unused reg,
33766 and adjust reg usage. Set up cfi on error recovery and
33767 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33769 (__makecontext): Add dummy nop after jump to exit.
33770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33771 Use correct parm save area and cr save, reduce stack frame.
33772 Correct cfi for possible PSEUDO_RET frame setup.
33773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33774 Branch to local label emitted by PSEUDO_RET rather than
33775 __syscall_error.
33776
02637374
AS
337772010-08-12 Andreas Schwab <schwab@redhat.com>
33778
33779 [BZ #11904]
33780 * locale/programs/locale.c (print_assignment): New function.
33781 (show_locale_vars): Use it.
33782
c3e2f19b
UD
337832010-08-11 Ulrich Drepper <drepper@redhat.com>
33784
3cdaa6ad
UD
33785 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33786 field.
33787 (struct statfs64): Likewise.
33788 (_STATFS_F_FLAGS): Define.
33789 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33790 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33791 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33792 (ST_VALID): Define locally.
33793 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33794 __statvfs_getflags, use the provided value.
33795 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33796 __ASSUME_STATFS_F_FLAGS.
33797
754f7da3
UD
33798 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33799
10b3bedc
UD
33800 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33801 Add sys/fanotify.h.
33802 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33803 fanotify_mask for GLIBC_2.13.
33804 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33805 fanotify_init and fanotify_mark.
33806 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33807 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33808
c08fb0d7
UD
33809 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33810 Add prlimit.
33811 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33812 prlimit64 for GLIBC_2.13.
33813 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33814 prlimit64.
33815 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33816 syscall.
33817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33818 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33819 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33820 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33821 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33822 add prlimit alias.
33823 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33824
15bac72b
UD
33825 [BZ #11903]
33826 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33827 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33828
c3e2f19b
UD
33829 * nss/Makefile: Add rules to build and run tst-nss-test1.
33830 * shlib-versions: Add entry for libnss_test1.
33831 * nss/nss_test1.c: New file.
33832 * nss/tst-nss-test1.c: New file.
33833
33834 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33835 (__nss_configure_lookup): Set appropriate entry in
33836 __nss_configure_lookup to true.
33837 * nss/nsswitch.h: Define enum with indeces of databases in
33838 databases and __nss_database_custom arrays. Declare
33839 __nss_database_custom.
33840 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33841 to avoid using nscd when custom rules are installed.
33842 * nss/getXXbyYY_r.c: Likewise.
33843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33844
33845 * nss/nss_files/files-parse.c: Whitespace fixes.
33846
f15ce4d8
UD
338472010-08-09 Ulrich Drepper <drepper@redhat.com>
33848
33849 [BZ #11883]
33850 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33851 * posix/fnmatch_loop.c: Likewise.
33852
d22e4cc9
AK
338532010-07-17 Andi Kleen <ak@linux.intel.com>
33854
33855 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33856 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33857 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33858 * Versions.def [GLIBC_2.13]: Add.
33859
805bc17d
UD
338602010-08-06 Ulrich Drepper <drepper@redhat.com>
33861
33862 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33863 Also fail if tpwd after pwuid call is NULL.
33864
5a42321d
ST
338652010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33866
33867 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33868 when converting to ms.
33869
fd3ebeda
ST
338702010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33871
33872 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33873 EOPNOTSUPP errors with ENOTTY.
33874 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33875 EOPNOTSUPP errors with ENOTTY.
33876
73507d3a
UD
338772010-07-31 Ulrich Drepper <drepper@redhat.com>
33878
33879 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33880 Add strcasecmp_l-ssse3.
33881 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33882 strcasecmp.
33883 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33884 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33885 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33886
fe36dd02
UD
338872010-07-30 Ulrich Drepper <drepper@redhat.com>
33888
66f6765a
UD
33889 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33890
42e08a54
UD
33891 * string/Makefile (strop-tests): Add strcasecmp.
33892 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33893 strcasecmp_l-nonascii.
33894 (gen-as-const-headers): Add locale-defines.sym.
33895 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33896 * sysdeps/x86_64/strcasecmp.S: New file.
33897 * sysdeps/x86_64/strcasecmp_l.S: New file.
33898 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33899 * sysdeps/x86_64/locale-defines.sym: New file.
33900 * string/test-strcasecmp.c: New file.
33901
fe36dd02
UD
33902 * string/test-strcasestr.c: Test both ends of the range of characters.
33903 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33904
48cbc0d6
RM
339052010-07-29 Roland McGrath <roland@redhat.com>
33906
76e6d6bc 33907 [BZ #11856]
48cbc0d6
RM
33908 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33909
880113d9
UD
339102010-07-27 Ulrich Drepper <drepper@redhat.com>
33911
33912 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33913 for ld.so.
33914
deb9cabb
AS
339152010-07-27 Andreas Schwab <schwab@redhat.com>
33916
33917 * manual/memory.texi (Malloc Tunable Parameters): Document
33918 M_PERTURB.
33919
1c7570ff
RM
339202010-07-26 Roland McGrath <roland@redhat.com>
33921
33922 [BZ #11840]
33923 * configure.in (-fgnu89-inline check): Set and substitute
33924 gnu89_inline, not libc_cv_gnu89_inline.
33925 * configure: Regenerated.
33926 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33927
24fb0f88
UD
339282010-07-26 Ulrich Drepper <drepper@redhat.com>
33929
33930 * string/test-strnlen.c: New file.
33931 * string/Makefile (strop-tests): Add strnlen.
33932 * string/tester.c (test_strnlen): Add a few more test cases.
33933 * string/tst-strlen.c: Better error reporting.
33934
33935 * sysdeps/x86_64/strnlen.S: New file.
33936
8e96b93a
UD
339372010-07-24 Ulrich Drepper <drepper@redhat.com>
33938
33939 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33940 lower-latency instructions.
33941
dbc676d4
UD
339422010-07-23 Ulrich Drepper <drepper@redhat.com>
33943
33944 * string/test-strcasestr.c: New file.
33945 * string/test-strstr.c: New file.
33946 * string/Makefile (strop-tests): Add strstr and strcasestr.
33947 * string/str-two-way.h: Don't undefine MAX.
33948 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33949
f6a31e0e
AS
339502010-07-21 Andreas Schwab <schwab@redhat.com>
33951
33952 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33953 strcasestr-nonascii.
33954 (CFLAGS-strcasestr-nonascii.c): Define.
33955 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33956 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33957 Remove unused attribute.
33958
5dbc3b6c
RM
339592010-07-20 Roland McGrath <roland@redhat.com>
33960
33961 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33962 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33963 ld.so.cache was broken. With it, there is no way to disable dsocaps
33964 like LD_HWCAP_MASK can disable hwcaps.
33965
23d101d8
EPM
339662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33967
33968 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33969
cc9f2e47
UD
339702010-07-16 Ulrich Drepper <drepper@redhat.com>
33971
33972 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33973 call in strcasestr.
33974 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33975 __strcasestr_sse42_nonascii.
33976 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33977 strcasestr-nonascii.c.
33978 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33979
77c1b069
LM
339802010-06-15 Luis Machado <luisgpm@br.ibm.com>
33981
33982 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33983 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33984 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33985 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33986
440566c3
UD
339872010-07-09 Ulrich Drepper <drepper@redhat.com>
33988
33989 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33990 fcntl.
33991
5be9d05d
AS
339922010-07-06 Andreas Schwab <schwab@redhat.com>
33993
c30b7ee2 33994 [BZ #11577]
5be9d05d
AS
33995 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33996 dl_signal_cerror.
33997
8a492a67
UD
339982010-07-06 Ulrich Drepper <drepper@redhat.com>
33999
34000 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34001 _PC_PIPE_BUF using F_GETPIPE_SZ.
34002
713df3d5
RM
340032010-07-05 Roland McGrath <roland@redhat.com>
34004
34005 * manual/arith.texi (Rounding Functions): Fix rint description
34006 implicit in round description.
34007
702e8f14
UD
340082010-07-02 Ulrich Drepper <drepper@redhat.com>
34009
34010 * elf/Makefile: Fix linking for a few tests to make recent linker
34011 happy.
34012
52ed8be9
AS
340132010-06-30 Andreas Schwab <schwab@redhat.com>
34014
34015 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34016 $(common-objpfx)libc_nonshared.a.
34017
f47c9a11
LM
340182010-06-21 Luis Machado <luisgpm@br.ibm.com>
34019
34020 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34021 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34022 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34023 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34024 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34025 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34026 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34027 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34042 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34043 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34044 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34045 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34046 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34047 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34048 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34049 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34050 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34051 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34052 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34053 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34068
6fb8cbcb
L
340692010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34070
34071 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34072 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34073 * string/memmove.c (memmove): Renamed to ...
34074 (MEMMOVE): ...this. Default to memmove.
34075 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34076 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34077 (END_CHK): Define.
34078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34079 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34080 mempcpy-ssse3-back memmove-ssse3-back.
34081 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34082 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34083 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34084 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34085 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34086 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34087 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34088 * sysdeps/x86_64/multiarch/memmove.c: New file.
34089 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34090 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34091 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34092 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34093 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34094 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34095 Define.
34096 (index_Fast_Copy_Backward): Define.
34097 (HAS_ARCH_FEATURE): Define.
34098 (HAS_FAST_REP_STRING): Define.
34099 (HAS_FAST_COPY_BACKWARD): Define.
34100
4e733bac 341012010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
34102
34103 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34104 Restore proper fallback handling.
34105
63c4ed22
UD
341062010-06-19 Ulrich Drepper <drepper@redhat.com>
34107
ac2b484c
UD
34108 [BZ #11701]
34109 * posix/group_member.c (__group_member): Correct checking loop.
34110
63c4ed22
UD
34111 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34112 OOM in getpwuid_r correctly. Return error number when the caller
34113 should return, otherwise -1.
34114 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34115 call returning > 0 value.
34116 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34117
765ade4b
AS
341182010-06-07 Andreas Schwab <schwab@redhat.com>
34119
34120 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34121 libc_nonshared.a from targets in modules-names.
34122
80da2e09
KS
341232010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34124
34125 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34126 requires it.
34127
158db122
LM
341282010-06-10 Luis Machado <luisgpm@br.ibm.com>
34129
34130 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34131 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34132 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34133 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34134
caa78cf8
AS
341352010-06-02 Andreas Schwab <schwab@redhat.com>
34136
34137 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34138
b2ef2c01
UD
341392010-06-14 Ulrich Drepper <drepper@redhat.com>
34140
34141 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34142 and F_GETPIPE_SZ.
34143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34144 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34147 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34148 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34149
fbd643b6
RM
341502010-06-14 Roland McGrath <roland@redhat.com>
34151
34152 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34153
f32f2869
JJ
341542010-06-07 Jakub Jelinek <jakub@redhat.com>
34155
34156 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34157 __REDIRECT followed by __THROW.
34158 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34159 * posix/getopt.h (getopt): Likewise.
34160
2a50c078
EPM
341612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34162
34163 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34164 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34165 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34166 in AT_FLAGS.
34167 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34168 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34169
eb5ad2eb
LM
341702010-05-28 Luis Machado <luisgpm@br.ibm.com>
34171
34172 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34173
3c88fe1e
L
341742010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34175
34176 [BZ #11640]
34177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34178 Properly check family and model.
34179
d2f73151
TY
341802010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34181
34182 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34183
ebd2e13d
LM
341842010-05-24 Luis Machado <luisgpm@br.ibm.com>
34185
34186 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34187
b32b8b45
UD
341882010-05-21 Ulrich Drepper <drepper@redhat.com>
34189
34190 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34191 symbol reference.
34192
9acbe24d
AS
341932010-05-19 Andreas Schwab <schwab@redhat.com>
34194
34195 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34196 symbol reference.
34197
f0ccf6ea
AS
341982010-05-21 Andreas Schwab <schwab@redhat.com>
34199
3d04ff3a
AS
34200 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34201 and internal_recvmmsg.
34202 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34203 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34204 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34205 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34206
f0ccf6ea
AS
34207 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34208 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34209 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34210
5b08ac57
AS
342112010-05-20 Andreas Schwab <schwab@redhat.com>
34212
34213 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34214
4828935d
LM
342152010-05-17 Luis Machado <luisgpm@br.ibm.com>
34216
34217 POWER7 optimizations.
34218 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34219 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34220
373d545e
UD
342212010-05-19 Ulrich Drepper <drepper@redhat.com>
34222
34223 * version.h: Update for 2.13 development version.
34224
21a2b1ae
AS
342252010-05-12 Andrew Stubbs <ams@codesourcery.com>
34226
34227 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34228 exceptions. Return 0.
34229
3f7dcb2b
RM
342302010-05-07 Roland McGrath <roland@redhat.com>
34231
34232 * elf/ldconfig.c (main): Add a const.
34233
5f24d53a 342342010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 34235
a160f8d8
UD
34236 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34237 (args_options): Add no-idn option.
34238 (ahosts_keys_int): Add idn_flags to ai_flags.
34239 (parse_option): Handle 'i' option to clear idn_flags.
34240
5f24d53a
UD
34241 * malloc/malloc.c (_int_free): Possible race in the most recently
34242 added check. Only act on the data if no current modification
34243 happened.
265bb1ce
UD
34244
34245See ChangeLog.17 for earlier changes.
This page took 4.711155 seconds and 5 git commands to generate.