]> sourceware.org Git - glibc.git/blame - ChangeLog
nptl: tst-mutex8.c: Handle ENOTSUP PI mutex failure
[glibc.git] / ChangeLog
CommitLineData
7b7bab13
ST
12013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2
3 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
7
d39baad1
RA
82013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9
10 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11 match prototype.
12
cd78f7e7
JM
132013-10-04 Joseph Myers <joseph@codesourcery.com>
14
29d73d86
JM
15 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16 Move -mhard-float appending from
17 ports/sysdeps/powerpc/powerpc32/Makefile.
18 [$(with-fp) = yes] (ASFLAGS): Likewise.
19 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20 * sysdeps/powerpc/nofpu: Move directory from
21 ports/sysdeps/powerpc/nofpu.
22 * sysdeps/powerpc/soft-fp: Move directory from
23 ports/sysdeps/powerpc/soft-fp.
24 * sysdeps/powerpc/powerpc32/405: Move directory from
25 ports/sysdeps/powerpc/powerpc32/405.
26 * sysdeps/powerpc/powerpc32/440: Move directory from
27 ports/sysdeps/powerpc/powerpc32/440.
28 * sysdeps/powerpc/powerpc32/464: Move directory from
29 ports/sysdeps/powerpc/powerpc32/464.
30 * sysdeps/powerpc/powerpc32/476: Move directory from
31 ports/sysdeps/powerpc/powerpc32/476.
32 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
33 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
34 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
35 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
36 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
37 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
40 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
42 * README: Update for powerpc-*-linux-gnu software floating point
43 support in libc.
44
e246b347
JM
45 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46 case to powerpc/powerpc32*.
47 * sysdeps/unix/sysv/linux/configure: Regenerated.
48
89c2003e
JM
49 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
50 (_FPU_MASK_OM): Define as 0x04.
51 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
52 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
53 0x00c10080.
54 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
55 0x0000003c.
56 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
57
cd78f7e7
JM
58 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
59 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
60 getcontext_e500.
61 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
63 setcontext_e500.
64 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
65 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
66 and setcontext_e500.
67
c755294d
CL
682013-10-04 Chris Leonard <cjl@sugarlabs,.org>
69
70 * locale/iso-3166.def: Update iso-1366.def and related occurrences
71
e16d221c
SP
722013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
73
74 * manual/threads.texi (Default Thread Attributes): Fix typo.
75
215c7d43
WN
762013-10-04 Will Newton <will.newton@linaro.org>
77
78 * malloc/Makefile: Add tst-memalign.
79 * malloc/tst-memalign.c: New file.
80
27d0461b
WN
81 * malloc/tst-posix_memalign.c: Add comments.
82 (do_test): Add comments and call free on all potentially
83 allocated pointers. Add space after cast.
84
1bc92709
WN
85 * malloc/tst-pvalloc.c: Add comments.
86 (do_test): Add comments and call free on all potentially
87 allocated pointers. Remove duplicate check for NULL pointer.
88 Add space after cast.
89
66a9be9d
WN
90 * malloc/tst-valloc.c: Add comments.
91 (do_test): Add comments and call free on all potentially
92 allocated pointers. Remove duplicate check for NULL pointer.
93 Add space after cast.
94
4cb81307
AM
952013-10-04 Alan Modra <amodra@gmail.com>
96
97 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
98 Use stdint types in rather than __attribute__((mode())).
99 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
100
f8e3e9f3
AM
1012013-10-04 Alan Modra <amodra@gmail.com>
102
103 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
104 Correct handling of unaligned relocs for little-endian.
105 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
106
8f9ebb08
AM
1072013-10-04 Alan Modra <amodra@gmail.com>
108
109 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
110 * configure: Regenerate.
111 * nptl/shlib-versions: Powerpc*le starts at 2.18.
112 * shlib-versions: Likewise.
113
0edf96c2
AM
1142013-10-04 Alan Modra <amodra@gmail.com>
115
116 * string/tester.c (test_memrchr): Increment reported test cycle.
117
e0f7a380
AM
1182013-10-04 Alan Modra <amodra@gmail.com>
119
120 * string/test-memcpy.c (do_one_test): When reporting errors, print
121 string address and don't overrun end of string.
122
466b0393
AM
1232013-10-04 Alan Modra <amodra@gmail.com>
124
125 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
126 insrdi. Make better use of reg selection to speed exit slightly.
127 Schedule entry path a little better. Remove useless "are we done"
128 checks on entry to main loop. Handle wrapping around zero address.
129 Correct main loop count. Handle single left-over word from main
130 loop inline rather than by using loop_small. Remove extra word
131 case in loop_small caused by wrong loop count. Add little-endian
132 support.
133 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
134 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
135 cache hint.
136 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
137 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
138 support. Avoid rlwimi.
139 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
140
3be87c77
AM
1412013-10-04 Alan Modra <amodra@gmail.com>
142
143 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
144 insrdi. Formatting.
145 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
146 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
147 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
148 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
149 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
150 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
151
759cfef3
AM
1522013-10-04 Alan Modra <amodra@gmail.com>
153
154 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
155 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
156 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
157 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
158 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
159 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
160 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
161 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
162 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
163 use of regs. Use power7 mtocrf. Tidy function tails.
164
fe6e95d7
AM
1652013-10-04 Alan Modra <amodra@gmail.com>
166
167 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
168 Formatting. Consistently use rXXX register defines or rN defines.
169 Use early exit labels that avoid restoring unused non-volatile regs.
170 Make cr field use more consistent with rWORDn compares. Rename
171 regs used as shift registers for unaligned loop, using rN defines
172 for short lifetime/multiple use regs.
173 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
174 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
175 addi 1,1,64 to pop stack frame. Simplify return value code.
176 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
177
664318c3
AM
1782013-10-04 Alan Modra <amodra@gmail.com>
179
180 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
181 support. Correct typos, formatting. Optimize tail. Use insrdi
182 rather than rlwimi.
183 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
184 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
185 little-endian support. Correct typos.
186 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
187 rather than rlwimi.
188 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
189 in loop and entry code to keep "and." results.
190 (strchr): Add little-endian support. Comment. Move cntlzd
191 earlier in tail.
192 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
193
43b84013
AM
1942013-10-04 Alan Modra <amodra@gmail.com>
195
196 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
197 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
198 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
199 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
200
8a7413f9
AM
2012013-10-04 Alan Modra <amodra@gmail.com>
202
203 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
204 (rTMP): Define as r11.
205 (strcmp): Add little-endian support. Optimise tail.
206 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
207 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
208 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
209 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
210 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
211 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
213
33ee81de
AM
2142013-10-04 Alan Modra <amodra@gmail.com>
215
216 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
217 little-endian support. Remove unnecessary "are we done" tests.
218 Handle "s" wrapping around zero and extremely large "size".
219 Correct main loop count. Handle single left-over word from main
220 loop inline rather than by using small_loop. Correct comments.
221 Delete "zero" tail, use "end_max" instead.
222 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
223
db9b4570
AM
2242013-10-04 Alan Modra <amodra@gmail.com>
225
226 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
227 support. Don't branch over align.
228 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
229 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
230 support. Rearrange tmp reg use to suit. Comment.
231 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
232
f7c399cf
AM
2332013-10-04 Alan Modra <amodra@gmail.com>
234
235 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
236
0b2c2ace
AM
2372013-10-04 Alan Modra <amodra@gmail.com>
238
239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
240 conditional form of branch and link when obtaining pc.
241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
242
02f04a6c
AM
2432013-10-04 Alan Modra <amodra@gmail.com>
244
245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
246 HIWORD/LOWORD.
247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
249
9b874b2f
AM
2502013-10-04 Alan Modra <amodra@gmail.com>
251
252 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
253 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
254 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
255 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
256 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
257 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
258 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
259 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
260 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
261 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
262
be1e5d31
AB
2632013-10-04 Anton Blanchard <anton@au1.ibm.com>
264 Alistair Popple <alistair@ozlabs.au.ibm.com>
265 Alan Modra <amodra@gmail.com>
266
267 [BZ #15723]
268 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
269 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
270 _dl_hwcap access for little-endian.
271 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
272 destroy vmx regs when saving unaligned.
273 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
274 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
275 destroy vmx regs when saving unaligned.
276
fef13a78
AM
2772013-10-04 Alan Modra <amodra@gmail.com>
278
279 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
280 Don't use a union to pack hi/low value.
281
76a66d51
AB
2822013-10-04 Anton Blanchard <anton@au1.ibm.com>
283
284 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
285 for little-endian.
286 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
287 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
288 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
289 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
290 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
291
6a31fe7f
AM
2922013-10-04 Alan Modra <amodra@gmail.com>
293
294 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
295 constants to usual value for .cst8 section, and remove redundant
296 high address load.
297 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
298 constant for 0x1p52. Load little-endian words of double from
299 correct stack offsets.
300
7b88401f
AM
3012013-10-04 Alan Modra <amodra@gmail.com>
302
303 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
304 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
305 words of double from correct stack offsets.
306 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
307 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
308 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
309 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
310 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
311 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
312 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
313 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
314 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
315 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
316 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
317 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
318 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
319 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
320 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
321 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
322 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
323
9c008155
AM
3242013-10-04 Alan Modra <amodra@gmail.com>
325
326 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
327 64-bit int/double union.
328 (_FPU_SETCW): Likewise.
329 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
330 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
331
da13146d
AM
3322013-10-04 Alan Modra <amodra@gmail.com>
333
334 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
335 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
336
603e8410
AM
3372013-10-04 Alan Modra <amodra@gmail.com>
338
339 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
340 use vector int constants.
341 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
342
4a28b3ca
AB
3432013-10-04 Anton Blanchard <anton@au1.ibm.com>
344
345 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
346 array with long long.
347 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
348 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
349 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
350 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
351 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
352 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
353 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
354 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
355 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
356 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
357 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
358 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
359 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
360
2ca85d2b
AB
3612013-10-04 Anton Blanchard <anton@au1.ibm.com>
362
363 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
364 (__signbit): Likewise. Correct for little-endian.
365 (__signbitl): Call __signbit.
366 (lrint): Correct for little-endian.
367 (lrintf): Call lrint.
368
62a728ae
AM
3692013-10-04 Alan Modra <amodra@gmail.com>
370
371 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
372 union 32-bit int array member with 64-bit int array.
373 (t515, tm256): Double rather than long double.
374 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
375
32c301df
AM
3762013-10-04 Alan Modra <amodra@gmail.com>
377
378 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
379 Delete.
380 (IEEE854_LONG_DOUBLE_BIAS): Delete.
381 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
382 version of math_ldbl.h.
383
650ef4bd
AM
3842013-10-04 Alan Modra <amodra@gmail.com>
385
386 [BZ #15734], [BZ #15735]
387 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
388 all uses of ieee875 long double macros and unions. Simplify test
389 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
390 ldbl_extract_mantissa value for ix,iy exponents. Properly
391 normalize after ldbl_extract_mantissa, and don't add hidden bit
392 already handled. Don't treat low word of ieee854 mantissa like
393 low word of IBM long double and mask off bit when testing for
394 zero.
395 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
396 all uses of ieee875 long double macros and unions. Simplify tests
397 for 0.0L and inf. Correct double adjustment of k. Delete dead code
398 adjusting ha,hb. Simplify code setting kld. Delete two600 and
399 two1022, instead use their values. Recognise that tests for large
400 "a" and small "b" are mutually exclusive. Rename vars. Comment.
401 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
402 Rewrite all uses of ieee875 long double macros and unions. Simplify
403 test for 0.0L and nan. Correct negation.
404 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
405 ieee875 long double macros and unions. Correct output for large
406 magnitude x. Correct absolute value calculation.
407 (__erfcl): Likewise.
408 * math/libm-test.inc: Add tests for errors discovered in IBM long
409 double versions of fmodl, remainderl, erfl and erfcl.
410
765714ca
AM
4112013-10-04 Alan Modra <amodra@gmail.com>
412
413 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
414 all uses of ieee854 long double macros and unions. Simplify tests
415 for long doubles that are fully specified by the high double.
416 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
417 Likewise.
418 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
419 Remove dead code too.
420 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
421 (__ieee754_ynl): Likewise.
422 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
423 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
424 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
425 Remove dead code too.
426 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
427 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
428 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
429 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
430 Simplify.
431 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
432 Simplify.
433 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
434 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
435 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
436 Comment on variable precision.
437 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
438 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
439 Likewise.
440 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
441 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
442 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
443 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
444 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
445
4ebd120c
AM
4462013-10-04 Alan Modra <amodra@gmail.com>
447
448 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
449 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
450 all uses of ieee854 long double macros and unions.
451 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
452 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
453 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
454 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
455 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
456 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
457 Likewise.
458 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
459 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
460 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
461 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
462 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
463 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
464 Simplify sign and nan test too.
465 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
466 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
467 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
468 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
469 Likewise.
470 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
471 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
472 Likewise.
473 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
474 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
475 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
476 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
477 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
478 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
479
1b6adf88
AM
4802013-10-04 Alan Modra <amodra@gmail.com>
481
482 * stdio-common/printf_size.c (__printf_size): Don't use
483 union ieee854_long_double in fpnum union.
484 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
485 signbit macro to retrieve sign from long double.
486 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
487 retrieve sign from long double.
488 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
489 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
490 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
491 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
492 * math/test-misc.c (main): Don't use union ieee854_long_double.
493
4cf69995
AM
4942013-10-04 Alan Modra <amodra@gmail.com>
495
496 [BZ #15680]
497 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
498 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
499 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
500 calculation. Remove unnecessary test for denormal exponent.
501 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
502 Correct handling of denormals. Avoid undefined shift behaviour.
503 Correct normalisation of low mantissa when low double is denormal.
504 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
505 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
506 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
507 Correct normalisation of low mantissa. Test for overflow of high
508 mantissa and normalise.
509 (ldbl_nearbyint): Use more readable constant for two52.
510 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
511 (__mpn_construct_long_double): Fix test for overflow of high
512 mantissa and correct normalisation. Avoid undefined shift.
513
9605ca6c
AM
5142013-10-04 Alan Modra <amodra@gmail.com>
515
516 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
517 (union ibm_extended_long_double): Define as an array of ieee754_double.
518 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
519 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
520 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
521 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
522 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
523 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
524 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
525 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
526 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
527 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
528 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
529
975569d0
JM
5302013-10-03 Joseph Myers <joseph@codesourcery.com>
531
d3d23756
JM
532 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
533 page size instead of calling getpagesize.
534
975569d0
JM
535 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
536 (LOCFILE_ALIGN_MASK): Likewise.
537 (LOCFILE_ALIGN_UP): Likewise.
538 (LOCFILE_ALIGNED_P): Likewise.
539 * locale/programs/ld-collate.c (collate_output): Use the new
540 macros instead of __alignof__ (int32_t).
541 * locale/weight.h (findidx): Likewise.
542
b1fe1f2b
OB
5432013-10-03 Ondřej Bílka <neleai@seznam.cz>
544
545 [BZ #431]
546 * manual/string.texi: Fix strncat and wcsncat.
547
5f855e35
BM
5482013-10-03 Brooks Moses <bmoses@google.com>
549
550 [BZ #15915]
551 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
552 * Makerules: ...here, and adjust associated comments.
553
3cef6009
WN
5542013-10-02 Will Newton <will.newton@linaro.org>
555
556 * malloc/Makefile: Add tst-pvalloc.
557 * malloc/tst-pvalloc.c: New file.
558
7815420b
WN
5592013-10-02 Will Newton <will.newton@linaro.org>
560
561 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
562 improve test coverage.
563
4868b204
WN
5642013-10-02 Will Newton <will.newton@linaro.org>
565
566 * malloc/Makefile: Add tst-posix_memalign.
567 * malloc/tst-posix_memalign.c: New file.
568
29c793b3
EB
5692013-10-01 Eric Blake <eblake@redhat.com>
570
571 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
572 Use __THROWNL rather than __THROW on static functions.
573
fd967522
PM
5742013-09-30 Petr Machata <pmachata@redhat.com>
575
576 * elf/elf.h (R_AARCH64_ABS16): New macro.
577 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
578 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
579 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
580 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
581 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
582 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
583 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
584 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
585 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
586 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
587 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
588 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
589 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
590 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
591 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
592 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
593 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
594 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
595 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
596 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
597 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
598 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
599 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
600 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
601 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
602 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
603 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
604 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
605 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
606 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
607 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
608 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
609 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
610 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
611 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
612 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
613 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
614 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
615 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
616 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
617 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
618 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
619 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
620 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
621 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
622 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
623 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
624 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
625 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
626 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
627 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
628 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
629 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
630 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
631 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
632 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
633 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
634 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
635 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
636 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
637 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
638 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
639 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
640 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
641 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
642 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
643 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
644 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
645 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
646 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
647 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
648 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
649 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
650 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
651 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
652 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
653 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
654 (R_AARCH64_TLSDESC_LDR): Likewise.
655 (R_AARCH64_TLSDESC_ADD): Likewise.
656 (R_AARCH64_TLSDESC_CALL): Likewise.
657
b2179107
AS
6582013-09-30 Andreas Schwab <schwab@suse.de>
659
660 [BZ #15048]
661 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
662 the nss database lookup.
663 * nscd/initgrcache.c (addinitgroupsX): Likewise.
664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
665
47f28d0a
MF
6662013-09-28 Mike Frysinger <vapier@gentoo.org>
667
668 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
669
6702013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
671
672 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
673 ${Bash-specific parameter/pattern/string} parameter expansion.
674 * sysdeps/unix/make-syscalls.sh: Likewise.
675
f4518a17
KK
6762013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
677
678 * sysdeps/sh/stackguard-macros.h: New file.
679
dc1a95c7
OB
6802013-09-26 Ondřej Bílka <neleai@seznam.cz>
681
682 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
683 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
684 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
685 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
686 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
687 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
688
5ebbff8f
AZ
6892013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
690
691 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
692 Fix thread ID register.
693
4fd2cf9f
JM
6942013-09-25 Joseph Myers <joseph@codesourcery.com>
695
696 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
697 [POSIX || UNIX98]: Require rather than permitting all symbols from
698 <time.h>.
699 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
700 element of struct sched_param.
701 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
702 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
703 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
704 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
705 constant.
706
12c22bc4
OL
7072013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
708
709 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
710 argument calculation.
711
a03d8ea7
JM
7122013-09-24 Joseph Myers <joseph@codesourcery.com>
713
714 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
715 Expect macro.
716 [POSIX] (pthread_attr_t): Do not require type.
717 [POSIX] (pthread_cond_t): Likewise.
718 [POSIX] (pthread_condattr_t): Likewise.
719 [POSIX] (pthread_key_t): Likewise.
720 [POSIX] (pthread_mutex_t): Likewise.
721 [POSIX] (pthread_mutexattr_t): Likewise.
722 [POSIX] (pthread_once_t): Likewise.
723 [POSIX] (pthread_t): Likewise.
724 [POSIX-based standards] (pthread_atfork): Expect function.
725
6055173a
JM
7262013-09-24 Joseph Myers <joseph@codesourcery.com>
727 Richard Sandiford <richard@codesourcery.com>
728
729 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
730 (swap_endianness_p): New extern variable.
731 (set_big_endian): New inline function.
732 (maybe_swap_uint32): Likewise.
733 (maybe_swap_uint32_array): Likewise.
734 (maybe_swap_uint32_obstack): Likewise.
735 * locale/programs/locfile.c: Include <stdbool.h>.
736 (swap_endianness_p): New variable.
737 (add_locale_uint32): Call maybe_swap_uint32.
738 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
739 (write_locale_data): Call maybe_swap_uint32_array.
740 * locale/programs/ld-collate.c (obstack_int32_grow): Call
741 maybe_swap_uint32.
742 (obstack_int32_grow_fast): Likewise.
743 (output_weightwc): Call maybe_swap_uint32_obstack.
744 (collate_output): Likewise.
745 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
746 (OPT_LITTLE_ENDIAN): Likewise.
747 (options): Add --little-endian and --big-endian options.
748 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
749 * locale/programs/locarchive.c: Include "locfile.h".
750 (GET): New macro.
751 (SET): Likewise.
752 (INC): Likewise.
753 (create_archive): Use the new macros to access fields of
754 structures directly mapped from or written to locale archives.
755 (oldlocrecentcmp): Likewise.
756 (enlarge_archive): Likewise.
757 (insert_name): Likewise.
758 (add_alias): Likewise.
759 (add_locale): Likewise.
760 (delete_locales_from_archive): Likewise.
761 (show_archive_content): Likewise.
762 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
763 locale data.
764
39bf0bb4
RM
7652013-09-24 Roland McGrath <roland@hack.frob.com>
766
767 * manual/freemanuals.texi: Updated from (newly) canonical copy at
768 http://www.gnu.org/doc/freemanuals.texi.
769 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
770
f02eed10
WN
7712013-09-24 Will Newton <will.newton@linaro.org>
772
773 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
774 macro.
775
a3a6c312
JM
7762013-09-23 Joseph Myers <joseph@codesourcery.com>
777
778 * locale/hashval.h (compute_hashval): Interpret bytes of key as
779 unsigned char.
780
107375ac
MR
7812013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
782
783 * manual/threads.texi (POSIX Threads): Fix a typo.
784
141f3a77
SP
7852013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
786
303e567a
SP
787 [BZ #14547]
788 * string/tst-strcoll-overflow.c: New test case.
789 * string/Makefile (xtests): Add tst-strcoll-overflow.
790 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
791 cache if string sizes may cause integer overflow.
792
141f3a77
SP
793 [BZ #14547]
794 * string/strcoll_l.c (coll_seq): New members rule, idx,
795 save_idx and back_us.
796 (get_next_seq_nocache): New function.
797 (do_compare_nocache): New function.
798 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
799 when malloc fails.
800
c61b4d41
CD
8012013-09-23 Carlos O'Donell <carlos@redhat.com>
802
0b1f8e35
CD
803 [BZ #15754]
804 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
805 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
806 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
807
c61b4d41
CD
808 [BZ #15754]
809 * elf/Makefile (tests): Add tst-ptrguard1.
810 (tests-static): Add tst-ptrguard1-static.
811 (tst-ptrguard1-ARGS): Define.
812 (tst-ptrguard1-static-ARGS): Define.
813 * elf/tst-ptrguard1.c: New file.
814 * elf/tst-ptrguard1-static.c: New file.
815 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
816 * sysdeps/i386/stackguard-macros.h: Likewise.
817 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
818 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
819 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
820 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
821 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
822 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
823
8242013-09-23 Hector Marco <hecmargi@upv.es>
825 Ismael Ripoll <iripoll@disca.upv.es>
826 Carlos O'Donell <carlos@redhat.com>
827
828 [BZ #15754]
829 * sysdeps/generic/stackguard-macros.h: Define
830 __pointer_chk_guard_local and POINTER_CHK_GUARD.
831 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
832 Define __pointer_chk_guard_local.
833 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
834 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
835
f5f4e7b4
VV
8362013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
837
838 [BZ #15859]
839 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
840
5bb43a43
AS
8412013-09-20 Andreas Schwab <schwab@linux-m68k.org>
842
843 * include/string.h (__ffs): Declare as hidden.
844 * string/ffs.c (__ffs): Define as hidden.
845 * sysdeps/i386/ffs.c (__ffs): Likewise.
846 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
847 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
848 * sysdeps/s390/ffs.c (__ffs): Likewise.
849 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
850
3ea5be54
AO
8512013-09-20 Alexandre Oliva <aoliva@redhat.com>
852
ffb89e53
AO
853 * NEWS: Mention malloc probes.
854
322dea08
AO
855 * malloc/arena.c (new_heap): New memory_heap_new probe.
856 (grow_heap): New memory_heap_more probe.
857 (shrink_heap): New memory_heap_less probe.
858 (heap_trim): New memory_heap_free probe.
859 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
860 (systrim): New memory_sbrk_less probe.
861 * manual/probes.texi: Document them.
862
655673f3
AO
863 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
864 * manual/probes.texi: Document it.
865
35fed6f1
AO
866 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
867 (__libc_realloc): Add memory_realloc_retry probe.
868 (__libc_memalign): Add memory_memalign_retry probe.
869 (__libc_valloc): Add memory_valloc_retry probe.
870 (__libc_pvalloc): Add memory_pvalloc_retry probe.
871 (__libc_calloc): Add memory_calloc_retry probe.
872 * manual/probes.texi: Document them.
873
6999d38c
AO
874 * malloc/arena.c (get_free_list): Add probe
875 memory_arena_reuse_free_list.
876 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
877 and memory_arena_reuse.
878 (arena_get2) [!PER_THREAD]: Likewise.
879 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
880 memory_arena_reuse_realloc.
881 * manual/probes.texi: Document them.
882
0653427f
AO
883 * malloc/malloc.c (__libc_free): Add
884 memory_mallopt_free_dyn_thresholds probe.
885 (__libc_mallopt): Add multiple memory_mallopt probes.
886 * manual/probes.texi: Document them.
887
3ea5be54
AO
888 * malloc/malloc.c: Include stap-probe.h.
889 (__libc_mallopt): Add memory_mallopt probe.
890 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
891 * manual/probes.texi: New.
892 * manual/Makefile (chapters): Add probes.
893 * manual/threads.texi: Set next node.
894
e35696c3 8952013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 896
e35696c3
CL
897 [BZ #15963, #13985]
898 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
899 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
900 Add `Chinese' to `nan' entry name.
901
4aafb73c
SP
9022013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
903
904 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
905 (POLYNOMIAL): Likewise.
906 (TAYLOR_SINCOS): Likewise.
907 (TAYLOR_SLOW): Likewise.
908 (__sin): Use TAYLOR_SINCOS.
909 (__cos): Likewise.
910 (slow): Use TAYLOR_SLOW.
911 (sloww): Likewise.
912 (bsloww): Likewise.
913 (csloww): Likewise.
914
d84f25c7
LD
9152013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
916
917 * stdlib/strtod_l.c: Fix buffer overrun.
918
5eea0404
SP
9192013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
920
7849ff93
SP
921 * benchtests/Makefile (bench): Add sincos.
922 * benchtests/bench-sincos.c: New file.
923
cfa3c886
SP
924 * math/libm-test.inc (cos_test_data): New test inputs.
925 (sin_test_data): Likewise.
926
b348e1e3
SP
927 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
928 macro.
929 (__sin): Use it.
930 (__cos): Likewise.
931 (slow1): Likewise.
932 (slow2): Likewise.
933 (sloww1): Likewise.
934 (sloww2): Likewise.
935 (bsloww1): Likewise.
936 (bsloww2): Likewise.
937 (cslow2): Likewise.
938 (csloww1): Likewise.
939 (csloww2): Likewise.
940
6cce25f8
SP
941 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
942 function.
943 (__sin): Use it.
944 (__cos): Likewise.
945
5eea0404
SP
946 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
947 gotos.
948 (__cos): Likewise.
949
9c21573c
MR
9502013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
951
952 * config.h.in (HAVE_MIPS_NAN2008): New macro.
953 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
954 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
955 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
956 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
957 * elf/cache.c (print_entry): Handle the new cache flags.
958
24d22e65
JM
9592013-09-18 Joseph Myers <joseph@codesourcery.com>
960 Aldy Hernandez <aldyh@redhat.com>
961
962 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
963 Change condition to [_SOFT_FLOAT].
964 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
968 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
970 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
972 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
973 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
974 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
975 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
976 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
977 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
978 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
979 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
980 declaration.
981
d13ef066
JM
9822013-09-18 Joseph Myers <joseph@codesourcery.com>
983
2e071de0
JM
984 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
985 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
986 (__longjmp): Use LOAD_GP to load saved GPRs.
987 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
988 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
989 (__sigsetjmp): Use SAVE_GP to save GPRs.
990
d13ef066
JM
991 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
992 Do not append -msoft-float.
993 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
994
97a0650b
SP
9952013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
996
997 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
998
11ca09e9
JM
9992013-09-17 Joseph Myers <joseph@codesourcery.com>
1000
1001 [BZ #15966]
1002 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1003 (_FPU_GETCW): Use initial "__" on variable and field names but not
1004 on macro parameter name.
1005 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1006 parentheses around reference to macro parameter.
1007
08ffcf34
RS
10082013-09-13 Richard Sandiford <richard@codesourcery.com>
1009
1010 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1011 prototype.
1012 (ctype_startup): Use uint32_t in cast and sizeof for
1013 ctype->charnames.
1014
ae7080d3
JL
10152013-09-11 Jia Liu <proljc@gmail.com>
1016
1017 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1018 __daddr_t_defined.
1019 [__FreeBSD__]: Likewise.
1020
5905e7b3
OB
10212013-09-11 Ondřej Bílka <neleai@seznam.cz>
1022
1023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1024 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1025 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1026 (strchr): Remove __strchr_sse42 ifunc selection.
1027 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1028 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1029
b987c776
WN
10302013-09-11 Will Newton <will.newton@linaro.org>
1031
1032 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1033 parameter to RES. Remove hardcoded 1000 value.
1034 * benchtests/bench-skeleton.c (main): Pass RES parameter
1035 to TIMING_INIT and multiply result by 1000.
1036
ddf985af
AZ
10372013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1038
1039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1040
ffdd3181
AS
10412013-09-11 Andreas Schwab <schwab@suse.de>
1042
1043 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1044 if not defined.
1045 (O_TMPFILE) [__USE_GNU]: Define.
1046 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1047 Define.
1048
b73ed247
WN
10492013-09-11 Will Newton <will.newton@linaro.org>
1050
1051 [BZ #15857]
1052 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1053 does not overflow.
1054
55e17aad
WN
10552013-09-11 Will Newton <will.newton@linaro.org>
1056
1057 [BZ #15856]
1058 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1059 does not overflow.
1060
1159a193
WN
10612013-09-11 Will Newton <will.newton@linaro.org>
1062
1063 [BZ #15855]
1064 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1065 does not overflow.
1066
5905e7b3 10672013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
1068
1069 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1070 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1071 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1072 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1073 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1074
cdfc721b
AM
10752013-09-10 Allan McRae <allan@archlinux.org>
1076
aa04af00
AM
1077 [BZ #15748]
1078 * manual/arith.texi (Parsing of Floats): Clarify
1079 cross-reference.
1080
cdfc721b
AM
1081 [BZ #15849]
1082 * manual/install.texi (Running make install): Mention
1083 --enable-pt-chown.
1084 * INSTALL: Regenerated.
1085
95e7cf29
MR
10862013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1087
1088 * csu/init-first.c (_init): Remove the !SHARED condition around
1089 FPU control word initialization.
1090 * elf/dl-support.c (_dl_fpu_control): New variable.
1091 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1092 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1093 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1094 * math/test-fpucw-static.c: New file.
1095 * math/test-fpucw-ieee.c: New file.
1096 * math/test-fpucw-ieee-static.c: New file.
1097 * math/Makefile (tests): Add `test-fpucw-ieee' and
1098 `$(tests-static)'.
1099 (tests-static): New variable.
1100 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1101 dependency to...
1102 [($(build-shared),yes)]
1103 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1104 ... this.
1105 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1106 New dependency.
1107
83e43bf0
AM
11082013-09-09 Allan McRae <allan@archlinux.org>
1109
a9f5ce09
AM
1110 [BZ #15939]
1111 * manual/string.texi (Collation Functions): Fix typo in
1112 strcoll example.
1113 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1114
34829bc2
AM
1115 [BZ #15893]
1116 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1117
3932737d
AM
1118 [BZ #15892]
1119 * libio/memstream.c (open_memstream): Fix memory leak.
1120 * libio/wmemstream.c (open_wmemstream): Likewise.
1121
83e43bf0
AM
1122 [BZ #15895]
1123 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1124
0c66b8e9
WN
11252013-09-09 Will Newton <will.newton@linaro.org>
1126
1127 * malloc/Makefile: Add tst-realloc to tests.
1128 * malloc/tst-realloc.c: New file.
1129
f6b00fd1
AM
11302013-09-09 Allan McRae <allan@archlinux.org>
1131
1132 [BZ #15844]
1133 * COPYING: Update from GNU website to fix FSF address.
1134 * COPYING.LIB: Likewise.
1135
eec55e16
DM
11362013-09-06 David S. Miller <davem@davemloft.net>
1137
1138 * po/zh_TW.po: Update Chinese (traditional) translation from
1139 translation project.
1140
1ecbb381
RS
11412013-09-06 Richard Sandiford <richard@codesourcery.com>
1142 Joseph Myers <joseph@codesourcery.com>
1143
1144 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1145 "localeinfo.h".
1146 (obstack_chunk_alloc): New macro.
1147 (obstack_chunk_free): Likewise.
1148 (record_offset): New function.
1149 (init_locale_data): Likewise.
1150 (align_locale_data): Likewise.
1151 (add_locale_empty): Likewise.
1152 (add_locale_raw_data): Likewise.
1153 (add_locale_raw_obstack): Likewise.
1154 (add_locale_string): Likewise.
1155 (add_locale_wstring): Likewise.
1156 (add_locale_uint32): Likewise.
1157 (add_locale_uint32_array): Likewise.
1158 (add_locale_char): Likewise.
1159 (start_locale_structure): Likewise.
1160 (end_locale_structure): Likewise.
1161 (start_locale_prelude): Likewise.
1162 (end_locale_prelude): Likewise.
1163 (write_locale_data): Take locale_file structure rather than an
1164 iovec.
1165 * locale/programs/locfile.h: Include "obstack.h".
1166 (struct locale_file): Change to store locale file contents instead
1167 of header.
1168 (init_locale_data): New prototype.
1169 (align_locale_data): Likewise.
1170 (add_locale_empty): Likewise.
1171 (add_locale_raw_data): Likewise.
1172 (add_locale_raw_obstack): Likewise.
1173 (add_locale_string): Likewise.
1174 (add_locale_wstring): Likewise.
1175 (add_locale_uint32): Likewise.
1176 (add_locale_uint32_array): Likewise.
1177 (add_locale_char): Likewise.
1178 (start_locale_structure): Likewise.
1179 (end_locale_structure): Likewise.
1180 (start_locale_prelude): Likewise.
1181 (end_locale_prelude): Likewise.
1182 (write_locale_data): Update prototype.
1183 * locale/programs/3level.h (struct TABLE): Remove result field.
1184 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1185 Use new locale_file interface.
1186 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1187 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1188 * locale/programs/ld-address.c (address_output): Use new
1189 locale_file interface.
1190 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1191 NO_ADD_LOCALE.
1192 (collate_finish): Don't call collseq_table_finalize.
1193 (collate_output): Use new locale_file interface.
1194 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1195 in file.
1196 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1197 (TABLE): Move defines earlier in file.
1198 (ELEMENT): Likewise.
1199 (DEFAULT): Likewise.
1200 (wctrans_table_add): Move macro and inline function earlier in
1201 file.
1202 (struct wctype_table): Move type earlier in file.
1203 (add_locale_wctype_table): New static prototype.
1204 (struct locale_ctype_t): Use logical types instead of struct iovec
1205 pointers for members.
1206 (ctype_output): Use new locale_file interface.
1207 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1208 new locale_file interface.
1209 (allocate_arrays): Update for use of new locale_file interface.
1210 * locale/programs/ld-identification.c (identification_output): Use
1211 new locale_file interface.
1212 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1213 * locale/programs/ld-messages.c (messages_output): Likewise.
1214 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1215 * locale/programs/ld-name.c (name_output): Likewise.
1216 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1217 * locale/programs/ld-paper.c (paper_output): Likewise.
1218 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1219 * locale/programs/ld-time.c (time_output): Likewise.
1220
e029e2e5
AZ
12212013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1222
1223 * benchtests/Makefile: Add memrchr benchmark.
1224 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1225 benchmark as memrchr.
1226 * benchtests/bench-memrchr-ifunc.c: New file.
1227 * benchtests/bench-memrchr.c: New file.
1228
bbf6e8e4
WN
12292013-09-06 Will Newton <will.newton@linaro.org>
1230
1231 * benchtests/Makefile (string-bench): Add memcpy.
1232
6c82a2f8
CD
12332013-09-05 Carlos O'Donell <carlos@redhat.com>
1234 Cong Wang <amwang@redhat.com>
1235
1236 * sysdeps/unix/sysv/linux/bits/in.h
1237 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1238 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1239 before __USE_KERNEL_IPV6_DEFS uses.
1240 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1241 IPPROTO_BEETPH.
1242 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1243 sockaddr_in6, or ipv6_mreq.
1244
5430fc65
AZ
12452013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1246
1247 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1248 memory access for final bytes in some large inputs.
1249 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1250
4660856c
AZ
12512013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1252
1253 * string/test-memrchr.c: New file.
1254 * string/test-memrchr-ifunc.c: New file.
1255 * string/Makefile: Add new memrchr testcase.
1256
bb8ea713
MF
12572013-09-05 Mike Frysinger <vapier@gentoo.org>
1258
1259 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1260 fanotify_init returns EPERM.
1261
b92a20b5
JM
12622013-09-04 Joseph Myers <joseph@codesourcery.com>
1263
1264 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1265 errors.
1266 (top level): Treat second token from macro or constant entries for
1267 allowed headers as allowed.
1268 * include/complex.h: Condition internal declarations on
1269 [!_ISOMAC].
1270 * include/fenv.h: Condition include of <stdbool.h> and internal
1271 declarations on [!_ISOMAC].
7447ccd9
CL
1272
12732013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1274
3e181dda 1275 [BZ #15923]
7447ccd9
CL
1276 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1277
3f2e46a4
JM
12782013-09-04 Joseph Myers <joseph@codesourcery.com>
1279
1280 * configure.in (--enable-versioning): Remove configure option.
1281 (libc_cv_asm_symver_directive): Remove configure test.
1282 (libc_cv_ld_version_script_option): Likewise.
1283 (VERSIONING): Remove variable and AC_SUBST.
1284 (DO_VERSIONING): Remove AC_DEFINE.
1285 * configure: Regenerated.
1286 * config.h.in (DO_VERSIONING): Remove macro.
1287 * Makerules [$(versioning) = yes]: Change conditionals to
1288 [$(build-shared) = yes].
1289 * config.make.in (versioning): Remove variable.
1290 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1291 [$(build-shared) = yes].
1292 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1293 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1294 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1295 [$(build-shared) = yes].
1296 * extra-lib.mk [$(versioning) = yes]: Likewise.
1297 * hurd/Makefile [$(versioning) = yes]: Likewise.
1298 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1299 [SHARED].
1300 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1301 [SHARED].
1302 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1303 [SHARED && !NO_HIDDEN].
1304 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1305 [SHARED].
1306 [SHARED && DO_VERSIONING]: Likewise..
1307 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1308 [$(build-shared) = yes].
1309 * manual/install.texi (--disable-versioning): Remove
1310 documentation.
1311 * INSTALL: Regenerated.
1312 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1313 to [SHARED].
1314 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1315 [$(build-shared) = yes].
1316 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1317 * sysdeps/i386/i686/multiarch/strstr-c.c
1318 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1319 [SHARED && !NO_HIDDEN].
1320 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1321 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1322 * sysdeps/powerpc/powerpc32/dl-machine.c
1323 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1324 * sysdeps/powerpc/powerpc32/sysdep.h
1325 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1326 to [SHARED && PIC && !NO_HIDDEN].
1327 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1328 conditional to [SHARED].
1329
44558701
WN
13302013-09-04 Will Newton <will.newton@linaro.org>
1331
1332 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1333 * benchtests/bench-string.h: Include bench-timing.h instead
1334 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1335 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1336 call to HP_TIMING_DIFF_INIT.
1337 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1338 instead of hp-timing.h macros.
1339 * benchtests/bench-memchr.c: Likewise.
1340 * benchtests/bench-memcmp.c: Likewise.
1341 * benchtests/bench-memcpy.c: Likewise.
1342 * benchtests/bench-memmem.c: Likewise.
1343 * benchtests/bench-memmove.c: Likewise.
1344 * benchtests/bench-memset.c: Likewise.
1345 * benchtests/bench-rawmemchr.c: Likewise.
1346 * benchtests/bench-strcasecmp.c: Likewise.
1347 * benchtests/bench-strcasestr.c: Likewise.
1348 * benchtests/bench-strcat.c: Likewise.
1349 * benchtests/bench-strchr.c: Likewise.
1350 * benchtests/bench-strcmp.c: Likewise.
1351 * benchtests/bench-strcpy.c: Likewise.
1352 * benchtests/bench-strcpy_chk.c: Likewise.
1353 * benchtests/bench-strlen.c: Likewise.
1354 * benchtests/bench-strncasecmp.c: Likewise.
1355 * benchtests/bench-strncat.c: Likewise.
1356 * benchtests/bench-strncmp.c: Likewise.
1357 * benchtests/bench-strncpy.c: Likewise.
1358 * benchtests/bench-strnlen.c: Likewise.
1359 * benchtests/bench-strpbrk.c: Likewise.
1360 * benchtests/bench-strrchr.c: Likewise.
1361 * benchtests/bench-strspn.c: Likewise.
1362 * benchtests/bench-strstr.c: Likewise.
1363
cae16d66
WN
13642013-09-04 Will Newton <will.newton@linaro.org>
1365
1366 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1367
ffa3cd7f
JM
13682013-09-03 Joseph Myers <joseph@codesourcery.com>
1369
1370 [BZ #15427]
1371 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1372 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1373 * math/libm-test.inc (lgamma_test_data): Add more tests.
1374 * sysdeps/i386/fpu/libm-test-ulps: Update.
1375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1376
8f02859f
OB
13772013-09-03 Ondřej Bílka <neleai@seznam.cz>
1378
1379 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1380 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1381 Add ifunc.
1382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1383 Add strcmp-sse2-unaligned
1384 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1385
18d43716
MF
13862013-09-02 Mike Frysinger <vapier@gentoo.org>
1387
1388 * Versions.def (libc): Add GLIBC_2.19.
1389
ac444012
MF
13902013-09-02 Mike Frysinger <vapier@gentoo.org>
1391
1392 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1393 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1394
b7835e32
JM
13952013-09-02 Joseph Myers <joseph@codesourcery.com>
1396
1397 [BZ #14155]
1398 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1399 intermediate calculations in recurrence.
1400 (__ieee754_ynf): Likewise.
1401 * math/libm-test.inc (jn_test_data): Do not allow spurious
1402 underflow exception. Add more tests.
1403 (yn_test_data): Add more tests.
1404 * sysdeps/i386/fpu/libm-test-ulps: Update.
1405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1406
8220f4f0
OB
14072013-09-02 Ondřej Bílka <neleai@seznam.cz>
1408
1409 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1410
f24a6d08
OB
14112013-08-30 Ondřej Bílka <neleai@seznam.cz>
1412
1413 * csu/init-first.c: Fix then/than typos.
1414 * locale/programs/ld-collate.c: Likewise.
1415 * locale/programs/linereader.h: Likewise.
1416 * manual/charset.texi: Likewise.
1417 * manual/filesys.texi: Likewise.
1418 * manual/stdio.texi: Likewise.
1419 * manual/string.texi: Likewise.
1420 * stdlib/fmtmsg.c: Likewise.
1421 * sysdeps/i386/stpncpy.S: Likewise.
1422 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1423 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1424 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1425 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1426
382466e0
OB
14272013-08-30 Ondřej Bílka <neleai@seznam.cz>
1428
1429 * elf/dl-open.c: Fix typos.
1430 * iconvdata/gbbig5.c: Likewise.
1431 * iconvdata/iso-2022-jp.c: Likewise.
1432 * iconv/gconv_int.h: Likewise.
1433 * iconv/loop.c: Likewise.
1434 * nis/rpcsvc/nis.h: Likewise.
1435 * resolv/ns_name.c: Likewise.
1436 * stdio-common/vfscanf.c: Likewise.
1437 * streams/stropts.h: Likewise.
1438 * sunrpc/rpc_thread.c: Likewise.
1439 * sysdeps/i386/strpbrk.S: Likewise.
1440 * sysdeps/ieee754/k_standard.c: Likewise.
1441 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1442 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1443 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1444 * sysdeps/mach/hurd/profil.c: Likewise.
1445 * sysdeps/s390/dl-procinfo.h: Likewise.
1446 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1447 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1448 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1449 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1450 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1451
0186c6e9
OB
14522013-08-30 Ondřej Bílka <neleai@seznam.cz>
1453
1454 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1455 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1456
d4e16af1
OB
14572013-08-29 Ondřej Bílka <neleai@seznam.cz>
1458
1459 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1460 aix specific files.
1461 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1462 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1463 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1464 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1465 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1466 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1467 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1468 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1469
88335980
TS
14702013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1471 Roland McGrath <roland@hack.frob.com>
1472
1473 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1474 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1475
ed479b02
ST
14762013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1477
1478 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1479 __executable_start symbol instead of _start.
1480
f1cc4c86
TS
14812013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1482
d821f07c
TS
1483 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1484 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1485 Move macros to...
1486 * sysdeps/gnu/ldsodefs.h: ... this new file.
1487
c54290cf
TS
1488 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1489 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1490 instead of ELFOSABI_LINUX.
1491
0007fc9b 1492 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1493 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1494 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1495 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1496 Likewise.
1497 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1498 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1499 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1500 Likewise.
1501 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1502 (ibm_extended_long_double): Add ieee_nan member.
1503 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1504 (do_test): New function.
1505
f1cc4c86
TS
1506 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1507 TEST_TRUNC.
1508 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1509 functions, renamed from truncdfsf_test, trunctfsf_test,
1510 trunctfdf_test.
1511 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1512 functions.
1513 (do_test): Run all these.
1514
6f65e668
OB
15152013-08-29 Ondřej Bílka <neleai@seznam.cz>
1516
1517 * argp/argp-help.c: Fix typos.
1518 * argp/argp-parse.c: Likewise.
1519 * debug/backtracesyms.c: Likewise.
1520 * elf/elf.h: Likewise.
1521 * malloc/malloc.c: Likewise.
1522 * nis/nis_print.c: Likewise.
1523 * resolv/res_comp.c: Likewise.
1524 * stdlib/stdlib.h: Likewise.
1525 * sunrpc/clnt_tcp.c: Likewise.
1526 * sunrpc/clnt_udp.c: Likewise.
1527 * sunrpc/clnt_unix.c: Likewise.
1528 * sysdeps/unix/bsd/ptsname.c: Likewise.
1529 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1530 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1532 Likewise.
1533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1534 Likewise.
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1536 Likewise.
6f65e668
OB
1537 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1538
3a309239
SP
15392013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1540
1541 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1543
3b813b29
MF
15442013-08-27 Mike Frysinger <vapier@gentoo.org>
1545
1546 [BZ #15897]
1547 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1548 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1549 ($(objpfx)bug-dl-leaf): New rule.
1550 ($(objpfx)bug-dl-leaf.so): Likewise.
1551 ($(objpfx)bug-dl-leaf.out): Likewise.
1552 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1553 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1554 * dlfcn/bug-dl-leaf.c: New test.
1555 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1556 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1557 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1558 (dlclose): Likewise.
1559 (dlmopen): Likewise.
1560
8cc3269f
RM
15612013-08-27 Roland McGrath <roland@hack.frob.com>
1562
7f9d0034
RM
1563 * include/netdb.h [!_ISOMAC]:
1564 Don't include <tls.h>.
1565 (h_errno, __libc_h_errno): Move declaration and macros out of
1566 [_LIBC_REENTRANT].
1567
fb431262
RM
1568 * include/resolv.h [_RESOLV_H_]:
1569 Don't include <tls.h>.
1570 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1571 * resolv/res_libc.c: Don't include <tls.h>.
1572 (_res): Use __attribute__ ((nocommon)) in place of
1573 __attribute__ ((section (".bss"))).
1574
bd81123a
RM
1575 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1576 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1577
c4e42566
RM
1578 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1579
f890a59b
RM
1580 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1581 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1582
1583 * resolv/res_mkquery.c: Include <sys/time.h>.
1584
5d1f0a09
RM
1585 * inet/ifreq.c: Moved to ...
1586 * sysdeps/unix/ifreq.c: ... here.
1587 * inet/ifreq.c: New file, true stub version.
1588
6fcf28b3
RM
1589 * socket/sa_len.c: New file.
1590 * socket/Makefile (aux): Add it.
1591 * sysdeps/unix/sysv/linux/Makefile
1592 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1593 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1594 and #include <socket/sa_len.c>.
1595 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1596 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1597
e041fb8b
RM
1598 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1599 * bits/socket.h: ... here.
1600
8cc3269f
RM
1601 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1602 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1603 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1604
5d228a43
AS
16052013-08-27 Andreas Schwab <schwab@suse.de>
1606
45b8accc
AS
1607 [BZ #15736]
1608 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1609 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1610 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1611 * string/test-strcasecmp.c (test_main): Run tests in several
1612 locales.
1613 * string/test-strncasecmp.c (test_main): Likewise.
1614
5d228a43
AS
1615 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1616 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1617 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1618 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1619 (__strncasecmp_ssse3) [PIC]: Likewise.
1620
59d112a4
RM
16212013-08-26 Roland McGrath <roland@hack.frob.com>
1622
53234cc3
RM
1623 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1624
59d112a4
RM
1625 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1626 instead of explicitly declaring xdecrypt.
1627 * nis/nss_nis/nis-publickey.c: Likewise.
1628
595aba70
SP
16292013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1630
1631 [BZ #15890]
1632 * nscd/aicache.c: Include res_hconf.h.
1633 (addhstaiX): Initialize res_hconf.
1634
ffabd393
AS
16352013-08-26 Andreas Schwab <schwab@suse.de>
1636
1637 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1638 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1639
e0a69f5c
SP
16402013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1641
1642 * nscd/aicache.c (addhstaiX): Fix indentation.
1643
8c12f01d
MF
16442013-08-25 Mike Frysinger <vapier@gentoo.org>
1645
1646 * configure.ac: Quote $build_pt_chown test.
1647 * configure: Regenerated.
1648
8fe89494
JM
16492013-08-23 Joseph Myers <joseph@codesourcery.com>
1650
1651 [BZ #15532]
1652 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1653 * math/s_cexpf.c (__cexpf): Likewise.
1654 * math/s_cexpl.c (__cexpl): Likewise.
1655 * math/libm-test.inc (cexp_test_data): Correct expected return
1656 value for NaN + i0. Add another test.
1657
75b181d6
DM
16582013-08-22 David S. Miller <davem@davemloft.net>
1659
1660 * po/ca.po: Update Catalan translation from translation project.
936241e4 1661 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1662
acd06bb1
JM
16632013-08-21 Joseph Myers <joseph@codesourcery.com>
1664
1665 [BZ #15797]
1666 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1667 is infinite, not alongside NaN test.
1668 * math/s_fdimf.c (__fdimf): Likewise.
1669 * math/s_fdiml.c (__fdiml): Likewise.
1670 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1671 errno is unchanged.
1672
c0c3f78a
OB
16732013-08-21 Ondřej Bílka <neleai@seznam.cz>
1674
1675 * argp/argp-help.c: Fix typos.
1676 * crypt/speeds.c: Likewise.
1677 * csu/check_fds.c: Likewise.
1678 * elf/dl-load.c: Likewise.
1679 * elf/dl-open.c: Likewise.
1680 * elf/reldep3.c: Likewise.
1681 * elf/reldep.c: Likewise.
1682 * elf/sprof.c: Likewise.
1683 * iconv/iconv_charmap.c: Likewise.
1684 * iconv/skeleton.c: Likewise.
1685 * iconv/strtab.c: Likewise.
1686 * io/lockf64.c: Likewise.
1687 * libio/libioP.h: Likewise.
1688 * resolv/gai_notify.c: Likewise.
1689 * resolv/ns_name.c: Likewise.
1690 * resolv/ns_samedomain.c: Likewise.
1691 * resolv/res_send.c: Likewise.
1692 * stdlib/random.c: Likewise.
1693 * sunrpc/rpc/xdr.h: Likewise.
1694 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1695 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1696 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1697 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1698 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1699 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1700 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1701 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1702 * sysdeps/mach/hurd/check_fds.c: Likewise.
1703 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1704 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1705 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1706 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1707 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1708 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1709 * sysdeps/pthread/aio_notify.c: Likewise.
1710 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1711 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1712 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1713 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1714 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1715
46ed1038
LD
17162013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1717
1718 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1719 version if bit_Slow_SSE4_2 is set.
1720 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1721 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1722
d400dcac
AZ
17232013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1724
1725 [BZ #15867]
1726 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1727 trampoline stack frame information.
1728 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1729 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1730 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1731 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1732 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1733 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1734 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1735 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1736 sa_flags value.
1737 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1738 interrupting a syscall and set with option SA_SIGINFO.
1739
42c8fdd8
JM
17402013-08-20 Joseph Myers <joseph@codesourcery.com>
1741
c980f2f4
JM
1742 [BZ #15531]
1743 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1744 argument is infinite.
1745 * math/s_cprojf.c (__cprojf): Likewise.
1746 * math/s_cprojl.c (__cprojl): Likewise.
1747 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1748 * math/libm-test.inc (cproj_test_data): Add more tests.
1749
0716c4fc
JM
1750 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1751
42c8fdd8
JM
1752 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1753 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1754 size. Use __ffs to determine corresponding shift.
1755
b31469d0
JM
17562013-08-20 Joseph Myers <joseph@codesourcery.com>
1757 Roland McGrath <roland@hack.frob.com>
1758
1759 * Makefile (INSTALL): Remove trailing blank lines from output of
1760 makeinfo.
1761
4e39af6e
AK
17622013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1763
1764 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1765 Align 32 bit compat elf_greg to 8 bytes.
1766
f315524e
AA
17672013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1768
1769 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1770
1326ba1a
SP
17712013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1772
1773 * string/strcoll_l.c (coll_seq): New structure.
1774 (get_next_seq_cached): New function.
1775 (get_next_seq): New function.
1776 (do_compare): New function.
1777 (STRCOLL): Use GNU style definition. Simplify implementation
1778 by using get_next_seq, get_next_seq_cached and do_compare.
1779
91ce4085
FW
17802013-08-16 Florian Weimer <fweimer@redhat.com>
1781
1782 [BZ #14699]
1783 CVE-2013-4237
1784 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1785 member.
1786 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1787 member.
1788 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1789 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1790 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1791 conditional.
1792 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1793 GETDENTS_64BIT_ALIGNED.
1794 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1795 * manual/filesys.texi (Reading/Closing Directory): Document
1796 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1797 strongly.
1798 * manual/conf.texi (Limits for Files): Add portability note to
1799 NAME_MAX, PATH_MAX.
1800 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1801
ca0a6bc4
AS
18022013-08-13 Andreas Schwab <schwab@suse.de>
1803
1804 [BZ #15749]
1805 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1806 of fabs.
1807 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1808 LDBL_MAX_EXP >= 16384]: Add tests for it.
1809
6c1fd795
DM
18102013-08-12 David S. Miller <davem@davemloft.net>
1811
1812 * version.h (RELEASE): Set to "development".
1813 (VERSION): Set to "2.18.90".
1814 * NEWS: Add 2.19 section.
1815
31ad488d
DM
18162013-08-03 David S. Miller <davem@davemloft.net>
1817
1818 * po/ko.po: Update Korean translation from translation project.
1819
db24e684
DM
18202013-08-01 David S. Miller <davem@davemloft.net>
1821
1822 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1823 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1824 Bilka.
1825
f723285b
DM
18262013-07-30 David S. Miller <davem@davemloft.net>
1827
1828 * po/fr.po: Update French translation from translation project.
1829
3cbc52db
DM
18302013-07-28 David S. Miller <davem@davemloft.net>
1831
30bbc0cc
DM
1832 * po/cs.po: Update Czech translation from translation project.
1833
3cbc52db
DM
1834 * po/sv.po: Update Swedish translation from translation project.
1835
d492e6d0
DM
18362013-07-27 David S. Miller <davem@davemloft.net>
1837
f1a7f492
DM
1838 * po/eo.po: Update Esperanto translation from translation project.
1839
90e62a4a
DM
1840 * po/vi.po: Update Vietnamese translation from translation project.
1841
d492e6d0
DM
1842 * po/de.po: Update German translation from translation project.
1843
d4baa62d
DM
18442013-07-26 David S. Miller <davem@davemloft.net>
1845
641aa7b4
DM
1846 * po/bg.po: Update Bulgarian translation from translation project.
1847
d4baa62d
DM
1848 * po/nl.po: Update Dutch translation from translation project.
1849 * po/pl.po: Update Polish translation from translation project.
1850 * po/ru.po: Update Russian translation from translation project.
1851
61a9dcb9
DM
18522013-07-24 David S. Miller <davem@davemloft.net>
1853
1854 * po/libc.pot: Update.
1855
7b1f8b58
AZ
18562013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1857
1858 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1859 variable page size.
1860 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1861 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1862 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1863
a8fc7a03
AK
18642013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1865
1866 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1867
e4608715
CD
18682013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1869 Andreas Schwab <schwab@suse.de>
1870 Roland McGrath <roland@hack.frob.com>
1871 Joseph Myers <joseph@codesourcery.com>
1872 Carlos O'Donell <carlos@redhat.com>
1873
1874 [BZ #15755]
1875 * config.h.in: Define HAVE_PT_CHOWN.
1876 * config.make.in (build-pt-chown): New variable.
1877 * configure.in (--enable-pt_chown): New configure option.
1878 * configure: Regenerate.
1879 * login/Makefile: Include Makeconfig. Build pt_chown only if
1880 build-pt-chown is enabled.
1881 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1882 pt_chown to fix pty ownership.
1883 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1884 CLOSE_ALL_FDS.
1885 * manual/install.texi (Configuring and compiling): Mention
1886 --enable-pt_chown. Add @findex for grantpt.
1887 * INSTALL: Regenerate.
1888
da2d62df
DM
18892013-07-20 David S. Miller <davem@davemloft.net>
1890
1891 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1892 difference between 32-bit and 64-bit.
1893
d7e06450
CD
18942013-07-15 Carlos O'Donell <carlos@redhat.com>
1895
1896 [BZ #15711]
1897 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1898 Avoid system header dependency with -ffreestanding.
1899 ($(objpfx)bits/syscall%d): Likewise.
1900
f959cfd7
DM
19012013-07-13 David S. Miller <davem@davemloft.net>
1902
1903 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1904 underflows from atanl/atan2l due to bug 15319.
1905 (casinh_test_data): Likewise.
1906
c61f8513
DM
19072013-07-07 David S. Miller <davem@davemloft.net>
1908
1909 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1910
72c90ed0
JA
19112013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1912
1913 * sysdeps/i386/fpu/libm-test-ulps: Update.
1914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1915
52dfbe13
SP
19162013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1917
1918 * configure.in (--enable-lock-elision): Fix message text.
1919 * INSTALL: Regenerate.
1920 * configure: Regenerate.
1921
3f169543
AZ
19222013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1923
1924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1925
521c6785
AJ
19262013-07-03 Andreas Jaeger <aj@suse.de>
1927
1928 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1929 define.
1930 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1931 (ptrace_peeksiginfo_args): Add.
1932 (__ptrace_peeksiginfo_flags): Add.
1933 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1934 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1935 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1936
d2cc15cb
AM
19372013-07-03 Allan McRae <allan@archlinux.org>
1938
1939 * sysdeps/i386/fpu/libm-test-ulps: Update.
1940
3aaeeca7
DM
19412013-07-02 David S. Miller <davem@davemloft.net>
1942
1943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1944
5314ed1a
MT
19452013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1946
1947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1948
67338156
JM
19492013-07-02 Joseph Myers <joseph@codesourcery.com>
1950
1951 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1953
1717da59
AK
19542013-07-02 Andi Kleen <ak@linux.intel.com>
1955
1956 * config.h.in (ENABLE_LOCK_ELISION): Add.
1957 * configure.in (--enable-lock-elision): Add option.
1958 * manual/install.texi: Document --enable lock elision.
1959 * configure: Regenerate
1960 * INSTALL: Regenerate.
1961
1c81621c
L
19622013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1963
1964 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1965 SSE4.2 strcasecmp for libc.a.
1966 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1967
77f01ab5
JM
19682013-07-02 Joseph Myers <joseph@codesourcery.com>
1969
1970 [BZ #13304]
1971 * soft-fp/op-common.h (_FP_FMA): New macro.
1972 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1973 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1974 (_FP_MUL_MEAT_1_imm): ... here.
1975 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1976 (_FP_MUL_MEAT_1_wide): ... here.
1977 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1978 (_FP_MUL_MEAT_1_hard): ... here.
1979 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1980 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1981 (_FP_MUL_MEAT_2_wide): ... here.
1982 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1983 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1984 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1985 (_FP_MUL_MEAT_2_gmp): ... here.
1986 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1987 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1988 (_FP_MUL_MEAT_4_wide): ... here.
1989 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1990 (_FP_MUL_MEAT_4_gmp): ... here.
1991 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1992 (_FP_WFRACBITS_DW_S): Likewise.
1993 (_FP_WFRACXBITS_DW_S): Likewise.
1994 (_FP_HIGHBIT_DW_S): Likewise.
1995 (FP_FMA_S): Likewise.
1996 (_FP_FRAC_HIGH_DW_S): Likewise.
1997 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1998 (_FP_WFRACBITS_DW_D): Likewise.
1999 (_FP_WFRACXBITS_DW_D): Likewise.
2000 (_FP_HIGHBIT_DW_D): Likewise.
2001 (FP_FMA_D): Likewise.
2002 (_FP_FRAC_HIGH_DW_D): Likewise.
2003 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2004 (_FP_WFRACBITS_DW_E): Likewise.
2005 (_FP_WFRACXBITS_DW_E): Likewise.
2006 (_FP_HIGHBIT_DW_E): Likewise.
2007 (FP_FMA_E): Likewise.
2008 (_FP_FRAC_HIGH_DW_E): Likewise.
2009 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2010 (_FP_WFRACBITS_DW_Q): Likewise.
2011 (_FP_WFRACXBITS_DW_Q): Likewise.
2012 (_FP_HIGHBIT_DW_Q): Likewise.
2013 (FP_FMA_Q): Likewise.
2014 (_FP_FRAC_HIGH_DW_Q): Likewise.
2015 * soft-fp/fmasf4.c: New file.
2016 * soft-fp/fmadf4.c: Likewise.
2017 * soft-fp/fmatf4.c: Likewise.
2018
6308fd9a
LD
20192013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2020
2021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2022 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2023 Silvermont.
2024 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2025 macro.
2026 (index_Slow_SSE4_2): Likewise.
2027 (index_Prefer_PMINUB_for_stringop): Likewise.
2028 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2029 bit_Slow_SSE4_2 is set.
2030 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2031 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2032
89cd9569
RA
20332013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2034
2035 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2036 rtld_global._dl_hwcap2.
2037 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2038 POWER8.
2039 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2040 POWER8 feature descriptions defined in _dl_hwcap2.
2041 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2042 string handling for POWER8 feature bits.
2043 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2044 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2045 _dl_powerpc_cap_flags.
2046 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2047 * sysdeps/powerpc/rtld-global-offsets.sym
2048 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2049 _dl_hwcap2 in the rtld_global_ro structure.
2050
1ae8bfe0
RA
20512013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2052
2053 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2054 hardware capabilities in support of AT_HWCAP2.
2055 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2056 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2057 GLRO(dl_hwcap2).
2058 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2059 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2060 explicitly the unknown a_type display mechanism is used.
2061 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2062 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2063 struct member.
2064 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2065 to macro prototype for AT_HWCAP2 support.
2066 * sysdeps/i386/dl-procinfo.h: Likewise.
2067 * sysdeps/s390/dl-procinfo.h: Likewise.
2068 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2069 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2070 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2071 return -1 for unknown a_type display fallback.
2072 * sysdeps/sparc/dl-procinfo.h: Likewise.
2073 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2074 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2075
8fbec010
JM
20762013-06-28 Joseph Myers <joseph@codesourcery.com>
2077
2078 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2079 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2080
0432680e
PY
20812013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2082
2083 [BZ #12492]
2084 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2085 mprotect making __stack_prot writable.
2086
ce61a2ad
NF
20872013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2088 Joseph Myers <joseph@codesourcery.com>
2089
2090 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2091 as being properly aligned.
2092
f91f1c0f
MR
20932013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2094
3d0f5d0c
MR
2095 * dlfcn/modstatic5.c: New file.
2096 * dlfcn/tststatic5.c: New file.
2097 * dlfcn/Makefile (tests): Add tststatic5.
2098 (tests-static): Likewise.
2099 (modules-names): Add modstatic5.
2100 (tststatic5-ENV): New variable.
2101 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2102
f91f1c0f
MR
2103 [BZ #15022]
2104 * elf/dl-support.c (_dl_main_map): New variable.
2105 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2106 (_dl_nns, _dl_load_adds): Set to 1.
2107 (_dl_initial_searchlist): Refer to _dl_main_map.
2108 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2109 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2110 call to _dl_get_origin.
2111 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2112 around call_map.
2113 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2114 * dlfcn/modstatic3.c: New file.
2115 * dlfcn/tststatic3.c: New file.
2116 * dlfcn/tststatic4.c: New file.
2117 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2118 (tests-static): Likewise.
2119 (modules-names): Add modstatic3.
2120 (tststatic3-ENV, tststatic4-ENV): New variables.
2121 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2122 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2123
cbe7d24b
JM
21242013-06-26 Joseph Myers <joseph@codesourcery.com>
2125
2126 * configure.in (CC): Require GCC version 4.4 or later.
2127 * configure: Regenerated.
2128 * manual/install.texi (Tools for Compilation): Update GCC version
2129 requirement.
2130 * INSTALL: Regenerated.
2131
11b8a0e1
LD
21322013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2133
2134 [BZ #15674]
bb5bb87c
L
2135 * string/test-memcmp.c (check2): New.
2136 (main): Call check2.
2137
11b8a0e1
LD
2138 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2139
b0037103
MR
21402013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2141
2142 [BZ #15022]
2143 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2144 over to...
2145 (dl_open_worker) [!SHARED]: ... here.
2146
c18c701d
RA
21472013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2148
2149 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2150
1d17fa5f
RH
21512013-06-25 Richard Henderson <rth@redhat.com>
2152
2153 * locale/programs/locarchive.c: Include <libc-internal.h>
2154
8fcb833a
JM
21552013-06-25 Joseph Myers <joseph@codesourcery.com>
2156
2157 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2158 trailing whitespace removed.
2159
17db6e8d
MF
21602013-06-24 Mike Frysinger <vapier@gentoo.org>
2161
2162 [BZ #10283]
17db6e8d
MF
2163 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2164 * locale/programs/locarchive.c: Include libc-mmap.h.
2165 (prepare_address_space): Take two new outputs (the mmap base and len).
2166 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2167 values.
2168 (create_archive): Declare new mmap base and len values for
2169 prepare_address_space, and store the result in ah.
2170 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2171 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2172 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2173 Declare new mmap base and len values for
2174 prepare_address_space, and store the result in new_ah.
2175 (open_archive): Declare new mmap base and len values for
2176 prepare_address_space, and store the result in ah.
2177 (close_archive): If ah->mmap_base is not NULL, use that and
2178 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2179 * sysdeps/generic/libc-mmap.h: New file.
2180
d605071e
MF
21812013-06-24 Mike Frysinger <vapier@gentoo.org>
2182
2183 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2184 (ALIGN_UP): Likewise.
2185 (PTR_ALIGN_DOWN): Likewise.
2186 (PTR_ALIGN_UP): Likewise.
2187
2f063a6e
RA
21882013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2189
2190 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2191 entry mapped to PPC_PLATFORM_POWER8.
2192 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2193 POWER8.
2194 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2195 (_dl_string_platform): Add case for exporting platform position for
2196 POWER8.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2198 search path to sysdeps/powerpc/powerpc32/power8 directory.
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2200 search path to sysdeps/powerpc/powerpc64/power8 directory.
2201 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2202 power7 directories.
2203 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2204 power7 directories.
2205
a31ee4b3
SP
22062013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2207
a74ca98f
SP
2208 * INSTALL: Regenerate.
2209
a31ee4b3
SP
2210 * nscd/connections.c (nscd_init): Fix comment.
2211
695c378f
JM
22122013-06-22 Joseph Myers <joseph@codesourcery.com>
2213
d8412221
JM
2214 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2215
695c378f
JM
2216 [BZ #15667]
2217 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2218 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2219
d1d54715
MR
22202013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2221
2222 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2223 DL_DST_REQ_STATIC.
2224 (DL_DST_REQ_STATIC): Remove macro.
2225
8fdda7af
JM
22262013-06-21 Joseph Myers <joseph@codesourcery.com>
2227
2228 [BZ #7006]
2229 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2230 with a shift of 0 bits.
2231
f3bc5e5a
MR
22322013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2233
2234 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2235 $(tststatic-ENV).
2236
be09e8c9
KK
22372013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2238
2239 [BZ #15655]
2240 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2241
85c2e611
AZ
22422013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2243
2244 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2245 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2246 accepts -fno-tree-loop-distribute-patterns.
2247 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2248 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2249 recursive call.
2250 * string/memset.c (memset): Likewise.
2251 * string/test-memmove.c (simple_memmove): Disable loop transformation
2252 to library calls.
2253 * string/test-memset.c (simple_memset): Likewise.
2254 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2255 * benchtests/bench-memset.c (simple_memset): Likewise.
2256 * configure: Regenerated.
2257
c91e0825
JM
22582013-06-20 Joseph Myers <joseph@codesourcery.com>
2259
b8c792af
JM
2260 * math/test-misc.c (main): Ignore fesetround failure when failures
2261 of subsequent rounding tests would be ignored.
2262
c91e0825
JM
2263 [BZ #15654]
2264 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2265 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2266 * math/fegetenv.c (__fegetenv): Return 0.
2267 * math/fegetexcept.c (fegetexcept): Return 0.
2268 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2269 FE_TONEAREST.
2270 * math/feholdexcpt.c (feholdexcept): Return 0.
2271 * math/fesetenv.c (__fesetenv): Return 0.
2272 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2273 argument FE_TONEAREST.
2274 * math/feupdateenv.c (__feupdateenv): Return 0.
2275 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2276
bfcacbde
RM
22772013-06-18 Roland McGrath <roland@hack.frob.com>
2278
2279 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2280 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2281 ($(objpfx)rtld-%.os rules): Use them.
2282
e55a9b25
AZ
22832013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2284
2285 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2286 fields.
2287
346d65b3
RM
22882013-06-17 Roland McGrath <roland@hack.frob.com>
2289
12086fb4
RM
2290 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2291 length of target pattern, then descending length of dependency pattern.
2292 * configure.in (AWK): Require gawk 3.1.2 or newer.
2293 * manual/install.texi (Tools for Compilation): Say that we do.
2294 * configure: Regenerated.
2295
346d65b3
RM
2296 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2297 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2298 * scripts/sysd-rules.awk: ... this new script.
2299 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2300 than a glob-style pattern.
2301
1a846317
JM
23022013-06-17 Joseph Myers <joseph@codesourcery.com>
2303
2304 * math/test-misc.c (main): Do not treat incorrectly rounded
2305 conversions as failure unless ROUNDING_TESTS passes.
2306
8fc75e6f
JM
23072013-06-15 Joseph Myers <joseph@codesourcery.com>
2308
3711a167
JM
2309 [BZ #15631]
2310 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2311 restore exception state around main square root computation, then
2312 check for inexactness explicitly.
2313
8fc75e6f
JM
2314 * math/libm-test.inc (fma_test_data): Add another test.
2315
61dd6208
SP
23162013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2317
adf23d2c
SP
2318 * manual/threads.texi (Non-POSIX Extensions): New document
2319 node. Document pthread_getattr_default_np and
2320 pthread_setattr_default_np.
2321
61dd6208
SP
2322 * Versions.def (libpthread): Add GLIBC_2.18.
2323 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2325 Likewise.
2326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2327 Likewise.
2328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2329 Likewise.
2330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2331 Likewise.
2332 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2333 Likewise.
2334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2335 Likewise.
2336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2337 Likewise.
2338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2339 Likewise.
2340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2341 Likewise.
2342
d086fc7b
LD
23432013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2344
2345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2346 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2347
747ef469
SP
23482013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2349 H.J. Lu <hjl.tools@gmail.com>
2350
2351 [BZ #15627]
2352 * sysdeps/x86_64/rtld-memset.c: Remove file.
2353 * sysdeps/x86_64/rtld-memset.S: New file.
2354
1b2feed2
JM
23552013-06-14 Joseph Myers <joseph@codesourcery.com>
2356
2357 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2358 (test_in_one_mode): Take arguments for whether the rounding mode
2359 is supported for each floating-point type.
2360 (do_test): Pass new arguments to test_in_one_mode using
2361 ROUNDING_TESTS.
2362
a58ad3f8
RM
23632013-06-13 Roland McGrath <roland@hack.frob.com>
2364
2365 * posix/tst-waitid.c (do_test): Distinguish different instances of
2366 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2367 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2368 before entering the kernel for waitpid.
2369
c204ab28
SP
23702013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2371
2372 * NEWS: Fix note on clock function precision. Text by Roland
2373 McGrath.
2374
f4a29fba
RM
23752013-06-13 Roland McGrath <roland@hack.frob.com>
2376
2377 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2378 it into place only when and if the sanity check passes.
2379
1f24b9ad
JM
23802013-06-13 Joseph Myers <joseph@codesourcery.com>
2381
2382 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2383 output for whether conversion result is exact. Take argument
2384 indicating whether type is IBM long double.
2385 (round_for_all): Change need_exact field to ibm_ld.
2386 * stdlib/tst-strtod-round.c (struct exactness): New type.
2387 (struct test): Change bool ld_ok field to struct exactness exact.
2388 (TEST): Update all definitions for change to field.
2389 (tests): Regenerate array contents.
2390 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2391 field value. Check for IBM long double here.
2392 (do_test): Update calls to test_in_one_mode.
2393
58206c68
SP
23942013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2395
2396 [BZ #12515]
2397 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2398 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2399
2d6f4c5b 24002013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
2401
2402 [BZ #15605]
2403 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2404 generated by the compiler on loop optimizations.
2405 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2406 general definitions.
2407
94f2c076
JM
24082013-06-12 Joseph Myers <joseph@codesourcery.com>
2409
2410 * math/bug-nextafter.c: Include <math-tests.h>.
2411 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2412 the relevant type.
2413 * math/bug-nexttoward.c: Include <math-tests.h>.
2414 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2415 the relevant type.
2416 * math/test-misc.c: Include <math-tests.h>.
2417 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2418 the relevant type.
2419
e0e50a0a
AJ
24202013-06-12 Andreas Jaeger <aj@suse.de>
2421
2422 * po/ia.po: Update Interlingua translation from translation
2423 project.
2424
25061094
SP
24252013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2426
2427 * include/fenv.h: Include stdbool.h.
2428 (struct rm_ctx): New structure.
2429 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2430 Define macro.
2431 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2432 (SET_RESTORE_ROUNDF): Likewise.
2433 (SET_RESTORE_ROUNDL): Likewise.
2434 (SET_RESTORE_ROUND_NOEX): Likewise.
2435 (SET_RESTORE_ROUND_NOEXF): Likewise.
2436 (SET_RESTORE_ROUND_NOEXL): Likewise.
2437 (SET_RESTORE_ROUND_53BIT): Likewise.
2438 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2439 (libc_feresetround_noexf_ctx): Likewise.
2440 (libc_feresetround_noexl_ctx): Likewise.
2441 (libc_feholdsetround_53bit_ctx): Likewise.
2442 (libc_feresetround_53bit_ctx): Likewise.
2443 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2444 (libc_feholdexcept_setround_sse_ctx): New function.
2445 (libc_fesetenv_sse_ctx): Likewise.
2446 (libc_feupdateenv_sse_ctx): Likewise.
2447 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2448 (libc_feholdexcept_setround_387_ctx): Likewise.
2449 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2450 (libc_feholdsetround_387_prec_ctx): Likewise.
2451 (libc_feholdsetround_387_ctx): Likewise.
2452 (libc_feholdsetround_387_53bit_ctx): Likewise.
2453 (libc_feholdsetround_sse_ctx): Likewise.
2454 (libc_feresetround_sse_ctx): Likewise.
2455 (libc_feresetround_387_ctx): Likewise.
2456 (libc_feupdateenv_387_ctx): Likewise.
2457 (libc_feholdexcept_setroundf_ctx): Define macro.
2458 (libc_fesetenvf_ctx): Likewise.
2459 (libc_feupdateenvf_ctx): Likewise.
2460 (libc_feholdsetroundf_ctx): Likewise.
2461 (libc_feresetroundf_ctx): Likewise.
2462 (libc_feholdexcept_setround_ctx): Likewise.
2463 (libc_fesetenv_ctx): Likewise.
2464 (libc_feupdateenv_ctx): Likewise.
2465 (libc_feholdsetround_ctx): Likewise.
2466 (libc_feresetround_ctx): Likewise.
2467 (libc_feholdexcept_setroundl_ctx): Likewise.
2468 (libc_feupdateenvl_ctx): Likewise.
2469 (libc_feholdsetroundl_ctx): Likewise.
2470 (libc_feresetroundl_ctx): Likewise.
2471 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2472 (libc_feresetround_53bit_ctx): Likewise.
2473
59b30555
SP
24742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2475
2476 * locale/iso-639.def: Convert to UTF-8.
2477
f1d73d30
JM
24782013-06-11 Joseph Myers <joseph@codesourcery.com>
2479
2480 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2481 (EXCEPTION_TESTS_double): Likewise.
2482 (EXCEPTION_TESTS_long_double): Likewise.
2483 (EXCEPTION_TESTS): Likewise.
2484 * math/libm-test.inc (test_exceptions): Only test exceptions if
2485 EXCEPTION_TESTS (FLOAT).
2486
94aca5e7
SP
24872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2488
2489 * benchtests/Makefile (string-bench): Add strcpy_chk and
2490 stpcpy_chk.
2491 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2492 * benchtests/bench-stpcpy_chk.c: New file.
2493 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2494 * benchtests/bench-strcpy_chk.c: New file.
2495 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2496 code.
2497 (do_test): Likewise.
2498
fac0c5f2
RA
24992013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2500
2501 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2502 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2503 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2504 with tabs where appropriate.
2505 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2506 dl-procinfo.h.
2507 [PPC_PLATFORM_PPC440]: Likewise.
2508 [PPC_PLATFORM_PPC464]: Likewise.
2509 [PPC_PLATFORM_PPC476]: Likewise.
2510 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2511 ppc464, and ppc476 platform strings merging from ports/
2512 dl-procinfo.h.
2513
f22bc486
AS
25142013-06-11 Andreas Schwab <schwab@suse.de>
2515
2516 [BZ #14991]
2517 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2518 (from_ucs4_idx): Regenerate.
2519 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2520 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2521 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2522 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2523 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2524 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2525 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2526 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2527 from FROM_LOOP and TO_LOOP specific macros.
2528 (BODY): Handle combining characters.
2529 * iconvdata/BIG5HKSCS.irreversible: Update.
2530 * iconvdata/BIG5HKSCS.precomposed: New file.
2531 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2532 characters.
2533 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2534
c1f75dc3
SP
25352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2536
4eacded2
SP
2537 * include/sys/time.h: Fix indentation and add copyright header.
2538
fec799f8
SP
2539 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2540 (do_test): Likewise.
2541 * string/test-memchr.c (do_one_test): Likewise.
2542 (do_test): Likewise.
2543 * string/test-memcmp.c (do_one_test): Likewise.
2544 (do_test): Likewise.
2545 * string/test-memcpy.c (do_one_test): Likewise.
2546 (do_test): Likewise.
2547 * string/test-memmem.c (do_one_test): Likewise.
2548 (do_test): Likewise.
2549 (do_random_tests): Likewise.
2550 * string/test-memmove.c (do_one_test): Likewise.
2551 (do_test): Likewise.
2552 * string/test-memset.c (do_one_test): Likewise.
2553 (do_test): Likewise.
2554 * string/test-rawmemchr.c (do_one_test): Likewise.
2555 (do_test): Likewise.
2556 * string/test-strcasecmp.c (do_one_test): Likewise.
2557 (do_test): Likewise.
2558 * string/test-strcasestr.c (do_one_test): Likewise.
2559 (do_test): Likewise.
2560 * string/test-strcat.c (do_one_test): Likewise.
2561 (do_test): Likewise.
2562 * string/test-strchr.c (do_one_test): Likewise.
2563 (do_test): Likewise.
2564 * string/test-strcmp.c (do_one_test): Likewise.
2565 (do_test): Likewise.
2566 * string/test-strcpy.c (do_one_test): Likewise.
2567 (do_test): Likewise.
2568 * string/test-string.h: Likewise.
2569 (test_init): Likewise.
2570 * string/test-strlen.c (do_one_test): Likewise.
2571 (do_test): Likewise.
2572 * string/test-strncasecmp.c (do_one_test): Likewise.
2573 (do_test): Likewise.
2574 * string/test-strncat.c (do_one_test): Likewise.
2575 (do_test): Likewise.
2576 * string/test-strncmp.c (do_one_test): Likewise.
2577 (do_test_limit): Likewise.
2578 (do_test): Likewise.
2579 * string/test-strncpy.c (do_one_test): Likewise.
2580 (do_test): Likewise.
2581 * string/test-strnlen.c (do_one_test): Likewise.
2582 (do_test): Likewise.
2583 * string/test-strpbrk.c (do_one_test): Likewise.
2584 (do_test): Likewise.
2585 * string/test-strrchr.c (do_one_test): Likewise.
2586 (do_test): Likewise.
2587 * string/test-strspn.c (do_one_test): Likewise.
2588 (do_test): Likewise.
2589 * string/test-strstr.c (do_one_test): Likewise.
2590 (do_test): Likewise.
2591
97020474
SP
2592 * benchtests/Makefile (string-bench): Add string benchmarks.
2593 * benchtests/bench-bcopy-ifunc.c: New file.
2594 * benchtests/bench-bcopy.c: New file.
2595 * benchtests/bench-bzero-ifunc.c: New file.
2596 * benchtests/bench-bzero.c: New file.
2597 * benchtests/bench-memccpy-ifunc.c: New file.
2598 * benchtests/bench-memccpy.c: New file.
2599 * benchtests/bench-memchr-ifunc.c: New file.
2600 * benchtests/bench-memchr.c: New file.
2601 * benchtests/bench-memcmp-ifunc.c: New file.
2602 * benchtests/bench-memcmp.c: New file.
2603 * benchtests/bench-memmem-ifunc.c: New file.
2604 * benchtests/bench-memmem.c: New file.
2605 * benchtests/bench-memmove-ifunc.c: New file.
2606 * benchtests/bench-memmove.c: New file.
2607 * benchtests/bench-mempcpy-ifunc.c: New file.
2608 * benchtests/bench-mempcpy.c: New file.
2609 * benchtests/bench-memset-ifunc.c: New file.
2610 * benchtests/bench-memset.c: New file.
2611 * benchtests/bench-rawmemchr-ifunc.c: New file.
2612 * benchtests/bench-rawmemchr.c: New file.
2613 * benchtests/bench-stpcpy-ifunc.c: New file.
2614 * benchtests/bench-stpcpy.c: New file.
2615 * benchtests/bench-stpncpy-ifunc.c: New file.
2616 * benchtests/bench-stpncpy.c: New file.
2617 * benchtests/bench-strcasecmp-ifunc.c: New file.
2618 * benchtests/bench-strcasecmp.c: New file.
2619 * benchtests/bench-strcasestr-ifunc.c: New file.
2620 * benchtests/bench-strcasestr.c: New file.
2621 * benchtests/bench-strcat-ifunc.c: New file.
2622 * benchtests/bench-strcat.c: New file.
2623 * benchtests/bench-strchr-ifunc.c: New file.
2624 * benchtests/bench-strchr.c: New file.
2625 * benchtests/bench-strchrnul-ifunc.c: New file.
2626 * benchtests/bench-strchrnul.c: New file.
2627 * benchtests/bench-strcmp-ifunc.c: New file.
2628 * benchtests/bench-strcmp.c: New file.
2629 * benchtests/bench-strcpy-ifunc.c: New file.
2630 * benchtests/bench-strcpy.c: New file.
2631 * benchtests/bench-strcspn-ifunc.c: New file.
2632 * benchtests/bench-strcspn.c: New file.
2633 * benchtests/bench-strlen-ifunc.c: New file.
2634 * benchtests/bench-strlen.c: New file.
2635 * benchtests/bench-strncasecmp-ifunc.c: New file.
2636 * benchtests/bench-strncasecmp.c: New file.
2637 * benchtests/bench-strncat-ifunc.c: New file.
2638 * benchtests/bench-strncat.c: New file.
2639 * benchtests/bench-strncmp-ifunc.c: New file.
2640 * benchtests/bench-strncmp.c: New file.
2641 * benchtests/bench-strncpy-ifunc.c: New file.
2642 * benchtests/bench-strncpy.c: New file.
2643 * benchtests/bench-strnlen-ifunc.c: New file.
2644 * benchtests/bench-strnlen.c: New file.
2645 * benchtests/bench-strpbrk-ifunc.c: New file.
2646 * benchtests/bench-strpbrk.c: New file.
2647 * benchtests/bench-strrchr-ifunc.c: New file.
2648 * benchtests/bench-strrchr.c: New file.
2649 * benchtests/bench-strspn-ifunc.c: New file.
2650 * benchtests/bench-strspn.c: New file.
2651 * benchtests/bench-strstr-ifunc.c: New file.
2652 * benchtests/bench-strstr.c: New file.
2653
c1f75dc3
SP
2654 * benchtests/Makefile: Disable parallel execution of targets.
2655 (string-bench): Add memcpy.
2656 (benchset): New variable to store a list of benchmark sets.
2657 (bench-func): Renamed from bench.
2658 (bench-set): New target.
2659 (bench): Depend on bench-func and bench-set.
2660 * benchtests/README: Add section on benchmark sets.
2661 * benchtests/bench-memcpy-ifunc.c: New file.
2662 * benchtests/bench-memcpy.c: New file.
2663 * benchtests/bench-string.h: New file.
2664
50fd745b
AS
26652013-06-11 Andreas Schwab <schwab@suse.de>
2666
2667 [BZ #15577]
2668 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2669 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2670 values in the triple.
2671 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2672 terminator in the group key.
2673
3ee7e9fe
AJ
26742013-06-11 Andreas Jaeger <aj@suse.de>
2675
2676 * po/zh_TW.po: Update Chinese (traditional) translation from
2677 translation project.
2678
89fb6835
SP
26792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2680
2681 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2682 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2683 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2684 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2685 (clock_getcpuclockid): Likewise.
2686 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2687 Add weak_alias and libc_hidden_def.
2688 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2689 * rt/clock_gettime.c (clock_gettime): Rename to
2690 __clock_gettime. Add weak_alias and libc_hidden_def.
2691 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2692 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2693 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2694 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2695 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2696 Likewise.
2697 * rt/clock_settime.c (clock_settime): Rename to
2698 __clock_settime. Add weak_alias and libc_hidden_def.
2699 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2700
0efa6f8b
JM
27012013-06-10 Joseph Myers <joseph@codesourcery.com>
2702
b8c61b4b
JM
2703 * mach/err_boot.sub: Remove trailing whitespace.
2704 * mach/err_ipc.sub: Likewise.
2705 * mach/err_mach.sub: Likewise.
2706
0efa6f8b
JM
2707 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2708 (ROUNDING_TESTS_double): Likewise.
2709 (ROUNDING_TESTS_long_double): Likewise.
2710 (ROUNDING_TESTS): Likewise.
2711 * math/libm-test.inc: Include <math-tests.h>.
2712 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2713 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2714 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2715 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2716
50b818bf
SP
27172013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2718
2719 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2720 of assigning.
2721
60d2f8f3
JM
27222013-06-08 Joseph Myers <joseph@codesourcery.com>
2723
4902d2c3
JM
2724 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2725 otherwise empty TRANS lines.
2726 * sysdeps/gnu/errlist.c: Regenerated.
2727
60d2f8f3
JM
2728 * catgets/gencat.c (error_print): Use (void) in function
2729 definition.
2730 * crypt/crypt_util.c (__init_des): Likewise.
2731 * crypt/speeds.c (Stop): Likewise.
2732 (main): Likewise.
2733 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2734 * inet/ruserpass.c (token): Likewise.
2735 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2736 * intl/localealias.c (extend_alias_table): Likewise.
2737 * intl/plural-exp.c (init_germanic_plural): Likewise.
2738 * libio/fcloseall.c (__fcloseall): Likewise.
2739 * libio/genops.c (_IO_flush_all): Likewise.
2740 (_IO_flush_all_linebuffered): Likewise.
2741 (_IO_cleanup): Likewise.
2742 (_IO_iter_begin): Likewise.
2743 (_IO_iter_end): Likewise.
2744 (_IO_list_lock): Likewise.
2745 (_IO_list_unlock): Likewise.
2746 (_IO_list_resetlock): Likewise.
2747 * libio/getchar.c (getchar): Likewise.
2748 * libio/getchar_u.c (getchar_unlocked): Likewise.
2749 * libio/getwchar.c (getwchar): Likewise.
2750 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2751 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2752 * login/getpt.c (__getpt): Likewise.
2753 * login/tst-utmp.c (main): Likewise.
2754 * malloc/hooks.c (__malloc_check_init): Likewise.
2755 * malloc/malloc.c (__malloc_stats): Likewise.
2756 * malloc/mtrace.c (tr_break): Likewise.
2757 (mtrace): Likewise.
2758 (muntrace): Likewise.
2759 * misc/fstab.c (endfsent): Likewise.
2760 * misc/getclktck.c (__getclktck): Likewise.
2761 * misc/getdtsz.c (__getdtablesize): Likewise.
2762 * misc/gethostid.c (gethostid): Likewise.
2763 * misc/getpagesize.c (__getpagesize): Likewise.
2764 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2765 (__get_nprocs): Likewise.
2766 (__get_phys_pages): Likewise.
2767 (__get_avphys_pages): Likewise.
2768 * misc/getttyent.c (getttyent): Likewise.
2769 (setttyent): Likewise.
2770 (endttyent): Likewise.
2771 * misc/getusershell.c (getusershell): Likewise.
2772 (endusershell): Likewise.
2773 (setusershell): Likewise.
2774 (initshells): Likewise.
2775 * misc/hsearch.c (__hdestroy): Likewise.
2776 * misc/sync.c (sync): Likewise.
2777 * misc/syslog.c (closelog_internal): Likewise.
2778 (closelog): Likewise.
2779 * misc/ttyslot.c (ttyslot): Likewise.
2780 * misc/vhangup.c (vhangup): Likewise.
2781 * posix/fork.c (__fork): Likewise.
2782 * posix/getegid.c (__getegid): Likewise.
2783 * posix/geteuid.c (__geteuid): Likewise.
2784 * posix/getgid.c (__getgid): Likewise.
2785 * posix/getpid.c (__getpid): Likewise.
2786 * posix/getppid.c (__getppid): Likewise.
2787 * posix/getuid.c (__getuid): Likewise.
2788 * posix/pause.c (pause): Likewise.
2789 * posix/setpgrp.c (setpgrp): Likewise.
2790 * posix/setsid.c (__setsid): Likewise.
2791 * posix/test-vfork.c (noop): Likewise.
2792 * resolv/gethnamaddr.c (_endhtent): Likewise.
2793 (_gethtent): Likewise.
2794 (ht_endhostent): Likewise.
2795 (gethostent): Likewise.
2796 (dns_service): Likewise.
2797 * stdlib/drand48.c (drand48): Likewise.
2798 * stdlib/lrand48.c (lrand48): Likewise.
2799 * stdlib/mrand48.c (mrand48): Likewise.
2800 * stdlib/rand.c (rand): Likewise.
2801 * stdlib/random.c (__random): Likewise.
2802 * stdlib/setenv.c (clearenv): Likewise.
2803 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2804 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2805 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2806 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2807 (__get_nprocs): Likewise.
2808 (__get_phys_pages): Likewise.
2809 (__get_avphys_pages): Likewise.
2810 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2811 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2812 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2813 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2814 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2815 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2816 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2817 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2818 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2819 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2820 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2821 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2822 * sysdeps/posix/clock.c (clock): Likewise.
2823 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2824 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2825 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2826 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2827 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2828 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2829 (__get_nprocs_conf): Likewise.
2830 (__get_phys_pages): Likewise.
2831 (__get_avphys_pages): Likewise.
2832 * time/clock.c (clock): Likewise.
2833 * time/tzset.c (__tzname_max): Likewise.
2834
2e09a79a
JM
28352013-06-07 Joseph Myers <joseph@codesourcery.com>
2836
2837 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2838 (__bswap_32): Do not use "register".
2839 * crypt/crypt.c (_ufc_doit_r): Likewise.
2840 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2841 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2842 * gmon/gmon.c (__monstartup): Likewise.
2843 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2844 * hurd/hurdmalloc.c (more_memory): Likewise.
2845 (malloc): Likewise.
2846 (free): Likewise.
2847 (realloc): Likewise.
2848 (malloc_fork_prepare): Likewise.
2849 (malloc_fork_parent): Likewise.
2850 (malloc_fork_child): Likewise.
2851 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2852 (_svcauth_des): Likewise.
2853 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2854 * inet/inet_net.c (inet_network): Likewise.
2855 * inet/inet_netof.c (inet_netof): Likewise.
2856 * inet/rcmd.c (__validuser2_sa): Likewise.
2857 * io/fts.c (fts_open): Likewise.
2858 (fts_load): Likewise.
2859 (fts_close): Likewise.
2860 (fts_read): Likewise.
2861 (fts_children): Likewise.
2862 (fts_build): Likewise.
2863 (fts_stat): Likewise.
2864 (fts_sort): Likewise.
2865 (fts_alloc): Likewise.
2866 (fts_lfree): Likewise.
2867 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2868 (_IO_file_xsgetn): Likewise.
2869 (_IO_file_xsgetn_mmap): Likewise.
2870 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2871 (_IO_cookie_write): Likewise.
2872 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2873 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2874 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2875 * malloc/obstack.c (_obstack_begin): Likewise.
2876 (_obstack_begin_1): Likewise.
2877 (_obstack_newchunk): Likewise.
2878 (_obstack_allocated_p): Likewise.
2879 (obstack_free): Likewise.
2880 (_obstack_memory_used): Likewise.
2881 * misc/getttyent.c (getttynam): Likewise.
2882 (getttyent): Likewise.
2883 (skip): Likewise.
2884 (value): Likewise.
2885 * misc/getusershell.c (initshells): Likewise.
2886 * misc/syslog.c (__vsyslog_chk): Likewise.
2887 * misc/ttyslot.c (ttyslot): Likewise.
2888 * nis/nis_hash.c (__nis_hash): Likewise.
2889 * posix/fnmatch_loop.c (FCT): Likewise.
2890 * posix/getconf.c (print_all): Likewise.
2891 (main): Likewise.
2892 * posix/getopt.c (exchange): Likewise.
2893 * posix/glob.c (globfree): Likewise.
2894 (prefix_array): Likewise.
2895 (__glob_pattern_type): Likewise.
2896 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2897 (NS_GET32): Likewise.
2898 (NS_PUT16): Likewise.
2899 (NS_PUT32): Likewise.
2900 * resolv/gethnamaddr.c (getanswer): Likewise.
2901 (gethostbyname2): Likewise.
2902 (gethostbyaddr): Likewise.
2903 (_gethtent): Likewise.
2904 (_gethtbyname2): Likewise.
2905 (_gethtbyaddr): Likewise.
2906 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2907 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2908 * resolv/res_init.c (__res_vinit): Likewise.
2909 (net_mask): Likewise.
2910 * resolv/res_mkquery.c (outchar): Likewise.
2911 (PRINT): Likewise.
2912 * stdio-common/printf_fp.c (outchar): Likewise.
2913 (PRINT): Likewise.
2914 * stdio-common/printf_fphex.c (outchar): Likewise.
2915 (PRINT): Likewise.
2916 * stdio-common/printf_size.c (outchar): Likewise.
2917 (PRINT): Likewise.
2918 * stdio-common/test_rdwr.c (main): Likewise.
2919 * stdio-common/tfformat.c (matches): Likewise.
2920 * stdio-common/vfprintf.c (outchar): Likewise.
2921 (printf_unknown): Likewise.
2922 (buffered_vfprintf): Likewise.
2923 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2924 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2925 (ReadFile): Likewise.
2926 * stdlib/qsort.c (SWAP): Likewise.
2927 (_quicksort): Likewise.
2928 * stdlib/setenv.c (__add_to_environ): Likewise.
2929 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2930 * stdlib/strtol_l.c (__strtol_l): Likewise.
2931 * stdlib/tst-strtod.c (main): Likewise.
2932 * stdlib/tst-strtol.c (main): Likewise.
2933 * stdlib/tst-strtoll.c (main): Likewise.
2934 * string/bits/string2.h (__strcmp_cc): Likewise.
2935 (__strcmp_cg): Likewise.
2936 (__strcspn_c1): Likewise.
2937 (__strcspn_c2): Likewise.
2938 (__strcspn_c3): Likewise.
2939 (__strspn_c1): Likewise.
2940 (__strspn_c2): Likewise.
2941 (__strspn_c3): Likewise.
2942 (__strsep_1c): Likewise.
2943 (__strsep_2c): Likewise.
2944 (__strsep_3c): Likewise.
2945 * string/memccpy.c (__memccpy): Likewise.
2946 * string/stpcpy.c (__stpcpy): Likewise.
2947 * string/strcmp.c (strcmp): Likewise.
2948 * string/strrchr.c (strrchr): Likewise.
2949 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2950 Likewise.
2951 * sysdeps/mach/hurd/getcwd.c
2952 (_hurd_canonicalize_directory_name_internal): Likewise.
2953 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2954 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2955 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2956 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2957 Likewise, in both definitions.
2958 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2959 definitions.
2960 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2961 64] (__bswap_64): Likewise.
2962 * time/test_time.c (main): Likewise.
2963 * time/tzfile.c (__tzfile_read): Likewise.
2964 (__tzfile_compute): Likewise.
2965 * time/tzset.c (__tzset_parse_tz): Likewise.
2966 (tzset_internal): Likewise.
2967 (compute_change): Likewise.
2968 * wcsmbs/wcscat.c (__wcscat): Likewise.
2969 * wcsmbs/wcschr.c (wcschr): Likewise.
2970 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2971 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2972 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2973 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2974 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2975 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2976 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2977 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2978 * wcsmbs/wmemset.c (wmemset): Likewise.
2979
9e54314b
JM
29802013-06-06 Joseph Myers <joseph@codesourcery.com>
2981
2982 * scripts/config.guess: Update to version 2013-05-16.
2983 * scripts/config.sub: Update to version 2013-04-24.
2984 * scripts/install-sh: Update to version 2011-11-20.07.
2985 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2986 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2987
350635a5
OB
29882013-06-06 Ondřej Bílka <neleai@seznam.cz>
2989
2990 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2991 * elf/sln.c: Likewise.
2992 * hurd/hurd/ioctl.h: Likewise.
2993 * hurd/hurdmalloc.c: Likewise.
2994 * hurd/xattr.c: Likewise.
2995 * include/shlib-compat.h: Likewise.
2996 * inet/ruserpass.c: Likewise.
2997 * libio/iofgets_u.c: Likewise.
2998 * libio/iofgetws_u.c: Likewise.
2999 * locale/programs/ld-identification.c: Likewise.
3000 * locale/programs/ld-time.c: Likewise.
3001 * mach/msg-destroy.c: Likewise.
3002 * nss/nss_files/files-netgrp.c: Likewise.
3003 * resolv/res_data.c: Likewise.
3004 * soft-fp/op-1.h: Likewise.
3005 * soft-fp/op-2.h: Likewise.
3006 * soft-fp/op-4.h: Likewise.
3007 * soft-fp/op-common.h: Likewise.
3008 * stdio-common/printf_fphex.c: Likewise.
3009 * stdlib/strtod_l.c: Likewise.
3010 * sunrpc/rpc/clnt.h: Likewise.
3011 * sysdeps/generic/framestate.c: Likewise.
3012 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3013 * sysdeps/i386/bsd-setjmp.S: Likewise.
3014 * sysdeps/i386/__longjmp.S: Likewise.
3015 * sysdeps/i386/setjmp.S: Likewise.
3016 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3017 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3018 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3019 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3020 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3021 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3022 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3023 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3024 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3025 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3026 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3027 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3028 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3029 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3030 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3031 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3032 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3033 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3034 * sysdeps/ieee754/support.c: Likewise.
3035 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3036 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3037 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3038 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3039 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3040 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3041 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3042 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3043 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3044 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3045 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3046 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3047 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3048 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3049 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3050 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3051 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3053
44a988af
OB
30542013-06-05 Ondřej Bílka <neleai@seznam.cz>
3055
25506f09 3056 * posix/transbug.c: Remove executable mode.
44a988af 3057
9c84384c
JM
30582013-06-05 Joseph Myers <joseph@codesourcery.com>
3059
3060 * crypt/speeds.c: Remove trailing whitespace.
3061 * dlfcn/default.c: Likewise.
3062 * elf/ifuncdep2.c: Likewise.
3063 * elf/ifuncmain1.c: Likewise.
3064 * elf/ifuncmain1vis.c: Likewise.
3065 * elf/testobj.h: Likewise.
3066 * elf/tst-stackguard1.c: Likewise.
3067 * gmon/sys/gmon.h: Likewise.
3068 * hurd/hurdmsg.c: Likewise.
3069 * hurd/new-fd.c: Likewise.
3070 * hurd/ports-get.c: Likewise.
3071 * iconvdata/ibm1008_420.c: Likewise.
3072 * inet/tst-getni1.c: Likewise.
3073 * inet/tst-getni2.c: Likewise.
3074 * libio/ioungetc.c: Likewise.
3075 * libio/wfiledoalloc.c: Likewise.
3076 * manual/libm-err-tab.pl: Likewise.
3077 * math/w_dremf.c: Likewise.
3078 * misc/ftruncate.c: Likewise.
3079 * posix/bug-glob2.c: Likewise.
3080 * posix/tst-pcre.c: Likewise.
3081 * posix/wait4.c: Likewise.
3082 * resolv/README: Likewise.
3083 * resolv/res_debug.h: Likewise.
3084 * resolv/tst-inet_ntop.c: Likewise.
3085 * setjmp/bug269-setjmp.c: Likewise.
3086 * soft-fp/extended.h: Likewise.
3087 * soft-fp/op-1.h: Likewise.
3088 * soft-fp/op-2.h: Likewise.
3089 * soft-fp/op-4.h: Likewise.
3090 * soft-fp/op-8.h: Likewise.
3091 * soft-fp/testit.c: Likewise.
3092 * stdio-common/bug16.c: Likewise.
3093 * stdlib/random.c: Likewise.
3094 * sunrpc/rpcsvc/rquota.x: Likewise.
3095 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3096 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3097 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3098 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3099 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3100 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3101 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3102 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3103 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3104 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3105 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3106 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3107 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3108 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3109 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3110 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3111 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3112 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3113 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3114 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3115 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3116 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3117 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3118 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3119 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3120 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3121 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3122 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3123 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3124 * sysdeps/ieee754/s_lib_version.c: Likewise.
3125 * sysdeps/mach/hurd/check_fds.c: Likewise.
3126 * sysdeps/mach/hurd/getsockname.c: Likewise.
3127 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3128 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3129 * sysdeps/powerpc/bits/link.h: Likewise.
3130 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3131 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3132 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3133 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3134 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3135 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3136 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3137 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3138 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3139 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3140 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3141 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3142 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3143 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3144 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3145 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3146 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3147 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3148 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3149 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3150 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3151 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3152 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3153 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3154 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3155 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3156 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3157 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3158 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3159 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3160 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3161 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3162 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3163 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3164 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3165 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3166 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3167 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3168 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3169 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3170 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3171 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3172 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3173 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3174 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3175 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3176 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3177 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3178 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3179 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3181 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3182 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3183 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3184 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3185 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3186 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3187 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3188 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3189 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3190 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3191 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3192 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3193 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3194 * sysdeps/powerpc/sysdep.h: Likewise.
3195 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3196 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3197 * sysdeps/sh/dl-trampoline.S: Likewise.
3198 * sysdeps/sh/memset.S: Likewise.
3199 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3200 * sysdeps/sh/strlen.S: Likewise.
3201 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3202 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3203 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3204 * sysdeps/sparc/sparc32/rem.S: Likewise.
3205 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3206 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3207 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3208 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3209 * sysdeps/sparc/sparc32/urem.S: Likewise.
3210 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3211 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3212 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3213 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3214 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3215 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3216 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3217 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3218 * sysdeps/unix/bsd/times.c: Likewise.
3219 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3220 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3224 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3225 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3226 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3227 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3228 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3229 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3230 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3231 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3232 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3233 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3234 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3235 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3236 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3237 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3238 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3239 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3240 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3241 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3242 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3243 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3244 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3245 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3246 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3247 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3248 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3249 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3250 * sysdeps/x86_64/strcspn.S: Likewise.
3251
869378a5
RA
32522013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3253
3254 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3255 generated file. Regenerate properly from gen-translit.pl.
3256 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3257 locale/C-translit.h.
3258
840e2943
AS
32592013-06-05 Andreas Schwab <schwab@suse.de>
3260
3261 [BZ #15100]
3262 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3263 week as 6 instead of -1.
3264 * time/tst-strptime.c (day_tests): Add test case.
3265
4c60cb0c
SP
32662013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3267
3268 * sysdeps/generic/math_private.h
3269 (libc_feholdexcept_setround_53bit): Replace with
3270 libc_feholdsetround_53bit.
3271 (libc_feupdateenv_53bit): Replace with
3272 libc_feresetround_53bit.
3273 (SET_RESTORE_ROUND_53BIT): Adjust.
3274
d180203e
SP
32752013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3276
96df079a
SP
3277 * string/test-strchrnul.c: Add copyright header.
3278
d180203e
SP
3279 * posix/tst-getaddrinfo4.c: Increase test timeout.
3280
8b0ccb2d
CD
32812013-06-03 Carlos O'Donell <carlos@redhat.com>
3282
3283 [BZ #15536]
3284 * math/libm-test.inc (MAX_EXP): Remove
3285 (MIN_EXP): Define.
3286 (ulp): Use MIN_EXP - MANT_DIG.
3287 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3288
3b3c4d40
CD
32892013-05-31 Carlos O'Donell <carlos@redhat.com>
3290
3291 * po/be.po: Revert last change.
3292 * po/zh_CN.po: Likewise.
3293 * po/header.pot: Likewise.
3294
fab7ce3f
JM
32952013-05-31 Joseph Myers <joseph@codesourcery.com>
3296
3297 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3298 link-libc-deps to empty as target-specific variable.
3299 * Makerules (link-libc-args): New variable.
3300 (libc-for-link): Likewise.
3301 (link-libc-deps): Likewise.
3302 (lib%.so): Depend on $(link-libc-deps). Link with
3303 $(link-libc-args).
3304 (build-module): Link with $(link-libc-args).
3305 (build-module-asneeded): Likewise.
3306 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3307 list of objects.
3308 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3309 target-specific variable.
3310 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3311 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3312 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3313 libc.
3314 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3315 libc and ld.so.
3316 ($(objpfx)libpcprofile.so): Likewise.
3317 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3318 libc_nonshared.a.
3319 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3320 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3321 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3322 $(link-libc-deps).
3323 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3324 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3325 * login/Makefile ($(objpfx)libutil.so): Likewise.
3326 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3327 * math/Makefile ($(objpfx)libm.so): Likewise.
3328 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3329 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3330 variable instead of depending directly on libc.
3331 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3332 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3333 $(link-libc-deps).
3334 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3335 libc.
3336 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3337 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3338 ($(objpfx)libanl.so): Likewise.
3339 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3340 ld.so.
3341 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3342 $(link-libc-deps).
3343 * sysdeps/i386/fpu/Makefile: Remove file.
3344 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3345 ($(objpfx)libm.so): Remove dependency on ld.so.
3346
eca5920c
PF
33472013-05-30 Patsy Franklin <pfrankli@redhat.com>
3348
3349 [BZ # 15553]
3350 * nis/yp_xdr.c (XDRMAXNAME): Define.
3351 (XDRMAXRECORD): Define.
3352 (xdr_domainname): Use XDRMAXNAME.
3353 (xdr_mapname): Likewise.
3354 (xdr_peername): Likewise.
3355 (xdr_keydat): Use XDRMAXRECORD.
3356 (xdr_valdat): Likewise.
3357
33582013-05-30 Jeff Law <law@redhat.com>
96945714
JL
3359
3360 [BZ #14256]
3361 * manual/errno.texi (ESTALE): Update to account for more than
3362 just NFS file systems.
3363 * sysdeps/gnu/errlist.c: Regenerated.
3364
b9375348
SP
33652013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3366
3367 [BZ #15465]
3368 * elf/Makefile (tests): Add tst-null-argv.
3369 (modules-names): Add tst-null-argv-lib.
3370 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3371 (tst-null-argv-ENV): Set environment for tst-null-argv.
3372 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3373 (RTLD_PROGNAME): New macro.
3374 * elf/tst-null-argv.c: New test case.
3375 * elf/tst-null-argv-lib.c: Library for test case.
3376 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3377 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3378 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3379 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3380 * elf/dl-init.c (call_init): Likewise.
3381 (_dl_init): Likewise.
3382 * elf/dl-load.c (print_search_path): Likewise.
3383 (_dl_map_object): Likewise.
3384 * elf/dl-lookup.c (do_lookup_x): Likewise.
3385 (add_dependency): Likewise.
3386 (_dl_lookup_symbol_x): Likewise.
3387 (_dl_debug_bindings): Likewise.
3388 * elf/dl-open.c (_dl_show_scope): Likewise.
3389 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3390 * elf/dl-version.c (match_symbol): Likewise.
3391 (_dl_check_map_versions): Likewise.
3392 * elf/rtld.c (dl_main): Likewise.
3393 (print_unresolved): Use RTLD_PROGNAME.
3394 (print_missing_version): Likewise.
3395 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3396 (elf_machine_rela): Likewise.
3397 * sysdeps/powerpc/powerpc32/dl-machine.c
3398 (__process_machine_rela): Likewise.
3399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3400 Likewise.
3401 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3402 Likewise.
3403 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3404 Likewise.
3405 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3406 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3407 Likewise.
3408 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3409 Likewise.
3410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3411
8a9f20c8
CD
34122013-05-28 Carlos O'Donell <carlos@redhat.com>
3413
3414 * po/be.po: Add descriptive title.
3415 * po/zh_CN.po: Likewise.
3416 * po/header.pot: Likewise.
3417
0e60d68e
MF
34182013-05-28 Mike Frysinger <vapier@gentoo.org>
3419
3420 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3421 error message.
3422 (enlarge_archive): Likewise.
3423
56b672e9
BN
34242013-05-28 Ben North <ben@redfrontdoor.org>
3425
3426 * manual/arith.texi (frexp): It is the magnitude of the return
3427 value which lies in [0.5, 1), not the return value itself.
3428
5e056687
AZ
34292013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3430
3431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3432
2b66ef5d
TS
34332013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3434
528c2405
TS
3435 * stdio-common/bug26.c (main): Correct fscanf template.
3436
07b4c13d
TS
3437 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3438 declare _dl_skip_args.
3439
ec9dd97c
TS
3440 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3441 Don't declare.
3442
2b66ef5d
TS
3443 * manual/platform.texi: Add missing @end deftypefun.
3444
4f8dfe27
JM
34452013-05-24 Joseph Myers <joseph@codesourcery.com>
3446
0323d086
JM
3447 [BZ #15529]
3448 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3449 bit of mantissa of 2^16382.
3450 * math/libm-test.inc (hypot_test_data): Add more tests.
3451
dd4259b9
JM
3452 * math/libm-test.inc: Add drem and pow10 to list of tested
3453 functions.
3454 (pow10_test): New function.
3455 (drem_test): Likewise.
3456 (drem_test_tonearest): Likewise.
3457 (drem_test_towardzero): Likewise.
3458 (drem_test_downward): Likewise.
3459 (drem_test_upward): Likewise.
3460 (main): Call the new functions.
3461
4f8dfe27
JM
3462 * math/libm-test.inc (finite_test_data): Remove.
3463 (finite_test): Run tests from isfinite_test_data.
3464 (gamma_test_data): Remove.
3465 (gamma_test): Run tests from lgamma_test_data.
3466 * sysdeps/i386/fpu/libm-test-ulps: Update.
3467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3468
d116b7c4
AZ
34692013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3470
3471 * manual/platform.texi: Add PowerPC PPR function set documentation.
3472 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3473 implementation.
3474
e96e3767
CD
34752013-05-24 Carlos O'Donell <carlos@redhat.com>
3476
3477 * math/libm-test.inc (MAX_EXP): Define.
3478 (ULPDIFF): Define.
3479 (ulp): New function.
3480 (check_float_internal): Use ULPDIFF.
3481 (cpow_test): Disable failing test.
3482 (check_ulp): Test ulp() implemetnation.
3483 (main): Call check_ulp before starting tests.
3484
b679a606
JM
34852013-05-24 Joseph Myers <joseph@codesourcery.com>
3486
e8bdba36
JM
3487 * math/gen-libm-test.pl (generate_testfile): Do not handle
3488 START_DATA and END_DATA.
3489 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3490 END_DATA.
3491 (acos_tonearest_test_data): Likewise.
3492 (acos_towardzero_test_data): Likewise.
3493 (acos_downward_test_data): Likewise.
3494 (acos_upward_test_data): Likewise.
3495 (acosh_test_data): Likewise.
3496 (asin_test_data): Likewise.
3497 (asin_tonearest_test_data): Likewise.
3498 (asin_towardzero_test_data): Likewise.
3499 (asin_downward_test_data): Likewise.
3500 (asin_upward_test_data): Likewise.
3501 (asinh_test_data): Likewise.
3502 (atan_test_data): Likewise.
3503 (atanh_test_data): Likewise.
3504 (atan2_test_data): Likewise.
3505 (cabs_test_data): Likewise.
3506 (cacos_test_data): Likewise.
3507 (cacosh_test_data): Likewise.
3508 (carg_test_data): Likewise.
3509 (casin_test_data): Likewise.
3510 (casinh_test_data): Likewise.
3511 (catan_test_data): Likewise.
3512 (catanh_test_data): Likewise.
3513 (cbrt_test_data): Likewise.
3514 (ccos_test_data): Likewise.
3515 (ccosh_test_data): Likewise.
3516 (ceil_test_data): Likewise.
3517 (cexp_test_data): Likewise.
3518 (cimag_test_data): Likewise.
3519 (clog_test_data): Likewise.
3520 (clog10_test_data): Likewise.
3521 (conj_test_data): Likewise.
3522 (copysign_test_data): Likewise.
3523 (cos_test_data): Likewise.
3524 (cos_tonearest_test_data): Likewise.
3525 (cos_towardzero_test_data): Likewise.
3526 (cos_downward_test_data): Likewise.
3527 (cos_upward_test_data): Likewise.
3528 (cosh_test_data): Likewise.
3529 (cosh_tonearest_test_data): Likewise.
3530 (cosh_towardzero_test_data): Likewise.
3531 (cosh_downward_test_data): Likewise.
3532 (cosh_upward_test_data): Likewise.
3533 (cpow_test_data): Likewise.
3534 (cproj_test_data): Likewise.
3535 (creal_test_data): Likewise.
3536 (csin_test_data): Likewise.
3537 (csinh_test_data): Likewise.
3538 (csqrt_test_data): Likewise.
3539 (ctan_test_data): Likewise.
3540 (ctan_tonearest_test_data): Likewise.
3541 (ctan_towardzero_test_data): Likewise.
3542 (ctan_downward_test_data): Likewise.
3543 (ctan_upward_test_data): Likewise.
3544 (ctanh_test_data): Likewise.
3545 (ctanh_tonearest_test_data): Likewise.
3546 (ctanh_towardzero_test_data): Likewise.
3547 (ctanh_downward_test_data): Likewise.
3548 (ctanh_upward_test_data): Likewise.
3549 (erf_test_data): Likewise.
3550 (erfc_test_data): Likewise.
3551 (exp_test_data): Likewise.
3552 (exp_tonearest_test_data): Likewise.
3553 (exp_towardzero_test_data): Likewise.
3554 (exp_downward_test_data): Likewise.
3555 (exp_upward_test_data): Likewise.
3556 (exp10_test_data): Likewise.
3557 (exp2_test_data): Likewise.
3558 (expm1_test_data): Likewise.
3559 (fabs_test_data): Likewise.
3560 (fdim_test_data): Likewise.
3561 (finite_test_data): Likewise.
3562 (floor_test_data): Likewise.
3563 (fma_test_data): Likewise.
3564 (fma_towardzero_test_data): Likewise.
3565 (fma_downward_test_data): Likewise.
3566 (fma_upward_test_data): Likewise.
3567 (fmax_test_data): Likewise.
3568 (fmin_test_data): Likewise.
3569 (fmod_test_data): Likewise.
3570 (fpclassify_test_data): Likewise.
3571 (frexp_test_data): Likewise.
3572 (gamma_test_data): Likewise.
3573 (hypot_test_data): Likewise.
3574 (ilogb_test_data): Likewise.
3575 (isfinite_test_data): Likewise.
3576 (isgreater_test_data): Likewise.
3577 (isgreaterequal_test_data): Likewise.
3578 (isinf_test_data): Likewise.
3579 (isless_test_data): Likewise.
3580 (islessequal_test_data): Likewise.
3581 (islessgreater_test_data): Likewise.
3582 (isnan_test_data): Likewise.
3583 (isnormal_test_data): Likewise.
3584 (issignaling_test_data): Likewise.
3585 (isunordered_test_data): Likewise.
3586 (j0_test_data): Likewise.
3587 (j1_test_data): Likewise.
3588 (jn_test_data): Likewise.
3589 (ldexp_test_data): Likewise.
3590 (lgamma_test_data): Likewise.
3591 (lrint_test_data): Likewise.
3592 (lrint_tonearest_test_data): Likewise.
3593 (lrint_towardzero_test_data): Likewise.
3594 (lrint_downward_test_data): Likewise.
3595 (lrint_upward_test_data): Likewise.
3596 (llrint_test_data): Likewise.
3597 (llrint_tonearest_test_data): Likewise.
3598 (llrint_towardzero_test_data): Likewise.
3599 (llrint_downward_test_data): Likewise.
3600 (llrint_upward_test_data): Likewise.
3601 (log_test_data): Likewise.
3602 (log10_test_data): Likewise.
3603 (log1p_test_data): Likewise.
3604 (log2_test_data): Likewise.
3605 (logb_test_data): Likewise.
3606 (logb_downward_test_data): Likewise.
3607 (lround_test_data): Likewise.
3608 (llround_test_data): Likewise.
3609 (modf_test_data): Likewise.
3610 (nearbyint_test_data): Likewise.
3611 (nextafter_test_data): Likewise.
3612 (nexttoward_test_data): Likewise.
3613 (pow_test_data): Likewise.
3614 (pow_tonearest_test_data): Likewise.
3615 (pow_towardzero_test_data): Likewise.
3616 (pow_downward_test_data): Likewise.
3617 (pow_upward_test_data): Likewise.
3618 (remainder_test_data): Likewise.
3619 (remainder_tonearest_test_data): Likewise.
3620 (remainder_towardzero_test_data): Likewise.
3621 (remainder_downward_test_data): Likewise.
3622 (remainder_upward_test_data): Likewise.
3623 (remquo_test_data): Likewise.
3624 (rint_test_data): Likewise.
3625 (rint_tonearest_test_data): Likewise.
3626 (rint_towardzero_test_data): Likewise.
3627 (rint_downward_test_data): Likewise.
3628 (rint_upward_test_data): Likewise.
3629 (round_test_data): Likewise.
3630 (scalb_test_data): Likewise.
3631 (scalbn_test_data): Likewise.
3632 (scalbln_test_data): Likewise.
3633 (signbit_test_data): Likewise.
3634 (sin_test_data): Likewise.
3635 (sin_tonearest_test_data): Likewise.
3636 (sin_towardzero_test_data): Likewise.
3637 (sin_downward_test_data): Likewise.
3638 (sin_upward_test_data): Likewise.
3639 (sincos_test_data): Likewise.
3640 (sinh_test_data): Likewise.
3641 (sinh_tonearest_test_data): Likewise.
3642 (sinh_towardzero_test_data): Likewise.
3643 (sinh_downward_test_data): Likewise.
3644 (sinh_upward_test_data): Likewise.
3645 (sqrt_test_data): Likewise.
3646 (tan_test_data): Likewise.
3647 (tan_tonearest_test_data): Likewise.
3648 (tan_towardzero_test_data): Likewise.
3649 (tan_downward_test_data): Likewise.
3650 (tan_upward_test_data): Likewise.
3651 (tanh_test_data): Likewise.
3652 (tgamma_test_data): Likewise.
3653 (trunc_test_data): Likewise.
3654 (y0_test_data): Likewise.
3655 (y1_test_data): Likewise.
3656 (yn_test_data): Likewise.
3657 (significand_test_data): Likewise.
3658
b679a606
JM
3659 * math/gen-libm-test.pl (@functions): Remove variable.
3660 (generate_testfile): Don't handle START and END lines.
3661 * math/libm-test.inc (START): New macro.
3662 (END): Likewise.
3663 (END_COMPLEX): Likewise.
3664 (acos_test): Use END macro without arguments.
3665 (acos_test_tonearest): Likewise.
3666 (acos_test_towardzero): Likewise.
3667 (acos_test_downward): Likewise.
3668 (acos_test_upward): Likewise.
3669 (acosh_test): Likewise.
3670 (asin_test): Likewise.
3671 (asin_test_tonearest): Likewise.
3672 (asin_test_towardzero): Likewise.
3673 (asin_test_downward): Likewise.
3674 (asin_test_upward): Likewise.
3675 (asinh_test): Likewise.
3676 (atan_test): Likewise.
3677 (atanh_test): Likewise.
3678 (atan2_test): Likewise.
3679 (cabs_test): Likewise.
3680 (cacos_test): Use END_COMPLEX macro without arguments.
3681 (cacosh_test): Likewise.
3682 (carg_test): Use END macro without arguments.
3683 (casin_test): Use END_COMPLEX macro without arguments.
3684 (casinh_test): Likewise.
3685 (catan_test): Likewise.
3686 (catanh_test): Likewise.
3687 (cbrt_test): Use END macro without arguments.
3688 (ccos_test): Use END_COMPLEX macro without arguments.
3689 (ccosh_test): Likewise.
3690 (ceil_test): Use END macro without arguments.
3691 (cexp_test): Use END_COMPLEX macro without arguments.
3692 (cimag_test): Use END macro without arguments.
3693 (clog_test): Use END_COMPLEX macro without arguments.
3694 (clog10_test): Likewise.
3695 (conj_test): Likewise.
3696 (copysign_test): Use END macro without arguments.
3697 (cos_test): Likewise.
3698 (cos_test_tonearest): Likewise.
3699 (cos_test_towardzero): Likewise.
3700 (cos_test_downward): Likewise.
3701 (cos_test_upward): Likewise.
3702 (cosh_test): Likewise.
3703 (cosh_test_tonearest): Likewise.
3704 (cosh_test_towardzero): Likewise.
3705 (cosh_test_downward): Likewise.
3706 (cosh_test_upward): Likewise.
3707 (cpow_test): Use END_COMPLEX macro without arguments.
3708 (cproj_test): Likewise.
3709 (creal_test): Use END macro without arguments.
3710 (csin_test): Use END_COMPLEX macro without arguments.
3711 (csinh_test): Likewise.
3712 (csqrt_test): Likewise.
3713 (ctan_test): Likewise.
3714 (ctan_test_tonearest): Likewise.
3715 (ctan_test_towardzero): Likewise.
3716 (ctan_test_downward): Likewise.
3717 (ctan_test_upward): Likewise.
3718 (ctanh_test): Likewise.
3719 (ctanh_test_tonearest): Likewise.
3720 (ctanh_test_towardzero): Likewise.
3721 (ctanh_test_downward): Likewise.
3722 (ctanh_test_upward): Likewise.
3723 (erf_test): Use END macro without arguments.
3724 (erfc_test): Likewise.
3725 (exp_test): Likewise.
3726 (exp_test_tonearest): Likewise.
3727 (exp_test_towardzero): Likewise.
3728 (exp_test_downward): Likewise.
3729 (exp_test_upward): Likewise.
3730 (exp10_test): Likewise.
3731 (exp2_test): Likewise.
3732 (expm1_test): Likewise.
3733 (fabs_test): Likewise.
3734 (fdim_test): Likewise.
3735 (finite_test): Likewise.
3736 (floor_test): Likewise.
3737 (fma_test): Likewise.
3738 (fma_test_towardzero): Likewise.
3739 (fma_test_downward): Likewise.
3740 (fma_test_upward): Likewise.
3741 (fmax_test): Likewise.
3742 (fmin_test): Likewise.
3743 (fmod_test): Likewise.
3744 (fpclassify_test): Likewise.
3745 (frexp_test): Likewise.
3746 (gamma_test): Likewise.
3747 (hypot_test): Likewise.
3748 (ilogb_test): Likewise.
3749 (isfinite_test): Likewise.
3750 (isgreater_test): Likewise.
3751 (isgreaterequal_test): Likewise.
3752 (isinf_test): Likewise.
3753 (isless_test): Likewise.
3754 (islessequal_test): Likewise.
3755 (islessgreater_test): Likewise.
3756 (isnan_test): Likewise.
3757 (isnormal_test): Likewise.
3758 (issignaling_test): Likewise.
3759 (isunordered_test): Likewise.
3760 (j0_test): Likewise.
3761 (j1_test): Likewise.
3762 (jn_test): Likewise.
3763 (ldexp_test): Likewise.
3764 (lgamma_test): Likewise.
3765 (lrint_test): Likewise.
3766 (lrint_test_tonearest): Likewise.
3767 (lrint_test_towardzero): Likewise.
3768 (lrint_test_downward): Likewise.
3769 (lrint_test_upward): Likewise.
3770 (llrint_test): Likewise.
3771 (llrint_test_tonearest): Likewise.
3772 (llrint_test_towardzero): Likewise.
3773 (llrint_test_downward): Likewise.
3774 (llrint_test_upward): Likewise.
3775 (log_test): Likewise.
3776 (log10_test): Likewise.
3777 (log1p_test): Likewise.
3778 (log2_test): Likewise.
3779 (logb_test): Likewise.
3780 (logb_test_downward): Likewise.
3781 (lround_test): Likewise.
3782 (llround_test): Likewise.
3783 (modf_test): Likewise.
3784 (nearbyint_test): Likewise.
3785 (nextafter_test): Likewise.
3786 (nexttoward_test): Likewise.
3787 (pow_test): Likewise.
3788 (pow_test_tonearest): Likewise.
3789 (pow_test_towardzero): Likewise.
3790 (pow_test_downward): Likewise.
3791 (pow_test_upward): Likewise.
3792 (remainder_test): Likewise.
3793 (remainder_test_tonearest): Likewise.
3794 (remainder_test_towardzero): Likewise.
3795 (remainder_test_downward): Likewise.
3796 (remainder_test_upward): Likewise.
3797 (remquo_test): Likewise.
3798 (rint_test): Likewise.
3799 (rint_test_tonearest): Likewise.
3800 (rint_test_towardzero): Likewise.
3801 (rint_test_downward): Likewise.
3802 (rint_test_upward): Likewise.
3803 (round_test): Likewise.
3804 (scalb_test): Likewise.
3805 (scalbn_test): Likewise.
3806 (scalbln_test): Likewise.
3807 (signbit_test): Likewise.
3808 (sin_test): Likewise.
3809 (sin_test_tonearest): Likewise.
3810 (sin_test_towardzero): Likewise.
3811 (sin_test_downward): Likewise.
3812 (sin_test_upward): Likewise.
3813 (sincos_test): Likewise.
3814 (sinh_test): Likewise.
3815 (sinh_test_tonearest): Likewise.
3816 (sinh_test_towardzero): Likewise.
3817 (sinh_test_downward): Likewise.
3818 (sinh_test_upward): Likewise.
3819 (sqrt_test): Likewise.
3820 (tan_test): Likewise.
3821 (tan_test_tonearest): Likewise.
3822 (tan_test_towardzero): Likewise.
3823 (tan_test_downward): Likewise.
3824 (tan_test_upward): Likewise.
3825 (tanh_test): Likewise.
3826 (tgamma_test): Likewise.
3827 (trunc_test): Likewise.
3828 (y0_test): Likewise.
3829 (y1_test): Likewise.
3830 (yn_test): Likewise.
3831 (significand_test): Likewise.
3832
bae143d2
OB
38332013-05-24 Ondřej Bílka <neleai@seznam.cz>
3834
3835 [BZ #15381]
3836 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3837
9323d39b
EM
38382013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3839
d4ea44a0 3840 [BZ #14894]
9323d39b
EM
3841 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3842 __ppc_mdoio and __ppc_mdoom.
3843 * manual/platform.texi: Document new functions __ppc_yield,
3844 __ppc_mdoio and __ppc_mdoom.
3845
13e23af7
CD
38462013-05-22 Carlos O'Donell <carlos@redhat.com>
3847
3848 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3849 (main): Mention "tls" pseudo-hwcap is legacy.
3850 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3851
351fe550
JM
38522013-05-22 Joseph Myers <joseph@codesourcery.com>
3853
3854 * math/gen-libm-test.pl (parse_args): Output only string of
3855 arguments as text for test name, not full call or descriptions of
3856 tests for extra outputs.
3857 (generate_testfile): Do not pass function name to parse_args.
3858 Generate this_func variable from START.
3859 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3860 field to arg_str.
3861 (struct test_ff_f_data): Likewise.
3862 (test_ff_f_data_nexttoward): Likewise.
3863 (struct test_fi_f_data): Likewise.
3864 (struct test_fl_f_data): Likewise.
3865 (struct test_if_f_data): Likewise.
3866 (struct test_fff_f_data): Likewise.
3867 (struct test_c_f_data): Likewise.
3868 (struct test_f_f1_data): Likewise. Remove field extra_name.
3869 (struct test_fF_f1_data): Likewise.
3870 (struct test_ffI_f1_data): Likewise.
3871 (struct test_c_c_data): Rename test_name field to arg_str.
3872 (struct test_cc_c_data): Likewise.
3873 (struct test_f_i_data): Likewise.
3874 (struct test_ff_i_data): Likewise.
3875 (struct test_f_l_data): Likewise.
3876 (struct test_f_L_data): Likewise.
3877 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3878 and extra2_name.
3879 (COMMON_TEST_SETUP): New macro.
3880 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3881 (COMMON_TEST_CLEANUP): Likewise.
3882 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3883 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3884 macros.
3885 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3886 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3887 macros.
3888 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3889 (RUN_TEST_fff_f): Take argument string. Call new setup and
3890 cleanup macros.
3891 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3892 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3893 macros.
3894 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3895 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3896 macros.
3897 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3898 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3899 cleanup macros.
3900 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3901 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3902 cleanup macros.
3903 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3904 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3905 cleanup macros.
3906 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3907 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3908 macros.
3909 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3910 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3911 macros.
3912 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3913 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3914 macros.
3915 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3916 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3917 cleanup macros.
3918 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3919 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3920 cleanup macros.
3921 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3922 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3923 macros.
3924 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3925 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3926 cleanup macros.
3927 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3928 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3929 macros.
3930 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3931 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3932 macros.
3933 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3934 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3935 cleanup macros.
3936 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3937
85118d4d
EBM
39382013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3939
3940 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3941 to _sifields.sigfault.
3942 (si_addr_lsb): Define new macro.
3943 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3944 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3945 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3946
7a44c18f
CD
39472013-05-03 Carlos O'Donell <carlos at redhat.com>
3948
3949 [BZ #15441]
3950 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3951 returns -1.
3952 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3953 null return -1.
3954 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3955 loading the domain.
3956
b50a7181
JM
39572013-05-22 Joseph Myers <joseph@codesourcery.com>
3958
3959 * math/gen-libm-test.pl (parse_args): Do not include expected
3960 result in test name.
3961 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3962 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3963 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3964 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3965 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3967
051063c8
SP
39682013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3969
3ce9e010
SP
3970 * benchtests/Makefile: Sort function entries.
3971
051063c8
SP
3972 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3973 tanh, asinh, acosh, atanh.
3974 * benchtests/acos-inputs: New file.
3975 * benchtests/acosh-inputs: New file.
3976 * benchtests/asin-inputs: New file.
3977 * benchtests/asinh-inputs: New file.
3978 * benchtests/atanh-inputs: New file.
3979 * benchtests/cosh-inputs: New file.
3980 * benchtests/log-inputs: New file.
3981 * benchtests/sinh-inputs: New file.
3982 * benchtests/tanh-inputs: New file.
3983
47c22455
DL
39842013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3985
3986 [BZ #15339]
3987 * posix/tst-getaddrinfo4.c: New test.
3988 * posix/Makefile (tests): Add it.
3989
3d04f5db
SP
39902013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3991
3992 [BZ #15339]
3993 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3994 when no services were used.
3995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3996 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3997
d5dd6189
AS
39982013-05-21 Andreas Schwab <schwab@suse.de>
3999
4000 [BZ #15014]
4001 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4002 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4003 successful.
4004 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4005 redundant variable declarations and reallocation of buffer when
4006 parsing as IPv6 address. Always set NSS status when called from
4007 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4008 buffer too small. Correct computation of needed size.
4009 * nss/Makefile (tests): Add test-digits-dots.
4010 * nss/test-digits-dots.c: New test.
4011
fef94eab
SP
40122013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4013
4014 * benchtests/Makefile: Remove instructions for adding
4015 benchmark tests.
4016 * benchtests/README: New file to explain how to execute and
4017 enhance the benchmark tests.
4018
e39adf43
AS
40192013-05-21 Andreas Schwab <schwab@suse.de>
4020
4021 [BZ #15493]
4022 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4023 * setjmp/tst-sigsetjmp.c: New test.
4024
b2b671b6
OB
40252013-05-20 Ondřej Bílka <neleai@seznam.cz>
4026
4027 * sysdeps/x86_64/memset.S (memset): New implementation.
4028 (__bzero): Likewise.
4029 (__memset_tail): New function.
4030
2d48b41c
OB
40312013-05-20 Ondřej Bílka <neleai@seznam.cz>
4032
4033 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4034 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4035 __memcpy_sse2_unaligned ifunc selection.
4036 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4037 Add memcpy-sse2-unaligned.S.
4038 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4039 Add: __memcpy_sse2_unaligned.
4040
f16cc3eb
JM
40412013-05-19 Joseph Myers <joseph@codesourcery.com>
4042
3e694268
JM
4043 [BZ #15490]
4044 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4045 math_force_eval before restoring floating-point envrionment.
4046 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4047 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4048 Likewise.
4049 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4050 <math_private.h>.
4051 (__nearbyintl): Use math_force_eval before restoring
4052 floating-point environment.
4053 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4054
db62a907
JM
4055 * math/gen-libm-test.pl (special_functions): Remove.
4056 (parse_args): Don't handle TEST_extra. Handle functions with no
4057 return value.
4058 * math/libm-test.inc (struct test_sincos_data): Replace with
4059 struct test_fFF_11_data.
4060 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4061 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4062 (sincos_test_data): Change element type to struct
4063 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4064 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4065 RUN_TEST_LOOP_sincos.
4066 * math/README.libm-test: Don't mention special handling of
4067 individual functions.
4068 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4069 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4070 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4071 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4072 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4074
f16cc3eb
JM
4075 * math/gen-libm-test.pl (get_variable): Remove function.
4076 (parse_args): Don't show pointer parameters to call in test
4077 names. Use "extra output N" in test names for extra outputs
4078 rather than naming variables.
4079
3779b5b6
JM
40802013-05-18 Joseph Myers <joseph@codesourcery.com>
4081
2ee094ff
JM
4082 [BZ #15488]
4083 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4084 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4085 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4086 double tests.
4087 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4088 disable.
4089 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4090 check_long_double.
4091
3779b5b6
JM
4092 * math/gen-libm-test.pl (@tests): Remove variable.
4093 ($count): Likewise.
4094 (new_test): Remove function.
4095 (show_exceptions): New function.
4096 (special_functions): Use show_exceptions instead of new_test.
4097 (parse_args): Likewise.
4098 (generate_testfile): Pass only function name in generated call to
4099 print_max_error or print_complex_max_error.
4100 (get_ulps): Do not handle complex tests specially.
4101 (output_test): Rename to ...
4102 (get_all_ulps_for_test): ... this. Return a string rather than
4103 printing to a file. Require ulps to be present.
4104 (output_ulps): Generate arrays rather than #defines.
4105 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4106 (struct ulp_data): New type.
4107 (BUILD_COMPLEX_ULP): Remove macro.
4108 (compare_ulp_data): New function.
4109 (find_ulps): Likewise.
4110 (find_test_ulps): Likewise.
4111 (find_function_ulps): Likewise.
4112 (find_complex_function_ulps): Likewise.
4113 (print_max_error): Determine allowed ulps using
4114 find_function_ulps.
4115 (print_complex_max_error): Determine allowed ulps using
4116 find_complex_function_ulps.
4117 (check_float_internal): Determine max ulps using find_test_ulps.
4118 (check_float): Do not take max_ulp parameter. Update call to
4119 check_float_internal.
4120 (check_complex): Likewise.
4121 (check_int): Do not take max_ulp parameter.
4122 (check_long): Likewise.
4123 (check_bool): Likewise.
4124 (check_longlong): Likewise.
4125 (struct test_f_f_data): Remove max_ulp field.
4126 (struct test_ff_f_data): Likewise.
4127 (struct test_ff_f_data_nexttoward): Likewise.
4128 (struct test_fi_f_data): Likewise.
4129 (struct test_fl_f_data): Likewise.
4130 (struct test_if_f_data): Likewise.
4131 (struct test_fff_f_data): Likewise.
4132 (struct test_c_f_data): Likewise.
4133 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4134 (struct test_fF_f1_data): Likewise.
4135 (struct test_ffI_f1_data): Likewise.
4136 (struct test_c_c_data): Remove max_ulp field.
4137 (struct test_cc_c_data): Likewise.
4138 (struct test_f_i_data): Likewise.
4139 (struct test_ff_i_data): Likewise.
4140 (struct test_f_l_data): Likewise.
4141 (struct test_f_L_data): Likewise.
4142 (struct test_sincos_data): Likewise.
4143 (RUN_TEST_f_f): Do not handle ulps.
4144 (RUN_TEST_LOOP_f_f): Likewise.
4145 (RUN_TEST_2_f): Likewise.
4146 (RUN_TEST_LOOP_2_f): Likewise.
4147 (RUN_TEST_fff_f): Likewise.
4148 (RUN_TEST_LOOP_fff_f): Likewise.
4149 (RUN_TEST_c_f): Likewise.
4150 (RUN_TEST_LOOP_c_f): Likewise.
4151 (RUN_TEST_f_f1): Likewise.
4152 (RUN_TEST_LOOP_f_f1): Likewise.
4153 (RUN_TEST_fF_f1): Likewise.
4154 (RUN_TEST_LOOP_fF_f1): Likewise.
4155 (RUN_TEST_fI_f1): Likewise.
4156 (RUN_TEST_LOOP_fI_f1): Likewise.
4157 (RUN_TEST_ffI_f1): Likewise.
4158 (RUN_TEST_LOOP_ffI_f1): Likewise.
4159 (RUN_TEST_c_c): Likewise.
4160 (RUN_TEST_LOOP_c_c): Likewise.
4161 (RUN_TEST_cc_c): Likewise.
4162 (RUN_TEST_LOOP_cc_c): Likewise.
4163 (RUN_TEST_f_i): Likewise.
4164 (RUN_TEST_LOOP_f_i): Likewise.
4165 (RUN_TEST_f_i_tg): Likewise.
4166 (RUN_TEST_LOOP_f_i_tg): Likewise.
4167 (RUN_TEST_ff_i_tg): Likewise.
4168 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4169 (RUN_TEST_f_b): Likewise.
4170 (RUN_TEST_LOOP_f_b): Likewise.
4171 (RUN_TEST_f_b_tg): Likewise.
4172 (RUN_TEST_LOOP_f_b_tg): Likewise.
4173 (RUN_TEST_f_l): Likewise.
4174 (RUN_TEST_LOOP_f_l): Likewise.
4175 (RUN_TEST_f_L): Likewise.
4176 (RUN_TEST_LOOP_f_L): Likewise.
4177 (RUN_TEST_sincos): Likewise.
4178 (RUN_TEST_LOOP_sincos): Likewise.
4179
8269107f
JM
41802013-05-17 Joseph Myers <joseph@codesourcery.com>
4181
bb38759d
JM
4182 [BZ #15480]
4183 [BZ #15485]
4184 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4185 main case of finite arguments, set rounding mode to FE_TONEAREST
4186 and discard exceptions.
4187 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4188 exceptions.
4189 (remainder_tonearest_test_data): New variable.
4190 (remainder_test_tonearest): New function.
4191 (remainder_towardzero_test_data): New variable.
4192 (remainder_test_towardzero): New function.
4193 (remainder_downward_test_data): New variable.
4194 (remainder_test_downward): New function.
4195 (remainder_upward_test_data): New variable.
4196 (remainder_test_upward): New function.
4197 (main): Call the new test functions.
4198
a00bdcf0
JM
4199 * math/libm-test.inc (struct test_f_f1_data): Remove field
4200 extra_init.
4201 (struct test_fF_f1_data): Likewise.
4202 (struct test_ffI_f1_data): Likewise.
4203 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4204 based on value of EXTRA_EXPECTED.
4205 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4206 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4207 EXTRA_VAR based on value of EXTRA_EXPECTED.
4208 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4209 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4210 EXTRA_VAR based on value of EXTRA_EXPECTED.
4211 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4212 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4213 EXTRA_VAR based on value of EXTRA_EXPECTED.
4214 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4215 * math/gen-libm-test.pl (parse_args): Don't output initializers
4216 for extra output values.
4217
de407f79
JM
4218 * math/libm-test.inc (check_int): Expect result to be exactly
4219 equal to expected value and do not handle ulps.
4220 (check_long): Likewise.
4221 (check_longlong): Likewise.
4222
8269107f
JM
4223 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4224 exceptions.
4225 (cimag_test_data): Likewise.
4226 (conj_test_data): Likewise.
4227 (copysign_test_data): Likewise.
4228 (cproj_test_data): Likewise.
4229 (creal_test_data): Likewise.
4230 (fabs_test_data): Likewise.
4231 (fdim_test_data): Likewise.
4232 (finite_test_data): Likewise.
4233 (floor_test_data): Likewise.
4234 (fmax_test_data): Likewise.
4235 (fmin_test_data): Likewise.
4236 (fmod_test_data): Likewise.
4237 (fpclassify_test_data): Likewise.
4238 (frexp_test_data): Likewise.
4239 (ilogb_test_data): Likewise.
4240 (isfinite_test_data): Likewise.
4241 (isgreater_test_data): Likewise.
4242 (isgreaterequal_test_data): Likewise.
4243 (isinf_test_data): Likewise.
4244 (isless_test_data): Likewise.
4245 (islessequal_test_data): Likewise.
4246 (islessgreater_test_data): Likewise.
4247 (isnan_test_data): Likewise.
4248 (isnormal_test_data): Likewise.
4249 (issignaling_test_data): Likewise.
4250 (isunordered_test_data): Likewise.
4251 (ldexp_test_data): Likewise.
4252 (lrint_test_data): Likewise.
4253 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4254 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4255 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4256 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4257 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4258 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4259 test input.
4260 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4261 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4262 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4263 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4264 that test input.
4265 (lrint_downward_test_data): Test for "inexact" exceptions.
4266 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4267 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4268 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4269 test input.
4270 (lrint_upward_test_data): Test for "inexact" exceptions.
4271 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4272 test input.
4273 (llrint_test_data): Test for "inexact" exceptions.
4274 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4275 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4276 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4277 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4278 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4279 (llrint_downward_test_data): Test for "inexact" exceptions.
4280 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4281 (llrint_upward_test_data): Test for "inexact" exceptions.
4282 (logb_test_data): Likewise.
4283 (logb_downward_test_data): Likewise.
4284 (nextafter_test_data): Likewise.
4285 (nexttoward_test_data): Likewise.
4286 (remainder_test_data): Likewise.
4287 (remquo_test_data): Likewise.
4288 (scalbn_test_data): Likewise.
4289 (scalbln_test_data): Likewise.
4290 (signbit_test_data): Likewise.
4291 (sqrt_test_data): Likewise.
4292 (significand_test_data): Likewise.
4293
48a18de1
SP
42942013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4295
4296 [BZ #15424]
4297 * benchtests/bench-modf.c (struct args): Mark arg0 as
4298 volatile.
4299 * scripts/bench.pl: Mark members of struct args as volatile.
4300
13d3b41a
AZ
43012013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4302
68191c1d 4303 [BZ # 15497]
13d3b41a
AZ
4304 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4305 negative infinity on POWER6 or lower.
4306 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4307
2848b105
MR
43082013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4309
4310 [BZ #15442]
4311 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4312 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4313 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4314 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4315 (_FP_SETQNAN): New macro.
4316 (_FP_SETQNAN_SEMIRAW): Likewise.
4317 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4318 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4319 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4320 (FP_EXTEND): Use _FP_FRAC_SNANP.
4321 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4322 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4323 into account.
4324 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4325 New macro.
4326 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4327 Likewise.
4328
323e5cb7
JM
43292013-05-16 Joseph Myers <joseph@codesourcery.com>
4330
c58b274f
JM
4331 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4332 with DIVIDE_BY_ZERO_EXCEPTION.
4333 (gamma_test_data): Likewise.
4334 (lgamma_test_data): Likewise.
4335 (log_test_data): Likewise.
4336 (log10_test_data): Likewise.
4337 (log2_test_data): Likewise.
4338 (tgamma_test_data): Likewise.
4339
0ab34904
JM
4340 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4341 (acos_test_tonearest): Likewise.
4342 (acos_test_towardzero): Likewise.
4343 (acos_test_downward): Likewise.
4344 (acos_test_upward): Likewise.
4345 (acosh_test): Likewise.
4346 (asin_test): Likewise.
4347 (asin_test_tonearest): Likewise.
4348 (asin_test_towardzero): Likewise.
4349 (asin_test_downward): Likewise.
4350 (asin_test_upward): Likewise.
4351 (asinh_test): Likewise.
4352 (atan_test): Likewise.
4353 (atanh_test): Likewise.
4354 (atan2_test): Likewise.
4355 (cabs_test): Likewise.
4356 (cacos_test): Likewise.
4357 (cacosh_test): Likewise.
4358 (casin_test): Likewise.
4359 (casinh_test): Likewise.
4360 (catan_test): Likewise.
4361 (catanh_test): Likewise.
4362 (cbrt_test): Likewise.
4363 (ccos_test): Likewise.
4364 (ccosh_test): Likewise.
4365 (cexp_test): Likewise.
4366 (clog_test): Likewise.
4367 (clog10_test): Likewise.
4368 (cos_test): Likewise.
4369 (cos_test_tonearest): Likewise.
4370 (cos_test_towardzero): Likewise.
4371 (cos_test_downward): Likewise.
4372 (cos_test_upward): Likewise.
4373 (cosh_test): Likewise.
4374 (cosh_test_tonearest): Likewise.
4375 (cosh_test_towardzero): Likewise.
4376 (cosh_test_downward): Likewise.
4377 (cosh_test_upward): Likewise.
4378 (cpow_test): Likewise.
4379 (csin_test): Likewise.
4380 (csinh_test): Likewise.
4381 (csqrt_test): Likewise.
4382 (ctan_test): Likewise.
4383 (ctan_test_tonearest): Likewise.
4384 (ctan_test_towardzero): Likewise.
4385 (ctan_test_downward): Likewise.
4386 (ctan_test_upward): Likewise.
4387 (ctanh_test): Likewise.
4388 (ctanh_test_tonearest): Likewise.
4389 (ctanh_test_towardzero): Likewise.
4390 (ctanh_test_downward): Likewise.
4391 (ctanh_test_upward): Likewise.
4392 (erf_test): Likewise.
4393 (erfc_test): Likewise.
4394 (exp_test): Likewise.
4395 (exp_test_tonearest): Likewise.
4396 (exp_test_towardzero): Likewise.
4397 (exp_test_downward): Likewise.
4398 (exp_test_upward): Likewise.
4399 (exp10_test): Likewise.
4400 (exp2_test): Likewise.
4401 (expm1_test): Likewise.
4402 (fmod_test): Likewise.
4403 (gamma_test): Likewise.
4404 (hypot_test): Likewise.
4405 (j0_test): Likewise.
4406 (j1_test): Likewise.
4407 (jn_test): Likewise.
4408 (lgamma_test): Likewise.
4409 (log_test): Likewise.
4410 (log10_test): Likewise.
4411 (log1p_test): Likewise.
4412 (log2_test): Likewise.
4413 (logb_test_downward): Likewise.
4414 (pow_test): Likewise.
4415 (pow_test_tonearest): Likewise.
4416 (pow_test_towardzero): Likewise.
4417 (pow_test_downward): Likewise.
4418 (pow_test_upward): Likewise.
4419 (remainder_test): Likewise.
4420 (remquo_test): Likewise.
4421 (sin_test): Likewise.
4422 (sin_test_tonearest): Likewise.
4423 (sin_test_towardzero): Likewise.
4424 (sin_test_downward): Likewise.
4425 (sin_test_upward): Likewise.
4426 (sincos_test): Likewise.
4427 (sinh_test): Likewise.
4428 (sinh_test_tonearest): Likewise.
4429 (sinh_test_towardzero): Likewise.
4430 (sinh_test_downward): Likewise.
4431 (sinh_test_upward): Likewise.
4432 (sqrt_test): Likewise.
4433 (tan_test): Likewise.
4434 (tan_test_tonearest): Likewise.
4435 (tan_test_towardzero): Likewise.
4436 (tan_test_downward): Likewise.
4437 (tan_test_upward): Likewise.
4438 (tanh_test): Likewise.
4439 (tgamma_test): Likewise.
4440 (y0_test): Likewise.
4441 (y1_test): Likewise.
4442 (yn_test): Likewise.
4443
323e5cb7
JM
4444 * math/gen-libm-test.pl (adjust_arg): Remove function.
4445 (special_function): Remove argument $in_func. Only handle
4446 generating output for tables of tests, not inside functions.
4447 (parse_args): Likewise.
4448 (generate_testfile): Remove variable $in_func. Update call to
4449 parse_args.
4450 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4451 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4452 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4453 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4454 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4455 (MAX_VALUE_INIT): Rename macro to max_value.
4456 (MIN_VALUE_INIT): Rename macro to min_value.
4457 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4458 (plus_zero): Remove variable.
4459 (minus_zero): Likewise.
4460 (plus_infty): Likewise.
4461 (minus_infty): Likewise.
4462 (qnan_value): Likewise.
4463 (max_value): Likewise.
4464 (min_value): Likewise.
4465 (min_subnorm_value): Likewise.
4466
e054f494
RA
44672013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4468
4469 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4470 uint64_t or uint32_t usage.
4471 * crypt/sha256-block.c: Likewise.
4472 * crypt/sha256-crypt.c: Likewise.
4473 * crypt/sha256.c: Likewise.
4474 * crypt/sha512-block.c: Likewise.
4475 * crypt/sha512-crypt.c: Likewise.
4476 * crypt/sha512.c: Likewise.
4477 * debug/backtrace-tst.c: Likewise.
4478 * debug/pcprofiledump.c: Likewise.
4479 * elf/cache.c: Likewise.
4480 * elf/dl-cache.c: Likewise.
4481 * elf/dl-misc.c: Likewise.
4482 * elf/dl-profile.c: Likewise.
4483 * elf/dl-support.c: Likewise.
4484 * elf/ldconfig.c: Likewise.
4485 * elf/sprof.c: Likewise.
4486 * iconv/dummy-repertoire.c: Likewise.
4487 * iconv/iconv_charmap.c: Likewise.
4488 * iconv/skeleton.c: Likewise.
4489 * iconvdata/8bit-generic.c: Likewise.
4490 * iconvdata/cp737.h: Likewise.
4491 * iconvdata/cp775.h: Likewise.
4492 * iconvdata/ibm1008.h: Likewise.
4493 * iconvdata/ibm1025.h: Likewise.
4494 * iconvdata/ibm1046.h: Likewise.
4495 * iconvdata/ibm1097.h: Likewise.
4496 * iconvdata/ibm1112.h: Likewise.
4497 * iconvdata/ibm1122.h: Likewise.
4498 * iconvdata/ibm1123.h: Likewise.
4499 * iconvdata/ibm1124.h: Likewise.
4500 * iconvdata/ibm1129.h: Likewise.
4501 * iconvdata/ibm1130.h: Likewise.
4502 * iconvdata/ibm1132.h: Likewise.
4503 * iconvdata/ibm1133.h: Likewise.
4504 * iconvdata/ibm1137.h: Likewise.
4505 * iconvdata/ibm1140.h: Likewise.
4506 * iconvdata/ibm1141.h: Likewise.
4507 * iconvdata/ibm1142.h: Likewise.
4508 * iconvdata/ibm1143.h: Likewise.
4509 * iconvdata/ibm1144.h: Likewise.
4510 * iconvdata/ibm1145.h: Likewise.
4511 * iconvdata/ibm1146.h: Likewise.
4512 * iconvdata/ibm1147.h: Likewise.
4513 * iconvdata/ibm1148.h: Likewise.
4514 * iconvdata/ibm1149.h: Likewise.
4515 * iconvdata/ibm1153.h: Likewise.
4516 * iconvdata/ibm1154.h: Likewise.
4517 * iconvdata/ibm1155.h: Likewise.
4518 * iconvdata/ibm1156.h: Likewise.
4519 * iconvdata/ibm1157.h: Likewise.
4520 * iconvdata/ibm1158.h: Likewise.
4521 * iconvdata/ibm1160.h: Likewise.
4522 * iconvdata/ibm1161.h: Likewise.
4523 * iconvdata/ibm1162.h: Likewise.
4524 * iconvdata/ibm1163.h: Likewise.
4525 * iconvdata/ibm1164.h: Likewise.
4526 * iconvdata/ibm1166.h: Likewise.
4527 * iconvdata/ibm1167.h: Likewise.
4528 * iconvdata/ibm12712.h: Likewise.
4529 * iconvdata/ibm1390.h: Likewise.
4530 * iconvdata/ibm1399.h: Likewise.
4531 * iconvdata/ibm16804.h: Likewise.
4532 * iconvdata/ibm4517.h: Likewise.
4533 * iconvdata/ibm4899.h: Likewise.
4534 * iconvdata/ibm4909.h: Likewise.
4535 * iconvdata/ibm4971.h: Likewise.
4536 * iconvdata/ibm5347.h: Likewise.
4537 * iconvdata/ibm803.h: Likewise.
4538 * iconvdata/ibm856.h: Likewise.
4539 * iconvdata/ibm901.h: Likewise.
4540 * iconvdata/ibm902.h: Likewise.
4541 * iconvdata/ibm9030.h: Likewise.
4542 * iconvdata/ibm9066.h: Likewise.
4543 * iconvdata/ibm921.h: Likewise.
4544 * iconvdata/ibm922.h: Likewise.
4545 * iconvdata/ibm9448.h: Likewise.
4546 * iconvdata/isiri-3342.h: Likewise.
4547 * iconvdata/jis0201.h: Likewise.
4548 * include/link.h: Likewise.
4549 * include/netdb.h: Likewise.
4550 * inet/check_native.c: Likewise.
4551 * inet/check_pf.c: Likewise.
4552 * inet/getipv4sourcefilter.c: Likewise.
4553 * inet/getnameinfo.c: Likewise.
4554 * inet/getsourcefilter.c: Likewise.
4555 * inet/htonl.c: Likewise.
4556 * inet/setipv4sourcefilter.c: Likewise.
4557 * inet/setsourcefilter.c: Likewise.
4558 * inet/test-inet6_opt.c: Likewise.
4559 * inet/tst-network.c: Likewise.
4560 * locale/C-collate.c: Likewise.
4561 * locale/C-ctype.c: Likewise.
4562 * locale/C-time.c: Likewise.
4563 * locale/C-translit.h: Likewise.
4564 * locale/loadarchive.c: Likewise.
4565 * locale/programs/3level.h: Likewise.
4566 * locale/programs/charmap.c: Likewise.
4567 * locale/programs/charmap.h: Likewise.
4568 * locale/programs/ld-address.c: Likewise.
4569 * locale/programs/ld-collate.c: Likewise.
4570 * locale/programs/ld-ctype.c: Likewise.
4571 * locale/programs/ld-identification.c: Likewise.
4572 * locale/programs/ld-measurement.c: Likewise.
4573 * locale/programs/ld-messages.c: Likewise.
4574 * locale/programs/ld-monetary.c: Likewise.
4575 * locale/programs/ld-name.c: Likewise.
4576 * locale/programs/ld-numeric.c: Likewise.
4577 * locale/programs/ld-paper.c: Likewise.
4578 * locale/programs/ld-telephone.c: Likewise.
4579 * locale/programs/ld-time.c: Likewise.
4580 * locale/programs/linereader.c: Likewise.
4581 * locale/programs/locale.c: Likewise.
4582 * locale/programs/locarchive.c: Likewise.
4583 * locale/programs/locfile.h: Likewise.
4584 * locale/programs/repertoire.c: Likewise.
4585 * locale/programs/simple-hash.c: Likewise.
4586 * locale/programs/simple-hash.h: Likewise.
4587 * malloc/memusage.c: Likewise.
4588 * malloc/memusagestat.c: Likewise.
4589 * nis/nis_defaults.c: Likewise.
4590 * nis/nis_hash.c: Likewise.
4591 * nis/nis_print.c: Likewise.
4592 * nis/nis_xdr.c: Likewise.
4593 * nscd/connections.c: Likewise.
4594 * nscd/hstcache.c: Likewise.
4595 * nscd/nscd_gethst_r.c: Likewise.
4596 * nscd/nscd_getserv_r.c: Likewise.
4597 * nscd/nscd_helper.c: Likewise.
4598 * nscd/servicescache.c: Likewise.
4599 * nss/makedb.c: Likewise.
4600 * nss/nss_db/db-XXX.c: Likewise.
4601 * nss/nss_db/db-initgroups.c: Likewise.
4602 * nss/nss_db/db-netgrp.c: Likewise.
4603 * nss/nss_files/files-network.c: Likewise.
4604 * nss/nss_files/files-parse.c: Likewise.
4605 * posix/bug-regex5.c: Likewise.
4606 * posix/fnmatch_loop.c: Likewise.
4607 * posix/regcomp.c: Likewise.
4608 * posix/regexec.c: Likewise.
4609 * posix/tst-rfc3484-2.c: Likewise.
4610 * posix/tst-rfc3484-3.c: Likewise.
4611 * posix/tst-rfc3484.c: Likewise.
4612 * resolv/nss_dns/dns-canon.c: Likewise.
4613 * resolv/nss_dns/dns-network.c: Likewise.
4614 * resolv/res_init.c: Likewise.
4615 * resolv/res_mkquery.c: Likewise.
4616 * resolv/tst-aton.c: Likewise.
4617 * stdlib/cxa_atexit.c: Likewise.
4618 * stdlib/cxa_finalize.c: Likewise.
4619 * stdlib/gen-fpioconst.c: Likewise.
4620 * stdlib/strtol_l.c: Likewise.
4621 * string/tst-endian.c: Likewise.
4622 * sunrpc/auth_des.c: Likewise.
4623 * sunrpc/clnt_udp.c: Likewise.
4624 * sunrpc/rtime.c: Likewise.
4625 * sunrpc/svcauth_des.c: Likewise.
4626 * sunrpc/xdr.c: Likewise.
4627 * sunrpc/xdr_intXX_t.c: Likewise.
4628 * sunrpc/xdr_rec.c: Likewise.
4629 * sysdeps/generic/ldconfig.h: Likewise.
4630 * sysdeps/generic/ldsodefs.h: Likewise.
4631 * sysdeps/generic/memusage.h: Likewise.
4632 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4633 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4634 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4635 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4636 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4637 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4638 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4639 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4640 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4641 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4642 * sysdeps/posix/getaddrinfo.c: Likewise.
4643 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4644 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4645 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4646 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4647 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4648 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4649 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4650 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4651 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4652 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4653 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4654 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4655 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4656 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4657 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4658 * sysdeps/x86_64/dl-tls.h: Likewise.
4659 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4660 * time/alt_digit.c: Likewise.
4661 * time/era.c: Likewise.
4662 * wcsmbs/tst-c16c32-1.c: Likewise.
4663
8c75f674
JM
46642013-05-16 Joseph Myers <joseph@codesourcery.com>
4665
4666 * math/libm-test.inc (struct test_sincos_data): New type.
4667 (RUN_TEST_LOOP_sincos): New macro.
4668 (sincos_test_data): New variable.
4669 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4670
e6e49e59
RH
46712013-05-16 Richard Henderson <rth@redhat.com>
4672
4673 * math/atest-exp2.c (LIMB64): New macro.
4674 (CONSTSZ): New macro.
4675 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4676 (hexdig): Move ...
4677 (print_mpn_fp): ... to function scope.
4678 (read_mpn_hex): Remove.
4679 (get_log2): Remove.
4680 (exp2_mpn): Use mp_log2.
4681 (main): Use mp_exp1.
4682
15c7c18d
JM
46832013-05-16 Joseph Myers <joseph@codesourcery.com>
4684
105a07df
JM
4685 * math/libm-test.inc: Remove comment about not testing "inexact"
4686 exceptions.
4687 (INEXACT_EXCEPTION): New macro.
4688 (NO_INEXACT_EXCEPTION): Likewise.
4689 (INVALID_EXCEPTION_OK): Update value.
4690 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4691 (OVERFLOW_EXCEPTION_OK): Likewise.
4692 (UNDERFLOW_EXCEPTION_OK): Likewise.
4693 (IGNORE_ZERO_INF_SIGN): Likewise.
4694 (ERRNO_UNCHANGED): Likewise.
4695 (ERRNO_EDOM): Likewise.
4696 (ERRNO_ERANGE): Likewise.
4697 (test_exceptions): Handle testing "inexact" exceptions.
4698 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4699 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4700 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4701 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4702 INEXACT_EXCEPTION.
4703 (rint_towardzero_test_data): Likewise.
4704 (rint_downward_test_data): Likewise.
4705 (rint_upward_test_data): Likewise.
4706
e9eee333
JM
4707 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4708 with OVERFLOW_EXCEPTION.
4709 (exp10_test_data): Likewise.
4710 (exp2_test_data): Likewise.
4711 (expm1_test_data): Likewise.
4712 (lgamma_test_data): Likewise.
4713 (pow_test_data): Likewise.
4714 (tgamma_test_data): Likewise.
4715 (yn_test_data): Remove duplicate test of overflow.
4716
1c38ff73
JM
4717 * math/libm-test.inc (struct test_cc_c_data): New type.
4718 (RUN_TEST_LOOP_cc_c): New macro.
4719 (cpow_test_data): New variable.
4720 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4721
15c7c18d
JM
4722 * math/libm-test.inc (struct test_f_L_data): New type.
4723 (RUN_TEST_LOOP_f_L): New macro.
4724 (llrint_test_data): New variable.
4725 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4726 (llrint_tonearest_test_data): New variable.
4727 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4728 (llrint_towardzero_test_data): New variable.
4729 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4730 (llrint_downward_test_data): New variable.
4731 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4732 (llrint_upward_test_data): New variable.
4733 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4734 (llround_test_data): New variable.
4735 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4736
f137ff13
PC
47372013-05-13 Peter Collingbourne <pcc@google.com>
4738
4739 * math/atest-exp2.c (get_log2): Remove const attribute.
4740
3608cb24
JM
47412013-05-15 Joseph Myers <joseph@codesourcery.com>
4742
4743 * math/libm-test.inc (struct test_f_l_data): New type.
4744 (RUN_TEST_LOOP_f_l): New macro.
4745 (lrint_test_data): New variable.
4746 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4747 (lrint_tonearest_test_data): New variable.
4748 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4749 (lrint_towardzero_test_data): New variable.
4750 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4751 (lrint_downward_test_data): New variable.
4752 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4753 (lrint_upward_test_data): New variable.
4754 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4755 (lround_test_data): New variable.
4756 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4757
39b1f617
PC
47582013-05-15 Peter Collingbourne <pcc@google.com>
4759
1deff3dc
PC
4760 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4761 (EXTRACT_WORDS64) Use where appropriate.
4762 (INSERT_WORDS64) Likewise.
4763
791f3ba0
PC
4764 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4765 constraints with x constraints.
4766 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4767
39b1f617
PC
4768 * malloc/obstack.c (_obstack_compat): Add initializer.
4769
12fba011
EM
47702013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4771
4772 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4773 si_trapno and add si_addr_lsb to _sifields.sigfault.
4774 (si_trapno): Remove macro.
4775 (si_addr_lsb): Define new macro.
4776 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4777
d369f531
JM
47782013-05-15 Joseph Myers <joseph@codesourcery.com>
4779
b861c6c4
JM
4780 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4781 instead of TEST_f_l.
4782 (llrint_test_tonearest): Likewise.
4783 (llrint_test_towardzero): Likewise.
4784 (llrint_test_downward): Likewise.
4785 (llrint_test_upward): Likewise.
4786 (llround_test): Likewise.
4787
7abeee12
JM
4788 * math/libm-test.inc (struct test_f_i_data): Add comment.
4789 (RUN_TEST_LOOP_f_b): New macro.
4790 (RUN_TEST_LOOP_f_b_tg): Likewise.
4791 (finite_test_data): New variable.
4792 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4793 (isfinite_test_data): New variable.
4794 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4795 (isinf_test_data): New variable.
4796 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4797 (isnan_test_data): New variable.
4798 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4799 (isnormal_test_data): New variable.
4800 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4801 (issignaling_test_data): New variable.
4802 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4803 (signbit_test_data): New variable.
4804 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4805
cbe8c4d3
JM
4806 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4807 with INVALID_EXCEPTION.
4808 (acosh_test_data): Likewise.
4809 (asin_test_data): Likewise.
4810 (atanh_test_data): Likewise.
4811 (fmod_test_data): Likewise.
4812 (log_test_data): Likewise.
4813 (log10_test_data): Likewise.
4814 (log2_test_data): Likewise.
4815 (pow_test_data): Likewise.
4816 (sqrt_test_data): Likewise.
4817 (y0_test_data): Likewise.
4818 (y1_test_data): Likewise.
4819 (yn_test_data): Likewise.
4820
5575c0e5
JM
4821 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4822 function contents.
4823
d369f531
JM
4824 * math/libm-test.inc (struct test_ff_i_data): New type.
4825 (RUN_TEST_LOOP_ff_i_tg): New macro.
4826 (isgreater_test_data): New variable.
4827 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4828 (isgreaterequal_test_data): New variable.
4829 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4830 (isless_test_data): New variable.
4831 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4832 (islessequal_test_data): New variable.
4833 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4834 (islessgreater_test_data): New variable.
4835 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4836 (isunordered_test_data): New variable.
4837 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4838
781fd748
DM
48392013-05-14 David S. Miller <davem@davemloft.net>
4840
4841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4842
87aa21df
JM
48432013-05-14 Joseph Myers <joseph@codesourcery.com>
4844
5e908270
JM
4845 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4846
f71172e5
JM
4847 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4848 extra_test to int.
4849 (struct test_f_i_data): Change type of max_ulp to int.
4850
8cfa635a
JM
4851 * math/libm-test.inc (test_ffI_f1_data): New type.
4852 (RUN_TEST_LOOP_ffI_f1): New macro.
4853 (remquo_test_data): New variable.
4854 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4855
2bcb36b2
JM
4856 * setjmp/tst-setjmp-fp.c: New file.
4857 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4858 (link-libm): New variable.
4859 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4860
acbd839a
JM
4861 * math/libm-test.inc (struct test_f_i_data): New type.
4862 (RUN_TEST_LOOP_f_i): New macro.
4863 (RUN_TEST_LOOP_f_i_tg): Likewise.
4864 (fpclassify_test_data): New variable.
4865 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4866 (ilogb_test_data): New variable.
4867 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4868
e414d745
JM
4869 * math/libm-test.inc (scalbln_test): Correct function name in END
4870 call.
4871
d9c2a0fd
JM
4872 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4873 (RUN_TEST_LOOP_fI_f1): New macro.
4874 (frexp_test_data): New variable.
4875 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4876
9dc9095d
JM
4877 * math/libm-test.inc (struct test_fF_f1_data): New type.
4878 (RUN_TEST_LOOP_fF_f1): New macro.
4879 (modf_test_data): New variable.
4880 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4881
87aa21df
JM
4882 * math/libm-test.inc (struct test_f_f1_data): New type.
4883 (RUN_TEST_LOOP_f_f1): New macro.
4884 (gamma_test_data): New variable.
4885 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4886 (lgamma_test_data): New variable.
4887 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4888
141af660
CD
48892013-05-13 Carlos O'Donell <carlos@redhat.com>
4890
4891 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4892 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4893 (main): Comment "tls" pseudo-hwcap.
4894
6d33265c
JM
48952013-05-13 Joseph Myers <joseph@codesourcery.com>
4896
68fc074c
JM
4897 * math/libm-test.inc (struct test_fl_f_data): New type.
4898 (RUN_TEST_LOOP_fl_f): New variable.
4899 (scalbln_test_data): New variable.
4900 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4901
243216e1
JM
4902 * math/libm-test.inc (struct test_fi_f_data): New type.
4903 (RUN_TEST_LOOP_fi_f): New macro.
4904 (ldexp_test_data): New variable.
4905 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4906 (scalbn_test_data): New variable.
4907 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4908
6a1992e2
JM
4909 * math/libm-test.inc (struct test_c_f_data): New type.
4910 (RUN_TEST_LOOP_c_f): New macro.
4911 (cabs_test_data): New variable.
4912 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4913 (carg_test_data): New variable.
4914 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4915 (cimag_test_data): New variable.
4916 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4917 (creal_test_data): New variable.
4918 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4919
0e400df5
JM
4920 * math/libm-test.inc (struct test_if_f_data): New type.
4921 (RUN_TEST_LOOP_if_f): New macro.
4922 (jn_test_data): New variable.
4923 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4924 (yn_test_data): New variable.
4925 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4926
6d33265c
JM
4927 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4928
f98ece5f
AZ
49292013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4930
4931 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4932 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4933
0f7d347b
SP
49342013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4935
43fe811b
SP
4936 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4937 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4938 (bench-deps): Add bench-timing.h.
4939 * benchtests-bench-skeleton.c: Include bench-timing.h.
4940 (main): Use TIMING_* macros instead of clock_gettime.
4941 * benchtests/bench-timing.h: New file.
4942
0f7d347b
SP
4943 [BZ #14582]
4944 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4945 Renamed from _LIB_VERSION.
4946 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4947
601a3a5f
JM
49482013-05-12 Joseph Myers <joseph@codesourcery.com>
4949
4f184d30
JM
4950 * math/libm-test.inc (struct test_fff_f_data): New type.
4951 (RUN_TEST_LOOP_fff_f): New macro.
4952 (fma_test_data): New variable.
4953 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4954 (fma_towardzero_test_data): New variable.
4955 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4956 (fma_downward_test_data): New variable.
4957 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4958 (fma_upward_test_data): New variable.
4959 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4960
08198877
JM
4961 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4962 (struct test_c_c_data): New type.
4963 (RUN_TEST_LOOP_c_c): New macro.
4964 (cacos_test_data): New variable.
4965 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4966 (cacosh_test_data): New variable.
4967 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4968 (casin_test_data): New variable.
4969 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4970 (casinh_test_data): New variable.
4971 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4972 (catan_test_data): New variable.
4973 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4974 (catanh_test_data): New variable.
4975 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4976 (ccos_test_data): New variable.
4977 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4978 (ccosh_test_data): New variable.
4979 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4980 (cexp_test_data): New variable.
4981 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4982 (clog_test_data): New variable.
4983 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4984 (clog10_test_data): New variable.
4985 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4986 (conj_test_data): New variable.
4987 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4988 (cproj_test_data): New variable.
4989 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4990 (csin_test_data): New variable.
4991 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4992 (csinh_test_data): New variable.
4993 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4994 (csqrt_test_data): New variable.
4995 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4996 (ctan_test_data): New variable.
4997 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4998 (ctan_tonearest_test_data): New variable.
4999 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5000 (ctan_towardzero_test_data): New variable.
5001 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5002 (ctan_downward_test_data): New variable.
5003 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5004 (ctan_upward_test_data): New variable.
5005 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5006 (ctanh_test_data): New variable.
5007 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5008 (ctanh_tonearest_test_data): New variable.
5009 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5010 (ctanh_towardzero_test_data): New variable.
5011 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5012 (ctanh_downward_test_data): New variable.
5013 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5014 (ctanh_upward_test_data): New variable.
5015 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5016 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5017 of BUILD_COMPLEX.
5018
601a3a5f
JM
5019 * math/libm-test.inc (struct test_ff_f_data): New type.
5020 (struct test_ff_f_data_nexttoward): Likewise.
5021 (RUN_TEST_LOOP_2_f): New macro.
5022 (RUN_TEST_LOOP_ff_f): Likewise.
5023 (atan2_test_data): New variable.
5024 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5025 (copysign_test_data): New variable.
5026 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5027 (fdim_test_data): New variable.
5028 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5029 (fmax_test_data): New variable.
5030 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5031 (fmin_test_data): New variable.
5032 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5033 (fmod_test_data): New variable.
5034 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5035 (hypot_test_data): New variable.
5036 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5037 (nextafter_test_data): New variable.
5038 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5039 (nexttoward_test_data): New variable.
5040 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5041 (pow_test_data): New variable.
5042 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5043 (pow_tonearest_test_data): New variable.
5044 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5045 (pow_towardzero_test_data): New variable.
5046 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5047 (pow_downward_test_data): New variable.
5048 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5049 (pow_upward_test_data): New variable.
5050 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5051 (remainder_test_data): New variable.
5052 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5053 (scalb_test_data): New variable.
5054 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5055 * sysdeps/i386/fpu/libm-test-ulps: Update.
5056
74c57478
JM
50572013-05-11 Joseph Myers <joseph@codesourcery.com>
5058
8329e4da
JM
5059 * math/libm-test.inc (fma_test): Use max_value instead of local
5060 variable fltmax.
5061 (nextafter_test): Likewise.
5062
74c57478
JM
5063 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5064 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5065 (acos_downward_test_data): New variable.
5066 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5067 (acos_upward_test_data): New variable.
5068 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5069 (acosh_test_data): New variable.
5070 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5071 (asin_test_data): New variable.
5072 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5073 (asin_tonearest_test_data): New variable.
5074 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5075 (asin_towardzero_test_data): New variable.
5076 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5077 (asin_downward_test_data): New variable.
5078 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5079 (asin_upward_test_data): New variable.
5080 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5081 (asinh_test_data): New variable.
5082 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5083 (atan_test_data): New variable.
5084 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5085 (atanh_test_data): New variable.
5086 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5087 (cbrt_test_data): New variable.
5088 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5089 (ceil_test_data): New variable.
5090 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5091 (cos_test_data): New variable.
5092 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5093 (cos_tonearest_test_data): New variable.
5094 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5095 (cos_towardzero_test_data): New variable.
5096 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5097 (cos_downward_test_data): New variable.
5098 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5099 (cos_upward_test_data): New variable.
5100 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5101 (cosh_test_data): New variable.
5102 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5103 (cosh_tonearest_test_data): New variable.
5104 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5105 (cosh_towardzero_test_data): New variable.
5106 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5107 (cosh_downward_test_data): New variable.
5108 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5109 (cosh_upward_test_data): New variable.
5110 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5111 (erf_test_data): New variable.
5112 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5113 (erfc_test_data): New variable.
5114 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5115 (exp_test_data): New variable.
5116 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5117 (exp_tonearest_test_data): New variable.
5118 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5119 (exp_towardzero_test_data): New variable.
5120 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5121 (exp_downward_test_data): New variable.
5122 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5123 (exp_upward_test_data): New variable.
5124 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5125 (exp10_test_data): New variable.
5126 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5127 (exp2_test_data): New variable.
5128 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5129 (expm1_test_data): New variable.
5130 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5131 (fabs_test_data): New variable.
5132 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5133 (floor_test_data): New variable.
5134 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5135 (j0_test_data): New variable.
5136 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5137 (j1_test_data): New variable.
5138 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5139 (log_test_data): New variable.
5140 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5141 (log10_test_data): New variable.
5142 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5143 (log1p_test_data): New variable.
5144 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5145 (log2_test_data): New variable.
5146 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5147 (logb_test_data): New variable.
5148 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5149 (logb_downward_test_data): New variable.
5150 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5151 (nearbyint_test_data): New variable.
5152 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5153 (rint_test_data): New variable.
5154 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5155 (rint_tonearest_test_data): New variable.
5156 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5157 (rint_towardzero_test_data): New variable.
5158 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5159 (rint_downward_test_data): New variable.
5160 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5161 (rint_upward_test_data): New variable.
5162 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5163 (round_test_data): New variable.
5164 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5165 (sin_test_data): New variable.
5166 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5167 (sin_tonearest_test_data): New variable.
5168 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5169 (sin_towardzero_test_data): New variable.
5170 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5171 (sin_downward_test_data): New variable.
5172 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5173 (sin_upward_test_data): New variable.
5174 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5175 (sinh_test_data): New variable.
5176 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5177 (sinh_tonearest_test_data): New variable.
5178 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5179 (sinh_towardzero_test_data): New variable.
5180 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5181 (sinh_downward_test_data): New variable.
5182 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5183 (sinh_upward_test_data): New variable.
5184 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5185 (sqrt_test_data): New variable.
5186 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5187 (tan_test_data): New variable.
5188 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5189 (tan_tonearest_test_data): New variable.
5190 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5191 (tan_towardzero_test_data): New variable.
5192 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5193 (tan_downward_test_data): New variable.
5194 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5195 (tan_upward_test_data): New variable.
5196 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5197 (tanh_test_data): New variable.
5198 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5199 (tgamma_test_data): New variable.
5200 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5201 (trunc_test_data): New variable.
5202 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5203 (y0_test_data): New variable.
5204 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5205 (y1_test_data): New variable.
5206 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5207 (significand_test_data): New variable.
5208 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5209
7187d844
CG
52102013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5211
5212 [BZ #12387]
5213 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5214
f63fae73
PT
52152013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5216
5217 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5218
8a67a4b3
AJ
52192013-05-10 Andreas Jaeger <aj@suse.de>
5220
5221 [BZ #15448]
5222 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5223 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5224
51df539d
JM
52252013-05-10 Joseph Myers <joseph@codesourcery.com>
5226
5227 * math/gen-libm-test.pl (adjust_arg): New function.
5228 (special_functions): Handle generating output in both functions
5229 and arrays.
5230 (parse_args): Likewise.
5231 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5232 $in_func argument to parse_args.
5233 * math/libm-test.inc (struct test_f_f_data): New type.
5234 (IF_ROUND_INIT_): New macro.
5235 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5236 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5237 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5238 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5239 (ROUND_RESTORE_): Likewise.
5240 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5241 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5242 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5243 (ROUND_RESTORE_FE_UPWARD): Likewise.
5244 (RUN_TEST_LOOP_f_f): New macro.
5245 (acos_test_data): New variable.
5246 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5247 (acos_tonearest_test_data): New variable.
5248 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5249
5c637fe5
SP
52502013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5251
5252 * benchtests/bench-skeleton.c (startup): Fix coding style.
5253
ab2b9461
JM
52542013-05-10 Joseph Myers <joseph@codesourcery.com>
5255
5256 [BZ #6809]
5257 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5258 negative infinity argument.
5259 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5260 negative infinity argument.
5261 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5262 negative infinity argument.
5263 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5264 domain errors.
5265
4c0fe6fe
FW
52662013-05-10 Florian Weimer <fweimer@redhat.com>
5267
5268 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5269 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5270 * iconv/iconv_prog.c (main): Likewise.
5271 * locale/programs/charmap-dir.c (charmap_readdir)
5272 (fopen_uncompressed): Likewise.
5273 * locale/programs/locfile.c (siblings_uncached)
5274 (write_locale_data): Use lstat64 instead of lstat.
5275 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5276 stat.
5277
a3375d29
AJ
52782013-05-10 Andreas Jaeger <aj@suse.de>
5279
5280 [BZ #15395]
5281 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5282 localization.
5283 Include <locale.h>.
5284
36129722
CD
52852013-05-09 Carlos O'Donell <carlos@redhat.com>
5286
5287 * elf/dl-close.c (_dl_close_worker): Add comments.
5288
faa7f811
JM
52892013-05-09 Joseph Myers <joseph@codesourcery.com>
5290
ed41ffef
JM
5291 [BZ #15359]
5292 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5293 high part of pi/2.
5294 (__ieee754_rem_pio2l): Update comments.
5295
d0213cd0
JM
5296 [BZ #15429]
5297 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5298 high part of pi/2.
5299 (__ieee754_rem_pio2l): Update comments.
5300
0d3e777a
JM
5301 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5302 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5303
24f56066
JM
5304 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5305 M_PI_4l.
5306
faa7f811
JM
5307 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5308 (M_PI_34_LOG10El): Likewise.
5309 (M_PI2_LOG10El): Likewise.
5310 (M_PI4_LOG10El): Likewise.
5311 (M_PI_LOG10El): Likewise.
5312
e9a5e0fd
AZ
53132013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5314
5315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5316
d8cd06db
JM
53172013-05-08 Joseph Myers <joseph@codesourcery.com>
5318
a0d9f9d7
JM
5319 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5320 (MINUS_ZERO_INIT): Likewise.
5321 (PLUS_INFTY_INIT): Likewise.
5322 (MINUS_INFTY_INIT): Likewise.
5323 (QNAN_VALUE_INIT): Likewise.
5324 (MAX_VALUE_INIT): Likewise.
5325 (MIN_VALUE_INIT): Likewise.
5326 (MIN_SUBNORM_VALUE_INIT): Likewise.
5327 (plus_zero): Initialize with PLUS_ZERO_INIT.
5328 (minus_zero): Initialize with MINUS_ZERO_INIT.
5329 (plus_infty): Initialize with PLUS_INFTY_INIT.
5330 (minus_infty): Initialize with MINUS_INFTY_INIT.
5331 (qnan_value): Initialize with QNAN_VALUE_INIT.
5332 (max_value): Initialize with MAX_VALUE_INIT.
5333 (min_value): Initialize with MIN_VALUE_INIT.
5334 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5335
ae08db3b
JM
5336 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5337 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5338 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5339 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5340
f44bf14a
JM
5341 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5342 (RUN_TEST_2_f): Likewise.
5343 (RUN_TEST_ff_f): Likewise.
5344 (RUN_TEST_fi_f): Likewise.
5345 (RUN_TEST_fl_f): Likewise.
5346 (RUN_TEST_fff_f): Likewise.
5347 (RUN_TEST_c_f): Likewise.
5348 (RUN_TEST_f_f1): Likewise.
5349 (RUN_TEST_fF_f1): Likewise.
5350 (RUN_TEST_fI_f1): Likewise.
5351 (RUN_TEST_ffI_f1): Likewise.
5352 (RUN_TEST_c_c): Likewise.
5353 (RUN_TEST_cc_c): Likewise.
5354 (RUN_TEST_f_i): Likewise.
5355 (RUN_TEST_f_i_tg): Likewise.
5356 (RUN_TEST_ff_i_tg): Likewise.
5357 (RUN_TEST_f_b): Likewise.
5358 (RUN_TEST_f_b_tg): Likewise.
5359 (RUN_TEST_f_l): Likewise.
5360 (RUN_TEST_f_L): Likewise.
5361 (RUN_TEST_sincos): Likewise.
5362 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5363 whether to show exceptions. Do not include ");\n" in return
5364 value.
5365 (special_functions): Output call to RUN_TEST_sincos instead of
5366 check_float calls. Update calls to new_test.
5367 (parse_args): Output call to single RUN_TEST_* macro instead of
5368 check_* calls and other assignments. Update calls to new_test.
5369
d8cd06db
JM
5370 [BZ #2546]
5371 [BZ #2560]
5372 [BZ #5159]
5373 [BZ #15426]
5374 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5375 input to result for tgamma overflow.
5376 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5377 (gamma_coeff): New variable.
5378 (NCOEFF): New macro.
5379 (gamma_positive): New function.
5380 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5381 underflow here. Use gamma_positive instead of exp (lgamma) for
5382 other arguments.
5383 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5384 (gamma_coeff): New variable.
5385 (NCOEFF): New macro.
5386 (gammaf_positive): New function.
5387 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5388 underflow here. Use gamma_positive instead of exp (lgamma) for
5389 other arguments.
5390 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5391 (gamma_coeff): New variable.
5392 (NCOEFF): New macro.
5393 (gammal_positive): New function.
5394 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5395 underflow here. Use gamma_positive instead of exp (lgamma) for
5396 other arguments.
5397 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5398 (gamma_coeff): New variable.
5399 (NCOEFF): New macro.
5400 (gammal_positive): New function.
5401 (__ieee754_gammal_r): Handle positive infinity, overflow and
5402 underflow here. Handle NaN the same as positive infinity. Remove
5403 check x < 0xffffffff for negative integers. Use gamma_positive
5404 instead of exp (lgamma) for other arguments.
5405 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5406 (gamma_coeff): New variable.
5407 (NCOEFF): New macro.
5408 (gammal_positive): New function.
5409 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5410 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5414 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5415 * sysdeps/generic/math_private.h (__gamma_productf): New
5416 prototype.
5417 (__gamma_product): Likewise.
5418 (__gamma_productl): Likewise.
5419 * math/Makefile (libm-calls): Add gamma_product.
5420 * math/libm-test.inc (tgamma_test): Add more tests.
5421 * sysdeps/i386/fpu/libm-test-ulps: Update.
5422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5423
bb7cf681
OB
54242013-05-08 Ondřej Bílka <neleai@seznam.cz>
5425
5426 * benchtests/bench-skeleton.c (main): Preheat CPU.
5427
ba853947
AJ
54282013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5429
5430 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5431
8347c74c
RM
54322013-05-07 Roland McGrath <roland@hack.frob.com>
5433
5434 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5435 and _dl_skip_args_internal.
5436
e8dd4791
CD
54372013-05-07 Carlos O'Donell <carlos@redhat.com>
5438
5439 * manual/message.texi (Message Translation): Talk about users.
5440 Message to key mapping impacts design.
5441
c7405830
RM
54422013-05-06 Roland McGrath <roland@hack.frob.com>
5443
a9173057
RM
5444 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5445
976e2f03
RM
5446 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5447
9723ffc5
RM
5448 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5449 * sysdeps/wordsize-64/glob64.c: ... here.
5450
962e6658
RM
5451 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5452 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5453 New macros.
5454
ee586a6d
RM
5455 * debug/getlogin_r_chk.c: Moved to ...
5456 * login/getlogin_r_chk.c: ... here.
5457 * debug/Makefile (routines): Move getlogin_r_chk to ...
5458 * login/Makefile (routines): ... here.
5459 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5460 * login/Versions (libc: GLIBC_2.4): ... here.
5461
355f9165
RM
5462 * io/poll.c (__poll): Renamed from poll.
5463 Add libc_hidden_def.
5464 (poll): Define as weak alias.
5465
bd9ffde6
RM
5466 * debug/ptsname_r_chk.c: Moved to ...
5467 * login/ptsname_r_chk.c: ... here.
5468 * debug/Makefile (routines): Move ptsname_r_chk to ...
5469 * login/Makefile (routines): ... here.
5470 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5471 * login/Versions (libc: GLIBC_2.4): ... here.
5472
8fb16a04
RM
5473 * posix/getlogin.c: Moved to ...
5474 * login/getlogin.c: ... here.
5475 * posix/getlogin_r.c: Moved to ...
5476 * login/getlogin_r.c: ... here.
5477 * posix/getlogin_r.c: Moved to ...
5478 * login/getlogin_r.c: ... here.
5479 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5480 * login/Makefile (routines): ... here.
5481 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5482 * login/Versions (libc: GLIBC_2.0): ... here.
5483
b99b892f
RM
5484 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5485 (setrlimit): Define as weak alias.
5486
c7405830
RM
5487 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5488 Call __ names for open, ftruncate, and close.
5489 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5490 (truncate): Define as weak alias.
5491
5bf96de5
JM
54922013-05-06 Joseph Myers <joseph@codesourcery.com>
5493
9ea3513c
JM
5494 * math/gen-libm-test.pl (parse_args): Initialize x before each
5495 test of frexp, modf and remquo.
5496
5bf96de5
JM
5497 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5498 test signgam value.
5499
16e616a7
AZ
55002013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5501
5502 [BZ #15418]
5503 [BZ #15419]
5504 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5505 internal tests.
5506 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5507
d5e82754
RM
55082013-05-06 Roland McGrath <roland@hack.frob.com>
5509
5510 * elf/dl-writev.h: New file.
5511 * elf/dl-misc.c: Include it.
5512 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5513 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5514
a7548d41
JM
55152013-05-04 Joseph Myers <joseph@codesourcery.com>
5516
b7dab1e4
JM
5517 * math/libm-test.inc (noXFails): Remove variable.
5518 (noXPasses): Likewise.
5519 (BUILD_COMPLEX_INT): Remove macro.
5520 (print_screen): Remove xfail argument.
5521 (print_screen_max_error): Likewise.
5522 (update_stats): Likewise.
5523 (print_max_error): Likewise. Update calls to other affected
5524 functions.
5525 (print_complex_max_error): Likewise.
5526 (test_single_exception): Update calls to print_screen.
5527 (test_single_errno): Likewise.
5528 (check_float_internal): Remove xfail argument. Update calls to
5529 other affected functions.
5530 (check_float): Likewise.
5531 (check_complex): Likewise.
5532 (check_int): Likewise.
5533 (check_long): Likewise.
5534 (check_bool): Likewise.
5535 (check_longlong): Likewise.
5536 (main): Don't print noXFails and noXPasses.
5537 * math/gen-libm-test.pl (top level): Don't mention expected
5538 failure handling in comment.
5539 (new_test): Don't handle expected failures.
5540 (parse_args): Don't mention expected failure handling in comment.
5541 (generate_testfile): Don't handle expected failures.
5542 (parse_ulps): Likewise.
5543 (print_ulps_file): Likewise.
5544 (get_failure): Remove function.
5545 (output_test): Don't handle expected failures.
5546 * make/README.libm-test: Don't mention expected failure handling.
5547
a7548d41
JM
5548 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5549 (minus_zero): Likewise.
5550 (plus_infty): Likewise.
5551 (minus_infty): Likewise.
5552 (qnan_value): Likewise.
5553 (max_value): Likewise.
5554 (min_value): Likewise.
5555 (min_subnorm_value): Likewise.
5556 (initialize): Do not initialize those variables dynamically.
5557
60bfd54c
RM
55582013-05-03 Roland McGrath <roland@hack.frob.com>
5559
cc0e6ed8
RM
5560 * io/open.c (__open_2): Moved to ...
5561 * io/open_2.c: ... this new file.
5562 * io/open64.c (__open64_2): Moved to ...
5563 * io/open64_2.c: ... this new file.
5564 * io/openat.c (__openat_2): Moved to ...
5565 * io/openat_2.c: ... this new file.
5566 * io/openat64.c (__openat64_2): Moved to ...
5567 * io/openat64_2.c: ... this new file.
5568 * io/Makefile (routines): Add them.
5569 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5570 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5571 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5572 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5573 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5574 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5575 (__openat64): Add hidden_ver.
5576 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5577 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5578
60bfd54c
RM
5579 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5580 Separately conditionalize setting of GLRO(dl_sysinfo) so
5581 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5582 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5583
83e7640f
AZ
55842013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5585
5586 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5587 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5588 definition.
5589 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5590 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5591 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5592 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5593 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5594
d5dc2af3
JM
55952013-05-03 Joseph Myers <joseph@codesourcery.com>
5596
c31a5b1e
JM
5597 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5598 test signgam value.
5599
d5dc2af3
JM
5600 * math/libm-test.inc (hypot_test): Do not use
5601 IGNORE_ZERO_INF_SIGN.
5602
164fd39d
AJ
56032013-05-03 Andreas Jaeger <aj@suse.de>
5604
5605 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5606 Linux 3.9.
5607 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5608 (PF_MAX): Adjust for VSOCK change.
5609
8237f48c
AZ
56102013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5611
5612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5613
9df02941
CD
56142013-05-02 Carlos O'Donell <carlos@redhat.com>
5615
5616 [BZ #15264]
5617 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5618 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5619 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5620
d422395e
DM
56212013-05-02 David S. Miller <davem@davemloft.net>
5622
5623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5624
a07c5731
OB
56252013-05-01 Ondřej Bílka <neleai@seznam.cz>
5626
5627 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5628
1324e37f
RM
56292013-05-01 Roland McGrath <roland@hack.frob.com>
5630
5631 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5632
0695940b
RS
56332013-05-01 Richard Smith <richard@metafoo.co.uk>
5634
bb5f27ad 5635 [BZ #14952]
0695940b
RS
5636 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5637 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5638 Use __attribute__ ((__gnu_inline__)).
5639 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5640 Don't use __attribute__ ((__gnu_inline__)).
5641
10de07f5
JM
56422013-05-01 Joseph Myers <joseph@codesourcery.com>
5643
5644 [BZ #15423]
5645 * math/s_catan.c (__catan): Handle small real or imaginary part of
5646 input specially to avoid spurious underflow.
5647 * math/s_catanf.c (__catanf): Likewise.
5648 * math/s_catanh.c (__catanh): Likewise.
5649 * math/s_catanhf.c (__catanhf): Likewise.
5650 * math/s_catanhl.c (__catanhl): Likewise.
5651 * math/s_catanl.c (__catanl): Likewise.
5652 * math/libm-test.inc (catan_test): Add more tests.
5653 (catanh_test): Likewise.
5654 * sysdeps/i386/fpu/libm-test-ulps: Update.
5655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5656
cb4d5414
AZ
56572013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5658
5659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5660
caf84319
JM
56612013-04-30 Joseph Myers <joseph@codesourcery.com>
5662
5663 [BZ #15416]
5664 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5665 accurately for denominator in atan2.
5666 * math/s_catanf.c (__catanf): Likewise.
5667 * math/s_catanh.c (__catanh): Likewise.
5668 * math/s_catanhf.c (__catanhf): Likewise.
5669 * math/s_catanhl.c (__catanhl): Likewise.
5670 * math/s_catanl.c (__catanl): Likewise.
5671 * math/libm-test.inc (catan_test): Add more tests.
5672 (catanh_test): Likewise.
5673 * sysdeps/i386/fpu/libm-test-ulps: Update.
5674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5675
d569c6ee
SP
56762013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5677
6dbe713d
SP
5678 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5679
f0ee064b
SP
5680 * benchtests/Makefile (bench): Remove slow benchmarks.
5681 * benchtests/atan-inputs: Add slow benchmark inputs.
5682 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5683 (BENCH_FUNC): Accept variant offset.
5684 (VARIANT): Define.
5685 * benchtests/bench-skeleton.c (main): Run benchmark for each
5686 variant.
5687 * benchtests/cos-inputs: Add slow benchmark inputs.
5688 * benchtests/exp-inputs: Likewise.
5689 * benchtests/pow-inputs: Likewise.
5690 * benchtests/sin-inputs: Likewise.
5691 * benchtests/slowatan-inputs: Remove.
5692 * benchtests/slowatan.c: Remove.
5693 * benchtests/slowcos-inputs: Remove.
5694 * benchtests/slowcos.c: Remove.
5695 * benchtests/slowexp-inputs: Remove.
5696 * benchtests/slowexp.c: Remove.
5697 * benchtests/slowpow-inputs: Remove.
5698 * benchtests/slowpow.c: Remove.
5699 * benchtests/slowsin-inputs: Remove.
5700 * benchtests/slowsin.c: Remove.
5701 * benchtests/slowtan-inputs: Remove.
5702 * benchtests/slowtan.c: Remove.
5703 * benchtests/tan-inputs: Add slow benchmark inputs.
5704 * scripts/bench.pl: Parse comments and directives.
5705
d569c6ee
SP
5706 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5707 in CPPFLAGS.
5708 ($(objpfx)bench-%.c): Remove *-ITER.
5709 * benchtests/bench-modf.c: Remove definition of ITER.
5710 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5711 (main): Loop for DURATION seconds instead of fixed number of
5712 iterations.
5713 * scripts/bench.pl: Don't expect iterations in parameters.
5714
a6a242fe
RM
57152013-04-29 Roland McGrath <roland@hack.frob.com>
5716
5717 * io/fchdir.c (__fchdir): Renamed from fchdir.
5718 (fchdir): Define as weak alias.
5719
f2da7793
JM
57202013-04-29 Joseph Myers <joseph@codesourcery.com>
5721
5722 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5723 (ERRNO_EDOM): Likewise.
5724 (ERRNO_ERANGE): Likewise.
5725 (noErrnoTests): New variable.
5726 (init_max_error): Set errno to 0.
5727 (test_single_errno): New function.
5728 (test_errno): Likewise.
5729 (check_float_internal): Call test_errno. Set errno to 0.
5730 (check_complex): Refer to errno tests in comment.
5731 (check_int): Call test_errno. Set errno to 0.
5732 (check_long): Likewise.
5733 (check_bool): Likewise.
5734 (check_longlong): Likewise.
5735 (cos_test): Use ERRNO_* flags for errno tests instead of
5736 check_int.
5737 (expm1_test): Likewise.
5738 (fmod_test): Likewise.
5739 (ilogb_test): Likewise.
5740 (lgamma_test): Likewise.
5741 (pow_test): Likewise.
5742 (remainder_test): Likewise.
5743 (sin_test): Likewise.
5744 (tan_test): Likewise.
5745 (yn_test): Likewise.
5746 (initialize): Set errno to 0.
5747 (main): Print number of errno tests.
5748 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5749
b1a36ceb
AJ
57502013-04-29 Andreas Jaeger <aj@suse.de>
5751
c3ed8088
AJ
5752 [BZ #15084]
5753 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5754 and RES_USEVC.
5755
f1a24198
AJ
5756 [BZ #15085]
5757 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5758 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5759 unimplemented.
5760
9ce3b2cb
AJ
5761 [BZ #15380]
5762 * stdlib/random.c (__initstate): Return NULL if
5763 __initstate fails.
5764
f1a24198 5765 [BZ #15086]
b1a36ceb
AJ
5766 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5767 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5768 RES_SNGLKUPREOP.
5769
7e7b6f36
AZ
57702013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5771
5772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5773
4d14f449
JM
57742013-04-29 Joseph Myers <joseph@codesourcery.com>
5775
5776 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5777 of individual tests.
5778 (casin_test): Likewise.
5779 (casinh_test): Likewise.
5780
5b4217d7
JM
57812013-04-27 Joseph Myers <joseph@codesourcery.com>
5782
5783 [BZ #15409]
5784 * math/s_catan.c (__catan): Handle arguments with large real or
5785 imaginary part separately without squaring.
5786 * math/s_catanf.c (__catanf): Likewise.
5787 * math/s_catanh.c (__catanh): Likewise.
5788 * math/s_catanhf.c (__catanhf): Likewise.
5789 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5790 and redefine.
5791 (__catanhl): Handle arguments with large real or imaginary part
5792 separately without squaring.
5793 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5794 and redefine.
5795 (__catanl): Handle arguments with large real or imaginary part
5796 separately without squaring.
5797 * math/libm-test.inc (catan_test): Add more tests.
5798 (catanh_test): Likewise.
5799 * sysdeps/i386/fpu/libm-test-ulps: Update.
5800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5801
4220c3ef
AJ
58022013-04-27 Andreas Jaeger <aj@suse.de>
5803
5804 [BZ #15007]
5805 * stdlib/stdlib.h: Update guards for qecvt.
5806 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5807 <stdlib.h>.
5808
4721b2d1
AM
58092013-04-27 Allan McRae <allan@archlinux.org>
5810
5811 * sysdeps/i386/fpu/libm-test-ulps: Update.
5812
f0302940
JM
58132013-04-26 Joseph Myers <joseph@codesourcery.com>
5814
9457fd95
JM
5815 [BZ #15406]
5816 * math/s_catan.c: Include <float.h>.
5817 (__catan): Ensure underflow exception occurs for underflowed
5818 result.
5819 * math/s_catanf.c: Include <float.h>.
5820 (__catanf): Ensure underflow exception occurs for underflowed
5821 result.
5822 * math/s_catanh.c: Include <float.h>.
5823 (__catanh): Ensure underflow exception occurs for underflowed
5824 result.
5825 * math/s_catanhf.c: Include <float.h>.
5826 (__catanhf): Ensure underflow exception occurs for underflowed
5827 result.
5828 * math/s_catanhl.c: Include <float.h>.
5829 (__catanhl): Ensure underflow exception occurs for underflowed
5830 result.
5831 * math/s_catanl.c: Include <float.h>.
5832 (__catanl): Ensure underflow exception occurs for underflowed
5833 result.
5834 * math/libm-test.inc (catan_test): Add more tests.
5835 (catanh_test): Likewise.
5836
f0302940
JM
5837 [BZ #15405]
5838 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5839 underflowed result.
5840 * math/s_ccoshf.c (__ccoshf): Likewise.
5841 * math/s_ccoshl.c (__ccoshl): Likewise.
5842 * math/s_csin.c (__csin): Likewise.
5843 * math/s_csinf.c (__csinf): Likewise.
5844 * math/s_csinh.c (__csinh): Likewise.
5845 * math/s_csinhf.c (__csinhf): Likewise.
5846 * math/s_csinhl.c (__csinhl): Likewise.
5847 * math/s_csinl.c (__csinl): Likewise.
5848 * math/libm-test.inc (ccos_test): Add more tests.
5849 (ccosh_test): Likewise.
5850 (csin_test): Likewise.
5851 (csinh_test): Likewise.
5852
aa630f59
AZ
58532013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5854
5855 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5856 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5857 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5858 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5859 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5860 powerpc/power5+/fpu folders.
5861 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5862
5863
1b835983
MT
58642013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5865
5866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5867
73709b26
JM
58682013-04-25 Joseph Myers <joseph@codesourcery.com>
5869
5870 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5871 additions to variable.
5872 [$(config-machine) = x86_64] (modules-names): Likewise.
5873 ($(objpfx)tst-audit3): Remove dependency.
5874 ($(objpfx)tst-audit3.out): Likewise.
5875 ($(objpfx)tst-audit4): Likewise.
5876 ($(objpfx)tst-audit4.out): Likewise.
5877 ($(objpfx)tst-audit5): Likewise.
5878 ($(objpfx)tst-audit5.out): Likewise.
5879 ($(objpfx)tst-audit6): Likewise.
5880 ($(objpfx)tst-audit6.out): Likewise.
5881 ($(objpfx)tst-audit7): Likewise.
5882 ($(objpfx)tst-audit7.out): Likewise.
5883 (tst-audit3-ENV): Remove variable.
5884 (tst-audit4-ENV): Likewise.
5885 (tst-audit5-ENV): Likewise.
5886 (tst-audit6-ENV): Likewise.
5887 (tst-audit7-ENV): Likewise.
5888 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5889 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5890 addition to variable.
5891 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5892 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5893 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5894 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5895 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5896 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5897 tst-audit3, tst-audit4 and tst-audit5.
5898 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5899 tst-audit6 and tst-audit7.
5900 [$(subdir) = elf] (modules-names): Add audit modules for those
5901 tests.
5902 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5903 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5904 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5905 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5906 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5907 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5908 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5909 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5910 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5911 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5912 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5913 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5914 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5915 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5916 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5917 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5918 Likewise.
5919 [$(subdir) = elf && $(config-cflags-avx) = yes]
5920 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5921 [$(subdir) = elf && $(config-cflags-avx) = yes]
5922 (CFLAGS-tst-auditmod4a.c): Likewise.
5923 [$(subdir) = elf && $(config-cflags-avx) = yes]
5924 (CFLAGS-tst-auditmod4b.c): Likewise.
5925 [$(subdir) = elf && $(config-cflags-avx) = yes]
5926 (CFLAGS-tst-auditmod6b.c): Likewise.
5927 [$(subdir) = elf && $(config-cflags-avx) = yes]
5928 (CFLAGS-tst-auditmod6c.c): Likewise.
5929 [$(subdir) = elf && $(config-cflags-avx) = yes]
5930 (CFLAGS-tst-auditmod7b.c): Likewise.
5931 * elf/tst-audit3.c: Move to ...
5932 * sysdeps/x86_64/tst-audit3.c: ... here.
5933 * elf/tst-audit4.c: Move to ...
5934 * sysdeps/x86_64/tst-audit4.c: ... here.
5935 * elf/tst-audit5.c: Move to ...
5936 * sysdeps/x86_64/tst-audit5.c: ... here.
5937 * elf/tst-audit6.c: Move to ...
5938 * sysdeps/x86_64/tst-audit6.c: ... here.
5939 * elf/tst-audit7.c: Move to ...
5940 * sysdeps/x86_64/tst-audit7.c: ... here.
5941 * elf/tst-auditmod3a.c: Move to ...
5942 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5943 * elf/tst-auditmod3b.c: Move to ...
5944 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5945 * elf/tst-auditmod4a.c: Move to ...
5946 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5947 * elf/tst-auditmod4b.c: Move to ...
5948 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5949 * elf/tst-auditmod5a.c: Move to ...
5950 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5951 * elf/tst-auditmod5b.c: Move to ...
5952 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5953 * elf/tst-auditmod6a.c: Move to ...
5954 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5955 * elf/tst-auditmod6b.c: Move to ...
5956 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5957 * elf/tst-auditmod6c.c: Move to ...
5958 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5959 * elf/tst-auditmod7a.c: Move to ...
5960 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5961 * elf/tst-auditmod7b.c: Move to ...
5962 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5963
1ef74943
PP
59642013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5965
5966 [BZ #15366]
5967 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5968 define unconditionally.
5969 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5970 define unconditionally.
5971 (INT8_C, INT16_C, etc.): Likewise.
5972
93fd48c5
MR
59732013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5974
ae9552cf
MR
5975 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5976 __ehdr_start with hidden visibility.
5977
93fd48c5
MR
5978 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5979
418601aa
CD
59802013-04-24 Carlos O'Donell <carlos@redhat.com>
5981
5982 * math/libm-test.inc (cos_test): Use accurate hex constants.
5983 (sincost_test): Likewise.
5984
2f38fbfe
JM
59852013-04-24 Joseph Myers <joseph@codesourcery.com>
5986
5e221800
JM
5987 * math/libm-test.inc (catan_test): Add more tests.
5988 (catanh_test): Likewise.
5989
77f143fd
JM
5990 * math/s_catanf.c (__catanf): Use suffixed floating-point
5991 constants.
5992 * math/s_catanhf.c (__catanhf): Likewise.
5993 * math/s_catanhl.c (__catanhl): Likewise.
5994 * math/s_catanl.c (__catanl): Likewise.
5995
2f38fbfe
JM
5996 [BZ #15394]
5997 * math/s_catan.c (__catan): Calculate imaginary part of result
5998 with log1p not log unless computing log of number close to 0.
5999 * math/s_catanf.c (__catanf): Likewise.
6000 * math/s_catanl.c (__catanl): Likewise.
6001 * math/s_catanh.c (__catanh): Calculate real part of result with
6002 log1p not log unless computing log of number close to 0.
6003 * math/s_catanhf.c (__catanhf): Likewise.
6004 * math/s_catanhl.c (__catanhl): Likewise.
6005 * math/libm-test.inc (catan_test): Add more tests.
6006 (catanh_test): Likewise.
6007 * sysdeps/i386/fpu/libm-test-ulps: Update.
6008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6009
45d69176
SP
60102013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6011
6012 * benchtests/Makefile: Mention files in which fast and slow
6013 paths of math functions are implemented.
6014
87f51853
RM
60152013-04-23 Roland McGrath <roland@hack.frob.com>
6016
6017 * sysdeps/posix/timespec_get.c: New file.
6018
3c026539
AZ
60192013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6020
6021 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6022 POWER.
6023 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6024 for POWER.
6025 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6026 powerpc/power5/fpu folders.
6027 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6028 * benchtests/Makefile: Add modf testcase.
6029 * benchtests/bench-modf.c: New file: Benchmark test for mo
6030
ff491d14
SP
60312013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6032
6033 [BZ #14888]
6034 * time/Makefile (tests): Add tst-strptime-whitespace.
6035 * time/strptime_l.c (get_number): Use ISSPACE.
6036 (__strptime_internal): Likewise.
6037 * time/tst-strptime-whitespace.c: New test case.
6038
7ed3f4e8
AS
60392013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6040
6041 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6042 member.
6043 (_nss_files_init): Set it here.
6044
5c95f7b6
HC
60452013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6046
6047 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6048 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6049 unsigned.
6050
d34c9158
JBG
60512013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6052
6053 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6054
2169712d
SP
60552013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6056
6057 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6058 size just once.
6059
29c5de99
DM
60602013-04-21 David S. Miller <davem@davemloft.net>
6061
6062 * po/ru.po: Update Russion translation from translation project.
6063
ccdad15d
AC
60642013-04-17 Adam Conrad <adconrad@0c3.net>
6065
6066 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6067 and setfsgid.
6068
0f122b8d
CD
60692013-04-17 Carlos O'Donell <carlos@redhat.com>
6070
5c5b07da 6071 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 6072 * configure: Regenerate.
5c5b07da 6073 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
6074 Add example to error message.
6075 * sysdeps/i386/configure: Regenerate.
6076
037714dd
SP
60772013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6078
6079 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6080 slowtan.
6081 * benchtests/cos-inputs: New file.
6082 * benchtests/slowcos-inputs: New file.
6083 * benchtests/slowcos.c: New file.
6084 * benchtests/slowtan-inputs: New file.
6085 * benchtests/slowtan.c: New file.
6086 * benchtests/tan-inputs: New file.
6087
e913141d
RM
60882013-04-16 Roland McGrath <roland@hack.frob.com>
6089
6090 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6091 considered kosher.
6092
a2964074
SP
60932013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6094
4856bcd2
SP
6095 * benchtests/Makefile: Include cppflags-iterator.mk to add
6096 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6097
a2964074
SP
6098 * Makefile.in (bench-clean): New target.
6099 * benchtests/Makefile (bench-clean): Likewise.
6100
9fbf9aca
DH
61012013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6102
6103 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6104
207d1e2a
TS
61052013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6106
6107 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6108
306dfba9
AS
61092013-04-15 Andreas Schwab <schwab@suse.de>
6110
6111 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6112 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6113 * nscd/pwdcache.c (cache_addpw): Likewise.
6114 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6115 more than recsize.
6116
206a6699
SP
61172013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6118
6119 * benchtests/Makefile (bench): Write all output to
6120 bench-out.tmp together.
6121
0582f6b3
AS
61222013-04-15 Andreas Schwab <schwab@suse.de>
6123
6124 * nscd/nscd.c (main): Don't fork again after closing files.
6125
acb4325f
SP
61262013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6127
5cb26d0a
SP
6128 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6129
acb4325f
SP
6130 * benchtests/Rules (bench-deps): Collect dependencies into a
6131 single variable. Add Makefile to dependencies.
6132 ($(objpfx)bench-%.c): Depend on bench-deps.
6133
47792506
RM
61342013-04-12 Roland McGrath <roland@hack.frob.com>
6135 Xavier Roche <roche+kml2@exalead.com>
6136
6137 [BZ #15361]
6138 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6139 just that it's a file descriptor.
6140 * manual/llio.texi (Synchronizing AIO Operations): Update description
6141 for EBADF error from aio_fsync.
6142
8fc1bee5
SP
61432013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6144
6145 * Rules (bench): Move target definition...
6146 * benchtests/Makefile: ... here.
6147
aba5e333
CD
61482013-04-11 Carlos O'Donell <carlos@redhat.com>
6149
6150 * math/libm-test.inc (cos_test): Fix PI/2 test.
6151 (sincos_test): Likewise.
6152 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6153 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6154
273cdee8
AS
61552013-04-11 Andreas Schwab <schwab@suse.de>
6156
6ecec3b6
AS
6157 [BZ #13988]
6158 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6159 accept exponent character only when digits were seen.
6160 * stdio-common/Makefile (tests): Add bug26.
6161 * stdio-common/bug26.c: New file.
6162
273cdee8
AS
6163 [BZ #14293]
6164 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6165 non-freeable.
6166
8da491f5
SP
61672013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6168
01dc6df9
SP
6169 * Makeconfig (rtld-prefix): Define built linker prefix.
6170 * Rules (run-bench): Use it.
6171 * math/Makefile (run-regen-ulps): Likewise.
6172
8da491f5
SP
6173 * Rules (bench): Remove eval.
6174
abe7f530
SP
61752013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6176 Roland McGrath <roland@hack.frob.com>
6177 Ondrej Bilka <neleai@seznam.cz>
6178
6179 [BZ #15346]
6180 * time/getdate.c: Include ctype.h and alloca.h.
6181 (__getdate_r): Trim leading and trailing spaces of input.
6182 * time/tst-getdate.c (tests): Add tests with leading and
6183 trailing spaces.
6184
61c23e62
RM
61852013-04-08 Roland McGrath <roland@hack.frob.com>
6186
6187 [BZ #14280]
6188 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6189 when computing value.
6190
7208a313
CD
61912013-04-06 Carlos O'Donell <carlos@redhat.com>
6192
085b2d41
CD
6193 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6194 Use testrun.sh to run libm tests.
6195
7208a313
CD
6196 [BZ #15309]
6197 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6198
872c0acd
MM
61992013-04-06 Marko Myllynen <myllynen@redhat.com>
6200
6201 [BZ #15264]
6202 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6203
26510bdd
CD
62042013-04-06 Carlos O'Donell <carlos@redhat.com>
6205
6206 * Makefile.in (regen-ulps): New target.
6207 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6208 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6209 [ifneq (no,$(PERL)] (regen-ulps): New target.
6210 [ifeq (no,$(PERL)] (regen-ulps): New target.
6211 * math/libm-test.inc (ulps_file_name): Define.
6212 (output_dir): New variable.
6213 (options): Add "output-dir" option.
6214 (parse_opt): Handle 'o' case.
6215 (main): If output_dir is non-NULL use it as a prefix
6216 otherwise use "".
6217 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6218
a01f19c8
CD
62192013-04-06 Carlos O'Donell <carlos@redhat.com>
6220
6221 [BZ #10060, #10062]
6222 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6223 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6224 fail configure if __sync_val_compare_and_swap is not inlined.
6225 * sysdeps/i386/configure: Regenerate.
6226 * configure.in: Build for i686 when configured for i386.
6227 * configure: Regenerate.
6228 * README: Remove i386 reference.
6229
b7a329a5
CD
62302013-04-06 Carlos O'Donell <carlos@redhat.com>
6231
6232 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6233 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6234
bf0f50df
TS
62352013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6236
ee091edf
TS
6237 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6238 (lmsnanval): New variables.
6239 (F): Add conversion tests.
6240 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6241 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6242
a8b792d6
TS
6243 * stdio-common/tstdiomisc.c (F): Properly collect individual
6244 tests' results.
6245
a1cbf437
TS
6246 [BZ #14686, #15336]
6247 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6248 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6249 Instead, use input NaN values or generate a qNaN by arithmetic
6250 operation. Also fix bugs to comply with the standard.
6251 * math/libm-test.inc (remainder_test): Add more tests.
6252
8b43a0c9
TS
6253 [BZ #15335, #15342]
6254 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6255 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6256 input NaN values or generate a qNaN by arithmetic operation.
6257
d91da4ce
TS
6258 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6259 unreachable code.
6260
bf0f50df
TS
6261 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6262 definitions.
6263
05e166c8
JM
62642013-04-03 Joseph Myers <joseph@codesourcery.com>
6265
6266 [BZ #14478]
6267 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6268 underflowed result.
6269 * math/s_cexpf.c (__cexpf): Likewise.
6270 * math/s_cexpl.c (__cexpl): Likewise.
6271 * math/libm-test.inc (cexp_test): Add more tests.
6272
1cef1b19
AS
62732013-04-03 Andreas Schwab <schwab@suse.de>
6274
6275 [BZ #15330]
6276 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6277 order arrays from heap if bigger than alloca cutoff.
6278
74d87055
TS
62792013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6280
6281 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6282 (SNAN_TESTS_double): Refer to GCC PR56831.
6283 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6284 GCC PR56828.
6285
d755bba4
SP
62862013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6287
90d5d5bb
SP
6288 * Rules (bench): Move bench.out after the run is complete.
6289
73e0cd5d
SP
6290 * Rules (bench): Echo currently running benchmark.
6291
64aabd4b
SP
6292 * benchtests/Makefile (bench): Add atan and slowatan.
6293 * benchtests/atan-inputs: New file.
6294 * benchtests/slowatan-inputs: New file.
6295 * benchtests/slowatan.c: New file.
6296
c871eccd
SP
6297 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6298 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6299 its value.
6300
d755bba4
SP
6301 [BZ #15305]
6302 * sysdeps/unix/sysv/linux/kernel-features.h
6303 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6304 __ASSUME_XFS_RESTRICTED_CHOWN.
6305 * sysdeps/unix/sysv/linux/pathconf.c
6306 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6307 Save and restore errno.
6308
52ce4860
JM
63092013-04-02 Joseph Myers <joseph@codesourcery.com>
6310
6311 [BZ #15327]
6312 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6313 arguments using __kernel_casinh.
6314 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6315 arguments using __kernel_casinhf.
6316 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6317 arguments using __kernel_casinhl.
6318 * math/libm-test.inc (cacosh_test): Add more tests.
6319 * sysdeps/i386/fpu/libm-test-ulps: Update.
6320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6321
81f311c2
SP
63222013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6323
e7906a47
SP
6324 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6325 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6326
92e3664b
SP
6327 * bench/Makefile (bench): Add sin and slowsin.
6328 * benchtests/sin-inputs: New file.
6329 * benchtests/slowsin-inputs: New file.
6330 * benchtests/slowsin.c: New file.
6331
81f311c2
SP
6332 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6333 (bench): Add slowexp and slowpow.
6334 (exp-ITER): Increase iterations.
6335 (pow-ITER): Likewise.
6336 * benchtests/exp-inputs: Change input.
6337 * benchtests/pow-inputs: Likewise.
6338 * benchtests/slowexp-inputs: New file.
6339 * benchtests/slowexp.c: New file.
6340 * benchtests/slowpow-inputs: New file.
6341 * benchtests/slowpow.c: New file.
6342
ab0f1aa9
AZ
63432013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6344
6345 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6346 instructions.
6347 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6348 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6349 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6350 * benchtests/Makefile: Add rint benchtest.
6351 * benchtests/rint-inputs: Input for rint benchtest.
6352
57267616
TS
63532013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6354
6355 * Versions.def (libm): Add GLIBC_2.18.
6356 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6357 hidden libm prototypes.
6358 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6359 * math/Makefile (libm-calls): Add s_issignaling.
6360 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6361 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6362 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6363 declaration.
6364 * math/math.h [__USE_GNU] (issignaling): New macro.
6365 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6366 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6367 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6368 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6371 * manual/arith.texi (issignaling): New section.
6372 * manual/libm-err-tab.pl (@all_functions): Update comment.
6373 * math/gen-libm-test.pl (parse_args): Apply special handling for
6374 issignaling.
6375 * math/libm-test.inc (print_float, issignaling_test): New
6376 functions.
6377 (check_float_internal): Add issignaling checks.
6378 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6379 default definition.
6380 * sysdeps/powerpc/math-tests.h: New file.
6381 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6382 tests.
6383 * math/test-snan.c (TEST_FUNC): Likewise.
6384
6142896d
DM
63852013-03-30 David S. Miller <davem@davemloft.net>
6386
6387 * po/de.po: Update from translation team.
6388
ccc8cadf
JM
63892013-03-30 Joseph Myers <joseph@codesourcery.com>
6390
6391 [BZ #10357]
6392 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6393 imaginary part less than 1.0 and real part less than 0.5
6394 specially.
6395 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6396 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6397 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6398 (cacos_test): Add more tests.
6399 (casin_test): Likewise.
6400 (casinh_test): Likewise.
6401 * sysdeps/i386/fpu/libm-test-ulps: Update.
6402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6403
0f6a8d4b
SP
64042013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6405
0d1029de
SP
6406 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6407 ONE with its value.
6408
c2d94018
SP
6409 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6410 (__pow_mp): Replace ONE and MONE with their values.
6411 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6412 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6413 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6414 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6415 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6416 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6417
27ec37f1
SP
6418 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6419
a64d7e0e
SP
6420 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6421 (__pow_mp): Replace ZERO and MZERO with their values.
6422 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6423 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6424 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6426 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6427 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6428 (__sqr): Likewise.
6429
d26dd3eb
SP
6430 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6431
0f6a8d4b
SP
6432 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6433
e57b0c61
RM
64342013-03-28 Roland McGrath <roland@hack.frob.com>
6435
6436 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6437 Declare with __attribute__ ((weak)).
6438 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6439 Call __call_tls_dtors only if it's not NULL.
6440
356b3480
RM
64412013-03-28 Roland McGrath <roland@hack.frob.com>
6442
288f7d79
RM
6443 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6444 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6445 magic __ehdr_start linker symbol if it's defined.
6446 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6447 them up here if it was already done.
6448
dc0a0263
RM
6449 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6450 (_dl_aux_init): Use const in cast when setting it.
6451 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6452 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6453 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6454
3d3436ae
RM
6455 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6456 Declare them here.
6457 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6458 * csu/libc-tls.c: Nor here.
6459 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6460
356b3480
RM
6461 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6462 (__libc_message): Never call vsyslog.
6463
b0f1246a
AM
64642013-03-28 Alan Modra <amodra@gmail.com>
6465
6466 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6467 Define as empty.
6468 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6469 Likewise.
6470
fbbe2b9a
AZ
64712013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6472
6473 [BZ #15214]
6474 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6475 underflow.
6476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6477
1728ab37
SP
64782013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6479
7a86be6e
SP
6480 [BZ #15304]
6481 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6482 Don't add gid passed as argument.
6483
1728ab37
SP
6484 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6485
3a7182a1
JM
64862013-03-27 Joseph Myers <joseph@codesourcery.com>
6487
6488 [BZ #15307]
6489 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6490 imaginary part between 1.0 and 1.5 and real part less than 0.5
6491 specially.
6492 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6493 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6494 * math/libm-test.inc (cacos_test): Add more tests.
6495 (casin_test): Likewise.
6496 (casinh_test): Likewise.
6497 * sysdeps/i386/fpu/libm-test-ulps: Update.
6498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6499
6f2e90e7
SP
65002013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6501
5739f705
SP
6502 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6503 constants.
6504 (norm): Likewise.
6505 (denorm): Likewise.
6506 (__dbl_mp): Likewise.
6507 (add_magnitudes): Likewise.
6508 (sub_magnitudes): Likewise.
6509 (__add): Likewise.
6510 (__sub): Likewise.
6511 (__mul): Likewise.
6512 (__sqr): Likewise.
6513 (__inv): Likewise.
6514 (__dvd): Likewise.
6515
e375e83d
SP
6516 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6517 commented code.
6518 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6519 (__dubcos): Likewise.
6520 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6521 (__ieee754_acos): Likewise.
6522 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6523 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6524 (__exp1): Likewise.
6525 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6526 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6527 (log1): Likewise.
6528 (my_log2): Likewise.
6529 (checkint): Likewise.
6530 * sysdeps/ieee754/dbl-64/e_remainder.c
6531 (__ieee754_remainder): Likewise.
6532 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6533 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6534 (bsloww): Likewise.
6535 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6536
6f2e90e7
SP
6537 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6538 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6539 MANTISSA_STORE_T to store computations on mantissa. Use
6540 macros for rounding and division.
6541 (denorm): Likewise.
6542 (__dbl_mp): Likewise.
6543 (add_magnitudes): Likewise.
6544 (sub_magnitudes): Likewise.
6545 (__mul): Likewise.
6546 (__sqr): Likewise.
6547 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6548 powers of two in terms of TWOPOW macro.
6549 (mp_no): Make type of mantissa as MANTISSA_T.
6550 [!RADIXI]: Define RADIXI.
6551 [!TWO52]: Define TWO52.
6552 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6553
fce14d4e
AZ
65542013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6555
6556 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6557 llroundl symbol when building for PPC32.
6558
9ad027fb
MW
65592013-03-24 Mark H Weaver <mhw@netris.org>
6560
6561 * manual/arith.texi (Normalization Functions): Fix prototypes for
6562 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6563
e42a38dd
AZ
65642013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6565
6566 [BZ #13889]
6567 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6568 high value to check if expl overflow.
6569 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6570 to check for underflow and overflow.
6571 * math/libm-test.inc: Add exp test.
6572
2e0fb521
DL
65732013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6574
6575 [BZ #11120]
6576 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6577 with NOT_IN_libc.
6578
b5784d95
AZ
65792013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6580
6581 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6582 symbol.
6583
5aa4a1a1
TS
65842013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6585
bdef0be7
TS
6586 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6587 wrap blocks consisting of several statements.
6588
5aa4a1a1
TS
6589 * sysdeps/generic/math-tests.h: New file.
6590 * sysdeps/i386/fpu/math-tests.h: Likewise.
6591 * math/test-snan.c: Include it.
6592 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6593
98c48fe5
JM
65942013-03-21 Joseph Myers <joseph@codesourcery.com>
6595
6596 [BZ #15285]
6597 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6598 (__ieee754_j0l): Do not improve calculations using cos of twice
6599 input for inputs above LDBL_MAX / 2.0L.
6600 (__ieee754_y0l): Likewise.
6601 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6602 (__ieee754_j1l): Do not improve calculations using cos of twice
6603 input for inputs above LDBL_MAX / 2.0L.
6604 (__ieee754_y1l): Likewise.
6605 * math/libm-test.inc (j0_test): Add another test.
6606 (j1_test): Likewise.
6607 (y0_test): Likewise.
6608 (y1_test): Likewise.
6609 * sysdeps/i386/fpu/libm-test-ulps: Update.
6610
3775a8bc
SP
66112013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6612
6613 * Rules ($(objpfx)bench-%.c): Include code from a C source
6614 file.
6615
0a1b2ae6
JM
66162013-03-21 Joseph Myers <joseph@codesourcery.com>
6617
6618 [BZ #15287]
6619 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6620 imaginary part 1.0 and real part less than 0.5 specially.
6621 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6622 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6623 * math/libm-test.inc (cacos_test): Add more tests.
6624 (casin_test): Likewise.
6625 (casinh_test): Likewise.
6626 * sysdeps/i386/fpu/libm-test-ulps: Update.
6627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6628
b33d4ce4
SP
66292013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6630
6631 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6632 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6633
bef0b507
JM
66342013-03-20 Joseph Myers <joseph@codesourcery.com>
6635
6636 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6637 * config.make.in (config-cflags-sse4): Remove variable.
6638 (config-cflags-avx): Likewise.
6639 (config-cflags-sse2avx): Likewise.
6640 (config-cflags-novzeroupper): Likewise.
6641 (config-asflags-i686): Likewise.
6642 (have-mfma4): Likewise.
6643 (have-as-vis3): Likewise.
6644 (MIG): Likewise.
6645 * configure.in (MIG): Do not AC_SUBST.
6646 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6647 (libc_cv_cc_sse4): Do not AC_SUBST.
6648 (libc_cv_cc_avx): Likewise.
6649 (libc_cv_cc_sse2avx): Likewise.
6650 (libc_cv_cc_novzeroupper): Likewise.
6651 (libc_cv_cc_fma4): Likewise.
6652 (libc_cv_as_i686): Likewise.
6653 (libc_cv_sparc_as_vis3): Likewise.
6654 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6655 LIBC_CONFIG_VAR.
6656 (config-asflags-i686): Likewise.
6657 (config-cflags-avx): Likewise.
6658 (config-cflags-sse2avx): Likewise.
6659 (have-mfma4): Likewise.
6660 (config-cflags-novzeroupper): Likewise.
6661 * sysdeps/mach/configure.in (MIG): Likewise.
6662 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6663 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6664 LIBC_CONFIG_VAR.
6665 (config-cflags-avx): Likewise.
6666 (config-cflags-sse2avx): Likewise.
6667 (have-mfma4): Likewise.
6668 (config-cflags-novzeroupper): Likewise.
6669 * configure: Regenerated.
6670 * sysdeps/i386/configure: Likewise.
6671 * sysdeps/mach/configure: Likewise.
6672 * sysdeps/sparc/configure: Likewise.
6673 * sysdeps/x86_64/configure: Likewise.
6674
912cc4b3
RM
66752013-03-20 Roland McGrath <roland@hack.frob.com>
6676
6677 [BZ #14812]
6678 * locale/programs/localedef.c (options): Put N_ translation marker
6679 on argument names, not just descriptions.
6680
04eed2b0
MS
66812013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6682
6683 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6684
a065ceff
OB
66852013-03-20 Ondřej Bílka <neleai@seznam.cz>
6686
9bb2a810 6687 [BZ #14176]
a065ceff
OB
6688 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6689
a600e5ce
RM
66902013-03-19 Roland McGrath <roland@hack.frob.com>
6691
6692 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6693 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6694 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6695 [!BEFORE_ABORT] (before_abort): New function.
6696 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6697 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6698 (writev_for_fatal): New function.
6699 (WRITEV_FOR_FATAL): New macro; call that.
6700 (backtrace_and_maps): New function.
6701 (BEFORE_ABORT): New macro; call that.
6702 (struct str_list): Type removed.
6703 (__libc_message, __libc_fatal): Functions removed.
6704 Include <sysdeps/posix/libc_fatal.c> instead.
6705
6b18bea6
JM
67062013-03-19 Joseph Myers <joseph@codesourcery.com>
6707
6708 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6709 constants.
6710 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6711 double constants.
6712
aaa8cb4b
AS
67132013-03-19 Andreas Schwab <schwab@suse.de>
6714
44673770
AS
6715 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6716 * sysdeps/gnu/configure: Regenerate.
6717
aaa8cb4b
AS
6718 * configure.in: Substitute libc_cv_rtlddir.
6719 * configure: Regenerate.
6720 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6721 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6722 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6723 * elf/Makefile (install-others, CFLAGS-interp.c)
6724 (ldso_install, common-ldd-rewrite): Likewise.
6725 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6726 $(inst_slibdir)/$(rtld-installed-name).
6727 * scripts/rellns-sh: Add -p option.
6728 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6729 for source.
6730
d3cfc668
SP
67312013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6732
6733 * manual/nptl.texi: Renamed to ...
6734 * manual/threads.texi: ... this.
6735 * manual/Makefile (chapters): Update.
6736
0e2b9cdd
RM
67372013-03-18 Roland McGrath <roland@hack.frob.com>
6738
6739 [BZ #14812]
6740 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6741 on argument names, not just descriptions.
0e2b9cdd
RM
6742 * malloc/memusagestat.c (options): Likewise.
6743 * nss/getent.c (options): Likewise.
63270c24
RM
6744
67452013-03-18 Benno Schulenberg <bensberg@justemail.net>
6746
6747 [BZ #14812]
6748 * iconv/iconv_prog.c (options): Put N_ translation marker
6749 on argument names, not just descriptions.
6750 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6751
b2e1393c
OB
67522013-03-18 Ondrej Bilka <neleai@seznam.cz>
6753
6754 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6755 implementation which is faster on all x86_64 architectures.
6756 Tested on AMD, Intel Nehalem, SNB, IVB.
6757 * sysdeps/x86_64/strnlen.S: Likewise.
6758
6759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6760 Remove all multiarch strlen and strnlen versions.
6761 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6762 Remove strlen and strnlen related parts.
6763
6764 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6765 Inline strlen part.
6766 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6767
6768 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6769 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6770 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6771 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6772 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6773 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6774
ec4ff04d
CD
67752013-03-17 Carlos O'Donell <carlos@redhat.com>
6776
6777 * manual/memory.texi (Malloc Tunable Parameters):
6778 Sort parameters alphabetically. Add comments for missing entries.
6779
cd18e90a
DM
67802013-03-17 David S. Miller <davem@davemloft.net>
6781
6782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6783
2a185d32
JM
67842013-03-16 Joseph Myers <joseph@codesourcery.com>
6785
d2f9799e
JM
6786 [BZ #15283]
6787 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6788 for arguments at most half maximum finite value.
6789 * math/libm-test.inc (j0_test): Add more tests.
6790 (j1_test): Likewise.
6791 (y0_test): Likewise.
6792 (y1_test): Likewise.
6793 * sysdeps/i386/fpu/libm-test-ulps: Update.
6794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6795
2a185d32
JM
6796 [BZ #14155]
6797 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6798 1 / x and functions P and Q for arguments above 0x1p256L.
6799 (__ieee754_y0l): Likewise.
6800 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6801 (__ieee754_y1l): Likewise.
6802 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6803 (j1_test): Likewise.
6804 (y0_test): Likewise.
6805 (y1_test): Likewise.
6806
6cbec759
TS
68072013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6808
6809 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6810 variable.
6811
bc16e260
RM
68122013-03-15 Roland McGrath <roland@hack.frob.com>
6813
aefc9b8c
RM
6814 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6815 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6816 zero since it's initialized to EXEC_PAGESIZE.
6817
bc16e260
RM
6818 * sysdeps/unix/sysv/linux/ldsodefs.h
6819 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6820 * sysdeps/generic/ldsodefs.h: ... here.
6821
a57da955
TS
68222013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6823
af00a34d
TS
6824 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6825
495ded2c
TS
6826 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6827 math/test-snan.c.
6828 * math/test-snan.c: Renamed from
6829 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6830 * math/Makefile (tests): Add test-snan.
6831 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6832 test-powerpc-snan.
6833
777b0332
TS
6834 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6835 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6836 functions.
6837 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6838 __builtin_nan family of functions.
6839 * math/libm-test.inc (initialize): Initialize qnan_value with
6840 __builtin_nan family of functions.
6841 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6842 Remove variables.
6843 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6844 Remove functions.
6845 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6846 storage class. Initialize qNaN_var and sNaN_var with
6847 __builtin_nan and __builtin_nans families of functions,
6848 respectively.
6849
64d063b8
TS
6850 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6851 (sqrt_test): Remove duplicate test with qNaN input.
6852 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6853 (round_test, signbit_test, significand_test): Note missing +/-Inf
6854 as well as qNaN tests.
6855
67e971f1
TS
6856 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6857 qNaN_var. Fix a few strings, too.
6858 * math/libm-test.inc (nan_value): Rename to qnan_value.
6859 * math/gen-libm-test.pl (%beautify): Adjust to that.
6860 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6861 * math/test-misc.c (main): Likewise.
6862 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6863 to __qnan_bytes, and __qnan_union, respectively.
6864 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6865 Likewise.
6866 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6867 and lqnanval, respectively.
6868 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6869 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6870 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6871 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6872
64487e12
TS
6873 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6874 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6875 doubles.
6876
e015e27b
TS
6877 * math/test-misc.c (main): Fix copy'n'pastos.
6878 * misc/tst-efgcvt.c (special): Likewise.
6879
a57da955
TS
6880 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6881 Remove declarations.
6882
1e380345
SP
68832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6884
6885 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6886 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6887 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6888 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6889
ef26eece
AZ
68902013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6891
6892 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6893 macro to return vdso values correctly in IFUNC implementations.
6894 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6895 Optimization by using IFUNC.
6896
8cfdb7e0
SP
68972013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6898 Richard Henderson <rth@redhat.com>
6899 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6900
6901 * Makefile.in (bench): New target.
6902 * NEWS: Mention the benchmark framework.
6903 * Rules (bench): Likewise.
6904 (binaries-bench): Generate binaries for functions to
6905 benchmark.
6906 * benchtests/Makefile: New makefile for benchmark tests.
6907 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6908 programs.
6909 * benchtests/exp-inputs: New input file for EXP function.
6910 * benchtests/pow-inputs: New input file for POW function.
6911 * scripts/bench.pl: New script to generate source files for
6912 benchmark programs.
6913
bcda9880
SP
69142013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6915
d22ca8cd
SP
6916 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6917 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6918 computations on mantissa. Use macros for rounding and
6919 division.
6920 (denorm): Likewise.
6921 (__dbl_mp): Likewise.
6922 (add_magnitudes): Likewise.
6923 (sub_magnitudes): Likewise.
6924 (__mul): Likewise.
6925 (__sqr): Likewise.
6926 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6927 powers of two in terms of TWOPOW macro.
6928 (mp_no): Make type of mantissa as MANTISSA_T.
6929 [!RADIXI]: Define RADIXI.
6930 [!TWO52]: Define TWO52.
6931 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6932
bcda9880
SP
6933 * manual/nptl.texi (cindex): Modify threads to pthreads.
6934
06d5adfb
JM
69352013-03-15 Joseph Myers <joseph@codesourcery.com>
6936
6937 * sysdeps/x86_64/preconfigure: Regenerated.
6938
41c7328e
JM
69392013-03-14 Joseph Myers <joseph@codesourcery.com>
6940
6941 [BZ #14155]
6942 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6943 0x1p28 and above.
6944 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6945 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6946 0x1p28 and above.
6947 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6948 * math/libm-test.inc (j0_test): Do not allow one spurious
6949 underflow exception.
6950 (y1_test): Likewise.
6951
e25cfa60
SP
69522013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6953
0409959c
SP
6954 * manual/Makefile (chapters): Add nptl.
6955 * manual/debug.texi (Debugging Support): Add link to Threads
6956 chapter.
6957 * manual/nptl.texi: New file.
6958
e25cfa60
SP
6959 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6960
58a1335e
PB
69612013-03-14 Petr Baudis <pasky@ucw.cz>
6962
6963 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6964 for non-NULL pointer before the memory validity test. Pointed
6965 out by Holger Brunck <holger.brunck@keymile.com>.
6966
9dc7c64f
AS
69672013-03-13 Andreas Schwab <schwab@suse.de>
6968
6969 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6970 instead of .os.
6971
54206aa6
JM
69722013-03-13 Joseph Myers <joseph@codesourcery.com>
6973
6974 * timezone/zic.c: Update from tzcode 2013b.
6975
e98cdb38
CD
69762013-03-12 Carlos O'Donell <carlos@redhat.com>
6977
6978 * manual/install.texi (Configuring and compiling):
6979 Mention i686 and i586.
6980 * INSTALL: Regenerate.
6981
9967e003
RM
69822013-03-12 Roland McGrath <roland@hack.frob.com>
6983
6984 * sysdeps/init_array/elf-init.c: New file.
6985 * csu/elf-init.c
6986 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6987 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6988
6989 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6990 __gmon_start__ as global, but as static with a .preinit_array pointer.
6991 * sysdeps/init_array/gmon-start.c: New file. Use that.
6992 * sysdeps/init_array/crti.S: New file, empty except for comments.
6993 * sysdeps/init_array/crtn.S: Likewise.
6994
e6b5a293 69952013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6996
6997 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6998 definining bcopy.
80f844c9
OB
6999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7000 Remove Prefer_SSE_for_memop.
7001 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7002 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7003 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
7004 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7005 memset-x86-64.
80f844c9 7006 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 7007 Remove bzero, memset ifunc support.
80f844c9
OB
7008 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7009 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7010 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7011 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7012
fb6b0fcb
AS
70132013-03-11 Andreas Schwab <schwab@suse.de>
7014
7015 [BZ #15234]
7016 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7017 by SHLIB_COMPAT.
7018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7019 (GLIBC_2.16): Remove pthread_atfork.
7020
3e6bd4b1
PP
70212013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7022
7023 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7024 (ptestcases.h): Likewise.
7025
222d7f00
RM
70262013-03-08 Roland McGrath <roland@hack.frob.com>
7027
7028 * Makeconfig ($(common-objpfx)config.status): Depend on
7029 sysdeps/*/preconfigure{,.in} too.
7030
1ba4f030
JM
70312013-03-08 Joseph Myers <joseph@codesourcery.com>
7032
a222d91a
JM
7033 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7034 (__free_hook): Use void * instead of __malloc_ptr_t.
7035 (__malloc_hook): Likewise.
7036 (__realloc_hook): Likewise.
7037 (__memalign_hook): Likewise.
7038 (__after_morecore_hook): Likewise.
7039 * malloc/arena.c (save_malloc_hook): Likewise.
7040 (save_free_hook): Likewise.
7041 * malloc/hooks.c (malloc_hook_ini): Likewise.
7042 (realloc_hook_ini): Likewise.
7043 (memalign_hook_ini): Likewise.
7044 * malloc/malloc.c (malloc_hook_ini): Likewise.
7045 (realloc_hook_ini): Likewise.
7046 (memalign_hook_ini): Likewise.
7047 (__free_hook): Likewise.
7048 (__malloc_hook): Likewise.
7049 (__realloc_hook): Likewise.
7050 (__memalign_hook): Likewise.
7051 (__libc_malloc): Likewise.
7052 (__libc_free): Likewise.
7053 (__libc_realloc): Likewise.
7054 (__libc_memalign): Likewise.
7055 (__libc_valloc): Likewise.
7056 (__libc_pvalloc): Likewise.
7057 (__libc_calloc): Likewise.
7058 (__posix_memalign): Likewise.
7059 * malloc/morecore.c (__sbrk): Likewise.
7060 (__default_morecore): Likewise.
7061
5cc45e10
JM
7062 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7063
dd54b864
JM
7064 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7065 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7066 __malloc_ptrdiff_t.
7067
1ba4f030
JM
7068 * malloc/malloc.h (__malloc_size_t): Remove macro.
7069 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7070 __malloc_size_t.
7071 (old_memalign_hook): Likewise.
7072 (old_realloc_hook): Likewise.
7073 (struct hdr): Likewise.
7074 (flood): Likewise.
7075 (mallochook): Likewise.
7076 (memalignhook): Likewise.
7077 (reallochook): Likewise.
7078 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7079 (tr_old_realloc_hook): Likewise.
7080 (tr_old_memalign_hook): Likewise.
7081 (tr_mallochook): Likewise.
7082 (tr_reallochook): Likewise.
7083 (tr_memalignhook): Likewise.
7084
edf66e57
AZ
70852013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7086
7087 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7088 default_ldbl_pack and using as default implementation.
7089 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7090 implementation.
7091 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7092 redundant definition.
7093 (ldbl_insert_mantissa): Likewise.
7094 (ldbl_canonicalize): Likewise.
7095 (ldbl_nearbyint): Likewise.
7096 (ldbl_pack): Rename to ldbl_pack_ppc.
7097 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7098 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7099 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7100
6d9145d8
SP
71012013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7102
7103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7104 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7105 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7106 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7108 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7109 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7110 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7111
4dd4e157
AJ
71122013-03-07 Andreas Jaeger <aj@suse.de>
7113
7114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7115 bits/mman-linux.h.
7116
adbb8027
SP
71172013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7118
ce544b5b
SP
7119 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7120 Include mpa.h and declare __MPEXP.
7121 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7122 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7123 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7124 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7125 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7126 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7127 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7128
4cc149fd
SP
7129 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7130 (__slowpow): Use long double EXPL and LOGL functions to
7131 compute POW.
7132 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7133 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7134 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7135 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7136 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7137 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7138
e6ebd4a7
SP
7139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7140 intermediate variable to calculate exponent.
7141 (__sqr): Likewise.
7142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7143 Likewise.
7144 (__sqr): Likewise.
7145
82a9811d
SP
7146 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7147 [!NO__SQR]: Define __sqr.
7148 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7149 and NO__SQR. Remove all code except __mul and __sqr. Include
7150 sysdeps/ieee754/dbl-64/mpa.c.
7151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7152
adbb8027
SP
7153 [BZ #12723]
7154 * posix/Makefile (tests): Add tst-pathconf.
7155 * posix/tst-pathconf.c: New test case.
7156 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7157 _PC_PIPE_BUF.
7158 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7159
39120df9
PF
71602013-03-06 Patsy Franklin <pfrankli@redhat.com>
7161
7162 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7163
67525cb8
AJ
71642013-03-06 Andreas Jaeger <aj@suse.de>
7165
664a9ce4
AJ
7166 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7167 definition via __MAP_ANONYMOUS.
7168
8e39047d
AJ
7169 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7170 it's not part of Linux headers.
7171
67525cb8
AJ
7172 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7173 (MAP_HUGE_MASK): Define.
7174
7175 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7176 Define.
7177 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7178 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7179 Define.
7180 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7181 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7182 Define.
7183 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7184 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7185 Define.
7186 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7187
7188 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7189 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7190 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7191 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7192 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7193 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7194
7195 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7196 Handle f2fs.
7197
7198 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7199 Handle f2fs and efivarfs.
7200
7201 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7202 f2fs.
7203
7204 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7205 (EFIVARFS_MAGIC): Add.
7206 (F2FS_LINK_MAX): Add.
7207
e1b42695
PP
72082013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7209
7210 * stdio-common/vfprintf.c: Replace __builtin_expect with
7211 __glibc_unlikely.
7212
2d67d91a
JM
72132013-03-06 Joseph Myers <joseph@codesourcery.com>
7214
7215 [BZ #13550]
7216 * sysdeps/generic/bp-sym.h: Remove file.
7217 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7218 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7219 <bp-sym.h> and <bp-asm.h>.
7220 (__longjmp): Don't use BP_SYM.
7221 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7222 and <bp-asm.h>.
7223 (memcpy): Don't use BP_SYM.
7224 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7225 <bp-sym.h> and <bp-asm.h>.
7226 (memcpy): Don't use BP_SYM.
7227 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7228 <bp-asm.h>.
7229 (memcpy): Don't use BP_SYM.
7230 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7231 <bp-asm.h>.
7232 (memset): Don't use BP_SYM.
7233 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7234 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7235 (__bzero): Don't use BP_SYM.
7236 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7237 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7238 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7239 <bp-sym.h> and <bp-asm.h>.
7240 (memcmp): Don't use BP_SYM. Remove comment about bounded
7241 pointers.
7242 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7243 <bp-sym.h> and <bp-asm.h>.
7244 (memcpy): Don't use BP_SYM.
7245 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7246 <bp-sym.h> and <bp-asm.h>.
7247 (memset): Don't use BP_SYM.
7248 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7249 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7250 (__bzero): Don't use BP_SYM.
7251 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7252 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7253 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7254 <bp-sym.h> and <bp-asm.h>.
7255 (strncmp): Don't use BP_SYM. Remove comment about bounded
7256 pointers.
7257 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7258 <bp-sym.h> and <bp-asm.h>.
7259 (memcpy): Don't use BP_SYM.
7260 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7261 <bp-sym.h> and <bp-asm.h>.
7262 (memset): Don't use BP_SYM.
7263 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7264 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7265 (__bzero): Don't use BP_SYM.
7266 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7267 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7268 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7269 <bp-sym.h> and <bp-asm.h>.
7270 (__memchr): Don't use BP_SYM.
7271 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7272 <bp-sym.h> and <bp-asm.h>.
7273 (memcmp): Don't use BP_SYM. Remove comment about bounded
7274 pointers.
7275 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7276 <bp-sym.h> and <bp-asm.h>.
7277 (memcpy): Don't use BP_SYM.
7278 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7279 <bp-sym.h> and <bp-asm.h>.
7280 (__mempcpy): Don't use BP_SYM.
7281 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7282 <bp-sym.h> and <bp-asm.h>.
7283 (__memrchr): Don't use BP_SYM.
7284 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7285 <bp-sym.h> and <bp-asm.h>.
7286 (memset): Don't use BP_SYM.
7287 (__bzero): Likewise.
7288 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7289 <bp-sym.h> and <bp-asm.h>.
7290 (__rawmemchr): Don't use BP_SYM.
7291 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7292 <bp-sym.h> and <bp-asm.h>.
7293 (__STRCMP): Don't use BP_SYM.
7294 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7295 <bp-sym.h> and <bp-asm.h>.
7296 (strchr): Don't use BP_SYM.
7297 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7298 <bp-sym.h> and <bp-asm.h>.
7299 (__strchrnul): Don't use BP_SYM.
7300 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7301 <bp-sym.h> and <bp-asm.h>.
7302 (strlen): Don't use BP_SYM.
7303 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7304 <bp-sym.h> and <bp-asm.h>.
7305 (strncmp): Don't use BP_SYM. Remove comment about bounded
7306 pointers.
7307 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7308 <bp-sym.h> and <bp-asm.h>.
7309 (__strnlen): Don't use BP_SYM.
7310 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7311 <bp-sym.h> and <bp-asm.h>.
7312 (__GI__setjmp): Don't use BP_SYM.
7313 (_setjmp): Likewise.
7314 (__sigsetjmp): Likewise.
7315 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7316 (L(start_addresses)): Don't use BP_SYM.
7317 (_start): Likewise.
7318 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7319 <bp-asm.h>.
7320 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7321 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7322 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7323 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7324 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7325 <bp-asm.h>.
7326 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7327 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7328 about bounded pointers.
7329 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7330 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7331 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7332 <bp-asm.h>.
7333 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7334 about bounded pointers. Remove GKM FIXME comments.
7335 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7336 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7337 <bp-asm.h>.
7338 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7339 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7340 Remove GKM FIXME comments.
7341 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7342 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7343 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7344 <bp-asm.h>.
7345 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7346 about bounded pointers. Remove GKM FIXME comment.
7347 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7348 and <bp-asm.h>.
7349 (strncmp): Don't use BP_SYM. Remove comment about bounded
7350 pointers.
7351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7352 <bp-sym.h> and <bp-asm.h>.
7353 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7355 <bp-sym.h> and <bp-asm.h>.
7356 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7357 comment.
7358
cdcf361f
PP
73592013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7360
7361 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7362 call free(NULL).
7363
3c4a2b15
DM
73642013-03-05 David S. Miller <davem@davemloft.net>
7365
7366 * po/es.po: Update from translation team.
7367
cdcf361f 73682013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
7369
7370 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7371 <bits/mman-linux.h>.
7372 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7373 is fine.
7374 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7375 <bits/mman-linux.h> to end of file.
7376 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7377 is fine.
7378 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7379 <bits/mman-linux.h> to end of file.
7380 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7381 is fine.
7382 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7383 <bits/mman-linux.h> to end of file.
7384
7385 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7386 (MCL_CURRENT, MCL_FUTURE): Define here.
7387
5f67c04f
AK
73882013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7389
8a4473cc 7390 [BZ #15232]
5f67c04f
AK
7391 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7392 attribute_hidden.
7393 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7394
c3e94a95
AK
73952013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7396
7397 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7398 fourth parameter needed for rt_sigprocmask syscall.
7399 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7400 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7401 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7402 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7403 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7404 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7405
cfb6382a
JM
74062013-03-04 Joseph Myers <joseph@codesourcery.com>
7407
7408 [BZ #13550]
7409 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7410 comment about bounded pointers.
7411 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7412 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7413
539d8e01
AJ
74142013-03-04 Andreas Jaeger <aj@suse.de>
7415
7416 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7417 common definitions.
7418
7419 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7420 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7421 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7422 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7423 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7424 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7425
2e167a70 74262013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7427
7428 [BZ #15055]
7429 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7430 __ieee754_sqrl instead of __sqrl.
7431
68508633
JM
74322013-03-01 Joseph Myers <joseph@codesourcery.com>
7433
7434 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7435 * sysdeps/powerpc/fpu_control.h: ... here.
7436 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7437 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7438 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7439 * sysdeps/powerpc/bits/mathinline.h: ... here.
7440
7775448e
RM
74412013-03-01 Roland McGrath <roland@hack.frob.com>
7442
7443 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7444 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7445 to just [NEED_DL_SYSINFO_DSO].
7446 * elf/dl-support.c: Likewise.
7447 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7448 * elf/rtld.c (dl_main): Likewise.
7449 * elf/setup-vdso.h (setup_vdso): Likewise.
7450 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7451 * sysdeps/unix/sysv/linux/dl-sysdep.c
7452 (_dl_discover_osversion): Likewise.
7453
4e9b5995
CD
74542013-03-01 Carlos O'Donell <carlos@redhat.com>
7455
7456 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7457 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7458
e23872c8
SP
74592013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7460
e5c74c63
SP
7461 * NEWS: Mention libm performance improvements and non-x86 PI
7462 futex support.
7463
e23872c8
SP
7464 * csu/libc-start.c (__pthread_initialize_minimal): Change
7465 function arguments.
7466 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7467
b5510883
JM
74682013-02-28 Joseph Myers <joseph@codesourcery.com>
7469
7470 [BZ #13550]
7471 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7472 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7473 <bp-sym.h> and <bp-asm.h>.
7474 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7475 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7476 and <bp-asm.h>.
7477 (memcpy): Don't use BP_SYM.
7478 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7479 <bp-asm.h>.
7480 (__mpn_add_n): Don't use BP_SYM.
7481 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7482 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7483 and <bp-asm.h>.
7484 (__mpn_addmul_1): Don't use BP_SYM.
7485 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7486 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7487 <bp-sym.h>.
7488 (_setjmp): Don't use BP_SYM.
7489 (__novmx_setjmp): Likewise.
7490 (__GI__setjmp): Likewise.
7491 (__vmx_setjmp): Likewise.
7492 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7493 <bp-sym.h>.
7494 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7495 (__bzero): Don't use BP_SYM.
7496 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7497 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7498 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7499 <bp-sym.h> and <bp-asm.h>.
7500 (memcpy): Don't use BP_SYM.
7501 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7502 <bp-sym.h> and <bp-asm.h>.
7503 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7504 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7505 <bp-sym.h> and <bp-asm.h>.
7506 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7507 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7508 <bp-asm.h>.
7509 (__mpn_lshift): Don't use BP_SYM.
7510 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7511 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7512 <bp-asm.h>.
7513 (memset): Don't use BP_SYM.
7514 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7515 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7516 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7517 <bp-asm.h>.
7518 (__mpn_mul_1): Don't use BP_SYM.
7519 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7520 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7521 <bp-sym.h> and <bp-asm.h>.
7522 (memcmp): Don't use BP_SYM.
7523 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7524 <bp-sym.h> and <bp-asm.h>.
7525 (memcpy): Don't use BP_SYM.
7526 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7527 <bp-sym.h> and <bp-asm.h>.
7528 (memset): Don't use BP_SYM.
7529 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7530 <bp-sym.h> and <bp-asm.h>.
7531 (strncmp): Don't use BP_SYM.
7532 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7533 <bp-sym.h> and <bp-asm.h>.
7534 (memcpy): Don't use BP_SYM.
7535 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7536 <bp-sym.h> and <bp-asm.h>.
7537 (memset): Don't use BP_SYM.
7538 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7539 <bp-sym.h> and <bp-asm.h>.
7540 (__memchr): Don't use BP_SYM.
7541 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7542 <bp-sym.h> and <bp-asm.h>.
7543 (memcmp): Don't use BP_SYM.
7544 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7545 <bp-sym.h> and <bp-asm.h>.
7546 (memcpy): Don't use BP_SYM.
7547 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7548 <bp-sym.h> and <bp-asm.h>.
7549 (__mempcpy): Don't use BP_SYM.
7550 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7551 <bp-sym.h> and <bp-asm.h>.
7552 (__memrchr): Don't use BP_SYM.
7553 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7554 <bp-sym.h> and <bp-asm.h>.
7555 (memset): Don't use BP_SYM.
7556 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7557 <bp-sym.h> and <bp-asm.h>.
7558 (__rawmemchr): Don't use BP_SYM.
7559 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7560 <bp-sym.h> and <bp-asm.h>.
7561 (__STRCMP): Don't use BP_SYM.
7562 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7563 <bp-sym.h> and <bp-asm.h>.
7564 (strchr): Don't use BP_SYM.
7565 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7566 <bp-sym.h> and <bp-asm.h>.
7567 (__strchrnul): Don't use BP_SYM.
7568 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7569 <bp-sym.h> and <bp-asm.h>.
7570 (strlen): Don't use BP_SYM.
7571 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7572 <bp-sym.h> and <bp-asm.h>.
7573 (strncmp): Don't use BP_SYM.
7574 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7575 <bp-sym.h> and <bp-asm.h>.
7576 (__strnlen): Don't use BP_SYM.
7577 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7578 <bp-asm.h>.
7579 (__mpn_rshift): Don't use BP_SYM.
7580 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7581 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7582 <bp-sym.h> and <bp-asm.h>.
7583 (__sigsetjmp): Don't use BP_SYM.
7584 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7585 (L(start_addresses)): Don't use BP_SYM.
7586 (_start): Likewise.
7587 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7588 <bp-asm.h>.
7589 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7590 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7591 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7592 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7593 <bp-asm.h>.
7594 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7595 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7596 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7597 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7598 <bp-asm.h>.
7599 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7600 comments.
7601 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7602 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7603 <bp-asm.h>.
7604 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7605 FIXME comments.
7606 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7607 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7608 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7609 <bp-asm.h>.
7610 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7611 comment.
7612 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7613 and <bp-asm.h>.
7614 (strncmp): Don't use BP_SYM,
7615 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7616 <bp-asm.h>.
7617 (__mpn_sub_n): Don't use BP_SYM.
7618 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7619 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7620 and <bp-asm.h>.
7621 (__mpn_submul_1): Don't use BP_SYM.
7622 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7624 <bp-sym.h> and <bp-asm.h>.
7625 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7627 <bp-sym.h> and <bp-asm.h>.
7628 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7629 comment.
7630
8d19fe64
SP
76312013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7632
7633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7634 Use ZK to minimize writes to Z.
7635 (sub_magnitudes): Simplify code a bit.
7636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7637 Use ZK to minimize writes to Z.
7638 (sub_magnitudes): Simplify code a bit.
7639
85bd816a
RM
76402013-02-27 Roland McGrath <roland@hack.frob.com>
7641
7642 * csu/gmon-start.c: Add special exception to license text.
7643
b5977bf2
RH
76442013-02-27 Richard Henderson <rth@redhat.com>
7645
7646 * scripts/config.guess: Update from config.git.
7647 * scripts/config.sub: Likewise.
7648
11d6e2f2
SP
76492013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7650
09c14ed2
SP
7651 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7652
a688864e
SP
7653 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7654
6295157a
SP
7655 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7656
b8de2202
SP
7657 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7658
11d6e2f2
SP
7659 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7660
7e80ddb8
RM
76612013-02-26 Roland McGrath <roland@hack.frob.com>
7662
7663 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7664 [$(build-shared = yes].
7e80ddb8 7665
7da6d9ed
SP
76662013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7667
45f05884
SP
7668 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7669 (__mul): Reduce iterations for calculating mantissa.
7670
2236d359
SP
7671 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7672 MPTWO.
7673 (__mpranred): Likewise.
7674
7da6d9ed
SP
7675 [BZ #15160]
7676 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7677 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7678
b7688c42
PE
76792013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7680
7681 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7682 Define __attribute__.
7683
53a5c423
SP
76842013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7685
7686 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7687 unused.
7688 * posix/regex_internal.h (__attribute): Remove.
7689 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7690 (re_string_context_at): Likewise.
7691 (bitset_not): Use __attribute__ and mark function as possibly
7692 unused.
7693 (bitset_merge): Likewise.
7694 (bitset_mask): Likewise.
7695 (re_string_char_size_at): Likewise.
7696 (re_string_wchar_at): Likewise.
7697 (re_string_elem_size_at): Likewise.
7698
60f5a8b5
SP
76992013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7700
2a983a2e
SP
7701 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7702 code.
7703 (cc32): Likewise.
7704
e69804d1
SP
7705 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7706 (__acr): Likewise.
7707 (__cpy): Likewise.
7708 (norm): Likewise.
7709 (denorm): Likewise.
7710 (__dbl_mp): Likewise.
7711 (add_magnitudes): Likewise.
7712 (sub_magnitudes): Likewise.
7713 (__mul): Likewise.
7714 (__inv): Likewise.
7715
2f22a1e8
SP
7716 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7717 style.
7718
8930ddc7
SP
7719 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7720 style.
7721
dc60cb11
SP
7722 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7723 code.
7724
60f5a8b5
SP
7725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7726 up changes with default code.
7727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7728 Likewise.
7729
b4d1fd33
AM
77302013-02-24 Allan McRae <allan@archlinux.org>
7731
faf6f8bc
AM
7732 * manual/socket.texi (The Internet Namespace): Order menu items
7733 to match that in the file.
7734
b4d1fd33
AM
7735 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7736 node listing of the info page menu.
7737
2366713d
JM
77382013-02-21 Joseph Myers <joseph@codesourcery.com>
7739
7740 [BZ #13550]
7741 * sysdeps/i386/bp-asm.h: Remove file.
7742 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7743 (PARMS): Do not use macros from bp-asm.h.
7744 (S1): Likewise.
7745 (S2): Likewise.
7746 (SIZE): Likewise.
7747 (__mpn_add_n): Do not use BP_SYM
7748 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7749 "bp-asm.h".
7750 (PARMS): Do not use macros from bp-asm.h.
7751 (S1): Likewise.
7752 (SIZE): Likewise.
7753 (__mpn_addmul_1): Do not use BP_SYM
7754 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7755 "bp-asm.h".
7756 (PARMS): Do not use macros from bp-asm.h.
7757 (SIGMSK): Likewise.
7758 (_setjmp): Likewise. Do not use BP_SYM.
7759 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7760 "bp-asm.h".
7761 (PARMS): Do not use macros from bp-asm.h.
7762 (SIGMSK): Likewise.
7763 (setjmp): Likewise. Do not use BP_SYM.
7764 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7765 "bp-asm.h".
7766 (PARMS): Do not use macros from bp-asm.h.
7767 (__frexp): Do not use BP_SYM.
7768 (frexp): Likewise.
7769 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7770 "bp-asm.h".
7771 (PARMS): Do not use macros from bp-asm.h.
7772 (__frexpf): Do not use BP_SYM.
7773 (frexpf): Likewise.
7774 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7775 "bp-asm.h".
7776 (PARMS): Do not use macros from bp-asm.h.
7777 (__frexpl): Do not use BP_SYM.
7778 (frexpl): Likewise.
7779 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7780 "bp-asm.h".
7781 (PARMS): Do not use macros from bp-asm.h.
7782 (__remquo): Do not use BP_SYM.
7783 (remquo): Likewise.
7784 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7785 "bp-asm.h".
7786 (PARMS): Do not use macros from bp-asm.h.
7787 (__remquof): Do not use BP_SYM.
7788 (remquof): Likewise.
7789 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7790 "bp-asm.h".
7791 (PARMS): Do not use macros from bp-asm.h.
7792 (__remquol): Do not use BP_SYM.
7793 (remquol): Likewise.
7794 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7795 "bp-asm.h".
7796 (PARMS): Do not use macros from bp-asm.h.
7797 (DEST): Likewise.
7798 (SRC): Likewise.
7799 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7800 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7801 "bp-asm.h".
7802 (PARMS): Do not use macros from bp-asm.h.
7803 (strlen): Do not use BP_SYM.
7804 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7805 "bp-asm.h".
7806 (PARMS): Do not use macros from bp-asm.h.
7807 (S1): Likewise.
7808 (S2): Likewise.
7809 (SIZE): Likewise.
7810 (__mpn_add_n): Do not use BP_SYM.
7811 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7812 "bp-asm.h".
7813 (PARMS): Do not use macros from bp-asm.h.
7814 (S1): Likewise.
7815 (SIZE): Likewise.
7816 (__mpn_addmul_1): Do not use BP_SYM.
7817 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7818 weak_alias.
7819 (bzero): Likewise.
7820 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7821 "bp-asm.h".
7822 (PARMS): Do not use macros from bp-asm.h.
7823 (S): Likewise.
7824 (SIZE): Likewise.
7825 (__mpn_lshift): Do not use BP_SYM.
7826 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7827 "bp-asm.h".
7828 (PARMS): Do not use macros from bp-asm.h.
7829 (DEST): Likewise.
7830 (SRC): Likewise.
7831 (LEN): Likewise.
7832 (memcpy): Likewise. Do not use BP_SYM.
7833 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7834 libc_hidden_def and weak_alias.
7835 (mempcpy): Do not use BP_SYM in weak_alias.
7836 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7837 "bp-asm.h".
7838 (PARMS): Do not use macros from bp-asm.h.
7839 (DEST): Likewise.
7840 (LEN): Likewise.
7841 [!BZERO_P] (CHR): Likewise.
7842 (memset): Likewise. Do not use BP_SYM.
7843 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7844 "bp-asm.h".
7845 (PARMS): Do not use macros from bp-asm.h.
7846 (S1): Likewise.
7847 (SIZE): Likewise.
7848 (__mpn_mul_1): Do not use BP_SYM.
7849 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7850 "bp-asm.h".
7851 (PARMS): Do not use macros from bp-asm.h.
7852 (S): Likewise.
7853 (SIZE): Likewise.
7854 (__mpn_rshift): Do not use BP_SYM.
7855 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7856 "bp-asm.h".
7857 (PARMS): Do not use macros from bp-asm.h.
7858 (STR): Likewise.
7859 (CHR): Likewise.
7860 (strchr): Likewise. Do not use BP_SYM.
7861 (index): Do not use BP_SYM in weak_alias.
7862 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7863 "bp-asm.h".
7864 (PARMS): Do not use macros from bp-asm.h.
7865 (DEST): Likewise.
7866 (SRC): Likewise.
7867 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7868 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7869 "bp-asm.h".
7870 (PARMS): Do not use macros from bp-asm.h.
7871 (strlen): Do not use BP_SYM.
7872 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7873 "bp-asm.h".
7874 (PARMS): Do not use macros from bp-asm.h.
7875 (S1): Likewise.
7876 (S2): Likewise.
7877 (SIZE): Likewise.
7878 (__mpn_sub_n): Do not use BP_SYM.
7879 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7880 "bp-asm.h".
7881 (PARMS): Do not use macros from bp-asm.h.
7882 (S1): Likewise.
7883 (SIZE): Likewise.
7884 (__mpn_submul_1): Do not use BP_SYM.
7885 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7886 "bp-asm.h".
7887 (PARMS): Do not use macros from bp-asm.h.
7888 (S1): Likewise.
7889 (S2): Likewise.
7890 (SIZE): Likewise.
7891 (__mpn_add_n): Do not use BP_SYM.
7892 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7893 weak_alias.
7894 (bzero): Likewise.
7895 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7896 "bp-asm.h".
7897 (PARMS): Do not use macros from bp-asm.h.
7898 (BLK2): Likewise.
7899 (LEN): Likewise.
7900 (memcmp): Do not use BP_SYM.
7901 (bcmp): Do not use BP_SYM in weak_alias.
7902 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7903 "bp-asm.h".
7904 (PARMS): Do not use macros from bp-asm.h.
7905 (DEST): Likewise.
7906 (SRC): Likewise.
7907 (LEN): Likewise.
7908 (memcpy): Likewise. Do not use BP_SYM.
7909 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7910 "bp-asm.h".
7911 (PARMS): Do not use macros from bp-asm.h.
7912 (DEST): Likewise.
7913 (SRC): Likewise.
7914 (LEN): Likewise.
7915 (memmove): Likewise. Do not use BP_SYM.
7916 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7917 "bp-asm.h".
7918 (PARMS): Do not use macros from bp-asm.h.
7919 (DEST): Likewise.
7920 (SRC): Likewise.
7921 (LEN): Likewise.
7922 (__mempcpy): Likewise. Do not use BP_SYM.
7923 (mempcpy): Do not use BP_SYM in weak_alias.
7924 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7925 "bp-asm.h".
7926 (PARMS): Do not use macros from bp-asm.h.
7927 (DEST): Likewise.
7928 (LEN): Likewise.
7929 [!BZERO_P] (CHR): Likewise.
7930 (memset): Likewise. Do not use BP_SYM.
7931 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7932 "bp-asm.h".
7933 (PARMS): Do not use macros from bp-asm.h.
7934 (STR2): Likewise.
7935 (strcmp): Do not use BP_SYM.
7936 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7937 "bp-asm.h".
7938 (PARMS): Do not use macros from bp-asm.h.
7939 (STR): Likewise.
7940 (DELIM): Likewise.
7941 [USE_AS_STRTOK_R] (SAVE): Likewise.
7942 (FUNCTION): Likewise. Do not use BP_SYM.
7943 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7944 aliases.
7945 (strtok_r): Likewise.
7946 (__GI___strtok_r): Likewise.
7947 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7948 (PARMS): Do not use macros from bp-asm.h.
7949 (S): Likewise.
7950 (SIZE): Likewise.
7951 (__mpn_lshift): Do not use BP_SYM.
7952 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7953 (PARMS): Do not use macros from bp-asm.h.
7954 (STR): Likewise.
7955 (CHR): Likewise.
7956 (__memchr): Do not use BP_SYM.
7957 (memchr): Do not use BP_SYM in weak_alias.
7958 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7959 (PARMS): Do not use macros from bp-asm.h.
7960 (BLK2): Likewise.
7961 (LEN): Likewise.
7962 (memcmp): Do not use BP_SYM.
7963 (bcmp): Do not use BP_SYM in weak_alias.
7964 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7965 (PARMS): Do not use macros from bp-asm.h.
7966 (S1): Likewise.
7967 (SIZE): Likewise.
7968 (__mpn_mul_1): Do not use BP_SYM.
7969 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7970 "bp-asm.h".
7971 (PARMS): Do not use macros from bp-asm.h.
7972 (STR): Likewise.
7973 (CHR): Likewise.
7974 (__rawmemchr): Do not use BP_SYM.
7975 (rawmemchr): Do not use BP_SYM in weak_alias.
7976 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7977 (PARMS): Do not use macros from bp-asm.h.
7978 (S): Likewise.
7979 (SIZE): Likewise.
7980 (__mpn_rshift): Do not use BP_SYM.
7981 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7982 (PARMS): Do not use macros from bp-asm.h.
7983 (SIGMSK): Likewise.
7984 (__sigsetjmp): Likewise. Do not use BP_SYM.
7985 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7986 (_start): Do not use BP_SYM.
7987 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7988 (PARMS): Do not use macros from bp-asm.h.
7989 (DEST): Likewise.
7990 (SRC): Likewise.
7991 (__stpcpy): Likewise. Do not use BP_SYM.
7992 (stpcpy): Do not use BP_SYM in weak_alias.
7993 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7994 "bp-asm.h".
7995 (PARMS): Do not use macros from bp-asm.h.
7996 (DEST): Likewise.
7997 (SRC): Likewise.
7998 (LEN): Likewise.
7999 (__stpncpy): Likewise. Do not use BP_SYM.
8000 (stpncpy): Do not use BP_SYM in weak_alias.
8001 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8002 (PARMS): Do not use macros from bp-asm.h.
8003 (STR): Likewise.
8004 (CHR): Likewise.
8005 (strchr): Likewise. Do not use BP_SYM.
8006 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8007 "bp-asm.h".
8008 (PARMS): Do not use macros from bp-asm.h.
8009 (STR): Likewise.
8010 (CHR): Likewise.
8011 (__strchrnul): Likewise. Do not use BP_SYM.
8012 (strchrnul): Do not use BP_SYM in weak_alias.
8013 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8014 "bp-asm.h".
8015 (PARMS): Do not use macros from bp-asm.h.
8016 (STOP): Likewise.
8017 (strcspn): Do not use BP_SYM.
8018 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8019 "bp-asm.h".
8020 (PARMS): Do not use macros from bp-asm.h.
8021 (STR): Likewise.
8022 (STOP): Likewise.
8023 (strpbrk): Likewise. Do not use BP_SYM.
8024 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8025 "bp-asm.h".
8026 (PARMS): Do not use macros from bp-asm.h.
8027 (STR): Likewise.
8028 (CHR): Likewise.
8029 (strrchr): Likewise. Do not use BP_SYM.
8030 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8031 (PARMS): Do not use macros from bp-asm.h.
8032 (SKIP): Likewise.
8033 (strspn): Do not use BP_SYM.
8034 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8035 (PARMS): Do not use macros from bp-asm.h.
8036 (STR): Likewise.
8037 (DELIM): Likewise.
8038 (SAVE): Likewise.
8039 (FUNCTION): Likewise. Do not use BP_SYM.
8040 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8041 aliases.
8042 (strtok_r): Likewise.
8043 (__GI___strtok_r): Likewise.
8044 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8045 (PARMS): Do not use macros from bp-asm.h.
8046 (S1): Likewise.
8047 (S2): Likewise.
8048 (SIZE): Likewise.
8049 (__mpn_sub_n): Do not use BP_SYM.
8050 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8051 "bp-asm.h".
8052 (PARMS): Do not use macros from bp-asm.h.
8053 (S1): Likewise.
8054 (SIZE): Likewise.
8055 (__mpn_submul_1): Do not use BP_SYM.
8056 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8057 <bp-sym.h>.
8058 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8059 and <bp-asm.h>.
8060 (PARMS): Do not use macros from bp-asm.h.
8061 (FLAGS): Likewise.
8062 (PTID): Likewise.
8063 (TLS): Likewise.
8064 (CTID): Likewise.
8065 (__clone): Do not use BP_SYM.
8066 (clone): Do not use BP_SYM in weak_alias.
8067 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8068 and <bp-asm.h>.
8069 (PARMS): Do not use macros from bp-asm.h.
8070 (LEN): Likewise.
8071 (__mmap64): Do not use BP_SYM.
8072 (mmap64): Do not use BP_SYM in weak_alias.
8073 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8074 <bp-sym.h> and <bp-asm.h>.
8075 (PARMS): Do not use macros from bp-asm.h.
8076 (__posix_fadvise64_l64): Do not use BP_SYM.
8077 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8078 (PARMS): Do not use macros from bp-asm.h.
8079 (NSOPS): Likewise.
8080 (semtimedop): Do not use BP_SYM.
8081 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8082 and <bp-asm.h>.
8083
582a3cff
AM
80842013-02-21 Allan McRae <allan@archlinux.org>
8085
8086 * manual/message.texi (Charset conversion in gettext):
8087 Move @end statement to beginning of line.
8088
bab8a695
SP
80892013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8090
80945231
SP
8091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8092 static.
8093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8094 Likewise.
8095
bab8a695
SP
8096 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8097 (denorm): Likewise.
8098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8100
e21d7aa7
AK
81012013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8102
8103 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8104 tail-call to the resolved function if pltexit isn't needed.
8105
4c7a4263
SP
81062013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8107
8108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8109 or Y being zero as being unlikely.
8110 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8111 Likewise.
8112
41f49342
CD
81132013-02-20 Carlos O'Donell <carlos@redhat.com>
8114
8115 * manual/nss.texi (System Databases and Name Service Switch):
8116 Remove frobnicate @pxref.
8117
50022a93
TS
81182013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8119
8120 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8121 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8122
08cbd996
PM
81232013-02-20 Petr Machata <pmachata@redhat.com>
8124
8125 * elf/elf.h (R_ARM_TARGET1): New macro.
8126 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8127 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8128 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8129 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8130 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8131 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8132 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8133 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8134 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8135 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8136 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8137 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8138 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8139 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8140 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8141 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8142 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8143 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8144 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8145 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8146 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8147 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8148 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8149 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8150 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8151 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8152 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8153 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8154 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8155 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8156 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8157 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8158 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8159 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8160 (R_ARM_THM_GOT_BREL12): Likewise.
8161 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8162 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8163 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8164 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8165 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8166 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8167 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8168 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8169 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8170
c7b275d6
TS
81712013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8172
8173 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8174 __attribute_used__ to __attribute__ ((unused)).
8175
20cd7fb3
SP
81762013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8177
8178 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8179 powerpc mpa.c.
8180 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8181 comment formatting.
8182 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8183
92945b52
JM
81842013-02-19 Joseph Myers <joseph@codesourcery.com>
8185
8186 [BZ #13550]
8187 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8188 Remove macro.
8189 (ENTER): Remove both macro definitions.
8190 (LEAVE): Likewise.
8191 (CHECK_BOUNDS_LOW): Likewise.
8192 (CHECK_BOUNDS_HIGH): Likewise.
8193 (CHECK_BOUNDS_BOTH): Likewise.
8194 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8195 (RETURN_BOUNDED_POINTER): Likewise.
8196 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8197 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8198 (POP_ERRNO_LOCATION_RETURN): Likewise.
8199 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8200 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8201 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8202 macros.
8203 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8204 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8205 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8206 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8207 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8208 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8209 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8210 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8211 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8212 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8213 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8214 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8215 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8216 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8217 removed macros.
8218 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8219 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8220 macros.
8221 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8222 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8223 * sysdeps/i386/i586/memset.S (memset): Likewise.
8224 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8225 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8226 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8227 macros.
8228 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8229 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8230 Change uses of L(2) to L(out).
8231 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8232 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8233 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8234 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8235 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8236 removed macros.
8237 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8238 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8239 macros.
8240 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8241 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8242 (RETURN): Do not use macro LEAVE.
8243 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8244 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8245 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8246 * sysdeps/i386/i686/memset.S (memset): Likewise.
8247 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8248 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8249 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8250 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8251 Likewise.
8252 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8253 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8254 L(1_2) and L(1_3) into L(1).
8255 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8256 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8257 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8258 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8259 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8260 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8261 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8262 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8263 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8264 macros.
8265 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8266 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8267 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8268 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8269 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8270 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8271 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8272 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8273 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8274 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8275 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8276 * sysdeps/i386/strspn.S (strspn): Likewise.
8277 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8278 conditional code.
8279 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8280 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8281 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8282 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8283 L(1_3) into L(1_1).
8284 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8285 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8286 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8287 macros.
8288 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8289
2389741a
JJ
82902013-02-19 Jakub Jelinek <jakub@redhat.com>
8291
8292 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8293 macro.
8294
2016b3cd
SP
82952013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8296
e4f22324
SP
8297 * math/atest-exp.c (exp_mpn): Remove ROUND.
8298 * math/atest-exp2.c (exp_mpn): Likewise.
8299 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8300
2016b3cd
SP
8301 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8302 * stdlib/tst-tls-atexit-lib.c: Likewise.
8303 * stdlib/tst-tls-atexit.c: Likewise.
8304
4be9b544
MF
83052013-02-18 Mike Frysinger <vapier@gentoo.org>
8306
8307 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8308 and __attribute_alloc_size__.
8309
2f62b9ee
MF
83102013-02-18 Mike Frysinger <vapier@gentoo.org>
8311
8312 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8313 __attribute_alloc_size__.
8314 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8315 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8316
6ff444c4
MF
83172013-02-18 Mike Frysinger <vapier@gentoo.org>
8318
8319 * include/programs/xmalloc.h: New file.
8320 * catgets/gencat.c: Include it.
8321 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8322 * elf/pldd.c: Likewise.
8323 * iconv/iconv_charmap.c: Likewise.
8324 * iconv/iconvconfig.c: Likewise.
8325 * iconv/strtab.c: Likewise.
8326 * locale/programs/locale.c: Likewise.
8327 * locale/programs/localedef.h: Likewise.
8328 * locale/programs/simple-hash.c: Likewise.
8329 * nscd/nscd.h: Likewise.
8330 * nss/makedb.c: Likewise.
8331 * sysdeps/generic/ldconfig.h: Likewise.
8332
be179c8a
SP
83332013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8334
ba384f6e
SP
8335 * Versions.def: Add GLIBC_2.18.
8336 * include/link.h (struct link_map): New member l_tls_dtor_count.
8337 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8338 (__call_tls_dtors): Likewise.
8339 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8340 __cxa_thread_atexit_impl.
8341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8342 Likewise.
8343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8344 Likewise.
8345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8346 Likewise.
8347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8348 Likewise.
8349 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8351 Likewise.
8352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8353 Likewise.
8354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8356 Likewise.
8357 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8358 (tests): Add test case tst-tls-atexit.
8359 (modules-names): Add shared library for tst-tls-atexit.
85891aca 8360 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
8361 (GLIBC_PRIVATE): Add __call_tls_dtors.
8362 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8363 for libstdc++.
8364 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8365 * stdlib/tst-tls-atexit.c: New test case.
8366 * stdlib/tst-tls-atexit-lib.c: New test case.
8367
ffaa74cf 8368 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 8369
be179c8a
SP
8370 * elf/Versions (ld): Add _dl_find_dso_for_object.
8371 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8372 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8373 (dl_open_worker): Use _dl_find_dso_for_object.
8374 * elf/dl-sym.c (do_sym): Likewise.
8375 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8376
f78b5caa
AK
83772013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8378
8379 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8380 Syntactic changes only.
8381 (_dl_runtime_profile): Do a tail-call to the resolved function.
8382
29691210
JM
83832013-02-17 Joseph Myers <joseph@codesourcery.com>
8384
8385 [BZ #13550]
8386 * sysdeps/x86_64/bp-asm.h: Remove file.
8387 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8388 <bp-sym.h> and <bp-asm.h>.
8389 (__clone): Do not use BP_SYM.
8390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8391 <bp-sym.h> and <bp-asm.h>.
8392 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8393 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8394 "bp-asm.h".
8395 (_setjmp): Do not use BP_SYM.
8396 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8397 "bp-asm.h".
8398 (setjmp): Do not use BP_SYM.
8399 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8400 libc_hidden_def.
8401 (mempcpy): Do not use BP_SYM in weak_alias.
8402 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8403 "bp-asm.h".
8404 (strchr): Do not use BP_SYM.
8405 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8406 "bp-asm.h".
8407 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8408 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8409 (_start): Do not use BP_SYM.
8410 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8411 "bp-asm.h".
8412 (strcat): Do not use BP_SYM.
8413 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8414 "bp-asm.h".
8415 (STRCMP): Do not use BP_SYM.
8416 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8417 "bp-asm.h".
8418 (STRCPY): Do not use BP_SYM.
8419 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8420 "bp-asm.h".
8421 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8422 "bp-asm.h".
8423 (FUNCTION): Do not use BP_SYM.
8424 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8425 weak_alias.
8426 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8427
f238fd19
AJ
84282013-02-17 Andreas Jaeger <aj@suse.de>
8429
8430 * time/Versions: Sort entries.
8431 * string/Versions: Likewise.
8432 * resolv/Versions: Likewise.
8433 * posix/Versions: Likewise.
8434 * iconv/Versions: Likewise.
8435 * elf/Versions: Likewise.
8436 * wcsmbs/Versions: Likewise.
8437
bd07f23c 84382013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8439
22af19f9
SP
8440 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8441 loop termination condition.
8442
4709fe76
SP
8443 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8444 variable to calculate EZ.
8445 (__sqr): Likewise.
2d0e0f29
SP
8446
8447 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8448 the lower precision input.
8449
daaa7713
JM
84502013-02-15 Joseph Myers <joseph@codesourcery.com>
8451
8452 [BZ #13550]
8453 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8454 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8455 (run-via-rtld-prefix): Do not handle %-bp tests.
8456 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8457 (all-object-suffixes): Remove .ob.
8458 (bppfx): Remove variable.
8459 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8460 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8461 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8462 [$(build-bounded) = yes] (libtype.ob): Likewise.
8463 * Makerules (elide-routines.ob): Remove variable.
8464 (do-tests-clean): Do not handle *-bp.out.
8465 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8466 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8467 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8468 (tests): Do not include $(tests-bp.out).
8469 (xtests): Do not include $(xtests-bp.out).
8470 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8471 [$(build-bounded) = yes] ($(addprefix
8472 $(objpfx),$(binaries-bounded))): Remove rule.
8473 ($(objpfx)%-bp.out): Remove rule.
8474 * config.make.in (build-bounded): Remove variable.
8475 * crypt/Makefile [$(build-bounded) = yes]
8476 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8477 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8478 append to variable.
8479 [$(build-bounded) = yes] (install-lib): Likewise.
8480 [$(build-bounded) = yes] (generated): Likewise.
8481 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8482 Remove rule.
8483 * intl/Makefile [$(build-bounded) = yes]
8484 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8485 * math/Makefile [$(build-bounded) = yes]
8486 ($(tests:%=$(objpfx)%-bp): Likewise.
8487 * misc/Makefile [$(build-bounded) = yes]
8488 ($(objpfx)tst-tsearch-bp): Likewise.
8489 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8490 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8491 Remove dependency.
8492 * string/Makefile (o-objects.ob): Remove variable.
8493 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8494 (CFLAGS-.ob): Remove variable.
8495 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8496 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8497 both definitions of variable.
8498 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8499 (ASFLAGS-.ob): Remove variable.
8500
e97ed6dd
JM
85012013-02-14 Joseph Myers <joseph@codesourcery.com>
8502
2bdd4ca6
JM
8503 [BZ #13550]
8504 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8505 Remove __BOUNDED_POINTERS__ from condition.
8506 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8507 * string/bits/string2.h [!__NO_STRING_INLINES &&
8508 !__BOUNDED_POINTERS__]: Likewise.
8509 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8510 Likewise.
8511 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8512 Remove conditional code.
8513 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8514 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8515 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8516 condition.
8517
e97ed6dd
JM
8518 [BZ #13550]
8519 * csu/libc-start.c: Do not include <bp-sym.h>.
8520 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8521 * elf/dl-open.c: Do not include <bp-sym.h>.
8522 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8523 * math/fegetenv.c: Do not include <bp-sym.h>.
8524 (fegetenv): Do not use BP_SYM in versioned symbols.
8525 * nptl/sysdeps/pthread/bits/libc-lockP.h
8526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8527 <bp-sym.h>.
8528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8529 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8531 (__pthread_mutex_destroy): Likewise.
8532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8533 (__pthread_mutex_lock): Likewise.
8534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8535 (__pthread_mutex_trylock): Likewise.
8536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8537 (__pthread_mutex_unlock): Likewise.
8538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8539 (__pthread_mutexattr_init): Likewise.
8540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8541 (__pthread_mutexattr_destroy): Likewise.
8542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8543 (__pthread_mutexattr_settype): Likewise.
8544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8545 (__pthread_rwlock_init): Likewise.
8546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8547 (__pthread_rwlock_destroy): Likewise.
8548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8549 (__pthread_rwlock_rdlock): Likewise.
8550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8551 (__pthread_rwlock_tryrdlock): Likewise.
8552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8553 (__pthread_rwlock_wrlock): Likewise.
8554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8555 (__pthread_rwlock_trywrlock): Likewise.
8556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8557 (__pthread_rwlock_unlock): Likewise.
8558 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8559 (__pthread_key_create): Likewise.
8560 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8561 (__pthread_setspecific): Likewise.
8562 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8563 (__pthread_getspecific): Likewise.
8564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8565 Likewise.
8566 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8567 (_pthread_cleanup_push_defer): Likewise.
8568 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8569 (_pthread_cleanup_pop_restore): Likewise.
8570 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8571 (pthread_setcancelstate): Likewise.
8572 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8573 <bp-sym.h>.
8574 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8575 (memchr): Do not use BP_SYM in weak_alias.
8576 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8577 (fegetenv): Do not use BP_SYM in versioned symbols.
8578 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8579 (fesetenv): Do not use BP_SYM in versioned symbols.
8580 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8581 (feupdateenv): Do not use BP_SYM in versioned symbols.
8582 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8583 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8584 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8585 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8586 (open64): Do not use BP_SYM in weak_alias.
8587 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8588 (fegetenv): Do not use BP_SYM in versioned symbols.
8589 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8590 (fesetenv): Do not use BP_SYM in versioned symbols.
8591 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8592 (feupdateenv): Do not use BP_SYM in versioned symbols.
8593 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8594 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8595 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8596 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8597 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8598 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8599 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8600 <bp-sym.h>.
8601 (__libc_start_main): Do not use BP_SYM.
8602
d6752ccd
SP
86032013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8604
cb57ce60
SP
8605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8606 redundant return line.
8607 (norm): Likewise.
8608 (denorm): Likewise.
8609 (dbl_mp): Likewise.
8610 (sub_magnitudes): Likewise.
8611 (__add): Likewise.
8612 (__sub): Likewise.
8613 (__mul): Likewise.
8614 (__inv): Likewise.
8615 (__dvd): Likewise.
8616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8617 (norm): Likewise.
8618 (denorm): Likewise.
8619 (dbl_mp): Likewise.
8620 (sub_magnitudes): Likewise.
8621 (__add): Likewise.
8622 (__sub): Likewise.
8623 (__mul): Likewise.
8624 (__inv): Likewise.
8625 (__dvd): Likewise.
8626
f414520d
SP
8627 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8628 instead of __mul.
8629 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8630 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8631 (cc32): Likewise.
8632
d6752ccd
SP
8633 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8634 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8635 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8636 of __mul for squares.
8637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8638 function
8639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8640 Likewise.
8641 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8642 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8643
70d9946a
JM
86442013-02-13 Joseph Myers <joseph@codesourcery.com>
8645
8646 [BZ #13550]
8647 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8648 code.
8649 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8650 prototype or function definition. Rename ubp_* variables and
8651 parameters. Remove argv definitions conditional on
8652 [__BOUNDED_POINTERS__].
8653 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8654 * elf/dl-runtime.c (_dl_fixup): Likewise.
8655 * include/set-hooks.h (RUN_HOOK): Likewise.
8656 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8657 definition.
8658 * string/strcpy.c (strcpy): Do not use __unbounded.
8659 * sysdeps/generic/frame.h (struct layout): Likewise.
8660 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8661 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8662 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8663 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8664 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8665 (__backtrace): Likewise.
8666 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8667 use __ptrvalue.
8668 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8669 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8670 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8671 Likewise.
8672 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8673 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8674 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8675 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8676 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8677 Do not use __unbounded.
8678 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8679 Rename __unboundedrlimits parameter to rlimits in prototype.
8680 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8681 Do not use __unbounded.
8682 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8683 not use __ptrvalue.
8684 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8685 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8686 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8687 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8688 __ptrvalue or __unbounded.
8689 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8690 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8691 use __unbounded.
8692 (__new_msgctl): Do not use __ptrvalue.
8693 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8694 __unbounded.
8695 (__libc_msgrcv): Do not use __ptrvalue.
8696 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8697 startup_info): Do not use __unbounded.
8698 (__libc_start_main): Likewise. Rename ubp_* variables and
8699 parameters. Remove argv definitions conditional on
8700 [__BOUNDED_POINTERS__].
8701 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8702 __ptrvalue.
8703 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8704 use __unbounded.
8705 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8706 or __ptrvalue.
8707 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8708 use __unbounded.
8709 (__new_shmctl): Do not use __ptrvalue.
8710 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8711 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8712 Likewise.
8713 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8714 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8715 (__libc_sigaction): Likewise.
8716 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8717 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8718 Likewise.
8719 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8720
cc7834d6
OB
87212013-02-13 Ondřej Bílka <neleai@seznam.cz>
8722
ffb1ec7b 8723 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8724
8725 * string/mempcpy.c: Implement by calling memcpy.
8726
bdf02814
SP
87272013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8728
c2af38aa
SP
8729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8730
4e92d59e
SP
8731 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8732 evaluation.
8733
909279a5
SP
8734 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8735 values in the mantissa.
8736
bdf02814
SP
8737 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8738 minimize writes to Z.
8739 (sub_magnitudes): Simplify code a bit.
8740
cd525923
RM
87412013-02-12 Roland McGrath <roland@hack.frob.com>
8742
8743 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8744 from the message. The linker prefixes all warnings with that already.
8745
7e2f0d2d
AS
87462013-02-12 Andreas Schwab <schwab@suse.de>
8747
a445af0b
AS
8748 [BZ #15078]
8749 * posix/regexec.c (extend_buffers): Add parameter min_len.
8750 (check_matching): Pass minimum needed length.
8751 (clean_state_log_if_needed): Likewise.
8752 (get_subexp): Likewise.
8753 * posix/Makefile (tests): Add bug-regex34.
8754 (bug-regex34-ENV): Define.
8755 * posix/bug-regex34.c: New file.
8756
7e2f0d2d
AS
8757 [BZ #11561]
8758 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8759 elements compare against the byte sequence of it, not its name.
8760 * posix/Makefile (tests): Add bug-regex35.
8761 (bug-regex35-ENV): Define.
8762 * posix/bug-regex35.c: New file.
8763
a175b684
TV
87642013-02-11 Tom de Vries <tom@codesourcery.com>
8765
8766 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8767 comment.
8768 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8769 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8770 (CHECK_EOL): Add undef.
8771
310998fe 87722013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8773
8774 * bits/stdlib-bsearch.h: New file.
8775 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8776 * stdlib/stdlib.h: Likewise.
41eda41d 8777
8ded91fb
RM
87782013-02-11 Roland McGrath <roland@hack.frob.com>
8779
8780 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8781 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8782 declaration.
8783 * manual/search.texi (Array Search Function): Add missing const in
8784 lfind prototype.
8785 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8786 declaration to use rlim_t.
8787 (Basic Scheduling Functions): Remove erroneous const from
8788 sched_getparam prototype. Remove erroneous * from
8789 sched_get_priority_max and sched_get_priority_min prototypes.
8790 (Resource Usage): Fix summary @comment on vtimes to refer to
8791 sys/vtimes.h rather than vtimes.h.
8792 Add missing *s in vtimes prototype.
8793 (Limits on Resources): Fix ulimit prototype to return long int.
8794 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8795 prototypes to use long int rather than double.
8796 (BSD Random): Fix initstate and setstate to use char *, not void *.
8797 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8798 prototype to make second argument 'struct aiocb64 *const[]'.
8799 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8800 (Status of AIO Operations): Remove erroneous const in aio_return and
8801 aio_return64 prototypes.
8802 (Synchronizing I/O): Fix sync prototype to return void.
8803 * manual/startup.texi (Suboptions): Remove an erroneous const in
8804 getsubopt prototype.
8805 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8806 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8807 use size_t rather than int.
8808 (Scanning All Users): Likewise for getpwent_r.
8809 (Setting Groups): Add missing const to setgroups prototype.
8810 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8811 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8812 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8813 'const void *' rather than 'const char *'.
8814 (Host Address Functions): Likewise for inet_ntop.
8815 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8816 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8817 ssize_t for return value.
8818 (Sending Data): Likewise for send, sendto, sendmsg.
8819 (Socket Option Functions): Add a missing const in setsockopt prototype.
8820 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8821 use wchar_t for the argument.
8822 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8823 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8824 take no arguments.
8825 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8826 double/float/long double for second argument.
8827 Fix return types of significand, significandf, significandl.
8828 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8829 argument in fchmod prototype.
8830 (File Owner): Use uid_t and gid_t in fchown prototype.
8831 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8832 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8833 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8834 use 'const struct dirent **' as argument types to CMP function pointer
8835 argument.
8836 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8837 (File Times): Fix summary magic @comment for struct utimbuf and utime
8838 to refer to utime.h, not time.h.
8839 * manual/string.texi (Argz Functions): Add missing const in
8840 argz_extract and argz_next prototypes.
8841 (Finding Tokens in a String): Likewise for basename.
8842 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8843 (Copying and Concatenation): Fix typo in wmemmove prototype.
8844 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8845 (Signal Stack): Remove erroneous const in sigstack prototype.
8846 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8847 prototype.
8848 (Simple Calendar Time): Likewise for stime.
8849 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8850 prototype.
8851 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8852 say sys/sysctl.h instead.
8853 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8854 and vsyslog prototypes.
8855
fe77fe6d
TV
88562013-02-11 Tom de Vries <tom@codesourcery.com>
8857
8858 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8859 Remove.
8860
3a09b620
RM
88612013-02-11 Roland McGrath <roland@hack.frob.com>
8862
8863 * misc/sys/mman.h: Fix typo in mremap comment.
8864
550a0b89
RM
88652013-02-08 Roland McGrath <roland@hack.frob.com>
8866
8867 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8868 the '\0' terminator.
8869
a2da1673
JM
88702013-02-08 Joseph Myers <joseph@codesourcery.com>
8871
8872 [BZ #13550]
8873 * debug/segfault.c: Don't include <bp-checks.h>.
8874 * sysdeps/generic/bp-checks.h: Remove file.
8875 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8876 (__GETDENTS): Don't use CHECK_N.
8877 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8878 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8879 (__getgroups): Don't use CHECK_N.
8880 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8881 (setgroups): Don't use CHECK_N.
8882 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8883 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8884 (__libc_msgrcv): Don't use CHECK_N.
8885 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8886 (__libc_msgsnd): Don't use CHECK_N.
8887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8888 <bp-checks.h>.
8889 (__libc_pread): Don't use CHECK_N.
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8891 include <bp-checks.h>.
8892 (__libc_pread64): Don't use CHECK_N.
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8894 include <bp-checks.h>.
8895 (__libc_pwrite): Don't use CHECK_N.
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8897 include <bp-checks.h>.
8898 (__libc_pwrite64): Don't use CHECK_N.
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8900 <bp-checks.h>.
8901 (__libc_pread): Don't use CHECK_N.
8902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8903 include <bp-checks.h>.
8904 (__libc_pread64): Don't use CHECK_N.
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8906 include <bp-checks.h>.
8907 (__libc_pwrite): Don't use CHECK_N.
8908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8909 include <bp-checks.h>.
8910 (__libc_pwrite64): Don't use CHECK_N.
8911 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8912 (do_pread): Don't use CHECK_N.
8913 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8914 (do_pread64): Don't use CHECK_N.
8915 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8916 (do_pwrite): Don't use CHECK_N.
8917 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8918 (do_pwrite64): Don't use CHECK_N.
8919 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8920 (__libc_readv): Don't use CHECK_N.
8921 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8922 (semop): Don't use CHECK_N.
8923 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8924 <bp-checks.h>.
8925 (semtimedop): Don't use CHECK_N.
8926 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8927 (__libc_pread): Don't use CHECK_N.
8928 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8929 <bp-checks.h>.
8930 (__libc_pread64): Don't use CHECK_N.
8931 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8932 <bp-checks.h>.
8933 (__libc_pwrite): Don't use CHECK_N.
8934 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8935 <bp-checks.h>.
8936 (__libc_pwrite64): Don't use CHECK_N.
8937 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8938 <bp-checks.h>.
8939 (__libc_msgrcv): Don't use CHECK_N.
8940 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8941 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8942 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8943 (__libc_writev): Don't use CHECK_N.
8944
b84660a8
RM
89452013-02-08 Roland McGrath <roland@hack.frob.com>
8946
7f3e75f8
RM
8947 * string/strcpy.c: Removed unused variable.
8948
b84660a8
RM
8949 * Makeconfig (+sysdep-includes): Define with := rather than =.
8950 Use an existing include/ subdir of each sysdeps dir before it.
8951
471514d3
CD
89522013-02-08 Carlos O'Donell <carlos@redhat.com>
8953
8954 * nscd/connection.c (register_traced_file): Comment function.
8955 [HAVE_INOTIFY] (union __inev): Define.
8956 [HAVE_INOTIFY] (inotify_check_files): New function.
8957 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8958 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8959 clear_db_cache.
8960 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8961
b2d3c3be
CD
89622013-02-08 Carlos O'Donell <carlos@redhat.com>
8963
8964 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8965 loaded if not already and that a failure is permanent.
8966
b39949d2
CD
89672013-02-08 Carlos O'Donell <carlos@redhat.com>
8968
ddacd1db 8969 [BZ #15006]
b39949d2
CD
8970 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8971 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8972
b2c9eff4
JM
89732013-02-08 Joseph Myers <joseph@codesourcery.com>
8974
f3aae3f3
JM
8975 [BZ #13550]
8976 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8977 (CHECK_1_NULL_OK): Likewise.
8978 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8979 (__fxstat): Do not use CHECK_1.
8980 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8981 <bp-checks.h>.
8982 (___fxstat64): Do not use CHECK_1.
8983 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8984 <bp-checks.h>.
8985 (__fxstatat): Do not use CHECK_1.
8986 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8987 <bp-checks.h>.
8988 (__fxstatat64): Do not use CHECK_1.
8989 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8990 <bp-checks.h>.
8991 (__fxstat): Do not use CHECK_1.
8992 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8993 <bp-checks.h>.
8994 (__fxstatat): Do not use CHECK_1.
8995 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8996 <bp-checks.h>.
8997 (__getresgid): Do not use CHECK_1.
8998 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8999 <bp-checks.h>.
9000 (__getresuid): Do not use CHECK_1.
9001 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9002 <bp-checks.h>.
9003 (__lxstat): Do not use CHECK_1.
9004 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9005 <bp-checks.h>.
9006 (__old_msgctl): Do not use CHECK_1.
9007 (__new_msgctl): Likewise.
9008 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9009 <bp-checks.h>.
9010 (__new_setrlimit): Do not use CHECK_1.
9011 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9012 <bp-checks.h>.
9013 (__old_shmctl): Do not use CHECK_1.
9014 (__new_shmctl): Likewise.
9015 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9016 <bp-checks.h>.
9017 (__xstat): Do not use CHECK_1.
9018 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9019 (__lxstat): Do not use CHECK_1.
9020 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9021 <bp-checks.h>.
9022 (___lxstat64): Do not use CHECK_1.
9023 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9024 (__old_msgctl): Do not use CHECK_1.
9025 (__new_msgctl): Likewise.
9026 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9027 <bp-checks.h>.
9028 (__gettimeofday): Do not use CHECK_1.
9029 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9030 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9031 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9032 <bp-checks.h>.
9033 (__gettimeofday): Do not use CHECK_1.
9034 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9035 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9036 (__new_shmctl): Do not use CHECK_1.
9037 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9038 <bp-checks.h>.
9039 (do_sigtimedwait): Do not use CHECK_1.
9040 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9041 <bp-checks.h>.
9042 (do_sigwaitinfo): Do not use CHECK_1.
9043 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9044 <bp-checks.h>.
9045 (msgctl): Do not use CHECK_1.
9046 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9047 <bp-checks.h>.
9048 (shmctl): Do not use CHECK_1.
9049 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9050 (ustat): Do not use CHECK_1.
9051 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9052 <bp-checks.h>.
9053 (__fxstat): Do not use CHECK_1.
9054 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9055 <bp-checks.h>.
9056 (__fxstatat): Do not use CHECK_1.
9057 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9058 <bp-checks.h>.
9059 (__lxstat): Do not use CHECK_1.
9060 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9061 <bp-checks.h>.
9062 (__xstat): Do not use CHECK_1.
9063 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9064 (__xstat): Do not use CHECK_1.
9065 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9066 (___xstat64): Do not use CHECK_1.
9067
b2c9eff4
JM
9068 [BZ #13550]
9069 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9070 definitions.
9071 (CHECK_BOUNDS_HIGH): Likewise.
9072 * string/strcpy.c: Do not include <bp-checks.h>.
9073 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9074
f1d70dad
RM
90752013-02-07 Roland McGrath <roland@hack.frob.com>
9076
9077 * nscd/nscd-client.h (__nscd_drop_map_ref):
9078 Add __attribute__ ((unused)).
9079 * nis/nss-nisplus.h (niserr2nss): Likewise.
9080
9081 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9082 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9083
9084 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9085 Remove inline keyword.
9086 * include/rounding-mode.h (round_away): Likewise.
9087 * libio/wfileops.c (adjust_wide_data): Likewise.
9088 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9089 (__m128i_strloadu_tolower): Likewise.
9090 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9091 (__m128i_strloadu_tolower): Likewise.
9092 * time/mktime.c (ydhms_diff): Likewise.
9093 * locale/elem-hash.h (elem_hash): Likewise.
9094 * locale/setlocale.c (setdata): Likewise.
9095 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9096 (re_string_wchar_at): Likewise.
9097 (bitset_not, bitset_merge, bitset_mask): Likewise.
9098 [!(__GNUC__ > 3)] (inline): Remove macro.
9099 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9100 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9101 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9102 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9103 * string/memcmp.c (memcmp_bytes): Likewise.
9104 * locale/programs/locarchive.c (compute_hashval): Likewise.
9105 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9106 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9107 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9108 * nss/getent.c (print_rpc, print_protocols): Likewise.
9109 (print_passwd, print_group, print_aliases): Likewise.
9110 * nis/nss-nisplus.h (niserr2nss): Likewise.
9111 * nscd/connections.c (restart_p): Likewise.
9112 Change return type to bool.
9113
eab55bfb
RM
91142013-02-05 Roland McGrath <roland@hack.frob.com>
9115
7bd642f5
RM
9116 * Makeconfig (all-Depend-files): Add existing
9117 $(sorted-subdirs:=/Depend) files.
9118 (all-subdirs): Remove nss.
9119 * sysdeps/unix/inet/Subdirs: Add it here instead.
9120 * hesiod/Depend: New file.
9121
573c29b2
RM
9122 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9123 instead of calling alloca.
9124
b2e25af0
RM
9125 * io/lseek.c (__lseek): Rename to __libc_lseek.
9126 Define __lseek as an alias.
9127
eab55bfb
RM
9128 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9129
9a0d1941
CD
91302013-02-04 Carlos O'Donell <carlos@redhat.com>
9131
9132 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9133 else clause and remove check for non-standard endianness.
9134
b83bbec4
DM
91352013-02-04 David S. Miller <davem@davemloft.net>
9136
9137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9138
6277fdab
JM
91392013-02-04 Joseph Myers <joseph@codesourcery.com>
9140
9141 [BZ #13550]
9142 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9143 (__ubp_memchr): Remove prototype.
9144 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9145 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9146 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9147 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9148 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9149 Remove alias.
9150 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9151 (__ubp_memchr): Likewise.
9152 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9153 (__ubp_memchr): Likewise.
9154 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9155 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9156 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9157 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9158 CHECK_STRING.
9159 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9160 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9161 (__getcwd): Do not use CHECK_STRING.
9162 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9163 <bp-checks.h>.
9164 (__real_chown): Do not use CHECK_STRING.
9165 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9166 <bp-checks.h>.
9167 (fchownat): Do not use CHECK_STRING.
9168 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9169 CHECK_STRING.
9170 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9171 <bp-checks.h>.
9172 (__lchown): Do not use CHECK_STRING.
9173 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9174 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9175 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9176 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9178 include <bp-checks.h>.
9179 (truncate64): Do not use CHECK_STRING.
9180 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9181 <bp-checks.h>.
9182 (__real_chown): Do not use CHECK_STRING.
9183 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9184 <bp-checks.h>.
9185 (__lchown): Do not use CHECK_STRING.
9186 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9187 <bp-checks.h>.
9188 (__chown): Do not use CHECK_STRING.
9189 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9190 <bp-checks.h>.
9191 (truncate64): Do not use CHECK_STRING.
9192 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9193 Likewise.
9194 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9195 (__xmknod): Do not use CHECK_STRING.
9196 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9197 <bp-checks.h>.
9198 (__xmknodat): Do not use CHECK_STRING.
9199 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9200 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9201
903ae060
AS
92022013-02-04 Andreas Schwab <schwab@suse.de>
9203
9204 [BZ #14142]
9205 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9206 * include/netdb.h: Likewise for h_errno.
9207 * elf/tst-stackguard1.c: Include <tls.h>.
9208
542f9466
JK
92092013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9210
9211 * elf/link.h (struct link_map): Extend the l_addr comment.
9212 * include/link.h (struct link_map): Likewise.
9213
e782a927
JM
92142013-02-01 Joseph Myers <joseph@codesourcery.com>
9215
9216 [BZ #13550]
9217 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9218 (BOUNDED_1): Remove macro.
9219 * debug/backtrace.c: Don't include <bp-checks.h>.
9220 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9221 (__backtrace): Likewise.
9222 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9223 <bp-checks.h>.
9224 (__backtrace): Don't use BOUNDED_1.
9225 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9226 <bp-checks.h>.
9227 (__backtrace): Don't use BOUNDED_1.
9228 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9229 (__backtrace): Don't use BOUNDED_1.
9230 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9231 (shmat): Don't use BOUNDED_N.
9232
8cf28c5e
JM
92332013-01-31 Joseph Myers <joseph@codesourcery.com>
9234
3a7ac8a0
JM
9235 [BZ #13550]
9236 * sysdeps/generic/bp-start.h: Remove file.
9237 * csu/libc-start.c: Don't include <bp-start.h>.
9238 (LIBC_START_MAIN): Set up __environ directly instead of using
9239 INIT_ARGV_and_ENVIRON.
9240 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9241 <bp-start.h>.
9242
f3499f95
JM
9243 [BZ #13550]
9244 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9245 definitions.
9246 (CHECK_FCNTL): Likewise.
9247 (CHECK_N_PAGES): Likewise.
9248
32a45bea
JM
9249 [BZ #13550]
9250 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9251 definitions.
9252 (CHECK_SIGSET_NULL_OK): Likewise.
9253 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9254 <bp-checks.h>.
9255 (sigpending): Don't use CHECK_SIGSET.
9256 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9257 <bp-checks.h>.
9258 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9259 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9260 <bp-checks.h>.
9261 (do_sigsuspend): Don't use CHECK_SIGSET.
9262 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9263 use CHECK_SIGSET.
9264 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9265 (do_sigwait): Don't use CHECK_SIGSET.
9266 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9267 use CHECK_SIGSET.
9268 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9269 include <bp-checks.h>.
9270 (sigpending): Don't use CHECK_SIGSET.
9271 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9272 include <bp-checks.h>.
9273 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9274 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9275 <bp-checks.h>.
9276 (sigpending): Don't use CHECK_SIGSET.
9277 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9278 <bp-checks.h>.
9279 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9280
2e8a5c8c
JM
9281 [BZ #13550]
9282 * sysdeps/generic/bp-semctl.h: Remove file.
9283 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9284 <bp-checks.h> and <bp-semctl.h>.
9285 (__old_semctl): Don't use CHECK_SEMCTL.
9286 (__new_semctl): Likewise.
9287 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9288 and <bp-semctl.h>.
9289 (__old_semctl): Don't use CHECK_SEMCTL.
9290 (__new_semctl): Likewise.
9291 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9292 <bp-checks.h> and <bp-semctl.h>.
9293 (__old_semctl): Don't use CHECK_SEMCTL.
9294 (__new_semctl): Likewise.
9295 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9296 <bp-checks.h> and <bp-semctl.h>.
9297 (semctl): Don't use CHECK_SEMCTL.
9298
c2d54929
JM
9299 [BZ #13550]
9300 * Makerules (elide-bp-thunks): Remove variable.
9301 (elide-routines.oS): Don't use $(elide-bp-thunks).
9302 (elide-routines.os): Likewise.
9303 (elide-routines.o): Likewise.
9304 (elide-routines.op): Likewise.
9305 (elide-routines.og): Likewise.
9306 (objects): Don't use $(bp-thunks).
9307 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9308 include.
9309 (common-generated): Do not add s-proto-bp.d.
9310 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9311 (int): Likewise.
9312 (typ): Likewise.
9313 Do not generate makefile rules for bounded-pointer thunks.
9314 * sysdeps/generic/bp-thunks.h: Remove file.
9315 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9316 * sysdeps/unix/s-proto-bp.S: Likewise.
9317
8cf28c5e
JM
9318 [BZ #15062]
9319 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9320 parts of result separately when argument is not close to line from
9321 -i to i and one part of argument is small.
9322 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9323 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9324 * math/libm-test.inc (cacos_test): Add more tests.
9325 (casin_test): Likewise.
9326 (casinh_test): Likewise.
9327 * sysdeps/i386/fpu/libm-test-ulps: Update.
9328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9329
c4e33b8d
DM
93302013-01-31 David S. Miller <davem@davemloft.net>
9331
9332 * po/de.po: Update from translation team.
9333
3b60b421
MK
93342013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9335
9336 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9337
bb931195
TS
93382013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9339
b5a5da23
TS
9340 * configure.in (_AC_PROG_CC_C89): New definition.
9341 * configure: Regenerate.
9342
bb931195
TS
9343 * configure.in (AC_PROG_CPP): New definition.
9344 * configure: Regenerate.
9345
8c53a12c
JM
93462013-01-23 Joseph Myers <joseph@codesourcery.com>
9347
9348 * debug/tst-backtrace.h: New file.
9349 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9350 (ret): Remove variable.
9351 (x): Likewise.
9352 (FAIL): Remove macro.
9353 (NO_INLINE): Likewise.
9354 (fn1): Use match function instead of strstr.
9355 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9356 (ret): Remove variable.
9357 (x): Likewise.
9358 (FAIL): Remove macro.
9359 (NO_INLINE): Likewise.
9360 (fn): Use match function instead of strstr.
9361 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9362 (ret): Remove variable.
9363 (x): Likewise.
9364 (FAIL): Remove macro.
9365 (NO_INLINE): Likewise.
9366 (handle_signal): Use match function instead of strstr.
9367 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9368 (ret): Remove variable.
9369 (x): Likewise.
9370 (FAIL): Remove macro.
9371 (NO_INLINE): Likewise.
9372 (handle_signal): Use match function instead of strstr.
9373
4858fa2a
RM
93742013-01-23 Roland McGrath <roland@hack.frob.com>
9375
9376 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9377
bae8e7f5
DM
93782013-01-23 David S. Miller <davem@davemloft.net>
9379
9380 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9381 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9382 argument of CAS if possible.
9383 * sysdeps/sparc/sparc64/bits/atomic.h
9384 (__arch_compare_and_exchange_val_32_acq): Likewise.
9385 (__arch_compare_and_exchange_val_64_acq): Likewise.
9386
9cbbc4ae
PT
93872013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9388
9389 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9390 * sysdeps/posix/ulimit.c: ... this.
92a601b8 9391 Include <limits.h>.
67b3f58c 9392 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 9393
5655a0b5
AC
93942013-01-23 Adam Conrad <adconrad@0c3.net>
9395
9396 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9397 (LDFLAGS-tst-array5): Likewise.
9398
052aff95
JM
93992013-01-23 Joseph Myers <joseph@codesourcery.com>
9400
9401 [BZ #15036]
9402 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9403 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9404 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9405 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9406
7c1e01aa
DM
94072013-01-21 David S. Miller <davem@davemloft.net>
9408
9409 * sysdeps/sparc/backtrace.c: New file.
9410 * sysdeps/sparc/sparc32/backtrace.h: New file.
9411 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9412 * sysdeps/sparc/sparc64/backtrace.h: New file.
9413 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9414 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9415 -funwind-tables.
9416
ab087e0a
AS
94172013-01-21 Andreas Schwab <schwab@suse.de>
9418
9419 [BZ #15020]
9420 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9421 closed its stdout.
9422
ed689c2f
AS
94232013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9424
9425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9426 "mpa2.h".
9427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9428
31d470ac
JM
94292013-01-18 Joseph Myers <joseph@codesourcery.com>
9430 Mark Mitchell <mark@codesourcery.com>
9431 Tom de Vries <tom@codesourcery.com>
9432 Paul Pluzhnikov <ppluzhnikov@google.com>
9433
9434 * debug/tst-backtrace2.c: New file.
9435 * debug/tst-backtrace3.c: Likewise.
9436 * debug/tst-backtrace4.c: Likewise.
9437 * debug/tst-backtrace5.c: Likewise.
9438 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9439 (CFLAGS-tst-backtrace3.c): Likewise.
9440 (CFLAGS-tst-backtrace4.c): Likewise.
9441 (CFLAGS-tst-backtrace5.c): Likewise.
9442 (LDFLAGS-tst-backtrace2): Likewise.
9443 (LDFLAGS-tst-backtrace3): Likewise.
9444 (LDFLAGS-tst-backtrace4): Likewise.
9445 (LDFLAGS-tst-backtrace5): Likewise.
9446 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9447 tst-backtrace4 and tst-backtrace5.
9448
90567f30 94492013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9450 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9451
9452 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9453 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9454 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9455 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9457 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9458 "+r" and remove output regs list as redundant. Add explicit inline
9459 asm to specify register of return val to work around compiler codegen
9460 bug. Remove (int) cast on return value. Add return type parameter to
9461 use in macro so that this macro does not truncate return value for
9462 64-bit values.
9463 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9464 pass to INTERNAL_VSYSCALL_NCS.
9465 (INLINE_VSYSCALL): Add 'long int' as return type to
9466 INTERNAL_VSYSCALL_NCS macro invocation.
9467 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9468 INTERNAL_VSYSCALL_NCS macro invocation.
9469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9470
d3b9ea61
SP
94712013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9472
0b57daeb
SP
9473 [BZ #14496]
9474 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9475 Fix application of SIMD FP exception mask.
9476
caa99d06
SP
9477 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9478 mp_no from a power of two.
9479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9480 __mpexp_twomm1. Use __pow_mp.
9481
d3b9ea61
SP
9482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9483 multiplication.
9484
1dbaee3c
DM
94852013-01-17 David S. Miller <davem@davemloft.net>
9486
9487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9488
728d7b43
JM
94892013-01-17 Joseph Myers <joseph@codesourcery.com>
9490
9491 [BZ #15023]
9492 * include/complex.h: Condition contents on [!_COMPLEX_H].
9493 (__kernel_casinhf): New prototype.
9494 (__kernel_casinh): Likewise.
9495 (__kernel_casinhl): Likewise.
9496 * math/Makefile (libm_calls): Add k_casinh.
9497 * math/k_casinh.c: New file.
9498 * math/k_casinhf.c: Likewise.
9499 * math/k_casinhl.c: Likewise.
9500 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9501 finite nonzero arguments.
9502 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9503 finite nonzero arguments.
9504 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9505 finite nonzero arguments.
9506 * math/s_casinh.c: Do not include <float.h>.
9507 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9508 * math/s_casinhf.c: Do not include <float.h>.
9509 (__casinhf): Move code for finite nonzero arguments to
9510 k_casinhf.c.
9511 * math/s_casinhl.c: Do not include <float.h>.
9512 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9513 redefine.
9514 (__casinhl): Move code for finite nonzero arguments to
9515 k_casinhl.c.
9516 * math/libm-test.inc (cacos_test): Add more tests.
9517 * sysdeps/i386/fpu/libm-test-ulps: Update.
9518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9519
2a26ef3a
PT
95202013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9521
9522 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9523 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9524 [!HAVE_MREMAP]: Remove [defined linux] case.
9525 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9526
a897655d
SP
95272013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9528
9529 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9530
881ebe89 95312013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9532
9533 * elf/elf.h (R_386_SIZE32): New relocation.
9534 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9535 R_386_SIZE32.
9536 (elf_machine_rela): Likewise.
9537 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9538 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9539
59981e9b
JM
95402013-01-17 Joseph Myers <joseph@codesourcery.com>
9541
9542 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9543 (FP_FAST_FMA): Do not define.
9544 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9545 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9546 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9547 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9548 !_SOFT_FLOAT]: Likewise.
9549 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9550 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9551 value.
9552 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9553 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9554 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9555 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9556 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9557 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9558 file.
9559
cfa8054f
AS
95602013-01-16 Andreas Schwab <schwab@suse.de>
9561
9562 [BZ #14327]
9563 * include/stdlib.h (__mktemp): Add declaration.
9564 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9565 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9566
dd930cc5
SP
95672013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9568
881ebe89
SP
9569 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9570 definitions.
9571 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9572 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9573 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9574 definitions here.
9575 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9576 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9577 definitions.
9578 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9579 and ONE.
9580 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9581 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9582 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9583 definitions.
9584 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9585 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9586 definitions.
9587 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9588
dd930cc5
SP
9589 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9590
c19a9f89
DM
95912013-01-15 David S. Miller <davem@davemloft.net>
9592
1aa61767
DM
9593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9594 trunc{,f} to libm-sysdep_routes.
9595 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9597 file.
9598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9600 file.
9601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9602 file.
9603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9605 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9606 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9607 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9608 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9609 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9610 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9611
c42d5e98
DM
9612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9613 nearbyint{,f} to libm-sysdep_routes.
9614 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9616 New file.
9617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9618 file.
9619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9620 New file.
9621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9622 file.
9623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9625 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9626 file.
9627 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9628 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9629 file.
9630 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9631 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9632 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9633
c19a9f89
DM
9634 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9635 libc_feholdexcept and libc_fesetenv.
9636
357679d2
MF
96372013-01-15 Mike Frysinger <vapier@gentoo.org>
9638
9639 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9640
65a82e3d
DM
96412013-01-14 David S. Miller <davem@davemloft.net>
9642
8b954ab9
DM
9643 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9644 (SPARC_ASM_VIS2_IFUNC): Likewise.
9645 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9647 use of 'siam' instruction.
9648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9649 Likewise.
9650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9651 Likewise.
9652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9653 Likewise.
9654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9655 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9656 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9657 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9659 file.
9660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9661 file.
9662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9663 file.
9664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9665 file.
9666 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9667 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9671 new VIS2 routines.
9672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9675 Likewise.
9676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9679 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9681 routines to libm-sysdep_routines.
9682 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9683
65a82e3d
DM
9684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9685 fdim/fdimf to libm-sysdep_routines.
9686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9687 file.
9688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9690 file.
9691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9694 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9695 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9696 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9697 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9698
e34ab705
SP
96992013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9700
2a91b573
SP
9701 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9702 to optimize copies.
9703
1066a534
SP
9704 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9707
e34ab705
SP
9708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9709 local variable MPTWO.
9710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9711 Likewise.
9712
aba5e596
MF
97132013-01-13 Mike Frysinger <vapier@gentoo.org>
9714
9715 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9716 GLOB_NOESCAPE.
9717
e557e9e5
MF
97182013-01-13 Mike Frysinger <vapier@gentoo.org>
9719
9720 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9721
0428cec9
MF
97222013-01-13 Mike Frysinger <vapier@gentoo.org>
9723
9724 * manual/pattern.texi (glob_t): Document gl_flags.
9725 (glob64_t): Likewise.
9726
8794a964
DM
97272013-01-11 David S. Miller <davem@davemloft.net>
9728
66438c3f
RM
9729 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9730 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9731 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9732 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9733 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9734 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9735 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9736 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9737 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9738 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9739 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9740 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9741 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9742
4ae4244d
DM
9743 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9744 sparc V9 rather than using V8 code.
9745 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9746 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9747
8794a964
DM
9748 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9749 Move to...
9750 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9751 Here.
9752
6270516e
RM
97532013-01-11 Roland McGrath <roland@hack.frob.com>
9754
9755 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9756 not in the main loop.
9757 * configure: Regenerated.
9758
6a57d931
JM
97592013-01-11 Joseph Myers <joseph@codesourcery.com>
9760
9761 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9762 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9763 to just #else.
9764 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9765 [!__GLIBC_HAVE_LONG_LONG] case.
9766 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9767 condition to just #else.
9768 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9769 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9770 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9771 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9772 unconditional.
9773 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9774 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9775 #elif condition to just #else.
9776 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9777 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9778 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9779 #elif condition to just #else.
9780
0e8529e9
SE
97812013-01-11 Steve Ellcey <sellcey@mips.com>
9782
9783 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9784 (EF_MIPS_ARCH_64): Fix value.
9785 (EF_MIPS_ARCH_32R2): New.
9786 (EF_MIPS_ARCH_64R2): New.
9787
740b3dbe
L
97882013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9789
9790 * Makeconfig (+link-pie-before-libc): New.
9791 (+link-pie-after-libc): Likewise.
9792 (+link-pie-tests): Likewise.
9793 (+link-pie): Rewritten.
9794 (link-before-libc): Remove $(config-LDFLAGS).
9795 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9796 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9797 (config-LDFLAGS): Renamed to ...
9798 (rtld-LDFLAGS): This.
9799 (rtld-tests-LDFLAGS): New macro.
9800 (link-libc-rpath-link): Likewise.
9801 (link-libc-tests-rpath-link): Likewise.
9802 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9803 (link-libc): Prepand $(link-libc-rpath-link).
9804 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9805 (test-program-prefix): New macro.
9806 (test-via-rtld-prefix): Likewise.
9807 (test-program-cmd): Likewise.
9808 (host-test-program-cmd): Likewise.
9809 * Makefile ($(common-objpfx)testrun.sh): Replace
9810 $(run-program-prefix) with $(test-program-prefix).
9811 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9812 $(rtld-LDFLAGS).
9813 ($(common-objpfx)shlib.lds): Likewise.
9814 (build-module-helper): Likewise.
9815 ($(common-objpfx)format.lds): Likewise.
9816 * Rules (binaries-pie-tests): New.
9817 (binaries-pie-notests): Likewise.
9818 (binaries-pie): Rewritten.
9819 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9820 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9821 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9822 (make-test-out): Replace $(host-built-program-cmd) with
9823 $(host-test-program-cmd).
9824 * config.make.in (build-hardcoded-path-in-tests): New variable.
9825 * configure.in (--enable-hardcoded-path-in-tests): New configure
9826 option.
9827 (hardcoded_path_in_tests): New AC_SUBST.
9828 * configure: Regenerated.
9829 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9830 $(built-program-cmd) with $(test-program-cmd).
9831 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9832 (test_program_cmd): This.
9833 * elf/Makefile ($(objpfx)order.out): Run test with
9834 $(test-program-prefix).
9835 ($(objpfx)order2.out): Likewise.
9836 ($(objpfx)tst-initorder.out): Likewise.
9837 ($(objpfx)tst-initorder2.out): Likewise.
9838 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9839 $(test-program-cmd).
9840 ($(objpfx)tst-array1-static.out): Likewise.
9841 ($(objpfx)tst-array2.out): Likewise.
9842 ($(objpfx)tst-array3.out): Likewise.
9843 ($(objpfx)tst-array4.out): Likewise.
9844 ($(objpfx)tst-array5.out): Likewise.
9845 ($(objpfx)tst-array5-static.out): Likewise.
9846 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9847 $(test-program-cmd).
9848 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9849 $(run-program-prefix) with $(test-program-prefix).
9850 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9851 (test_program_prefix): This.
9852 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9853 $(run-program-prefix) with $(test-program-prefix).
9854 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9855 (test_program_prefix): This.
9856 * iconvdata/tst-tables.sh: Likewise.
9857 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9858 $(run-program-prefix) with $(test-program-prefix).
9859 ($(objpfx)tst-translit.out): Likewise.
9860 ($(objpfx)tst-gettext2.out): Likewise.
9861 ($(objpfx)tst-gettext4.out): Likewise.
9862 ($(objpfx)tst-gettext6.out): Likewise.
9863 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9864 (test_program_prefix): This.
9865 * intl/tst-gettext2.sh: Likewise.
9866 * intl/tst-gettext4.sh Likewise.
9867 * intl/tst-gettext6.sh: Likewise.
9868 * intl/tst-translit.sh: Likewise.
9869 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9870 with $(test-program-cmd).
9871 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9872 $(run-program-prefix) with $(test-program-prefix).
9873 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9874 (test_program_prefix): This.
9875 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9876 $(run-program-prefix) with $(test-program-prefix).
9877 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9878 (test_program_prefix): This.
9879 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9880 * posix/Makefile ($(objpfx)globtest.out): Replace
9881 $(run-via-rtld-prefix) and $(test-wrapper) with
9882 $(test-program-prefix) and $(test-via-rtld-prefix).
9883 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9884 $(test-program-prefix).
9885 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9886 $(host-test-program-cmd).
9887 (tst-spawn-ARGS): Likewise.
9888 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9889 $(test-program-prefix).
9890 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9891 (test_via_rtld_prefix): This.
9892 (test_wrapper): Renamed to ...
9893 (test_program_prefix): This.
9894 (run_program_prefix): Replaced by test_program_prefix.
9895 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9896 (test_program_prefix): This.
9897 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9898 with $(host-test-program-cmd).
9899 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9900 $(run-program-prefix) with $(test-program-prefix).
9901 ($(objpfx)tst-printf.out): Likewise.
9902 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9903 $(test-program-cmd).
9904 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9905 (test_program_prefix): This.
9906 * stdio-common/tst-unbputc.sh: Likewise.
9907 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9908 $(run-program-prefix) with $(test-program-prefix).
9909 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9910 (test_program_prefix): This.
9911 * string/Makefile ($(objpfx)tst-svc.out): Replace
9912 $(built-program-cmd) with $(test-program-cmd).
9913
c6fe55cf
AJ
99142013-01-11 Andreas Jaeger <aj@suse.de>
9915
9916 [BZ #15003]
9917 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9918 value. Sync with Linux 3.7.
9919
9e6919c8
DM
99202013-01-10 David S. Miller <davem@davemloft.net>
9921
9922 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9923 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9924 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9925
1c9f1a02
RM
99262013-01-10 Roland McGrath <roland@hack.frob.com>
9927
9928 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9929 never set.
9930 * configure: Regenerated.
9931
b9de2dde
DM
99322013-01-10 David S. Miller <davem@davemloft.net>
9933
9934 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9935 sparc V9 rather than using V8 code.
9936 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9937 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9938
e7f68ef4
RM
99392013-01-10 Roland McGrath <roland@hack.frob.com>
9940
9941 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9942 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9943 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9944 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9945 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9946 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9947 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9948 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9949 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9950 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9951 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9952 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9953 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9954 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9955 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9956 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9957 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9958 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9959 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9960 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9961 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9962 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9963 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9964 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9965 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9966 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9967 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9968
5a47cc9c
DM
99692013-01-10 David S. Miller <davem@davemloft.net>
9970
9971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9972
4cf8f209
L
99732013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9974
9975 * posix/Makefile (tests-static): New variable.
9976 (tests): Add $(tests-static).
9977 (tst-exec-static-ARGS): New variable.
9978 (tst-spawn-static-ARGS): Likewise.
9979 * posix/tst-exec-static.c: New file.
9980 * posix/tst-spawn-static.c: Likewise.
9981 * posix/tst-exec.c: Support run directly.
9982 * posix/tst-spawn.c: Likewise.
9983
fed0faa1
JM
99842013-01-10 Joseph Myers <joseph@codesourcery.com>
9985
828beb13
JM
9986 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9987 long.
9988 * math/bits/mathcalls.h (llrint): Likewise.
9989 (llround): Likewise.
9990 * stdlib/stdlib.h (struct drand48_data): Likewise.
9991 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9992 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9993 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9994 Likewise.
9995 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9996 Likewise.
9997 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9998 (elf_greg_t): Likewise.
9999 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10000 (__jmp_buf): Likewise.
10001 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10002 definitions.
10003 (llrint): Likewise, for all definitions.
10004 (llrintl): Likewise.
10005
fed0faa1
JM
10006 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10007 Remove [__GNUC__] condition.
10008 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10009 condition to just [__USE_ISOC99].
10010 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10011
1a20cb20
L
100122013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10013
10014 [BZ #14200]
10015 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10016 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10017 defined.
10018 (_POSIX_V6_ILP32_OFF32): Likewise.
10019 (_XBS5_ILP32_OFF32): Likewise.
10020 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10021 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10022
751b85f7
SP
100232013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10024
7490eb81
SP
10025 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10026
751b85f7
SP
10027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10028 doubles __mpexp_twomm1. Adjust usage.
10029 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10030 Remove.
10031
988197f0
AS
100322013-01-10 Andreas Schwab <schwab@suse.de>
10033
10034 [BZ #14964]
10035 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10036 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10037
e83d7298
DM
100382013-01-09 David S. Miller <davem@davemloft.net>
10039
034ed64b 10040 [BZ #15003]
e83d7298
DM
10041 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10042 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10043 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10044 TCP_FASTOPEN): Define.
10045 (tcp_repair_opt): New structure.
10046 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10047 enum values.
10048 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10049 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10050 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10051 (tcp_cookie_transactions): New structure.
10052
d5e0b9bd
AB
100532013-01-09 Anton Blanchard <anton@samba.org>
10054
10055 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10056 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10057 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10058 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10059
0c07e3ea
JM
100602013-01-09 Joseph Myers <joseph@codesourcery.com>
10061
10062 * include/features.h (__USE_ANSI): Remove.
10063
232f7002
RM
100642013-01-09 Roland McGrath <roland@hack.frob.com>
10065
ad98e30c
RM
10066 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10067
232f7002
RM
10068 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10069
950c99ca
SP
100702013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10071
b5792741
SP
10072 * sysdeps/s390/fpu/libm-test-ulps: Update.
10073
47cf2278
SP
10074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10075
950c99ca
SP
10076 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10077 (__acr): Likewise.
10078 (__cpy): Likewise.
10079 (norm): Likewise.
10080 (denorm): Likewise.
10081 (__mp_dbl): Likewise.
10082 (__dbl_mp): Likewise.
10083 (add_magnitudes): Likewise.
10084 (sub_magnitudes): Likewise.
10085 (__add): Likewise.
10086 (__sub): Likewise.
10087 (__mul): Likewise.
10088 (__inv): Likewise.
10089 (__dvd): Likewise.
10090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10091 (__acr): Likewise.
10092 (__cpy): Likewise.
10093 (norm): Likewise.
10094 (denorm): Likewise.
10095 (__mp_dbl): Likewise.
10096 (__dbl_mp): Likewise.
10097 (add_magnitudes): Likewise.
10098 (sub_magnitudes): Likewise.
10099 (__add): Likewise.
10100 (__sub): Likewise.
10101 (__mul): Likewise.
10102 (__inv): Likewise.
10103 (__dvd): Likewise.
10104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10105 (__acr): Likewise.
10106 (__cpy): Likewise.
10107 (norm): Likewise.
10108 (denorm): Likewise.
10109 (__mp_dbl): Likewise.
10110 (__dbl_mp): Likewise.
10111 (add_magnitudes): Likewise.
10112 (sub_magnitudes): Likewise.
10113 (__add): Likewise.
10114 (__sub): Likewise.
10115 (__mul): Likewise.
10116 (__inv): Likewise.
10117 (__dvd): Likewise.
10118
eede9df9
JM
101192013-01-08 Joseph Myers <joseph@codesourcery.com>
10120
10121 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10122 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10123 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10124 2 && __USE_EXTERN_INLINES]: Likewise.
10125
c40ea3d9
AJ
101262013-01-08 Andreas Jaeger <aj@suse.de>
10127
10128 [BZ# 14985]
10129 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10130 Remove.
10131 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10132 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10133
2ccdea26
AB
101342013-01-07 Anton Blanchard <anton@samba.org>
10135
10136 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10137 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10138 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10139 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10140 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10141 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10142 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10143 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10144 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10145 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10146 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10147 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10148 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10149 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10150 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10151 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10152 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10153 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10154 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10155 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10156 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10157 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10158 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10159 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10160 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10161 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10162 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10163 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10164 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10165 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10166 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10168 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10169 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10170 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10171 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10172 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10173 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10174 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10175 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10176 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10177 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10178 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10179
a9708fed
JM
101802013-01-07 Joseph Myers <joseph@codesourcery.com>
10181
375607b9
JM
10182 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10183 (__MALLOC_PMT): Likewise.
10184 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10185 [__GNUC__], only on [_LIBC].
10186 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10187 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10188 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10189 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10190 forward declaration.
10191 (realloc_hook_ini): Likewise.
10192 (memalign_hook_ini): Likewise.
10193 (__libc_memalign): Do not use __MALLOC_PMT in variable
10194 declaration.
10195 (__libc_valloc): Likewise.
10196 (__libc_pvalloc): Likewise.
10197 (__libc_calloc): Likewise.
10198 (__posix_memalign): Likewise.
10199
a9708fed
JM
10200 [BZ #14996]
10201 * math/s_casinh.c: Include <float.h>.
10202 (__casinh): Do not do computation with squaring and square root
10203 for large arguments.
10204 * math/s_casinhf.c: Include <float.h>.
10205 (__casinhf): Do not do computation with squaring and square root
10206 for large arguments.
10207 * math/s_casinhl.c: Include <float.h>.
10208 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10209 (__casinhl): Do not do computation with squaring and square root
10210 for large arguments.
10211 * math/libm-test.inc (casin_test): Add more tests.
10212 (casinh_test): Likewise.
10213 * sysdeps/i386/fpu/libm-test-ulps: Update.
10214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10215
afec409a
L
102162013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10217
10218 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10219 (__x86_64_raw_data_cache_size): Likewise.
10220 (__x86_64_data_cache_size_half): Likewise.
10221 (__x86_64_raw_data_cache_size_half): Likewise.
10222 (__x86_64_shared_cache_size): Likewise.
10223 (__x86_64_raw_shared_cache_size): Likewise.
10224 (__x86_64_shared_cache_size_half): Likewise.
10225 (__x86_64_raw_shared_cache_size_half): Likewise.
10226 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10227 to ...
10228 (__x86_data_cache_size): This.
10229 (__x86_64_raw_data_cache_size): Renamed to ...
10230 (__x86_raw_data_cache_size): This.
10231 (__x86_64_data_cache_size_half): Renamed to ...
10232 (__x86_data_cache_size_half): This.
10233 (__x86_64_raw_data_cache_size_half): Renamed to ...
10234 (__x86_raw_data_cache_size_half): This.
10235 (__x86_64_shared_cache_size): Renamed to ...
10236 (__x86_shared_cache_size): This.
10237 (__x86_64_raw_shared_cache_size): Renamed to ...
10238 (__x86_raw_shared_cache_size): This.
10239 (__x86_64_shared_cache_size_half): Renamed to ...
10240 (__x86_shared_cache_size_half): This.
10241 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10242 (__x86_raw_shared_cache_size_half): This.
10243 * sysdeps/x86_64/memcpy.S: Updated.
10244 * sysdeps/x86_64/memset.S: Likewise.
10245 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10246 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10247 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10248
0b3986d0
DM
102492013-01-04 David S. Miller <davem@davemloft.net>
10250
10251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10252
e47686e9
AS
102532013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10254
d643bac1
AS
10255 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10256 1 to avoid redefinition warning.
10257 (__USE_GNU): Don't define.
10258 (init_signaling_nan): Protoize.
10259
e47686e9
AS
10260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10261
b18decba
SP
102622013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10263
fffb407f
SP
10264 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10266 (__cpymn): Likewise.
10267 (norm): Remove commented code.
10268 (denorm): Likewise.
10269 (__mp_dbl): Likewise.
10270 (__inv): Likewise.
10271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10272 (__cpymn): Likewise.
10273 (norm): Remove commented code.
10274 (denorm): Likewise.
10275 (__mp_dbl): Likewise.
10276 (__inv): Likewise.
10277
b18decba
SP
10278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10279 mp_no value for 1.0 and 2.0.
10280 (norm): Use RADIXI instead of radixi.d.
10281 (denorm): Likewise.
10282 (__mul): Use 0.0 instead of zero.d.
10283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10284 mp_no value for 1.0 and 2.0.
10285 (norm): Use RADIXI instead of radixi.d.
10286 (denorm): Likewise.
10287 (__mul): Use 0.0 instead of zero.d.
10288
cdc1c96f
JM
102892013-01-04 Joseph Myers <joseph@codesourcery.com>
10290
10291 [BZ #14994]
10292 * math/s_casinh.c (__casinh): Reduce finite argument to first
10293 quadrant then set signs of results at the end.
10294 * math/s_casinhf.c (__casinhf): Likewise.
10295 * math/s_casinhl.c (__casinhl): Likewise.
10296 * math/libm-test.inc (casin_test): Add more tests.
10297 (casinh_test): Likewise.
10298 * sysdeps/i386/fpu/libm-test-ulps: Update.
10299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10300
302913e1
SP
103012013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10302
6420d207
SP
10303 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10304
a9e48ab4
SP
10305 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10306
b7837264
SP
10307 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10308 declarations.
10309 (denorm): Likewise.
10310 (__mp_dbl): Likewise.
10311 (__inv): Likewise.
10312
f8af25d2
SP
10313 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10314 and adjust the header comment.
10315
302913e1
SP
10316 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10317 variable name from declaration.
10318
5d7dd1ca
L
103192013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10320
10321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10322 Initialize COMMON_CPUID_INDEX_7 element.
10323 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10324 (CPUID_RTM): Likewise.
10325 (HAS_RTM): Likewise.
10326 (COMMON_CPUID_INDEX_7): New enum.
10327
2f5f40f4
AS
103282013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10329
10330 [BZ #14981]
10331 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10332 size is zero, record memory as freed.
10333
4056f4a0
AJ
103342013-01-03 Andreas Jaeger <aj@suse.de>
10335
10336 * po/ia.po: Add new Interlingua translation.
10337
ab15736f 103382012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
10339
10340 * locale/programs/localedef.c: Fix description of '--posix' flag.
10341
568035b7
JM
103422013-01-02 Joseph Myers <joseph@codesourcery.com>
10343
e6898b8d
JM
10344 * NEWS: Update dates in second copyright notice.
10345 * README: Update copyright dates in example.
10346 * manual/libc.texinfo: Update copyright dates.
10347 * scripts/test-installation.pl: Update copyright date in --version
10348 output.
10349
0e2f9562
JM
10350 * hurd/ctty-input.c: Fix copyright notice formatting.
10351 * hurd/ctty-output.c: Likewise.
10352 * hurd/dtable.c: Likewise.
10353 * hurd/hurd-raise.c: Likewise.
10354 * hurd/hurdprio.c: Likewise.
10355 * hurd/msgportdemux.c: Likewise.
10356 * misc/sys/file.h: Likewise.
10357 * misc/sys/ioctl.h: Likewise.
10358 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10359 * sysdeps/mach/hurd/chdir.c: Likewise.
10360 * sysdeps/mach/hurd/fchdir.c: Likewise.
10361 * sysdeps/mach/hurd/rename.c: Likewise.
10362 * sysdeps/mach/hurd/rmdir.c: Likewise.
10363 * sysdeps/mach/hurd/seekdir.c: Likewise.
10364 * sysdeps/mach/hurd/setsid.c: Likewise.
10365 * sysdeps/posix/wait3.c: Likewise.
10366
568035b7
JM
10367 * All files with FSF copyright notices: Update copyright dates
10368 using scripts/update-copyrights.
10369 * intl/plural.c: Regenerated.
10370 * locale/programs/charmap-kw.h: Likewise.
10371 * locale/programs/locfile-kw.h: Likewise.
10372
da08f647
SP
103732013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10374
0f5477af
SP
10375 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10376 four values.
10377
44e0d4c2
SP
10378 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10379 calculation loop and add branch prediction.
10380
4d55b4e5
SP
10381 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10382 check access beyond bounds of m1np.
10383
da08f647
SP
10384 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10385 MPTWO.
10386 (__inv): Remove local variable MPTWO to use the global
10387 constant.
10388 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10389 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10390 variable MPTWO.
10391 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10392 MP3HALFS static const.
10393
8e051029
DM
103942013-01-01 David S. Miller <davem@davemloft.net>
10395
10396 * po/ca.po: Update from translation team.
10397
f4cf5f2d
JM
103982013-01-01 Joseph Myers <joseph@codesourcery.com>
10399
10400 * scripts/update-copyrights: New file.
10401 * Makeconfig: Reformat copyright notice.
10402 * ctype/ctype.h: Likewise.
10403 * debug/swprintf_chk.c: Likewise.
10404 * elf/dl-cache.c: Likewise.
10405 * elf/dl-debug.c: Likewise.
10406 * elf/dl-object.c: Likewise.
10407 * grp/initgroups.c: Likewise.
10408 * hurd/Makefile: Likewise.
10409 * hurd/hurd/signal.h: Likewise.
10410 * hurd/hurdfault.c: Likewise.
10411 * hurd/hurdioctl.c: Likewise.
10412 * hurd/hurdlookup.c: Likewise.
10413 * hurd/intr-msg.c: Likewise.
10414 * iconv/gconv_open.c: Likewise.
10415 * libio/swprintf.c: Likewise.
10416 * locale/lc-ctype.c: Likewise.
10417 * locale/nl_langinfo.c: Likewise.
10418 * mach/Machrules: Likewise.
10419 * mach/Makefile: Likewise.
10420 * malloc/obstack.h: Likewise.
10421 * manual/Makefile: Likewise.
10422 * manual/tsort.awk: Likewise.
10423 * misc/bits/stab.def: Likewise.
10424 * nis/nis_print_group_entry.c: Likewise.
10425 * nis/nis_table.c: Likewise.
10426 * nis/nss_compat/compat-pwd.c: Likewise.
10427 * nis/nss_compat/compat-spwd.c: Likewise.
10428 * po/Makefile: Likewise.
10429 * posix/fnmatch.c: Likewise.
10430 * posix/regex.h: Likewise.
10431 * resolv/Makefile: Likewise.
10432 * resolv/nss_dns/dns-network.c: Likewise.
10433 * resolv/res_hconf.c: Likewise.
10434 * scripts/gen-sorted.awk: Likewise.
10435 * soft-fp/soft-fp.h: Likewise.
10436 * stdio-common/printf.h: Likewise.
10437 * stdlib/monetary.h: Likewise.
10438 * stdlib/random.c: Likewise.
10439 * stdlib/random_r.c: Likewise.
10440 * sysdeps/generic/Makefile: Likewise.
10441 * sysdeps/gnu/Makefile: Likewise.
10442 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10444 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10445 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10446 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10447 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10448 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10449 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10450 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10451 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10452 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10453 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10454 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10455 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10456 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10457 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10458 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10459 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10460 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10461 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10462 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10463 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10464 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10465 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10466 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10467 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10468 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10469 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10470 * sysdeps/mach/hurd/errnos.awk: Likewise.
10471 * sysdeps/mach/hurd/fork.c: Likewise.
10472 * sysdeps/mach/hurd/getcwd.c: Likewise.
10473 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10474 * sysdeps/mach/hurd/mmap.c: Likewise.
10475 * sysdeps/mach/hurd/utimes.c: Likewise.
10476 * sysdeps/mach/hurd/xmknod.c: Likewise.
10477 * sysdeps/posix/profil.c: Likewise.
10478 * sysdeps/posix/readdir_r.c: Likewise.
10479 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10480 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10481 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10482 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10484 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10485 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10486 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10488 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10489 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10490 * sysdeps/pthread/lio_listio.c: Likewise.
10491 * sysdeps/sparc/dl-procinfo.h: Likewise.
10492 * sysdeps/unix/i386/sysdep.S: Likewise.
10493 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10494 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10495 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10496 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10498 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10499 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10500 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10501 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10502 * sysdeps/wordsize-32/divdi3.c: Likewise.
10503 * time/sys/time.h: Likewise.
10504 * wcsmbs/Makefile: Likewise.
10505
0549fbba
DM
105062013-01-01 David S. Miller <davem@davemloft.net>
10507
a141f1a7
DM
10508 * po/fr.po: Update from translation team.
10509
0549fbba
DM
10510 * catgets/gencat.c: Update copyright year.
10511 * csu/version.c: Likewise.
10512 * debug/catchsegv.sh: Likewise.
10513 * debug/pcprofiledump.c: Likewise.
10514 * debug/xtrace.sh: Likewise.
10515 * elf/ldconfig.c: Likewise.
10516 * elf/ldd.bash.in: Likewise.
10517 * elf/pldd.c: Likewise.
10518 * elf/sotruss.ksh: Likewise.
10519 * elf/sprof.c: Likewise.
10520 * iconv/iconv_prog.c: Likewise.
10521 * iconv/iconvconfig.c: Likewise.
10522 * locale/programs/locale.c: Likewise.
10523 * locale/programs/localedef.c: Likewise.
10524 * login/programs/pt_chown.c: Likewise.
10525 * malloc/memusage.sh: Likewise.
10526 * malloc/memusagestat.c: Likewise.
10527 * malloc/mtrace.pl: Likewise.
10528 * nscd/nscd.c: Likewise.
10529 * nss/getent.c: Likewise.
10530 * nss/makedb.c: Likewise.
10531 * posix/getconf.c: Likewise.
10532
18ea052c
SP
105332012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10534
10535 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10536 numbers.
10537
9c89fca6
MF
105382012-12-30 Mike Frysinger <vapier@gentoo.org>
10539
10540 * math/bits/mathcalls.h (modf): Use __nonnull.
10541
085ec079
SP
105422012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10543
10544 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10545 (split): Use macro CN instead of the bare value.
10546 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10547 could be used.
10548 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10549 instead of the bare value.
10550 (power1): Likewise.
10551
6d9f97e1
SP
105522012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10553
d63f73be
SP
10554 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10555 __ATAN_TWOM.
10556 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10557
6d9f97e1
SP
10558 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10559 their values.
10560 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10561 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10562 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10563 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10564
4c4febf5
AJ
105652012-12-28 Andreas Jaeger <aj@suse.de>
10566
af5843ef
AJ
10567 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10568 values are from Linux 3.7.
10569
4c4febf5
AJ
10570 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10571 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10572
99136f82
SP
105732012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10574
2f216c3c 10575 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10576 TRUE case.
10577
99136f82
SP
10578 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10579 (norm): Likewise.
10580 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10581 variables with preprocessor constants.
10582 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10583 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10584 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10585
7fffbdff
BH
105862012-12-27 Bruno Haible <bruno@clisp.org>
10587
10588 [BZ #14317]
10589 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10590 only if needed.
10591
b76eb5f0
SP
105922012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10593
31a7fe5c
SP
10594 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10595 and use variable directly.
10596 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10597
b76eb5f0
SP
10598 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10599 MPONE.
10600 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10601 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10602 variable MPONE.
10603 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10604 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10605 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10606 include directive. Remove local variable MPONE.
10607 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10608 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10609 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10610
2c8bfe7d
DM
106112012-12-25 David S. Miller <davem@davemloft.net>
10612
10613 * version.h (RELEASE): Set to "development".
10614 (VERSION): Set to "2.17.90".
10615 * NEWS: Add 2.18 section.
10616
147d03b0
DM
106172012-12-21 David S. Miller <davem@davemloft.net>
10618
10619 * po/hr.po: Update from translation team.
10620
a8ebb2b9
AK
106212012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10622
10623 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10624
95b4f1b6
SE
106252012-12-19 Steve Ellcey <sellcey@mips.com>
10626
b2d94007 10627 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10628
cedb2a90
MS
106292012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10630
10631 * manual/contrib.texi (Contributors): Spelling correction.
10632
bbf527d6
DM
106332012-12-15 David S. Miller <davem@davemloft.net>
10634
10635 * po/ru.po: Update from translation team.
10636
bc38c906
DM
106372012-12-13 David S. Miller <davem@davemloft.net>
10638
85429b1a
DM
10639 * NEWS: Mention IFUNC testsuite enhancements.
10640
d283e353
DM
10641 * po/pl.po: Update from translation team.
10642 * po/bg.po: Likewise.
10643
bc38c906
DM
10644 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10645 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10646
a181b0d7
DM
106472012-12-11 David S. Miller <davem@davemloft.net>
10648
4641d57e
DM
10649 * po/sv.po: Update from translation team.
10650
f7bc6495
DM
10651 * po/vi.po: Update from translation team.
10652
6fc9048f
DM
10653 * po/cs.po: Update from translation team.
10654
a181b0d7
DM
10655 * po/de.po: Update from translation team.
10656 * po/eo.po: Likewise.
10657 * po/nl.po: Likewise.
10658
f70bfe80
SP
106592012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10660
3c8b4190
SP
10661 [BZ #14246]
10662 * manual/argp.texi (Argp Helper Functions): Move node to follow
10663 Argp Parsing State.
10664
f70bfe80
SP
10665 [BZ #14872]
10666 * manual/conf.texi (Limits on File System Capacity): Mention if
10667 terminating null is included in the max size.
10668
188f0adf
AJ
106692012-12-10 Andreas Jaeger <aj@suse.de>
10670
10671 * po/cs.po: Update from translation team.
10672
56e7d3ad
SP
106732012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10674
10675 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10676 void pointer and cast to uintptr_t.
10677 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10678 path.
10679 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10680 * sysdeps/s390/s390-64/memset.S: Likewise.
10681
76f2d2ea 106822012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10683
10684 [BZ #14833]
10685 * menual/message.texi (Message Translation): Fix typos.
10686 (Helper programs for gettext): Likewise.
10687
67cbf9a2
AS
106882012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10689
10690 [BZ #14898]
10691 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10692 Change to -1.
10693
682d0e9a
DM
106942012-12-07 David S. Miller <davem@davemloft.net>
10695
10696 * po/libc.pot: Update.
10697
573cd484
RH
106982012-12-07 Richard Henderson <rth@redhat.com>
10699
7e9da188 10700 [BZ #10114]
573cd484
RH
10701 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10702 normal/normal case to before the switch.
10703 (_FP_DIV): Likewise.
10704
e933a943
MF
107052012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10706 Mike Frysinger <vapier@gentoo.org>
10707
10708 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10709 check for __NR_fadvise64_64.
10710
82123268
CM
107112012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10712
10713 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10714 0, not just to plain "0" as a statement.
10715 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10716 with cw.
10717
d9814526
JM
107182012-12-06 Joseph Myers <joseph@codesourcery.com>
10719
10720 * NEWS: Use sourceware.org in Bugzilla URL.
10721
7728c574
SP
107222012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10723
f16946dd
SP
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10725 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10726
5704bbcb
SP
10727 * stdio-common/tst-put-error.c (do_test): Add newline to the
10728 padded test to ensure flush.
10729
17aa0516
JL
107302012-12-05 Jeff Law <law@redhat.com>
10731
10732 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10733
363313b5
JM
107342012-12-05 Joseph Myers <joseph@codesourcery.com>
10735
effbd42a
JM
10736 * README: Don't refer to ports add-on as distributed separately.
10737 Mention AArch64 in list of systems supported in the ports add-on.
10738
87600365
JM
10739 * LICENSES: Add more non-FSF copyright and license notices.
10740
a0d7066a
JM
10741 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10742 ((unused)).
10743
66ca5a5b
JM
10744 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10745
363313b5
JM
10746 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10747 10000 as width of padded output.
10748
b37984ad
JM
107492012-12-04 Joseph Myers <joseph@codesourcery.com>
10750
9003570a
JM
10751 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10752
b37984ad
JM
10753 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10754 variable LX with __attribute__ ((unused)).
10755 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10756 Likewise.
10757 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10758 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10759 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10760 with __attribute__ ((unused)).
10761
c8df52ec
DM
107622012-12-04 David S. Miller <davem@abraco.davemloft.net>
10763
10764 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10765
b3b099af
JM
107662012-12-04 Joseph Myers <joseph@codesourcery.com>
10767
c33aa6e3
JM
10768 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10769 (CFLAGS-nldbl-acos.c): New variable.
10770 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10771 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10772 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10773 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10774 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10775 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10776 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10777 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10778 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10779 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10780 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10781 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10782 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10783 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10784 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10785 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10786 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10787 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10788 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10789 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10790 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10791 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10792 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10793 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10794 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10795 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10796 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10797 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10798 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10799 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10800 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10801 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10802 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10803 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10804 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10805 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10806 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10807 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10808 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10809 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10810 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10811 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10812 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10813 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10814 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10815 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10816 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10817 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10818 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10819 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10820 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10821 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10822 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10823 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10824 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10825 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10826 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10827 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10828 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10829 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10830 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10831 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10832 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10833 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10834 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10835 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10836 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10837 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10838 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10839 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10840 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10841 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10842 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10843 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10844 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10845 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10846 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10847 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10848 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10849 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10850 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10851 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10852 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10853 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10854 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10855 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10856 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10857 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10858 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10859 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10860 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10861 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10862 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10863 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10864 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10865 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10866 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10867
20f0018d
JM
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10869 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10870
b3b099af
JM
10871 [BZ #14914]
10872 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10873 whole low double instead of just low 47 bits when splitting values
10874 into two parts.
10875
029264d1
AM
108762012-12-03 Allan McRae <allan@archlinux.org>
10877
10878 * manual/stdio.texi (Predefined Printf Handlers): Remove
10879 @hsep and @vsep usage.
10880
c9d6789e
MF
108812012-12-03 Mike Frysinger <vapier@gentoo.org>
10882
10883 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10884 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10885
4b7634a5
JL
108862012-12-03 Jeff Law <law@redhat.com>
10887
10888 * time/sys/time.h (settimeofday): Do not mark TV argument
10889 as __nonnull.
10890
eb6cbd24
MF
108912012-12-01 Mike Frysinger <vapier@gentoo.org>
10892
10893 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10894 when currently writing and seek to current position when not.
10895 * libio/Makefile (tests): Remove bug-fclose1.
10896 * libio/bug-fclose1.c: Delete.
10897
f638872a
JM
108982012-12-01 Joseph Myers <joseph@codesourcery.com>
10899
10900 * manual/arith.texi (feenableexcept): Fix typo.
10901 (fedisableexcept): Likewise.
10902
48085d14
RM
109032012-11-30 Roland McGrath <roland@hack.frob.com>
10904
10905 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10906 second, differently-typed declaration, rather than a cast.
10907
1a538b9f
SP
109082012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10909
10910 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10911 * include/rpc/svc.h: ... here.
10912
d07f2ff1 109132012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10914
10915 [BZ #13013]
10916 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10917 depending n and resplen2 to catch cases where answer
10918 equals answerp2.
10919
c93ec1f0
CD
109202012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10921
10922 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10923 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10924
37db69de
MF
109252012-11-29 Mike Frysinger <vapier@gentoo.org>
10926
10927 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10928
e10c4e4f
RM
109292012-11-29 Roland McGrath <roland@hack.frob.com>
10930
10931 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10932
2af1b328
JL
109332012-11-28 Jeff Law <law@redhat.com>
10934
10935 [BZ #13761]
10936 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10937 dataset_temporary. Track alloca usage into alloca_used.
10938 If dataset is large allocate and release it via malloc/free.
10939
111db5b1
FW
109402012-06-04 Florian Weimer <fweimer@redhat.com>
10941
f06cc227 10942 [BZ #14197]
111db5b1
FW
10943 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10944
dd694abd
DM
109452012-11-28 David S. Miller <davem@davemloft.net>
10946
10947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10948
9984dd01
JM
109492012-11-28 Joseph Myers <joseph@codesourcery.com>
10950
10951 [BZ #14803]
10952 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10953 of pi/2 rounded to nearest to 64 bits.
10954 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10955 nearest to 64 bits.
10956 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10957 bits.
10958
14bc93a9
JL
109592012-11-28 Jeff Law <law@redhat.com>
10960 Martin Osvald <mosvald@redhat.com>
10961
10962 [BZ #14889]
10963 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10964 * sunrpc/svc.c: Include time.h.
10965 (__svc_accept_failed): New function.
10966 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10967 any reason other than EINTR, call __svc_accept_failed.
10968 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10969 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10970
e3c6aa3a
AS
109712012-11-28 Andreas Schwab <schwab@suse.de>
10972
10973 * scripts/abilist.awk: Also handle indirect functions in .opd
10974 section.
10975
1bead169
JM
109762012-11-28 Joseph Myers <joseph@codesourcery.com>
10977
10978 [BZ #13881]
10979 * sysdeps/x86/fpu/powl_helper.c: New file.
10980 * sysdeps/x86/fpu/Makefile: Likewise.
10981 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10982 (p3): New object.
10983 (__ieee754_powl): Use __powl_helper for finite arguments except
10984 integer exponents below 8.
10985 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10986 (p3): New object.
10987 (__ieee754_powl): Use __powl_helper for finite arguments except
10988 integer exponents below 8.
10989 * math/libm-test.inc (pow_test): Add more tests and enable some
10990 previously disabled tests.
10991 * sysdeps/i386/fpu/libm-test-ulps: Update.
10992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10993
0817d63d
SP
109942012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10995 Carlos O'Donell <carlos_odonell@mentor.com>
10996
10997 * nss/makedb.c (is_prime): Assert that input is odd and greater
10998 than 4. Note that fact in a comment too.
10999 (next_prime): Add 4 to input.
11000
de2fd463
SP
110012012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11002
11003 [BZ #11741]
11004 * libio/Makefile (tests): Add test case tst-fwrite-error.
11005 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11006 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11007 * libio/tst-fwrite-error.c: New test case.
11008
c515fb51
L
110092012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11010
11011 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11012 before casting to void *.
11013 * include/libc-internal.h (__pointer_type): New macro.
11014 (__integer_if_pointer_type_sub): Likewise.
11015 (__integer_if_pointer_type): Likewise.
11016 (cast_to_integer): Likewise.
11017 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11018 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11019 before casting to atomic64_t.
11020 (atomic_exchange_acq): Likewise.
11021 (__arch_exchange_and_add_body): Likewise.
11022 (__arch_add_body): Likewise.
11023 (atomic_add_negative): Likewise.
11024 (atomic_add_zero): Likewise.
11025
4cf77aa9
JM
110262012-11-26 Joseph Myers <joseph@codesourcery.com>
11027
11028 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11029 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11030 (add_fdes): Likewise.
11031 (linear_search_fdes): Likewise.
11032 (binary_search_unencoded_fdes): Likewise.
11033
d260b3b4
AS
110342012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11035
11036 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11037
67060746
AC
110382012-11-24 Adam Conrad <adconrad@0c3.net>
11039
11040 * configure.in: Autodetect C++ header directories.
11041 * configure: Regenerated.
11042
800938a1
MF
110432012-11-23 Mike Frysinger <vapier@gentoo.org>
11044
11045 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11046
4e6e34e6
AS
110472012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11048
11049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11050
7c7feb47
JM
110512012-11-22 Joseph Myers <joseph@codesourcery.com>
11052
7184dcdf
JM
11053 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11054 LDBL_MANT_DIG == 106]: Disable some tests.
11055 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11056 Likewise.
11057 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11058 Likewise.
11059
0a42601f
JM
11060 [BZ #14871]
11061 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11062 input for small inputs. Return +/- pi/2 for large inputs.
11063 * math/libm-test.inc (atan_test): Add more tests.
11064
79c9b9fe
JM
11065 * sysdeps/generic/unwind-dw2-fde-glibc.c
11066 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11067 __attribute__ ((unused)).
11068
c60d3bf2
JM
11069 [BZ #14645]
11070 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11071 x * y if x and y are nonzero and z is zero.
11072
ef1e0867
JM
11073 [BZ #14811]
11074 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11075 nonzero exponents with absolute value below 0x1p-117 to +/-
11076 0x1p-117.
11077
1468ded3
JM
11078 [BZ #14869]
11079 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11080 up arguments below 2**-450, not just those below 2**-500.
11081 * math/libm-test.inc (hypot_test): Add another test.
11082
8e27e3cc
JM
11083 [BZ #14868]
11084 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11085 Return a+b for ratio over 2**120, not 2**60.
11086 * math/libm-test.inc (hypot_test): Add another test.
11087
c9c0279b
JM
11088 * math/libm-test.inc (clog_test): Use
11089 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11090 (clog10_test): Likewise.
11091
7c7feb47
JM
11092 [BZ #6778]
11093 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11094
fff1530e
AS
110952012-11-22 Andreas Schwab <schwab@suse.de>
11096
11097 * sysdeps/i386/fpu/libm-test-ulps: Update.
11098
94558d30
PT
110992012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11100
11101 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11102 printf output with newline.
11103
7e1be741
L
111042012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11105
6bfea974
L
11106 [BZ #14865]
11107 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11108 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11109 -z nodlopen, -z initfirst and -z execstack support.
11110 * configure: Regenerated.
11111
7e1be741
L
11112 * elf/elf.h (DF_1_NODIRECT): New macro.
11113 (DF_1_IGNMULDEF): Likewise.
11114 (DF_1_NOKSYMS): Likewise.
11115 (DF_1_NOHDR): Likewise.
11116 (DF_1_EDITED): Likewise.
11117 (DF_1_NORELOC): Likewise.
11118 (DF_1_SYMINTPOSE): Likewise.
11119 (DF_1_GLOBAUDIT): Likewise.
11120 (DF_1_SINGLETON): Likewise.
11121 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11122 DT_1_SUPPORTED_MASK bits.
11123 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11124
105ce2ce
CD
111252012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11126
11127 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11128
123be9de
TS
111292012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11130
d072f3f7
TS
11131 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11132 macro.
11133
123be9de
TS
11134 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11135 (sendmmsg): Move declarations...
11136 * socket/sys/socket.h: ... here.
11137 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11138 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11139 include it from...
11140 * socket/recvmmsg.c: ... this new file.
11141 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11142 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11143 definition of __sendmmsg hidden.
11144 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11145 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11146 Move ENOSYS stub into and include it from...
11147 * socket/sendmmsg.c: ... this new file.
11148 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11149 (sysdep_routines): Move recvmmsg and sendmmsg...
11150 * socket/Makefile (routines): ... here.
11151 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11152 (GLIBC_PRIVATE): Add __sendmmsg.
11153 * include/sys/socket.h (__sendmmsg): Add declarations.
11154 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11155 sendmmsg.
11156
cf9a5d18
JM
111572012-11-20 Joseph Myers <joseph@codesourcery.com>
11158
11159 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11160 variable I1 with __attribute__ ((unused)).
11161 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11162
ecd4caf9
JM
111632012-11-19 Joseph Myers <joseph@codesourcery.com>
11164
be14d48f
JM
11165 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11166 DUMMY variables with __attribute__ ((unused)).
11167
ecd4caf9
JM
11168 * bits/byteswap.h: Include <bits/types.h>.
11169 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11170
986cab95
PT
111712012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11172
11173 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11174 string_t. Do not manually set errno.
11175 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11176 length with __strnlen. Make sure to both set errno and return it on
11177 failure.
11178
6d33cc9d
DM
111792012-11-19 David S. Miller <davem@davemloft.net>
11180
11181 With help from Joseph Myers.
11182 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11183 very large arguments properly.
11184 * math/libm-test.inc (atan_test): New tests.
11185 (atan2_test): New tests.
11186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11188
ee663277
JM
111892012-11-19 Joseph Myers <joseph@codesourcery.com>
11190
877f2d8e
JM
11191 [BZ #14856]
11192 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11193 Define to 3.
11194
116fc08a
JM
11195 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11196 [POSIX] (EADDRNOTAVAIL): Likewise.
11197 [POSIX] (EAFNOSUPPORT): Likewise.
11198 [POSIX] (EALREADY): Likewise.
11199 [POSIX] (ECONNABORTED): Likewise.
11200 [POSIX] (ECONNREFUSED): Likewise.
11201 [POSIX] (ECONNRESET): Likewise.
11202 [POSIX] (EDESTADDRREQ): Likewise.
11203 [POSIX] (EDQUOT): Likewise.
11204 [POSIX] (EHOSTUNREACH): Likewise.
11205 [POSIX] (EIDRM): Likewise.
11206 [POSIX] (EISCONN): Likewise.
11207 [POSIX] (ELOOP): Likewise.
11208 [POSIX] (EMULTIHOP): Likewise.
11209 [POSIX] (ENETDOWN): Likewise.
11210 [POSIX] (ENETUNREACH): Likewise.
11211 [POSIX] (ENOBUFS): Likewise.
11212 [POSIX] (ENODATA): Likewise.
11213 [POSIX] (ENOLINK): Likewise.
11214 [POSIX] (ENOMSG): Likewise.
11215 [POSIX] (ENOPROTOOPT): Likewise.
11216 [POSIX] (ENOSR): Likewise.
11217 [POSIX] (ENOSTR): Likewise.
11218 [POSIX] (ENOTCONN): Likewise.
11219 [POSIX] (ENOTSOCK): Likewise.
11220 [POSIX] (EOPNOTSUPP): Likewise.
11221 [POSIX] (EOVERFLOW): Likewise.
11222 [POSIX] (EPROTO): Likewise.
11223 [POSIX] (EPROTONOSUPPORT): Likewise.
11224 [POSIX] (EPROTOTYPE): Likewise.
11225 [POSIX] (ESTALE): Likewise.
11226 [POSIX] (ETIME): Likewise.
11227 [POSIX] (ETXTBSY): Likewise.
11228 [POSIX] (EWOULDBLOCK): Likewise.
11229 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11230 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11231 [POSIX] (SEEK_CUR): Likewise.
11232 [POSIX] (SEEK_END): Likewise.
11233 [POSIX || UNIX98] (mode_t): Do not require.
11234 [POSIX] (off_t): Likewise.
11235 [POSIX] (pid_t): Likewise.
11236 [POSIX] (sys/stat.h): Do not allow header.
11237 [POSIX] (unistd.h): Likewise.
11238 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11239 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11240 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11241 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11242 require.
11243 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11244 sigevent): Specify elements.
11245 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11246 entry.
11247 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11248 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11249
a483863f
JM
11250 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11251 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11252 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11253 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11254 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11255 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11256 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11257 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11258 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11259 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11260 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11261 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11262 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11263 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11264 Likewise.
11265 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11266 Likewise.
11267 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11268 Likewise.
11269 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11270 Likewise.
11271 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11272 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11273 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11274 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11275 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11276 Specify lower bound on value.
11277 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11278 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11279 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11280 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11281 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11282 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11283 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11284 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11285 value.
11286 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11287 as optional.
11288 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11289 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11290 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11291 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11292 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11293 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11294 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11295 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11296 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11297 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11298 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11299 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11300 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11301 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11302 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11303 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11304 entry.
11305 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11306 optional.
11307 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11308 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11309 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11310 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11311 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11312 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11313 Likewise.
11314 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11315 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11316 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11317 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11318 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11319 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11320 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11321 as optional.
11322 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11323 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11324 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11325 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11326 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11327 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11328 specify as optional.
11329 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11330 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11331 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11332 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11333 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11334 [XPG3] (NL_LANGMAX): Likewise.
11335 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11336 [POSIX || XPG3] (NL_NMAX): Likewise.
11337 [POSIX || XPG3] (NL_SETMAX): Likewise.
11338 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11339 [XPG3] (NZERO): Likewise.
11340 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11341 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11342 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11343 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11344 (REG_ERANGE): Expect.
11345 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11346 optional-constant.
11347 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11348 Use (void) in prototype.
11349 [POSIX] (*_t): Allow.
11350 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11351 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11352 (WRDE_BADVAL): Expect.
11353
5ba924e3
JM
11354 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11355 expect.
11356 [XPG3 || XPG4] (O_RSYNC): Likewise.
11357 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11358 Likewise.
11359 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11360 [XPG3 || XPG4] (sigqueue): Likewise.
11361 [XPG3 || XPG4] (sigtimedwait): Likewise.
11362 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11363 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11364 [XPG3 || XPG4] (vsnprintf): Likewise.
11365 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11366 Likewise.
11367 [XPG3 || XPG4] (blksize_t): Likewise.
11368 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11369 Likewise.
11370 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11371 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11372 [XPG3 || XPG4] (struct itimerspec): Likewise.
11373 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11374 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11375 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11376 [XPG3 || XPG4] (clockid_t): Likewise.
11377 [XPG3 || XPG4] (timer_t): Likewise.
11378 [XPG3 || XPG4] (clock_getres): Likewise.
11379 [XPG3 || XPG4] (clock_gettime): Likewise.
11380 [XPG3 || XPG4] (clock_settime): Likewise.
11381 [XPG3 || XPG4] (nanosleep): Likewise.
11382 [XPG3 || XPG4] (timer_create): Likewise.
11383 [XPG3 || XPG4] (timer_delete): Likewise.
11384 [XPG3 || XPG4] (timer_gettime): Likewise.
11385 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11386 [XPG3 || XPG4] (timer_settime): Likewise.
11387 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11388 [XPG3 || XPG4] (getlogin_r): Likewise.
11389 [XPG3 || XPG4] (pread): Likewise.
11390 [XPG3 || XPG4] (pthread_atfork): Likewise.
11391 [XPG3 || XPG4] (pwrite): Likewise.
11392
ee663277
JM
11393 [BZ #14835]
11394 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11395 <bits/siginfo.h>.
11396
942caa16
PT
113972012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11398
e19af380
PT
11399 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11400 finalizing MALLSTREAM.
11401
942caa16
PT
11402 * sysdeps/mach/hurd/syncfs.c: New file.
11403
cfde9b46
SP
114042012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11405
11406 [BZ #14719]
11407 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11408 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11409 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11410 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11411 (_nss_dns_gethostbyname4_r): Likewise.
11412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11413 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11414
f6da27e5
PH
114152012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11416
11417 [BZ #13763]
11418 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11419
6665d4a2
SM
114202012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11421
1f51ee92
SM
11422 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11423 * elf/cache.c (print_entry): Print ",AArch64" for
11424 FLAG_AARCH64_LIB64
11425
6665d4a2
SM
11426 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11427 * elf/cache.c (print_entry): Print ",hard-float" for
11428 FLAG_ARM_LIBHF.
11429
05b227bd
DM
114302012-11-18 David S. Miller <davem@davemloft.net>
11431
11432 With help from Joseph Myers.
11433 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11434 cutoff to 2**-13.
11435 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11436 cutoff to 2**-25.
11437 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11438 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11439 small.
11440 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11441 * math/libm-test.inc (y0_test): New tests.
11442 (y1_test): New tests.
11443 * sysdeps/i386/fpu/libm-test-ulps: Update.
11444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11446
786b0b67
AS
114472012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11448
11449 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11450 64-bit targets.
11451 * configure: Regenerated.
11452
8e18b86d
DM
114532012-11-17 David S. Miller <davem@davemloft.net>
11454
11455 [BZ #14811]
11456 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11457 nonzero exponents with absolute value below 0x1p-128 to +/-
11458 0x1p-128.
11459
531f1ae0
JM
114602012-11-17 Joseph Myers <joseph@codesourcery.com>
11461
12df29e2
JM
11462 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11463
150dc1a0
JM
11464 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11465
531f1ae0
JM
11466 * posix/getconf-speclist.c: New file.
11467 * posix/posix-envs.def: Likewise.
11468 * posix/confstr.c (START_ENV_GROUP): New macro.
11469 (END_ENV_GROUP): Likewise.
11470 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11471 (KNOWN_PRESENT_ENV_STRING): Likewise.
11472 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11473 (UNKNOWN_ENVIRONMENT): Likewise.
11474 (confstr): Include posix-envs.def instead of handling
11475 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11476 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11477 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11478 (END_ENV_GROUP): Likewise.
11479 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11480 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11481 (UNKNOWN_ENVIRONMENT): Likewise.
11482 (__sysconf): Include posix-envs.def instead of handling associated
11483 cases directly here.
11484 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11485 preprocessing getconf-speclist.c rather than running getconf or
11486 generating empty file.
11487
a93f9cbc
PT
114882012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11489
11490 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11491
d64d9f87
AL
114922012-11-16 Andrej Lajovic <natrij@gmail.com>
11493
11494 [BZ #14672]
11495 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11496
447885eb
DM
114972012-11-16 David S. Miller <davem@davemloft.net>
11498
11499 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11500 smaller than LDBL_EPSILON/2.0L, just return xm1.
11501
bcbf9830
L
115022012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11503
11504 * elf/tst-array1.c (init): Set constructor priority to 1000.
11505 (fini): Set destructor priority to 1000.
11506 * elf/tst-array2dep.c: Likewise.
11507
2b766585
SP
115082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11509
11510 [BZ #11741]
11511 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11512 (_IO_new_file_xsputn): Also return EOF if none of the input
11513 data was written when overflow failed.
11514 * libio/iopadn.c (_IO_padn): Likewise.
11515 * libio/iowpadn.c (_IO_wpadn): Likewise.
11516 * stdio-common/tst-put-error.c: Add copyright notice.
11517 (do_test): Add case for printing padded string.
11518 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11519 _IO_padn returned error.
11520 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11521 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11522 return EOF.
11523
b1848fde
SP
115242012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11525
11526 * libio/libioP.h: Add comment note that the references to C++
11527 bits are now obsolete.
11528
2fd89785
MS
115292012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11530
11531 * math/libm-test.inc (check_complex): Use asprintf.
11532
e3ea5409
JM
115332012-11-14 Joseph Myers <joseph@codesourcery.com>
11534
11535 * debug/pcprofiledump.c (print_version): Update copyright year.
11536 * malloc/memusagestat.c (print_version): Likewise.
11537
2e64d265
L
115382012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11539
11540 [BZ #14831]
11541 * elf/Makefile (tests): Add tst-audit8.
11542 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11543 ($(objpfx)tst-audit8.out): New target.
11544 (tst-audit8-ENV): New variable.
11545 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11546 audit if l_reloc_result is NULL.
11547 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11548 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11549 * elf/tst-audit8.c: New file.
11550
c485e4d2
MS
115512012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11552
11553 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11554 * misc/Makefile (CFLAGS-select.c): Define.
11555 * posix/Makefile (CFLAGS-pause.c): Define.
11556
3a0d900a
DM
115572012-11-13 David S. Miller <davem@davemloft.net>
11558
11559 * crypt/Makefile: Move test targets after toplevel Rules
11560 inclusion. Grab any necessary sysdep routines when linking.
11561 * crypt/md5.c (md5_process_block): Remove define, we will always
11562 name it __md5_process_block.
11563 (md5_finish_ctx): Update md5_process_block call.
11564 (md5_stream): Likewise.
11565 (md5_process_bytes): Likewise.
11566 (md5_process_block): Rename to __md5_process_block and move to ...
11567 * crypt/md5-block.c: ... here.
11568 * crypt/sha256.c (sha256_process_block): Move to ...
11569 * crypt/sha256-block.c: ... here.
11570 * crypt/sha512.c (sha512_process_block): Move to ...
11571 * crypt/sha512-block.c: ... here.
11572 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11573 path.
11574 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11575 * sysdeps/sparc/sparc64/multiarch/Makefile
11576 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11577 crypt subdir.
11578 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11579 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11580 multiarch changes.
11581 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11582 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11583 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11584 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11585 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11586 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11587 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11588 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11589 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11590 file.
11591 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11592 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11593 file.
11594 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11595
8ca89318
JM
115962012-11-13 Joseph Myers <joseph@codesourcery.com>
11597
e27d476a
JM
11598 * timezone/tzselect.ksh: Update from tzcode git revision
11599 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11600 * timezone/zdump.c: Likewise.
11601 * timezone/zic.c: Likewise.
11602 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11603 in TZVERSION setting, not $(PKGVERSION).
11604 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11605 REPORT_BUGS_TO settings.
11606
8ca89318
JM
11607 [BZ #14838]
11608 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11609 macro.
11610
47594329
MS
116112012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11612
11613 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11614 detection to immediately after _FP_ROUND().
11615 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11616 bits are 0.
11617
640ac3f1
DM
116182012-11-11 David S. Miller <davem@davemloft.net>
11619
11620 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11621 inttypes.h
11622 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11623 __close rather than their public counterparts.
11624
3d2577bb
JM
116252012-11-10 Joseph Myers <joseph@codesourcery.com>
11626
11627 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11628 file.
11629 [UNIX98] (sem_timedwait): Do not expect.
11630 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11631 [XPG4 || UNIX98] (sockatmark): Do not expect.
11632 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11633 (clock_getcpuclockid): Do not expect.
11634 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11635 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11636 Do not expect.
11637 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11638 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11639 [UNIX98] (vwscanf): Likewise.
11640 [UNIX98] (vswscanf): Likewise.
11641
fb1ae1ee
JM
116422012-11-09 Joseph Myers <joseph@codesourcery.com>
11643
9ec6f8bd
JM
11644 * timezone/version.h: Remove file.
11645 * timezone/README: Do not refer to version.h.
11646 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11647 $(objpfx)version.h.
11648 ($(objpfx)zdump.o): Likewise.
c3f81911 11649 ($(objpfx)version.h): New target.
9ec6f8bd 11650
0aa8f8a1
JM
11651 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11652 2012i.
11653 * timezone/README: Don't mention modification to tzselect.ksh.
11654 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11655 work on unmodified tzselect.ksh. Substitute version numbers in
11656 tzselect.ksh.
11657
4e87147f
JM
11658 * Makefile (format-me): Remove.
11659 (INSTALL): Adjust indentation. Use commands directly instead of
11660 using $(format-me).
11661
8b748aed
JM
11662 * aclocal.m4 (ACX_PKGVERSION): New macro.
11663 (ACX_BUGURL): Likewise.
11664 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11665 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11666 (REPORT_BUGS_TO): Likewise.
11667 * configure: Regenerated.
11668 * config.h.in (PKGVERSION): New macro.
11669 (REPORT_BUGS_TO): Likewise.
11670 * config.make.in (PKGVERSION): New variable.
11671 (PKGVERSION_TEXI): Likewise.
11672 (REPORT_BUGS_TO): Likewise.
11673 (REPORT_BUGS_TEXI): Likewise.
11674 * Makefile (format-me): Use -I$(common-objpfx)manual.
11675 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11676 ($(common-objpfx)manual/%): New target.
11677 (manual/%): Remove target.
11678 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11679 (print_version): Use PKGVERSION.
11680 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11681 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11682 and REPORT_BUGS_TO.
11683 ($(objpfx)xtrace): Likewise.
11684 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11685 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11686 (print_version): Use PKGVERSION.
11687 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11688 (do_version): Use PKGVERSION.
11689 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11690 REPORT_BUGS_TO.
11691 (common-ldd-rewrite): Likewise.
11692 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11693 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11694 (print_version): Use PKGVERSION.
11695 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11696 * elf/pldd.c (argp_program_bug_address): Remove variable.
11697 (more_help): New function.
11698 (argp): Use more_help.
11699 (print_version): Use PKGVERSION.
11700 * elf/sln.c (main): Use PKGVERSION.
11701 (usage): Use REPORT_BUGS_TO.
11702 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11703 (top level): Use PKGVERSION.
11704 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11705 (print_version): Use PKGVERSION.
11706 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11707 (print_version): Use PKGVERSION.
11708 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11709 (print_version): Use PKGVERSION.
11710 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11711 (print_version): Use PKGVERSION.
11712 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11713 (print_version): Use PKGVERSION.
11714 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11715 (print_version): Use PKGVERSION.
11716 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11717 and BUGURL.
11718 ($(objpfx)memusage): Likewise.
11719 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11720 (do_version): Use PKGVERSION.
11721 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11722 (print_version): Use PKGVERSION.
11723 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11724 ($PKGVERSION): New variable.
11725 ($REPORT_BUGS_TO): Likewise.
11726 (usage): Use $REPORT_BUGS_TO.
11727 (top level): Use $PKGVERSION.
11728 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11729 ($(objpfx)pkgvers.texi): New rule.
11730 ($(objpfx)stamp-pkgvers): Likewise.
11731 * manual/install.texi: Include pkgvers.texi.
11732 (--with-pkgversion): Document new configure option.
11733 (--with-bugurl): Likewise.
11734 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11735 than necessarily for this particular distribution. Use
11736 REPORT_BUGS_TO for where to report bugs.
11737 * INSTALL: Regenerated.
11738 * manual/libc.texinfo: Include pkgvers.texi.
11739 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11740 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11741 (print_version): Use PKGVERSION.
11742 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11743 (print_version): Use PKGVERSION.
11744 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11745 (print_version): Use PKGVERSION.
11746 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11747 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11748 macro.
11749 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11750 (print_version): Use PKGVERSION.
11751 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11752 (print_version): Use PKGVERSION.
11753 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11754 and PKGVERSION.
11755
92e4b6a9
JM
11756 * timezone/checktab.awk: Update from tzcode 2012i.
11757 * timezone/ialloc.c: Likewise.
11758 * timezone/private.h: Likewise.
11759 * timezone/scheck.c: Likewise.
11760 * timezone/tzfile.h: Likewise.
11761 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11762 (TZVERSION): Hardcode tzcode version number.
11763 * timezone/zdump.c: Update from tzcode 2012i.
11764 * timezone/zic.c: Likewise.
11765 * timezone/version.h: New file.
11766 * timezone/README: Describe version.h. Update upstream location.
11767
9bde902c
JM
11768 [BZ #14824]
11769 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11770 (mktemp): Enable declaration.
11771 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11772 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11773 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11774 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11775 Likewise.
11776 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11777 Likewise.
11778 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11779 Likewise.
11780 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11781 Likewise.
11782 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11783 Likewise.
11784 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11785 Likewise.
11786
fb1ae1ee
JM
11787 [BZ #14821]
11788 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11789 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11790 for copies of such integer values.
11791 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11792 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11793
2c1adbcb
AJ
117942012-11-09 Andreas Jaeger <aj@suse.de>
11795
11796 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11797 definitions and declarations that are provided by
11798 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11799
d0f8457e
AK
118002012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11801
3a235abb 11802 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11803 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11804 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11805 definition.
11806
57241e26
MS
118072012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11808
11809 * elf/elf.h: Update comment before AArch64 relocations.
11810
60e8270d
DM
118112012-11-07 David S. Miller <davem@davemloft.net>
11812
11813 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11814 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11815 (__start_context): Declare.
11816 (__makecontext_ret): Delete.
11817 (__makecontext): Hook up __start_context instead of
11818 __makecontext_ret.
11819 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11820 (sysdep_routines): Add __start_context when in stdlib.
11821
0fbb0fbc
JM
118222012-11-07 Joseph Myers <joseph@codesourcery.com>
11823
11824 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11825 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11826 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11827 hardcoded "nm".
11828 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11829 (READELF): New variable. Use it instead of hardcoded "readelf".
11830
eb48db7e
L
118312012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11832
11833 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11834 * sysdeps/x86/Makefile: Here.
11835 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11836 * sysdeps/x86/tst-xmmymm.sh: This.
11837
05bcf62a
JM
118382012-11-07 Joseph Myers <joseph@codesourcery.com>
11839
c4b6cf53
JM
11840 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11841 expectations.
11842 [UNIX98] (pthread_barrier_t): Do not expect.
11843 [UNIX98] (pthread_barrierattr_t): Likewise.
11844 [UNIX98] (pthread_spinlock_t): Likewise.
11845 [UNIX98] (pthread_barrier_destroy): Likewise.
11846 [UNIX98] (pthread_barrier_init): Likewise.
11847 [UNIX98] (pthread_barrier_wait): Likewise.
11848 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11849 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11850 [UNIX98] (pthread_barrierattr_init): Likewise.
11851 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11852 [UNIX98] (pthread_getcpuclockid): Likewise.
11853 [UNIX98] (pthread_mutex_timedlock): Likewise.
11854 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11855 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11856 [UNIX98] (pthread_sigmask): Likewise.
11857 [UNIX98] (pthread_spin_destroy): Likewise.
11858 [UNIX98] (pthread_spin_init): Likewise.
11859 [UNIX98] (pthread_spin_lock): Likewise.
11860 [UNIX98] (pthread_spin_trylock): Likewise.
11861 [UNIX98] (pthread_spin_unlock): Likewise.
11862 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11863 Do not expect.
11864 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11865 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11866 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11867 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11868 [XPG3 || XPG4] (pthread_key_t): Likewise.
11869 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11870 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11871 [XPG3 || XPG4] (pthread_once_t): Likewise.
11872 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11873 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11874 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11875 [XPG3 || XPG4] (pthread_t): Likewise.
11876
cbe6e120
JM
11877 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11878 not expect.
11879 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11880
1b126443
JM
11881 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11882 Change function return type to int.
11883
b961a573
JM
11884 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11885 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11886 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11887 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11888 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11889 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11890 [!POSIX] (posix_madvise): Likewise.
11891 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11892 && !UNIX98].
11893 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11894 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11895 (mode_t): Likewise.
11896 (posix_mem_offset): Likewise.
11897 (posix_typed_mem_get_info): Likewise.
11898 (posix_typed_mem_open): Likewise.
11899
9e188909
JM
11900 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11901 Change condition to [XOPEN2K8].
11902
05bcf62a
JM
11903 * conform/conformtest.pl: Preprocess allow-header data with -x c
11904 instead of from stdin.
11905 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11906 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11907 [C99-based standards] (cerfc): Likewise.
11908 [C99-based standards] (cexp2): Likewise.
11909 [C99-based standards] (cexpm1): Likewise.
11910 [C99-based standards] (clog10): Likewise.
11911 [C99-based standards] (clog1p): Likewise.
11912 [C99-based standards] (clog2): Likewise.
11913 [C99-based standards] (clgamma): Likewise.
11914 [C99-based standards] (ctgamma): Likewise.
11915 [C99-based standards] (cerff): Likewise.
11916 [C99-based standards] (cerfcf): Likewise.
11917 [C99-based standards] (cexp2f): Likewise.
11918 [C99-based standards] (cexpm1f): Likewise.
11919 [C99-based standards] (clog10f): Likewise.
11920 [C99-based standards] (clog1pf): Likewise.
11921 [C99-based standards] (clog2f): Likewise.
11922 [C99-based standards] (clgammaf): Likewise.
11923 [C99-based standards] (ctgammaf): Likewise.
11924 [C99-based standards] (cerfl): Likewise.
11925 [C99-based standards] (cerfcl): Likewise.
11926 [C99-based standards] (cexp2l): Likewise.
11927 [C99-based standards] (cexpm1l): Likewise.
11928 [C99-based standards] (clog10l): Likewise.
11929 [C99-based standards] (clog1pl): Likewise.
11930 [C99-based standards] (clog2l): Likewise.
11931 [C99-based standards] (clgammal): Likewise.
11932 [C99-based standards] (ctgammal): Likewise.
11933 * conform/data/inttypes.h-data [C99-based standards]: Include
11934 stdint.h-data. Remove all expectations for stdint.h contents.
11935 [C99-based standards] (PRI*): Do not allow.
11936 [C99-based standards] (SCN*): Likewise.
11937 [C99-based standards] (*_t): Likewise.
11938 [C99-based-standards] (PRId8): Expect macro.
11939 [C99-based-standards] (PRIi8): Likewise.
11940 [C99-based-standards] (PRIo8): Likewise.
11941 [C99-based-standards] (PRIu8): Likewise.
11942 [C99-based-standards] (PRIx8): Likewise.
11943 [C99-based-standards] (PRIX8): Likewise.
11944 [C99-based-standards] (SCNd8): Likewise.
11945 [C99-based-standards] (SCNi8): Likewise.
11946 [C99-based-standards] (SCNo8): Likewise.
11947 [C99-based-standards] (SCNu8): Likewise.
11948 [C99-based-standards] (SCNx8): Likewise.
11949 [C99-based-standards] (PRIdLEAST8): Likewise.
11950 [C99-based-standards] (PRIiLEAST8): Likewise.
11951 [C99-based-standards] (PRIoLEAST8): Likewise.
11952 [C99-based-standards] (PRIuLEAST8): Likewise.
11953 [C99-based-standards] (PRIxLEAST8): Likewise.
11954 [C99-based-standards] (PRIXLEAST8): Likewise.
11955 [C99-based-standards] (SCNdLEAST8): Likewise.
11956 [C99-based-standards] (SCNiLEAST8): Likewise.
11957 [C99-based-standards] (SCNoLEAST8): Likewise.
11958 [C99-based-standards] (SCNuLEAST8): Likewise.
11959 [C99-based-standards] (SCNxLEAST8): Likewise.
11960 [C99-based-standards] (PRIdFAST8): Likewise.
11961 [C99-based-standards] (PRIiFAST8): Likewise.
11962 [C99-based-standards] (PRIoFAST8): Likewise.
11963 [C99-based-standards] (PRIuFAST8): Likewise.
11964 [C99-based-standards] (PRIxFAST8): Likewise.
11965 [C99-based-standards] (PRIXFAST8): Likewise.
11966 [C99-based-standards] (SCNdFAST8): Likewise.
11967 [C99-based-standards] (SCNiFAST8): Likewise.
11968 [C99-based-standards] (SCNoFAST8): Likewise.
11969 [C99-based-standards] (SCNuFAST8): Likewise.
11970 [C99-based-standards] (SCNxFAST8): Likewise.
11971 [C99-based-standards] (PRId16): Likewise.
11972 [C99-based-standards] (PRIi16): Likewise.
11973 [C99-based-standards] (PRIo16): Likewise.
11974 [C99-based-standards] (PRIu16): Likewise.
11975 [C99-based-standards] (PRIx16): Likewise.
11976 [C99-based-standards] (PRIX16): Likewise.
11977 [C99-based-standards] (SCNd16): Likewise.
11978 [C99-based-standards] (SCNi16): Likewise.
11979 [C99-based-standards] (SCNo16): Likewise.
11980 [C99-based-standards] (SCNu16): Likewise.
11981 [C99-based-standards] (SCNx16): Likewise.
11982 [C99-based-standards] (PRIdLEAST16): Likewise.
11983 [C99-based-standards] (PRIiLEAST16): Likewise.
11984 [C99-based-standards] (PRIoLEAST16): Likewise.
11985 [C99-based-standards] (PRIuLEAST16): Likewise.
11986 [C99-based-standards] (PRIxLEAST16): Likewise.
11987 [C99-based-standards] (PRIXLEAST16): Likewise.
11988 [C99-based-standards] (SCNdLEAST16): Likewise.
11989 [C99-based-standards] (SCNiLEAST16): Likewise.
11990 [C99-based-standards] (SCNoLEAST16): Likewise.
11991 [C99-based-standards] (SCNuLEAST16): Likewise.
11992 [C99-based-standards] (SCNxLEAST16): Likewise.
11993 [C99-based-standards] (PRIdFAST16): Likewise.
11994 [C99-based-standards] (PRIiFAST16): Likewise.
11995 [C99-based-standards] (PRIoFAST16): Likewise.
11996 [C99-based-standards] (PRIuFAST16): Likewise.
11997 [C99-based-standards] (PRIxFAST16): Likewise.
11998 [C99-based-standards] (PRIXFAST16): Likewise.
11999 [C99-based-standards] (SCNdFAST16): Likewise.
12000 [C99-based-standards] (SCNiFAST16): Likewise.
12001 [C99-based-standards] (SCNoFAST16): Likewise.
12002 [C99-based-standards] (SCNuFAST16): Likewise.
12003 [C99-based-standards] (SCNxFAST16): Likewise.
12004 [C99-based-standards] (PRId32): Likewise.
12005 [C99-based-standards] (PRIi32): Likewise.
12006 [C99-based-standards] (PRIo32): Likewise.
12007 [C99-based-standards] (PRIu32): Likewise.
12008 [C99-based-standards] (PRIx32): Likewise.
12009 [C99-based-standards] (PRIX32): Likewise.
12010 [C99-based-standards] (SCNd32): Likewise.
12011 [C99-based-standards] (SCNi32): Likewise.
12012 [C99-based-standards] (SCNo32): Likewise.
12013 [C99-based-standards] (SCNu32): Likewise.
12014 [C99-based-standards] (SCNx32): Likewise.
12015 [C99-based-standards] (PRIdLEAST32): Likewise.
12016 [C99-based-standards] (PRIiLEAST32): Likewise.
12017 [C99-based-standards] (PRIoLEAST32): Likewise.
12018 [C99-based-standards] (PRIuLEAST32): Likewise.
12019 [C99-based-standards] (PRIxLEAST32): Likewise.
12020 [C99-based-standards] (PRIXLEAST32): Likewise.
12021 [C99-based-standards] (SCNdLEAST32): Likewise.
12022 [C99-based-standards] (SCNiLEAST32): Likewise.
12023 [C99-based-standards] (SCNoLEAST32): Likewise.
12024 [C99-based-standards] (SCNuLEAST32): Likewise.
12025 [C99-based-standards] (SCNxLEAST32): Likewise.
12026 [C99-based-standards] (PRIdFAST32): Likewise.
12027 [C99-based-standards] (PRIiFAST32): Likewise.
12028 [C99-based-standards] (PRIoFAST32): Likewise.
12029 [C99-based-standards] (PRIuFAST32): Likewise.
12030 [C99-based-standards] (PRIxFAST32): Likewise.
12031 [C99-based-standards] (PRIXFAST32): Likewise.
12032 [C99-based-standards] (SCNdFAST32): Likewise.
12033 [C99-based-standards] (SCNiFAST32): Likewise.
12034 [C99-based-standards] (SCNoFAST32): Likewise.
12035 [C99-based-standards] (SCNuFAST32): Likewise.
12036 [C99-based-standards] (SCNxFAST32): Likewise.
12037 [C99-based-standards] (PRId64): Likewise.
12038 [C99-based-standards] (PRIi64): Likewise.
12039 [C99-based-standards] (PRIo64): Likewise.
12040 [C99-based-standards] (PRIu64): Likewise.
12041 [C99-based-standards] (PRIx64): Likewise.
12042 [C99-based-standards] (PRIX64): Likewise.
12043 [C99-based-standards] (SCNd64): Likewise.
12044 [C99-based-standards] (SCNi64): Likewise.
12045 [C99-based-standards] (SCNo64): Likewise.
12046 [C99-based-standards] (SCNu64): Likewise.
12047 [C99-based-standards] (SCNx64): Likewise.
12048 [C99-based-standards] (PRIdLEAST64): Likewise.
12049 [C99-based-standards] (PRIiLEAST64): Likewise.
12050 [C99-based-standards] (PRIoLEAST64): Likewise.
12051 [C99-based-standards] (PRIuLEAST64): Likewise.
12052 [C99-based-standards] (PRIxLEAST64): Likewise.
12053 [C99-based-standards] (PRIXLEAST64): Likewise.
12054 [C99-based-standards] (SCNdLEAST64): Likewise.
12055 [C99-based-standards] (SCNiLEAST64): Likewise.
12056 [C99-based-standards] (SCNoLEAST64): Likewise.
12057 [C99-based-standards] (SCNuLEAST64): Likewise.
12058 [C99-based-standards] (SCNxLEAST64): Likewise.
12059 [C99-based-standards] (PRIdFAST64): Likewise.
12060 [C99-based-standards] (PRIiFAST64): Likewise.
12061 [C99-based-standards] (PRIoFAST64): Likewise.
12062 [C99-based-standards] (PRIuFAST64): Likewise.
12063 [C99-based-standards] (PRIxFAST64): Likewise.
12064 [C99-based-standards] (PRIXFAST64): Likewise.
12065 [C99-based-standards] (SCNdFAST64): Likewise.
12066 [C99-based-standards] (SCNiFAST64): Likewise.
12067 [C99-based-standards] (SCNoFAST64): Likewise.
12068 [C99-based-standards] (SCNuFAST64): Likewise.
12069 [C99-based-standards] (SCNxFAST64): Likewise.
12070 [C99-based-standards] (PRIdMAX): Likewise.
12071 [C99-based-standards] (PRIiMAX): Likewise.
12072 [C99-based-standards] (PRIoMAX): Likewise.
12073 [C99-based-standards] (PRIuMAX): Likewise.
12074 [C99-based-standards] (PRIxMAX): Likewise.
12075 [C99-based-standards] (PRIXMAX): Likewise.
12076 [C99-based-standards] (SCNdMAX): Likewise.
12077 [C99-based-standards] (SCNiMAX): Likewise.
12078 [C99-based-standards] (SCNoMAX): Likewise.
12079 [C99-based-standards] (SCNuMAX): Likewise.
12080 [C99-based-standards] (SCNxMAX): Likewise.
12081 [C99-based-standards] (PRIdPTR): Likewise.
12082 [C99-based-standards] (PRIiPTR): Likewise.
12083 [C99-based-standards] (PRIoPTR): Likewise.
12084 [C99-based-standards] (PRIuPTR): Likewise.
12085 [C99-based-standards] (PRIxPTR): Likewise.
12086 [C99-based-standards] (PRIXPTR): Likewise.
12087 [C99-based-standards] (SCNdPTR): Likewise.
12088 [C99-based-standards] (SCNiPTR): Likewise.
12089 [C99-based-standards] (SCNoPTR): Likewise.
12090 [C99-based-standards] (SCNuPTR): Likewise.
12091 [C99-based-standards] (SCNxPTR): Likewise.
12092 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12093 allow.
12094 * conform/data/stdint.h-data: Update comments to clarify
12095 requirements.
12096 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12097 type.
12098 [C99-based standards] (INT8_MAX): Likewise.
12099 [C99-based standards] (INT16_MIN): Likewise.
12100 [C99-based standards] (INT16_MAX): Likewise.
12101 [C99-based standards] (INT32_MIN): Likewise.
12102 [C99-based standards] (INT32_MAX): Likewise.
12103 [C99-based standards] (INT64_MIN): Likewise.
12104 [C99-based standards] (INT64_MAX): Likewise.
12105 [C99-based standards] (UINT8_MAX): Likewise.
12106 [C99-based standards] (UINT16_MAX): Likewise.
12107 [C99-based standards] (UINT32_MAX): Likewise.
12108 [C99-based standards] (UINT64_MAX): Likewise.
12109 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12110 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12111 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12112 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12113 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12114 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12115 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12116 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12117 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12118 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12119 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12120 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12121 [C99-based standards] (INT_FAST8_MIN): Likewise.
12122 [C99-based standards] (INT_FAST8_MAX): Likewise.
12123 [C99-based standards] (INT_FAST16_MIN): Likewise.
12124 [C99-based standards] (INT_FAST16_MAX): Likewise.
12125 [C99-based standards] (INT_FAST32_MIN): Likewise.
12126 [C99-based standards] (INT_FAST32_MAX): Likewise.
12127 [C99-based standards] (INT_FAST64_MIN): Likewise.
12128 [C99-based standards] (INT_FAST64_MAX): Likewise.
12129 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12130 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12131 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12132 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12133 [C99-based standards] (INTPTR_MIN): Likewise.
12134 [C99-based standards] (INTPTR_MAX): Likewise.
12135 [C99-based standards] (UINTPTR_MAX): Likewise.
12136 [C99-based standards] (INTMAX_MIN): Likewise.
12137 [C99-based standards] (INTMAX_MAX): Likewise.
12138 [C99-based standards] (UINTMAX_MAX): Likewise.
12139 [C99-based standards] (PTRDIFF_MIN): Likewise.
12140 [C99-based standards] (PTRDIFF_MAX): Likewise.
12141 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12142 [C99-based standards] (SIZE_MAX): Likewise.
12143 [C99-based standards] (WCHAR_MAX): Likewise.
12144 [C99-based standards] (WINT_MAX): Likewise.
12145 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12146 constraint on value.
12147 [C99-based standards] (WCHAR_MIN): Likewise.
12148 [C99-based standards] (WINT_MIN): Likewise.
12149 [C99-based standards] (*_t): Allow.
12150 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12151 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12152 Include math.h-data and complex.h-data. Remove all expectations
12153 of math.h and complex.h contents.
12154 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12155 at end of line.
12156 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12157 (struct tm): Expect tag.
12158 [C99-based-standards] (wcstof): Expect function.
12159 [C99-based-standards] (wcstold): Likewise.
12160 [C99-based-standards] (wcstoll): Likewise.
12161 [C99-based-standards] (wcstoull): Likewise.
12162 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12163 macro-int-constant. Specify type.
12164 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12165 constraint on value.
12166 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12167 Specify type.
12168 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12169 Specify value.
12170 [ISO C standards]: Do not allow headers.
12171 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12172 wcs[abcdefghijklmnopqrstuvwxyz]*.
12173 [ISO C standards] (*_t): Do not allow.
12174 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12175 Expect function.
12176 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12177 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12178 Specify type.
12179 [ISO C standards]: Do not allow headers.
12180 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12181 is[abcdefghijklmnopqrstuvwxyz]*.
12182 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12183 to[abcdefghijklmnopqrstuvwxyz]*.
12184 [ISO C standards] (*_t): Do not allow.
12185 * conform/data/stdalign.h-data: New file.
12186 * conform/data/stdbool.h-data: Likewise.
12187 * conform/data/stdnoreturn.h-data: Likewise.
12188
7514feb8
RM
121892012-11-07 Roland McGrath <roland@hack.frob.com>
12190
12191 [BZ #14815]
12192 * manual/filesys.texi (Directory Entries): Typo fix.
12193 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12194
19b2ecfc
MS
121952012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12196
12197 * elf/elf.h (EM_AARCH64): New macro.
12198 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12199 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12200 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12201 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12202 (R_AARCH64_TLSDESC): Likewise.
12203 (NT_ARM_TLS): Likewise.
12204 (NT_ARM_HW_BREAK): Likewise.
12205 (NT_ARM_HW_WATCH): Likewise.
12206
60e235ee
JM
122072012-11-07 Joseph Myers <joseph@codesourcery.com>
12208
12209 [BZ #14811]
12210 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12211 (__ieee754_powl): Saturate nonzero exponents with absolute value
12212 below 0x1p-79 to +/- 0x1p-79.
12213 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12214 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12215 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12216 nonzero exponents with absolute value below 0x1p-32 to +/-
12217 0x1p-32.
12218 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12219 (__ieee754_powl): Saturate nonzero exponents with absolute value
12220 below 0x1p-79 to +/- 0x1p-79.
12221 * math/libm-test.inc (pow_test): Add more tests.
12222
0ab234b7
AK
122232012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12224
12225 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12226 _dl_s390_cap_flags with kernel. Increase string length.
12227 (_dl_s390_platforms): Add z196 and zEC12.
12228
45832f74
JM
122292012-11-07 Joseph Myers <joseph@codesourcery.com>
12230
12231 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12232 Change XOPEN21K to XOPEN2K.
12233
19218757
MK
122342012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12235
12236 * string/memmove.c: Use memcpy when possible.
12237
c5f45721
AJ
122382012-11-06 Andreas Jaeger <aj@suse.de>
12239
12240 * po/eo.po: Update from translation team.
12241
82477c28
JM
122422012-11-06 Joseph Myers <joseph@codesourcery.com>
12243
12244 [BZ #14793]
12245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12246 exponent and small x and y exponents, scale x or y up. Increase
12247 by 2 the exponent used in scaling up.
12248 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12249 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12250 * math/libm-test.inc (fma_test): Add more tests.
12251 (fma_test_towardzero): Likewise.
12252 (fma_test_downward): Likewise.
12253 (fma_test_upward): Likewise.
12254
99252c8c
JM
122552012-11-05 Joseph Myers <joseph@codesourcery.com>
12256
acfa885f
JM
12257 [BZ #14805]
12258 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12259 fenv_t *.
12260
99252c8c
JM
12261 [BZ #14801]
12262 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12263 namespace for names of struct fields.
12264 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12265 fenv_t fields.
12266 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12267 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12268
d6d98dea
ST
122692012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12270
12271 [BZ #3665]
12272 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12273
e10bb107
TS
122742012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12275
12276 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12277 PTR_DEMANGLE.
12278
12279 [BZ #5246]
12280 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12281 PTR_DEMANGLE.
12282
a0c2940d
JM
122832012-11-04 Joseph Myers <joseph@codesourcery.com>
12284
12285 [BZ #14797]
12286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12287 definitely overflow as x * y not x * y + z.
12288 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12289 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12290 * math/libm-test.inc (fma_test): Add more tests.
12291 (fma_test_towardzero): Likewise.
12292 (fma_test_downward): Likewise.
12293 (fma_test_upward): Likewise.
12294
b830319d
TS
122952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12296
12297 [BZ #157]
12298
12299 * include/stub-tag.h: Remove file.
12300 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12301 '#include' of it.
12302 * manual/maint.texi (Porting): Don't reference it.
12303 * Makerules ($(objpfx)stubs): Likewise.
12304 * dirent/closedir.c: Don't include <stub-tag.h>.
12305 * dirent/dirfd.c: Likewise.
12306 * dirent/fdopendir.c: Likewise.
12307 * dirent/getdents.c: Likewise.
12308 * dirent/getdents64.c: Likewise.
12309 * dirent/opendir.c: Likewise.
12310 * dirent/readdir.c: Likewise.
12311 * dirent/readdir64.c: Likewise.
12312 * dirent/readdir64_r.c: Likewise.
12313 * dirent/readdir_r.c: Likewise.
12314 * dirent/rewinddir.c: Likewise.
12315 * dirent/seekdir.c: Likewise.
12316 * dirent/telldir.c: Likewise.
12317 * gmon/profil.c: Likewise.
12318 * grp/setgroups.c: Likewise.
12319 * inet/if_index.c: Likewise.
12320 * io/access.c: Likewise.
12321 * io/chdir.c: Likewise.
12322 * io/chmod.c: Likewise.
12323 * io/chown.c: Likewise.
12324 * io/close.c: Likewise.
12325 * io/dup.c: Likewise.
12326 * io/dup2.c: Likewise.
12327 * io/dup3.c: Likewise.
12328 * io/euidaccess.c: Likewise.
12329 * io/faccessat.c: Likewise.
12330 * io/fchdir.c: Likewise.
12331 * io/fchmod.c: Likewise.
12332 * io/fchmodat.c: Likewise.
12333 * io/fchown.c: Likewise.
12334 * io/fchownat.c: Likewise.
12335 * io/fcntl.c: Likewise.
12336 * io/flock.c: Likewise.
12337 * io/fstatfs.c: Likewise.
12338 * io/fstatfs64.c: Likewise.
12339 * io/fstatvfs.c: Likewise.
12340 * io/fstatvfs64.c: Likewise.
12341 * io/futimens.c: Likewise.
12342 * io/fxstat.c: Likewise.
12343 * io/fxstat64.c: Likewise.
12344 * io/fxstatat.c: Likewise.
12345 * io/fxstatat64.c: Likewise.
12346 * io/getcwd.c: Likewise.
12347 * io/isatty.c: Likewise.
12348 * io/lchmod.c: Likewise.
12349 * io/lchown.c: Likewise.
12350 * io/link.c: Likewise.
12351 * io/linkat.c: Likewise.
12352 * io/lseek.c: Likewise.
12353 * io/lseek64.c: Likewise.
12354 * io/lxstat64.c: Likewise.
12355 * io/mkdir.c: Likewise.
12356 * io/mkdirat.c: Likewise.
12357 * io/mkfifo.c: Likewise.
12358 * io/mkfifoat.c: Likewise.
12359 * io/open.c: Likewise.
12360 * io/open64.c: Likewise.
12361 * io/openat.c: Likewise.
12362 * io/openat64.c: Likewise.
12363 * io/pipe.c: Likewise.
12364 * io/pipe2.c: Likewise.
12365 * io/poll.c: Likewise.
12366 * io/posix_fadvise.c: Likewise.
12367 * io/posix_fadvise64.c: Likewise.
12368 * io/posix_fallocate.c: Likewise.
12369 * io/posix_fallocate64.c: Likewise.
12370 * io/read.c: Likewise.
12371 * io/readlink.c: Likewise.
12372 * io/readlinkat.c: Likewise.
12373 * io/rmdir.c: Likewise.
12374 * io/sendfile.c: Likewise.
12375 * io/sendfile64.c: Likewise.
12376 * io/statfs.c: Likewise.
12377 * io/statfs64.c: Likewise.
12378 * io/statvfs.c: Likewise.
12379 * io/statvfs64.c: Likewise.
12380 * io/symlink.c: Likewise.
12381 * io/symlinkat.c: Likewise.
12382 * io/ttyname.c: Likewise.
12383 * io/ttyname_r.c: Likewise.
12384 * io/umask.c: Likewise.
12385 * io/unlink.c: Likewise.
12386 * io/unlinkat.c: Likewise.
12387 * io/utime.c: Likewise.
12388 * io/utimensat.c: Likewise.
12389 * io/write.c: Likewise.
12390 * io/xmknod.c: Likewise.
12391 * io/xmknodat.c: Likewise.
12392 * io/xstat.c: Likewise.
12393 * io/xstat64.c: Likewise.
12394 * login/getpt.c: Likewise.
12395 * login/grantpt.c: Likewise.
12396 * login/unlockpt.c: Likewise.
12397 * math/e_acoshl.c: Likewise.
12398 * math/e_acosl.c: Likewise.
12399 * math/e_asinl.c: Likewise.
12400 * math/e_atan2l.c: Likewise.
12401 * math/e_atanhl.c: Likewise.
12402 * math/e_coshl.c: Likewise.
12403 * math/e_expl.c: Likewise.
12404 * math/e_fmodl.c: Likewise.
12405 * math/e_gammal_r.c: Likewise.
12406 * math/e_hypotl.c: Likewise.
12407 * math/e_j0l.c: Likewise.
12408 * math/e_j1l.c: Likewise.
12409 * math/e_jnl.c: Likewise.
12410 * math/e_lgammal_r.c: Likewise.
12411 * math/e_log10l.c: Likewise.
12412 * math/e_log2l.c: Likewise.
12413 * math/e_logl.c: Likewise.
12414 * math/e_powl.c: Likewise.
12415 * math/e_rem_pio2l.c: Likewise.
12416 * math/e_sinhl.c: Likewise.
12417 * math/e_sqrtl.c: Likewise.
12418 * math/fclrexcpt.c: Likewise.
12419 * math/fedisblxcpt.c: Likewise.
12420 * math/feenablxcpt.c: Likewise.
12421 * math/fegetenv.c: Likewise.
12422 * math/fegetexcept.c: Likewise.
12423 * math/fegetround.c: Likewise.
12424 * math/feholdexcpt.c: Likewise.
12425 * math/fesetenv.c: Likewise.
12426 * math/fesetround.c: Likewise.
12427 * math/feupdateenv.c: Likewise.
12428 * math/fgetexcptflg.c: Likewise.
12429 * math/fraiseexcpt.c: Likewise.
12430 * math/fsetexcptflg.c: Likewise.
12431 * math/ftestexcept.c: Likewise.
12432 * math/k_cosl.c: Likewise.
12433 * math/k_rem_pio2l.c: Likewise.
12434 * math/k_sinl.c: Likewise.
12435 * math/k_tanl.c: Likewise.
12436 * math/s_asinhl.c: Likewise.
12437 * math/s_atanl.c: Likewise.
12438 * math/s_cbrtl.c: Likewise.
12439 * math/s_erfl.c: Likewise.
12440 * math/s_expm1l.c: Likewise.
12441 * math/s_log1pl.c: Likewise.
12442 * math/s_tanhl.c: Likewise.
12443 * misc/acct.c: Likewise.
12444 * misc/brk.c: Likewise.
12445 * misc/chflags.c: Likewise.
12446 * misc/chroot.c: Likewise.
12447 * misc/fchflags.c: Likewise.
12448 * misc/fgetxattr.c: Likewise.
12449 * misc/flistxattr.c: Likewise.
12450 * misc/fremovexattr.c: Likewise.
12451 * misc/fsetxattr.c: Likewise.
12452 * misc/fsync.c: Likewise.
12453 * misc/ftruncate.c: Likewise.
12454 * misc/futimes.c: Likewise.
12455 * misc/futimesat.c: Likewise.
12456 * misc/getdomain.c: Likewise.
12457 * misc/getdtsz.c: Likewise.
12458 * misc/gethostid.c: Likewise.
12459 * misc/gethostname.c: Likewise.
12460 * misc/getloadavg.c: Likewise.
12461 * misc/getpagesize.c: Likewise.
12462 * misc/getsysstats.c: Likewise.
12463 * misc/getxattr.c: Likewise.
12464 * misc/gtty.c: Likewise.
12465 * misc/ioctl.c: Likewise.
12466 * misc/lgetxattr.c: Likewise.
12467 * misc/listxattr.c: Likewise.
12468 * misc/llistxattr.c: Likewise.
12469 * misc/lremovexattr.c: Likewise.
12470 * misc/lsetxattr.c: Likewise.
12471 * misc/lutimes.c: Likewise.
12472 * misc/madvise.c: Likewise.
12473 * misc/mincore.c: Likewise.
12474 * misc/mlock.c: Likewise.
12475 * misc/mlockall.c: Likewise.
12476 * misc/mmap.c: Likewise.
12477 * misc/mprotect.c: Likewise.
12478 * misc/msync.c: Likewise.
12479 * misc/munlock.c: Likewise.
12480 * misc/munlockall.c: Likewise.
12481 * misc/munmap.c: Likewise.
12482 * misc/preadv.c: Likewise.
12483 * misc/preadv64.c: Likewise.
12484 * misc/ptrace.c: Likewise.
12485 * misc/pwritev.c: Likewise.
12486 * misc/pwritev64.c: Likewise.
12487 * misc/readv.c: Likewise.
12488 * misc/reboot.c: Likewise.
12489 * misc/remap_file_pages.c: Likewise.
12490 * misc/removexattr.c: Likewise.
12491 * misc/revoke.c: Likewise.
12492 * misc/select.c: Likewise.
12493 * misc/setdomain.c: Likewise.
12494 * misc/setegid.c: Likewise.
12495 * misc/seteuid.c: Likewise.
12496 * misc/sethostid.c: Likewise.
12497 * misc/sethostname.c: Likewise.
12498 * misc/setregid.c: Likewise.
12499 * misc/setreuid.c: Likewise.
12500 * misc/setxattr.c: Likewise.
12501 * misc/sstk.c: Likewise.
12502 * misc/stty.c: Likewise.
12503 * misc/swapoff.c: Likewise.
12504 * misc/swapon.c: Likewise.
12505 * misc/sync.c: Likewise.
12506 * misc/syncfs.c: Likewise.
12507 * misc/syscall.c: Likewise.
12508 * misc/truncate.c: Likewise.
12509 * misc/ualarm.c: Likewise.
12510 * misc/usleep.c: Likewise.
12511 * misc/ustat.c: Likewise.
12512 * misc/utimes.c: Likewise.
12513 * misc/vhangup.c: Likewise.
12514 * misc/writev.c: Likewise.
12515 * posix/_exit.c: Likewise.
12516 * posix/alarm.c: Likewise.
12517 * posix/execve.c: Likewise.
12518 * posix/fexecve.c: Likewise.
12519 * posix/fork.c: Likewise.
12520 * posix/fpathconf.c: Likewise.
12521 * posix/getaddrinfo.c: Likewise.
12522 * posix/getegid.c: Likewise.
12523 * posix/geteuid.c: Likewise.
12524 * posix/getgid.c: Likewise.
12525 * posix/getgroups.c: Likewise.
12526 * posix/getlogin.c: Likewise.
12527 * posix/getlogin_r.c: Likewise.
12528 * posix/getpgid.c: Likewise.
12529 * posix/getpid.c: Likewise.
12530 * posix/getppid.c: Likewise.
12531 * posix/getresgid.c: Likewise.
12532 * posix/getresuid.c: Likewise.
12533 * posix/getsid.c: Likewise.
12534 * posix/getuid.c: Likewise.
12535 * posix/glob64.c: Likewise.
12536 * posix/nanosleep.c: Likewise.
12537 * posix/pathconf.c: Likewise.
12538 * posix/pause.c: Likewise.
12539 * posix/posix_madvise.c: Likewise.
12540 * posix/pread.c: Likewise.
12541 * posix/pread64.c: Likewise.
12542 * posix/pwrite.c: Likewise.
12543 * posix/pwrite64.c: Likewise.
12544 * posix/sched_getaffinity.c: Likewise.
12545 * posix/sched_getp.c: Likewise.
12546 * posix/sched_gets.c: Likewise.
12547 * posix/sched_primax.c: Likewise.
12548 * posix/sched_primin.c: Likewise.
12549 * posix/sched_rr_gi.c: Likewise.
12550 * posix/sched_setaffinity.c: Likewise.
12551 * posix/sched_setp.c: Likewise.
12552 * posix/sched_sets.c: Likewise.
12553 * posix/sched_yield.c: Likewise.
12554 * posix/setgid.c: Likewise.
12555 * posix/setlogin.c: Likewise.
12556 * posix/setpgid.c: Likewise.
12557 * posix/setresgid.c: Likewise.
12558 * posix/setresuid.c: Likewise.
12559 * posix/setsid.c: Likewise.
12560 * posix/setuid.c: Likewise.
12561 * posix/sleep.c: Likewise.
12562 * posix/spawni.c: Likewise.
12563 * posix/sysconf.c: Likewise.
12564 * posix/times.c: Likewise.
12565 * posix/wait.c: Likewise.
12566 * posix/wait3.c: Likewise.
12567 * posix/wait4.c: Likewise.
12568 * posix/waitpid.c: Likewise.
12569 * resolv/gai_sigqueue.c: Likewise.
12570 * resource/getpriority.c: Likewise.
12571 * resource/getrlimit.c: Likewise.
12572 * resource/getrusage.c: Likewise.
12573 * resource/nice.c: Likewise.
12574 * resource/setpriority.c: Likewise.
12575 * resource/setrlimit.c: Likewise.
12576 * resource/ulimit.c: Likewise.
12577 * rt/aio_cancel.c: Likewise.
12578 * rt/aio_fsync.c: Likewise.
12579 * rt/aio_read.c: Likewise.
12580 * rt/aio_sigqueue.c: Likewise.
12581 * rt/aio_suspend.c: Likewise.
12582 * rt/aio_write.c: Likewise.
12583 * rt/clock_getres.c: Likewise.
12584 * rt/clock_gettime.c: Likewise.
12585 * rt/clock_nanosleep.c: Likewise.
12586 * rt/clock_settime.c: Likewise.
12587 * rt/lio_listio.c: Likewise.
12588 * rt/mq_close.c: Likewise.
12589 * rt/mq_getattr.c: Likewise.
12590 * rt/mq_notify.c: Likewise.
12591 * rt/mq_open.c: Likewise.
12592 * rt/mq_receive.c: Likewise.
12593 * rt/mq_send.c: Likewise.
12594 * rt/mq_setattr.c: Likewise.
12595 * rt/mq_timedreceive.c: Likewise.
12596 * rt/mq_timedsend.c: Likewise.
12597 * rt/mq_unlink.c: Likewise.
12598 * rt/shm_open.c: Likewise.
12599 * rt/shm_unlink.c: Likewise.
12600 * rt/timer_create.c: Likewise.
12601 * rt/timer_delete.c: Likewise.
12602 * rt/timer_getoverr.c: Likewise.
12603 * rt/timer_gettime.c: Likewise.
12604 * rt/timer_settime.c: Likewise.
12605 * setjmp/__longjmp.c: Likewise.
12606 * setjmp/setjmp.c: Likewise.
12607 * signal/kill.c: Likewise.
12608 * signal/killpg.c: Likewise.
12609 * signal/raise.c: Likewise.
12610 * signal/sigaction.c: Likewise.
12611 * signal/sigaltstack.c: Likewise.
12612 * signal/sigblock.c: Likewise.
12613 * signal/sigignore.c: Likewise.
12614 * signal/sigintr.c: Likewise.
12615 * signal/signal.c: Likewise.
12616 * signal/sigpause.c: Likewise.
12617 * signal/sigpending.c: Likewise.
12618 * signal/sigqueue.c: Likewise.
12619 * signal/sigreturn.c: Likewise.
12620 * signal/sigset.c: Likewise.
12621 * signal/sigsetmask.c: Likewise.
12622 * signal/sigstack.c: Likewise.
12623 * signal/sigsuspend.c: Likewise.
12624 * signal/sigtimedwait.c: Likewise.
12625 * signal/sigvec.c: Likewise.
12626 * signal/sigwait.c: Likewise.
12627 * signal/sigwaitinfo.c: Likewise.
12628 * signal/sysv_signal.c: Likewise.
12629 * socket/accept.c: Likewise.
12630 * socket/accept4.c: Likewise.
12631 * socket/bind.c: Likewise.
12632 * socket/connect.c: Likewise.
12633 * socket/getpeername.c: Likewise.
12634 * socket/getsockname.c: Likewise.
12635 * socket/getsockopt.c: Likewise.
12636 * socket/isfdtype.c: Likewise.
12637 * socket/listen.c: Likewise.
12638 * socket/recv.c: Likewise.
12639 * socket/recvfrom.c: Likewise.
12640 * socket/recvmsg.c: Likewise.
12641 * socket/send.c: Likewise.
12642 * socket/sendmsg.c: Likewise.
12643 * socket/sendto.c: Likewise.
12644 * socket/setsockopt.c: Likewise.
12645 * socket/shutdown.c: Likewise.
12646 * socket/sockatmark.c: Likewise.
12647 * socket/socket.c: Likewise.
12648 * socket/socketpair.c: Likewise.
12649 * stdio-common/ctermid.c: Likewise.
12650 * stdio-common/cuserid.c: Likewise.
12651 * stdio-common/remove.c: Likewise.
12652 * stdio-common/rename.c: Likewise.
12653 * stdio-common/renameat.c: Likewise.
12654 * stdio-common/tempname.c: Likewise.
12655 * stdlib/getcontext.c: Likewise.
12656 * stdlib/makecontext.c: Likewise.
12657 * stdlib/setcontext.c: Likewise.
12658 * stdlib/swapcontext.c: Likewise.
12659 * stdlib/system.c: Likewise.
12660 * streams/fattach.c: Likewise.
12661 * streams/fdetach.c: Likewise.
12662 * streams/getmsg.c: Likewise.
12663 * streams/getpmsg.c: Likewise.
12664 * streams/putmsg.c: Likewise.
12665 * streams/putpmsg.c: Likewise.
12666 * sysdeps/unix/bsd/getpt.c: Likewise.
12667 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12668 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12669 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12671 Likewise.
12672 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12673 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12674 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12675 * sysvipc/msgctl.c: Likewise.
12676 * sysvipc/msgget.c: Likewise.
12677 * sysvipc/msgrcv.c: Likewise.
12678 * sysvipc/msgsnd.c: Likewise.
12679 * sysvipc/semctl.c: Likewise.
12680 * sysvipc/semget.c: Likewise.
12681 * sysvipc/semop.c: Likewise.
12682 * sysvipc/semtimedop.c: Likewise.
12683 * sysvipc/shmat.c: Likewise.
12684 * sysvipc/shmctl.c: Likewise.
12685 * sysvipc/shmdt.c: Likewise.
12686 * sysvipc/shmget.c: Likewise.
12687 * termios/tcdrain.c: Likewise.
12688 * termios/tcflow.c: Likewise.
12689 * termios/tcflush.c: Likewise.
12690 * termios/tcgetattr.c: Likewise.
12691 * termios/tcgetpgrp.c: Likewise.
12692 * termios/tcsendbrk.c: Likewise.
12693 * termios/tcsetattr.c: Likewise.
12694 * termios/tcsetpgrp.c: Likewise.
12695 * time/adjtime.c: Likewise.
12696 * time/clock.c: Likewise.
12697 * time/getitimer.c: Likewise.
12698 * time/gettimeofday.c: Likewise.
12699 * time/setitimer.c: Likewise.
12700 * time/settimeofday.c: Likewise.
12701 * time/stime.c: Likewise.
12702 * time/time.c: Likewise.
12703
127042012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12705
a20492cf
PT
12706 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12707 /usr/old/bin.
12708
72e182e3
PT
12709 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12710 instead of spaces.
12711 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12712
fbeafede
JM
127132012-11-03 Joseph Myers <joseph@codesourcery.com>
12714
5b5b04d6
JM
12715 [BZ #14796]
12716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12717 FE_TONEAREST before applying Dekker multiplication and Knuth
12718 addition. Clear inexact exceptions and check for exact zero
12719 results afterwards.
12720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12721 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12722 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12723 * math/libm-test.inc (fma_test): Add more tests.
12724 (fma_test_towardzero): Likewise.
12725 (fma_test_downward): Likewise.
12726 (fma_test_upward): Likewise.
12727 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12728 function.
12729 (libc_fesetround): New macro.
12730 (libc_fesetroundf): Likewise.
12731 (libc_fesetroundl): Likewise.
12732 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12733 function.
12734 (libc_fesetround_387): Likewise.
12735 (libc_fesetroundf): New macro.
12736 (libc_fesetround): Likewise.
12737 (libc_fesetroundl): Likewise.
12738 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12739 function.
12740 (libc_fesetroundf): New macro.
12741 (libc_fesetround): Likewise.
12742 (libc_fesetroundl): Likewise.
12743 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12744 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12745 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12746 libm_hidden_ver.
12747 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12748 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12749 libm_hidden_def.
12750 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12751 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12752 libm_hidden_ver.
12753 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12754 libm_hidden_def.
12755
fbeafede
JM
12756 [BZ #3439]
12757 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12758 integer constant usable in #if and use that to give value to enum
12759 constant.
12760 (FE_DIVBYZERO): Likewise.
12761 (FE_UNDERFLOW): Likewise.
12762 (FE_OVERFLOW): Likewise.
12763 (FE_INVALID): Likewise.
12764 (FE_INVALID_SNAN): Likewise.
12765 (FE_INVALID_ISI): Likewise.
12766 (FE_INVALID_IDI): Likewise.
12767 (FE_INVALID_ZDZ): Likewise.
12768 (FE_INVALID_IMZ): Likewise.
12769 (FE_INVALID_COMPARE): Likewise.
12770 (FE_INVALID_SOFTWARE): Likewise.
12771 (FE_INVALID_SQRT): Likewise.
12772 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12773 (FE_TONEAREST): Likewise.
12774 (FE_TOWARDZERO): Likewise.
12775 (FE_UPWARD): Likewise.
12776 (FE_DOWNWARD): Likewise.
12777 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12778 (FE_DIVBYZERO): Likewise.
12779 (FE_OVERFLOW): Likewise.
12780 (FE_UNDERFLOW): Likewise.
12781 (FE_INEXACT): Likewise.
12782 (FE_TONEAREST): Likewise.
12783 (FE_DOWNWARD): Likewise.
12784 (FE_UPWARD): Likewise.
12785 (FE_TOWARDZERO): Likewise.
12786 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12787 (FE_UNDERFLOW): Likewise.
12788 (FE_OVERFLOW): Likewise.
12789 (FE_DIVBYZERO): Likewise.
12790 (FE_INVALID): Likewise.
12791 (FE_TONEAREST): Likewise.
12792 (FE_TOWARDZERO): Likewise.
12793 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12794 (FE_OVERFLOW): Likewise.
12795 (FE_UNDERFLOW): Likewise.
12796 (FE_DIVBYZERO): Likewise.
12797 (FE_INEXACT): Likewise.
12798 (FE_TONEAREST): Likewise.
12799 (FE_TOWARDZERO): Likewise.
12800 (FE_UPWARD): Likewise.
12801 (FE_DOWNWARD): Likewise.
12802 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12803 (FE_DIVBYZERO): Likewise.
12804 (FE_OVERFLOW): Likewise.
12805 (FE_UNDERFLOW): Likewise.
12806 (FE_INEXACT): Likewise.
12807 (FE_TONEAREST): Likewise.
12808 (FE_DOWNWARD): Likewise.
12809 (FE_UPWARD): Likewise.
12810 (FE_TOWARDZERO): Likewise.
12811
105ca950
CM
128122012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12813
12814 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12815
a542b389
AS
128162012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12817
12818 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12819 commands. Quote $PWD.
12820 (blacklist_exports): Don't use remove_newlines. Replace "declare
12821 -x" by "export".
12822 (remove_newlines): Remove.
12823
f62c8abc
L
128242012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12825
12826 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12827 * stdlib/stdlib.h (atof): Moved to ...
12828 * include/bits/stdlib-float.h: Here. New file.
12829 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12830 * stdlib/bits/stdlib-float.h: New file.
12831 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12832 -mno-sse -mno-mmx.
12833 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12834 <xmmintrin.h>.
12835
0155d5b2
JM
128362012-11-02 Joseph Myers <joseph@codesourcery.com>
12837
a68d0680
JM
12838 * conform/conformtest.pl (@headers): Add fenv.h.
12839 * conform/data/fenv.h-data: New file.
12840 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12841 include of <math/fenv.h>.
12842
caf7f573
JM
12843 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12844 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12845 && !UNIX98]. Enables tests for XOPEN2K8.
12846 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12847 POSIX2008]: Likewise.
12848
6c073ad6
JM
12849 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12850 (struct rusage): Do not expect type or its members.
12851
0155d5b2
JM
12852 [BZ #3439]
12853 * math/math.h (FP_NAN): Define macro to integer constant usable in
12854 #if and use that to give value to enum constant.
12855 (FP_INFINITE): Likewise.
12856 (FP_ZERO): Likewise.
12857 (FP_SUBNORMAL): Likewise.
12858 (FP_NORMAL): Likewise.
12859
b5dcacb4
AS
128602012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12861
12862 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12863 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12864 arguments.
12865
f7934be8
RM
128662012-11-02 Roland McGrath <roland@hack.frob.com>
12867
12868 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12869 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12870 autoconf-time if not.
12871 * configure.in: Remove AC_PREREQ.
12872
d7d08bde
TMQMF
128732012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12874
12875 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12876 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12877 of the internal implementation.
12878
dcdae19a
JM
128792012-11-02 Joseph Myers <joseph@codesourcery.com>
12880
12881 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12882 except include of <misc/sys/syslog.h>.
12883
d6cffd3e
AS
128842012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12885
12886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12887 function returns with a NULL context exit with zero.
12888
b3563932
TMQMF
128892012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12890
12891 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12892
b288a93d
L
128932012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12894
12895 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12896 (run_program_cmd): This.
12897 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12898 (tst_langinfo): New variable. Use it.
12899
a2421a68
SAS
129002012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12901
12902 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12903 floating point opcodes.
12904
6f796e1b
TS
129052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12906
7402596b
TS
12907 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12908 variable.
12909
d0d4f868
TS
12910 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12911
6f796e1b
TS
12912 * sysdeps/mach/hurd/powerpc: Remove directory.
12913 * sysdeps/mach/powerpc: Likewise.
12914
4da224a2
AS
129152012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12916
12917 * scripts/check-local-headers.sh: Ignore c++ headers.
12918
341dd673
TS
129192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12920
12921 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12922 __libc_cleanup_region_start argument.
12923
473611b2
JM
129242012-11-01 Joseph Myers <joseph@codesourcery.com>
12925
12926 [BZ #14784]
12927 [BZ #14785]
12928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12929 x * y using scaling, not as x * y + z.
12930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12932 * math/libm-test.inc (fma_test): Add more tests.
12933 (fma_test_towardzero): Likewise.
12934 (fma_test_downward): Likewise.
12935 (fma_test_upward): Likewise.
12936
4078da3d
TS
129372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12938
12939 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12940
903252aa
JM
129412012-10-31 Joseph Myers <joseph@codesourcery.com>
12942
12943 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12944 New variable.
12945
cbc818d0
TS
129462012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12947
12948 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12949
5a03cb1e
AS
129502012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12951
12952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12953 Fix sort order.
12954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12955 Likewise.
12956
90aff2ff
TMQMF
129572012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12958
12959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12960 Fix the order of the list for glibc 2.17.
12961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12962 Likewise.
12963
1818fcb7
AS
129642012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12965
12966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12967
ef82f4da
JM
129682012-10-31 Joseph Myers <joseph@codesourcery.com>
12969
16a0e2ec
JM
12970 [BZ #14610]
12971 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12972 for low part of x being zero before using __atanl (y).
12973 * math/libm-test.inc (atan2_test): Add another test.
12974
0eb69512
JM
12975 * manual/install.texi (Configuring and compiling): Document
12976 general use of test-wrapper and test-wrapper-env.
12977 * INSTALL: Regenerated.
12978
ef82f4da
JM
12979 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12980 (__fma): Do not extract and scale down low bits on after-rounding
12981 systems when result rounded to normal precision would have normal
12982 exponent.
12983 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12984 (__fmal): Do not extract and scale down low bits on after-rounding
12985 systems when result rounded to normal precision would have normal
12986 exponent.
12987 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12988 (__fmal): Do not extract and scale down low bits on after-rounding
12989 systems when result rounded to normal precision would have normal
12990 exponent.
12991 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12992 macro.
12993 (fma_test): Add more tests.
12994 (fma_test_towardzero): Likewise.
12995 (fma_test_downward): Likewise.
12996 (fma_test_upward): Likewise.
12997
954ef0d9
L
129982012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12999
13000 * sysdeps/i386/tininess.h: Renamed to ...
13001 * sysdeps/x86/tininess.h: This.
13002 * sysdeps/x86_64/tininess.h: Removed.
13003
df61ffb2
JM
130042012-10-30 Joseph Myers <joseph@codesourcery.com>
13005
13006 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13007 input. Use $(build-program-cmd).
13008 ($(objpfx)tst-array1-static.out): Likewise.
13009 ($(objpfx)tst-array2.out): Likewise.
13010 ($(objpfx)tst-array3.out): Likewise.
13011 ($(objpfx)tst-array4.out): Likewise.
13012 ($(objpfx)tst-array5.out): Likewise.
13013 ($(objpfx)tst-array5-static.out): Likewise.
13014
01767843
CM
130152012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13016
47cc1490
CM
13017 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13018 if defined.
13019
01767843
CM
13020 * nss/nsswitch.h (nss_interface_function): Provide new
13021 macro for use with NSS functions.
13022 * grp/initgroups.c: Use new macro.
13023 * nss/getXXbyYY.c: Likewise.
13024 * nss/getXXbyYY_r.c: Likewise.
13025 * nss/getXXent.c: Likewise.
13026 * nss/getXXent_r.c: Likewise.
13027 * sysdeps/posix/getaddrinfo.c: Likewise.
13028
8321aa97
AJ
130292012-10-30 Andreas Jaeger <aj@suse.de>
13030
13031 * po/ru.po: Update Russion translation from translation project.
13032
2a27fd6d
JM
130332012-10-30 Joseph Myers <joseph@codesourcery.com>
13034
8627a232
JM
13035 [BZ #14152]
13036 [BZ #14783]
13037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13038 result and shift together with sticky bit instead of replicating
13039 round-to-nearest rounding.
13040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13041 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13042 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13043 missing underflow exceptions.
13044 (fma_test_towardzero): Add more tests.
13045 (fma_test_downward): Likewise.
13046 (fma_test_upward): Likewise.
13047
2a27fd6d
JM
13048 [BZ #14047]
13049 * sysdeps/generic/tininess.h: New file.
13050 * sysdeps/i386/tininess.h: Likewise.
13051 * sysdeps/sh/tininess.h: Likewise.
13052 * sysdeps/x86_64/tininess.h: Likewise.
13053 * stdlib/tst-strtod-underflow.c: Likewise.
13054 * stdlib/tst-tininess.c: Likewise.
13055 * stdlib/strtod_l.c: Include <tininess.h>.
13056 (round_and_return): Do not set errno for exact underflow cases.
13057 Force an underflow exception when setting errno for underflow.
13058 Determine underflow based on rounding to normal precision if
13059 TININESS_AFTER_ROUNDING.
13060 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13061 ERANGE for exact underflow cases.
13062 * stdlib/Makefile (tests): Add tst-tininess and
13063 tst-strtod-underflow.
13064 ($(objpfx)tst-tininess): Use $(link-libm).
13065 ($(objpfx)tst-strtod-underflow): Likewise.
13066
e7170363
AJ
130672012-10-30 Andreas Jaeger <aj@suse.de>
13068
e5088dc6
AJ
13069 [BZ#14767]
13070 * elf/Makefile (tests): Remove conditional for have-initfini-array
13071 since this is now always required and the variable does not exist
13072 anymore.
13073 (tests-static): Likewise.
13074 (modules-names): Likewise.
13075
e7170363 13076 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
13077
13078 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13079 merged with constructor/destructor.
13080 (init_array): Likewise.
13081 * elf/tst-array2dep.c (fini_array): Likewise.
13082 (init_array): Likewise.
13083
60457d8a
MF
130842012-10-29 Mike Frysinger <vapier@gentoo.org>
13085
13086 * manual/message.texi: Delete @cartouche tags.
13087
8bece752
PT
130882012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13089
94ce799f
PT
13090 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13091 EOPNOTSUPP.
13092 * sysdeps/mach/hurd/fsync.c: Likewise.
13093
8bece752
PT
13094 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13095 [_POSIX_REALTIME_SIGNALS]: Change condition to
13096 [_POSIX_REALTIME_SIGNALS > 0].
13097
86ebe6b1
AJ
130982012-10-27 Andreas Jaeger <aj@suse.de>
13099
13100 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13101 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13103 [__WORDSIZE != 64]: Likewise.
13104
54399c08
L
131052012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13106
13107 * iconvdata/tst-table.sh: Remove ${SHELL}.
13108 * iconvdata/tst-tables.sh: Likewise.
13109
e2211bed
DM
131102012-10-25 David S. Miller <davem@davemloft.net>
13111
13112 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13113 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13114 of strtoull.
13115
f303f97c
DM
13116 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13117 ifunc-impl-list.c
13118 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13119 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13120 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13121 file.
13122
1e9d84cd
RM
131232012-10-25 Roland McGrath <roland@hack.frob.com>
13124
13125 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13126 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13127 __getdirentries.
13128
df381762
JM
131292012-10-25 Joseph Myers <joseph@codesourcery.com>
13130 Jim Blandy <jimb@codesourcery.com>
13131
13132 * scripts/cross-test-ssh.sh: New file.
13133 * manual/install.texi (Configuring and compiling): Document use of
13134 cross-test-ssh.sh.
13135 * INSTALL: Regenerated.
13136
bff64913
PT
131372012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13138
13139 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13140 EOPNOTSUPP.
13141
25fe8932
JM
131422012-10-25 Joseph Myers <joseph@codesourcery.com>
13143
13144 * Makeconfig (run-program-prefix): Fix comment.
13145
cc1290d0
JM
131462012-10-24 Joseph Myers <joseph@codesourcery.com>
13147 Jim Blandy <jimb@codesourcery.com>
13148
13149 * Makeconfig (test-wrapper): New variable,
13150 (test-wrapper-env): Likewise.
13151 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13152 (run-built-tests): Define to yes.
13153 (run-program-prefix): Use $(test-wrapper).
13154 (built-program-cmd): Likewise.
13155 * Rules (make-test-out): Use $(test-wrapper-env) and
13156 $(host-built-program-cmd).
13157 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13158 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13159 tst-pathopt.sh.
13160 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13161 $(test-wrapper-env) to tst-rtld-load-self.sh.
13162 ($(objpfx)order2.out): Use $(test-wrapper).
13163 ($(objpfx)tst-initorder.out): Likewise.
13164 ($(objpfx)tst-initorder2.out): Likewise.
13165 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13166 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13167 (test_wrapper_env): New variable. Use it to run ld.so.
13168 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13169 Use it to run ld.so.
13170 (test_wrapper_env): Likewise.
13171 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13172 $(test-wrapper) to run-iconv-test.sh.
13173 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13174 (ICONV): Use $test_wrapper.
13175 * posix/Makefile ($(objpfx)globtest.out): Pass
13176 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13177 globtest.sh, not $(run-program-prefix).
13178 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13179 (test_wrapper): Likewise.
13180 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13181 set together with run_via_rtld_prefix.
13182 (run_program_prefix): Define in terms of test_wrapper and
13183 run_via_rtld_prefix.
13184
6e6249d0
RM
131852012-10-24 Roland McGrath <roland@hack.frob.com>
13186
13187 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13188 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13189 Targets removed.
13190
13191 [BZ #14743]
13192 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13193 Declare __clock_getres, __clock_gettime, __clock_settime,
13194 __clock_nanosleep, and __clock_getcpuclockid.
13195 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13196 Remove librt_hidden_def (clock_gettime).
13197 * sysdeps/unix/clock_gettime.c: Likewise.
13198 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13199 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13200 * rt/clock_getres.c: Define __clock_getres as an alias.
13201 * sysdeps/posix/clock_getres.c: Likewise.
13202 * rt/clock_settime.c: Define __clock_settime as an alias.
13203 * sysdeps/unix/clock_settime.c: Likewise.
13204 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13205 * sysdeps/unix/clock_nanosleep.c: Likewise.
13206 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13207 * rt/clock-compat.c: New file.
13208 * rt/Makefile (librt-routines): Add clock-compat and move
13209 $(clock-routines) to ...
13210 (routines): ... here, new variable.
13211 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13212 Don't add get_clockfreq here.
13213 * rt/Versions (libc: GLIBC_2.17): New version set.
13214 Add clock_* symbols here.
13215 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13216 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13217 (GLIBC_2.17): Add clock_* symbols.
13218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13220 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13222 Likewise.
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13224 Likewise.
13225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13229 * NEWS: Mention the move.
13230
13231 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13232 Use __open, __read, __close rather than their public counterparts.
13233 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13234 (__get_clockfreq_via_cpuinfo): Likewise.
13235 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13236 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13237
13238 * config.h.in (HAVE_IFUNC): New #undef.
13239 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13240 was successful.
13241 * configure: Regenerated.
13242
0cae3f4b
MF
132432012-10-24 Mike Frysinger <vapier@gentoo.org>
13244
13245 * configure.in: Move READELF check to start of file.
13246 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13247 libc_cv_asm_gnu_indirect_function in the process.
13248 * configure: Regenerated.
13249
8175a253
MF
132502012-10-24 Mike Frysinger <vapier@gentoo.org>
13251
13252 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13253 send the output to /dev/null.
13254 (libc_cv_cc_with_libunwind): Likewise.
13255 (libc_cv_as_noexecstack): Likewise.
13256 * configure: Regenerate.
13257
0708a7d1
JM
132582012-10-24 Joseph Myers <joseph@codesourcery.com>
13259
10b40d85
JM
13260 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13261
0708a7d1
JM
13262 * posix/globtest.sh (TMPDIR): Do not set.
13263 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13264 (testout): Likewise.
13265
9fddec1a
AJ
132662012-10-24 Andreas Jaeger <aj@suse.de>
13267
3a8db22f
AJ
13268 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13269 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13270 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13271 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13272 posix_fadvise64, posix_fallocate64.
13273
9fddec1a
AJ
13274 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13275 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13276 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13277 Likewise.
13278 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13279 Likewise.
13280 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13281
13282 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13283 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13284 <bits/fcntl-linux.h>.
13285 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13286
13287 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13288 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13289 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13290 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13291 [__WORDSIZE != 64]: Likewise.
13292
ebfd1bbd
JM
132932012-10-23 Joseph Myers <joseph@codesourcery.com>
13294
03ac099f
JM
13295 * Makeconfig (run-built-tests): New variable.
13296 * Rules [$(cross-compiling) = yes]: Change condition to
13297 [$(run-built-tests) = no].
13298 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13299 to [$(run-built-tests) = yes].
13300 * elf/Makefile [$(cross-compiling) = no]: Likewise
13301 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13302 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13303 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13304 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13305 * io/Makefile [$(cross-compiling) = no]: Likewise.
13306 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13307 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13308 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13309 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13310 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13311 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13312 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13313 * string/Makefile [$(cross-compiling) = no]: Likewise.
13314
ebfd1bbd
JM
13315 * posix/Makefile ($(objpfx)globtest.out): Pass
13316 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13317 $(rtld-installed-name).
13318 * posix/globtest.sh (elf_objpfx): Remove variable.
13319 (rtld_installed_name): Likewise.
13320 (library_path): Likewise.
13321 (run_program_prefix): New variable. Use for running globtest
13322 binary.
13323
166bca24
JB
133242012-10-23 Jim Blandy <jimb@codesourcery.com>
13325 Joseph Myers <joseph@codesourcery.com>
13326
13327 * Makeconfig (host-built-program-cmd): New variable.
13328 * elf/Makefile (tst-stackguard1-ARGS): Use
13329 $(host-built-program-cmd).
13330 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13331 (tst-spawn-ARGS): Likewise.
13332 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13333
88866099
JM
133342012-10-23 Joseph Myers <joseph@codesourcery.com>
13335 Jim Blandy <jimb@codesourcery.com>
13336
13337 * Makeconfig (run-via-rtld-prefix): New variable.
13338 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13339 (built-program-cmd): Likewise.
13340
b4b4c296
AJ
133412012-10-22 Andreas Jaeger <aj@suse.de>
13342
13343 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13344 __O_RSYNC if it exists, otherwise to O_SYNC.
13345
6fb54a22
JB
133462012-10-22 Jim Blandy <jimb@codesourcery.com>
13347 Joseph Myers <joseph@codesourcery.com>
13348
13349 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13350 /dev/null.
13351 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13352 from /dev/null
13353 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13354 /dev/null.
13355
481b90b9
AJ
133562012-10-22 Andreas Jaeger <aj@suse.de>
13357
2a0e2669
AJ
13358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13359 Define always.
13360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13361
76e38f9a
AJ
13362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13363 bits/fcntl-linux.h.
13364
7cd37b43
AJ
13365 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13366 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13367
481b90b9
AJ
13368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13369 to __O_LARGEFILE.
13370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13371 to __O_LARGEFILE.
13372
aba75984
JB
133732012-10-21 Jim Blandy <jimb@codesourcery.com>
13374 Joseph Myers <joseph@codesourcery.com>
13375
13376 * config.make.in (NM): New variable.
13377
88d4247f
AJ
133782012-10-21 Andreas Jaeger <aj@suse.de>
13379
13380 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13381 definitions and declarations that are provided by
13382 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13383
f2eed205
L
133842012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13385
13386 [BZ #14683]
13387 * elf/Makefile (tests-static): Add tst-leaks1-static.
13388 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13389 ($(objpfx)tst-leaks1-static): New rule.
13390 ($(objpfx)tst-leaks1-static-mem): Likewise.
13391 (tst-leaks1-static-ENV): New macro.
13392 * elf/dl-open.c (dl_open_worker): Check the main application
13393 only if SHARED is defined.
13394 * elf/tst-leaks1-static.c: New file.
13395
335e6931
AJ
133962012-10-20 Andreas Jaeger <aj@suse.de>
13397
13398 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13399 generic values for Linux.
13400 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13401 and declarations that are provided by <bits/fcntl-linux.h> and
13402 include <bits/fcntl-linux.h>.
13403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13404 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13405
ac5c94d3
RM
134062012-10-20 Roland McGrath <roland@hack.frob.com>
13407
13408 * io/fcntl.h: Move include of <bits/types.h> to the top and
13409 include it unconditionally.
13410
de54b33a
L
134112012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13412
228cfb01
L
13413 * wcsmbs/Makefile (tests-ifunc): New variable.
13414 (tests): Add $(tests-ifunc).
13415 * wcsmbs/test-wcschr-ifunc.c: New file.
13416 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13417 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13418 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13419 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13420 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13421
69f07e5f
L
13422 * string/Makefile (tests-ifunc): New variable.
13423 (tests): Add $(tests-ifunc).
13424 * string/test-memccpy.c (TEST_NAME): New macro.
13425 * string/test-memchr.c (TEST_NAME): Likewise.
13426 * string/test-memcmp.c (TEST_NAME): Likewise.
13427 * string/test-memcpy.c (TEST_NAME): Likewise.
13428 * string/test-memmem.c (TEST_NAME): Likewise.
13429 * string/test-memmove.c (TEST_NAME): Likewise.
13430 * string/test-memset.c (TEST_NAME): Likewise.
13431 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13432 * string/test-stpcpy.c (TEST_NAME): Likewise.
13433 * string/test-stpncpy.c (TEST_NAME): Likewise.
13434 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13435 * string/test-strcasestr.c (TEST_NAME): Likewise.
13436 * string/test-strcat.c (TEST_NAME): Likewise.
13437 * string/test-strchr.c (TEST_NAME): Likewise.
13438 * string/test-strcmp.c(TEST_NAME): Likewise.
13439 * string/test-strcpy.c (TEST_NAME): Likewise.
13440 * string/test-strcspn.c (TEST_NAME): Likewise.
13441 * string/test-strlen.c (TEST_NAME): Likewise.
13442 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13443 * string/test-strncmp.c (TEST_NAME): Likewise.
13444 * string/test-strncpy.c (TEST_NAME): Likewise.
13445 * string/test-strnlen.c (TEST_NAME): Likewise.
13446 * string/test-strpbrk.c (TEST_NAME): Likewise.
13447 * string/test-strrchr.c (TEST_NAME): Likewise.
13448 * string/test-strspn.c (TEST_NAME): Likewise.
13449 * string/test-strstr.c (TEST_NAME): Likewise.
13450 * string/test-bcopy-ifunc.c: New file.
13451 * string/test-bzero-ifunc.c: Likewise.
13452 * string/test-memccpy-ifunc.c: Likewise.
13453 * string/test-memchr-ifunc.c: Likewise.
13454 * string/test-memcmp-ifunc.c: Likewise.
13455 * string/test-memcpy-ifunc.c: Likewise.
13456 * string/test-memmem-ifunc.c: Likewise.
13457 * string/test-memmove-ifunc.c: Likewise.
13458 * string/test-mempcpy-ifunc.c: Likewise.
13459 * string/test-memset-ifunc.c: Likewise.
13460 * string/test-rawmemchr-ifunc.c: Likewise.
13461 * string/test-stpcpy-ifunc.c: Likewise.
13462 * string/test-stpncpy-ifunc.c: Likewise.
13463 * string/test-strcasecmp-ifunc.c: Likewise.
13464 * string/test-strcasestr-ifunc.c: Likewise.
13465 * string/test-strcat-ifunc.c: Likewise.
13466 * string/test-strchr-ifunc.c: Likewise.
13467 * string/test-strchrnul-ifunc.c: Likewise.
13468 * string/test-strcmp-ifunc.c: Likewise.
13469 * string/test-strcpy-ifunc.c: Likewise.
13470 * string/test-strcspn-ifunc.c: Likewise.
13471 * string/test-strlen-ifunc.c: Likewise.
13472 * string/test-strncasecmp-ifunc.c: Likewise.
13473 * string/test-strncat-ifunc.c: Likewise.
13474 * string/test-strncmp-ifunc.c: Likewise.
13475 * string/test-strncpy-ifunc.c: Likewise.
13476 * string/test-strnlen-ifunc.c: Likewise.
13477 * string/test-strpbrk-ifunc.c: Likewise.
13478 * string/test-strrchr-ifunc.c: Likewise.
13479 * string/test-strspn-ifunc.c: Likewise.
13480 * string/test-strstr-ifunc.c: Likewise.
13481
de54b33a
L
13482 * debug/Makefile (tests-ifunc): New variable.
13483 (tests): Add $(tests-ifunc).
13484 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13485 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13486 * debug/test-stpcpy_chk-ifunc.c: New file.
13487 * debug/test-strcpy_chk-ifunc.c: Likewise.
13488
88481c16
SP
134892012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13490
13491 [BZ #13601]
13492 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13493 header is not read in.
13494
135948bd
JM
134952012-10-19 Joseph Myers <joseph@codesourcery.com>
13496
89f1c388
JM
13497 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13498 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13499 directly. Pass built executable to script as
13500 $(built-program-cmd).
13501 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13502 $testprogram without using LD_LIBRARY_PATH and $ldso.
13503
e40a0d21
JM
13504 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13505 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13506 $(rtld-installed-name).
13507 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13508 (rtld_installed_name): Likewise.
13509 (library_path): Likewise.
13510 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13511 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13512 $(run-program-prefix) to tst-tables.sh.
13513 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13514 it to run tst-table-from and tst-table-to.
13515 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13516 Pass it to tst-table.sh.
13517 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13518 $(run-program-prefix) to tst-gettext.sh.
13519 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13520 tst-translit.sh.
13521 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13522 tst-gettext2.sh.
13523 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13524 to run tst-gettext.
13525 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13526 to run tst-gettext2.
13527 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13528 to run tst-translit.
13529 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13530 $(run-program-prefix) to tst-mtrace.sh.
13531 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13532 to run tst-mtrace.
13533 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13534 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13535 $(rtld-installed-name).
13536 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13537 (rtld_installed_name): Likewise.
13538 (run_program_prefix): New variable. Use it to run wordexp-test.
13539
728e272a
JM
13540 * Makeconfig (ARCH): Remove all definitions.
13541 (machine): Likewise.
13542 [ARCH]: Remove conditional code.
13543 [!objdir]: Give error.
13544 [!objdir] (objpfx): Remove.
13545 [!objdir] (common-objpfx): Likewise.
13546 [!objdir] (common-objdir): Likewise.
13547 * configure.in (config_makefile): Remove. Hardcode Makefile in
13548 AC_CONFIG_FILES call.
13549 * configure: Regenerated.
13550
d528cdcf
JM
13551 [BZ #13888]
13552 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13553 or TMPDIR.
13554 (testout): Likewise.
13555
135948bd
JM
13556 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13557 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13558 $(rtld-installed-name).
13559 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13560 (rtld_installed_name): Likwise.
13561 (runit): Remove function.
13562 (run_getconf): New variable, Use it for running getconf binary.
13563
38c78296
L
135642012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13565
13566 [BZ #14716]
13567 * string/test-memmem.c (check_result): New function.
13568 (do_one_test): Use it.
13569 (check1): New function.
13570 (test_main): Use it.
13571
d077f65f
MT
135722012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13573
13574 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13575
ced52c71
JM
135762012-10-18 Joseph Myers <joseph@codesourcery.com>
13577
13578 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13579 (_G_LSEEK64): Likewise.
13580 (_G_MMAP64): Likewise.
13581 (_G_FSTAT64): Likewise.
13582 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13583 (_G_LSEEK64): Likewise.
13584 (_G_MMAP64): Likewise.
13585 (_G_FSTAT64): Likewise.
13586 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13587 unconditional. Call __mmap64 directly.
13588 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13589 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13590 __lseek64 directly.
13591 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13592 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13593 __mmap64 directly.
13594 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13595 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13596 __lseek64 directly.
13597 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13598 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13599 __lseek64 directly.
13600 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13601 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13602 __lseek64 directly.
13603 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13604 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13605 __fxstat64 directly.
13606 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13607 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13608 unconditional.
13609 (freopen64) [!_G_OPEN64]: Remove conditional code.
13610 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13611 unconditional.
13612 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13613 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13614 unconditional.
13615 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13616 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13617 unconditional.
13618 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13619 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13620 unconditional.
13621 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13622 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13623 unconditional.
13624 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13625 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13626 unconditional.
13627 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13628 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13629 unconditional.
13630 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13631
b741de23
SP
136322012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13633
13634 [BZ #12140]
13635 * manual/memory.texi (Malloc Tunable Parameters): Add note
13636 about free list pointers overwriting some perturb bytes.
13637 Wording suggested by Roland McGrath.
13638
f9b9d9c9
JM
136392012-10-17 Joseph Myers <joseph@codesourcery.com>
13640
13641 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13642 (lgamma_test): Likewise.
13643 (tgamma_test): Likewise.
13644
172a631a
FW
136452012-10-16 Florian Weimer <fweimer@redhat.com>
13646
13647 [BZ #14700]
13648 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13649 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13650
e9f37252
MK
136512012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13652
13653 * NEWS: Mention BZ #14716.
13654 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13655 when removing AVAILABLE1_USES_J macro.
13656
d394eb74
L
136572012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13658
13659 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13660 (__bswap_64): __uint64_t for unsigned 64-bit int.
13661
ca38dc17
AS
136622012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13663
13664 * include/string.h (memmem): Declare libc hidden alias.
13665 * string/memmem.c (memmem): Define libc hidden alias.
13666 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13667 __read, __close instead of open, read, close.
13668
9a387d1f
L
136692012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13670
ac49ecaf
L
13671 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13672 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13673 global and hidden.
13674 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13675 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13676 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13677 Likewise.
13678 (__rawmemchr_sse2): Likewise.
13679 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13680 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13681 (__strchr_sse2): Likewise.
13682 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13683 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13684 (__strcasecmp_sse2): Likewise.
13685 (__strncasecmp_sse2): Likewise.
13686 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13687 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13688 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13689 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13690 (__strrchr_sse2): Likewise.
13691 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13692 ifunc-impl-list.c.
13693 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13694 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13695 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13696 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13697 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13698 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13699 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13700 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13701 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13702 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13703 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13704 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13705 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13706 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13707 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13708 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13709 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13710 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13711 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13712 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13713 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13714 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13715 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13716 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13717 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13718 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13719 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13720 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13721 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13722 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13723
b090e8ea
L
13724 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13725 global and hidden.
13726 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13727 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13728 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13729 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13730 Likewise.
13731 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13732 Likewise.
13733 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13734 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13735 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13736 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13737 ifunc-impl-list.c.
13738 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13739 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13740 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13741 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13742 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13743 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13744 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13745 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13746 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13747 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13748 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13749 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13750 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13751 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13752 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13753 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13754 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13755 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13756 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13757 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13758 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13759 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13760 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13761 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13762 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13763 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13764 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13765 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13766 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13767 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13768 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13769 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13770 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13771 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13772 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13773 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13774 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13775 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13776 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13777 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13778 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13779
11dd4af6
L
13780 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13781 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13782 * include/ifunc-impl-list.h: New file.
13783 * misc/ifunc-impl-list.c: Likewise.
13784 * misc/Makefile (routines): Add ifunc-impl-list.
13785 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13786 * string/test-string.h: Include <ifunc-impl-list.h>.
13787 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13788 impl_array): New variables.
13789 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13790 are defined.
13791 (test_init): Call __libc_ifunc_impl_list to initialize
13792 func_list if TEST_IFUNC and TEST_NAME are defined.
13793
9a387d1f
L
13794 * string/Makefile (strop-tests): Add bcopy and bzero.
13795 * string/test-bcopy.c: New file.
13796 * string/test-bzero.c: Likewise.
13797 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13798 defined.
13799 * string/test-memset.c: Support bzero test if TEST_BZERO is
13800 defined.
13801 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13802 __libc_memmove.
13803 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13804 __libc_memset.
13805 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13806 of memset.
13807
472371b9
JM
138082012-10-10 Joseph Myers <joseph@codesourcery.com>
13809
1e4a9536
JM
13810 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13811 * configure: Regenerated.
13812
d173d12e
JM
13813 * Makeconfig (+link-static-before-libc): Don't include
13814 $(link-static-libc).
13815
472371b9
JM
13816 * libio/libio.h (_IO_pos_t): Remove.
13817
89a3ad0b
AO
138182012-10-10 Alexandre Oliva <aoliva@redhat.com>
13819
13820 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13821 McGrath.
13822
e7451425
AO
138232012-10-10 Alexandre Oliva <aoliva@redhat.com>
13824
13825 * crypt/crypt-entry.c: Include fips-private.h.
13826 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13827 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13828 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13829 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13830
4ba74a35
AO
138312012-10-10 Alexandre Oliva <aoliva@redhat.com>
13832
13833 * crypt/crypt-private.h: Include stdbool.h.
13834 (_ufc_setup_salt_r): Return bool.
13835 * crypt/crypt-entry.c: Include errno.h.
13836 (__crypt_r): Return NULL with EINVAL for bad salt.
13837 * crypt/crypt_util.c (bad_for_salt): New.
13838 (_ufc_setup_salt_r): Check that salt is long enough and within
13839 the specified alphabet.
13840 * crypt/badsalttest.c: New file.
13841 * crypt/Makefile (tests): Add it.
13842 ($(objpfx)badsalttest): New.
13843
f96f1242
MK
138442012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13845
13846 * NEWS: Add entry for BZ #14602.
13847
0e8e0c1c
JM
138482012-10-09 Joseph Myers <joseph@codesourcery.com>
13849
13850 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13851 type-generic.
13852 * math/libm-test.inc: Update comment listing what functions and
13853 macros are tested.
13854 (isgreater_test): New function.
13855 (isgreaterequal_test): Likewise.
13856 (isless_test): Likewise.
13857 (islessequal_test): Likewise.
13858 (islessgreater_test): Likewise.
13859 (isunordered_test): Likewise.
13860 (main): Call the new functions.
13861
273edc5e
RM
138622012-10-09 Roland McGrath <roland@hack.frob.com>
13863
b8493de0
RM
13864 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13865 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13866 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13867 * sysdeps/i386/configure: Regenerated.
13868 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13869 * sysdeps/mach/configure: Regenerated.
13870 * sysdeps/mach/hurd/configure: Regenerated.
13871 * sysdeps/powerpc/configure: Regenerated.
13872 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13873 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13874 * sysdeps/s390/s390-32/configure: Regenerated.
13875 * sysdeps/s390/s390-64/configure: Regenerated.
13876 * sysdeps/sh/configure: Regenerated.
13877 * sysdeps/sparc/configure: Regenerated.
13878 * sysdeps/unix/sysv/linux/configure: Regenerated.
13879 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13880 * sysdeps/x86_64/configure: Regenerated.
13881
273edc5e
RM
13882 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13883 defined. Don't check if MAP is NULL.
13884
c8450f70
JM
138852012-10-09 Joseph Myers <joseph@codesourcery.com>
13886
13887 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13888 (_G_stat64): Likewise.
13889 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13890 (_G_stat64): Likewise.
13891 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13892 instead of struct _G_stat64.
13893 * libio/fileops.c (mmap_remap_check): Likewise.
13894 (decide_maybe_mmap): Likewise.
13895 (_IO_new_file_seekoff): Likewise.
13896 (_IO_file_stat): Likewise.
13897 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13898 _G_off64_t.
13899 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13900 instead of struct _G_stat64.
13901 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13902
57e605ba
MK
139032012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13904
13905 [BZ #14602]
13906 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13907 Replace with ...
13908 (CHECK_EOL): New macro.
13909 (two_way_short_needle): Check beginning of haystack for EOL. Use
13910 CHECK_EOL.
13911 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13912 Replace with CHECK_EOL.
13913 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13914 Replace with CHECK_EOL.
13915
ef1bb361
JM
139162012-10-08 Joseph Myers <joseph@codesourcery.com>
13917
13918 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13919 type-generic.
13920 * math/libm-test.inc: Update comment listing what functions and
13921 macros are tested.
13922 (finite_test): New function.
13923 (isinf_test): Likewise.
13924 (isnan_test): Likewise.
13925 (fpclassify_test): Test subnormal input.
13926 (isfinite_test): Likewise.
13927 (isnormal_test): Likewise.
13928 (main): Call the new functions.
13929
55f11534
JN
139302012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13931
13932 [BZ #14660]
13933 * Makerules (%.dynsym): Force C locale when running
13934 $(OBJDUMP) --dynamic-syms.
13935
1ab29350
AS
139362012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13937
13938 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13939 <stdint.h>.
13940
f1ecb7ef
DM
139412012-10-06 David S. Miller <davem@davemloft.net>
13942
13943 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13944 upper 32-bits of the length value in %o2 since we use branch-on-register
13945 tests which consider the entire 64-bit register.
13946
5d41d91a
L
139472012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13948
13949 * string/test-strstr.c (check2): Add a test for page boundary.
13950
3baddb72
DM
139512012-10-05 David S. Miller <davem@davemloft.net>
13952
13953 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13954 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13955 file.
13956 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13957 sysdep_routines.
13958 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13959 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13960 and bzero when HWCAP_SPARC_CRYPTO is present.
13961
9cee5585
L
139622012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13963
d7e0dab9
L
13964 [BZ #14602]
13965 * string/test-strstr.c (check2): New function.
13966 (test_main): Call check2.
13967
03759f47
L
13968 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13969 and bug-strchr1.
13970 * string/bug-strcasestr1.c (do_test): Moved to ...
13971 * string/test-strcasestr.c (check1): Here. New function.
13972 (do_one_test): Break out result checking code into ...
13973 (check_result): This. New function.
13974 (do_one_test): Call check_result.
13975 (test_main): Call check1.
13976 * string/bug-strchr1.c (do_test): Moved to ...
13977 * string/test-strchr.c (check1): Here. New function.
13978 (do_one_test): Break out result checking code into ...
13979 (check_result): This. New function.
13980 (do_one_test): Call check_result.
13981 (test_main): Call check1.
13982 * string/bug-strstr1.c (main): Moved to ...
046f153e 13983 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13984 (do_one_test): Break out result checking code into ...
13985 (check_result): This. New function.
13986 (do_one_test): Call check_result.
13987 (test_main): Call check1.
13988 * string/bug-strcasestr1.c: Removed.
13989 * string/bug-strchr1.c: Likewise.
13990 * string/bug-strstr1.c: Likewise.
13991
53cea63e
L
13992 * elf/Makefile (dl-routines): Add hwcaps.
13993 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13994 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13995 (_dl_important_hwcaps): Moved to ...
13996 * elf/dl-hwcaps.c: Here. New file.
13997 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13998
9cee5585 13999 [BZ #14557]
bb859b06
L
14000 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14001 if IS_IN_rtld isn't defined.
14002
9cee5585
L
14003 * elf/dl-support.c (_dl_sysinfo_map): New.
14004 Include "get-dynamic-info.h" and "setup-vdso.h".
14005 (_dl_non_dynamic_init): Call setup_vdso.
14006 * elf/dynamic-link.h: Don't include <assert.h>.
14007 (elf_get_dynamic_info): Moved to ...
14008 * elf/get-dynamic-info.h: Here. New file.
14009 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14010 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14011 * elf/setup-vdso.h: Here. New file.
14012 * elf/rtld.c: Include "setup-vdso.h".
14013 (dl_main): Call setup_vdso.
14014
23c31b76
JM
140152012-10-05 Joseph Myers <joseph@codesourcery.com>
14016
28234b07
JM
14017 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14018 creal in comment listing functions tested. List finite, isinf,
14019 isnan, isless, islessequal, isgreater, isgreaterequal,
14020 islessgreater, isunordered, lgamma_r and pow10 as functions and
14021 macros not tested. Mention which functions not tested are aliases
14022 for other functions. Fix typo. Note that signs of NaNs are not
14023 tested.
14024
23c31b76
JM
14025 * scripts/config.guess: Update from config.git.
14026 * scripts/config.sub: Likewise.
14027
9043e228
RM
140282012-10-04 Roland McGrath <roland@hack.frob.com>
14029
14030 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14031 * misc/madvise.c (madvise): Renamed to __madvise.
14032 Make madvise a weak alias.
14033 * include/sys/mman.h: Declare __madvise.
14034 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14035 * sysdeps/unix/syscalls.list
14036 (madvise): Make __madvise the strong name, and madvise a weak alias.
14037 * sysdeps/unix/sysv/linux/syscalls.list
14038 (madvise, mmap): Remove redundant entries.
14039 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14040 * malloc/malloc.c (mtrim): Likewise.
14041 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14042
f57f8055
RM
140432012-10-03 Roland McGrath <roland@hack.frob.com>
14044
14045 * sysdeps/mach/hurd/dl-cache.c: File removed.
14046 * config.h.in (USE_LDCONFIG): New #undef.
14047 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14048 * configure: Regenerated.
14049 * elf/Makefile (dl-routines): Add dl-cache only under
14050 [$(use-ldconfig) = yes].
14051 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14052 cache on [USE_LDCONFIG].
14053 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14054 [USE_LDCONFIG].
14055 * elf/rtld.c (dl_main): Likewise.
14056
5bb0c10a
PT
140572012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14058
14059 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14060 _SC_LEVEL4_CACHE_LINESIZE.
14061
010188c6
RM
140622012-10-03 Roland McGrath <roland@hack.frob.com>
14063
14064 * sysdeps/unix/bsd/confstr.h: File removed.
14065
b6c5ec07
AO
140662012-10-02 Alexandre Oliva <aoliva@redhat.com>
14067
14068 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14069 sys/sdt-config.h.
14070
408223d4
RM
140712012-10-02 Roland McGrath <roland@hack.frob.com>
14072
14073 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14074 Make 'mapoff' field ElfW(Off) rather than off_t.
14075
bb9510dc
DL
140762012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14077
fc997c6e
DL
14078 * nscd/Makefile: Remove nscd-cflags and all its users.
14079 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14080 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14081
bb9510dc
DL
14082 [BZ #10631]
14083 * malloc.c (malloc_printerr): Clarify error message.
14084
05699367
L
140852012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14086
14087 [BZ #14648]
14088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14089 Set bit_FMA_Usable if FMA is supported.
14090 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14091 macro.
14092 (bit_FMA4_Usable): Updated.
14093 (index_FMA_Usable): New macro.
14094 (CPUID_FMA): Likewise
14095 (HAS_FMA): Defined with bit_FMA_Usable.
14096
51367701
RM
140972012-10-01 Roland McGrath <roland@hack.frob.com>
14098
14099 * bits/types.h (__swblk_t): Type removed.
14100 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14101 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14102 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14103 (__SWBLK_T_TYPE): Likewise.
14104 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14105 (__SWBLK_T_TYPE): Likewise.
14106 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14107 (__SWBLK_T_TYPE): Likewise.
14108 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14109 (__SWBLK_T_TYPE): Likewise.
14110
4d57bf63 141112012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 14112 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
14113
14114 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14115 (xdr_mapname): Use YPMAXMAP as maxsize.
14116 (xdr_peername): Use YPMAXPEER as maxsize.
14117 (xdr_keydat): Use YPAXRECORD as maxsize.
14118 (xdr_valdat): Use YPMAXRECORD as maxsize.
14119
93c65d43
RM
141202012-10-01 Roland McGrath <roland@hack.frob.com>
14121
497a03d6
RM
14122 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14123
93c65d43
RM
14124 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14125 * csu/init-first.c: ... here.
14126 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14127 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14128 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14129 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14130 * sysdeps/i386/init-first.c: File removed.
14131 * sysdeps/sh/init-first.c: File removed.
14132
bec749fd
JM
141332012-10-01 Joseph Myers <joseph@codesourcery.com>
14134
14135 [BZ #14645]
14136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14137 if x * y might underflow to zero and z is zero.
14138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14139 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14140 * math/libm-test.inc (min_subnorm_value): New variable.
14141 (fma_test): Add more tests.
14142 (fma_test_towardzero): Likewise.
14143 (fma_test_downward): Likewise
14144 (fma_test_upward): Likewise.
14145 (initialize): Set min_subnorm_value.
14146
8ec5b013
JM
141472012-09-29 Joseph Myers <joseph@codesourcery.com>
14148
14149 [BZ #14638]
14150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14151 0 + 0.
14152 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14153 mode for addition resulting in exact zero.
14154 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14155 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14156 exact 0 + 0.
14157 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14158 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14159 * math/libm-test.inc (fma_test): Add more tests.
14160 (fma_test_towardzero): New function.
14161 (fma_test_downward): Likewise.
14162 (fma_test_upward): Likewise.
14163 (main): Call the new functions.
14164
b1fa802e
DM
141652012-09-28 David S. Miller <davem@davemloft.net>
14166
14167 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14168
d3b9fd9e
RM
141692012-09-28 Roland McGrath <roland@hack.frob.com>
14170
ea4d37b3
RM
14171 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14172 instead of SIGALRM.
14173
ac51c949
RM
14174 * sysdeps/gnu/_G_config.h: Moved to ...
14175 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14176 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14177 * sysdeps/generic/_G_config.h: ... here.
14178
28c195f7
RM
14179 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14180
848917f9
RM
14181 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14182
6bacf05b
RM
14183 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14184 Conditionalize target on [libnss_test1.so-version].
14185
91363dbb
RM
14186 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14187
cc87f7d8
RM
14188 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14189 (elfobjdir): Move out of conditionals.
14190
b1c608fe
RM
14191 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14192 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14193 (__nss_lookup_function): Conditionalize label remove_from_tree on
14194 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 14195
1d9a6d96
DM
141962012-09-28 David S. Miller <davem@davemloft.net>
14197
14198 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14199 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14200 file.
14201 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14202 sysdep_routines.
14203 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14204 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14205 when HWCAP_SPARC_CRYPTO is present.
14206
72581615
PT
142072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14208
14209 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14210
715a900c
JL
142112012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14212
14213 [BZ #6530]
14214 * stdio-common/vfprintf.c (process_string_arg): Revert
14215 2000-07-22 change.
14216
142172011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14218
14219 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14220 for testcase.
14221 * stdio-common/tst-sprintf.c: Include <locale.h>
14222 (main): Test sprintf's handling of incomplete multibyte
14223 characters.
14224
9bac1d86
L
142252012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14226
14227 * elf/dl-runtime.c (VERSYMIDX): Removed.
14228 * elf/dl-version.c (VERSYMIDX): Likewise.
14229 * elf/do-rel.h (VERSYMIDX): Likewise.
14230 (VALIDX): Likewise.
14231 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14232 * elf/rtld.c (VALIDX): Likewise.
14233 (ADDRIDX): Likewise.
9bac1d86
L
14234 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14235 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14236 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
14237 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14238 (VALIDX): Likewise.
14239 (ADDRIDX): Likewise.
9bac1d86 14240
b31606c0
PT
142412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14242
14243 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14244
11541177
JL
142452012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14246
14247 [BZ #11438]
14248 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14249 to global scope.
14250 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14251 addresses are in the same scope as 192.0.2/24.
14252 * posix/gai.conf: Document new scope table defaults.
14253
adb26fae
SP
142542012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14255
14256 [BZ #5298]
14257 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14258 for ftell. Compute offsets from write pointers instead.
14259 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14260
4573c6b0
SP
142612012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14262
14263 [BZ #14543]
14264 * libio/Makefile (tests): New test case tst-fseek.
14265 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14266 combination works in wide mode.
14267 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14268 state when the external buffer state changes.
14269
aa9bbfe6
DM
142702012-09-27 David S. Miller <davem@davemloft.net>
14271
14272 [BZ #14376]
14273 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14274 pass reloc->r_addend in as the 'high' argument to
14275 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14276
784421e7
DM
14277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14278
c39bc8b8
PT
142792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14280
14281 * rt/tst-aio2.c: Include <pthread.h>.
14282 * rt/tst-aio3.c: Likewise.
14283
1ccc2399
SE
142842012-09-27 Steve Ellcey <sellcey@mips.com>
14285
14286 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14287
31ed4153
L
142882012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14289
25f5f885
L
14290 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14291 contents on [SHARED].
31ed4153 14292
b7bfe116
MP
142932012-09-26 Marek Polacek <polacek@redhat.com>
14294
14295 [BZ #14530]
14296 [BZ #13741]
14297 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14298 for C++ and GCC <4.3 as well as for non GCC compilers.
14299
43c4edba
MT
143002012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14301
14302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14303
6a1bf82f
RM
143042012-09-25 Roland McGrath <roland@hack.frob.com>
14305
14306 * Makefile.in (all, install): Declare with .PHONY.
14307 Reported by Michael Hope <michael.hope@linaro.org>.
14308
8ad11b9a
TMQMF
143092012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14310
14311 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14312 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14313 system header.
14314 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14315 Likewise.
14316 (sydep_routines): Add the new and the internal functions.
14317 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14318 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14320 (GLIBC_2.17): Add the new function.
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14322 (GLIBC_2.17): Likewise.
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14324 (GLIBC_2.17): Likewise.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14326 (GLIBC_2.17): Likewise.
14327 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14328
7e2fca8d
AM
143292012-09-25 Alan Modra <amodra@gmail.com>
14330
14331 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14332 Add release barrier before setting once_control to say
14333 initialisation is done. Add hints on lwarx. Use macro in
14334 place of isync.
14335 (clear_once_control): Add release barrier.
14336
b87c4b24
JM
143372012-09-25 Joseph Myers <joseph@codesourcery.com>
14338
d032e0d2
JM
14339 [BZ #13629]
14340 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14341 specially.
14342 * math/s_clog10.c (__clog10): Likewise.
14343 * math/s_clog10f.c (__clog10f): Likewise.
14344 * math/s_clog10l.c (__clog10l): Likewise.
14345 * math/s_clogf.c (__clogf): Likewise.
14346 * math/s_clogl.c (__clogl): Likewise.
14347 * math/Makefile (libm-calls): Add x2y2m1.
14348 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14349 (__x2y2m1): Likewise.
14350 (__x2y2m1l): Likewise.
14351 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14352 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14353 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14354 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14355 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14356 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14357 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14358 * sysdeps/i386/fpu/libm-test-ulps: Update.
14359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14360
b87c4b24
JM
14361 [BZ #14621]
14362 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14363 int as type of variable DEPTH.
14364 (glob): Use size_t instead of int as type of variables NEWCOUNT
14365 and OLD_PATHC.
14366
6d3bf199
LD
143672012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14368
22bf5c17
LD
14369 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14370 Add s_sincosf-sse2.
14371 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14372 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14373 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14374 macros for using routine as __sincosf_ia32.
14375 Use macro for function declaration and weak_alias.
14376 * sysdeps/i386/fpu/libm-test-ulps: Update.
14377
14378 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14380
14381 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
14382 subnormal argument.
14383 * math/s_cexpf.c (__cexpf): Likewise.
14384 * math/s_csinf.c (__csinf): Likewise.
14385 * math/s_csinhf.c (__csinhf): Likewise.
14386 * math/s_ctanf.c (__ctanf): Likewise.
14387 * math/s_ctanhf.c (__ctanhf): Likewise.
14388 * math/s_ccosh.c (__ccoshf): Likewise.
14389 * math/s_cexp.c (__cexpl): Likewise.
14390 * math/s_csin.c (__csin): Likewise.
14391 * math/s_csinh.c (__csinh): Likewise.
14392 * math/s_ctan.c (__ctan): Likewise.
14393 * math/s_ctanh.c (ctanh): Likewise.
14394 * math/s_ccoshl.c (__ccoshl): Likewise.
14395 * math/s_cexpl.c (__cexpl): Likewise.
14396 * math/s_csinl.c (__csinl): Likewise.
14397 * math/s_csinhl.c (__csinhl): Likewise.
14398 * math/s_ctanl.c (__ctanl): Likewise.
14399 * math/s_ctanhl.c (__ctanhl): Likewise.
14400
203e5603
JM
144012012-09-25 Joseph Myers <joseph@codesourcery.com>
14402
14403 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14404 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14405 (_IO_off_t): Define to __off_t, not _G_off_t.
14406 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14407 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14408 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14409 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14410 type of __dummy and __dummy2 fields.
14411 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14412 (_G_ssize_t): Likewise.
14413 (_G_off_t): Likewise.
14414 (_G_pid_t): Likewise.
14415 (_G_uid_t): Likewise.
14416 (_G_wchar_t): Likewise.
14417 (_G_wint_t): Likewise.
14418 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14419 (_G_ssize_t): Likewise.
14420 (_G_off_t): Likewise.
14421 (_G_pid_t): Likewise.
14422 (_G_uid_t): Likewise.
14423 (_G_wchar_t): Likewise.
14424 (_G_wint_t): Likewise.
14425 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14426 (_G_ssize_t): Likewise.
14427 (_G_off_t): Likewise.
14428 (_G_pid_t): Likewise.
14429 (_G_uid_t): Likewise.
14430 (_G_wchar_t): Likewise.
14431 (_G_wint_t): Likewise.
14432
9fab36eb
SP
144332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14434
14435 * malloc/arena.c: Include malloc-sysdep.h.
14436 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14437 is sufficient to shrink the heap or an unmap is needed.
14438 * sysdeps/generic/malloc-sysdep.h: New file. Define
14439 new function check_may_shrink_heap.
14440 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14441 new function check_may_shrink_heap.
14442
2b4f00d1
SP
144432012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14444
14445 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14446 comments.
14447
9a9028b1
DL
144482012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14449
57c69bef
DL
14450 * catgets/test-gencat.sh: Add "set -e".
14451 * elf/tst-pathopt.sh: Likewise.
14452 * grp/tst_fgetgrent.sh: Likewise.
14453 * iconvdata/run-iconv-test.sh: Likewise.
14454 * intl/tst-gettext.sh: Likewise.
14455 * intl/tst-gettext2.sh: Likewise.
14456 * intl/tst-gettext4.sh: Likewise.
14457 * intl/tst-gettext6.sh: Likewise.
14458 * intl/tst-translit.sh: Likewise.
14459 * io/ftwtest-sh: Likewise.
14460 * libio/test-freopen.sh: Likewise.
14461 * malloc/tst-mtrace.sh: Likewise.
14462 * posix/globtest.sh: Likewise.
14463 * posix/tst-getconf.sh: Likewise.
14464 * posix/wordexp-tst.sh: Likewise.
14465 * stdio-common/tst-printf.sh: Likewise.
14466 * stdio-common/tst-unbputc.sh: Likewise.
14467 * stdlib/tst-fmtmsg.sh: Likewise.
14468 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14469 * catgets/Makefile: Do not specify -e option when running
14470 testsuite shell scripts.
14471 * elf/Makefile: Likewise.
14472 * grp/Makefile: Likewise.
14473 * iconvdata/Makefile: Likewise.
14474 * intl/Makefile: Likewise.
14475 * io/Makefile: Likewise.
14476 * libio/Makefile: Likewise.
14477 * malloc/Makefile: Likewise.
14478 * posix/Makefile: Likewise.
14479 * stdio-common/Makefile: Likewise.
14480 * stdlib/Makefile: Likewise.
14481 * sysdeps/x86_64/Makefile: Likewise.
14482
9a9028b1
DL
14483 * io/ftwtest-sh: Add copyright header.
14484 * posix/globtest.sh: Likewise.
14485 * posix/tst-getconf.sh: Likewise.
14486 * posix/wordexp-tst.sh: Likewise.
14487 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14488
ced6f16e
L
144892012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14490
94b32c39
L
14491 [BZ #13679]
14492 * Makeconfig (+link): Defined as $(+link-static) if
14493 $(build-shared) isn't yes.
14494 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14495 isn't yes.
14496 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14497
189e935b
L
14498 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14499
ced6f16e
L
14500 [BZ #14562]
14501 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14502 new chunk size with MALLOC_ALIGN_MASK.
14503
a9f8e53a
JM
145042012-09-24 Joseph Myers <joseph@codesourcery.com>
14505
14506 [BZ #5044]
14507 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14508 <rounding-mode.h>.
14509 (__printf_fphex): Determine rounding using get_rounding_mode and
14510 round_away.
14511 * stdio-common/tst-printf-round.c (struct hex_test): New
14512 structure.
14513 (hex_tests): New variable.
14514 (test_hex_in_one_mode): New function.
14515 (do_test): Also run tests for hex float output.
14516
43153109
JM
145172012-09-21 Joseph Myers <joseph@codesourcery.com>
14518
14519 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14520 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14521 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14522 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14523 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14524 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14525 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14526 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14527
8a26625d
JM
145282012-09-20 Joseph Myers <joseph@codesourcery.com>
14529
14530 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14531 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14532 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14533 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14534
f3fd569c
DL
145352012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14536
14537 [BZ #14579]
14538 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14539 mode only.
14540 * elf/tst-rtld-load-self.sh: New test.
14541 * elf/Makefile: Run it.
14542
63bbedd4
JM
145432012-09-18 Joseph Myers <joseph@codesourcery.com>
14544
14545 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14546 (tst-writev-ENV): Remove.
14547 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14548
626f8b6a
CM
145492012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14550
14551 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14552
b7aaa4d6
JM
145532012-09-17 Joseph Myers <joseph@codesourcery.com>
14554
14555 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14556 unconditional.
14557 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14558 Likewise.
14559 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14560 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14561 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14562 Likewise.
14563
65513990
L
145642012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14565
14566 [BZ #14587]
14567 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14568 * config.make.in (have-cpp-asm-debuginfo): Removed.
14569 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14570 * configure: Regenerated.
14571
784761be
JM
145722012-09-14 Joseph Myers <joseph@codesourcery.com>
14573
14574 [BZ #5044]
14575 * stdio-common/printf_fp.c: Include <stdbool.h> and
14576 <rounding-mode.h>.
14577 (___printf_fp): Determine rounding using get_rounding_mode and
14578 round_away.
14579 * stdio-common/tst-printf-round.c: New file.
14580 * stdio-common/Makefile (tests): Add tst-printf-round.
14581 (link-libm): New variable.
14582 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14583
9503345f
L
145842012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14585
14586 [BZ #14576]
14587 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14588 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14589 Likewise.
14590 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14591 Likewise.
14592
ad35fc00
JM
145932012-09-13 Joseph Myers <joseph@codesourcery.com>
14594
14595 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14596 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14597 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14598 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14599
6c9b0f68
JM
146002012-09-12 Joseph Myers <joseph@codesourcery.com>
14601
14602 [BZ #14518]
14603 * include/rounding-mode.h: New file.
14604 * sysdeps/generic/get-rounding-mode.h: Likewise.
14605 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14606 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14607 (MAX_VALUE): New macro.
14608 (MIN_VALUE): Likewise.
14609 (overflow_value): New function.
14610 (underflow_value): Likewise.
14611 (round_and_return): Use overflow_value and underflow_value to
14612 determine return values in overflow and underflow cases. Use
14613 round_away to determine rounding depending on rounding mode.
14614 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14615 determine return values in overflow and underflow cases.
14616 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14617 (struct test_results): New structure.
14618 (struct test): Use struct test_results to store expected results
14619 for all rounding modes.
14620 (TEST): Include expected results for all rounding modes.
14621 (test_in_one_mode): New function.
14622 (do_test): Use test_in_one_mode to compute and check results.
14623 Check results for all rounding modes.
14624 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14625 $(link-libm).
14626
19fcedd5
AM
146272012-12-09 Allan McRae <allan@archlinux.org>
14628
1e9d84cd 14629 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14630
8bbfd2f1
JM
146312012-09-11 Joseph Myers <joseph@codesourcery.com>
14632
14633 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14634 (_G_int32_t): Likewise.
14635 (_G_uint16_t): Likewise.
14636 (_G_uint32_t): Likewise.
14637 (_G_HAVE_BOOL): Likewise.
14638 (_G_HAVE_ATEXIT): Likewise.
14639 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14640 (_G_HAVE_IO_FILE_OPEN): Likewise.
14641 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14642 (_G_int32_t): Likewise.
14643 (_G_uint16_t): Likewise.
14644 (_G_uint32_t): Likewise.
14645 (_G_HAVE_BOOL): Likewise.
14646 (_G_HAVE_ATEXIT): Likewise.
14647 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14648 (_G_HAVE_IO_FILE_OPEN): Likewise.
14649 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14650 (_G_int32_t): Likewise.
14651 (_G_uint16_t): Likewise.
14652 (_G_uint32_t): Likewise.
14653 (_G_HAVE_BOOL): Likewise.
14654 (_G_HAVE_ATEXIT): Likewise.
14655 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14656 (_G_HAVE_IO_FILE_OPEN): Likewise.
14657
b1dc5912
L
146582012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14659
14660 * csu/libc-tls.c: Update copyright years.
14661
0e886ef9
JM
146622012-09-10 Joseph Myers <joseph@codesourcery.com>
14663
28361c5e
JM
14664 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14665 [!_G_USING_THUNKS]: Remove conditional code.
14666 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14667 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14668
0e886ef9
JM
14669 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14670 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14671 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14672 (_G_VTABLE_LABEL_PREFIX): Likewise.
14673 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14674 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14675 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14676 (_G_VTABLE_LABEL_PREFIX): Likewise.
14677 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14678 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14679 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14680 (_G_VTABLE_LABEL_PREFIX): Likewise.
14681 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14682
bcba7aa2
L
146832012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14684
14685 * libio/Makefile: Include ../Makeconfig before tests.
14686 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14687 only if $(build-shared) is yes.
14688
06585ee8
L
14689 * iconv/gconv_db.c: Update copyright years.
14690
80ccd52c
LD
146912012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14692
14693 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14694 unwind info if defined PIC. Fix special cases description.
14695 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14696
14697 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14698 DP_HI_MASK entry.
14699 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14700
691bc9c1
L
147012012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14702
3d9b46b3
L
14703 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14704
de2139a9
L
14705 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14706 is NULL.
14707
5ca78dd0
L
14708 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14709 (LDLIBS-tst-chk4): This.
14710 (LDFLAGS-tst-chk5): Renamed to ...
14711 (LDLIBS-tst-chk5): This.
14712 (LDFLAGS-tst-chk6): Renamed to ...
14713 (LDLIBS-tst-chk6): This.
14714 (LDFLAGS-tst-lfschk4): Renamed to ...
14715 (LDLIBS-tst-lfschk4): This.
14716 (LDFLAGS-tst-lfschk5): Renamed to ...
14717 (LDLIBS-tst-lfschk5): This.
14718 (LDFLAGS-tst-lfschk6): Renamed to ...
14719 (LDLIBS-tst-lfschk6): This.
14720
691bc9c1
L
14721 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14722 on $(common-objpfx)soversions.mk.
14723
65cafb1c
JM
147242012-09-07 Joseph Myers <joseph@codesourcery.com>
14725
14726 [BZ #10014]
14727 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14728 example host name.
14729
c78ab094
SP
147302012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14731
14732 * malloc/arena.c (arena_get_retry): New function that gets
14733 another arena for the caller to try its request on.
14734 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14735 current arena cannot fulfill the request.
14736 (__libc_memalign): Likewise.
14737 (__libc_memalign): Likewise.
14738 (__libc_pvalloc): Likewise.
14739 (__libc_calloc): Likewise.
14740
01f49f59
JT
147412012-09-05 John Tobey <john.tobey@gmail.com>
14742
14743 [BZ #13542]
14744 * manual/arith.texi (Operations on Complex): Fix description
14745 of carg branch cut.
14746
4c23fed5
JM
147472012-09-06 Joseph Myers <joseph@codesourcery.com>
14748
1d3c8572
JM
14749 [BZ #10014]
14750 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14751 host name.
14752
4c23fed5
JM
14753 [BZ #10038]
14754 * manual/memory.texi (Memory): Make order of menu items match
14755 order of sections.
14756
04570aaa
L
147572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14758
14759 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14760 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14761 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14762
b80af2f4
L
147632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14764
14765 * csu/libc-tls.c (static_dtv): Renamed to ...
14766 (_dl_static_dtv): This. Make it global.
14767 (_dl_initial_dtv): Removed.
14768 (__libc_setup_tls): Updated.
14769 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14770 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14771 DL_INITIAL_DTV.
14772
2abe9f15
PM
147732012-09-06 Petr Machata <pmachata@redhat.com>
14774
14775 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14776 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14777 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14778 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14779
0948c3af
L
147802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14781
14782 [BZ #14545]
14783 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14784 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14785 freeing dtv[-1].
14786
a5055ad1
L
147872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14788
14789 [BZ #14544]
14790 * Makeconfig (link-static-before-libc): Replace $(+prector)
14791 with $(+prectorT).
14792 (link-static-after-libc): Replace $(+postctor) with
14793 $(+postctorT).
14794 (link-bounded): Replace $(+prector)/$(+postctor) with
14795 $(+prectorT)/$(+postctorT).
14796 (+prectorT): New macro.
14797 (+postctorT): Likewise.
14798
ed8c2ecd
JM
147992012-09-06 Joseph Myers <joseph@codesourcery.com>
14800
14801 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14802 (round_str): Handle values above the maximum for IBM long double
14803 as inexact.
14804 * stdlib/tst-strtod-round.c (tests): Regenerated.
14805
14c996c8
AK
148062012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14807
14808 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14809 assembler flag.
14810 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14811 zarch_nohighgprs around the zarch optimized routines.
14812 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14813 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14814 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14815 for zarch.
14816
430d6ce6
DM
148172012-09-05 David S. Miller <davem@davemloft.net>
14818
14819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14820
ff04dda4
DM
14821 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14822 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14823 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14824 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14825 entries.
14826
24d4e01b
AO
148272012-09-05 Alexandre Oliva <aoliva@redhat.com>
14828
14829 * malloc/arena.c: Fold copyright years.
14830 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14831
61d58174
AO
148322012-09-05 Alexandre Oliva <aoliva@redhat.com>
14833
14834 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14835
20196a5e
AO
148362012-09-05 Alexandre Oliva <aoliva@redhat.com>
14837
14838 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14839
5c447383
AO
148402012-09-05 Alexandre Oliva <aoliva@redhat.com>
14841
14842 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14843 change internal state upon failure.
14844
fad64255
AO
148452012-09-05 Alexandre Oliva <aoliva@redhat.com>
14846
14847 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14848 * malloc/memusage.c (mmap): Likewise.
14849 (mmap64, mremap): Likewise. Adjust name in comment.
14850
1ffb8c90
SP
148512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14852
14853 * libio/fileops.c: Fix typos in comments.
14854 * libio/oldfileops.c: Likewise.
14855 * libio/wfileops.c: Likewise.
14856
6ef9cc37
SP
148572012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14858
14859 [BZ #1349]
14860 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14861 (tst-malloc-usable-ENV): Set environment for test case.
14862 * malloc/hooks.c (malloc_check_get_size): New function to get
14863 requested size.
14864 * malloc/malloc.c (musable): Use malloc_check_get_size.
14865 * malloc/tst-malloc-usable.c: New test case.
14866
4d038ae3
AS
148672012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14868
14869 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14870
c4e85184
AM
148712012-09-05 Allan McRae <allan@archlinux.org>
14872
b9dafc56 14873 [BZ #13966]
c4e85184
AM
14874 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14875 determine header location.
14876 * configure: Regenerated.
14877
e1343020
AS
148782012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14879
14880 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14881 float format.
14882 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14883 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14884 format.
e1343020
AS
14885 (test): Regenerate.
14886
0a9f1987
DM
148872012-09-04 David S. Miller <davem@davemloft.net>
14888
14889 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14890 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14891 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14892
29237804
FW
148932012-09-04 Florian Weimer <fweimer@redhat.com>
14894
14895 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14896 failures.
14897
edb3cb88
FW
14898 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14899
60160d83
JM
149002012-09-04 Joseph Myers <joseph@codesourcery.com>
14901
14902 [BZ #9914]
14903 * libio/iogetdelim.c: Include <limits.h>.
14904 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14905 + len + 1 would overflow.
14906
bcd6c8dc
AJ
149072012-09-03 Andreas Jaeger <aj@suse.de>
14908
14909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14910 * sysdeps/i386/fpu/libm-test-ulps: Update.
14911
4ffffbd2
LD
149122012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14913
14914 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14915 Add s_sinf-sse2, s_conf-sse2.
14916
14917 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14918 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14919 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14920 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14921
14922 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14923 for using routine as __sinf_ia32.
14924 Use macro for function declaration and weak_alias.
14925 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14926 for using routine as __cosf_ia32.
14927 Use macro for function declaration and weak_alias.
14928
14929 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14930 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14931
14932 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14933 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14935
14936 * math/libm-test.inc (cos_test): Add more test cases.
14937 (sin_test): Likewise.
14938 (sincos_test): Likewise.
14939
511fa286
AK
149402012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14941
14942 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14943 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14944 hidden.
14945 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14946
5f30cfec
L
149472012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14948
14949 [BZ #14538]
14950 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14951 first element of the GOT.
14952 (elf_machine_load_address): Return the difference between
14953 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14954
0786794f
AM
149552012-09-01 Allan McRae <allan@archlinux.org>
14956
5f30cfec
L
14957 [BZ #13412]
14958 * configure.in (AWK): Require gawk version 3.0 or later.
14959 * configure: Regenerated.
0786794f 14960
26889eac
JM
149612012-09-01 Joseph Myers <joseph@codesourcery.com>
14962
14963 * sysdeps/unix/sysv/linux/kernel-features.h
14964 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14965 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14966 [__NR_clock_getres]: Make code unconditional.
14967 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14968 (clock_getcpuclockid): Remove code left unreachable by removal of
14969 conditionals.
14970 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14971 code unconditional.
14972 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14973 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14974 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14975 Make code unconditional.
14976 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14977 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14978 * sysdeps/unix/sysv/linux/clock_settime.c
14979 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14980 conditional code.
14981 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14982 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14983
d22e28b0
L
149842012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14985
14986 [BZ #14476]
14987 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14988 scripts/test-installation.pl.
14989
14990 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14991 and $ld_so_version if it is set.
14992
050af9c4
SP
149932012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14994
14995 [BZ #14516]
14996 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14997 failure if reading from procfs failed.
14998 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14999
ad845c0b
JM
150002012-08-27 Joseph Myers <joseph@codesourcery.com>
15001
15002 * sysdeps/unix/sysv/linux/kernel-features.h
15003 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15004 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15005 Remove conditional code.
15006 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15007 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15008 Remove conditional code.
15009 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15010 * sysdeps/unix/sysv/linux/i386/fxstat.c
15011 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15012 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15013 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15014 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15015 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15016 * sysdeps/unix/sysv/linux/i386/lxstat.c
15017 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15018 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15019 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15020 Remove conditional code.
15021 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15022 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15023 Remove conditional code.
15024 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15025 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15026 <kernel-features.h>.
15027 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15028 Remove.
15029 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15030 Remove conditional code.
15031 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15032 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15033 Remove conditional.
15034
5dbf56af
MF
150352012-08-27 Mike Frysinger <vapier@gentoo.org>
15036
15037 [BZ #5400]
15038 * NEWS: Add fixed bug number.
15039
d6e70f43
JM
150402012-08-27 Joseph Myers <joseph@codesourcery.com>
15041
7efb4737
JM
15042 [BZ #14519]
15043 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15044 underflowing exponent in case of negative sign.
15045 * stdlib/tst-strtod-round-data: Add more tests.
15046 * stdlib/tst-strtod-round.c (tests): Regenerated.
15047
af92131a
JM
15048 [BZ #3479]
15049 * stdlib/strtod_l.c (NDIG): Remove.
15050 (HEXNDIG): Likewise.
15051 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15052 smallest representable value.
15053 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15054 lie within an exact representation of 1/2 ulp of the result.
15055 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15056 unconditionally.
15057 (TENS_P9_IDX): Define unconditionally.
15058 (TENS_P9_SIZE): Likewise.
15059 (TENS_P10_IDX): Likewise.
15060 (TENS_P10_SIZE): Likewise.
15061 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15062 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15063 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15064 entries for 10^2^13 and 10^2^14.
15065 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15066 (TENS_P13_IDX): Define.
15067 (TENS_P13_SIZE): Likewise.
15068 (TENS_P14_IDX): Likewise.
15069 (TENS_P14_SIZE): Likewise.
15070 (_fpioconst_pow10): Change array size to
15071 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15072 unconditional.
15073 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15074 1024]: Add entries for 10^2^13 and 10^2^14.
15075 [LAST_POW10 > _LAST_POW10]: Remove #error.
15076 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15077 (_fpioconst_pow10): Change array size to
15078 FPIOCONST_POW10_ARRAY_SIZE.
15079 * stdlib/gen-fpioconst.c: New file.
15080 * stdlib/gen-tst-strtod-round.c: Likewise.
15081 * stdlib/tst-strtod-round-data: Likewise.
15082 * stdlib/tst-strtod-round.c: Likewise.
15083 * stdlib/Makefile (tests): Add tst-strtod-round.
15084
d6e70f43
JM
15085 [BZ #14459]
15086 * stdlib/strtod_l.c: Include <stdint.h>.
15087 (NDEBUG): Do not define.
15088 (round_and_return): Change EXPONENT parameter to type intmax_t.
15089 Rearrange calculations to avoid internal overflow possibilities.
15090 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15091 Rearrange calculations to avoid internal overflow possibilities.
15092 Assert that number fits inside MPNSIZE limbs.
15093 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15094 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15095 calculations and add assertions to avoid internal overflow
15096 possibilities. Add casts to avoid signed/unsigned operations.
15097 * stdlib/tst-strtod-overflow.c: New file.
15098 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15099
1f529f7d
MP
151002012-08-25 Marek Polacek <polacek@redhat.com>
15101
15102 * time/time.h: Fix some typos in comments.
15103
59a629f1
RM
151042012-08-23 Roland McGrath <roland@hack.frob.com>
15105
15106 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15107 * posix/tst-rfc3484-2.c: Likewise.
15108 * posix/tst-rfc3484-3.c: Likewise.
15109
d3bafbc9
SM
151102012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15111
15112 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15113 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15114
4efcc022
JM
151152012-08-23 Joseph Myers <joseph@codesourcery.com>
15116
15117 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15118 #include of fxstatat64.c.
15119
3cc3ef96
RM
151202012-08-22 Roland McGrath <roland@hack.frob.com>
15121
f04e2132
RM
15122 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15123 * shadow/getspent_r.c: Likewise.
15124 * shadow/getspnam.c: Likewise.
15125 * shadow/getspnam_r.c: Likewise.
15126 * gshadow/getsgent.c: Likewise.
15127 * gshadow/getsgent_r.c: Likewise.
15128 * gshadow/getsgnam.c: Likewise.
15129 * gshadow/getsgnam_r.c: Likewise.
15130 * inet/getnetbyad.c: Likewise.
15131 * inet/getnetbyad_r.c: Likewise.
15132 * inet/getnetbynm.c: Likewise.
15133 * inet/getnetbynm_r.c: Likewise.
15134 * inet/getnetent.c: Likewise.
15135 * inet/getnetent_r.c: Likewise.
15136 * inet/getproto.c: Likewise.
15137 * inet/getproto_r.c: Likewise.
15138 * inet/getprtent.c: Likewise.
15139 * inet/getprtent_r.c: Likewise.
15140 * inet/getprtname.c: Likewise.
15141 * inet/getprtname_r.c: Likewise.
15142 * inet/getrpcbyname.c: Likewise.
15143 * inet/getrpcbyname_r.c: Likewise.
15144 * inet/getrpcbynumber.c: Likewise.
15145 * inet/getrpcbynumber_r.c: Likewise.
15146 * inet/getrpcent.c: Likewise.
15147 * inet/getrpcent_r.c: Likewise.
15148 * inet/getaliasent.c: Likewise.
15149 * inet/getaliasent_r.c: Likewise.
15150 * inet/getaliasname.c: Likewise.
15151 * inet/getaliasname_r.c: Likewise.
15152 * nscd/getgrgid_r.c: Likewise.
15153 * nscd/getgrnam_r.c: Likewise.
15154 * nscd/gethstbyad_r.c: Likewise.
15155 * nscd/gethstbynm3_r.c: Likewise.
15156 * nscd/getpwnam_r.c: Likewise.
15157 * nscd/getpwuid_r.c: Likewise.
15158 * nscd/getsrvbynm_r.c: Likewise.
15159 * nscd/getsrvbypt_r.c: Likewise.
15160 * nscd/gai.c: Likewise.
15161
c53d909c
RM
15162 * configure.in (build_nscd): New substituted variable, set
15163 by --disable-build-nscd and defaults to $use_nscd.
15164 * configure: Regenerated.
15165 * config.make.in (build-nscd): New substituted variable.
15166 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15167 Change conditional to require [$(build-nscd) = yes] as well.
15168 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15169
3cc3ef96
RM
15170 [BZ# 13696]
15171 * configure.in (use_nscd): New substituted variable, set by
15172 --disable-nscd. If enabled, define USE_NSCD.
15173 * configure: Regenerated.
15174 * config.h.in: Add USE_NSCD.
15175 * config.make.in (use-nscd): New substituted variable.
15176 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15177 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15178 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15179 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15180 (CFLAGS-getgrnam_r.c): Likewise.
15181 (CFLAGS-initgroups.c): Likewise.
15182 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15183 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15184 Variables removed.
15185 * inet/getnetgrent_r.c
15186 (nscd_setnetgrent): New function, broken out of ...
15187 (setnetgrent): ... here. Call it.
15188 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15189 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15190 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15191 * nscd/Makefile (routines, aux): Move definitions after include of
15192 Makeconfig. Conditionalize on [$(use-nscd) != no].
15193 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15194 Conditionalize on [USE_NSCD].
15195 (is_nscd, nscd_init_cb): Likewise.
15196 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15197 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15198 * nss/nss_db/db-init.c: Likewise.
15199 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15200 [USE_NSCD].
15201 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15202 (make_request): Use it.
15203 (cache_valid_p): New function.
15204 (__check_pf): Use it.
15205 * NEWS: Add item for --disable-nscd.
15206
07e51550
DL
152072012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15208
15209 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15210 to support sed >= 4.2.1-20-ga9bf076.
15211 * configure: Regenerated.
15212
35a5b08b
RM
152132012-08-22 Roland McGrath <roland@hack.frob.com>
15214
15215 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15216 Conditionalize whole body on [IREL].
15217
8479f23a
JL
152182012-08-22 Jeff Law <law@redhat.com>
15219
15220 [BZ #14505]
15221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15222 if the family is PF_UNSPEC.
15223
48da0b21
MF
152242012-08-22 Mike Frysinger <vapier@gentoo.org>
15225
15226 * Makerules (lib-version): Rename from V.
15227 (install-lib-nosubdir): Change V to lib-version.
15228
15d0da8c
WS
152292012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15230
15231 [BZ #14252]
15232 * powerpc32/power6/wcschr.c: New file.
15233 * powerpc32/power6/wcscpy.c: New file.
15234 * powerpc32/power6/wcsrchr.c: New file.
15235 * powerpc64/power6/wcschr.c: New file.
15236 * powerpc64/power6/wcscpy.c: New file.
15237 * powerpc64/power6/wcsrchr.c: New file.
15238
bcca0895
MK
152392012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15240
15241 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15242 (two_way_short_needle): Use it.
5a4aaa33
RM
15243 * string/strstr.c (AVAILABLE1_USES_J): Define.
15244 * string/strcasestr.c: Likewise.
99677e57
MK
15245
15246 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15247 array references.
15248 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15249
400726de
MK
15250 [BZ #11607]
15251 * NEWS: Add an entry.
15252 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15253 define their defaults.
15254 (two_way_short_needle): Detect end-of-string on-the-fly.
15255 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15256 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15257 * string/bug-strcasestr1.c: New test.
15258 * string/Makefile: Run it.
15259
20a71f2c
MK
152602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15261
15262 [BZ #11607]
15263 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15264 the first character.
15265
21ad0558
RM
152662012-08-21 Roland McGrath <roland@hack.frob.com>
15267
15268 * csu/elf-init.c (__libc_csu_irel): Function removed.
15269 * csu/libc-start.c (apply_irel): New function.
15270 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15271
0e1d9911
JM
152722012-08-21 Joseph Myers <joseph@codesourcery.com>
15273
15274 * sysdeps/unix/sysv/linux/kernel-features.h
15275 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15276 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15277 <kernel-features.h>.
15278 [__NR_fadvise64_64]: Make code unconditional.
15279 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15280 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15281 !__NR_fadvise64_64)]: Likewise.
15282 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15283 !__NR_fadvise64_64))]: Likewise.
15284 [__NR_fadvise64]: Make code unconditional.
15285 [!__NR_fadvise64]: Remove conditional code.
15286 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15287 <kernel-features.h>.
15288 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15289 unconditional.
15290 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15291 conditional code.
15292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15293 not include <kernel-features.h>.
15294 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15295 unconditional.
15296 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15297 conditional code.
15298 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15299 include <kernel-features.h>.
15300 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15301 unconditional.
15302 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15303 conditional code.
15304
14a50c9d
WS
153052012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15306
15307 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15308 slight instruction rearrangements per scrollpipe analysis.
15309 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15310
c0f4faf0
RM
153112012-08-20 Roland McGrath <roland@hack.frob.com>
15312
696da859
RM
15313 * manual/syslog.texi (syslog; vsyslog, closelog):
15314 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15315 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15316
c0f4faf0
RM
15317 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15318 DSOCAPS to match condition on defining it.
15319
348363b2
JM
153202012-08-20 Joseph Myers <joseph@codesourcery.com>
15321
a35cbf28
JM
15322 * sysdeps/unix/sysv/linux/kernel-features.h
15323 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15325 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15326 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15328 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15329 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15331 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15332 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15333
445f7ecd
JM
15334 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15335 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15336
348363b2
JM
15337 * sysdeps/unix/sysv/linux/kernel-features.h
15338 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15339 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15340 unconditional.
15341 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15342 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15343 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15344 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15345 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15346 Make code unconditional.
15347 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15348 (__mmap64) [!__NR_mmap2]: Likewise.
15349 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15350 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15351 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15352 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15353 [__NR_mmap2]: Make code unconditional.
15354 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15355 (__mmap64) [!__NR_mmap2]: Likewise.
15356
bc5bc0e5
AK
153572012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15358
15359 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15360
88d506de
AJ
153612012-08-18 Andreas Jaeger <aj@suse.de>
15362
15363 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15364
493387d2
MF
153652012-08-18 Mike Frysinger <vapier@gentoo.org>
15366
15367 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15368 * include/unistd.h (__have_sock_cloexec): Likewise.
15369 (__have_pipe2): Likewise.
15370 (__have_dup3): Likewise.
15371
a277af22
MF
153722012-08-18 Mike Frysinger <vapier@gentoo.org>
15373
15374 [BZ #9685]
15375 * include/unistd.h (__have_pipe2): Change define into an extern int.
15376 (__have_dup3): Likewise.
15377 * socket/have_sock_cloexec.c: Include fcntl.h.
15378 (__have_pipe2): New variable.
15379 (__have_dup3): Likewise.
15380
fdab8fd3
MF
153812012-08-17 Mike Frysinger <vapier@gentoo.org>
15382
15383 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15384
31035e80
MP
153852012-08-17 Marek Polacek <polacek@redhat.com>
15386
15387 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15388 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15389
3bd9e993
RM
153902012-08-17 Roland McGrath <roland@hack.frob.com>
15391
c91c505f
RM
15392 * configure.in: Add AC_SUBST for sysheaders.
15393 * configure: Regenerated.
15394 * config.make.in (sysheaders): New substituted variable.
15395
7c6f9d53
RM
15396 * sysdeps/unix/mkfifo.c: Moved ...
15397 * sysdeps/posix/mkfifo.c: ... here.
15398 * sysdeps/unix/mkfifoat.c: Moved ...
15399 * sysdeps/posix/mkfifoat.c: ... here.
15400
15401 * sysdeps/unix/utime.c: Moved ...
15402 * sysdeps/posix/utime.c: ... here.
15403
15404 * sysdeps/unix/time.c: Moved ...
15405 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
15406 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15407 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
15408
15409 * sysdeps/unix/nice.c: Moved ...
15410 * sysdeps/posix/nice.c: ... here.
15411
15412 * sysdeps/unix/alarm.c: Moved ...
15413 * sysdeps/posix/alarm.c: ... here.
15414
3bd9e993
RM
15415 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15416
d1f09384
JL
154172012-08-17 Jeff Law <law@redhat.com>
15418
15419 * intl/Makefile (codeset_mo): New variable.
15420 ($(codeset_mo)): New target.
15421 (tst-codeset.out): Depend on that. Remove explicit rule.
15422 (tst-gettext3.out, tst-gettext5.out): Likewise.
15423 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15424 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15425 * intl/tst-codeset.sh: Remove.
15426 * intl/tst-gettext3.sh: Likewise.
15427 * intl/tst-gettext5.sh: Likewise.
15428
2ae1ae5c
RM
154292012-08-17 Roland McGrath <roland@hack.frob.com>
15430
c31fdb83
RM
15431 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15432 * sysdeps/unix/syscalls.list: ... here.
15433
a0844057
RM
15434 * sysdeps/posix/getaddrinfo.c
15435 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15436 (gaiconf_init, gaiconf_reload): Use them.
15437 [!_STATBUF_ST_NSEC]
15438 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15439 Define using time_t rather than struct timespec.
15440
750c1f2a
RM
15441 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15442 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15443 Macros removed.
15444 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15445 [!NO_THREADS].
15446 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15447 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15448 Likewise.
15449
2ae1ae5c
RM
15450 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15451 __libc_cleanup_push argument.
15452
e66a42f5
RM
15453 * bits/param.h: New file.
15454 * misc/sys/param.h: New file.
15455 * include/sys/param.h: New file.
15456 * misc/Makefile (headers): Add bits/param.h.
15457 * sysdeps/generic/sys/param.h: File removed.
15458 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15459 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15460 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15461 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15462
b7c08a66
RM
15463 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15464 last change.
15465
b2e1c562
RM
15466 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15467 [_IO_MTSAFE_IO].
15468 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15469 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15470 New macros.
15471
c75ccd4c
RM
15472 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15473 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15474 rather than -D_IO_MTSAFE_IO conditionally.
15475 * stdio-common/Makefile (CPPFLAGS): Likewise.
15476 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15477 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15478 Use $(libio-mtsafe).
15479 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15480 of -D_IO_MTSAFE_IO.
15481 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15482 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15483 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15484 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15485 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15486 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15487 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15488 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15489 (CFLAGS-fread_u_chk.c): Likewise.
15490 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15491 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15492 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15493 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15494 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15495 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15496 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15497 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15498 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15499
15500 * libio/Makefile: Test [$(libc-reentrant) = yes]
15501 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15502
15503 * Makeconfig
15504 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15505 * sysdeps/pthread/configure: File removed.
15506 * sysdeps/pthread/Makeconfig: New file.
15507 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15508 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15509
d9195db8
GB
155102012-08-16 Gary Benson <gbenson@redhat.com>
15511
15512 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15513 unmapping the first object in a namespace.
15514
86466cd9
RM
155152012-08-16 Roland McGrath <roland@hack.frob.com>
15516
15517 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15518 (__internal_setnetgrent): ... this. Add internal_function to
15519 definition. Add libc_hidden_def.
15520 (setnetgrent): Update caller.
15521 (internal_endnetgrent): Renamed to ...
15522 (__internal_endnetgrent): ... this. Add internal_function to
15523 definition. Add libc_hidden_def.
15524 (endnetgrent): Update caller.
15525 (internal_getnetgrent_r): Renamed to ...
15526 (__internal_getnetgrent_r): ... this. Add internal_function to
15527 definition. Add libc_hidden_def.
15528 (__getnetgrent_r): Update caller.
15529 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15530
c3c8283c
JM
155312012-08-16 Joseph Myers <joseph@codesourcery.com>
15532
15533 * stdlib/longlong.h: Update from GCC.
15534
db1ee0a8
RM
155352012-08-16 Roland McGrath <roland@hack.frob.com>
15536
15537 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15538 on _QL, which is set by umul_ppmm but never used.
15539 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15540 variables, which are set by GMP macros but never used.
15541 * stdio-common/_itowa.c (_itowa): Likewise.
15542 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15543 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15544
30f69637
CD
155452012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15546
15547 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15548 struct La_sh_regs is not constant.
15549 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15550 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15551 and struct La_sparc64_regs are not constant.
15552
93a78ac4
JM
155532012-08-16 Joseph Myers <joseph@codesourcery.com>
15554
15555 * sysdeps/unix/sysv/linux/kernel-features.h
15556 (__ASSUME_POSIX_TIMERS): Remove.
15557 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15558 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15559 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15560 Make code unconditional.
15561 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15562 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15563 Make code unconditional.
15564 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15565 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15566 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15567 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15568 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15569 Make code unconditional.
15570 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15571 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15572 (__libc_missing_posix_timers): Remove.
15573
dd924cd7
RM
155742012-08-15 Roland McGrath <roland@hack.frob.com>
15575
4b4f2771
RM
15576 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15577 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15578
601c888b
RM
15579 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15580
176790a7
RM
15581 * elf/dl-sym.c: Include <stdlib.h>.
15582
329bc018
RM
15583 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15584 constants, which avoids warnings in 32-bit builds.
15585
e04e272d
RM
15586 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15587 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15588
952bf94a
RM
15589 * misc/lseek.c: File moved to ...
15590 * io/lseek.c: ... here.
15591
7c99b50a
RM
15592 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15593
dd924cd7
RM
15594 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15595 shifting LEN more than 31 bits at once.
15596
b3f479a8
LD
155972012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15598
15599 [BZ #14195]
8c4ae0d4
RM
15600 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15601 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15602 * string/test-strncasecmp.c (check1): Renamed to...
15603 (bz12205): ...this.
15604 (bz14195): Add new testcase for two empty input strings and N > 0.
15605 (test_main): Call new testcase, adapt for renamed function.
15606
9c55864e
AJ
156072012-08-15 Andreas Jaeger <aj@suse.de>
15608
15609 [BZ #14090]
15610 * crypt/md5test2.c: New test, based on test supplied by Serge
15611 Belyshev <belyshev@depni.sinp.msu.ru>.
15612 * crypt/Makefile (xtests): Add md5test-giant..
15613 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15614
02dcb6c5
PE
156152012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15616
15617 [BZ #14090]
15618 * crypt/md5.c (md5_process_block): Don't assume the buffer
15619 length is less than 2**32.
15620 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15621 length is less than 2**64.
15622
a3f95dcc
RM
156232012-08-15 Roland McGrath <roland@hack.frob.com>
15624
be75d758
RM
15625 * string/str-two-way.h: Include <sys/param.h>.
15626 (MAX): Macro removed.
15627
7312ca90
RM
15628 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15629 Move #define and #undef of memmove to just before and after
15630 including <string.h>.
15631
9a0a5486
RM
15632 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15633 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15634 and after including <string.h>. Move declarations of
15635 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15636 to before #include "string/memmove.c".
15637
67cc348d
RM
15638 * include/dirent.h: Declare __getdirentries.
15639
a3f95dcc
RM
15640 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15641 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15642
ca98e171
MF
156432012-08-14 Mike Frysinger <vapier@gentoo.org>
15644
15645 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15646 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15647 * sysdeps/i386/configure: Regenerated.
15648 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15649 STABS_CURRENT_FILE, and STABS_FUN.
15650 (END): Remove call to STABS_FUN_END.
15651 (STABS_CURRENT_FILE1): Delete.
15652 (STABS_CURRENT_FILE): Likewise.
15653 (STABS_FUN): Likewise.
15654 (STABS_FUN_END): Likewise.
15655 (STABS_FUN2): Likewise.
15656 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15657 * sysdeps/x86_64/configure: Regenerated.
15658
5908bf46
RM
156592012-08-14 Roland McGrath <roland@hack.frob.com>
15660
15661 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15662 * elf/dl-lookup.c: Likewise.
5908bf46 15663
f2c05b9e
JM
156642012-08-14 Joseph Myers <joseph@codesourcery.com>
15665
15666 * sysdeps/unix/sysv/linux/kernel-features.h
15667 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15668 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15669 unconditionally.
15670 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15671 unconditionally.
15672 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15673 condition on __ASSUME_CLONE_THREAD_FLAGS.
15674
e11f5155
AJ
156752012-08-14 Andreas Jaeger <aj@suse.de>
15676
15677 * sysdeps/i386/fpu/libm-test-ulps: Update.
15678
51a9ba86
MK
156792012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15680
2fdd4f78
AJ
15681 * include/atomic.h (atomic_exchange_and_add): Split into ...
15682 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15683 New atomic macros.
51a9ba86 15684
ba6cba9e
MT
156852012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15686
15687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15688
42443a47
JL
156892012-08-13 Jeff Law <law@redhat.com>
15690
15691 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15692 null byte in the output string.
15693
121dce05
JM
156942012-08-10 Joseph Myers <joseph@codesourcery.com>
15695
15696 * sysdeps/unix/sysv/linux/kernel-features.h
15697 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15698 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15699 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15700 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15701 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15702 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15703 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15704
bf51f568
JL
157052012-08-09 Jeff Law <law@redhat.com>
15706
15707 [BZ #13939]
15708 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15709 When avoid_arena is set, don't retry in the that arena. Pick the
15710 next one, whatever it might be.
15711 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15712 (arena_lock): Pass in new parameter to arena_get2.
15713 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15714 arena_get2.
15715 (__libc_malloc): Unify retrying after main arena failure with
15716 __libc_memalign version.
15717 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15718
f85fa270
L
157192012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15720
15721 [BZ #14166]
15722 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15723 to __redirect_strstr.
15724 (__strstr_sse42): Use typeof __redirect_strstr.
15725 (__strstr_ia32): Likewise.
15726 (__libc_strstr): New prototype.
15727 (strstr): Renamed to ...
15728 (__libc_strstr): This.
15729 (strstr): New strong alias of __libc_strstr.
15730 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15731 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15732 __redirect_time.
15733 Include <time.h>.
15734 (__libc_time): New prototype.
15735 (time_ifunc): Replace time with __libc_time.
15736 (time): New strong alias and hidden definition of __libc_time.
15737 (__GI_time): Remove strong alias.
15738 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15739 Include <stddef.h>.
15740 (memmove): Redefined to __redirect_memmove.
15741 (__memmove_sse2): Use typeof __redirect_memmove.
15742 (__memmove_ssse3): Likewise.
15743 (__memmove_ssse3_back): Likewise.
15744 (__libc_memmove): New prototype.
15745 (memmove): Renamed to ...
15746 (__libc_memmove): This.
15747 (memmove): New strong alias of __libc_memmove.
15748
33b4a91e
MS
157492012-08-08 Mark Salter <msalter@redhat.com>
15750
15751 * elf/elf.h
15752 (R_MN10300_TLS_GD): Define.
15753 (R_MN10300_TLS_LD): Likewise.
15754 (R_MN10300_TLS_LDO): Likewise.
15755 (R_MN10300_TLS_GOTIE): Likewise.
15756 (R_MN10300_TLS_IE): Likewise.
15757 (R_MN10300_TLS_LE): Likewise.
15758 (R_MN10300_TLS_DTPMOD): Likewise.
15759 (R_MN10300_TLS_DTPOFF): Likewise.
15760 (R_MN10300_TLS_TPOFF): Likewise.
15761 (R_MN10300_SYM_DIFF): Likewise.
15762 (R_MN10300_ALIGN): Likewise.
15763 (R_MN10300_NUM): Update.
15764
b36137f1
JM
157652012-08-08 Joseph Myers <joseph@codesourcery.com>
15766
15767 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15768 Remove.
15769
cdd915fd
RM
157702012-08-08 Roland McGrath <roland@hack.frob.com>
15771
a2433aac
RM
15772 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15773
cdd915fd
RM
15774 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15775 sysdeps/unix -> sysdeps/posix move.
15776 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15777
bf9b740a
AM
157782012-08-07 Allan McRae <allan@archlinux.org>
15779
15780 [BZ #14303]
15781 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15782 (SUNOS_CPP): Likewise.
15783 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15784 not found.
15785 (open_input): Call CPP using execvp.
15786
93df14ee
JM
157872012-08-07 Joseph Myers <joseph@codesourcery.com>
15788
15789 * sysdeps/unix/sysv/linux/kernel-features.h
15790 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15791 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15792 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15793 (__ASSUME_WAITID_SYSCALL): Likewise.
15794 * sysdeps/unix/sysv/linux/dl-execstack.c
15795 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15796 code unconditional.
15797 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15798 conditional code.
15799 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15800 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15801 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15802 code.
15803 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15804 unconditional.
15805 [__ASSUME_WAITID_SYSCALL]: Likewise.
15806 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15807
d34689de
RM
158082012-08-07 Roland McGrath <roland@hack.frob.com>
15809
a281decc
RM
15810 * sysdeps/unix/closedir.c: Renamed to ...
15811 * sysdeps/posix/closedir.c: ... here.
15812 * sysdeps/unix/dirfd.c: Renamed to ...
15813 * sysdeps/posix/dirfd.c: ... here.
15814 * sysdeps/unix/dirstream.h: Renamed to ...
15815 * sysdeps/posix/dirstream.h: ... here.
15816 * sysdeps/unix/fdopendir.c: Renamed to ...
15817 * sysdeps/posix/fdopendir.c: ... here.
15818 * sysdeps/unix/opendir.c: Renamed to ...
15819 * sysdeps/posix/opendir.c: ... here.
15820 * sysdeps/unix/readdir.c: Renamed to ...
15821 * sysdeps/posix/readdir.c: ... here.
15822 * sysdeps/unix/readdir_r.c: Renamed to ...
15823 * sysdeps/posix/readdir_r.c: ... here.
15824 * sysdeps/unix/rewinddir.c: Renamed to ...
15825 * sysdeps/posix/rewinddir.c: ... here.
15826 * sysdeps/unix/seekdir.c: Renamed to ...
15827 * sysdeps/posix/seekdir.c: ... here.
15828 * sysdeps/unix/telldir.c: Renamed to ...
15829 * sysdeps/posix/telldir.c: ... here.
15830 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15831 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15832 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15833 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15834
22895b47
RM
15835 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15836 * bits/fcntl.h: ... here.
15837
707a53b6
RM
15838 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15839 not 0.
15840 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15841 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15842 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15843 (struct flock): Move l_start, l_len to the beginning.
15844 Use __pid_t for l_pid.
15845 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15846 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15847 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15848 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15849 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15850 [__USE_LARGEFILE64] (struct flock64): New type.
15851 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15852
f0bd3e25
RM
15853 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15854 * bits/dirent.h: ... here.
15855
d34689de
RM
15856 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15857 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15858
6dad2c06
JM
158592012-08-07 Joseph Myers <joseph@codesourcery.com>
15860
15861 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15862 Change from 2.6.0 to 2.6.16.
15863 * sysdeps/unix/sysv/linux/configure: Regenerated.
15864 * sysdeps/unix/sysv/linux/kernel-features.h
15865 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15866 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15867 version.
15868 (__ASSUME_UTIMES): Likewise.
15869 (__ASSUME_CLONE_STOPPED): Remove.
15870 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15871 architectures, not kernel version.
15872 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15873 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15874 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15875 (__ASSUME_WAITID_SYSCALL): Likewise.
15876 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15877 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15878 * README: State 2.6.16 as minimum Linux kernel version. Do not
15879 refer to older versions.
15880
03af9520
RM
158812012-08-06 Roland McGrath <roland@hack.frob.com>
15882
8e49df1d
RM
15883 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15884 Define alphasort64 as an alias.
15885 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15886 Define versionsort64 as an alias.
15887 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15888 Define scandir64 as an alias.
15889 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15890 Define scandirat64 as an alias.
15891 * dirent/alphasort64.c (alphasort64):
15892 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15893 * dirent/versionsort64.c: Likewise.
15894 * dirent/scandir64.c: Likewise.
15895 * dirent/scandirat64.c: Likewise.
15896 * sysdeps/wordsize-64/alphasort.c: File removed.
15897 * sysdeps/wordsize-64/alphasort64.c: File removed.
15898 * sysdeps/wordsize-64/scandir.c: File removed.
15899 * sysdeps/wordsize-64/scandir64.c: File removed.
15900 * sysdeps/wordsize-64/scandirat.c: File removed.
15901 * sysdeps/wordsize-64/scandirat64.c: File removed.
15902 * sysdeps/wordsize-64/versionsort.c: File removed.
15903 * sysdeps/wordsize-64/versionsort64.c: File removed.
15904 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15905 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15906 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15907 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15908 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15909 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15910 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15911 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15912
15913 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15914 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15915 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15917 [defined __arch64__ || defined __sparcv9]
15918 (__INO_T_MATCHES_INO64_T): New macro.
15919 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15920 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15921 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15922 * sysdeps/unix/sysv/linux/bits/dirent.h
15923 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15924 (_DIRENT_MATCHES_DIRENT64): New macro.
15925
03af9520
RM
15926 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15927 Define lockf64 as an alias.
15928 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15929 Define fseeko64 as an alias.
15930 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15931 Define ftello64 as an alias.
15932 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15933 Define _IO_fgetpos64 and fgetpos64 as aliases.
15934 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15935 Define _IO_fsetpos64 and fsetpos64 as aliases.
15936 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15937 Conditionalize body on this.
15938 * libio/fseeko64.c: Likewise.
15939 * libio/ftello64.c: Likewise.
15940 * libio/iofgetpos64.c: Likewise.
15941 * libio/iofsetpos64.c: Likewise.
15942 * sysdeps/wordsize-64/lockf.c: File removed.
15943 * sysdeps/wordsize-64/lockf64.c: File removed.
15944 * sysdeps/wordsize-64/fseeko.c: File removed.
15945 * sysdeps/wordsize-64/fseeko64.c: File removed.
15946 * sysdeps/wordsize-64/ftello.c: File removed.
15947 * sysdeps/wordsize-64/ftello64.c: File removed.
15948 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15949 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15950 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15951 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15952 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15953 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15954 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15955 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15956 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15957 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15958 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15959 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15960 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15961 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15962
15963 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15964 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15965 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15966 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15967 [defined __arch64__ || defined __sparcv9]
15968 (__OFF_T_MATCHES_OFF64_T): New macro.
15969 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15970 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15972 (__OFF_T_MATCHES_OFF64_T): New macro.
15973
c5757acd
L
159742012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15975
15976 * stdlib/secure-getenv.c (__secure_getenv): Replace
15977 GLIBC_2_16 with GLIBC_2_17.
15978
3a31811e
L
159792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15980
15981 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15982 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15983
faa2bccb
DM
159842012-08-03 David S. Miller <davem@davemloft.net>
15985
15986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15987
85fe1997
JM
159882012-08-03 Joseph Myers <joseph@codesourcery.com>
15989
15990 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15991 Remove.
15992 (__ASSUME_CORRECT_SI_PID): Likewise.
15993 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15994 (__ASSUME_TMPFS_NAME): Likewise.
15995 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15996 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15997 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15998 (HAVE_AUX_SECURE): Make definition unconditional.
15999 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16000 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16001
4f75b7a0
RM
160022012-08-03 Roland McGrath <roland@hack.frob.com>
16003
16004 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16005 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16006 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16007 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16008 __eloop_threshold instead of SYMLOOP_MAX.
16009
16010 * sysdeps/generic/eloop-threshold.h: New file.
16011 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16012 of MAXSYMLINKS.
16013 * elf/chroot_canon.c (chroot_canon): Likewise.
16014
7aab07e4
JM
160152012-08-03 Joseph Myers <joseph@codesourcery.com>
16016
16017 [BZ #13717]
16018 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16019 Change to 2.6.0 everywhere.
16020 * sysdeps/unix/sysv/linux/configure: Regenerated.
16021 * sysdeps/unix/sysv/linux/kernel-features.h
16022 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16023 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16024 kernel versions.
16025 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16026 (__ASSUME_FUTEX_REQUEUE): Remove.
16027 (__ASSUME_STATFS64): Define unconditionally.
16028 (__ASSUME_AT_SECURE): Likewise.
16029 (__ASSUME_CORRECT_SI_PID): Likewise.
16030 (__ASSUME_TGKILL): Define without depending on kernel version for
16031 i386.
16032 (__ASSUME_UTIMES): Likewise.
16033 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16034 kernel version.
16035 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16036 (__ASSUME_TMPFS_NAME): Likewise.
16037 * README: Update reference to Linux kernel versions.
16038
b67e9372
MP
160392012-08-02 Marek Polacek <polacek@redhat.com>
16040
1f529f7d 16041 [BZ# 14150]
b67e9372
MP
16042 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16043 libc_cv_asm_type_prefix with %.
16044 * configure: Regenerated.
d2441631
RM
16045 * include/libc-symbols.h: Remove comment about
16046 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
16047 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16048 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16049 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16050 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16051 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16052 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16053 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16054 * elf/tst-unique2mod1.c: Likewise.
16055 * elf/tst-unique1mod2.c: Likewise.
16056 * elf/tst-unique1mod1.c: Likewise.
16057 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16058 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16059 Replace ASM_TYPE_DIRECTIVE with .type.
16060 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16061 * sysdeps/i386/sysdep.h: Likewise.
16062 * sysdeps/x86_64/sysdep.h: Likewise.
16063 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
16064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16065 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 16066 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
16067 * sysdeps/powerpc/powerpc32/sysdep.h:
16068 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
16069 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16070 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16071 * sysdeps/i386/fpu/e_powf.S: Likewise.
16072 * sysdeps/i386/fpu/e_expl.S: Likewise.
16073 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16074 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16075 * sysdeps/i386/fpu/e_pow.S: Likewise.
16076 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16077 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16078 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16079 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16080 * sysdeps/i386/fpu/e_log2.S: Likewise.
16081 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16082 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16083 * sysdeps/i386/fpu/e_powl.S: Likewise.
16084 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16085 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16086 * sysdeps/i386/fpu/e_logl.S: Likewise.
16087 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16088 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16089 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16090 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16091 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16092 * sysdeps/i386/fpu/e_log.S: Likewise.
16093 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16094 * sysdeps/i386/fpu/e_logf.S: Likewise.
16095 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16096 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16097 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16098 * sysdeps/i386/fpu/e_log10.S: Likewise.
16099 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16100 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16101 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16102 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16103 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16104 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16105 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16106 * sysdeps/i386/i686/strtok.S: Likewise.
16107 * sysdeps/i386/i386-mcount.S: Likewise.
16108 * sysdeps/i386/strtok.S: Likewise.
16109 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16110 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16111 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16112 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16113 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16114 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16115 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16116 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16117 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16118 * sysdeps/x86_64/_mcount.S: Likewise.
16119 * sysdeps/x86_64/strtok.S: Likewise.
16120 * sysdeps/sh/_mcount.S: Likewise.
16121
2747bf9a
RM
161222012-08-01 Roland McGrath <roland@hack.frob.com>
16123
16124 * libio/iofopen.c: Include <fcntl.h>.
16125 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16126 (_IO_fopen64, fopen64): Define as aliases.
16127 * libio/iofopen64.c: Include <fcntl.h>.
16128 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16129 Conditionalize body on this.
16130 * sysdeps/wordsize-64/iofopen.c: File removed.
16131 * sysdeps/wordsize-64/iofopen64.c: File removed.
16132
3fb791b8
MP
161332012-08-01 Marek Polacek <polacek@redhat.com>
16134
16135 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16136 Use dlfcn directly instead of a variable.
16137 (binfmt-subdir): Do not define.
16138 (dlfcn): Likewise.
16139
a9f1039f
JM
161402012-08-01 Joseph Myers <joseph@codesourcery.com>
16141
23bddc06
JM
16142 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16143 Remove all definitions.
16144 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16145 <kernel-features.h>.
16146 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16147 (miss_F_GETOWN_EX): Remove all definitions.
16148 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16149 macro definition.
16150 [!__ASSUME_FCNTL64]: Remove conditional code.
16151 [__ASSUME_FCNTL64]: Make code unconditional.
16152 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16153 <kernel-features.h>.
16154 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16155 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16156 (lockf64) [__NR_fcntl64]: Make code unconditional.
16157 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16158
a9f1039f
JM
16159 * sysdeps/unix/sysv/linux/kernel-features.h
16160 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16161 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16162 Make code unconditional.
16163 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16164 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16166 [__NR_vfork]: Make code unconditional.
16167 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16168 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16170 [__NR_vfork]: Make code unconditional.
16171 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16172 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16173
09c0ee5f
RM
161742012-08-01 Roland McGrath <roland@hack.frob.com>
16175
48aec5b9
RM
16176 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16177 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16178
cd97c966
RM
16179 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16180 Define mkstemp64 as an alias.
3f55550c
RM
16181 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16182 Define mkstemps64 as an alias.
cd97c966
RM
16183 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16184 Define mkostemp64 as an alias.
b8625cfc
RM
16185 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16186 Define mkostemps64 as an alias.
cd97c966
RM
16187 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16188 Conditionalize body on this.
16189 * misc/mkostemp64.c: Likewise.
b8625cfc 16190 * misc/mkostemps64.c: Likewise.
3f55550c 16191 * misc/mkstemps64.c: Likewise.
cd97c966
RM
16192 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16193 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16194 * sysdeps/wordsize-64/mkostemp.c: File removed.
16195 * sysdeps/wordsize-64/mkstemp.c: File removed.
16196 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16197 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16198 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16199 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16200
09c0ee5f
RM
16201 [BZ #14138]
16202 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16203 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16204 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16205 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16206
16207 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16208 compat_symbol macros from <shlib-compat.h> rather than the underlying
16209 default_symbol_version and symbol_version macros, so that DEFAULT
16210 lines in shlib-versions are respected.
16211 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16212
7e66ee51
FW
162132012-08-01 Florian Weimer <fweimer@redhat.com>
16214
16215 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16216 Declare with warn_unused_result.
16217 (setgid, setregid, setegid, setresgid): Likewise.
16218 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16219 Likewise.
16220 * WUR-REPORT: Remove set*id functions.
16221
d2a54255
PT
162222012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16223
16224 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16225
7ecdb005
RM
162262012-07-31 Roland McGrath <roland@hack.frob.com>
16227
b4180a5e 16228 [BZ #10191]
789bd351
RM
16229 * include/sys/socket.h (__libc_accept, __libc_accept4):
16230 Add attribute_hidden.
16231 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16232
40ce302d
RM
16233 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16234 use of PTR_MANGLE.
16235 * inet/getnetgrent_r.c (setup): Likewise.
16236
7ecdb005
RM
16237 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16238
e2eabb2c
DM
162392012-07-31 David S. Miller <davem@davemloft.net>
16240
16241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16242
d0419dbf
JM
162432012-07-31 Joseph Myers <joseph@codesourcery.com>
16244
16245 [BZ #13629]
16246 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16247 value between 1.0 and 2.0 and smaller part has absolute value less
16248 than 1.0.
16249 * math/s_clog10.c (__clog10): Likewise.
16250 * math/s_clog10f.c (__clog10f): Likewise.
16251 * math/s_clog10l.c (__clog10l): Likewise.
16252 * math/s_clogf.c (__clogf): Likewise.
16253 * math/s_clogl.c (__clogl): Likewise.
16254 * math/libm-test.inc (clog_test): Add more tests.
16255 (clog10_test): Likewise.
16256 * sysdeps/i386/fpu/libm-test-ulps: Update.
16257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16258
2bc13872
FW
162592012-07-31 Florian Weimer <fweimer@redhat.com>
16260
16261 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16262 Exit with zero in case no suitable GID is found, and write a
16263 message to standard error.
16264
bea9b193
RM
162652012-07-30 Roland McGrath <roland@hack.frob.com>
16266
16267 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16268 rather than to 1.
16269 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16270 (MAXPATHLEN): Removed.
16271 (NOGROUP, NODEV): New macros.
16272 (setbit, clrbit, isset, isclr): New macros.
16273 (howmany, roundup, powerof2): New macros.
16274 (DEV_BSIZE): New macro.
16275
16276 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16277 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16278
16279 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16280 definition on [!__NO_LONG_DOUBLE_MATH].
16281
16282 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16283 PTR_MANGLE and PTR_DEMANGLE.
16284
16285 * socket/accept4.c (accept4): Rename to __libc_accept4.
16286 Define accept4 as a weak alias.
16287
16288 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16289 on [_DIRENT_HAVE_D_TYPE].
16290 * io/ftw.c (ftw_dir): Likewise.
16291
16292 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16293
16294 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16295
16296 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16297 Use the BSD numbers rather than the arbitrary ones we had.
16298 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16299 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16300 (SIGXCPU, SIGXFSZ): New macros.
16301 (_NSIG): Now 32.
16302
16303 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16304 initializer on [_LIBC_REENTRANT].
16305
16306 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16307 definitions inside [_POSIX_MAPPED_FILES].
16308
16309 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16310
16311 * dirent/opendir.c: Include <fcntl.h>.
16312
16313 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16314 (__libc_getspecific): Likewise.
16315 (__libc_key_create): Likewise.
16316
16317 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16318 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16319 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16320 (tmpfile64): Define as alias.
16321 * sysdeps/wordsize-64/tmpfile.c: File removed.
16322 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16323 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16324 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16325
16326 * stdio-common/vfscanf.c: Include <stdbool.h>.
16327 * nss/makedb.c: Likewise.
16328 * stdio-common/_i18n_number.h: Likewise.
16329 * argp/argp-help.c: Likewise.
16330 * posix/wordexp.c: Likewise.
16331 * sysdeps/posix/spawni.c: Likewise.
16332 * nss/nss_files/files-initgroups.c: Likewise.
16333 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16334 * nss/nss_files/files-initgroups.c: Likewise.
16335 * nss/nss_db/db-netgrp.c: Likewise.
16336 * nss/nss_db/db-initgroups.c: Likewise.
16337 * io/fchmodat.c: Include <sys/stat.h>.
16338
16339 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16340 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16341
16342 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16343 [HAVE_MMAP].
16344
16345 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16346 Add multiple inclusion protection.
16347
e5abc686
DM
163482012-07-27 David S. Miller <davem@davemloft.net>
16349
16350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16351
815e6fa3
GB
163522012-07-27 Gary Benson <gbenson@redhat.com>
16353
16354 [BZ #14298]
16355 * elf/rtld.c: Include <stap-probe.h>.
16356 (dl_main): Added static probes "init_start" and "init_complete".
16357 * elf/dl-load.c: Include <stap-probe.h>.
16358 (lose): Take new parameter "nsid".
16359 Added static probe "map_failed".
16360 (_dl_map_object_from_fd): Pass namespace id to lose.
16361 Added static probe "map_start".
16362 (open_verify): Pass namespace id to lose.
16363 * elf/dl-open.c: Include <stap-probe.h>.
16364 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16365 and "reloc_complete".
16366 * elf/dl-close.c: Include <stap-probe.h>.
16367 (_dl_close_worker): Added static probes "unmap_start" and
16368 "unmap_complete".
16369 * elf/rtld-debugger-interface.txt: New file documenting the above.
16370
9f98c16c
RM
163712012-07-26 Roland McGrath <roland@hack.frob.com>
16372
16373 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16374 rather than a string variable.
16375 * sunrpc/rpc_main.c (h_output): Likewise.
16376 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16377
f3c22df3
PT
163782012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16379
16380 * inet/check_native.c: New file.
16381
3129cfc6
JM
163822012-07-26 Joseph Myers <joseph@codesourcery.com>
16383
da865e95
JM
16384 [BZ #13629]
16385 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16386 if larger part has absolute value 1.0.
16387 * math/s_clog10.c (__clog10): Likewise.
16388 * math/s_clog10f.c (__clog10f): Likewise.
16389 * math/s_clog10l.c (__clog10l): Likewise.
16390 * math/s_clogf.c (__clogf): Likewise.
16391 * math/s_clogl.c (__clogl): Likewise.
16392 * math/libm-test.inc (clog_test): Add more tests.
16393 (clog10_test): Likewise.
16394 * sysdeps/i386/fpu/libm-test-ulps: Update.
16395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16396
3129cfc6
JM
16397 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16398 (pltexit): Likewise.
16399 (La_regs): Likewise.
16400 (La_retval): Likewise.
16401 (int_retval): Likewise.
16402 Update #error for removed macros to refer only to definitions in
16403 tst-audit.h.
16404 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16405 macro.
16406 (pltexit): Likewise.
16407 (La_regs): Likewise.
16408 (La_retval): Likewise.
16409 (int_retval): Likewise.
16410 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16411 macro.
16412 (pltexit): Likewise.
16413 (La_regs): Likewise.
16414 (La_retval): Likewise.
16415 (int_retval): Likewise.
16416 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16417 macro.
16418 (pltexit): Likewise.
16419 (La_regs): Likewise.
16420 (La_retval): Likewise.
16421 (int_retval): Likewise.
16422 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16423 macro.
16424 (pltexit): Likewise.
16425 (La_regs): Likewise.
16426 (La_retval): Likewise.
16427 (int_retval): Likewise.
16428 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16429 macro.
16430 (pltexit): Likewise.
16431 (La_regs): Likewise.
16432 (La_retval): Likewise.
16433 (int_retval): Likewise.
16434 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16435 macro.
16436 (pltexit): Likewise.
16437 (La_regs): Likewise.
16438 (La_retval): Likewise.
16439 (int_retval): Likewise.
16440 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16441 macro definitions in tst-audit.h.
16442 * sysdeps/i386/tst-audit.h: New file.
16443 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16444 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16445 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16446 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16447 * sysdeps/sh/tst-audit.h: Likewise.
16448 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16449 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16450 * sysdeps/x86_64/tst-audit.h: Likewise.
16451
bfc07087
AJ
164522012-07-26 Andreas Jaeger <aj@suse.de>
16453
b1b2aaf8
AJ
16454 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16455 ptrace.
16456
16457 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16458 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16459 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16460 PTRACE_O_MASK.
16461 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16462 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16463 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16464
bfc07087
AJ
16465 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16466 value.
16467
16468 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16469 _sigsys.
16470 (si_call_addr, si_syscall, si_arch): Define new macro.
16471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16472 _sigsys.
16473 (si_call_addr, si_syscall, si_arch): Define new marcro.
16474 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16475 _sigsys.
16476 (si_call_addr, si_syscall, si_arch): Define new macro.
16477 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16478 _sigsys.
16479 (si_call_addr, si_syscall, si_arch): Define new macro.
16480
89b4b02f
JM
164812012-07-25 Joseph Myers <joseph@codesourcery.com>
16482
16483 [BZ #13717]
16484 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16485 Change to 2.4.21 where previously 2.4.1.
16486 * sysdeps/unix/sysv/linux/configure: Regenerated.
16487 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16488 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16489 Linux kernel version.
16490 (__ASSUME_STD_AUXV): Remove.
16491 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16492 kernel version.
16493 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16494 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16495 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16496 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16497 (__ASSUME_NETLINK_SUPPORT): Likewise.
16498 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16499 (__no_netlink_support): Remove conditional definition.
16500 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16501 Remove.
16502 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16503 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16504 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16505 (if_nameindex_ioctl): Remove.
16506 (if_nameindex_netlink): Do not handle __no_netlink_support.
16507 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16508 code.
16509 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16510 Remove conditional code.
16511 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16512 code.
16513 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16514 unconditional.
16515 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16516 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16517 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16518 Remove.
16519 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16520 [!__ASSUME_STD_AUXV]: Remove conditional code.
16521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16522 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16523 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16525 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16526 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16527 code.
16528 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16530 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16531 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16532 conditional code.
16533 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16535 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16536 code.
16537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16538 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16539 conditional code.
16540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16541 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16542 code unconditional.
16543 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16544 conditional code.
16545 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16546 unconditional.
16547 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16548 conditional code.
16549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16550 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16551 unconditional.
16552 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16553 conditional code.
16554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16555 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16556 code unconditional.
16557 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16558 conditional code.
16559 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16560 unconditional.
16561 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16562 conditional code.
16563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16564 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16565 code unconditional.
16566 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16567 conditional code.
16568 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16569 unconditional.
16570 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16571 conditional code.
16572
842a39cd
AS
165732012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16574
16575 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16576 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16577 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16578 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16579 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16580 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16581 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16582 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16583 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16584 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16585 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16586 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16587 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16588 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16589 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16590 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16591 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16592 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16593 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16595 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16596 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16597 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16598
84b3fd84
FW
165992012-07-25 Florian Weimer <fweimer@redhat.com>
16600
16601 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16602 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16603 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16604 Introduce __libc_secure_getenv.
0c7936d5
FW
16605 * stdlib/Versions (2.17): Add secure_getenv
16606 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16607 * stdlib/secure-getenv.c: Rename __secure_getenv to
16608 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16609 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16610 * stdlib/tst-secure-getenv.c: New.
16611 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16612 * manual/startup.texi (Environment Access): Document
16613 secure_getenv.
84b3fd84
FW
16614 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16615 __libc_secure_getenv.
16616 * inet/ruserpass.c (ruserpass): Likewise.
16617 * malloc/mtrace.c (mtrace): Likewise.
16618 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16619 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16620 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16621 * sysdeps/posix/tempname.c: Likewise. Evaluate
16622 HAVE_SECURE_GETENV.
16623 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16624 __secure_getenv to __libc_secure_getenv.
84b3fd84 16625 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16627 Likewise.
16628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16629 Likewise.
16630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16632 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16637
56e49b71
JM
166382012-07-25 Joseph Myers <joseph@codesourcery.com>
16639
16640 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16641 (struct La_i86_retval): Likewise.
16642 (struct La_x86_64_regs): Likewise.
16643 (struct La_x86_64_retval): Likewise.
16644 (struct La_x32_regs): Likewise.
16645 (struct La_x32_retval): Likewise.
16646 (struct La_ppc32_regs): Likewise.
16647 (struct La_ppc32_retval): Likewise.
16648 (struct La_ppc64_regs): Likewise.
16649 (struct La_ppc64_retval): Likewise.
16650 (struct La_sh_regs): Likewise.
16651 (struct La_sh_retval): Likewise.
16652 (struct La_s390_32_regs): Likewise.
16653 (struct La_s390_32_retval): Likewise.
16654 (struct La_s390_64_regs): Likewise.
16655 (struct La_s390_64_retval): Likewise.
16656 (struct La_sparc32_regs): Likewise.
16657 (struct La_sparc32_retval): Likewise.
16658 (struct La_sparc64_regs): Likewise.
16659 (struct La_sparc64_retval): Likewise.
16660 (struct audit_ifaces): Remove architecture-specific pltenter and
16661 pltexit members.
16662 * sysdeps/i386/ldsodefs.h: New file.
16663 * sysdeps/powerpc/ldsodefs.h: Likewise.
16664 * sysdeps/s390/ldsodefs.h: Likewise.
16665 * sysdeps/sh/ldsodefs.h: Likewise.
16666 * sysdeps/sparc/ldsodefs.h: Likewise.
16667 * sysdeps/x86_64/ldsodefs.h: Likewise.
16668
354691b7
MP
166692012-07-25 Marek Polacek <polacek@redhat.com>
16670
16671 [BZ #6808]
16672 * math/libm-test.inc (yn_test): Add another test.
16673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16674 to ERANGE when the result is +-Inf.
16675 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16676 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16677 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16678 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16679
bf9e2071
JM
166802012-07-24 Joseph Myers <joseph@codesourcery.com>
16681
16682 * conform/data/time.h-data (NULL): Use macro-constant. Require
16683 equal to 0.
16684 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16685 clock_t.
16686 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16687
57633811
TS
166882012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16689
16690 * configure.in <sysdeps resolving>: Correct printing
16691 Implies_before.
16692 * configure: Regenerate.
16693
c23c33b0
TS
166942012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16695
16696 * math/w_ilogb.c: Include <limits.h>.
16697 * math/w_ilogbl.c: Likewise.
16698
b5982523
JM
166992012-07-20 Joseph Myers <joseph@codesourcery.com>
16700
16701 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16702 va_copy. Document allowing for unavailable va_copy only as
16703 pre-C99 compatibility.
16704 * manual/string.texi (Copying and Concatenation): Use va_copy
16705 instead of __va_copy in concat example.
16706
ac4ea442
PT
167072012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16708
16709 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16710 (__sendto): Use create_address_port. Initialize APORT and deallocate
16711 it if not null.
16712
f98eafbd
PT
16713 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16714 with O_NOLINK passed to __file_name_lookup.
16715
898c7aab
PT
16716 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16717 with O_NOLINK passed to __file_name_lookup.
16718
0ced335a
PT
16719 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16720 negative N or less than NGIDS.
16721
b3404dbd
PT
16722 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16723 type to string_t. Set ERANGE as errno and return it if NAME is not big
16724 enough. Use memcpy instead of strncpy.
16725
0f48659e
JM
167262012-07-20 Joseph Myers <joseph@codesourcery.com>
16727
16728 * elf/Makefile (check-data): Remove.
16729 (localplt.data): New vpath directive.
16730 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16731 instead of $(check-data).
16732 * scripts/data/localplt-generic.data: Move to ...
16733 * sysdeps/generic/localplt.data: ... here.
16734 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16735 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16736 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16738 ... here.
16739 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16741 ... here.
16742 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16744 ... here.
16745 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16747 ... here.
16748 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16750 ... here.
16751 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16753 ... here.
16754
d37cbdaa
AZ
167552012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16756
16757 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16758 PPC32 and PPC64 files.
16759 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16760 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16761
46f85fc2
AK
167622012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16763
16764 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16765 __makecontext_ret to ...
16766 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16767 ... here and call exit if uc_link is NULL. New file.
16768 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16769 __makecontext_ret.S.
16770 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16771 __makecontext_ret to ...
16772 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16773 ... here and call exit if uc_link is NULL. New file.
16774 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16775 __makecontext_ret.S.
16776
08f43f9b
AK
167772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16778
16779 * elf/elf.h (R_390_IRELATIVE): New definition.
16780 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16781 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16782 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16783 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16784 (elf_machine_lazy_rel): Likewise.
16785 * sysdeps/s390/dl-irel.h: New file.
16786 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16787 * sysdeps/s390/s390-64/memset.S: New asm code.
16788 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16789 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16790 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16791 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16792 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16793 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16794 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16795 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16796 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16797 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16798 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16799 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16800 * sysdeps/s390/s390-32/memset.S: New asm code.
16801 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16802
3b05db33
MP
168032012-07-17 Marek Polacek <polacek@redhat.com>
16804
16805 [BZ #14349]
16806 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16807 * sysdeps/s390/s390-64/configure.in: Likewise.
16808 * sysdeps/sparc/configure.in: Likewise.
16809 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16810 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16811 * sysdeps/i386/configure.in: Likewise.
16812 * sysdeps/x86_64/configure.in: Likewise.
16813 * sysdeps/sh/configure.in: Likewise.
16814 * sysdeps/s390/s390-32/configure: Regenerated.
16815 * sysdeps/s390/s390-64/configure: Likewise.
16816 * sysdeps/x86_64/configure: Likewise.
16817 * sysdeps/sh/configure: Likewise.
16818 * sysdeps/powerpc/powerpc64/configure: Likewise.
16819 * sysdeps/powerpc/powerpc32/configure: Likewise.
16820 * sysdeps/sparc/configure: Likwise.
16821 * sysdeps/i386/configure: Likewise.
16822
a66877c6
MP
16823 * elf/dl-open.c: Comment fixes.
16824
cfc82fd8
JM
168252012-07-17 Joseph Myers <joseph@codesourcery.com>
16826
bd29910a
JM
16827 * Makefile [CXX] (check-data): Remove.
16828 [CXX] (c++-types.data): New vpath directive.
16829 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16830 vpath. Do not allow for C++ type data being missing.
16831 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16832 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16833 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16834 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16835 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16836 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16837 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16839 ... here.
16840 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16842 ... here.
16843 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16845 ... here.
16846 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16848 ... here.
16849 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16851 ... here.
16852 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16854 ... here.
16855 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16857 ... here.
16858 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16860
cfc82fd8
JM
16861 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16862 definitions to architecture-specific files.
16863 (TLS_IE): Likewise.
16864 (TLS_LD): Likewise.
16865 (TLS_GD): Likewise.
16866 * sysdeps/i386/tls-macros.h: New file.
16867 * sysdeps/powerpc/tls-macros.h: Likewise.
16868 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16869 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16870 * sysdeps/sh/tls-macros.h: Likewise.
16871 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16872 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16873 * sysdeps/x86_64/tls-macros.h: Likewise.
16874
f7db3170
TS
168752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16876
07cbfc23
TS
16877 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16878 zero value for regular exit case.
16879
f7db3170
TS
16880 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16881 (__start_context): Preserve zero value for regular exit case.
16882
dc97c227
TS
168832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16884 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16885
16886 * manual/setjmp.texi (setcontext): Clarify normal process
16887 termination when uc_link is the null pointer.
16888 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16889 exit call.
16890
d0cd7d02
AS
168912012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16892
16893 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16894 preprocessor. Test for each exception mask separately.
16895
dd318934
AJ
168962012-07-16 Andreas Jaeger <aj@suse.de>
16897
16898 * po/ru.po: Update from translation team.
16899
8048311a
JM
169002012-07-15 Joseph Myers <joseph@codesourcery.com>
16901
16902 * conform/data/string.h-data (NULL): Use macro-constant. Require
16903 equal to 0.
16904 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16905 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16906 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16907 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16909
b637d46e
AJ
169102012-07-13 Andreas Jaeger <aj@suse.de>
16911
16912 * po/fr.po: Update from translation team.
16913
541428fe
MP
169142012-07-12 Marek Polacek <polacek@redhat.com>
16915
16916 [BZ #14173]
16917 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16918 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16919 loop condition.
16920
ec332e94
JM
169212012-07-12 Joseph Myers <joseph@codesourcery.com>
16922
16923 [BZ #13717]
16924 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16925 Change to 2.4.1 where previously 2.4.0.
16926 * sysdeps/unix/sysv/linux/configure: Regenerated.
16927 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16928 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16929 version.
16930 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16931 (__ASSUME_AT_CLKTCK): Remove.
16932 (__ASSUME_AT_PAGESIZE): Likewise.
16933 (__ASSUME_AT_XID): Likewise.
16934 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16935 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16936 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16937 unconditionally.
16938 (HAVE_AUX_PAGESIZE): Likewise.
16939 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16940 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16941 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16942
7b6e99be
JB
169432012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16944
16945 [BZ #14307]
16946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16947 the temporary buffer used to invoke __gethostbyname2_r,
16948 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16949 host_data / struct gaih_addrtuple.
16950 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16951 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16952 header file nss/nsswitch.h.
16953 * nss/nsswitch.h (global scope): Add definition of implementation
16954 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16955 resolv/nss_dns/dns-host.c).
16956
608404eb
AJ
169572012-07-11 Andreas Jaeger <aj@suse.de>
16958
16959 * po/fr.po: Update from translation team.
16960
71220aca
AJ
16961 * po/sv.po: Update from translation team
16962 * po/fr.po: Another update from translation team.
16963
28cfe843
AZ
169642012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16965
16966 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16967 for subnormals or multiply small sinh result by itself.
16968 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16970
6b90f981
DM
169712012-07-11 David S. Miller <davem@davemloft.net>
16972
16973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16974
c6825772
AS
169752012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16976
16977 [BZ #14347]
16978 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16979 (INTERNAL_MARK): Shift it here.
16980
7b8e0d49
MP
169812012-07-10 Marek Polacek <polacek@redhat.com>
16982
16983 [BZ #14151]
16984 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16985 libc_cv_asm_global_directive with .globl.
16986 * configure: Regenerated.
16987 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16988 with .globl.
16989 * sysdeps/i386/configure: Regenerated.
16990 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16991 with .globl.
16992 * sysdeps/x86_64/configure: Regenerated.
16993 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16994 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16995 * elf/tst-unique2mod2.c: Likewise.
16996 * elf/tst-unique2mod1.c: Likewise.
16997 * elf/tst-unique1mod2.c: Likewise.
16998 * elf/tst-unique1mod1.c: Likewise.
16999 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17000 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17001 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17002 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17003 * sysdeps/mach/sysdep.h: Likewise.
17004 * sysdeps/i386/sysdep.h: Likewise.
17005 * sysdeps/i386/i386-mcount.S: Likewise.
17006 * sysdeps/x86_64/_mcount.S: Likewise.
17007 * sysdeps/x86_64/sysdep.h: Likewise.
17008 * sysdeps/sh/_mcount.S: Likewise.
17009 * sysdeps/sh/sysdep.h: Likewise.
17010 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17011 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17012 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17013 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17014 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17015 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17016 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17017 * locale/localeinfo.h: Likewise.
17018 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17019 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17020
6c55cda3
RM
170212012-07-09 Roland McGrath <roland@hack.frob.com>
17022
17023 [BZ #14336]
17024 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17025 system".
17026 * manual/message.texi (The Uniforum approach): Likewise.
17027 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17028 (glibc iconv Implementation): Likewise.
17029
638a572e
JM
170302012-07-09 Joseph Myers <joseph@codesourcery.com>
17031
17032 [BZ #14337]
17033 * math/s_clog.c (__clog): Avoid scaling a value down where that
17034 could result in underflow.
17035 * math/s_clog10.c (__clog10): Likewise.
17036 * math/s_clog10f.c (__clog10f): Likewise.
17037 * math/s_clog10l.c (__clog10l): Likewise.
17038 * math/s_clogf.c (__clogf): Likewise.
17039 * math/s_clogl.c (__clogl): Likewise.
17040 * math/libm-test.inc (clog_test): Add more tests.
17041 (clog10_test): Likewise.
17042 * sysdeps/i386/fpu/libm-test-ulps: Update.
17043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17044
261f4859
AS
170452012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17046
0abaf3e4
AS
17047 [BZ #14283]
17048 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17049 by 7 not 8 to examine high bit of fractional part.
17050
261f4859
AS
17051 [BZ #14042]
17052 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17053 for call to __mcount_internal.
17054 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17055 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17056 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17057
f17ac40d
JM
170582012-07-06 Joseph Myers <joseph@codesourcery.com>
17059
9ad63c23
JM
17060 [BZ #14154]
17061 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17062 approximation for values within 0x1p-13f of an odd multiple of
17063 pi/4.
17064 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17065 exception. Add more tests.
17066 * sysdeps/i386/fpu/libm-test-ulps: Update.
17067
f17ac40d
JM
17068 [BZ #6778]
17069 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17070 inputs and return -1 for them. Do not check for +Inf in case not
17071 reachable for +Inf.
17072 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17073 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17074 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17075 and return -1 for them. Do not check for +Inf in case not
17076 reachable for +Inf.
17077 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17078 define.
17079 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17080 and return -1 for them. Do not check for +Inf in case not
17081 reachable for +Inf.
17082 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17083 spurious underflow.
17084 * sysdeps/i386/fpu/libm-test-ulps: Update.
17085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17086
fb21f89b
MF
170872012-07-06 Mike Frysinger <vapier@gentoo.org>
17088
17089 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17090
cdfe2c5e
JM
170912012-07-05 Joseph Myers <joseph@codesourcery.com>
17092
17093 [BZ #14157]
17094 [BZ #14331]
17095 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17096 could result in spurious underflow. Scale down values above
17097 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17098 * math/s_csqrtf.c (__csqrtf): Likewise.
17099 * math/s_csqrtl.c (__csqrtl): Likewise.
17100 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17101 spurious underflow.
17102 * sysdeps/i386/fpu/libm-test-ulps: Update.
17103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17104
70d35b67
AS
171052012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17106
704bc459
AS
17107 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17108 xopen-msg.sed.
17109 * catgets/xopen-msg.awk: New file.
17110 * catgets/xopen-msg.sed: Removed.
17111
70d35b67
AS
17112 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17113 po2text.sed.
17114 * intl/po2test.awk: New file.
17115 * intl/po2test.sed: Removed.
17116
ca61cf32
JM
171172012-07-04 Joseph Myers <joseph@codesourcery.com>
17118
17119 [BZ #14328]
17120 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17121 or multiply small sinh result by itself.
17122 * math/s_ctanf.c (__ctanf): Likewise.
17123 * math/s_ctanh.c (__ctanh): Likewise.
17124 * math/s_ctanhf.c (__ctanhf): Likewise.
17125 * math/s_ctanhl.c (__ctanhl): Likewise.
17126 * math/s_ctanl.c (__ctanl): Likewise.
17127 * math/libm-test.inc (ctan_test_tonearest): New function.
17128 (ctan_test_towardzero): Likewise.
17129 (ctan_test_downward): Likewise.
17130 (ctan_test_upward): Likewise.
17131 (ctanh_test_tonearest): Likewise.
17132 (ctanh_test_towardzero): Likewise.
17133 (ctanh_test_downward): Likewise.
17134 (ctanh_test_upward): Likewise.
17135 (main): Call these new functions.
17136 * sysdeps/i386/fpu/libm-test-ulps: Update.
17137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17138
ca48a46a
MF
171392012-07-03 Mike Frysinger <vapier@gentoo.org>
17140
17141 * .gitignore: Delete /ports entry.
17142
9d63d37d
AJ
171432012-07-03 Andreas Jaeger <aj@suse.de>
17144
17145 * po/bg.po: Update from translation team.
17146 * po/cs.po: Likewise.
17147 * po/de.po: Likewise.
17148 * po/hr.po: Likewise.
17149 * po/nl.pl: Likewise.
17150 * po/pl.po: Likewise.
17151 * po/vi.po: Likewise.
17152
370ca3d2
JM
171532012-07-03 Joseph Myers <joseph@codesourcery.com>
17154
95f5a9a8
JM
17155 * Makeconfig [!+link] (+link-before-libc): New variable.
17156 [!+link] (+link-after-libc): Likewise.
17157 [!+link] (+link-tests): Likewise.
17158 [!+link] (+link): Define in terms of $(+link-before-libc) and
17159 $(+link-after-libc).
17160 [!+link-static] (+link-static-before-libc): New variable.
17161 [!+link-static] (+link-static-after-libc): Likewise.
17162 [!+link-static] (+link-static-tests): Likewise.
17163 [!+link-static] (+link-static): Define in terms of
17164 $(+link-static-before-libc) and $(+link-static-after-libc).
17165 [build-shared] (link-libc-before-gnulib): New variable.
17166 [build-shared] (link-libc-tests): Likewise.
17167 [build-shared] (link-libc): Define in terms of
17168 $(link-libc-before-gnulib).
17169 [!build-shared] (link-libc-tests): New variable.
17170 (link-libc-static-tests): New variable.
17171 [!gnulib] (gnulib-arch): New variable.
17172 [!gnulib] (gnulib-tests): Likewise.
17173 [!gnulib] (static-gnulib-arch): Likewise.
17174 [!gnulib] (static-gnulib-tests): Likewise.
17175 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17176 Define with "=" instead of ":=".
17177 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17178 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17179 * Rules (binaries-all-notests): New variable.
17180 (binaries-all-tests): Likewise.
17181 (binaries-static-notests): Likewise.
17182 (binaries-static-tests): Likewise.
17183 (binaries-all): Define using $(binaries-all-notests) and
17184 $(binaries-all-tests).
17185 (binaries-static): Define using $(binaries-static-notests) and
17186 $(binaries-static-tests).
17187 (binaries-shared-tests): New variable.
17188 (binaries-shared-notests): Likewise.
17189 (binaries-shared): Remove variable.
17190 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17191 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17192 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17193 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17194 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17195 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17196 * elf/Makefile (sln-modules): New variable.
17197 (extra-objs): Add $(sln-modules:=.o).
17198 (ldconfig-modules): Add static-stubs.
17199 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17200 * elf/static-stubs.c: New file.
17201
7a845b2c
JM
17202 [BZ #14283]
17203 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17204 by 7 not 8 to examine high bit of fractional part. Use volatile
17205 variables when splitting into final array of floats if
17206 __FLT_EVAL_METHOD__ != 0.
17207 * math/libm-test.inc (cos_test): Add another test.
17208 (sin_test): Likewise.
17209 * sysdeps/i386/fpu/libm-test-ulps: Update.
17210
e2283f38
JM
17211 [BZ #14273]
17212 * math/libm-test.inc (cosh_test): Add more tests.
17213
370ca3d2
JM
17214 * version.h (RELEASE): Set to "development".
17215 (VERSION): Set to "2.16.90".
17216
ee9247c3
CD
172172012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17218
17219 * NEWS: Update copyright. Remove last-updated date.
17220 Mention math library bug fixes and timezone data changes.
17221 * README: Mention GNU/Hurd, x32, and HPPA support status.
17222
4648c381
TS
172232012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17224
17225 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17226
aac78a43
AJ
172272012-06-27 Andreas Jaeger <aj@suse.de>
17228
17229 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17230
ed3dbfad
AJ
172312012-06-25 Andreas Jaeger <aj@suse.de>
17232
17233 * sysdeps/s390/fpu/libm-test-ulps: Update.
17234
4d0ee855
AS
172352012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17236 Thomas Schwinge <thomas@codesourcery.com>
17237
17238 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17239 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17240 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17241 fanotify_mark.
17242
af1bce34
TS
172432012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17244
a9fa33ba
TS
17245 * sysdeps/mach/start.c: Remove file.
17246 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17247 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17248 * sysdeps/sh/init-first.c: Likewise.
17249
58f902b8
TS
17250 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17251 registers for frame unwinding purposes, add CFI directives.
17252 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17253 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17254 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17255 Likewise.
17256
1518f58b
TS
17257 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17258 __fortify_fail returning.
17259 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17260
db9b5059
TS
17261 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17262 sysdeps/sh/____longjmp_chk.S.
17263 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17264 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17265 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17266 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17267
967705fe
TS
17268 * sysdeps/sh/abort-instr.h: New file.
17269 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17270 process in case exit returns.
17271
a9def8c4
TS
17272 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17273 initialize the GOT register before use.
17274
2a649725
TS
17275 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17276 calculation of ARGC > 4.
17277
af1bce34
TS
17278 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17279 meaningful names to some local labels.
17280
d230f50a
KK
172812012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17282 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17283
17284 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17285 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17286 (__arch_compare_and_exchange_val_16_acq): Likewise.
17287 (__arch_compare_and_exchange_val_32_acq): Likewise.
17288 (atomic_exchange_and_add): Fix gUSA sequence.
17289 (atomic_add): Likewise.
17290 (atomic_add_negative): Likewise.
17291 (atomic_add_zero): Likewise.
17292 (atomic_bit_test_set): Likewise.
17293
0479b305
AS
172942012-06-22 Andreas Schwab <schwab@redhat.com>
17295
17296 [BZ #13579]
17297 * include/link.h (struct link_map): Add l_free_initfini.
17298 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17299 l_initfini.
17300 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17301 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17302 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17303 set.
17304
0e3933b9
CD
173052012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17306
17307 * configure.in: Use AC_LANG_SOURCE.
17308 * configure: Regenerate.
17309
4248b1b1
RM
173102012-06-22 Roland McGrath <roland@hack.frob.com>
17311
17312 * configure.in (libc_cv_localstatedir): New substituted variable.
17313 * configure: Regenerated.
17314 * config.make.in (localstatedir): New variable, substituted from
17315 libc_cv_localstatedir.
17316 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17317 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17318 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17319 * sysdeps/gnu/configure: Regenerated.
17320
006dd861
JL
173212012-06-21 Jeff Law <law@redhat.com>
17322
17323 [BZ #14277]
17324 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17325 free. Simplify list management for _LIBC case.
17326
79662d42
JM
173272012-06-21 Joseph Myers <joseph@codesourcery.com>
17328
b7abb4bf
JM
17329 [BZ #14273]
17330 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17331 Clear sign bit of 64-bit integer value before comparing against
17332 overflow value.
17333
79662d42
JM
17334 * sysdeps/mach/configure: Regenerated.
17335
1f150908
L
173362012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17337
17338 [BZ #14278]
17339 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17340
28363bbf
JL
173412012-06-21 Jeff Law <law@redhat.com>
17342
17343 [BZ #13882]
17344 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17345 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 17346 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
17347 * elf/dl-open.c (dl_open_worker): Likewise.
17348
09615db4
CD
173492012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17350
17351 * scripts/list-sources.sh: Scan PORTS for translations.
17352 * po/libc.pot: Regenerated.
17353
2174c6dd
AJ
173542012-06-21 Andreas Jaeger <aj@suse.de>
17355
17356 [BZ #12194]
17357 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17358 warning.
17359 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17360 * bits/byteswap-16.h (__bswap_16): Likewise.
17361 * bits/byteswap.h (__bswap_constant_16): Likewise.
17362
3ee947b1
L
173632012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17364
17365 [BZ #14117]
a2f34833
L
17366 * sysdeps/i386/fpu_control.h: Removed.
17367 * sysdeps/x86_64/fpu_control.h: Moved to ...
17368 * sysdeps/x86/fpu_control.h: Here.
17369
3ee947b1
L
17370 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17371 (_FPU_SETCW): Likewise.
17372
ed1825f8
L
173732012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17374
25f1282a
L
17375 [BZ #14117]
17376 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17377 * sysdeps/x86/fpu/bits/mathinline.h: This.
17378 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17379
ed1825f8
L
17380 [BZ #14050]
17381 [BZ #14117]
17382 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17383 functions if __x86_64__ is defined.
17384
36d54b74
CLT
173852012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17386
17387 * string/endian.h: Add !__ASSEMBLER__ condition for including
17388 conversion interfaces.
17389
10285c21
JM
173902012-06-15 Joseph Myers <joseph@codesourcery.com>
17391
17392 [BZ #14241]
17393 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17394 of ABS(x) in calculating zero to negative powers other than odd
17395 integers.
17396 * math/libm-test.inc (pow_test): Add more tests.
17397
06c5abbd
AJ
173982012-06-15 Andreas Jaeger <aj@suse.de>
17399
17400 * manual/contrib.texi (Contributors): Update entry of Liubov
17401 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17402 Machado Filho.
17403
a3aeac40
CH
174042012-06-15 Cyril Hrubis <metan@ucw.cz>
17405
17406 * string/string.h: Add __wur to GNU version of strerror_r.
17407
49bdf4c1
L
174082012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17409
17410 [BZ #14229]
17411 * string/Makefile (tests): Add tst-strtok_r.
17412 * string/tst-strtok_r.c: New file.
17413 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17414 RAX_LP/RDX_LP on SAVE_PTR.
17415
834f9b8d
RM
174162012-06-14 Roland McGrath <roland@hack.frob.com>
17417
17418 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17419
75fa1921
JM
174202012-06-14 Joseph Myers <joseph@codesourcery.com>
17421
17422 * libm_test.inc (csqrt_test): Allow more spurious underflow
17423 exceptions.
17424 (j0_test): Likewise.
17425 (j1_test): Likewise.
17426 (y0_test): Likewise.
17427 (y1_test): Likewise.
17428
771766df
CD
174292012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17430
17431 * po/Makefile (libc.pot): Use UTF-8 charset.
17432
ceb9e56b
PP
174332012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17434
17435 [BZ #14210]
17436 Suppress sign-conversion warning from FD_SET.
17437 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17438 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17439 not unsigned long int.
17440 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17441
ddb28975
L
174422012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17443
17444 [BZ #14050]
17445 [BZ #14117]
17446 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17447 __extern_always_inline instead of __extern_inline.
17448 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17449 (__signbit): Likewise.
17450 (__signbitl): Support C++ namespace.
17451 (lrintf): New inline function.
17452 (lrint): Likewise.
17453 (llrintf): Likewise.
17454 (llrint): Likewise.
17455 (fmaxf): Likewise.
17456 (fmax): Likewise.
17457 (fminf): Likewise.
17458 (fmin): Likewise.
17459 (rint): Likewise.
17460 (rintf): Likewise.
17461 (ceil): Likewise.
17462 (ceilf): Likewise.
17463 (floor): Likewise.
17464 (floorf): Likewise.
17465 (nearbyint): Likewise.
17466 (nearbyintf): Likewise.
17467
d7b4fb26
TS
174682012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17469
17470 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17471 non-default versions.
17472
eb55f5c2
RM
174732012-06-11 Roland McGrath <roland@hack.frob.com>
17474
17475 [BZ #14218]
17476 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17477
366af02c
TS
174782012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17479
99ff6e5c
TS
17480 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17481 (FE_UPWARD, FE_DOWNWARD): Don't define.
17482 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17483 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17484
366af02c
TS
17485 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17486 reading it.
17487 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17488 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17489
793ea851
KK
174902012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17491
17492 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17493 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17494 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17495 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17496
a728a38f
L
174972012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17498
17499 [BZ #14117]
c08010c7
L
17500 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17501 * sysdeps/i386/fpu/Implies: New file.
17502 * sysdeps/x86_64/fpu/Implies: Likewise.
17503 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17504 * sysdeps/x86/fpu/bits/fenv.h: This.
17505
a728a38f
L
17506 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17507 __SSE_MATH__.
17508
6e230d11
SP
175092012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17510
17511 [BZ #14134]
17512 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17513 character 0xffff that matches the last element of the
17514 conversion table.
17515
1b671feb
AZ
175162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17517
17518 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17519 fmodl commit.
17520
6043738b
AZ
175212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17522
17523 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17524 values higher than 25.6283.
17525
34ae0b32
AZ
175262012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17527
17528 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17529 subnormal exponent extraction and add some __builtin_expect.
17530 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17531 Fix for subnormal mantissa calculation.
17532
1214ec8f
MF
175332012-06-04 Mike Frysinger <vapier@gentoo.org>
17534
17535 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17536 cpu2 is -1 and errno is not ENOSYS.
17537
f3d1f93c
L
175382012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17539
17540 [BZ #14117]
0e4a3cd7
L
17541 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17542 * sysdeps/x86/bits/string.h: This.
17543 * sysdeps/x86_64/bits/string.h: Removed.
17544
6704c645
L
17545 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17546 if not compiling for x86-64, but compiling for >= i486.
17547
48495318
L
17548 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17549 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17550
14adcbfc
L
17551 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17552 New macro from Linux kernel 3.4.0.
17553 (FP_XSTATE_MAGIC2): Likewise.
17554 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17555 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17556 (struct _fpx_sw_bytes): New struct.
17557 (struct _xsave_hdr): Likewise.
17558 (struct _ymmh_state): Likewise.
17559 (struct _xstate): Likewise.
17560
68e408ab
L
17561 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17562 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17563 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17564 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17565 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17566 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17567
f3d1f93c
L
17568 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17569 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17570 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17571 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17572 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17573 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17574
d9dc34cd
TMQMF
175752012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17576
17577 [BZ #13743]
17578 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17579 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17580 (sysdep_headers): Include sys/platform/ppc.h.
17581 * sysdeps/powerpc/test-gettimebase.c: Test for
17582 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17583 * manual/Makefile (appendices): Include platform.texi.
17584 * manual/contrib.texi (Contributors): Update @node pointers.
17585 * manual/maint.texi (Maintenance): Likewise.
17586 (Platform): New node.
17587 * manual/platform.texi: New file. Document the new features.
17588
4af3879c
SP
175892012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17590 Jakub Jelinek <jakub@redhat.com>
17591
17592 [BZ #14188]
17593 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17594 where __builtin_expect is unavailable.
17595
2fd6ff13
DM
175962012-06-03 David S. Miller <davem@davemloft.net>
17597
17598 * stdlib/longlong.h: Updated from GCC.
17599
173f7220
AS
176002012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17601
17602 [BZ #14042]
17603 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17604 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17605 __mcount_internal.
17606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17607 (GLIBC_2.16): Likewise.
17608
f34a1c6f
L
176092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17610
17611 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17612
88a4576f
JM
176132012-06-01 Joseph Myers <joseph@codesourcery.com>
17614
ea32bcdd
JM
17615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17616 (default-abi): New variable.
17617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17618 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17619 variable.
17620 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17621 Likewise.
17622 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17623 Likewise.
17624 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17625 Likewise.
17626
88a4576f
JM
17627 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17628 definition. Document in comment.
17629
402fe938
DM
176302012-06-01 David S. Miller <davem@davemloft.net>
17631
17632 * stdlib/longlong.h: Updated from GCC.
17633
3553723f
L
176342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17635
17636 [BZ #14117]
3bd872c4
L
17637 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17638 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17639 sys/debugreg.h sys/io.h here.
17640 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17641 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17642 sys/io.h.
17643 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17644 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17645 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17646 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17647 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17648 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17649
3553723f
L
17650 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17651 Define only if __x86_64__ is defined.
17652
4842e4fe
JM
176532012-06-01 Joseph Myers <joseph@codesourcery.com>
17654
c5bfe3d5
JM
17655 [BZ #14048]
17656 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17657 Use int64_t for variable i.
17658 * math/libm-test.inc (fmod_test): Add more tests.
17659
4842e4fe
JM
17660 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17661 z computation is not scheduled after fetestexcept.
17662 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17663 Use math_force_eval instead of asm to ensure calculation scheduled
17664 before exception test.
17665 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17666 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17667
efb73488
AJ
176682012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17669
17670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17671 computation is not scheduled after fetestexcept.
17672
29bcce7c
L
176732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17674
17675 [BZ #14117]
17676 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17677 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17678
73a68f94
AZ
176792012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17680
17681 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17682 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17683
67b6df78
L
176842012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17685
edf2933a 17686 [BZ #14117]
ebc64a18
L
17687 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17688 <bits/wordsize.h>.
17689 (__WCHAR_MIN): Support __WORDSIZE == 64.
17690 (__WCHAR_MAX): Likewise.
17691
edf2933a
L
17692 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17693 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17694
57c6cf40
L
17695 [BZ #14183]
17696 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17697 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17698
67b6df78 17699 [BZ #14117]
8eb6281e
L
17700 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17701 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17702
aac639f4
L
17703 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17704 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17705
67b6df78
L
17706 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17707 Defined to 1 if __x86_64__ isn't defined.
17708 (_STAT_VER_LINUX_OLD): New.
17709 (st_atime): Remove duplicate.
17710 (st_mtime): Likewise.
17711 (st_ctime): Likewise.
17712
1c2cfe81
DM
177132012-05-31 David S. Miller <davem@davemloft.net>
17714
17715 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17716 entries.
17717
5be8418c
AS
177182012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17719
e7725326
AS
17720 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17721 gen-libm-test.pl.
17722
5be8418c
AS
17723 [BZ #14132]
17724 * elf/dl-reloc.c: Include <_itoa.h>.
17725 (_dl_reloc_bad_type): Remove use of INTUSE.
17726 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17727 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17728 * stdio-common/psiginfo.c (psiginfo): Likewise.
17729 * stdio-common/psignal.c (psignal): Likewise.
17730 * string/strsignal.c (strsignal): Likewise.
17731 * include/signal.h (_sys_siglist): Declare hidden proto.
17732 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17733 INTVARDEF with libc_hidden_data_def.
17734 * stdio-common/itoa-udigits.c: Likewise.
17735 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17736 (_itoa_lower_digits_internal): Remove declaration.
17737 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17738 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17739 (_sys_sigabbrev_internal): Remove aliases.
17740 (_sys_siglist): Define hidden alias.
17741
507352f1
MT
177422012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17743
17744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17745 bits/sysctl.h.
17746
42bbb1c3
L
177472012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17748
17749 [BZ #14117]
6bd784b6
L
17750 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17751 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17752
8bca20f0
L
17753 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17754 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17755 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17756 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17757 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17758 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17759
f9e890a9
L
17760 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17761 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17762 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17763
471101a1
L
17764 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17765 with __addr.
17766 (insw): Likewise.
17767 (insl): Likewise.
17768 (outsb): Likewise.
17769 (outsw): Likewise.
17770 (outsl): Likewise.
17771
6451c862
L
17772 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17773 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17774 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17775
a254b8c9
L
17776 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17777 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17778 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17779 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17780 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17781 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17782
b8dfdd92
L
17783 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17784 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17785
578cd270
L
17786 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17787 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17788
de662f5f
L
17789 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17790 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17791 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17792
25653439
L
17793 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17794 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17795 to ...
17796 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17797
6bad24a0
L
17798 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17799 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17800 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17801
42bbb1c3
L
17802 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17803 for x86-64.
17804 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17805
2d10d547
JM
178062012-05-31 Joseph Myers <joseph@codesourcery.com>
17807
17808 * math/math.h (M_El): Use two more decimal places.
17809 (M_LOG2El): Likewise.
17810 (M_LOG10El): Likewise.
17811 (M_LN2l): Likewise.
17812 (M_LN10l): Likewise.
17813 (M_PIl): Likewise.
17814 (M_PI_2l): Likewise.
17815 (M_PI_4l): Likewise.
17816 (M_1_PIl): Likewise.
17817 (M_2_PIl): Likewise.
17818 (M_2_SQRTPIl): Likewise.
17819 (M_SQRT2l): Likewise.
17820 (M_SQRT1_2l): Likewise.
17821
f230c29b
DM
178222012-05-31 David S. Miller <davem@davemloft.net>
17823
17824 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17825 values between float registers.
17826 * sysdeps/sparc/sparc64/memset.S: Likewise.
17827 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17828
fed806c3
MF
178292012-05-31 Mike Frysinger <vapier@gentoo.org>
17830
17831 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17832 -D_FORTIFY_SOURCE=1.
17833 (CPPFLAGS-tst-longjmp_chk.c): Define.
17834 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17835 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17836 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17837 CFLAGS-tst-wchar-h.c.
17838
30917259
MP
178392012-05-31 Marek Polacek <polacek@redhat.com>
17840
17841 [BZ #14132]
17842 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17843 __endmntent_internal): Remove declaration.
17844 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17845 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17846 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17847
1c58d5dc
DM
178482012-05-30 David S. Miller <davem@davemloft.net>
17849
17850 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17851 (___Q_simulate_exceptions): Use real FP ops rather than writing
17852 into the %fsr.
17853 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17854 Likewise.
17855
7dc00e0d
L
178562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17857
17858 [BZ #14117]
0bd53985
L
17859 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17860 * sysdeps/x86/bits/xtitypes.h: This.
17861
3a257e66
L
17862 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17863 * sysdeps/x86/bits/wordsize.h: This.
17864
62f62904
L
17865 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17866 * sysdeps/x86/bits/huge_vall.h: This.
17867
404fe9d9
L
17868 * sysdeps/i386/bits/select.h: Removed.
17869 * sysdeps/x86_64/bits/select.h: Renamed to ...
17870 * sysdeps/x86/bits/select.h: This.
17871
d48d0446
L
17872 * sysdeps/i386/bits/setjmp.h: Removed.
17873 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17874 * sysdeps/x86/bits/setjmp.h: This.
17875
7dc00e0d
L
17876 * sysdeps/i386/bits/mathdef.h: Removed.
17877 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17878 * sysdeps/x86/bits/mathdef.h: This.
17879
03277f8f
AS
178802012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17881
17882 [BZ #14132]
17883 * include/sys/socket.h (__connect_internal)
17884 (__libc_sa_len_internal): Remove declaration.
17885 (__connect, __libc_sa_len): Declare hidden_proto.
17886 (SA_LEN): Remove use of INTUSE.
17887 * socket/connect.c: Add libc_hidden_def.
17888 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17889 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17890 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17891 alias.
17892 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17893 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17894 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17895 of adding _internal alias.
17896
13764867
L
178972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17898
17899 [BZ #14117]
6bd97696
L
17900 * sysdeps/i386/bits/link.h: Removed.
17901 * sysdeps/i386/bits/linkmap.h: Likewise.
17902 * sysdeps/x86_64/bits/link.h: Renamed to ...
17903 * sysdeps/x86/bits/link.h: This.
17904 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17905 * sysdeps/x86/bits/linkmap.h: This.
17906
f726f0bb
L
17907 * sysdeps/i386/bits/endian.h: Removed.
17908 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17909 * sysdeps/x86/bits/endian.h: This.
17910
13764867
L
17911 * sysdeps/i386/bits/byteswap.h: Removed.
17912 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17913 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17914 * sysdeps/x86/bits/byteswap.h: This.
17915 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17916 * sysdeps/x86/bits/byteswap-16.h: This.
17917 * sysdeps/i386/Implies: Add x86.
17918 * sysdeps/x86_64/Implies: Likewise.
17919
ae251b0b
DM
179202012-05-30 David S. Miller <davem@davemloft.net>
17921
17922 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17923 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17924 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17925 (FP_TRAPPING_EXCEPTIONS): Define.
17926 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17927 (FP_TRAPPING_EXCEPTIONS): Define.
17928 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17929 subnormals only when inexact has been signalled or underflow
17930 exceptions are enabled.
17931 (_FP_PACK_CANONICAL): Likewise.
17932
d5c90867
L
179332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17934
17935 [BZ #14183]
17936 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17937 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17938
63f1549e
RH
179392012-05-30 Richard Henderson <rth@twiddle.net>
17940
8d8f2279
RH
17941 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17942 with #ifndef NOT_IN_libc.
17943
63f1549e
RH
17944 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17945 marked to avoid plt entry.
17946
0ab0291b
L
179472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17948
17949 [BZ #14112]
17950 * Makeconfig (default-abi): New macro.
17951 (abi-includes): Likewise.
17952 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17953 $(abi-$(default-abi)-lib-soname) for soname if defined.
17954 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17955 abi-variants.
17956 * Makefile (installed-stubs): Likewise.
17957 * include/stubs-biarch.h: Removed.
17958 * scripts/lib-names.awk: Only handle one library at a time.
17959 * scripts/soversions.awk: Remove WORDSIZE support.
17960 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17961 entries.
17962 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17963 Removed.
17964 (syscall-list-default-condition): Likewise.
17965 (syscall-list-default-condition): Likewise.
17966 (syscall-list-includes): Likewise.
17967 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17968 syscall-list-* with abi-*. Handle undefined abi-variants.
17969 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17970 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17971 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17972 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17973 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17974 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17975 Removed.
17976 (syscall-list-32-options): Likewise.
17977 (syscall-list-32-condition): Likewise.
17978 (syscall-list-64-options): Likewise.
17979 (syscall-list-64-condition): Likewise.
17980 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17981 macro.
17982 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17983 Renamed to ...
17984 (abi-*): This.
17985 (abi-64-ld-soname): New macro.
17986 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17987 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17988 Renamed to ...
17989 (abi-*): This.
17990 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17991 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17992
4da0431d
JM
179932012-05-30 Joseph Myers <joseph@codesourcery.com>
17994
3a85279c
JM
17995 * sysdeps/unix/sysv/linux/kernel-features.h
17996 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17997 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17998 include <kernel-features.h>.
17999 [!__NR_ftruncate64]: Remove conditional code.
18000 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18001 [__NR_ftruncate64]: Make code unconditional.
18002 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18003 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18004 include <kernel-features.h>.
18005 [!__NR_ftruncate64]: Remove conditional code.
18006 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18007 [__NR_ftruncate64]: Make code unconditional.
18008 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18010 include <kernel-features.h>.
18011 [!__NR_ftruncate64]: Remove conditional code.
18012 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18013 [__NR_ftruncate64]: Make code unconditional.
18014 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18016 include <kernel-features.h>.
18017 [!__NR_ftruncate64]: Remove conditional code.
18018 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18019 [__NR_ftruncate64]: Make code unconditional.
18020 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18021
4da0431d
JM
18022 * configure.in (libc_cv_fpie): Weaken to a compile test using
18023 LIBC_TRY_CC_OPTION.
18024 * configure: Regenerated.
18025
11ef492c
AK
180262012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18027
18028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18032 Refreshed.
18033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18039 Refreshed.
18040
d66ef399
DM
180412012-05-27 David S. Miller <davem@davemloft.net>
18042
18043 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18044 (___Q_zero): New.
18045 (__Q_simulate_exceptions): Return void. Change to simulate
18046 exceptions by writing into the %fsr.
18047 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18048 (__Qp_handle_exceptions): Likewise.
18049 (numbers): Delete.
18050 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18051 __Qp_handle_exceptions.
18052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18053 __Qp_handle_exceptions.
18054 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18055 as unused and give dummy FP_RND_NEAREST initializer.
18056 (FP_INHIBIT_RESULTS): Define.
18057 (___Q_simulate_exceptions): Update declaration.
18058 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18059 formatting.
18060 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18061 as unused and give dummy FP_RND_NEAREST initializer.
18062 (__Qp_handle_exceptions): Update declaration.
18063 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18064 formatting.
18065
04fb54b5
TS
180662012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18067
18068 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18069 the temporary FPU control word.
18070 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18071 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18072 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18073 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18074 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18075 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18076 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18077 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18078 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18079 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18080 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18081
3f99608f
KK
180822012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18083
18084 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18085 fields.
18086
65a4de4e
CLT
180872012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18088
18089 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18090 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18091 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18092 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18093 Likewise.
18094 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18095 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18096 Likewise.
18097
15749d40
UD
180982012-05-27 Ulrich Drepper <drepper@gmail.com>
18099
18100 * po/h.po: Update from translation team.
18101
25dbcb27
AS
181022012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18103
3d3f8e55
AS
18104 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18105
25dbcb27
AS
18106 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18107 handling of denormals.
18108 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18109 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18110 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18111 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18114 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18115 Likewise.
18116
7ad47a80 181172012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
18118
18119 [BZ #14152]
18120 * math/libm-test.inc (fma_test): Don't always expect underflow
18121 exception.
18122
9c6ea9fa
SP
181232012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18124
18125 [BZ #12416]
18126 * elf/tst-execstack.c: Include stackinfo.h.
18127 (do_test): Adjust test case to ensure that pthread_getattr_np
18128 behaviour remains the same after marking stack executable.
18129
a8239222
JM
181302012-05-25 Joseph Myers <joseph@codesourcery.com>
18131
18132 * sysdeps/unix/sysv/linux/kernel-features.h
18133 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18134 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18135 kernel-features.h.
18136 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18137 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18138 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18139 kernel-features.h.
18140 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18141 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18142
918b5606
L
181432012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18144
18145 * configure.in: Define the default includes to being none.
18146 * configure: Regenerated.
18147
3a097cc7
RM
181482012-05-25 Roland McGrath <roland@hack.frob.com>
18149
8422c9a5
RM
18150 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18151 * sysdeps/x86_64/setjmp.S: Likewise.
18152 * sysdeps/i386/bsd-setjmp.S: Likewise.
18153 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18154 * sysdeps/i386/setjmp.S: Likewise.
18155 * sysdeps/i386/__longjmp.S: Likewise.
18156 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18157 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18158
3a097cc7
RM
18159 * include/stap-probe.h: New file.
18160 * configure.in: Handle --enable-systemtap.
18161 * configure: Regenerated.
18162 * config.h.in (USE_STAP_PROBE): New #undef.
18163 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18164 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18165 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18166
21708942
JM
181672012-05-25 Joseph Myers <joseph@codesourcery.com>
18168
18169 [BZ #13717]
18170 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18171 to 2.4.0 where earlier.
18172 * sysdeps/unix/sysv/linux/configure: Regenerated.
18173 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18174 <kernel-features.h>.
18175 [__ASSUME_32BITUIDS]: Make code unconditional.
18176 [!__ASSUME_32BITUIDS]: Remove conditional code.
18177 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18178 <kernel-features.h>.
18179 [__ASSUME_32BITUIDS]: Make code unconditional.
18180 [!__ASSUME_32BITUIDS]: Remove conditional code.
18181 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18182 [__ASSUME_32BITUIDS]: Make code unconditional.
18183 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18184 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18185 <kernel-features.h>.
18186 [__ASSUME_32BITUIDS]: Make code unconditional.
18187 [!__ASSUME_32BITUIDS]: Remove conditional code.
18188 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18189 <kernel-features.h>.
18190 [__ASSUME_32BITUIDS]: Make code unconditional.
18191 [!__ASSUME_32BITUIDS]: Remove conditional code.
18192 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18193 <kernel-features.h>.
18194 [__ASSUME_32BITUIDS]: Make code unconditional.
18195 [!__ASSUME_32BITUIDS]: Remove conditional code.
18196 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18197 <kernel-features.h>.
18198 [__ASSUME_32BITUIDS]: Make code unconditional.
18199 [!__ASSUME_32BITUIDS]: Remove conditional code.
18200 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18201 <kernel-features.h>.
18202 [__ASSUME_32BITUIDS]: Make code unconditional.
18203 [!__ASSUME_32BITUIDS]: Remove conditional code.
18204 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18205 <kernel-features.h>.
18206 [__ASSUME_32BITUIDS]: Make code unconditional.
18207 [!__ASSUME_32BITUIDS]: Remove conditional code.
18208 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18209 <kernel-features.h>.
18210 [__ASSUME_32BITUIDS]: Make code unconditional.
18211 [!__ASSUME_32BITUIDS]: Remove conditional code.
18212 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18213 <kernel-features.h>.
18214 [__ASSUME_32BITUIDS]: Make code unconditional.
18215 [!__ASSUME_32BITUIDS]: Remove conditional code.
18216 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18217 <kernel-features.h>.
18218 [__ASSUME_32BITUIDS]: Make code unconditional.
18219 [!__ASSUME_32BITUIDS]: Remove conditional code.
18220 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18221 <kernel-features.h>.
18222 [__ASSUME_32BITUIDS]: Make code unconditional.
18223 [!__ASSUME_32BITUIDS]: Remove conditional code.
18224 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18225 <kernel-features.h>.
18226 [__NR_setresgid] (__setresgid): Do not declare.
18227 [__ASSUME_32BITUIDS]: Make code unconditional.
18228 [!__ASSUME_32BITUIDS]: Remove conditional code.
18229 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18230 <kernel-features.h>.
18231 [__NR_setresuid] (__setresuid): Do not declare.
18232 [__ASSUME_32BITUIDS]: Make code unconditional.
18233 [!__ASSUME_32BITUIDS]: Remove conditional code.
18234 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18235 <kernel-features.h>.
18236 [__ASSUME_32BITUIDS]: Make code unconditional.
18237 [!__ASSUME_32BITUIDS]: Remove conditional code.
18238 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18239 <kernel-features.h>.
18240 [__ASSUME_32BITUIDS]: Make code unconditional.
18241 [!__ASSUME_32BITUIDS]: Remove conditional code.
18242 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18243 <kernel-features.h>.
18244 [__ASSUME_32BITUIDS]: Make code unconditional.
18245 [!__ASSUME_32BITUIDS]: Remove conditional code.
18246 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18247 <kernel-features.h>.
18248 [__ASSUME_32BITUIDS]: Make code unconditional.
18249 [!__ASSUME_32BITUIDS]: Remove conditional code.
18250 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18251 <kernel-features.h>.
18252 [__ASSUME_32BITUIDS]: Make code unconditional.
18253 [!__ASSUME_32BITUIDS]: Remove conditional code.
18254 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18255 <kernel-features.h>.
18256 [__ASSUME_32BITUIDS]: Make code unconditional.
18257 [!__ASSUME_32BITUIDS]: Remove conditional code.
18258 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18259 <kernel-features.h>.
18260 [__ASSUME_32BITUIDS]: Make code unconditional.
18261 [!__ASSUME_32BITUIDS]: Remove conditional code.
18262 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18263 <kernel-features.h>.
18264 [__ASSUME_32BITUIDS]: Make code unconditional.
18265 [!__ASSUME_32BITUIDS]: Remove conditional code.
18266 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18267 <kernel-features.h>.
18268 [__ASSUME_32BITUIDS]: Make code unconditional.
18269 [!__ASSUME_32BITUIDS]: Remove conditional code.
18270 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18271 <kernel-features.h>.
18272 [__ASSUME_32BITUIDS]: Make code unconditional.
18273 [!__ASSUME_32BITUIDS]: Remove conditional code.
18274 * sysdeps/unix/sysv/linux/kernel-features.h
18275 (__ASSUME_SETRESUID_SYSCALL): Remove.
18276 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18277 (__ASSUME_32BITUIDS): Likewise.
18278 (__ASSUME_LDT_WORKS): Likewise.
18279 (__ASSUME_O_DIRECTORY): Likewise.
18280 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18281 architecture but not kernel version.
18282 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18283 (__ASSUME_MMAP2_SYSCALL): Likewise.
18284 (__ASSUME_STAT64_SYSCALL): Likewise.
18285 (__ASSUME_IPC64): Likewise.
18286 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18287 <kernel-features.h>.
18288 [__ASSUME_32BITUIDS]: Make code unconditional.
18289 [!__ASSUME_32BITUIDS]: Remove conditional code.
18290 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18291 <kernel-features.h>.
18292 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18293 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18294 132096]: Remove conditional code.
18295 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18296 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18297 <kernel-features.h>.
18298 [__ASSUME_32BITUIDS]: Make code unconditional.
18299 [!__ASSUME_32BITUIDS]: Remove conditional code.
18300 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18301 <kernel-features.h>.
18302 [__ASSUME_32BITUIDS]: Make code unconditional.
18303 [!__ASSUME_32BITUIDS]: Remove conditional code.
18304 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18305 <kernel-features.h>.
18306 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18307 unconditional.
18308 (__setresgid): Do not declare.
18309 [__ASSUME_32BITUIDS]: Make code unconditional.
18310 [!__ASSUME_32BITUIDS]: Remove conditional code.
18311 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18312 <kernel-features.h>.
18313 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18314 unconditional.
18315 (__setresuid): Do not declare.
18316 [__ASSUME_32BITUIDS]: Make code unconditional.
18317 [!__ASSUME_32BITUIDS]: Remove conditional code.
18318 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18319 <kernel-features.h>.
18320 [__ASSUME_32BITUIDS]: Make code unconditional.
18321 [!__ASSUME_32BITUIDS]: Remove conditional code.
18322 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18323 <kernel-features.h>.
18324 [__ASSUME_32BITUIDS]: Make code unconditional.
18325 [!__ASSUME_32BITUIDS]: Remove conditional code.
18326
a386f1cc
RH
183272012-05-25 Richard Henderson <rth@twiddle.net>
18328
18329 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18330 dl_hwcap to ifunc resolver.
18331 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18332 elf_ifunc_invoke.
18333 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18334 dl_hwcap to ifunc resolver.
18335 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18336
b6550497
JM
183372012-05-24 Joseph Myers <joseph@codesourcery.com>
18338
18339 [BZ #14153]
18340 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18341 for |x| <= 2**-26, not 2**-57.
18342 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18343 exception.
18344
b0bc23a1
JL
183452012-05-24 Jeff Law <law@redhat.com>
18346
18347 * stdio-common/Makefile (tests): Add bug25.
18348 * stdio-common/bug25.c: New test.
18349
347c92e9
L
183502012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18351
18352 [BZ #13576]
18353 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18354 multiple of MALLOC_ALIGNMENT in size.
18355 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18356
6bcc8b3f
JM
183572012-05-24 Joseph Myers <joseph@codesourcery.com>
18358
18359 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18360 Require >= 256.
18361 (FILENAME_MAX): Use macro-int-constant.
18362 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18363 (_IOFBF): Use macro-int-constant.
18364 (_IOLBF): Likewise.
18365 (_IONBF): Likewise.
18366 (SEEK_CUR): Likewise.
18367 (SEEK_END): Likewise.
18368 (SEEK_SET): Likewise.
18369 (TMP_MAX): Likewise.
18370 (EOF): Use macro-int-constant. Require < 0.
18371 (NULL): Use macro-constant. Require == 0.
18372 (stdin): Require type to be FILE *.
18373 (stdout): Likewise.
18374 (stderr): Likewise.
18375 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18376 macro-int-constant.
18377 (EXIT_SUCCESS): Likewise.
18378 (NULL): Use macro-constant. Require == 0.
18379 (RAND_MAX): Use macro-int-constant.
18380 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18381 [C99-based standards] (strtof): Require function.
18382 [C99-based standards] (strtold): Likewise.
18383 [C99-based standards] (strtoll): Likewise.
18384 [C99-based standards] (strtoull): Likewise.
18385 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18386 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18387 [ISO || ISO99 || ISO11] (math.h): Likewise.
18388 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18389 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18390 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18391
d18ea0c5
AS
183922012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18393
18394 [BZ #14132]
56d25bb8
AS
18395 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18396 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18397 * intl/dgettext.c (DCGETTEXT): Likewise.
18398 * intl/gettext.c (DCGETTEXT): Likewise.
18399 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18400 * posix/regex_internal.h (gettext): Likewise.
18401 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18402 Remove declaration.
18403 * include/argz.h (__argz_count_internal)
18404 (__argz_stringify_internal): Remove declaration.
18405 (__argz_count, __argz_stringify): Declare hidden proto.
18406 * intl/dcgettext.c: Remove use of INTDEF.
18407 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18408 * string/argz-stringify.c: Likewise.
18409 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18410 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18411 Declare hidden proto.
d18ea0c5
AS
18412 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18413 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18414 Declare hidden proto.
18415 * include/stdio.h (__asprintf_internal): Don't declare.
18416 (__asprintf): Don't define as macro. Declare hidden proto.
18417 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18418 (__fsetlocking): Declare hidden proto.
18419 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18420 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18421 hidden proto.
18422 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18423 (_IO_setlinebuf): Remove use of INTUSE.
18424 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18425 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18426 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18427 Remove declaration.
18428 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18429 (_IO_do_flush): Remove use of INTUSE.
18430 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18431 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18432 (_IO_adjust_column, _IO_least_wmarker)
18433 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18434 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18435 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18436 (_IO_default_doallocate, _IO_wdefault_doallocate)
18437 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18438 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18439 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18440 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18441 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18442 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18443 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18444 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18445 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18446 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18447 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18448 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18449 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18450 proto.
18451 (_IO_flush_all_internal, _IO_adjust_column_internal)
18452 (_IO_default_uflow_internal, _IO_default_finish_internal)
18453 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18454 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18455 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18456 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18457 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18458 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18459 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18460 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18461 (_IO_file_close_internal, _IO_file_close_it_internal)
18462 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18463 (_IO_file_init_internal, _IO_file_attach_internal)
18464 (_IO_file_fopen_internal, _IO_file_read_internal)
18465 (_IO_file_sync_internal, _IO_file_seek_internal)
18466 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18467 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18468 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18469 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18470 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18471 (_IO_list_all_internal, _IO_link_in_internal)
18472 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18473 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18474 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18475 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18476 (_IO_do_write_internal, _IO_padn_internal)
18477 (_IO_getline_info_internal, _IO_getline_internal)
18478 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18479 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18480 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18481 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18482 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18483 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18484 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18485 with libc_hidden_ver, remove use of INTUSE.
18486 * libio/genops.c: Likewise.
18487 * libio/freopen.c: Likewise.
18488 * libio/freopen64.c: Likewise.
18489 * libio/iofclose.c: Likewise.
18490 * libio/iofdopen.c: Likewise.
18491 * libio/iofflush.c: Likewise.
18492 * libio/iofflush_u.c: Likewise.
18493 * libio/iofgets.c: Likewise.
18494 * libio/iofgets_u.c: Likewise.
18495 * libio/iofopen.c: Likewise.
18496 * libio/iofopncook.c: Likewise.
18497 * libio/iofread.c: Likewise.
18498 * libio/iofread_u.c: Likewise.
18499 * libio/ioftell.c: Likewise.
18500 * libio/iofwrite.c: Likewise.
18501 * libio/iogetline.c: Likewise.
18502 * libio/iogets.c: Likewise.
18503 * libio/iogetwline.c: Likewise.
18504 * libio/iopadn.c: Likewise.
18505 * libio/iopopen.c: Likewise.
18506 * libio/ioseekoff.c: Likewise.
18507 * libio/ioseekpos.c: Likewise.
18508 * libio/iosetbuffer.c: Likewise.
18509 * libio/iosetvbuf.c: Likewise.
18510 * libio/ioungetc.c: Likewise.
18511 * libio/ioungetwc.c: Likewise.
18512 * libio/iovdprintf.c: Likewise.
18513 * libio/iovsprintf.c: Likewise.
18514 * libio/iovsscanf.c: Likewise.
18515 * libio/memstream.c: Likewise.
18516 * libio/obprintf.c: Likewise.
18517 * libio/oldfileops.c: Likewise.
18518 * libio/oldiofclose.c: Likewise.
18519 * libio/oldiofdopen.c: Likewise.
18520 * libio/oldiofopen.c: Likewise.
18521 * libio/oldiopopen.c: Likewise.
18522 * libio/oldstdfiles.c: Likewise.
18523 * libio/putc.c: Likewise.
18524 * libio/setbuf.c: Likewise.
18525 * libio/setlinebuf.c: Likewise.
18526 * libio/stdfiles.c: Likewise.
18527 * libio/strops.c: Likewise.
18528 * libio/vasprintf.c: Likewise.
18529 * libio/vscanf.c: Likewise.
18530 * libio/vsnprintf.c: Likewise.
18531 * libio/vswprintf.c: Likewise.
18532 * libio/wfiledoalloc.c: Likewise.
18533 * libio/wfileops.c: Likewise.
18534 * libio/wgenops.c: Likewise.
18535 * libio/wmemstream.c: Likewise.
18536 * libio/wstrops.c: Likewise.
18537 * libio/__fpurge.c: Likewise.
18538 * libio/__fsetlocking.c: Likewise.
18539 * assert/assert.c: Likewise.
18540 * debug/fgets_chk.c: Likewise.
18541 * debug/fgets_u_chk.c: Likewise.
18542 * debug/fread_chk.c: Likewise.
18543 * debug/fread_u_chk.c: Likewise.
18544 * debug/gets_chk.c: Likewise.
18545 * debug/obprintf_chk.c: Likewise.
18546 * debug/vasprintf_chk.c: Likewise.
18547 * debug/vdprintf_chk.c: Likewise.
18548 * debug/vsnprintf_chk.c: Likewise.
18549 * debug/vsprintf_chk.c: Likewise.
18550 * malloc/mtrace.c: Likewise.
18551 * misc/error.c: Likewise.
18552 * misc/syslog.c: Likewise.
18553 * stdio-common/asprintf.c: Likewise.
18554 * stdio-common/fxprintf.c: Likewise.
18555 * stdio-common/getw.c: Likewise.
18556 * stdio-common/isoc99_fscanf.c: Likewise.
18557 * stdio-common/isoc99_scanf.c: Likewise.
18558 * stdio-common/isoc99_vfscanf.c: Likewise.
18559 * stdio-common/isoc99_vscanf.c: Likewise.
18560 * stdio-common/isoc99_vsscanf.c: Likewise.
18561 * stdio-common/printf-prs.c: Likewise.
18562 * stdio-common/printf_fp.c: Likewise.
18563 * stdio-common/printf_fphex.c: Likewise.
18564 * stdio-common/printf_size.c: Likewise.
18565 * stdio-common/putw.c: Likewise.
18566 * stdio-common/scanf.c: Likewise.
18567 * stdio-common/sprintf.c: Likewise.
18568 * stdio-common/tmpfile.c: Likewise.
18569 * stdio-common/vfprintf.c: Likewise.
18570 * stdio-common/vfscanf.c: Likewise.
18571 * stdlib/strfmon_l.c: Likewise.
18572 * sunrpc/openchild.c: Likewise.
18573 * sunrpc/xdr_stdio.c: Likewise.
18574 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18575 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18576
d6c33fda
RM
185772012-05-24 Roland McGrath <roland@hack.frob.com>
18578
c1487492
RM
18579 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18580
18581 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18582 in the third column, to generate for the shared library an IFUNC
18583 that uses _dl_vdso_vsym.
18584 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18585 * Makeconfig (object-suffixes-noshared): New variable.
18586
18587 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18588 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18589 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18590 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18591
d6c33fda
RM
18592 [BZ #14132]
18593 * include/sys/time.h (__gettimeofday): Remove macro.
18594 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18595 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18596 Remove INTDEF.
18597 (__gettimeofday): Add libc_hidden_def.
18598 (gettimeofday): Add libc_hidden_weak.
18599 * sysdeps/mach/gettimeofday.c: Likewise.
18600 * sysdeps/posix/gettimeofday.c: Likewise.
18601 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18602 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18603 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18604 (__gettimeofday_internal): Remove strong_alias.
18605 (__gettimeofday): Add libc_hidden_def.
18606 (gettimeofday): Add libc_hidden_weak.
18607 * sysdeps/unix/syscalls.list (gettimeofday):
18608 Remove __gettimeofday_internal alias.
18609
b5a2bbe6
L
186102012-05-24 Daniel Jacobowitz <drow@false.org>
18611 H.J. Lu <hongjiu.lu@intel.com>
18612
18613 [BZ #12495]
18614 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18615 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18616 (largebin_index_32_big): New.
18617 (largebin_index): Use it for 16-byte alignment.
18618 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18619 correction with front_misalign.
18620
cfba4fda
L
186212012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18622
7f907421
L
18623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18625 Likewise.
18626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18627 Likewise.
18628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18629 Likewise.
18630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18631 Likewise.
18632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18633 Likewise.
18634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18635 Likewise.
18636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18637 Likewise.
18638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18639 Likewise.
18640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18641 Likewise.
18642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18643 Likewise.
18644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18645 Likewise.
18646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18647 Likewise.
18648
cfba4fda
L
18649 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18650 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18651
80bad0cc
JM
186522012-05-24 Joseph Myers <joseph@codesourcery.com>
18653
7a25eb06
JM
18654 [BZ #10846]
18655 [BZ #14036]
18656 * math/libm-test.inc (exp_test): Add test from bug 14036.
18657 (pow_test): Add test from bug 10846.
18658
795405f9
JM
18659 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18660 and other flags.
18661 (special_function): Do not include flags in test name.
18662 (parse_args): Likewise.
18663 * sysdeps/i386/fpu/libm-test-ulps: Update.
18664 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18665 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18666 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18668
80bad0cc
JM
18669 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18670 exceptions.
18671 * math/libm-test.inc ("Philosophy"): Update comment about
18672 exception testing.
18673 (UNDERFLOW_EXCEPTION): New macro.
18674 (UNDERFLOW_EXCEPTION_OK): Likewise.
18675 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18676 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18677 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18678 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18679 (INVALID_EXCEPTION_OK): Update value.
18680 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18681 (OVERFLOW_EXCEPTION_OK): Likewise.
18682 (IGNORE_ZERO_INF_SIGN): Likewise.
18683 (test_exceptions): Handle underflow exceptions.
18684 (acos_test): Update for underflow exception expectations.
18685 (cexp_test): Likewise.
18686 (clog_test): Likewise.
18687 (clog10_test): Likewise.
18688 (csqrt_test): Likewise.
18689 (ctan_test): Likewise.
18690 (ctanh_test): Likewise.
18691 (exp_test): Likewise.
18692 (exp10_test): Likewise.
18693 (exp2_test): Likewise.
18694 (expm1_test): Likewise.
18695 (fma_test): Likewise.
18696 (j0_test): Likewise.
18697 (jn_test): Likewise.
18698 (nexttoward_test): Likewise.
18699 (pow_test): Likewise.
18700 (scalbn_test): Likewise.
18701 (scalbln_test): Likewise.
18702 (tan_test): Likewise.
18703 (y1_test): Likewise.
18704 * sysdeps/i386/fpu/libm-test-ulps: Update.
18705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18706
9e0e3d0b
DM
187072012-05-23 David S. Miller <davem@davemloft.net>
18708
18709 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18710 (__libc_sigaction): Remove unused local variables.
18711
ccd0a08f
L
187122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18713
18714 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18715
62bdf9a6
PE
187162012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18717
f8591f80
PE
18718 mktime: avoid signed integer overflow
18719 * time/mktime.c (__mktime_internal): Do not mishandle the case
18720 where diff == INT_MIN.
18721
94c7d826
PE
18722 mktime: simplify computation of average
18723 * time/mktime.c (ranged_convert): Use new time_t_avg function
18724 instead of rolling our own (probably-slower) code.
18725
ce73d683
PE
18726 mktime: do not assume signed right shift propagates sign bit
18727 * time/mktime.c (isdst_differ): New static function.
18728 (__mktime_internal): No need to normalize tm_isdst now.
18729 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18730 tm_isdst values.
18731
72a22e59
PE
18732 mktime: merge another wrapv change from gnulib
18733 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18734 from some compilers.
18735
68605433
PE
18736 mktime: remove incorrect attempt at unusual arithmetics
18737 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18738 The code didn't really work on such machines anyway.
18739 (TYPE_MINIMUM): Assume two's complement.
18740 (twos_complement_arithmetic): Verify that long_int and time_t
18741 are two's complement (or unsigned, in the latter case).
18742
03cf7fe3
PE
18743 mktime: check signed shifts on long_int and time_t, too
18744 * time/mktime.c (SHR): Check that shifts work as desired
18745 on the types long_int and time_t too, as SHR is used on
18746 such types.
18747
f04dfbc2
PE
18748 mktime: do not assume 'long' is wide enough
18749 * time/mktime.c (verify): Move decl up.
18750 (long_int): New type.
18751 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18752 to remove assumption in the code that 'long' is wide enough to
18753 store year values. This assumption is not true on x32 and on
18754 some non-glibc platforms.
18755
62bdf9a6
PE
18756 mktime: merge wrapv change from gnulib
18757 * time/mktime.c (WRAPV): New macro.
18758 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18759 (guess_time_tm, __mktime_internal): Do not assume that signed
18760 integer overflow wraps around; modern compilers generate code
18761 where this assumption is no longer valid.
18762
5e292e4f
L
187632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18764
18765 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18766 Replace "jmp L(pseudo_end)" with "ret".
18767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18768 Likewise.
18769
8caf8c87
AJ
187702012-05-23 Andreas Jaeger <aj@suse.de>
18771
18772 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18773 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18774
1a09dc56
AJ
187752012-05-23 Andreas Jaeger <aj@suse.de>
18776 Maximilian Attems <max@stro.at>
18777
18778 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18779 New macros.
18780
1c87aba0
L
187812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18782
18783 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18784 code so that pseudo_end is just ret and the stack pointer is
18785 correct also for static library in error case.
18786
40e45bd5
JM
187872012-05-23 Joseph Myers <joseph@codesourcery.com>
18788
c2670533
JM
18789 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18790 move to syscalls.list.
18791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18795
40e45bd5
JM
18796 * manual/install.texi (Running make install): Do not mention Linux
18797 kernel version for which pt_chown is not needed.
18798 (Linux): Do not mention problems with nscd with 2.0 kernels.
18799 * INSTALL: Regenerated.
18800
be08eda5
AJ
188012012-05-23 Andreas Jaeger <aj@suse.de>
18802
18803 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18804 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18805 macro.
18806 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18807 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18808 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18809 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18810 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18811 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18812 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18813 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18814 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18815 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18816 * sysdeps/unix/sysv/linux/bits/in.h
18817 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18818
a6a056bb
RM
188192012-05-22 Roland McGrath <roland@hack.frob.com>
18820
18821 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18822 (PREPARE_VERSION): Just use assert instead, it will be elided
18823 under [NDEBUG] anyway.
18824
c9009328
L
188252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18826
18827 * sysdeps/unix/sysv/linux/Makefile: Include
18828 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18829 (sysdep_routines): Remove sysctl.
c9009328
L
18830 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18831 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18832 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18833 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18834 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18835
73338355
AJ
188362012-05-22 Andreas Jaeger <aj@suse.de>
18837
18838 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18839 that pseudo_end is just ret and the stack pointer is correct also
18840 for static library in error case.
18841
d44638b0
PP
188422012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18843
18844 [BZ #14122]
18845 * nss/nsswitch.c (defconfig_entries): New variable.
18846 (__nss_database_lookup): Don't leak defconfig entries.
18847 (nss_parse_service_list): Don't leak on error paths.
18848 (free_database_entries): New function.
18849 (free_defconfig): New function.
18850 (free_mem): Move common code to free_database_entries.
18851
31a39bd8
L
188522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18853
da0331a8
L
18854 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18855 Add arch_prctl.
18856 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18857
31a39bd8
L
18858 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18859 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18861 New macro.
18862 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18863 (INTERNAL_SYSCALL_TYPES): Likewise.
18864 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18865 (LOAD_REGS_TYPES_[1-6]): Likewise.
18866 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18867 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18868
45470df3
AZ
188692012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18870
18871 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18872 copysignl for GLIBC_2_0.
18873 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18874 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18875 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18876 logbl for GLIBC_2_0.
18877 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18878 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18879
98a61bcb
L
188802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18881
a4f6e481
L
18882 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18883 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18884
f63d5db6
L
18885 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18886 Use "neg %eax".
18887
98a61bcb
L
18888 * time/mktime.c: Update copyright years.
18889
95770f14
PE
188902012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18891
6226efbd
PE
18892 mktime: merge comment-quoting-style change from gnulib
18893 * time/mktime.c: Quote 'like this' in comments.
18894 The GNU coding standards suggest that we no longer quote `like this',
18895 as "`" and "'" are typically rendered asymmetrically nowadays.
18896 The typical gnulib style is to quote 'like this' when quoting
18897 code, and "like this" when quoting English.
18898
b99e4f78
PE
18899 * time/mktime.c (compile-command): Add "-I.".
18900
643e01e6
PE
18901 mktime: merge mktime-internal.h change from gnulib
18902 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18903
2554247d
PE
18904 mktime: merge time_r change from gnulib
18905 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18906
826dd0ab
PE
18907 mktime: merge DEBUG change from gnulib
18908 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18909 case system <time.h> has a #define.
18910
bd83aabe
PE
18911 mktime: merge <sys/types.h> change from gnulib
18912 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18913 since <time.t> is now guaranteed to define time_t.
18914
95770f14
PE
18915 mktime: merge HAVE_CONFIG_H change from gnulib
18916 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18917
5e1a27a9
L
189182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18919
0e44a77e
L
18920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18921 Use "neg %eax".
18922
5e1a27a9
L
18923 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18924 __rlim_t cast.
18925 (struct rusage): Use anonymous union to pad each field to
18926 __syscall_slong_t.
18927
46259bec
DM
189282012-05-21 David S. Miller <davem@davemloft.net>
18929
18930 * Makefules (o-iterator): Remove .s cases.
18931 (compile-command.s): Delete.
18932 (COMPILE.s): Delete.
18933 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18934
59f0c22e
JM
189352012-05-21 Joseph Myers <joseph@codesourcery.com>
18936
18937 * configure.in (libc_cv_predef_stack_protector): Only consider
18938 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18939 * configure: Regenerated.
18940
20c07380
L
189412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18942
bbb3154b
L
18943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18944 New macro. Use R*LP on int and pointer.
18945 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18946 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18947 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18948 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18949
20c07380
L
18950 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18951 [__WORDSIZE_TIME64_COMPAT32] instead of
18952 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18953 (struct utmp): Likewise.
18954 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18955 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18956 Renamed to ...
18957 (__WORDSIZE_TIME64_COMPAT32): This.
18958 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18959 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18960 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18961 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18962 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18963 (__WORDSIZE_TIME64_COMPAT32): New macro.
18964
d8d1017e
AJ
189652012-05-21 Andreas Jaeger <aj@suse.de>
18966
18967 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18968 only if [SHARED]. Add prototype for __wcschr_ia32.
18969
6c7fb145
RM
189702012-05-21 Roland McGrath <roland@hack.frob.com>
18971
18972 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18973 of %rbp unmolested in the jmp_buf while mangling the low bits.
18974 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18975 unmolested high bits of %rbp while demangling the low bits.
18976 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18977
66274218
AJ
189782012-05-21 Andreas Jaeger <aj@suse.de>
18979
07c58f8f
AJ
18980 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18981 * sunrpc/svc_simple.c: Use it for registerrpc.
18982 * sunrpc/xcrypt.c: Use it for passwd2des.
18983
66274218
AJ
18984 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18985
61f65140
L
189862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18987
18988 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18989 Don't define if [__SYSCALL_WORDSIZE != 32].
18990 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18991 New macro.
18992
5fefb436
AJ
189932012-05-21 Bruno Haible <bruno@clisp.org>
18994 Andreas Jaeger <aj@suse.de>
18995
18996 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18997 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18998 inptr and inend for must_buffer_ch.
18999 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19000 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19001 * stdio-common/Makefile (tests): Remove bug15.
19002 (bug15-ENV): Remove macro.
19003 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19004 anymore.
19005
d8e272ab
AJ
190062012-05-19 Andreas Jaeger <aj@suse.de>
19007 Roland McGrath <roland@hack.frob.com>
19008
19009 * manual/contrib.texi: Completely rewritten. It contains now an
19010 alphabetical list of contributors and their contributions.
19011
4a56a162
RH
190122012-05-21 Richard Henderson <rth@twiddle.net>
19013
19014 * misc/getauxval.c (__getauxval): Use unsigned long int.
19015 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19016 (getauxval): Use unsigned long int.
19017
d024d23c
L
190182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19019
19020 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19021
cbc00a03
RM
190222012-05-21 Roland McGrath <roland@hack.frob.com>
19023
19024 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19025 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19026 __alignof__ (long double).
19027
478143fa
AZ
190282012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19029
19030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19031
c7683a6d
RH
190322012-05-20 Richard Henderson <rth@twiddle.net>
19033
19034 * misc/getauxval.c: New file.
19035 * misc/sys/auxv.h: New file.
19036 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19037 (routines): Add getauxval.
19038 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19039 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19040 * elf/dl-sysdep.c (_dl_auxv): Remove.
19041 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19042 * elf/dl-support.c (_dl_auxv): New variable.
19043 (_dl_aux_init): Initialize it.
19044 * manual/startup.texi (Auxiliary Vector): New node.
19045 * sysdeps/generic/bits/hwcap.h: New file.
19046 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19047 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19048 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19049 * sysdeps/sparc/sysdep.h: ... here. Include it.
19050 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19051 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
19052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19053 Update.
c7683a6d
RH
19054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19057 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19062
a6f1845d
AZ
190632012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19064
19065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19066
cbcbe830
DM
190672012-05-19 David S. Miller <davem@davemloft.net>
19068
19069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19070
e0b16cc2
JM
190712012-05-19 Joseph Myers <joseph@codesourcery.com>
19072
19073 [BZ #14123]
19074 * math/s_ccosh.c: Include <float.h>
19075 (__ccosh): Avoid internal overflow calculating sinh and cosh
19076 values before multiplying by sin and cos values.
19077 * math/s_ccoshf.c: Likewise.
19078 * math/s_ccoshl.c: Likewise.
19079 * math/s_csin.c: Likewise.
19080 * math/s_csinf.c: Likewise.
19081 * math/s_csinl.c: Likewise.
19082 * math/s_csinh.c: Likewise.
19083 * math/s_csinhf.c: Likewise.
19084 * math/s_csinhl.c: Likewise.
19085 * math/libm-test.inc (ccos_test): Add more tests.
19086 (ccosh_test): Likewise.
19087 (csin_test): Likewise.
19088 (csinh_test): Likewise.
19089 * sysdeps/i386/fpu/libm-test-ulps: Update.
19090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19091
6ad13e08
L
190922012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19093
f66f0ce8
L
19094 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19095 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19096
6ad13e08
L
19097 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19098
b1d072a7
JM
190992012-05-19 Joseph Myers <joseph@codesourcery.com>
19100
19101 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19102 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19103 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19104 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19105 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19106 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19107 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19108 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19109 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19110 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19111 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19112 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19113 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19114 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19115 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19116 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19117 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19118 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19119 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19120 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19121 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19122 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19123 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19124 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19125 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19126 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19127 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19128 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19129 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19130 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19131 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19132
9eae47cb
AJ
191332012-05-18 Andreas Jaeger <aj@suse.de>
19134
19135 * csu/.gitignore: Delete.
19136
bb07f69f
L
191372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19138
19139 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19140 (timex): Use __syscall_slong_t.
19141
e6bdb741
AJ
191422012-05-18 Andreas Jaeger <aj@suse.de>
19143 Carlos O'Donell <carlos_odonell@mentor.com>
19144
19145 * manual/install.texi (Configuring and compiling): Update
19146 description about files modified in the source directory.
d6c33fda 19147 * INSTALL: Regenerated.
e6bdb741 19148
1b74487e
L
191492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19150
19151 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19152 value. Use "or" to set return value to -1.
19153 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19154 negate return value.
19155
a88b64b9
TMQMF
191562012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19157
19158 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19159 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19160 failure if the compiler has Graphite support disabled.
19161 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19162 Likewise.
19163 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19164 CFLAGS-memmove.c): Likewise.
19165 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19166 Likewise.
19167
3707636e
L
191682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19169
610b8622
L
19170 * sysdeps/x86_64/x32/_itoa.h: New file.
19171
7cd195df
L
19172 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19173 getdents system call only if kernel and user dirents have the
19174 same d_ino and d_off.
19175
94b07d20
L
19176 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19177 LLONG_MAX != LONG_MAX.
19178 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19179 (_fitoa_word): Likewise.
19180
18298070
L
19181 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19182 years.
19183 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19184 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19185 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19186
553c7ea4
L
19187 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19188 include <bits/wordsize.h>. Check __x86_64__ instead of
19189 __WORDSIZE.
19190 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19191 if __x86_64__ is defined. Use anonymous union on fpstate.
19192
3707636e
L
19193 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19194 anonymous union.
19195
b53ef01a
AS
191962012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19197
37fb1dc0
AS
19198 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19199 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19200 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19201 Refer to _rtld_local_ro instead of _rtld_global_ro.
19202 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19203 Likewise.
19204 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19205 Likewise.
19206 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19207 Likewise.
19208 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19209 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19210 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19211
b53ef01a
AS
19212 * sysdeps/powerpc/powerpc32/dl-machine.c
19213 (__elf_machine_runtime_setup) [PROF]: Don't reference
19214 _dl_prof_resolve.
19215
7a185db2
AJ
192162012-05-18 Andreas Jaeger <aj@suse.de>
19217
19218 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19219 function only available for GCCs before 3.4 since GCC 3.4
19220 introduced a builtin.
19221 (lrint): Likewise.
19222 (llrintf): Likewise.
19223 (llrint): Likewise.
19224 (fmaxf): Likewise.
19225 (fmax): Likewise.
19226 (fminf): Likewise.
19227 (fmin): Likewise.
19228 (rint): Likewise.
19229 (rintf): Likewise.
19230 (nearbyint): Likewise.
19231 (nearbyintf): Likewise.
19232 (ceil): Likewise.
19233 (ceilf): Likewise.
19234 (floor): Likewise.
19235 (floorf): Likewise.
19236
3e5aef87
L
192372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19238
428bd707
L
19239 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19240 on both fields and cast pointer to __syscall_ulong_t.
19241
3e5aef87
L
19242 * bits/types.h (__fsword_t): New type.
19243 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19244 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19245 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19246 (__FSWORD_T_TYPE): Likewise.
19247 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19248 (__FSWORD_T_TYPE): Likewise.
19249 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19250 (__FSWORD_T_TYPE): Likewise.
19251 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19252 (__FSWORD_T_TYPE): Likewise.
19253 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19254 __SWORD_TYPE with __fsword_t.
19255 (statfs64): Likewise.
19256
1ba7c3dc
DM
192572012-05-17 David S. Miller <davem@davemloft.net>
19258
19259 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19260
59910343
AJ
192612012-05-17 Andreas Jaeger <aj@suse.de>
19262
19263 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19264 warning.
19265
2e4c1e9e
L
192662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19267
19268 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19269
de7f5ce7
AJ
192702012-05-17 Andreas Jaeger <aj@suse.de>
19271
19272 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19273 when it is used.
19274
286abc3d
CM
192752012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19276
19277 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19278
477cc68e
L
192792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19280
19281 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19282 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19283
1a0994f5
CD
192842012-05-17 Andreas Jaeger <aj@suse.de>
19285 Carlos O'Donell <carlos_odonell@mentor.com>
19286
19287 [BZ #14059]
19288 * sysdeps/x86_64/multiarch/init-arch.h
19289 (bit_YMM_Usable): Rename to...
19290 (bit_AVX_Usable): ... this.
19291 (bit_FMA4_Usable): New macro.
19292 (bit_XMM_state): New macro.
19293 (bit_YMM_state): New macro.
19294 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19295 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19296 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19297 (CPUID_OSXSAVE): New macro.
19298 (CPUID_AVX): New macro.
19299 (CPUID_FMA4): New macro.
19300 (index_YMM_Usable): Rename to...
19301 (index_AVX_Usable): ... this.
19302 (HAS_AVX): Use HAS_ARCH_FEATURE.
19303 (HAS_FMA4): Likewise.
19304 (HAS_YMM_USABLE): Remove.
19305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19306 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19307 are present.
19308 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19309 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19310 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19311 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19312 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19313
0af797de
CM
193142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19315
19316 * math/libm-test.c: Support platforms without multiple rounding modes.
19317 * math/bug-nextafter.c: Support platforms without FP exceptions.
19318 * math/bug-nexttoward.c: Likewise.
19319 * math/test-fenv.c: Likewise.
19320 * math/test-misc.c: Likewise.
19321 * stdlib/bug-getcontext.c: Likewise.
19322
e39745ff
AJ
193232012-05-17 Andreas Jaeger <aj@suse.de>
19324
19325 * manual/examples/search.c (critter_cmp): Change signature to
19326 avoid warnings.
19327 * manual/string.texi (Collation Functions): Likewise.
19328
48970aba
L
193292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19330
19331 * bits/types.h: Fold copyright years.
19332 * bits/typesizes.h: Likewise.
19333 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19334 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19335 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19337 * time/time.h: Likewise.
19338
bedee953
PP
193392012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19340
19341 [BZ #208]
19342 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19343 in instead of returning them. Return void.
19344 (__libc_mallinfo): Accumulate over all arenas.
19345 (__malloc_stats): Adjust for change in int_mallinfo interface.
19346
61653dfb
RM
193472012-05-16 Roland McGrath <roland@hack.frob.com>
19348
30b99d79
RM
19349 [BZ #10375]
19350 * configure.in (NM): Add AC_CHECK_TOOL for it.
19351 (libc_extra_cflags): New substituted variable.
19352 Check for -fstack-protector being used implicitly.
19353 * configure: Regenerated.
19354 * config.make.in (config-extra-cflags): New variable,
19355 gets @libc_extra_cflags@.
19356 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19357
61653dfb
RM
19358 [BZ #10375]
19359 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19360 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19361 * configure: Regenerated.
19362 * config.make.in (CPPUNDEFS): New substituted variable.
19363 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19364 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19365 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19366
661768bb
L
193672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19368
19369 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19370 (mq_attr): Use __syscall_slong_t.
19371
d4261567
L
193722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19373
19374 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19375 Check __x86_64__ instead of __WORDSIZE.
19376 (_STAT_VER_LINUX): Likewise.
19377 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19378 __syscall_ulong_t and __syscall_slong_t.
19379 (stat64): Likewise.
19380
cf3ff365
L
193812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19382
19383 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19384
76cf3e4d
L
193852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19386
19387 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19388
a637753a
L
193892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19390
19391 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19392 __syscall_ulong_t.
19393
d5e05119
L
19394 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19395 include <bits/wordsize.h>. Check __x86_64__ instead of
19396 __WORDSIZE.
19397 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19398 defined.
19399 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19400
f62ee380
L
19401 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19402 include <bits/wordsize.h>. Check __x86_64__ instead of
19403 __WORDSIZE.
19404 (user_regs_struct): Use "__extension__ unsigned long long"
19405 instead of "unsigned long" if __x86_64__ is defined.
19406 (user): Likewise. Pad after pointer field if __ILP32__ is
19407 defined.
19408
4e124ced
JM
194092012-05-16 Joseph Myers <joseph@codesourcery.com>
19410
6a3951a0
JM
19411 * configure.in (makeinfo): Require version 4.5 or later. Allow
19412 versions 5 to 9.
19413 * configure: Regenerated.
19414 * manual/install.texi (texinfo): Increase version requirement to
19415 4.5 or later.
19416 * INSTALL: Regenerated.
19417
4e124ced
JM
19418 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19419
953ca31a
L
194202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19421
19422 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19423
617aca05
L
19424 * sysdeps/x86_64/x32/ffs.c: New file.
19425
5762f7ae
L
19426 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19427 __syscall_ulong_t.
19428 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19429 defined. Use __syscall_ulong_t.
19430 (shminfo): Use __syscall_ulong_t.
19431 (shm_info): Likewise.
19432
a26b6856
L
19433 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19434 __syscall_ulong_t.
19435
cb2b9ef7
L
19436 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19437 <bits/wordsize.h>.
19438 (msgqnum_t): Use __syscall_ulong_t.
19439 (msglen_t): Likewise.
19440 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19441 __syscall_ulong_t.
19442
34683bb0
L
19443 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19444 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19445
84a68786
L
19446 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19447
48baa5f1
L
19448 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19449 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19450
180be88b
L
19451 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19452 __syscall_slong_t.
19453
5e90c8ad
L
19454 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19455 include <bits/wordsize.h>. Check __x86_64__ instead of
19456 __WORDSIZE.
19457
23dfb58b
L
19458 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19459 "unsigned long long int" if __x86_64__ is defined.
19460 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19461
ce5d54b0
L
19462 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19463 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19464 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19465
13dc9eac
L
19466 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19467 <stdint.h>.
19468 (GET_PC): Cast to uintptr_t first.
19469 (GET_FRAME): Likewise.
19470 (GET_STACK): Likewise.
19471
a7895d15
L
19472 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19473 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19474 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19475 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19476 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19477 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19478 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19479 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19480 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19481 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19482 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19483 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19484 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19485 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19486 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19487 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19488 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19489 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19490 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19491 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19492 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19493 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19494 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19495 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19496 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19497 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19498 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19499 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19500 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19501
656416c9
AS
195022012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19503
5bd66283
AS
19504 * Makerules (+depfiles): Also collect depfiles from .oS in
19505 $(extra-objs).
19506 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19507 .oS, $(libnldbl-routines)).
19508
656416c9
AS
19509 * Makerules (native-compile-mkdep-flags): Define.
19510 * sunrpc/Makefile (extra-objs): Add $(addprefix
19511 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19512 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19513 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19514 calling $(make-target-directory).
19515
a46f2169
L
195162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19517
19518 * bits/types.h (__snseconds_t): Removed.
19519 * time/time.h (struct timespec): Replace __snseconds_t with
19520 __syscall_slong_t.
19521 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19522 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19523 Likewise.
19524 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19525 (__SNSECONDS_T_TYPE): Likewise.
19526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19527 (__SNSECONDS_T_TYPE): Likewise.
19528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19529 (__SNSECONDS_T_TYPE): Likewise.
19530
6af6528b
L
195312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19532
19533 * sysdeps/mach/hurd/bits/typesizes.h
19534 (__SYSCALL_SLONG_TYPE): New macro.
19535 (__SYSCALL_ULONG_TYPE): Likewise.
19536
de986b56
L
195372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19538
19539 * bits/types.h (__syscall_slong_t): New type.
19540 (__syscall_ulong_t): Likewise.
19541
19542 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19543 (__SYSCALL_ULONG_TYPE): Likewise.
19544 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19545 (__SYSCALL_SLONG_TYPE): Likewise.
19546 (__SYSCALL_ULONG_TYPE): Likewise.
19547 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19548 (__SYSCALL_SLONG_TYPE): Likewise.
19549 (__SYSCALL_ULONG_TYPE): Likewise.
19550 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19551 (__SYSCALL_SLONG_TYPE): Likewise.
19552 (__SYSCALL_ULONG_TYPE): Likewise.
19553
85736dc7
L
195542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19555
19556 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19557 Add sigaltstack-offsets.sym.
19558 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19559 <sigaltstack-offsets.h>.
19560 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19561 longjmp_msg pointer.
19562 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19563 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19564 signal stack.
19565 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19566
cc03b296
JM
195672012-05-15 Joseph Myers <joseph@codesourcery.com>
19568
a9538892
JM
19569 * elf/stackguard-macros.h: Remove file.
19570 * sysdeps/generic/stackguard-macros.h: New file.
19571 * sysdeps/i386/stackguard-macros.h: Likewise.
19572 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19573 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19574 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19575 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19576 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19577 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19578 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19579 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19580 <elf/stackguard-macros.h>.
19581
cc03b296
JM
19582 [BZ #14109]
19583 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19584 __aligned__ in attribute.
19585 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19586 (gregset_t): Likewise.
19587
93171016
L
195882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19589
19590 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19591 * sysdeps/x86_64/64/Implies-after: Here. New file.
19592 * sysdeps/x86_64/x32/Implies-after: New file.
19593
d86813a0
L
195942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19595
19596 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19597 and access return value for _dl_profile_fixup. Use R10_LP to
19598 load frame size.
19599
2953ec75
L
196002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19601
19602 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19603
3b550e9e
L
196042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19605
19606 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19607 * sysdeps/x86_64/x32/sysdep.h: New file.
19608
eda41706
L
196092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19610
19611 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19612 * sysdeps/x86_64/setjmp.S: Likewise.
19613
9ea01d93
AZ
196142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19615
19616 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19617 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19618 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19619 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19620 remove unused global constant.
19621
02a91938
CM
196222012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19623
19624 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19625 include of <not-cancel.h>.
19626
6540185f
RM
196272012-05-15 Roland McGrath <roland@hack.frob.com>
19628
19629 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19630
509072a0
AJ
196312012-05-15 Jeff Law <law@redhat.com>
19632 Andreas Jaeger <aj@suse.de>
19633
19634 [BZ #13594]
19635 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19636 out from...
19637 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19638 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19639 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19640 code changing __hst_map_handle.map.
19641
ba75122d
RM
196422012-05-15 Roland McGrath <roland@hack.frob.com>
19643
19644 * configure.in (sysnames): Look for Implies-before and Implies-after
19645 files.
19646 * configure: Regenerated.
19647
890d8bd8
L
196482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19649
19650 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19651 8-byte data alignment with LP_SIZE alignment.
19652
f6ee6623
L
196532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19654
19655 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19656 into R10_LP.
19657
ea2626f6
L
196582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19659
19660 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19661
085f715e
L
196622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19663
19664 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19665 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19666 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19667 Likewise.
19668 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19669
be8498fc
L
196702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19671
19672 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19673 (stackinfo_sub_sp): Likewise.
19674
70bc83b9
L
196752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19676
19677 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19678 RAX_LP.
19679
9bc0b730
L
196802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19681
19682 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19683 into R*_LP.
19684
6d2850e7
L
196852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19686
19687 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19688 sizes into R*_LP.
19689
3cb84561
L
196902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19691
19692 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19693
54e2ed81
L
196942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19695
19696 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19697 into R11_LP and load __x86_64_shared_cache_size_half into
19698 R8_LP.
19699
8a17f349
L
197002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19701
19702 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19703 R8_LP.
19704
777b1eea
AZ
197052012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19706
19707 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19708 logb for POWER7.
19709 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19710 logbf for POWER7.
19711 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19712 logbl for POWER7.
19713 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19714 powerpc32/power7/fpu/s_logb.c via #include.
19715 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19716 powerpc32/power7/fpu/s_logbf.c via #include.
19717 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19718 powerpc32/power7/fpu/s_logbl.c via #include.
19719
d20d4ac2
JM
197202012-05-15 Joseph Myers <joseph@codesourcery.com>
19721
19722 * README.libm: Remove file.
19723
6cdef1ab
L
197242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19725
19726 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19727 count for x32. Use R*_LP and omit operand-size suffix.
19728
0b254d8f
L
197292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19730
19731 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19732 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19733 * sysdeps/x86_64/x32/shlib-versions: New file.
19734
ceb809dc
RM
197352012-05-14 Roland McGrath <roland@hack.frob.com>
19736
19737 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19738 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19739 Use _dl_fatal_printf instead.
19740
37f1abd4
JM
197412012-05-14 Joseph Myers <joseph@codesourcery.com>
19742
19743 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19744 set if not set by the user. Do not allow for being unset.
19745 * sysdeps/unix/sysv/linux/configure: Regenerated.
19746
11de3a33
L
197472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19748
19749 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19750 the `q' suffix from lea and replace .quad with ASM_ADDR.
19751
e02f153a
L
197522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19753
19754 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19755 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19756 instead of $17.
19757 (PTR_DEMANGLE): Likewise.
19758
520ae0fd
L
197592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19760
19761 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19762 (LP_OP): Likewise.
19763 (ASM_ADDR): Likewise.
19764 (RAX_LP): Likewise.
19765 (RBP_LP): Likewise.
19766 (RBX_LP): Likewise.
19767 (RCX_LP): Likewise.
19768 (RDI_LP): Likewise.
19769 (RSI_LP): Likewise.
19770 (RSP_LP): Likewise.
19771 (R8_LP): Likewise.
19772 (R9_LP): Likewise.
19773 (R10_LP): Likewise.
19774 (R10_LP): Likewise.
19775 (R11_LP): Likewise.
19776 (R12_LP): Likewise.
19777 (R13_LP): Likewise.
19778 (R14_LP): Likewise.
19779 (R15_LP): Likewise.
19780
b985be81
L
197812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19782
19783 * sysdeps/x86_64/x32/dl-machine.h: New file.
19784
6a4888ff
AJ
197852012-05-14 Andreas Jaeger <aj@suse.de>
19786
19787 * manual/Makefile (subdir): Remove export of subdir.
19788 (all): Remove target.
19789 (.PHONY): Remove all from list.
19790 (mkinstalldirs): Remove.
19791 (.PHONY): Remove installdirs from list.
19792 ($(inst_infodir)/libc.info): Use make-target-directory.
19793 (installdirs): Remove.
19794 (subdir_%): Remove.
19795 (glibc-targets): Remove.
19796 (lib): Remove.
19797 (stubs): Remove.
19798 ($(objpfx)stubs ../po/manual.pot): Remove.
19799 ($(objpfx)stamp%): Remove.
19800 (make-target-directory): Remove.
19801 (subdir_install): Remove.
19802 (routines): Remove.
19803 (aux): Remove.
19804 (sources): Remove.
19805 (objects): Remove.
19806 (headers): Remove.
19807
19808 [BZ #13750]
19809 * manual/.gitignore: Remove, it's not needed anymore.
19810 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19811 all files in it.
19812 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19813 directory.
19814 (texis): Renamed to $(objpfx)texis.
19815 (texis-path): New, contains path to generated files.
19816 (chapters.%): Use texis-path for complete path, add extra argument
19817 libc-texinfo.sh.
19818 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19819 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19820 (summary,texi, stamp-summary): Use complete path of
19821 files. Generate files in build dir.
19822 (dir-add.texi): Build in build dir.
19823 (libm-err.texi,stamp-libm-err): Likewise.
19824 (version.texi, stamp-version): Likewise.
19825 (.%c.texi): Likewise.
19826 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19827 (mostlyclean): Remove target.
19828 (realclean): Remove target.
19829 (generated): Add new variable with contents from mostlyclean and
19830 realclean, remove entries duplicated in common-mostlyclean, add
19831 stamp-libm-err and stamp-version.
19832 (generated-dirs): Add libc directory.
19833 ($(inst_infodir)/libc.info): Install files from build dir.
19834
19835 * manual/install.texi (Configuring and compiling): Adjust since
19836 the info files are not part of the tar ball anymore.
19837
7ac77294
AJ
198382012-05-14 Andreas Jaeger <aj@suse.de>
19839
19840 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19841 variable.
19842
ffb7875d
JM
198432012-05-14 Joseph Myers <joseph@codesourcery.com>
19844
19845 [BZ #13717]
19846 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19847 to 2.2.0 where earlier.
19848 * sysdeps/unix/sysv/linux/configure: Regenerated.
19849 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19850 Remove conditional code.
19851 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19852 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19853 Remove conditional code.
19854 [!__NR_lchown]: Likewise.
19855 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19856 [__NR_lchown]: Likewise.
19857 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19858 comment referencing __ASSUME_LCHOWN_SYSCALL.
19859 * sysdeps/unix/sysv/linux/i386/sigaction.c
19860 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19861 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19862 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19863 Remove conditional code.
19864 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19865 (__protocol_available): Remove #if 0 code.
19866 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19867 conditional code.
19868 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19869 * sysdeps/unix/sysv/linux/kernel-features.h
19870 (__ASSUME_GETCWD_SYSCALL): Don't define.
19871 (__ASSUME_REALTIME_SIGNALS): Likewise.
19872 (__ASSUME_PREAD_SYSCALL): Likewise.
19873 (__ASSUME_PWRITE_SYSCALL): Likewise.
19874 (__ASSUME_POLL_SYSCALL): Likewise.
19875 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19876 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19877 non-SPARC.
19878 (__ASSUME_SIOCGIFNAME): Don't define.
19879 (__ASSUME_MSG_NOSIGNAL): Likewise.
19880 (__ASSUME_SENDFILE): Define unconditionally.
19881 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19882 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19883 conditional code.
19884 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19885 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19886 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19887 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19888 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19889 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19890 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19892 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19893 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19895 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19896 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19898 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19899 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19901 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19902 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19904 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19905 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19907 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19908 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19910 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19911 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19913 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19914 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19915 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19916 Remove conditional code.
19917 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19918 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19919 Remove conditional code.
19920 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19921 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19922 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19923 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19924 Remove conditional code.
19925 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19926 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19927 Remove conditional code.
19928 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19929 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19930 Remove conditional code.
19931 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19932 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19933 Remove conditional code.
19934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19935 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19936 Remove conditional code.
19937 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19938 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19939 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19940 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19941 * sysdeps/unix/sysv/linux/sigaction.c
19942 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19943 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19944 * sysdeps/unix/sysv/linux/sigpending.c
19945 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19946 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19947 * sysdeps/unix/sysv/linux/sigprocmask.c
19948 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19949 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19950 * sysdeps/unix/sysv/linux/sigsuspend.c
19951 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19952 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19953 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19954 (__libc_missing_rt_sigs): Remove.
19955 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19956 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19957 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19958 Remove conditional code.
19959 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19960 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19961 return 1.
19962 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19963 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19964 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19965 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19966
1bfb7291
AJ
199672012-05-14 Andreas Jaeger <aj@suse.de>
19968
caae5a81
AJ
19969 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19970 it's not used in glibc.
19971 (__coshm1): Likewise.
19972 (__acosh1p): Likewise.
19973 (__sgn): Likewise.
19974
1bfb7291
AJ
19975 * manual/string.texi (Copying and Concatenation): Add missing
19976 variable in concat example.
19977 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19978
c044d724
L
199792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19980
144c5467 19981 [BZ #14103]
c044d724
L
19982 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19983 __builtin_clzl with __builtin_clzll.
19984
2523c62b
L
199852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19986
19987 [BZ #14104]
19988 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19989 libc_freeres_ptr.
19990
d7bb4c42
LD
199912012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19992
19993 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19994 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19995 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19996 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19997
9dc4e1fb
MF
199982012-05-14 Mike Frysinger <vapier@gentoo.org>
19999
20000 * NEWS: Update ia64 info.
20001
c7df0112
AS
200022012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20003
20004 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20005 used as bcopy.
20006
dc70356c
TS
200072012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20008
20009 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20010 * sysdeps/unix/syscalls.list (dup3): Likewise.
20011 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20012 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20013
9fb1a21f
L
200142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20015
20016 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20017 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20018
4822a2a5
L
200192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20020
20021 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20022 thread pointer.
20023 (TLS_IE): Use mov/add instead of movq/addq to load thread
20024 pointer.
20025 (TLS_GD_PREFIX): New.
20026 (TLS_GD): Use it.
20027
842b81d6
DM
200282012-05-11 David S. Miller <davem@davemloft.net>
20029
20030 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20031 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20032 (_FPU_SETCW): Likewise.
20033
1cf463cd
L
200342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20035
20036 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20037 is 32-byte aligned.
20038
60cc4a18
AS
200392012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20040
20041 [BZ #11837]
20042 * iconvdata/gb18030.c: Update tables.
20043 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20044 characters specially.
20045 (BODY for TO_LOOP): Add encoding of missing ranges.
20046
febb44a4
TS
200472012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20048
20049 [BZ #13673]
20050 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20051 * sysdeps/mach/hurd/dup3.c: Likewise.
20052 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20053 * sysdeps/powerpc/memmove.c:: Likewise.
20054
0a10fb9e
L
200552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20056
20057 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20058 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20059
df8a552f
L
200602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20061
20062 * elf/elf.h (R_X86_64_RELATIVE64): New.
20063 (R_X86_64_NUM): Updated.
20064 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20065 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20066 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20067 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20068 tst-quad1pie tst-quad2pie
20069 (modules-names): Add tst-quadmod1 tst-quadmod2.
20070 ($(objpfx)tst-quad1): New dependency.
20071 ($(objpfx)tst-quad2): Likewise.
20072 ($(objpfx)tst-quad1pie): Likewise.
20073 ($(objpfx)tst-quad2pie): Likewise.
20074 * sysdeps/x86_64/tst-quad1.c: New file.
20075 * sysdeps/x86_64/tst-quad1pie.c: New file.
20076 * sysdeps/x86_64/tst-quad2.c: Likewise.
20077 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20078 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20079 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20080 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20081 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20082
f34d6f84
ST
200832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20084
f42d41d1
ST
20085 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20086 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20087 * streams/stropts.h (t_scalar_t): Define type.
20088
3c3571fc
ST
20089 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20090 (_PATH_PRESERVE): Set to "/var/lib".
20091 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20092
61f06bd3
ST
20093 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20094 instead of int.
20095
918d4d71
ST
20096 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20097 if __dir_mkfile succeeded.
20098
f34d6f84
ST
20099 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20100 checking for _hurd_dtablesize. Unlock it right after having
20101 finished _hurd_dtable allocation.
20102
10589b4a
TS
201032012-05-10 Thomas Schwinge <thomas@schwinge.name>
20104
674cdbc7
TS
20105 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20106 * sysdeps/mach/hurd/configure: Regenerated.
20107 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20108 special-casing to...
20109 * sysdeps/gnu/configure.in: ... this new file.
20110 * sysdeps/unix/sysv/linux/configure: Regenerated.
20111 * sysdeps/gnu/configure: New generated file.
20112
8e41b99f
TS
20113 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20114 for Linux: use nsec instead of usec, as well as:
20115 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20116 members of type struct timespec.
20117 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20118 New macros.
20119 (struct stat64): Likewise.
20120 (_STATBUF_ST_NSEC): New macro.
20121 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20122
10589b4a
TS
20123 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20124 __strtoul_internal rather than strtoul.
20125
63643c85
PT
201262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20127
20128 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20129 and reject them.
20130
3faebe6a
ST
201312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20132
20133 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20134 which preserves existing values.
20135 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20136
c6474b07
PT
201372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20138
20139 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20140 TIMEOUT values. Return EINVAL for NFDS values either negative or
20141 greater than FD_SETSIZE.
20142
1043890b
ST
201432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20144
20145 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20146 allocated, call __vm_protect to finish enabling the existing space, and
20147 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20148 allocate the remainder.
20149
37ed8b9b
PT
201502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20151
20152 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20153 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20154
db653660
ST
201552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20156
37ed8b9b
PT
20157 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20158 sysdeps/mach/hurd/readlink.c.
b29d4053 20159
db653660
ST
20160 * posix/tst-sysconf.c (posix_options): Only use
20161 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20162 _POSIX_SYNCHRONIZED_IO when they are defined
20163 * sysdeps/mach/hurd/bits/posix_opt.h:
20164 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20165 (_XOPEN_REALTIME): Undefine macro.
20166 (_XOPEN_REALTIME_THREADS): Undefine macro.
20167 (_XOPEN_SHM): Undefine macro.
20168 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20169 macro to -1.
20170 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20171 macro to -1.
20172 (_POSIX_ASYNC_IO): Undefine macro.
20173 (_POSIX_PRIORITIZED_IO): Undefine macro.
20174 (_POSIX_SPIN_LOCKS): Define macro to -1.
20175
ee16e894
ST
20176 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20177 SA_NODEFER, SA_RESETHAND.
20178 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20179 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20180 F_DUPFD_CLOEXEC.
20181
6103ae3b
TS
201822012-05-10 Thomas Schwinge <thomas@schwinge.name>
20183
20184 * elf/Makefile (pldd-modules): Define unconditionally.
20185
80b4e5f3
TS
201862012-05-10 Thomas Schwinge <thomas@schwinge.name>
20187
20188 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20189
edadcbd6
ST
201902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20191
20192 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20193 Return ENOENT when name is empty.
20194 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20195
80694780
TS
201962012-05-10 Thomas Schwinge <thomas@schwinge.name>
20197
1792c087
TS
20198 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20199
80694780
TS
20200 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20201
6b645f0d
ST
202022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20203
80694780
TS
20204 Fix mlock in all cases except non-readable pages.
20205 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20206 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 20207
6b645f0d
ST
20208 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20209 (__mkdir): When path is `/', just fail with EEXIST.
20210 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20211
e468f8a3
TS
202122012-05-10 Thomas Schwinge <thomas@schwinge.name>
20213
20214 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20215 <sys/uio.h> (for writev).
20216 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20217 and <sys/param.h> (for MIN).
20218
a4186cff
PT
202192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20220
20221 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20222 REQUESTED_TIME. Properly set the remaining time and return EINTR
20223 if interrupted.
20224
510bbf14
TS
202252012-05-10 Thomas Schwinge <thomas@schwinge.name>
20226
20227 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20228 Depend on against $(link-rpcuserlibs).
20229
5d5722e8
ST
202302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20231
a4186cff
PT
20232 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20233 (__libc_stack_end): Do not use attribute_relro.
20234 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20235 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 20236 to libthread-provided value.
a4186cff
PT
20237 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20238 attribute_relro.
5d5722e8 20239
37233df9
TS
202402012-05-10 Thomas Schwinge <thomas@schwinge.name>
20241
be971a2b
TS
20242 [BZ #3748]
20243 * bits/libc-lock.h (__libc_once_get): New macro.
20244 * sysdeps/mach/bits/libc-lock.h: Likewise.
20245 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20246 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20247 instead of using implementation details.
20248
37233df9
TS
20249 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20250 * libio/freopen.c: Likewise.
20251 * libio/freopen64.c: Likewise.
20252 * misc/syslog.c: Likewise.
20253 * nscd/connections.c: Likewise.
20254 * nscd/netgroupcache.c: Likewise.
20255 * sysdeps/posix/getcwd.c: Likewise.
20256
38de94a5
RM
202572012-05-10 Roland McGrath <roland@hack.frob.com>
20258
20259 * math/w_ilogbf.c: Add #include <limits.h>.
20260
67530489
ST
202612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20262
a4186cff 20263 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
20264 path instead of returning without unlocking.
20265
67530489
ST
20266 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20267 immediate-write ioctls.
20268 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20269
5aa3a74a
TS
202702012-05-10 Thomas Schwinge <thomas@schwinge.name>
20271
18bad2ae
TS
20272 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20273 __builtin_frame_address instead of making assumptions about the
20274 location of the return address relative to DATA. Force early load of
20275 the return address.
20276 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20277 __builtin_frame_address.
20278
5aa3a74a
TS
20279 dup3 for GNU Hurd.
20280 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20281 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20282 implement dup3 and do some further code clean-ups.
20283 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20284 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20285
ecd0de9a
ST
202862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20287
cd9fa985
ST
20288 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20289
a4186cff
PT
20290 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20291 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20292 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20293 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20294 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20295 d->port.lock.
802ca5a5 20296
a4186cff
PT
20297 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20298 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20299 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 20300
bcf55240
TS
203012012-05-10 Thomas Schwinge <thomas@schwinge.name>
20302
6960eb42
TS
20303 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20304 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20305 definitions.
20306
eb43375f
TS
20307 accept4 for GNU Hurd.
20308 * include/sys/socket.h (__libc_accept4): New prototype.
20309 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20310 to implement __libc_accept4.
20311 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20312 __libc_accept4.
20313 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20314
bcf55240
TS
20315 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20316 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20317 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20318 signal-defines.sym.
20319
6178c55b
ST
203202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20321
a4186cff 20322 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 20323
6f080c2f
TS
203242012-05-10 Thomas Schwinge <thomas@schwinge.name>
20325
20326 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20327 assertion on O_CLOEXEC flag.
20328 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20329 * hurd/intern-fd.c: Likewise.
20330 * hurd/port2fd.c: Likewise.
20331
bcfe3a54
ST
203322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20333
20334 [BZ #3906]
20335 * bits/in.h (IPV6_PKTINFO): Define new macro.
20336 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20337
89c9aa49
AZ
203382012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20339
20340 [BZ #13954]
20341 [BZ #13955]
20342 [BZ #13956]
20343 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20344 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20345 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20346 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20348 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20349 * math/libm-test.inc (logb_test) : Additional logb tests.
20350
021db4be
AJ
203512012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20352 Andreas Jaeger <aj@suse.de>
20353
20354 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20355 * configure: Regenerated.
20356 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20357 * config.make.in (link-obsolete-rpc): New substituted variable.
20358 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20359 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20360 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20361 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20362 so that libc.a contains the symbols.
20363 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20364 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20365 * sunrpc/auth_none.c: Likewise.
20366 * sunrpc/auth_unix.c: Likewise.
20367 * sunrpc/authdes_prot.c: Likewise.
20368 * sunrpc/authuxprot.c: Likewise.
20369 * sunrpc/clnt_gen.c: Likewise.
20370 * sunrpc/clnt_perr.c: Likewise.
20371 * sunrpc/clnt_raw.c: Likewise.
20372 * sunrpc/clnt_simp.c: Likewise.
20373 * sunrpc/clnt_tcp.c: Likewise.
20374 * sunrpc/clnt_udp.c: Likewise.
20375 * sunrpc/clnt_unix.c: Likewise.
20376 * sunrpc/des_crypt.c: Likewise.
20377 * sunrpc/des_soft.c: Likewise.
20378 * sunrpc/get_myaddr.c: Likewise.
20379 * sunrpc/key_call.c: Likewise.
20380 * sunrpc/key_prot.c: Likewise.
20381 * sunrpc/netname.c: Likewise.
20382 * sunrpc/pm_getmaps.c: Likewise.
20383 * sunrpc/pm_getport.c: Likewise.
20384 * sunrpc/pmap_clnt.c: Likewise.
20385 * sunrpc/pmap_prot.c: Likewise.
20386 * sunrpc/pmap_prot2.c: Likewise.
20387 * sunrpc/pmap_rmt.c: Likewise.
20388 * sunrpc/publickey.c: Likewise.
20389 * sunrpc/rpc_cmsg.c: Likewise.
20390 * sunrpc/rpc_common.c: Likewise.
20391 * sunrpc/rpc_dtable.c: Likewise.
20392 * sunrpc/rpc_prot.c: Likewise.
20393 * sunrpc/rpc_thread.c: Likewise.
20394 * sunrpc/rtime.c: Likewise.
20395 * sunrpc/svc.c: Likewise.
20396 * sunrpc/svc_auth.c: Likewise.
20397 * sunrpc/svc_raw.c: Likewise.
20398 * sunrpc/svc_run.c: Likewise.
20399 * sunrpc/svc_tcp.c: Likewise.
20400 * sunrpc/svc_udp.c: Likewise.
20401 * sunrpc/svc_unix.c: Likewise.
20402 * sunrpc/svcauth_des.c: Likewise.
20403 * sunrpc/xcrypt.c: Likewise.
20404 * sunrpc/xdr.c: Likewise.
20405 * sunrpc/xdr_array.c: Likewise.
20406 * sunrpc/xdr_float.c: Likewise.
20407 * sunrpc/xdr_intXX_t.c: Likewise.
20408 * sunrpc/xdr_mem.c: Likewise.
20409 * sunrpc/xdr_rec.c: Likewise.
20410 * sunrpc/xdr_ref.c: Likewise.
20411 * sunrpc/xdr_sizeof.c: Likewise.
20412 * sunrpc/xdr_stdio.c: Likewise.
20413
b5c086a2
RM
204142012-05-10 Roland McGrath <roland@hack.frob.com>
20415
20416 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20417 change. Update copyright years.
20418
6d74dd09
JM
204192012-05-10 Joseph Myers <joseph@codesourcery.com>
20420
20421 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20422
28e72501
MK
204232012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20424 Joseph Myers <joseph@codesourcery.com>
20425 Paul Pluzhnikov <ppluzhnikov@google.com>
20426
20427 [BZ #14012]
20428 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20429 requiring rpcgen.
20430 [cross-compiling] (extra-libs): Likewise.
20431 [cross-compiling] (extra-libs-others): Likewise.
20432 [cross-compiling] (librpcsvc-routines): Likewise.
20433 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20434 [cross-compiling] (omit-deps): Likewise.
20435 (sunrpc-CPPFLAGS): New variable.
20436 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20437 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20438 (cross-rpcgen-objs): New variable.
20439 (extra-objs): Append $(cross-rpcgen-objs).
20440 ($(cross-rpcgen-objs)): New rule.
20441 ($(objpfx)cross-rpcgen): Likewise.
20442 (rpcgen-cmd): Define to use $(built-program-file). Expand
20443 comment.
20444 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20445 ($(objpfx)x%.stmp): Likewise.
20446 * sunrpc/proto.h [IS_IN_build] (_): Define.
20447 [IS_IN_build] (_libc_intl_domainname): Likewise.
20448
c8c59454
L
204492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20450
20451 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20452 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20453 and R_X86_64_TPOFF64.
20454
6f27cd16
JM
204552012-05-10 Joseph Myers <joseph@codesourcery.com>
20456
20457 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20458 sysdeps/unix/sysv/syscalls.list.
20459 (stime): Likewise.
20460 (utime): Likewise.
20461 * sysdeps/unix/sysv/syscalls.list: Remove file.
20462
02467e1c
PE
204632012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20464
20465 [BZ #3440]
20466 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20467 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20468 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20469 (__LC_IDENTIFICATION): Make these macros useful in #if
20470 expressions, as required by C99.
20471
da392631
AS
204722012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20473
20474 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20475 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20476 after this.
20477
8115f29b
L
204782012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20479
20480 * stdlib/longlong.h: Updated from GCC.
20481
bdd74070
AJ
204822012-05-09 Andreas Jaeger <aj@suse.de>
20483
edfe0dbe
AJ
20484 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20485 default is first entry.
20486 (run_mode): Set type.
20487 (main): Remove informal message about syslog.
20488 (options): Fix typo.
20489
bcfe3a54
ST
20490 [BZ #14053]
20491 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20492 to asm.
bcfe3a54
ST
20493 (lrint): Likewise.
20494 (llrintf): Likewise.
20495 (llrint): Likewise.
20496 (rint): Likewise.
20497 (rintf): Likewise.
20498 (nearbyint): Likewise.
20499 (nearbyintf): Likewise.
bdd74070 20500
91d8d69e
AJ
205012012-05-09 Andreas Jaeger <aj@suse.de>
20502 Pedro Alves <palves@redhat.com>
20503
20504 * nscd/nscd.c (run_mode): Use enum.
20505 (main): Cleanup coding style issue.
20506
bb90b80b
AJ
205072012-05-09 Alexandre Oliva <aoliva@redhat.com>
20508 Andreas Jaeger <aj@suse.de>
20509
bcfe3a54
ST
20510 * nscd/nscd.c (go_background): Replaced with...
20511 (run_mode): ... this.
bb90b80b 20512 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20513 (options): Add -F --foreground.
20514 (main): Implement it.
20515 (parse_opt): Parse it.
bb90b80b 20516
1a4b75a1
AJ
205172012-05-09 Andreas Jaeger <aj@suse.de>
20518
20519 [BZ #14083]
20520 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20521 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20522 -Wconversion warning.
20523 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20524 Likewise.
20525
b1cc2472
JM
205262012-05-09 Joseph Myers <joseph@codesourcery.com>
20527
20528 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20529 == 0.
20530 (LC_ALL): Use macro-int-constant.
20531 (LC_COLLATE): Likewise.
20532 (LC_CTYPE): Likewise.
20533 (LC_MESSAGES): Likewise.
20534 (LC_MONETARY): Likewise.
20535 (LC_NUMERIC): Likewise.
20536 (LC_TIME): Likewise.
20537 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20538 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20540 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20541 Specify type.
20542 [C99-based standards] (float_t): Expect type.
20543 [C99-based standards] (double_t): Expect type.
20544 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20545 type.
20546 [C99-based standards] (HUGE_VALL): Likewise.
20547 [C99-based standards] (INFINITY): Likewise.
20548 [C99-based standards] (NAN): Likewise.
20549 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20550 [C99-based standards] (FP_NAN): Likewise.
20551 [C99-based standards] (FP_NORMAL): Likewise.
20552 [C99-based standards] (FP_SUBNORMAL): Likewise.
20553 [C99-based standards] (FP_ZERO): Likewise.
20554 [C99-based standards] (FP_FAST_FMA): Use
20555 optional-macro-int-constant. Specify type. Require == 1.
20556 [C99-based standards] (FP_FAST_FMAF): Likewise.
20557 [C99-based standards] (FP_FAST_FMAL): Likewise.
20558 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20559 [C99-based standards] (FP_ILOGBNAN): Likewise.
20560 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20561 Specify type.
20562 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20563 [C99-based standards] (math_errhandling): Specify type.
20564 [ISO99 || ISO11] (signgam): Do not allow.
20565 [non-C99-based standards] (copysignf): Do not allow.
20566 [non-C99-based standards] (exp2f): Likewise.
20567 [non-C99-based standards] (log2f): Likewise.
20568 [non-C99-based standards] (modff): Allow.
20569 [non-C99-based standards] (erff): Do not allow.
20570 [non-C99-based standards] (erfcf): Likewise.
20571 [non-C99-based standards] (gammaf): Likewise.
20572 [non-C99-based standards] (hypotf): Likewise.
20573 [non-C99-based standards] (j0f): Likewise.
20574 [non-C99-based standards] (j1f): Likewise.
20575 [non-C99-based standards] (jnf): Likewise.
20576 [non-C99-based standards] (lgammaf): Likewise.
20577 [non-C99-based standards] (tgammaf): Likewise.
20578 [non-C99-based standards] (y0f): Likewise.
20579 [non-C99-based standards] (y1f): Likewise.
20580 [non-C99-based standards] (ynf): Likewise.
20581 [non-C99-based standards] (isnanf): Likewise.
20582 [non-C99-based standards] (acoshf): Likewise.
20583 [non-C99-based standards] (asinhf): Likewise.
20584 [non-C99-based standards] (atanhf): Likewise.
20585 [non-C99-based standards] (cbrtf): Likewise.
20586 [non-C99-based standards] (expm1f): Likewise.
20587 [non-C99-based standards] (ilogbf): Likewise.
20588 [non-C99-based standards] (log1pf): Likewise.
20589 [non-C99-based standards] (logbf): Likewise.
20590 [non-C99-based standards] (nextafterf): Likewise.
20591 [non-C99-based standards] (remainderf): Likewise.
20592 [non-C99-based standards] (rintf): Likewise.
20593 [non-C99-based standards] (scalbf): Likewise.
20594 [non-C99-based standards] (copysignl): Likewise.
20595 [non-C99-based standards] (exp2l): Likewise.
20596 [non-C99-based standards] (log2l): Likewise.
20597 [non-C99-based standards] (modfl): Allow.
20598 [non-C99-based standards] (erfl): Do not allow.
20599 [non-C99-based standards] (erfcl): Likewise.
20600 [non-C99-based standards] (gammal): Likewise.
20601 [non-C99-based standards] (hypotl): Likewise.
20602 [non-C99-based standards] (j0l): Likewise.
20603 [non-C99-based standards] (j1l): Likewise.
20604 [non-C99-based standards] (jnl): Likewise.
20605 [non-C99-based standards] (lgammal): Likewise.
20606 [non-C99-based standards] (tgammal): Likewise.
20607 [non-C99-based standards] (y0l): Likewise.
20608 [non-C99-based standards] (y1l): Likewise.
20609 [non-C99-based standards] (ynl): Likewise.
20610 [non-C99-based standards] (isnanl): Likewise.
20611 [non-C99-based standards] (acoshl): Likewise.
20612 [non-C99-based standards] (asinhl): Likewise.
20613 [non-C99-based standards] (atanhl): Likewise.
20614 [non-C99-based standards] (cbrtl): Likewise.
20615 [non-C99-based standards] (expm1l): Likewise.
20616 [non-C99-based standards] (ilogbl): Likewise.
20617 [non-C99-based standards] (log1pl): Likewise.
20618 [non-C99-based standards] (logbl): Likewise.
20619 [non-C99-based standards] (nextafterl): Likewise.
20620 [non-C99-based standards] (remainderl): Likewise.
20621 [non-C99-based standards] (rintl): Likewise.
20622 [non-C99-based standards] (scalbl): Likewise.
20623 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20624 [non-C99-based standards] (FP_*): Do not allow.
20625 [C99-based standards] (FP_*): Change to
20626 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20627 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20628 allow.
20629 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20630 (SIG_ERR): Likewise.
20631 [X/Open-based standards] (SIG_HOLD): Likewise.
20632 (SIG_IGN): Likewise.
20633 (SIGABRT): Use macro-int-constant. Specify type. Require
20634 positive value.
20635 (SIGFPE): Likewise.
20636 (SIGILL): Likewise.
20637 (SIGINT): Likewise.
20638 (SIGSEGV): Likewise.
20639 (SIGTER): Likewise.
20640 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20641 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20642 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20643 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20644 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20645 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20646 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20647 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20648 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20649 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20650 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20651 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20652 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20653 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20654 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20655 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20656 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20657 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20658 [X/Open-based standards] (SIGTRAP): Likewise.
20659 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20660 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20661 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20662 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20663 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20664 allow.
20665
b9f1922d
IW
206662012-05-08 Ian Wienand <ianw@vmware.com>
20667
20668 [BZ #14080]
20669 * time/tzset.c (__tzset_parse_tz): Update default rules for
20670 daylight time changes in the Energy Policy Act of 2005.
20671
1db86e88
AJ
206722012-05-09 Andreas Jaeger <aj@suse.de>
20673
20674 [BZ #13983]
20675 * elf/ldconfig.c (parse_conf): Change string to make clear that
20676 ldconfig only issued a warning if ld.so.conf does not exist.
20677
dee4a4e3
DM
206782012-05-08 David S. Miller <davem@davemloft.net>
20679
ee0db190
DM
20680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20681 movxtod instead of popping the value on the stack.
20682
dee4a4e3
DM
20683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20684
6a43ec98
CD
206852012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20686
20687 * config.h.in: Add HAVE_ARM_PCS_VFP.
20688
05c2c961
RMG
206892012-05-08 Roland Mc Grath <roland@hack.frob.com>
20690
bcfe3a54
ST
20691 [BZ #13979]
20692 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20693 checking but the checks are disabled for any reason.
05c2c961 20694
4b30f61a
L
206952012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20696
20697 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20698 and ELF64_R_TYPE with ELFW(R_TYPE).
20699
eee2bc67
JM
207002012-05-08 Joseph Myers <joseph@codesourcery.com>
20701
7ea5391a
JM
20702 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20703 (ulimit): Likewise.
20704
eee2bc67
JM
20705 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20706 (settimeofday): Likewise.
20707
abb66a67
MF
207082012-05-08 Mike Frysinger <vapier@gentoo.org>
20709
20710 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20711 a struct th_u2 inside the union, and move tu_block/tu_code into
20712 a new th_u3 union of tu_block/tu_code inside of that. Move
20713 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20714 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20715 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20716 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20717 (th_stuff): Change to th_u1.tu_stuff.
20718 (th_data): Define.
20719 (th_msg): Change to th_u1.th_u2.tu_data.
20720
7f18b530
DM
207212012-05-07 David S. Miller <davem@davemloft.net>
20722
05760585
DM
20723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20724
7f18b530
DM
20725 [BZ #14074]
20726 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20727 (SETUP_PIC_REG): Use it.
20728 (SETUP_PIC_REG_LEAF): Use it.
20729
495fd99f
JM
207302012-05-07 Joseph Myers <joseph@codesourcery.com>
20731
20732 [BZ #13885]
20733 [BZ #13923]
20734 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20735 USE_AS_EXPM1L.
20736 (EXPL_FINITE): Likewise.
20737 (FLDLOG): Likewise.
20738 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20739 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20740 e_expl.S.
20741 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20742 USE_AS_EXPM1L.
20743 (EXPL_FINITE): Likewise.
20744 (FLDLOG): Likewise.
20745 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20746 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20747 e_expl.S.
20748 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20749 test of -max_value argument for long double.
20750 * sysdeps/i386/fpu/libm-test-ulps: Update.
20751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20752
6693d694
DM
207532012-05-06 David S. Miller <davem@davemloft.net>
20754
20755 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20756 quad soft-float symbols whose references which are compiler
20757 generated.
20758 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20759
6c23e11c
JM
207602012-05-06 Joseph Myers <joseph@codesourcery.com>
20761
d8b82cad
JM
20762 [BZ #13884]
20763 [BZ #13914]
20764 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20765 USE_AS_EXP10L.
20766 (EXPL_FINITE): Likewise.
20767 (FLDLOG): Likewise.
20768 (c0): Likewise.
20769 (c1): Likewise.
20770 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20771 Adjust comments for base varying.
20772 (__expl_finite): Change alias to EXPL_FINITE.
20773 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20774 e_expl.S.
20775 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20776 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20777 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20778 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20779 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20780 USE_AS_EXP10L.
20781 (EXPL_FINITE): Likewise.
20782 (FLDLOG): Likewise.
20783 (c0): Likewise.
20784 (c1): Likewise.
20785 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20786 Adjust comments for base varying.
20787 (__expl_finite): Change alias to EXPL_FINITE.
20788 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20789 tests for bugs.
20790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20791
6c23e11c
JM
20792 [BZ #14064]
20793 * math/libm-test.inc (check_float_internal): Correct ulp
20794 calculation for subnormal expected results.
20795
29ba805c
AJ
207962012-05-06 Andreas Jaeger <aj@suse.de>
20797
20798 * Makeconfig (+math-flags): New, set to -frounding-math.
20799 (+cflags): Add +math-flags so that all of glibc gets compiled with
20800 it.
20801
20802 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20803
7b17aeda
JM
208042012-05-05 Joseph Myers <joseph@codesourcery.com>
20805
5779f134
JM
20806 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20807 Disable one test.
20808
41498f4d
JM
20809 [BZ #13787]
20810 [BZ #13922]
20811 [BZ #14036]
20812 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20813 (__ieee754_expl): Allow for and saturate large arguments.
20814 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20815 (u_threshold): Likewise.
20816 (__exp): Call __ieee754_exp before checking for overflow and
20817 underflow.
20818 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20819 (u_threshold): Likewise.
20820 (__expf): Call __ieee754_expf before checking for overflow and
20821 underflow.
20822 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20823 (u_threshold): Likewise.
20824 (__expl): Call __ieee754_expl before checking for overflow and
20825 underflow.
20826 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20827 (__ieee754_expl): Allow for and saturate large arguments.
20828 * math/libm-test.inc (exp_test): Add another test. Do not allow
20829 missing overflow exception on overflow.
20830 (expm1_test): Do not allow missing overflow exception on overflow.
20831
6698b8bf
JM
20832 * sysdeps/i386/fpu/e_expl.c: Move to ...
20833 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20834 rather than using inline asm.
20835 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20836 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20837 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20838
7b17aeda
JM
20839 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20840 (nice): Likewise.
20841 (poll): Likewise.
20842 (signal): Likewise.
20843 (time): Likewise.
20844 (times): Likewise.
20845
f7c85819
JM
208462012-05-04 Joseph Myers <joseph@codesourcery.com>
20847
20848 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20849 sysdeps/unix/common/syscalls.list.
20850 (fchmod): Likewise.
20851 (fchown): Likewise.
20852 (ftruncate): Likewise.
20853 (getrusage): Likewise.
20854 (gettimeofday): Likewise.
20855 (setpgid): Likewise.
20856 (setregid): Likewise.
20857 (setreuid): Likewise.
20858 (sigaction): Likewise.
20859 (truncate): Likewise.
20860 (vhangup): Likewise.
20861 * sysdeps/unix/common/syscalls.list: Remove file.
20862 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20863 * sysdeps/unix/sysv/linux/Implies: Likewise.
20864
336270d0
L
208652012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20866
20867 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20869 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20870 Moved to ...
20871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20872 Here.
20873 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20874 to ...
20875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20876 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20877 to ...
20878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20879 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20880 to ...
20881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20882 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20883 to ...
20884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20885 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20886 to ...
20887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20888 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20889 to ...
20890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20891 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20892 to ...
20893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20894 Here.
20895 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20896 to ...
20897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20898 Here.
20899 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20900 to ...
20901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20902 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20903 Moved to ...
20904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20905 Here.
20906 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20907 to ...
20908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20909
d128e450
JM
209102012-05-04 Joseph Myers <joseph@codesourcery.com>
20911
fa8ee516
JM
20912 * sysdeps/unix/common/bits/dirent.h: Remove file.
20913 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20914
d128e450
JM
20915 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20916 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20917 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20918 * sysdeps/unix/bsd/isatty.c: Likewise.
20919 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20920 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20921 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20922
ff8faaf0 209232012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20924
62881be4 20925 [BZ #13563]
31dc8730
AZ
20926 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20927 long double comparison inaccuracies.
20928 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20930
6fef930c
AS
209312012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20932
20933 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20934 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20935
8f203e6c
JM
209362012-05-04 Joseph Myers <joseph@codesourcery.com>
20937
20938 [BZ #14049]
20939 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20940 nonzero digits before rounding a hex value.
20941 * stdlib/tst-strtod.c (tests): Add another test.
20942
5197d9c2
AK
209432012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20944
20945 * sysdeps/s390/fpu/libm-test-ulps: Update.
20946
f0c1dedf
AJ
209472012-05-03 Andreas Jaeger <aj@suse.de>
20948
20949 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20950 does not get optimized out.
20951 (malloc_opt_barrier): New.
20952
a65ef2ae 209532012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20954 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20955
2b942cb7 20956 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20957 intermediate file deletion.
2b942cb7 20958 (generated): Add .symlist files.
a65ef2ae 20959
54b71e02
JM
209602012-05-03 Joseph Myers <joseph@codesourcery.com>
20961
20962 [BZ #13775]
20963 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20964 Redirect under this condition.
20965 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20966 [__USE_GNU] (__dprintf_chk): Not under this condition.
20967 [__USE_GNU] (__vdprintf_chk): Likewise.
20968 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20969 under this condition.
20970 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20971 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20972 [__USE_XOPEN2K8] (vdprintf): Likewise.
20973 [__USE_GNU] (__dprintf_chk): Not under this condition.
20974 [__USE_GNU] (__vdprintf_chk): Likewise.
20975 [__USE_GNU] (dprintf): Likewise.
20976 [__USE_GNU] (vdprintf): Likewise.
20977
d3dfcc41
RM
209782012-05-03 Roland McGrath <roland@hack.frob.com>
20979
20980 * elf/Makefile (common-generated): Set this instead of generated for
20981 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20982 $(all-built-dso)-derived lists.
20983
7ac30cc5
AJ
209842012-05-03 Andreas Jaeger <aj@suse.de>
20985
0c51e550
AJ
20986 * sysdeps/i386/fpu/libm-test-ulps: Update.
20987
7ac30cc5
AJ
20988 * FAQ: Removed.
20989 * FAQ.in: Likewise.
20990 * scripts/gen-FAQ.pl: Likewise.
20991 * manual/install.texi (Installation): Point to online location of
20992 FAQ.
20993 * Makefile (files-for-dist): Remove FAQ.
20994 (FAQ): Remove.
20995
d4c2917f
AM
209962012-05-02 Allan McRae <allan@archlinux.org>
20997
20998 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20999 (LDFLAGS-reldepmod5.so): Likewise.
21000 (LDFLAGS-reldep6mod1.so): Likewise.
21001 (LDFLAGS-reldep6mod4.so): Likewise.
21002 (LDFLAGS-reldep8mod3.so): Likewise.
21003 (LDFLAGS-unload4mod1.so): Likewise.
21004 (LDFLAGS-unload4mod2.so): Likewise.
21005 (LDFLAGS-tst-initorder): Likewise.
21006 (LDFLAGS-tst-initordera2.so): Likewise.
21007 (LDFLAGS-tst-initordera3.so): Likewise.
21008 (LDFLAGS-tst-initordera4.so): Likewise.
21009 (LDFLAGS-tst-initorderb2.so): Likewise.
21010 (LDFLAGS-noload): Likewise.
21011 (LDFLAGS-next): Likewise.
21012 (LDFLAGS-order2mod1.so): Likewise.
21013 (LDFLAGS-order2mod2.so): Likewise.
21014 (LDFLAGS-tst-initorder2): Likewise.
21015 (LDFLAGS-tst-initorder2a.so): Likewise.
21016 (LDFLAGS-tst-initorder2b.so): Likewise.
21017 (LDFLAGS-tst-initorder2c.so): Likewise.
21018 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21019
d77f993f
DM
210202012-05-02 David S. Miller <davem@davemloft.net>
21021
21022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21023
171a70b4
PP
210242012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21025
21026 [BZ #14055]
21027 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21028
0be196ad
AJ
210292012-05-02 Andreas Jaeger <aj@suse.de>
21030
21031 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21032 since we manipulate rounding mode.
21033 (CPPFLAGS-test-idouble.c): Likewise.
21034 (CPPFLAGS-test-ifloat.c): Likewise.
21035 (CFLAGS-test-ldouble.c): Likewise.
21036 (CFLAGS-test-double.c): Likewise.
21037 (CFLAGS-test-float.c): Likewise.
21038 (CFLAGS-test-misc.c): Likewise.
21039 (CFLAGS-test-test-fenv.c): Likewise.
21040
4f9d04aa
AZ
210412012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21042
2b942cb7
RM
21043 [BZ #2550]
21044 [BZ #2570]
21045 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21046 comparisons to determine direction to adjust input.
4f9d04aa 21047
82a79e7d
RM
210482012-05-01 Roland McGrath <roland@hack.frob.com>
21049
f5a01ca9
RM
21050 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21051 output to the target.
21052
90fe4186
RM
21053 * scripts/localplt.awk: New file.
21054 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21055 (check-localplt-CFLAGS): Variable removed.
21056 ($(all-built-dso:=.jmprel)): New static pattern rule.
21057 (generated): Add those targets.
21058 (localplt-built-dso): New variable.
21059 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21060
21061 * elf/check-localplt.c: File removed.
21062
82397ed6
RM
21063 * scripts/check-execstack.awk: New file.
21064 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21065 (check-execstack-CFLAGS): Variable removed.
21066 ($(objpfx)check-execstack.h): Target removed.
21067 ($(objpfx)execstack-default): New target.
21068 (generated): Add that instead of check-execstack.h.
21069 ($(all-built-dso:=.phdr)): New static pattern rule.
21070 (generated): Add those targets.
21071 * elf/check-execstack.c: File removed.
21072
82a79e7d
RM
21073 * scripts/check-textrel.awk: New file.
21074 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21075 (check-textrel-CFLAGS): Variable removed.
21076 (all-built-dso): Use := to define.o
21077 ($(all-built-dso:=.dyn)): New static pattern rule.
21078 (generated): Add those targets.
21079 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21080 * config.make.in (READELF): New substituted variable.
21081 * elf/check-textrel.c: File removed.
21082
62fde54f 210832012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 21084
615605c9
JM
21085 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21086 allow.
21087 * conform/data/ctype.h-data [C99-based standards] (isblank):
21088 Expect function.
21089 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21090 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21091 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21092 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21093 Specify type. Require positive value.
21094 (EILSEQ): Likewise.
21095 (ERANGE): Likewise.
21096 [ISO || POSIX] (EILSEQ): Do not expect.
21097 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21098 Specify type. Require positive value.
21099 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21100 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21101 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21102 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21103 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21104 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21105 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21106 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21107 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21108 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21109 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21110 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21111 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21112 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21113 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21114 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21115 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21116 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21117 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21118 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21119 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21120 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21121 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21122 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21123 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21124 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21125 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21126 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21127 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21128 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21129 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21130 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21131 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21132 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21133 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21134 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21135 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21136 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21137 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21138 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21139 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21140 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21141 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21142 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21143 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21144 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21145 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21146 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21147 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21148 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21149 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21150 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21151 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21152 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21153 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21154 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21155 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21156 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21157 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21158 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21159 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21160 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21161 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21162 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21163 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21164 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21165 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21166 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21167 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21168 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21169 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21170 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21171 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21172 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21173 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21174 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21175 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21176 Require >= 2.
21177 (FLT_ROUNDS): Expect as macro, not constant.
21178 (FLT_MANT_DIG): Use macro-int-constant.
21179 (DBL_MANT_DIG): Likewise.
21180 (LDBL_MANT_DIG): Likewise.
21181 (FLT_DIG): Likewise.
21182 (DBL_DIG): Likewise.
21183 (LDBL_DIG): Likewise.
21184 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21185 (DBL_MIN_EXP): Likewise.
21186 (LDBL_MIN_EXP): Likewise.
21187 (FLT_MAX_EXP): Use macro-int-constant.
21188 (DBL_MAX_EXP): Likewise.
21189 (LDBL_MAX_EXP): Likewise.
21190 (FLT_MAX_10_EXP): Likewise.
21191 (DBL_MAX_10_EXP): Likewise.
21192 (LDBL_MAX_10_EXP): Likewise.
21193 (FLT_MAX): Use macro-constant.
21194 (DBL_MAX): Likewise.
21195 (LDBL_MAX): Likewise.
21196 (FLT_EPSILON): Use macro-constant. Give upper bound.
21197 (DBL_EPSILON): Likewise.
21198 (LDBL_EPSILON): Likewise.
21199 (FLT_MIN): Likewise.
21200 (DBL_MIN): Likewise.
21201 (LDBL_MIN): Likewise.
21202 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21203 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21204 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21205 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21206 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21207 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21208 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21209 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21210 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21211 [ISO11] (FLT_TRUE_MIN): Likewise.
21212 [ISO11] (LDBL_TRUE_MIN): Likewise.
21213 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21214 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21215 (SCHAR_MIN): Use macro-int-constant. Specify type.
21216 (SCHAR_MAX): Likewise.
21217 (UCHAR_MAX): Likewise.
21218 (CHAR_MIN): Likewise.
21219 (CHAR_MAX): Likewise.
21220 (MB_LEN_MAX): Use macro-int-constant.
21221 (SHRT_MIN): Use macro-int-constant. Specify type.
21222 (SHRT_MAX): Likewise.
21223 (USHRT_MAX): Likewise.
21224 (INT_MAX): Likewise.
21225 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21226 bound negative.
21227 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21228 bound with "U".
21229 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21230 bound with "L".
21231 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21232 bound negative. Suffix upper bound with "L".
21233 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21234 bound with "UL".
21235 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21236 Specify type.
21237 [C99-based standards] (LLONG_MAX): Likewise.
21238 [C99-based standards] (ULLONG_MAX): Likewise.
21239 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21240 == 0.
21241 [ISO11] (max_align_t): Require type.
21242 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21243
c9140a62
JM
21244 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21245 from $CFLAGS, without defining away __attribute__ calls.
21246 (checknamespace): Use $CFLAGS_namespace.
21247
9af0bf29
JM
21248 * conform/conformtest.pl (@keywords): Only include C99 keywords
21249 for standards based on C99 or C11.
21250
343222a2
JM
21251 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21252 Disable tests.
21253 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21254 UNIX98]: Likewise.
21255
661f8cf0
JM
21256 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21257 usability of symbols in #if.
21258
ee74b9cb
JM
21259 * conform/conformtest.pl: If macro or constant types start
21260 "promoted:", expect the symbol to be of the following type
21261 promoted by the integer promotions.
62fde54f 21262
aafc49b3
JM
21263 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21264 in one place. Also handle "macro-constant".
21265
fefdf574
JM
21266 * conform/conformtest.pl: Only accept expected macro values with
21267 "==". Parse all "macro" lines in one place.
21268 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21269
f2d922fe
JM
21270 * conform/conformtest.pl: Handle braced types on "constant" lines
21271 instead of handling "typed-constant".
21272 * conform/data/signal.h-data: Use "constant" instead of
21273 "typed-constant".
21274
d22956c9
JM
21275 * conform/conformtest.pl: Handle "optional-" at start of lines in
21276 one place rather than duplicating several cases. Handle each
21277 format of "macro" line with initial "optional-".
21278
028e2e38
JM
21279 * conform/conformtest.pl: Only accept expected constant or
21280 optional-constant values with "==". Parse all "constant" lines in
21281 one place. Parse all "optional-constant" lines in one place.
21282 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21283 * conform/data/fmtmsg.h-data: Likewise.
21284 * conform/data/netinet/in.h-data: Likewise.
21285 * conform/data/tar.h-data: Likewise.
21286 * conform/data/limits.h-data: Use "==" form on "constant" and
21287 "optional-constant" lines.
21288
1b8f2850
JM
21289 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21290 Use -std=c99 for XOPEN2K.
21291 (@knownproblems): Remove.
21292 (newtoken): Don't check %isknown.
21293
a05a144b
JM
21294 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21295 Do not expect macro.
21296 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21297 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21298 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21299 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21300 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21301 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21302 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21303 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21304 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21305 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21306 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21307 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21308 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21309 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21310 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21311 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21312 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21313 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21314 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21315 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21316 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21317 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21318 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21319 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21320 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21321 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21322 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21323 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21324 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21325 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21326 [XPG3] (acosh): Likewise.
21327 [XPG3] (asinh): Likewise.
21328 [XPG3] (atanh): Likewise.
21329 [XPG3] (cbrt): Likewise.
21330 [XPG3] (expm1): Likewise.
21331 [XPG3] (ilogb): Likewise.
21332 [XPG3] (log1p): Likewise.
21333 [XPG3] (logb): Likewise.
21334 [XPG3] (nextafter): Likewise.
21335 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21336 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21337 [XPG3] (remainder): Likewise.
21338 [XPG3] (rint): Likewise.
21339 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21340 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21341 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21342 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21343 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21344 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21345 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21346 [UNIX98 || XOPEN2K] (scalb): Expect.
21347 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21348 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21349 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21350 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21351 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21352 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21353 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21354 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21355 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21356 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21357 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21358 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21359 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21360 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21361 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21362 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21363 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21364 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21365 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21366 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21367 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21368 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21369 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21370 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21371 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21372 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21373 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21374 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21375 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21376 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21377 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21378 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21379 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21380 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21381 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21382 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21383 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21384 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21385 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21386 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21387 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21388 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21389 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21390 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21391 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21392 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21393 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21394 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21395 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21396 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21397 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21398 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21399 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21400 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21401 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21402 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21403 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21404 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21405 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21406 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21407 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21408 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21409 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21410 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21411 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21412 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21413 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21414 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21415 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21416 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21417 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21418 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21419 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21420 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21421 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21422 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21423 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21424 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21425 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21426 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21427 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21428 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21429 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21430 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21431 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21432 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21433 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21434 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21435 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21436 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21437 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21438 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21439 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21440 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21441 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21442 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21443 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21444 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21445 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21446 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21447 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21448 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21449 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21450 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21451 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21452 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21453 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21454 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21455 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21456 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21457 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21458 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21459 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21460 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21461 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21462 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21463 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21464 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21465 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21466 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21467 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21468 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21469 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21470 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21471 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21472 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21473 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21474 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21475 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21476 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21477 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21478 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21479 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21480 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21481 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21482 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21483 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21484
73c5ebe3
JM
21485 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21486 _XOPEN_SOURCE_EXTENDED for XPG4.
21487
39c33b6c
JM
21488 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21489
62fde54f
JM
21490 * Makeconfig (localtime): Remove variable.
21491 (inst_localtime-file): Likewise.
21492
0741d64c
AS
214932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21494
21495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21496 Update.
21497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21498 Update.
21499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21500 Update.
21501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21502 Update.
21503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21504 Update.
21505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21506 Update.
21507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21508 Update.
21509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21510 Update.
21511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21512 Update.
21513
7cb029ee
JM
215142012-05-01 Joseph Myers <joseph@codesourcery.com>
21515
21516 [BZ #2550]
21517 [BZ #2570]
21518 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21519 comparisons to determine direction to adjust input.
21520 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21521 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21522 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21523 Likewise.
21524 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21525 Likewise.
21526 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21527 Likewise.
21528 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21529 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21530 Likewise.
21531 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21532 Likewise.
21533 * math/libm-test.inc (nexttoward_test): Add more tests.
21534
412bd966
AS
215352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21536
21537 [BZ #14040]
21538 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21539 in version GLIBC_2.1, not GLIBC_2.0.
21540 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21541 Likewise.
21542
9568c0c2
JM
215432012-04-30 Joseph Myers <joseph@codesourcery.com>
21544
adfbc8ac
JM
21545 [BZ #13942]
21546 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21547 (1 - x) * (1 + x).
21548 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21549 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21550 * math/libm-test.inc (acos_test): Add more tests.
21551 (asin_test): Likewise.
21552 * sysdeps/i386/fpu/libm-test-ulps: Update.
21553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21554
5ba3cc69
JM
21555 [BZ #14034]
21556 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21557 of square root.
21558 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21559 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21560 * math/libm-test.inc (acos_test_tonearest): New function.
21561 (acos_test_towardzero): Likewise.
21562 (acos_test_downward): Likewise.
21563 (acos_test_upward): Likewise.
21564 (asin_test_tonearest): Likewise.
21565 (asin_test_towardzero): Likewise.
21566 (asin_test_downward): Likewise.
21567 (asin_test_upward): Likewise.
21568 (main): Call the new functions.
21569 * sysdeps/i386/fpu/libm-test-ulps: Update.
21570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21571
9568c0c2
JM
21572 [BZ #13884]
21573 [BZ #13924]
21574 * math/e_exp10.c: Include <float.h>.
21575 (__ieee754_exp10): Handle underflow here rather than multiplying
21576 large negative argument by M_LN10.
21577 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21578 of __ieee754_expf.
21579 * math/e_exp10l.c: Include <float.h>.
21580 (__ieee754_exp10l): Handle underflow here rather than multiplying
21581 large negative argument by M_LN10l.
21582 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21583 spurious overflow exception on underflow.
21584
5ac3ea17
MP
215852012-04-29 Marek Polacek <polacek@redhat.com>
21586
21587 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21588 (__fortify_function): New macro.
21589 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21590 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21591 __extern_always_inline.
21592 * libio/bits/stdio2.h: Likewise.
21593 * libio/bits/stdio.h: Likewise.
21594 * string/string.h: Likewise.
21595 * string/bits/string3.h: Likewise.
21596 * include/stdio.h: Likewise.
21597 * stdlib/bits/stdlib.h: Likewise.
21598 * stdlib/stdlib.h: Likewise.
21599 * rt/bits/mqueue2.h: Likewise.
21600 * rt/mqueue.h: Likewise.
21601 * posix/bits/unistd.h: Likewise.
21602 * posix/unistd.h: Likewise.
21603 * io/bits/poll2.h: Likewise.
21604 * io/bits/fcntl2.h: Likewise.
21605 * io/fcntl.h: Likewise.
21606 * io/sys/poll.h: Likewise.
21607 * misc/bits/syslog.h: Likewise.
21608 * misc/bits/syslog-ldbl.h: Likewise.
21609 * misc/sys/syslog.h: Likewise.
21610 * socket/bits/socket2.h: Likewise.
21611 * socket/sys/socket.h: Likewise.
21612 * debug/tst-chk1.c: Likewise.
21613 * wcsmbs/bits/wchar2.h: Likewise.
21614 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21615 * wcsmbs/wchar.h: Likewise.
21616
ecf0ebfb
AJ
216172012-04-29 Andreas Jaeger <aj@suse.de>
21618
21619 * Makerules (tests): Remove enable-check-abi protection.
21620 (check-abi-warn): Remove.
21621 (check-abi-%): Remove check-abi-warn usage.
21622
21623 * configure.in: Remove check-abi configure option.
21624 * configure: Regenerated.
21625 * config.make.in (enable-check-abi): Remove.
21626
6d5c57fa
AS
216272012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21628
24c5d07e 21629 [BZ #14033]
ded5180a
AS
21630 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21631 double functions to double *_finite functions.
21632
7e0d315d
AS
21633 [BZ #13941]
21634 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21635 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21636 LDBL_MIN_EXP.
21637 * stdio-common/Makefile (tests): Add tst-sprintf3.
21638 * stdio-common/tst-sprintf3.c: New file.
21639
6d5c57fa
AS
21640 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21641 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21642
0749ff8b
JM
216432012-04-28 Joseph Myers <joseph@codesourcery.com>
21644
21645 * conform/conformtest.pl: Remove duplicate typed-constant
21646 handling.
21647
8dbd5d7b
DM
216482012-04-28 David S. Miller <davem@davemloft.net>
21649
21650 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21651 (check-abi-%): Remove AWK script prerequisite and explicit
21652 abilist directory.
21653 (check-abi): Rewrite to just diff the symlist with the abilist.
21654 (config-tls, config-abi-config): Delete, no longer used.
21655 (update-abi-%): Remove AWK script and explicit abilist directory.
21656 (update-abi): Rewrite to simply compare and conditionally copy the
21657 symlist and the sysdep abilist file. Remove update-abi-config
21658 checks.
21659 * abilist/ld.abilist: Remove.
21660 * abilist/libBrokenLocale.abilist: Remove.
21661 * abilist/libanl.abilist: Remove.
21662 * abilist/libcrypt.abilist: Remove.
21663 * abilist/libdl.abilist: Remove.
21664 * abilist/librt.abilist: Remove.
21665 * abilist/libthread_db.abilist: Remove.
21666 * abilist/libutil.abilist: Remove.
21667 * scripts/extract-abilist.awk: Remove.
21668 * scripts/merge-abilist.awk: Remove.
21669 * sysdeps/generic/libcidn.abilist: New file.
21670 * sysdeps/generic/libnss_compat.abilist: New file.
21671 * sysdeps/generic/libnss_db.abilist: New file.
21672 * sysdeps/generic/libnss_dns.abilist: New file.
21673 * sysdeps/generic/libnss_files.abilist: New file.
21674 * sysdeps/generic/libnss_hesiod.abilist: New file.
21675 * sysdeps/generic/libnss_nis.abilist: New file.
21676 * sysdeps/generic/libnss_nisplus.abilist: New file.
21677 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21678 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21679 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21680 file.
21681 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21682 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21683 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21684 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21685 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21686 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21687 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21688 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21689 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21690 file.
21691 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21692 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21693 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21694 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21695 file.
21696 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21697 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21698 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21699 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21700 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21701 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21702 file.
21703 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21704 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21705 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21706 file.
21707 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21709 New file.
21710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21711 New file.
21712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21713 New file.
21714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21715 New file.
21716 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21717 New file.
21718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21719 New file.
21720 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21721 New file.
21722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21723 New file.
21724 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21725 New file.
21726 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21727 New file.
21728 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21729 New file.
21730 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21731 New file.
21732 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21733 New file.
21734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21735 file.
21736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21737 New file.
21738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21739 New file.
21740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21741 file.
21742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21743 New file.
21744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21745 New file.
21746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21747 file.
21748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21749 New file.
21750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21751 New file.
21752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21753 New file.
21754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21755 New file.
21756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21757 New file.
21758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21759 New file.
21760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21762 file.
21763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21764 New file.
21765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21766 file.
21767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21768 file.
21769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21770 file.
21771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21772 file.
21773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21774 file.
21775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21776 New file.
21777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21778 file.
21779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21780 file.
21781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21782 New file.
21783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21784 file.
21785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21787 file.
21788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21789 New file.
21790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21791 file.
21792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21793 file.
21794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21795 file.
21796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21797 file.
21798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21799 file.
21800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21801 New file.
21802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21803 file.
21804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21805 file.
21806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21807 New file.
21808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21809 file.
21810 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21811 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21812 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21813 file.
21814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21815 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21816 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21817 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21818 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21819 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21820 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21821 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21822 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21823 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21826 file.
21827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21828 New file.
21829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21830 file.
21831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21832 file.
21833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21834 file.
21835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21836 file.
21837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21838 file.
21839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21840 New file.
21841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21842 New file.
21843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21844 file.
21845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21846 New file.
21847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21848 file.
21849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21851 file.
21852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21853 New file.
21854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21855 file.
21856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21857 file.
21858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21859 file.
21860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21861 file.
21862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21863 file.
21864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21865 New file.
21866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21867 New file.
21868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21869 file.
21870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21871 New file.
21872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21873 file.
21874
41d73a1b
JM
218752012-04-28 Joseph Myers <joseph@codesourcery.com>
21876
21877 * conform/conformtest.pl: Fix typo in handling typed-constant from
21878 allow-header.
21879
28aeeda4
JM
218802012-04-27 Joseph Myers <joseph@codesourcery.com>
21881
adae8f5e
JM
21882 * README: Cut down references to pre-2.6 Linux kernels and
21883 Linuxthreads. Update lists of configurations in libc and ports
21884 and sort alphabetically. Say "or newer" with Linux kernel version
21885 requirements.
21886
28aeeda4
JM
21887 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21888
a462cb63
RA
218892012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21890
21891 [BZ #887]
21892 * math/libm-test.inc (logb_test_downward): New test to expose
21893 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21894 rounding mode.
21895
6ad3493e
JM
218962012-04-27 Joseph Myers <joseph@codesourcery.com>
21897
21898 [BZ #14027]
21899 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21900 to be done.
21901 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21902 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21903
2ce4f015
JM
219042012-04-26 Joseph Myers <joseph@codesourcery.com>
21905
5aeb141a
JM
21906 * sysdeps/unix/i386/brk.S: Remove file.
21907 * sysdeps/unix/i386/dl-brk.S: Likewise.
21908 * sysdeps/unix/i386/pipe.S: Likewise.
21909 * sysdeps/unix/i386/sigreturn.S: Likewise.
21910 * sysdeps/unix/i386/syscall.S: Likewise.
21911 * sysdeps/unix/i386/vfork.S: Likewise.
21912 * sysdeps/unix/i386/wait.S: Likewise.
21913
7143acae
JM
21914 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21915 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21916
2ce4f015
JM
21917 * configure.in (arm*-none*): Do not allow without
21918 --enable-hacker-mode.
21919 (netbsd*): Remove case setting base_os.
21920 (386bsd*): Likewise.
21921 (freebsd*): Likewise.
21922 (bsdi*): Likewise.
21923 (osf*): Likewise.
21924 (sunos*): Likewise.
21925 (ultrix*): Likewise.
21926 (newsos*): Likewise.
21927 (dynix*): Likewise.
21928 (*bsd*): Likewise.
21929 (sysv*): Likewise.
21930 (isc*): Likewise.
21931 (esix*): Likewise.
21932 (sco*): Likewise.
21933 (minix*): Likewise.
21934 (irix4*): Likewise.
21935 (irix6*): Likewise.
21936 (solaris[2-9]*): Likewise.
21937 (none): Likewise.
21938 * configure: Regenerated.
21939
0ac229c8
AZ
219402012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21941
21942 [BZ #11521]
21943 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21944 overflow or cancellation in calculating denominator.
21945 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21946 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21947 down expression to avoid unexpected rounding in newer GCCs.
21948 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21949
33f244f4
DM
219502012-04-26 David S. Miller <davem@davemloft.net>
21951
21952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21953 long-double compat symbols.
21954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21967
cfa1f3e8
DM
219682012-04-25 David S. Miller <davem@davemloft.net>
21969
21970 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21971 HWCAP_* values only after the memory barriers have been defined.
21972 (atomic_full_barrier): Define.
21973 (atomic_read_barrier): Define.
21974 (atomic_write_barrier): Define.
21975
6e236b92
SP
219762012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21977
21978 * shlib-versions: Add libgcc_s version information.
21979 * sysdeps/generic/libgcc_s.h: Remove.
21980 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21981 libgcc_s.h.
21982 * sysdeps/gnu/unwind-resume.c: Likewise.
21983 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21984
aab39a09
DM
219852012-04-25 David S. Miller <davem@davemloft.net>
21986
21987 * sysdeps/unix/sparc/brk.S: Delete.
21988 * sysdeps/unix/sparc/dl-brk.S: Delete.
21989 * sysdeps/unix/sparc/pipe.S: Delete.
21990 * sysdeps/unix/sparc/sysdep.S: Delete.
21991 * sysdeps/unix/sparc/sysdep.h: Delete.
21992 * sysdeps/unix/sparc/vfork.S: Delete.
21993 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21994 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21995 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21996 ret_ERRVAL, r0, r1, MOVE): Define.
21997 (JUMPTARGET): Remove.
21998 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21999 sysdeps/unix/sparc/sysdep.h
22000 (ENTRY, END): Remove.
22001 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22002
a3cc4f48
JM
220032012-04-25 Joseph Myers <joseph@codesourcery.com>
22004
2ed8cda2
JM
22005 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22006 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22007 -DIS_IN_build.
22008
35d76d59
JM
22009 * timezone/README: Update upstream location and email address for
22010 tzcode and tzdata.
22011 * timezone/zdump.c: Update from tzcode 2012b.
22012 * timezone/zic.c: Likewise.
22013
a3cc4f48
JM
22014 * configure.in (libc_cv_as_needed): Remove test.
22015 * configure: Regenerated.
22016 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22017 conditional definition.
22018 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22019 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22020 * config.make.in (have-as-needed): Remove variable.
22021
ceab42c3
SP
220222012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22023 Paul Pluzhnikov <ppluzhnikov@google.com>
22024
22025 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22026 strings correctly.
22027
3ce2865f
CLT
220282012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22029
22030 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22031 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22032 * sysdeps/sh/strlen.S: Likewise.
22033
f37e0d68
JM
220342012-04-24 Joseph Myers <joseph@codesourcery.com>
22035
ae186e9a
JM
22036 * sysdeps/unix/fork.S: Remove file.
22037 * sysdeps/unix/i386/fork.S: Likewise.
22038 * sysdeps/unix/sparc/fork.S: Likewise.
22039
b96914af
JM
22040 * sysdeps/unix/system.c: Remove file.
22041 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22042
f37e0d68
JM
22043 * sysdeps/unix/getegid.S: Remove file.
22044 * sysdeps/unix/geteuid.S: Likewise.
22045
87ef29ca
RM
220462012-04-24 Roland McGrath <roland@hack.frob.com>
22047
83bcd236
RM
22048 * scripts/check-localplt.awk: New file.
22049 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22050 of diff.
22051 * scripts/data/localplt-generic.data: Add a comment.
22052
87ef29ca
RM
22053 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22054 NODE when __dir_mkfile failed.
22055 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22056 Reported by Ludovic Courtès <ludo@gnu.org>.
22057
e5a6e567
AJ
220582012-04-24 Andreas Jaeger <aj@suse.de>
22059
22060 * Makerules (common-clean): Also remove gen-as-const-headers
22061 files.
22062
c1820385
JM
220632012-04-24 Joseph Myers <joseph@codesourcery.com>
22064
22065 * Makerules (native-compile): Do not change working directory for
22066 build. Use $(OUTPUT_OPTION) in command.
22067 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22068
94e02fc4
AZ
220692012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22070
22071 [BZ #13886]
22072 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22073 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22074 * math/libm-test.inc (floor_test): Add more tests.
22075 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22076
3a533ca3
JM
220772012-04-24 Joseph Myers <joseph@codesourcery.com>
22078
940ab4b3
JM
22079 * sysdeps/unix/getdents.c: Remove file.
22080 * sysdeps/unix/sysv/getdents.c: Likewise.
22081 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22082
90e037bd
JM
22083 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22084 sysdeps/unix/mman/syscalls.list.
22085 (mmap): Likewise.
22086 (mprotect): Likewise.
22087 (msync): Likewise.
22088 (munmap): Likewise.
22089 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22090 * sysdeps/unix/mman/syscalls.list: Remove.
22091 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22092
3a533ca3
JM
22093 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22094 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22095 * configure: Regenerated.
22096 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22097 $(libgcc_s_suffix).
22098 * config.make.in (libgcc_s_suffix): Remove variable.
22099
1ad743de
JM
221002012-04-23 Joseph Myers <joseph@codesourcery.com>
22101
4ad451e2
JM
22102 * sysdeps/unix/sysv/gethostname.c: Move to ...
22103 * sysdeps/posix/gethostname.c: ... here.
22104
5e37ce39
JM
22105 * sysdeps/unix/execve.S: Remove file.
22106
1ad743de
JM
22107 * sysdeps/unix/_exit.S: Remove file.
22108
4e681b5b
AJ
221092012-04-23 Andreas Jaeger <aj@suse.de>
22110
22111 [BZ #13739]
22112 * manual/Makefile: Remove make dist support, there's no
22113 need for a stand-alone documentation tar ball.
22114 (TEXI2DVI): Define always, it's not in Makeconfig.
22115 (dist): Removed.
22116 (tar-it): Removed.
22117 (edition): Removed.
22118 (glibc-doc-$(edition).tar): Removed
22119 (%.Z): Removed.
22120 (%.gz): Removed.
22121 (%.uu): Removed.
22122 (ETAGS): Remove, it's in Makeconfig.
22123 (move-if-change): Remove, it's in Makeconfig.
22124
38686a03 221252012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
22126
22127 [BZ #13970]
22128 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22129 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22130 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22131 (strtod_l, strtof_l, strtold_l): Remove __wur.
22132 It is not necessarily an error to ignore strtol's return value.
22133 One can reliably look at the stored endptr to decide whether
22134 the number had valid syntax.
22135
7c0616fa
AJ
221362012-04-21 Andreas Jaeger <aj@suse.de>
22137
803cb6b7 22138 [BZ #13739]
7c0616fa
AJ
22139 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22140
b0fe253f
JM
221412012-04-21 Joseph Myers <joseph@codesourcery.com>
22142
22143 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22144 * sysdeps/unix/sysv/Versions: Remove file.
22145
8280f22d
MT
221462012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22147
22148 [BZ #13927]
22149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22150
75ce411f 221512012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
22152
22153 [BZ #7064]
22154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22155 version from __vm86.
22156
097d59fa
JM
221572012-04-20 Joseph Myers <joseph@codesourcery.com>
22158
a90f3bcb
JM
22159 * sysdeps/unix/common/lxstat.c: Remove file.
22160 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22161
edc7ea78
JM
22162 * sysdeps/unix/sysv/Makefile: Remove file.
22163
cb78c221
JM
22164 * sysdeps/unix/sysv/direct.h: Remove file.
22165
efa6a45f
JM
22166 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22167 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22168 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22169 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22170 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22171 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22172 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22173
9c9f2d0c
JM
22174 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22175
4541c83b
JM
22176 * sysdeps/unix/xmknod.c: Remove file.
22177 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22178
f5d153a0
JM
22179 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22180
aa746595
JM
22181 * sysdeps/unix/sysv/i386/time.S: Remove file.
22182
cce5905e
JM
22183 * sysdeps/unix/fxstat.c: Remove file.
22184 * sysdeps/unix/xstat.c: Likewise.
22185 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22186
37fa3841
JM
22187 * sysdeps/unix/sysv/sigaction.c: Remove file.
22188
ff1962a3
JM
22189 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22190 (sysdep_headers): Remove variable.
22191 [termio.h not in sysdep_headers] (generated): Likewise.
22192 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22193 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22194 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22195 * sysdeps/unix/sysv/tcflow.c: Likewise.
22196 * sysdeps/unix/sysv/tcflush.c: Likewise.
22197 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22198 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22199 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22200 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22201 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22202
e7740d31
JM
22203 * sysdeps/unix/siglist.c: Remove file.
22204
ee06f18b
JM
22205 * sysdeps/unix/getppid.S: Remove file.
22206
097d59fa
JM
22207 * sysdeps/unix/mkdir.c: Remove file.
22208 * sysdeps/unix/rmdir.c: Likewise.
22209
ff3d51ec
AS
222102012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22211
22212 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22213 ERR_MAX value.
22214 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22215 errlist-compat value.
22216
50f81fd7
DM
222172012-04-18 David S. Miller <davem@davemloft.net>
22218
22219 * sysdeps/generic/memcopy.h (reg_char): Delete.
22220 * debug/strcat_chk.c: Use char, not reg_char.
22221 * debug/strcpy_chk.c: Likewise.
22222 * debug/strncat_chk.c: Likewise.
22223 * debug/strncpy_chk.c: Likewise.
22224 * string/memchr.c: Likewise.
22225 * string/memrchr.c: Likewise.
22226 * string/rawmemchr.c: Likewise.
22227 * string/strcat.c: Likewise.
22228 * string/strchr.c: Likewise.
22229 * string/strchrnul.c: Likewise.
22230 * string/strcmp.c: Likewise.
22231 * string/strcpy.c: Likewise.
22232 * string/strncat.c: Likewise.
22233 * string/strncmp.c: Likewise.
22234 * string/strncpy.c: Likewise.
22235
8ff41c46
WS
222362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22237
22238 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22239 __builtin_memcopy is called when src and dest ranges are known to not
22240 overlap.
22241
6b652f46
WS
222422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22243
22244 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22245 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22246 fwd_align_merge macro call.
22247 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22248 bwd_align_merge macro call.
22249 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22250
b282631e
WS
222512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22252
22253 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22254 bwd_align_merge macros.
22255 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22256 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22257 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22258
95aa737c
DM
222592012-04-18 David S. Miller <davem@davemloft.net>
22260
22261 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22262
7a99a614
AJ
222632012-04-18 Andreas Jaeger <aj@suse.de>
22264
22265 [BZ# 6794]
22266 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22267 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22268 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22269
22270 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22271 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22272 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22273
22274 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22275 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22276 Adjust for changed ldbl-128 files.
22277
22278 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22279 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22280 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22281
e5270c23
DM
222822012-04-17 David S. Miller <davem@davemloft.net>
22283
22284 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22285
fb5e92c9
AS
222862012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22287
22288 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22289 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22290 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22291 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22292 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22293 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22294
76da7265
AZ
222952012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22296
22297 [BZ #6794]
22298 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22299 * math/libm-test.inc: Add ilogb errno and exception tests.
22300 * math/w_ilogb.c: New file: ilogb wrapper.
22301 * math/w_ilogbf.c: New file: ilogbf wrapper.
22302 * math/w_ilogbl.c: New file: ilogbl wrapper.
22303 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22304 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22305 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22306 exception being thrown with 0.0 as argument.
22307 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22308 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22309 exception being thrown with 0.0 as argument.
22310 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22311 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22312 exception being thrown with 0.0 as argument.
22313 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22314 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22315 exception being thrown with 0.0 as argument.
22316 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22317 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 22318 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
22319 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22320 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22321 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22322 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22323 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22324 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22325
0396e69d
PB
223262012-04-17 Petr Baudis <pasky@ucw.cz>
22327
22328 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22329 with altivec.
22330
750b5926
MP
223312012-04-16 Marek Polacek <polacek@redhat.com>
22332
22333 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22334
751728a1
MP
223352012-04-16 Marek Polacek <polacek@redhat.com>
22336
22337 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22338 operands of fdivp instruction.
22339
34a27407
L
223402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22341
22342 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22343 * elf/tst-auditmod3b.c: Likewise.
22344 * elf/tst-auditmod4b.c: Likewise.
22345 * elf/tst-auditmod5b.c: Likewise.
22346 * elf/tst-auditmod6b.c: Likewise.
22347 * elf/tst-auditmod6c.c: Likewise.
22348 * elf/tst-auditmod7b.c: Likewise.
22349 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22350 * sysdeps/x86_64/preconfigure.in: Likewise.
22351 * sysdeps/x86_64/preconfigure: Regenerated.
22352
7e73e17d
L
223532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22354
22355 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22356 __ILP32__.
22357
c7a6ab72
AB
223582012-04-13 Antoine Balestrat <merkil33@gmail.com>
22359
22360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22361 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22362
a9e8e0e0
CL
223632012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22364
22365 [BZ #13973]
22366 * locale/iso-639.def: Fix gl language name. Spotted by
22367 Yaron Shahrabani.
22368
ec98af7d
RM
223692012-04-12 Roland McGrath <roland@hack.frob.com>
22370
22371 [BZ #2074]
22372 * libio/libio.h (__io_write_fn): Update comment.
22373
247c3ede
PB
223742012-04-12 Petr Baudis <pasky@ucw.cz>
22375
22376 [BZ #2074]
22377 * stdio.texi (Hook Functions): The user provided writer function
22378 is not allowed to return -1.
22379
55939d6d
DM
223802012-04-11 David S. Miller <davem@davemloft.net>
22381
22382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22383
90020f5a
MF
223842012-04-11 Mike Frysinger <vapier@gentoo.org>
22385
22386 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22387 Add a leading slash to rtkaio.
22388
288f9098
JM
223892012-04-11 Jim Meyering <meyering@redhat.com>
22390
90020f5a
MF
22391 [BZ #11959]
22392 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22393 It is not necessarily an error to ignore fwrite's return
22394 value. One can reliably use ferror to test for errors after
22395 the fact.
288f9098 22396
4be2b570
L
223972012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22398
22399 * bits/types.h (__snseconds_t): New type.
22400 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22401
22402 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22403 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22404 (__SNSECONDS_T_TYPE): Likewise.
22405 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22406 (__SNSECONDS_T_TYPE): Likewise.
22407 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22408 (__SNSECONDS_T_TYPE): Likewise.
22409
288f9098 224102012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22411
22412 [BZ #2636]
22413 * manual/time.texi (Processor Time): Return type of times is
22414 elapsed real time since an arbitrary point in the past.
22415 (CPU Time): Move CLK_TCK from here...
22416 (Processor Time): ...to here. Correct description.
22417 * manual/conf.texi (Constants for Sysconf): Correct description of
22418 _SC_CLK_TCK.
22419
d7dd4413
DM
224202012-04-10 David S. Miller <davem@davemloft.net>
22421
22422 [BZ #13967]
22423 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22424 where the is a gap between DT_REL(A) and DT_JMPREL.
22425
b46068fc
L
224262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22427
22428 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22429 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22430 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22431
73d65cc3
SP
224322012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22433
22434 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22435 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22436 (dl_main): Handle --inhibit-cache.
22437 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22438 _dl_inhibit_cache.
22439 * elf/dl-load.c (_dl_map_object): Use it.
22440 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22441
bcc8d661
JM
224422012-04-09 Joseph Myers <joseph@codesourcery.com>
22443
8f9a2fae
JM
22444 [BZ #13872]
22445 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22446 (__ieee754_powl): Saturate large exponents rather than testing for
22447 overflow of y*log2(x).
22448 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22449 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22450 exceptions.
22451
bcc8d661
JM
22452 [BZ #11521]
22453 * math/s_ctan.c: Include <float.h>.
22454 (__ctan): Avoid internal overflow or cancellation in calculating
22455 denominator.
22456 * math/s_ctanf.c: Likewise.
22457 * math/s_ctanl.c: Likewise.
22458 * math/s_ctanh.c: Likewise.
22459 * math/s_ctanhf.c: Likewise.
22460 * math/s_ctanhl.c: Likewise.
22461 * math/libm-test.inc (ctan_test): Add more tests.
22462 (ctanh_test): Likewise.
22463 * sysdeps/i386/fpu/libm-test-ulps: Update.
22464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22465
823fbbb4
AJ
224662012-04-09 Andreas Jaeger <aj@suse.de>
22467
03879793
AJ
22468 [BZ #6894]
22469 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22470 is an optional BSD extension.
22471
823fbbb4
AJ
22472 [BZ #10254]
22473 * manual/stdio.texi (Opening Streams): Document additional fopen
22474 parameters.
22475
8de131cb
RM
224762012-04-09 Roland McGrath <roland@hack.frob.com>
22477
22478 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22479 %eax without telling the compiler.
22480
c0ed9d7d
CD
224812012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22482
22483 [BZ # 13963]
22484 * manual/install.texi: Use sourceware.org.
22485
c483f6b4
JM
224862012-04-09 Joseph Myers <joseph@codesourcery.com>
22487
d7dd9453
JM
22488 [BZ #13873]
22489 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22490 (__ieee754_pow): Generate overflow and underflow using huge*huge
22491 and tiny*tiny rather than just returning constant infinity or zero
22492 for large exponents.
22493 * math/libm-test.inc (pow_test): Require overflow exceptions for
22494 applicable cases of large exponents.
22495
c483f6b4
JM
22496 [BZ #706]
22497 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22498 (__ieee754_pow): Use iterative multiplication algorithm only for
22499 integer exponents with absolute value below 1024. Check for odd
22500 integer exponents when using algorithm for real exponents.
22501 * math/libm-test.inc (pow_test): Add more tests.
22502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22503
d2de7579
JM
225042012-04-08 Joseph Myers <joseph@codesourcery.com>
22505
22506 [BZ #13705]
22507 * math/libm-test.inc (exp_test): Do not allow overflow exception
22508 on underflow test.
22509
f77f1232
AJ
225102012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22511
22512 [BZ #13705]
22513 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22514 instead of __kernel_standard_f.
22515
3884932b
MF
225162012-04-08 Mike Frysinger <vapier@gentoo.org>
22517
22518 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22519 * sysdeps/x86_64/memset_chk.S: Likewise.
22520
54472e9c
AJ
225212012-04-08 Andreas Jaeger <aj@suse.de>
22522
6ab0fbfc
AJ
22523 [BZ #10153]
22524 * manual/startup.texi (Environment Access): Describe return value
22525 for putenv and setenv.
22526
61efba8c
AJ
22527 [BZ #6895]
22528 * manual/filesys.texi (Directory Entries): Add description for
22529 DT_LNK.
22530
95c3f29a
AJ
22531 [BZ #6890]
22532 * manual/filesys.texi (Directory Entries): Clarify that it's file
22533 system not operating system in the description of DT_UNKNOWN.
22534
54472e9c
AJ
22535 [BZ #6578]
22536 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22537
624254b1
SC
225382012-04-08 Stephen Compall <s11@member.fsf.org>
22539
22540 [BZ #6649]
22541 * manual/llio.texi (Opening and Closing Files): Add cross
22542 reference to explain mode argument.
22543
1e4920e0
MF
225442012-04-07 Mike Frysinger <vapier@gentoo.org>
22545
22546 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22547 * sysdeps/x86_64/memset_chk.S: Likewise.
22548
5ed848f3
DM
225492012-04-07 David S. Miller <davem@davemloft.net>
22550
22551 * elf/elf.h (R_SPARC_WDISP10): Define.
22552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22553 R_SPARC_SIZE32.
22554 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22555 R_SPARC_SIZE64 and R_SPARC_H34.
22556
96154cd8
CD
225572012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22558
22559 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22560 conditions and remove no longer applicable assertion.
22561
9904dc47
L
225622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22563
22564 * bits/byteswap.h: Include <features.h>.
22565 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22566 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22567
f8887d0a
L
225682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22569
22570 * bits/byteswap.h (__bswap_16): Removed.
22571 Include <bits/byteswap-16.h> to get __bswap_16.
22572 * sysdeps/i386/bits/byteswap.h: Likewise.
22573 * sysdeps/s390/bits/byteswap.h: Likewise.
22574 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22575 * bits/byteswap-16.h: New file.
22576 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22577 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22578 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22579 * string/Makefile (headers): Add bits/byteswap-16.h.
22580
62470f60
PP
225812012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22582
22583 [BZ #13895]
22584 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22585 extra indirection.
22586 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22587 * nss/tst-nss-static.c: New.
22588
4dad7bab
RM
225892012-04-06 Robert Millan <rmh@gnu.org>
22590
22591 [BZ #6486]
22592 * manual/llio.texi (File Position Primitive): lseek
22593 refers to WHENCE when it really means OFFSET.
22594
e9142a17
AJ
225952012-04-06 Andreas Jaeger <aj@suse.de>
22596
2c040eff
AJ
22597 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22598 strncmp declarations.
22599
e9142a17
AJ
22600 * abilist/libc.abilist: Add __poll and __ppoll.
22601
ff9f1c5f
DM
226022012-04-05 David S. Miller <davem@davemloft.net>
22603
dcd2ae90
DM
22604 * scripts/check-local-headers.sh: Accept a host triplet in the
22605 path matched by the exclude regexp.
22606
993eb054
DM
22607 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22608 definition.
22609 * sysdeps/powerpc/powerpc32/dl-machine.h
22610 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22611 * sysdeps/s390/s390-32/dl-machine.h
22612 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22613 * sysdeps/sparc/sparc32/dl-machine.h
22614 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22615 * sysdeps/sparc/sparc64/dl-machine.h
22616 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22617
ff9f1c5f
DM
22618 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22619 lazy binding.
48e2e132 22620 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22621 undefined symbol errors.
22622
48e2e132 22623 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22624 DT_NEEDED entries.
22625
e80d6f94
MM
226262012-04-05 Michael Matz <matz@suse.de>
22627
22628 [BZ #13592]
22629 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22630
349fa79f
AJ
226312012-04-05 Andreas Jaeger <aj@suse.de>
22632
22633 [BZ #13908]
22634 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22635 comment.
22636
f402708f
KK
226372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22638
22639 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22640 which ROUND is no valid rounding mode.
22641
2ecccfc9
KK
226422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22643
22644 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22645 read again.
22646 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22647
8a53f50f
KK
226482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22649
22650 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22651 an exception using FPU order intentionally.
22652
226532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22654
22655 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22656 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22657 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22658 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22659
d653abb7
SJ
226602012-04-05 Simon Josefsson <simon@josefsson.org>
22661
22662 [BZ #12340]
22663 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22664 EINVAL when BUFLEN is too smal.
22665
c3b1bf7d
TS
226662012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22667
22668 [BZ #13553]
22669 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22670 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22671
b1aa60f3
AJ
226722012-04-03 Andreas Jaeger <aj@suse.de>
22673
c3b1bf7d 22674 [BZ #13938]
67f60a26
AJ
22675 * manual/setjmp.texi (System V contexts): Fix sentence.
22676
b1aa60f3
AJ
22677 [BZ #13926]
22678 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22679 New macro for this case.
22680 [!__GNUC__] (__bswap_64): New inline function for this case.
22681 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22682 * bits/byteswap.h: Likewise.
22683 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22684 ull, guard with __GLIBC_HAVE_LONG_LONG.
22685
22686 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22687 __GLIBC_HAVE_LONG_LONG.
22688
22689 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22690 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22691
39c59c35
TMQMF
226922012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22693
22694 [BZ #13691]
22695 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22696 inptr and inend, rather than using last_ch.
22697
135ffda8
DM
226982012-04-02 David S. Miller <davem@davemloft.net>
22699
22700 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22701 * stdio-common/printf-parse.h (read_int): Change return type to
22702 'int', return -1 on INT_MAX overflow.
22703 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22704 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22705 overflows INT_MAX. Check for overflow of in-format-string precision
22706 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22707 SIZE_MAX not INT_MAX for integer overflow test.
22708 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22709 skip the construct in the format string but do not record anything.
22710 * stdio-common/bug22.c: Adjust to test both width/prevision
22711 INT_MAX overflow as well as total length INT_MAX overflow. Check
22712 explicitly for proper errno values.
22713
228c019e
TS
227142012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22715
302cadd3
TS
22716 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22717 CHAR_MAX.
22718 * string/test-strcmp.c [! WIDE]: Likewise.
22719 * time/tst-mktime2.c: Likewise for INT_MAX.
22720 * string/test-string.h: #include <sys/param.h> for MIN.
22721
228c019e
TS
22722 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22723 * sysdeps/i386/init-first.c (init): Likewise.
22724 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22725 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22726 * sysdeps/sh/init-first.c (init): Likewise.
22727
cfa633f5
UD
227282012-04-01 Ulrich Drepper <drepper@gmail.com>
22729
22730 * po/ru.po: Update from translation team.
d1635ef8 22731 * po/vi.po: Likewise.
cfa633f5 22732
6cd0a5ea
SP
227332012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22734
22735 * resolv/nss_dns/dns-host.c: Merge copyright years.
22736
4b43400f
LD
227372012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22738
22739 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22740 Optimize memcpy with prefetch if
22741 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22742 src, dst pointers have unequal 16 byte alignments.
22743
48c41d04
SP
227442012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22745
22746 [BZ #13928]
22747 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22748 from a CNAME entry and return the minimum ttl for the query.
22749 (gaih_getanswer_slice): Likewise.
22750
b8dc394d
JL
227512012-03-30 Jeff Law <law@redhat.com>
22752
22753 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22754 due to long keys.
22755 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22756 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22757
2f5a5ed0
JL
22758 * resolv/nss_dns/dns-host.c: Update copyright year.
22759
1d39e359
UD
227602012-03-30 Ulrich Drepper <drepper@gmail.com>
22761
c030f70c 22762 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22763 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22764
1d39e359
UD
22765 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22766 comments for sendmmsg.
22767
227682012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22769
22770 [BZ #13691]
22771 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22772 with only 1 character between 0x0041 and 0x01b0.
22773 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22774 * wcsmbs/tst-mbsnrtowcs.c: New file.
22775
20fde227
DM
227762012-03-29 David S. Miller <davem@davemloft.net>
22777
22778 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22779 small copies by hand.
22780
984a4237
JL
227812012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22782
22783 [BZ #13761]
22784 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22785 _nss_compat_initgroups_dyn): Fall back to malloc/free
22786 for large group memberships.
22787
18c9d62b
DM
227882012-03-28 David S. Miller <davem@davemloft.net>
22789
88d85d4f
DM
22790 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22791 that branches into memcpy.
22792 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22793 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22794 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22795 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22796 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22797 bits.
22798 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22799 implementation too.
22800 * sysdeps/sparc/mempcpy.S: New file.
22801
e5aa83e1
DM
22802 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22803 the IFUNC routine in the libc case.
22804 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22805
88570753
DM
22806 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22807 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22808 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22809 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22810 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22811 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22812 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22813 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22814
249d7567
DM
22815 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22816 loop to 256 bytes instead of 64 bytes and fix test signedness.
22817
18c9d62b
DM
22818 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22819 * sysdeps/sparc/sparc32/Makefile: rather than here...
22820 * sysdeps/sparc/sparc64/Makefile: and here.
22821
05f3d1f6
UD
228222012-03-28 Ulrich Drepper <drepper@gmail.com>
22823
22824 * malloc/mallocbug.c: Avoid warnings about unused variables.
22825
86ae07a8
JL
228262012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22827
22828 [BZ #13760]
22829 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22830 in the right place. Discard and retry query if response is
22831 larger than input buffer size.
22832
41bf21a1
JM
228332012-03-28 Joseph Myers <joseph@codesourcery.com>
22834
d6270972
JM
22835 [BZ #369]
22836 [BZ #2678]
22837 [BZ #3866]
22838 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22839 x for large integer exponent.
22840 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22841 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22842 sign of result as needed afterwards.
22843 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22844 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22845 result for underflowing pow the same as for overflow.
22846 (__kernel_standard_l): Handle powl overflow and underflow here
22847 rather than calling __kernel_standard.
22848 * math/libm-test.inc (pow_test): Add more tests.
22849
414fca03 22850 [BZ #3868]
41bf21a1
JM
22851 [BZ #13879]
22852 [BZ #13910]
22853 [BZ #13911]
22854 [BZ #13912]
22855 [BZ #13913]
22856 [BZ #13915]
22857 [BZ #13916]
22858 [BZ #13917]
22859 [BZ #13918]
22860 [BZ #13919]
22861 [BZ #13920]
22862 [BZ #13921]
22863 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22864 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22865 (__kernel_standard_l): New function.
22866 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22867 __kernel_standard.
22868 * math/w_acosl.c (__acosl): Likewise.
22869 * math/w_asinl.c (__asinl): Likewise.
22870 * math/w_atan2l.c (__atan2l): Likewise.
22871 * math/w_atanhl.c (__atanhl): Likewise.
22872 * math/w_coshl.c (__coshl): Likewise.
22873 * math/w_exp10l.c (__exp10l): Likewise.
22874 * math/w_exp2l.c (__exp2l): Likewise.
22875 * math/w_fmodl.c (__fmodl): Likewise.
22876 * math/w_hypotl.c (__hypotl): Likewise.
22877 * math/w_j0l.c (__j0l, __y0l): Likewise.
22878 * math/w_j1l.c (__j1l, __y1l): Likewise.
22879 * math/w_jnl.c (__jnl, __ynl): Likewise.
22880 * math/w_lgammal.c (__lgammal): Likewise.
22881 * math/w_log10l.c (__log10l): Likewise.
22882 * math/w_log2l.c (__log2l): Likewise.
22883 * math/w_logl.c (__logl): Likewise.
22884 * math/w_powl.c (__powl): Likewise.
22885 * math/w_remainderl.c (__remainderl): Likewise.
22886 * math/w_scalbl.c (sysv_scalbl): Likewise.
22887 * math/w_sinhl.c (__sinhl): Likewise.
22888 * math/w_sqrtl.c (__sqrtl): Likewise.
22889 * math/w_tgammal.c (__tgammal): Likewise.
22890 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22891 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22892 * math/libm-test.inc (acos_test): Add more tests.
22893 (acosh_test): Likewise.
22894 (asin_test): Likewise.
22895 (atanh_test): Likewise.
22896 (exp_test): Likewise.
22897 (exp10_test): Likewise.
22898 (exp2_test): Likewise.
22899 (expm1_test): Likewise.
22900 (lgamma_test): Likewise.
22901 (log_test): Likewise.
22902 (log10_test): Likewise.
22903 (log1p_test): Likewise.
22904 (log2_test): Likewise.
22905 (pow_test): Do not allow some spurious overflow exceptions.
22906 (sqrt_test): Add more tests.
22907 (tgamma_test): Likewise.
22908 (y0_test): Likewise.
22909 (y1_test): Likewise.
22910 (yn_test): Likewise.
22911
dd62fda6
AB
229122012-03-27 Anton Blanchard <anton@samba.org>
22913
22914 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22915 MAP_HUGETLB.
22916 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22917 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22918 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22919
1e3cdfda
AJ
229202012-03-27 David S. Miller <davem@davemloft.net>
22921
b855ab85
DM
22922 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22923
1e3cdfda
AJ
22924 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22925 have-as-vis3 check.
22926
229272012-03-27 Andreas Jaeger <aj@suse.de>
22928
22929 * sysdeps/x86_64/elf/configure.in: Moved to ...
22930 * sysdeps/x86_64/configure.in: ... here.
22931 * sysdeps/x86_64/elf/start.S: Moved to ...
22932 * sysdeps/x86_64/start.S: ... here.
22933 * sysdeps/x86_64/elf/configure: Delete.
22934
22935 * sysdeps/x86_64/configure.in: Merge contents from
22936 sysdeps/i386/configure.in (without i686 check).
22937
22938 * sysdeps/i386/elf/Versions: Merge into ...
22939 * sysdeps/i386/Versions: ... this.
22940 * sysdeps/i386/elf/Versions: Delete file.
22941 * sysdeps/i386/elf/start.S: Moved to ...
22942 * sysdeps/i386/start.S: ...here.
22943 * sysdeps/i386/elf/configure.in: Merge into...
22944 * sysdeps/i386/configure.in: ...here.
22945 * sysdeps/i386/elf/configure.in: Delete file.
22946 * sysdeps/i386/elf/configure: Delete file.
22947
22948 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22949 * debug/backtracesyms.c: ... here.
22950 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22951 * debug/backtracesymsfd.c: ... here.
22952 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22953 * sysdeps/generic/ifunc-sel.h: ... here.
22954
22955 * sysdeps/unix/i386/start.c: Delete file.
22956 * sysdeps/unix/sparc/start.c: Delete file.
22957 * sysdeps/unix/start.c: Delete file.
22958
22959 * sysdeps/sh/elf/configure.in: Moved to ...
22960 * sysdeps/sh/configure.in: ... here.
22961 * sysdeps/sh/elf/start.S: Moved to ...
22962 * sysdeps/sh/start.S: ... here.
22963 * sysdeps/sh/elf/configure: Delete file.
22964
22965 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22966 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22967 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22968 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22969 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22970 * sysdeps/powerpc/powerpc64/start.S: here.
22971 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22972 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22973 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22974 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22975 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22976
22977 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22978 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22979 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22980 * sysdeps/powerpc/powerpc32/start.S: ... here.
22981 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22982 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22983 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22984
22985 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22986 * sysdeps/powerpc/ifunc-sel.h: ... here.
22987 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22988 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22989
22990 * sysdeps/sparc/elf/configure.in: Moved to ...
22991 * sysdeps/sparc/configure.in: ... here.
22992 * sysdeps/sparc/elf/configure: Delete file.
22993 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22994 * sysdeps/sparc/sparc32/start.S: ... here.
22995 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22996 * sysdeps/sparc/sparc64/start.S: ... here.
22997 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22998 * sysdeps/sparc/sparc32/Makefile: ... this.
22999 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23000 * sysdeps/sparc/sparc64/Makefile: ... this.
23001
23002 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23003 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23004 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23005 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23006 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23007 * sysdeps/s390/s390-32/setjmp.S: ... here.
23008 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23009 * sysdeps/s390/s390-32/configure.in: ... here.
23010 * sysdeps/s390/s390-32/elf/configure: Delete file.
23011 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23012 * sysdeps/s390/s390-32/start.S: ... here.
23013
23014 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23015 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23016 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23017 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23018 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23019 * sysdeps/s390/s390-64/setjmp.S: ... here.
23020 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23021 * sysdeps/s390/s390-64/configure.in: ... here
23022 * sysdeps/s390/s390-64/elf/configure: Delete file.
23023 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23024 * sysdeps/s390/s390-64/start.S: ... here.
23025 * sysdeps/s390/s390-64/elf/configure: Delete.
23026
23027 * configure.in: Remove support for elf directories in sysdeps.
23028
23029 * configure: Regenerated.
23030 * sysdeps/i386/configure: Regenerated.
23031 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23032 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23033 * sysdeps/s390/s390-32/configure: Regenerated.
23034 * sysdeps/s390/s390-64/configure: Regenerated.
23035 * sysdeps/sh/configure: Regenerated.
23036 * sysdeps/sparc/configure: Regenerated.
23037 * sysdeps/x86_64/configure: Regenerated.
23038
a3f61311
AS
230392012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23040
c876e002
AS
23041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23042
a3f61311
AS
23043 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23044 denormal result into account.
23045
ac4c54f0
RM
230462012-03-25 Roland McGrath <roland@hack.frob.com>
23047
23048 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23049 Reported by Allan McRae <allan@archlinux.org>.
23050
6a9b9c02
JL
230512012-03-23 Jeff Law <law@redhat.com>
23052
23053 * nss/getnssent.c (__nss_getent): Fix typo.
23054
4c42a0c1
DM
230552012-03-23 David S. Miller <davem@davemloft.net>
23056
23057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23058
1532c7ac
L
230592012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23060
23061 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23062 to pad to uint64_t for each field.
23063 (dl_tls_index): Replace unsigned long with uint64_t.
23064
3ff42526
PP
230652012-03-23 Daniel Jacobowitz <dmj@google.com>
23066 Paul Pluzhnikov <ppluzhnikov@google.com>
23067
23068 [BZ #6528]
23069 * grp/Makefile (otherlibs): Don't set it.
23070 * inet/Makefile (otherlibs): Likewise.
23071 * login/Makefile (otherlibs): Likewise.
23072 * nscd/Makefile (otherlibs): Likewise.
23073 * posix/Makefile (otherlibs): Likewise.
23074 * pwd/Makefile (otherlibs): Likewise.
23075 * rt/Makefile (otherlibs): Likewise.
23076 * sunrpc/Makefile (otherlibs): Likewise.
23077 * nss/Makefile (otherlibs): Likewise.
23078 Add libnss_files to routines and static-only-routines.
23079 ($(objpfx)getent): Remove rule.
23080 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23081 static-only-routines.
23082
7c69cd14
JM
230832012-03-22 Joseph Myers <joseph@codesourcery.com>
23084
23085 [BZ #13892]
23086 * math/s_cexp.c: Include <float.h>.
23087 (__cexp): Handle exp result overflowing not necessarily
23088 overflowing both real and imaginary parts of result.
23089 * math/s_cexpf.c: Likewise.
23090 * math/s_cexpl.c: Likewise.
23091 * math/libm-test.inc (cexp_test): Add more tests.
23092 * sysdeps/i386/fpu/libm-test-ulps: Update.
23093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23094
81b035fe
L
230952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23096
23097 * include/link.h (ELFW): New macro.
23098 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23099 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23100
1da7940c
L
231012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23102
23103 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23104 with uint64_t.
23105
b749dbb9
L
231062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23107
23108 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23109 declaration.
23110 (struct La_x32_retval): Likewise.
23111
2ff87f3f
L
231122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23113
23114 * sysdeps/x86_64/preconfigure.in: New file.
23115 * sysdeps/x86_64/preconfigure: New generated file.
23116
c0df8e69
JM
231172012-03-22 Joseph Myers <joseph@codesourcery.com>
23118
48e44791
JM
23119 [BZ #13824]
23120 * math/e_exp2l.c: Include <float.h>.
23121 (__ieee754_exp2l): Handle overflow and underflow cases
23122 separately. Only pass fractional part of argument to
23123 __ieee754_expl.
23124 * math/libm-test.inc (exp2_test): Add more tests.
23125
c0df8e69
JM
23126 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23127 negating x to take absolute value.
23128 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23129 Likewise.
23130 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23131 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23132 Likewise.
23133 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23134 computing low part if x was negated.
23135 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23136
c8e43ba7
L
231372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23138
23139 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23140 la_x32_gnu_pltexit.
23141 (pltexit): Cast int_retval to ptrdiff_t.
23142 * elf/tst-auditmod3b.c: Likewise.
23143 * elf/tst-auditmod4b.c: Likewise.
23144 * elf/tst-auditmod5b.c: Likewise.
23145 * elf/tst-auditmod6b.c: Likewise.
23146 * elf/tst-auditmod6c.c: Likewise.
23147 * elf/tst-auditmod7b.c: Likewise.
23148
23149 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23150 and x32_gnu_pltexit.
23151
23152 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23153 __ELF_NATIVE_CLASS.
23154 (La_x32_regs): New macro.
23155 (La_x32_retval): Likewise.
23156 (la_x32_gnu_pltenter): New function prototype.
23157 (la_x32_gnu_pltexit): Likewise.
23158
7998fa78
AS
231592012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23160
dcb33988
AS
23161 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23162 exponent.
23163
233fc563
AS
23164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23165
7998fa78
AS
23166 * configure.in (libc_cv_cc_nofma): Check for option to disable
23167 generation of FMA instructions.
23168 * configure: Regenerate.
23169 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23170 * sysdeps/ieee754/dbl-64/Makefile: New file.
23171 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23172 Remove brandred-fma4.
23173 (CFLAGS-brandred-fma4.c): Remove.
23174 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23175 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23176 define.
23177 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23178 define.
23179
8e95c99a
L
231802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23181
23182 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23183 LLONG_MAX != LONG_MAX.
23184 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23185 (_fitoa_word): Likewise.
23186 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23187 LLONG_MAX != LONG_MAX.
23188 * stdio-common/_itowa.h: Include <_itoa.h>.
23189 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23190 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23191 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23192 only if not defined.
23193 (_ITOA_WORD_TYPE): Likewise.
23194 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23195 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23196
6f4db457
DM
231972012-03-21 David S. Miller <davem@davemloft.net>
23198
23199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23200
7785fe5a
L
232012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23202
23203 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23204 of x86_64 when setting libc_cv_slibdir, libdir and
23205 libc_cv_localedir.
23206 * sysdeps/unix/sysv/linux/configure: Regenerated.
23207
4535cd55
JM
232082012-03-21 Joseph Myers <joseph@codesourcery.com>
23209
23210 * manual/lang.texi (Old Varargs): Remove section.
23211 (How Variadic): Update menu.
23212 (va_start): Do not mention varargs.h.
23213
17228132
TS
232142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23215 Joseph Myers <joseph@codesourcery.com>
23216
23217 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23218 link test.
23219 * configure: Regenerated.
23220
8149f976
TS
232212012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23222
05f3d1f6
UD
23223 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23224 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23225 conformtest.pl
8149f976 23226
1a4ac776
JM
232272012-03-21 Joseph Myers <joseph@codesourcery.com>
23228
be22ce65
JM
23229 * NOTES: Remove.
23230 * Makefile (files-for-dist): Remove NOTES.
23231 (NOTES): Remove rule.
23232 * README: Don't refer to NOTES.
23233 * manual/creature.texi: Don't include macros.texi.
23234 * manual/intro.texi (creature.texi): Remove comment referring to
23235 NOTES.
23236
40b601fb
JM
23237 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23238 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23239 * configure: Regenerated.
23240 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23241 LIBC_TRY_CC_OPTION.
23242 (libc_cv_as_i686): Likewise.
23243 (libc_cv_cc_avx): Likewise.
23244 (libc_cv_cc_sse2avx): Likewise.
23245 (libc_cv_cc_fma4): Likewise.
23246 (libc_cv_cc_novzeroupper): Likewise.
23247 * sysdeps/i386/configure: Regenerated.
23248
1a4ac776
JM
23249 [BZ #13883]
23250 * sysdeps/i386/fpu/s_cexp.S: Remove.
23251 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23252 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23253 * math/libm-test.inc (cexp_test): Add more tests.
23254 * sysdeps/i386/fpu/libm-test-ulps: Update.
23255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23256
a458e7fe
AM
232572012-03-21 Allan McRae <allan@archlinux.org>
23258
23259 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23260
0cb7efc5
JM
232612012-03-21 Joseph Myers <joseph@codesourcery.com>
23262
23263 [BZ #13871]
23264 * math/w_exp2.c: Do not include <float.h>.
23265 (o_threshold, u_threshold): Remove.
23266 (__exp2): Calculate result before checking finiteness and calling
23267 __kernel_standard.
23268 * math/w_exp2f.c: Likewise.
23269 * math/w_exp2l.c: Likewise.
23270 * math/libm-test.inc (exp2_test): Require overflow exception for
23271 1e6 input.
2460d3aa
JM
23272
23273 [BZ #3866]
23274 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23275 range of signed 64-bit integers before using fistpll. Remove
23276 checks for whether integers fit in mantissa bits.
23277 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23278 the range of signed 32-bit integers before using fistpl. Remove
23279 checks for whether integers fit in mantissa bits.
23280 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23281 (__ieee754_powl): Test for y outside the range of signed 64-bit
23282 integers before using fistpll. Reduce 64-bit values to 63-bit
23283 ones as needed.
23284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23285 divide-by-zero is raised for zero to large negative powers.
23286 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23287 (__ieee754_powl): Test for y outside the range of signed 64-bit
23288 integers before using fistpll. Reduce 64-bit values to 63-bit
23289 ones as needed.
23290 * math/libm-test.inc (pow_test): Add more tests.
23291
eb96ffb0
L
232922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23293
23294 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23295 <stdio-common/_itoa.h>.
23296 * debug/segfault.c: Likewise.
23297 * elf/dl-cache.c: Likewise.
23298 * elf/dl-minimal.c: Likewise.
23299 * elf/dl-misc.c: Likewise.
23300 * elf/dl-sysdep.c: Likewise.
23301 * elf/dl-version.c: Likewise.
23302 * elf/rtld.c: Likewise.
23303 * hurd/hurdsock.c: Likewise.
23304 * hurd/lookup-retry.c: Likewise.
23305 * malloc/malloc.c: Likewise.
23306 * malloc/mtrace.c: Likewise.
23307 * nscd/nscd_getgr_r.c: Likewise.
23308 * nscd/nscd_getpw_r.c: Likewise.
23309 * nscd/nscd_getserv_r.c: Likewise.
23310 * posix/getopt_init.c: Likewise.
23311 * posix/wordexp.c: Likewise.
23312 * stdio-common/_itoa.c: Likewise.
23313 * stdio-common/printf_fphex.c: Likewise.
23314 * stdio-common/vfprintf.c: Likewise.
23315 * string/_strerror.c: Likewise.
23316 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23317 * sysdeps/i386/i686/hp-timing.h: Likewise.
23318 * sysdeps/mach/_strerror.c: Likewise.
23319 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23320 * sysdeps/mach/hurd/sethostid.c: Likewise.
23321 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23322 * sysdeps/mach/xpg-strerror.c: Likewise.
23323 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23324 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23325 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23326 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23327 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23328 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23329 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23330 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23331 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23332 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23333 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23334 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23335 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23336 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23337 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23338 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23339 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23340 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23341 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23342 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23343 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23344
23345 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23346
23347 * stdio-common/_itoa.h: Moved to ...
23348 * sysdeps/generic/_itoa.h: Here.
23349
23350 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23351
23352 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23353 instead of "_itoa.h" and "_itowa.h".
23354 * stdio-common/vfprintf.: Likewise.
23355
d1af992d
L
233562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23357
23358 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23359 <bits/wordsize.h>.
23360 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23361 (__signbit): Likwise.
23362 (llrintf): Likwise.
23363 (llrint): Likwise.
23364
114883e0
L
233652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23366
23367 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23368 __WORDSIZE != 64.
23369
c135cc1b
JM
233702012-03-20 Joseph Myers <joseph@codesourcery.com>
23371
23372 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23373 OVERFLOW_EXCEPTION_OK.
23374 * math/libm-test.inc ("Philosophy"): Update comment about
23375 exception testing.
23376 (OVERFLOW_EXCEPTION): Define.
23377 (OVERFLOW_EXCEPTION_OK): Likewise.
23378 (INVALID_EXCEPTION_OK): Renumber.
23379 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23380 (IGNORE_ZERO_INF_SIGN): Likewise.
23381 (test_exceptions): Handle FE_OVERFLOW.
23382 (exp10_test): Expect overflow exceptions.
23383 (exp2_test): Likewise.
23384 (expm1_test): Likewise.
23385 (nextafter_test): Likewise.
23386 (pow_test): Likewise.
23387 (scalbn_test): Likewise.
23388 (scalbln_test): Likewise.
23389
95443d88
L
233902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23391
23392 * sysdeps/x86_64/bits/atomic.h
23393 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23394 64bit integer.
23395 (atomic_exchange_acq): Likewise.
23396 (__arch_exchange_and_add_body): Likewise.
23397 (__arch_add_body): Likewise.
23398 (atomic_add_negative): Likewise.
23399 (atomic_add_zero): Likewise.
23400
490df6c4
L
234012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23402
c2722551 23403 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
23404 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23405
5e52b189
L
234062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23407
23408 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23409 Check __x86_64__ instead of __WORDSIZE.
23410
a9879d4c
L
234112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23412
23413 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23414
5df98260
DM
234152012-03-19 David S. Miller <davem@davemloft.net>
23416
e1497744
DM
23417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23418
5df98260
DM
23419 * sysdeps/sparc/fpu/fenv_private.h: New file.
23420 * sysdeps/sparc/fpu/math_private.h: Use it.
23421 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23422 Remove.
23423 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23424 (libc_feholdexcept_setroundl): Remove.
23425 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23426 Remove.
23427 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23428 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23429
b4c35121
L
234302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23431
23432 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23433 int64_t instead of long int.
23434 (INSERT_WORDS64): Likwise.
23435
56965fd7
L
234362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23437
23438 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23439 _Unwind_GetCFA return to _Unwind_Ptr first.
23440
83d1aec8
JM
234412012-03-19 Joseph Myers <joseph@codesourcery.com>
23442
1897ad44
JM
23443 [BZ #13629]
23444 * math/s_clog.c: Include <float.h>.
23445 (__clog): Scale large or subnormal inputs.
23446 * math/s_clogf.c: Likewise.
23447 * math/s_clogl.c: Likewise.
23448 * math/s_clog10.c: Include <float.h>.
23449 (M_LOG10_2): Define.
23450 (__clog10): Scale large or subnormal inputs.
23451 * math/s_clog10f.c: Likewise.
23452 * math/s_clog10l.c: Likewise.
23453 * math/libm-test.inc (clog_test): Add more tests.
23454 (clog10_test): Likewise.
23455 * sysdeps/i386/fpu/libm-test-ulps: Update.
23456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23457
7726d6a9
JM
23458 [BZ #11451]
23459 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23460 x and y.
23461 * math/libm-test.inc (atan2_test): Add another test.
23462
83d1aec8
JM
23463 * Makerules (common-objdir-compile): Remove.
23464 * sysdeps/unix/Makefile (config-generated): Do not add
23465 $(unix-generated) to variable.
23466 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23467 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23468 Remove rule.
23469 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23470 Likewise.
23471 [generic bits/local_lim.h] (before-compile): Do not append to
23472 variable.
23473 [generic bits/local_lim.h] (common-generated): Likewise.
23474 [generic sys/param.h] (before-compile): Do not append to variable.
23475 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23476 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23477 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23478 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23479 include.
23480 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23481 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23482 [generic sys/param.h] ($(addprefix
23483 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23484 [generic sys/param.h] (common-generated): Do not append to
23485 variable.
23486 [generic sys/param.h] (sysdep_headers): Likewise.
23487 [generic bits/errno.h] (before-compile): Do not append to
23488 variable.
23489 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23490 rule.
23491 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23492 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23493 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23494 [generic bits/errno.h] (common-generated): Do not append to
23495 variable.
23496 [generic bits/ioctls.h] (before-compile): Do not append to
23497 variable.
23498 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23499 rule.
23500 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23501 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23502 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23503 rule.
23504 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23505 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23506 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23507 [generic bits/ioctls.h] (common-generated): Do not append to
23508 variable.
23509 [generic sys/syscall.h] (syscall.h): Remove variable.
23510 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23511 rule.
23512 [generic sys/syscall.h] (before-compile): Do not append to
23513 variable.
23514 [generic sys/syscall.h] (common-generated): Likewise.
23515 * sysdeps/unix/errnos-tmpl.c: Remove file.
23516 * sysdeps/unix/errnos.awk: Likewise.
23517 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23518 * sysdeps/unix/ioctls.awk: Likewise.
23519 * sysdeps/unix/mk-local_lim.c: Likewise.
23520 * sysdeps/unix/snarf-ioctls: Likewise.
23521
4851a949
RH
235222012-03-19 Richard Henderson <rth@twiddle.net>
23523
bd37f2ee
RH
23524 * sysdeps/i386/fpu/fenv_private.h: New file.
23525 * sysdeps/i386/fpu/math_private.h: Use it.
23526 (math_opt_barrier, math_force_eval): Remove.
23527 (libc_feholdexcept_setround_53bit): Remove.
23528 (libc_feupdateenv_53bit): Remove.
23529 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23530 (math_opt_barrier, math_force_eval): Remove.
23531 (libc_feholdexcept): Remove.
23532 (libc_feholdexcept_setround): Remove.
23533 (libc_fetestexcept, libc_fesetenv): Remove.
23534 (libc_feupdateenv_test): Remove.
23535 (libc_feupdateenv, libc_feholdsetround): Remove.
23536 (libc_feresetround): Remove.
23537
d0adc922
RH
23538 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23539 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23540
0fe0f1f8
RH
23541 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23542 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23543 (libc_feupdateenv_testl): New.
23544 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23545 (libc_feupdateenv_testf): New.
23546 (libc_feupdateenv): Use libc_feupdateenv_test.
23547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23548 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23549
eb92c487
RH
23550 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23551 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23552 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23553 (libc_feresetround_noex): New.
23554 (libc_feresetround_noexf): New.
23555 (libc_feresetround_noexl): New.
23556 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23557 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23558 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23559 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23560 SET_RESTORE_ROUND.
23561 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23562 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23563 (__cos): Likewise.
23564 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23565 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23566 SET_RESTORE_ROUND_NOEX.
23567 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23568 SET_RESTORE_ROUND_NOEXF.
23569 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23570 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23571 (libc_feholdsetroundf): New.
23572 (libc_feresetround, libc_feresetroundf): New.
23573
7d2e8012
RH
23574 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23575 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23576 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23577
b4dabbb4
RH
23578 * sysdeps/generic/math_private.h: Include <fenv.h>.
23579 (default_libc_feholdexcept): New.
23580 (default_libc_feholdexcept_setround): New.
23581 (default_libc_fesetenv, default_libc_feupdateenv): New.
23582 (libc_feholdexcept): Only define if undefined.
23583 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23584 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23585 (libc_feholdexcept_setroundl): Likewise.
23586 (libc_feholdexcept_setround_53bit): Likewise.
23587 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23588 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23589 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23590 (libc_feupdateenv_53bit): Likewise.
23591 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23592 (libc_feholdexcept): Convert from macro to inline function.
23593 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23594 (libc_fesetenv, libc_feupdateenv): Likewise.
23595
4851a949
RH
23596 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23597 not previously defined.
23598 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23599 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23600 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23601 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23602 * sysdeps/ieee754/flt-32/math_private.h: New file.
23603 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23604 math_private.h below SET_FLOAT_WORD.
23605 (__isnan, __isinf_ns, __finite): Remove.
23606 (__isnanf, __isinf_nsf, __finitef): Remove.
23607
e79d442e
AS
236082012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23609
23610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23611
90b80344
DM
236122012-03-17 David S. Miller <davem@davemloft.net>
23613
23614 [BZ #6471]
23615 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23616 for 2.16.
23617
edc21804
DM
236182012-03-16 David S. Miller <davem@davemloft.net>
23619
77e927af
DM
23620 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23621 warnings.
23622
374976dd
DM
23623 [BZ #6471]
23624 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23625 properly.
23626 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23627 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23628 sysdep_routines when subdir is sysvipc.
23629 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23630 __getshmlba helper.
23631
edc21804
DM
23632 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23633
473c3ef3
L
236342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23635
23636 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23637 [__LP64__].
23638
eb0f39b6
L
236392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23640
23641 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23642 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23643 (__lround): Renamed to ...
23644 (__llround): This. Replace long int with long long int.
23645 Define lround functions as aliases of llround functions.
23646 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23647
6b6cd74b
L
236482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23649
23650 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23651 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23652 adresses to uintptr_t. Replace "long int" and "unsigned long
23653 int" with "greg_t" on va_arg.
23654
f1a77b01
L
236552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23656
23657 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23658 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23659
23660 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23661 Move e_machine check before EI_CLASS check. Handle x32
23662 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23663 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23664 SKIP_EM_IA_64 and include
23665 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23666
23667 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23668 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23669 (add_system_dir): New macro.
23670
23671 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23672 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23673
11b90b9f
JM
236742012-03-16 Joseph Myers <joseph@codesourcery.com>
23675
c36e1d23
JM
23676 [BZ #2551]
23677 [BZ #2552]
23678 [BZ #2553]
23679 [BZ #2554]
23680 [BZ #2562]
23681 [BZ #2563]
23682 [BZ #2565]
23683 [BZ #2566]
23684 [BZ #2576]
23685 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23686 (y0): Likewise.
23687 * math/w_j0f.c (j0f): Likewise.
23688 (y0f): Likewise.
23689 * math/w_j0l.c (__j0l): Likewise.
23690 (__y0l): Likewise.
23691 * math/w_j1.c (j1): Likewise.
23692 (y1): Likewise.
23693 * math/w_j1f.c (j1f): Likewise.
23694 (y1f): Likewise.
23695 * math/w_j1l.c (__j1l): Likewise.
23696 (__y1l): Likewise.
23697 * math/w_jn.c (jn): Likewise.
23698 (yn): Likewise.
23699 * math/w_jnf.c (jnf): Likewise.
23700 (ynf): Likewise.
23701 * math/w_jnl.c (__jnl): Likewise.
23702 (__ynl): Likewise.
23703 * math/libm-test.inc (j0_test): Add more tests.
23704 (j1_test): Likewise.
23705 (jn_test): Likewise. Add trailing semicolon to existing test.
23706 (y0_test): Likewise.
23707 (y1_test): Likewise.
23708 * sysdeps/i386/fpu/libm-test-ulps: Update.
23709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23710
11b90b9f
JM
23711 [BZ #13851]
23712 [BZ #13854]
23713 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23714 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23715 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23716 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23717 (__tanl): Set errno for infinite argument.
23718 * sysdeps/i386/fpu/mptan.c: Remove.
23719 * sysdeps/i386/fpu/s_tan.S: Likewise.
23720 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23721 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23722 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23723 * math/libm-test.inc (tan_test): Add more tests and enable more
23724 tests for double and long double.
23725 * sysdeps/i386/fpu/libm-test-ulps: Update.
23726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23727
6a1bd2a1
JK
237282012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23729
23730 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23731 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23732
10a803e0
RM
237332012-03-16 Roland McGrath <roland@hack.frob.com>
23734
23735 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23736 * configure.in: Use it for both main tree and add-ons.
23737 * configure: Regenerated.
23738
f196c7f7
L
237392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23740
23741 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23742
8848d99d
JM
237432012-03-16 Joseph Myers <joseph@codesourcery.com>
23744
96cbe7f4
JM
23745 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23746 in comment.
23747
8848d99d
JM
23748 [BZ #13851]
23749 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23750 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23751 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23752 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23753 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23754 infinite argument.
23755 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23756 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23757 != 0 for prec == 2.
23758 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23759 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23760 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23761 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23762 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23763 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23764 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23765 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23766 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23767 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23768 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23769 * math/libm-test.inc (cos_test): Add more tests and enable more
23770 tests for long double.
23771 (sin_test): Likewise.
23772 (sincos_test): Likewise.
23773 * sysdeps/i386/fpu/libm-test-ulps: Update.
23774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23775
dd7f4703
DM
237762012-03-16 David S. Miller <davem@davemloft.net>
23777
23778 * sysdeps/sparc/fpu/math_private.h: New file.
23779
006f1daa
DM
237802012-03-15 David S. Miller <davem@davemloft.net>
23781
c0c83bc8
DM
23782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23783 file.
e6a62e18 23784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23786 file.
e6a62e18
DM
23787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23792 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23793 sysdep routines.
23794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23795
88cb87d9
DM
23796 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23797 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23798
006f1daa 23799 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23801 sparc-ifunc.h
006f1daa 23802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23804 Likewise.
23805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23806 Likewise.
006f1daa
DM
23807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23811 Likewise.
006f1daa
DM
23812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23817 Likewise.
23818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23819 Likewise.
006f1daa
DM
23820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23825 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23827 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23838 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23839 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23841 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23842 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23843 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23844
11e0098e
AS
238452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23846
23847 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23848 scaling.
23849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23850
e85b09d0
AJ
238512012-03-15 Andreas Jaeger <aj@suse.de>
23852
23853 [BZ #13852]
23854 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23855 ieee754/flt-32 implementation for sin, cos and sincos.
23856 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23857 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23858 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23859 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23860 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23861 ieee754/flt-32 implementation for tan.
23862
23863 * math/libm-test.inc (cos_test): Enable some large input tests for
23864 float as well
23865 (sin_test): Likewise.
23866 (sincos_test): Likewise.
23867 (tan_test): Add tests for large input.
23868
23869 * sysdeps/i386/fpu/libm-test-ulps: Update.
23870
81c64153
AJ
238712012-03-15 Andreas Jaeger <aj@suse.de>
23872
23873 [BZ #13658]
23874 * math/libm-test.inc (cos_test): Add more test cases.
23875 (sin_test): Likewise.
23876 (sincos_test): Likewise.
23877
7bbfa5c6
AJ
238782012-03-15 Andreas Jaeger <aj@suse.de>
23879
23880 [BZ #13837]
23881 * math/libm-test.inc (cos_test): Add a test case for large input
23882 value.
23883 (sin_test): Likewise.
23884 (sincos_test): Likewise.
23885
238862012-03-15 Andreas Jaeger <aj@suse.de>,
23887 Joseph Myers <joseph@codesourcery.com>
23888
23889 [BZ #13658]
0671f479 23890 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23891 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23892 * sysdeps/i386/fpu/branred.c: Likewise.
23893 * sysdeps/i386/fpu/dosincos.c: Likewise.
23894 * sysdeps/i386/fpu/mpa.c: Likewise.
23895 * sysdeps/i386/fpu/s_cos.S: Likewise.
23896 * sysdeps/i386/fpu/s_sin.S: Likewise.
23897 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23898 * sysdeps/i386/fpu/sincos32.c: Likewise.
23899
23900 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23901 Define.
23902 (libc_feupdateenv_53bit): Define.
23903 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23904 Define.
23905 (libc_feupdateenv_53bit): Define.
23906
23907 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23908 53 bit (without extend i386 double precision).
23909
23910 * math/libm-test.inc (sincos_test): Add tests for large input.
23911 (sin): Likewise.
23912 (cos): Likewise.
23913
23914 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23915
9cad04ea
AS
239162012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23917
23918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23919
f7062b9a
DM
239202012-03-15 David S. Miller <davem@davemloft.net>
23921
23922 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23923 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23924 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23925 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23938 file.
f7062b9a 23939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23941 file.
f7062b9a 23942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23944 file.
f7062b9a 23945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23947 file.
f7062b9a
DM
23948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23949 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23950 fmin/fmax sysdep routines.
23951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23952
7bd951ff
DM
239532012-03-14 David S. Miller <davem@davemloft.net>
23954
559398ab
DM
23955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23960 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23961 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23962 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23976 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23977 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23979 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23980 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23981 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23982 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23983 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23984 routines.
23985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23986 file.
559398ab 23987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23989 file.
559398ab 23990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23992 file.
559398ab 23993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23995 file.
559398ab 23996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23998 file.
559398ab 23999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
24000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24001 file.
24002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24003 file.
24004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24005 file.
24006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24007 file.
24008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24009 New file.
24010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24011 file.
24012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24013 file.
559398ab 24014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
24015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24016 file.
559398ab 24017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24019 file.
559398ab 24020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
24021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24022 file.
559398ab 24023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
24024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24025 VIS3 routines.
559398ab
DM
24026
24027 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24028 New file.
24029
5a1c1e32
DM
24030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24031
eae47a36
DM
24032 * sysdeps/sparc/configure.in: New file.
24033 * sysdeps/sparc/configure: Generate.
24034 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24035 * configure: Regenerate.
24036 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24037 * config.make.in (have-as-vis3): New.
24038 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24039 available use -Av9d instead of -Av9a.
24040 * sysdeps/sparc/sparc64/Makefile: Likewise.
24041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
24042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24043 New file.
24044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24045 file.
24046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24047 New file.
24048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24049 file.
eae47a36
DM
24050 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24052 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24053 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24054 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24055
c0c83bc8
DM
24056 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24057 fzeros/fnegs to load 0x80000000 into a float register instead of
24058 using the stack.
7bd951ff
DM
24059 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24060
bd951ccb
JM
240612012-03-14 Joseph Myers <joseph@codesourcery.com>
24062
24063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24064 bits/syscall.h.
24065 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24066 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24067 ($(inst_includedir)/bits/syscall.h): Remove rule.
24068 ($(objpfx)bits/syscall.d): Include instead of
24069 $(objpfx)syscall-list.d.
24070 (generated): Change syscall-list.h and syscall-list.d to
24071 bits/syscall.h and bits/syscall.d.
24072
bb4e6db2
RM
240732012-03-14 Roland McGrath <roland@hack.frob.com>
24074
24075 [BZ #13846]
24076 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24077
aa4a2ae1
JM
240782012-03-14 Joseph Myers <joseph@codesourcery.com>
24079
e456826d
JM
24080 [BZ #13841]
24081 * math/s_csqrt.c: Include <float.h>.
24082 (__csqrt): Scale large or subnormal inputs.
24083 * math/s_csqrtf.c: Likewise.
24084 * math/s_csqrtl.c: Likewise.
24085 * math/libm-test.inc (csqrt_test): Add more tests.
24086 * sysdeps/i386/fpu/libm-test-ulps: Update.
24087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24088
aa4a2ae1
JM
24089 [BZ #13840]
24090 * math/libm-test.inc (hypot_test): Add more tests.
24091
7c10fd35
DM
240922012-03-13 David S. Miller <davem@davemloft.net>
24093
24094 [BZ #13840]
24095 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24096 double-precision for the calculation instead of scaling.
24097
f453b98b
JM
240982012-03-13 Joseph Myers <joseph@codesourcery.com>
24099
24100 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24101 manipulate bits before adding and subtracting TWO52[sx].
24102 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24103 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24104 Likewise.
24105 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24106
09a3453f
DM
241072012-03-13 David S. Miller <davem@davemloft.net>
24108
8e59da90
DM
24109 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24110 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24111 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24112 rtld-global-offsets.h
24113 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24114
2a8ab7f2
DM
24115 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24116 large parameters.
24117
10f62770
DM
24118 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24119
5f0bdb18
DM
24120 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24121 'err' in the ifdef scope in which it is actually used.
24122
09a3453f
DM
24123 * nss/nss_db/db-init.c: Include string.h
24124
b4b2eb5e
DM
241252012-03-12 David S. Miller <davem@davemloft.net>
24126
98bb2f1c
DM
24127 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24128 masking out of the most significant byte of random value used.
24129 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24130 Fix coding style in previous change.
24131
b4b2eb5e
DM
24132 * sysdeps/unix/sysv/linux/kernel-features.h
24133 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24134 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24135 expression.
24136 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24137 later.
24138
6e226b09
DM
241392012-03-11 David S. Miller <davem@davemloft.net>
24140
a1bcbd40
DM
24141 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24142 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24143 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24144 for 'resultvar' otherwise things get truncated on 64-bit.
24145
cb9d6174
DM
24146 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24147 Fix masking out of the most significant byte of random value used.
24148
6e226b09
DM
24149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24150
058c132d
AS
241512012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24152
24153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24154
2d2cd515
DM
241552012-03-09 David S. Miller <davem@davemloft.net>
24156
24157 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24158 variables with appropriate CPP guards.
24159 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24160 frame pointer, not the stack pointer. Correct layout comments. Fix test
24161 on resulting framesize and the management of the outregs buffer for pltexit.
24162 Preserve floating point return values across _dl_call_pltexit call.
24163 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24164 framesize and the management of the outregs buffer for pltexit.
24165 Preserve floating point return values across _dl_call_pltexit
24166 call.
24167 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24168 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24169 (print_exit): Fix format string for return register value.
24170
9a07f9d0
JM
241712012-03-10 Joseph Myers <joseph@codesourcery.com>
24172
24173 * sunrpc/Makefile (others): Add rpcgen.
24174 ($(objpfx)rpcgen): Remove special build rule and dependency on
24175 libc.
24176 * sunrpc/rpcgen.c: New file.
24177
547b5e30
PE
241782012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24179
c524201a
PE
24180 [BZ #13673]
24181 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24182 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24183 * sysdeps/i386/crti.S: Likewise.
24184 * sysdeps/i386/crtn.S: Likewise.
24185 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24186 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24187 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24188 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24189 * sysdeps/sh/crti.S: Likewise.
24190 * sysdeps/sh/crtn.S: Likewise.
24191 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24192
7b6235f2
PE
24193 [BZ #13673]
24194 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24195 with URL.
24196 * locale/programs/locfile-kw.gperf: Likewise.
24197 * locale/programs/charmap-kw.h: Regenerated.
24198 * locale/programs/locfile-kw.h: Likewise.
24199
547b5e30
PE
24200 [BZ #13673]
24201 * intl/plural.y: Replace FSF snail mail address with URL.
24202 * intl/plural.c: Regenerated.
24203
5f0a5dae
RH
242042012-03-09 Richard Henderson <rth@twiddle.net>
24205
24206 * include/math_private.h: Remove file.
24207 * math/math_private.h: Move file ...
24208 * sysdeps/generic/math_private.h: ... here.
24209
b8c03620
RH
24210 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24211 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24212 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24213
4e234f5d 24214 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
24215 and <math_private.h>.
24216 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24217 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24218 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24219 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24220 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24221 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24222 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24223 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24224 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24225 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24227 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24228 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24229 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24230 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24231 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24232 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24233 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24234 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24235 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24236 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24237 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24238 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24240 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24241 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24242 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24243 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24244 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24245 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24246 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24247 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24248 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24249 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24250 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24251 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24252 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24253 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24254 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24255 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24256 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24257 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24258 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24259 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24260 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24261 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24262 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24263 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24264 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24265 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24266 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24267 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24268 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24269 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24270 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24271 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24272 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24273 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24274 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24275 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24276 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24277 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24278 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24279 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24280 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24281 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24282 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24283 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24284 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24285 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24286 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24287 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24288 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24289 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24290 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24292 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24293 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24294 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24295 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24296 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24297 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24298 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24299 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24300 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24303 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24304 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24305 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24306 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24307 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24308 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24309 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24310 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24311 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24312 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24313 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24314 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24315 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24316 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24317 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24318 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24319 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24320 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24321 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24322 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24323 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24324 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24325 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24326 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24327 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24328 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24329 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24330 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24331 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24332 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24333 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24334 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24335 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24336 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24337 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24338 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24339 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24340 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24341 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24342 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24343 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24344 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24345 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24346 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24347 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24348 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24349 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24350 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24351 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24352 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24353 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24354 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24355 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24356 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24357 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24358 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24359 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24360 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24361 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24362 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24363 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24364 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24365 * sysdeps/ieee754/k_standard.c: Likewise.
24366 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24367 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24368 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24369 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24370 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24371 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24372 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24373 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24374 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24375 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24376 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24377 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24378 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24379 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24380 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24381 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24382 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24383 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24384 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24385 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24386 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24387 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24388 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24389 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24390 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24391 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24392 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24393 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24394 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24395 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24396 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24397 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24398 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24399 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24400 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24401 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24402 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24403 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24404 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24405 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24406 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24407 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24408 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24409 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24410 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24411 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24412 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24413 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24414 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24415 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24416 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24417 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24418 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24419 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24420 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24421 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24422 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24423 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24424 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24425 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24426 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24427 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24428 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24429 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24430 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24431 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24432 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24433 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24434 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24435 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24436 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24437 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24438 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24439 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24440 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24442 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24443 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24444 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24445 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24446 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24447 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24448 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24449 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24450 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24451 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24452 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24453 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24454 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24455 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24456 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24457 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24458 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24459 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24460 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24461 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24462 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24463 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24464 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24465 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24466 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24467 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24468 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24469 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24470 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24471 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24472 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24473 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24474 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24475 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24476 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24477 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24478 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24479 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24480 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24481 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24482 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24483 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24484 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24485 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24486 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24487 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24488 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24489 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24490 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24491 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24492 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24493 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24494 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24495 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24496 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24497 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24498 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24499 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24500 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24501 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24502 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24503 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24504 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24505 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24506 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24507 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24508 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24509 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24510 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24511 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24512 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24513 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24514 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24515 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24516 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24517 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24518 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24519 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24520 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24521 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24522 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24523 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24524 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24525 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24526 * sysdeps/ieee754/s_lib_version.c: Likewise.
24527 * sysdeps/ieee754/s_matherr.c: Likewise.
24528 * sysdeps/ieee754/s_signgam.c: Likewise.
24529 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24530 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24531 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24532 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24533 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24534 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24535 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24536 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24537 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24538 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24539 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24540 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24541 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24542 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24543 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24544 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24545 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24546 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24547 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24548 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24549 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24550
1991fa03
JM
245512012-03-09 Joseph Myers <joseph@codesourcery.com>
24552
24553 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24554 * sunrpc/rpc_main.c: Likewise.
24555 * sunrpc/rpc_svcout.c: Likewise.
24556
60d6f5a6
DM
245572012-03-09 David S. Miller <davem@davemloft.net>
24558
24559 * include/math_private.h: New file.
24560
4962050e
JM
245612012-03-09 Joseph Myers <joseph@codesourcery.com>
24562
02a6f887
JM
24563 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24564 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24565 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24566 from <bits/socket_type.h>.
24567 (enum __socket_type): Don't define here.
24568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24570 bits/socket_type.h.
24571
c6e013c1
JM
24572 [BZ #13566]
24573 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24574 checking __USE_GNU.
24575
4962050e
JM
24576 * Makerules ($(inst_includedir)/%.h): New rule.
24577 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24578 (install-others): Remove variable setting.
24579 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24580
38842f45
RH
245812012-03-08 Richard Henderson <rth@twiddle.net>
24582
67bb6da6
RH
24583 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24584 from macro to inline function; merge with the
24585 !__LIBC_INTERNAL_MATH_INLINES version.
24586 (__ieee754_sqrtf): Likewise.
24587
15194b4b
RH
24588 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24589 to inline function.
24590 (__rintf, __floor, __floorf): Likewise.
24591
64e21ede
RH
24592 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24593 macro to inline function.
24594 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24595
38842f45
RH
24596 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24597 not <math/math_private.h>.
24598
c64bf5fe
DM
245992012-03-08 David S. Miller <davem@davemloft.net>
24600
24601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24602 copyright year.
24603 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24604
82d86f28
TS
246052012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24606
24607 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24608 normalization.
24609 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24610 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24611
aea5d727
UD
246122012-03-08 Ulrich Drepper <drepper@gmail.com>
24613
24614 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24615 be defined individually, they must be defined as a block. Define
24616 S for printing a string instead of hidint the different by using a
24617 macro for adding the 'l'.
24618 * stdio-common/tst-fphex-wide.c: Adjust.
24619
70bca0a3
MP
246202012-03-07 Marek Polacek <polacek@redhat.com>
24621
24622 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24623
65b81130
MP
246242012-03-08 Marek Polacek <polacek@redhat.com>
24625
24626 [BZ #13806]
24627 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24628 * stdio-common/tst-fphex.c: Define a few macros to make the
24629 test reusable. Use them.
24630 * stdio-common/tst-fphex-wide.c: New file.
24631
07037eeb
JM
246322012-03-08 Joseph Myers <joseph@codesourcery.com>
24633
a7a93d50
JM
24634 [BZ #6911]
24635 * manual/macros.texi (gnusystems): New macro.
24636 (nongnusystems): Likewise.
24637 (gnulinuxhurdsystems): Likewise.
24638 (gnuhurdsystems): Likewise..
24639 (gnulinuxsystems): Likewise.
24640 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24641 variants of the GNU system, not "GNU system".
24642 * manual/conf.texi: Likewise.
24643 * manual/errno.texi: Likewise. Update example of errno macro
24644 expansion.
24645 * manual/filesys.texi: Likewise.
24646 (getumask): Document as specific to GNU/Hurd.
24647 * manual/install.texi: Likewise. Reword some references to
24648 GNU/Linux.
24649 * manual/intro.texi: Likewise.
24650 * manual/io.texi: Likewise.
24651 (File Name Portability): Detail which constraints are inapplicable
24652 to all GNU systems and which are only inapplicable to GNU/Hurd.
24653 * manual/job.texi: Likewise.
24654 * manual/llio.texi: Likewise.
24655 (O_NOCTTY): Document as present on GNU/Linux.
24656 * manual/maint.texi: Likewise.
24657 * manual/memory.texi: Likewise.
24658 * manual/pattern.texi: Likewise.
24659 * manual/pipe.texi: Likewise.
24660 * manual/process.texi: Likewise.
24661 * manual/resource.texi: Likewise.
24662 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24663 child on GNU/Hurd.
24664 * manual/setjmp.texi: Likewise.
24665 * manual/signal.texi: Likewise.
24666 * manual/startup.texi: Likewise.
24667 * manual/stdio.texi: Likewise.
24668 * manual/terminal.texi: Likewise.
24669 (ONLCR): Document as POSIX.
24670 (OXTABS): Document availability on GNU/Linux as XTABS.
24671 (ONOEOT): Document availability separately from other bits.
24672 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24673 * manual/time.texi: Likewise.
24674 * manual/users.texi: Likewise.
24675 * INSTALL: Regenerated.
24676 * sysdeps/gnu/errlist.c: Regenerated.
24677
07037eeb
JM
24678 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24679 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24680 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24681 puts.
24682 * configure: Regenerated.
24683
d1d3431a
JM
246842012-03-07 Joseph Myers <joseph@codesourcery.com>
24685
af6a1e37
JM
24686 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24687 default includes instead of AC_HEADER_CHECK.
24688 * sysdeps/i386/configure: Regenerated.
24689
d1d3431a
JM
24690 [BZ #10716]
24691 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24692 * math/s_cacoshf.c (__cacoshf): Likewise.
24693 * math/s_cacoshl.c (__cacoshl): Likewise.
24694 * math/s_casinh.c (__casinh): Set signs of result from argument.
24695 * math/s_casinhf.c (__casinhf): Likewise.
24696 * math/s_casinhl.c (__casinhl): Likewise.
24697 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24698 (casinh_test): Add more tests.
24699 * sysdeps/i386/fpu/libm-test-ulps: Update.
24700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24701
482ff4da
UD
247022012-03-07 Ulrich Drepper <drepper@gmail.com>
24703
872fda05
UD
24704 * po/zh_TW.po: Update from translation team.
24705
a4300c7a
UD
24706 * login/Makefile (distribute): Remove variable.
24707 * catgets/Makefile: Likewise.
24708 * mach/Makefile: Likewise.
24709 * malloc/Makefile: Likewise.
24710 * misc/Makefile: Likewise.
24711 * iconv/Makefile: Likewise.
24712 * nscd/Makefile: Likewise.
24713 * hurd/Makefile: Likewise.
24714 * manual/Makefile: Likewise.
24715 * locale/Makefile: Likewise.
24716 * intl/Makefile: Likewise.
24717 * conform/Makefile: Likewise.
24718 * nss/Makefile: Likewise.
24719 * time/Makefile: Likewise.
24720 * soft-fp/Makefile: Likewise.
24721 * dirent/Makefile: Likewise.
24722 * gmon/Makefile: Likewise.
24723 * po/Makefile: Likewise.
24724 * rt/Makefile: Likewise.
24725 * socket/Makefile: Likewise.
24726 * math/Makefile: Likewise.
24727 * signal/Makefile: Likewise.
24728 * debug/Makefile: Likewise.
24729 * elf/Makefile: Likewise.
24730 * timezone/Makefile: Likewise.
24731 * stdlib/Makefile: Likewise.
24732 * iconvdata/Makefile: Likewise.
24733 * sunrpc/Makefile: Likewise.
24734 * io/Makefile: Likewise.
24735 * argp/Makefile: Likewise.
24736 * inet/Makefile: Likewise.
24737 * hesiod/Makefile: Likewise.
24738 * grp/Makefile: Likewise.
24739 * csu/Makefile: Likewise.
24740 * wctype/Makefile: Likewise.
24741 * crypt/Makefile: Likewise.
24742 * libio/Makefile: Likewise.
24743 * string/Makefile: Likewise.
24744 * nis/Makefile: Likewise.
24745 * resolv/Makefile: Likewise.
24746 * stdio-common/Makefile: Likewise.
24747 * wcsmbs/Makefile: Likewise.
24748 * dlfcn/Makefile: Likewise.
24749 * posix/Makefile: Likewise.
24750
3b7c4e74 24751 [BZ #6959]
482ff4da
UD
24752 * timezone/Makefile: Don't install timezone files, just the programs
24753 and scripts.
24754
f72ed77d
UD
247552012-03-06 Ulrich Drepper <drepper@gmail.com>
24756
a000466f
UD
24757 * nss/databases.def: Add missing gshadow entry.
24758
f72ed77d
UD
24759 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24760
a53b7a4e
MP
247612012-03-06 Marek Polacek <polacek@redhat.com>
24762
24763 [BZ #13726]
24764 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24765 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24766 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24767 * stdio-common/tst-long-dbl-fphex.c: New file.
24768
e9258400
DM
247692012-03-06 David S. Miller <davem@davemloft.net>
24770
24771 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24772 (set_obp_int): New function.
24773 (get_obp_int): New function.
24774 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24775 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24776 Avoid unused variable warnings on 'val' and use builtin_expect.
24777 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24778 __builtin_expect.
e9258400
DM
24779 (INLINE_CLONE_SYSCALL): Likewise.
24780
3bd2c723
DM
247812012-03-05 David S. Miller <davem@davemloft.net>
24782
24783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24784
bbb78d03
AS
247852012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24786
884c5db4
AS
24787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24788
bbb78d03
AS
24789 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24790 only for |x| >= 40.
24791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24792
1c9f702a 247932012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24794
24795 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24796 Replace gettimeofday with __vdso_gettimeofday.
24797
7be16f82
RM
24798 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24799 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24800 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24801
24802 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24803 time with __vdso_time.
24804
ed58a00f
JM
248052012-03-05 Joseph Myers <joseph@codesourcery.com>
24806
24807 * manual/lang.texi (size_t): Note types to which size_t may be
24808 equivalent with the GNU C Library, but do not describe when
24809 differences between them are significant.
24810
30ee4ced
AJ
248112012-03-05 Andreas Jaeger <aj@suse.de>
24812
24813 * sysdeps/i386/fpu/libm-test-ulps: Update.
24814
b7cd39e8
JM
248152012-03-05 Joseph Myers <joseph@codesourcery.com>
24816
24817 [BZ #3976]
24818 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24819 (__ieee754_pow): Save and restore rounding mode and use
24820 round-to-nearest for main computations.
24821 * math/libm-test.inc (pow_test_tonearest): New function.
24822 (pow_test_towardzero): Likewise.
24823 (pow_test_downward): Likewise.
24824 (pow_test_upward): Likewise.
24825 (main): Call the new functions.
24826 * sysdeps/i386/fpu/libm-test-ulps: Update.
24827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24828
24829 [BZ #3976]
24830 * math/libm-test.inc (cosh_test_tonearest): New function.
24831 (cosh_test_towardzero): Likewise.
24832 (cosh_test_downward): Likewise.
24833 (cosh_test_upward): Likewise.
24834 (sinh_test_tonearest): Likewise.
24835 (sinh_test_towardzero): Likewise.
24836 (sinh_test_downward): Likewise.
24837 (sinh_test_upward): Likewise.
24838 (main): Call the new functions.
24839 * sysdeps/i386/fpu/libm-test-ulps: Update.
24840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24841
6c6a98c9
TV
248422012-03-05 Tom de Vries <tom@codesourcery.com>
24843
24844 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24845 default stack guard is set in last bytes.
24846 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24847
21bb2d2e 248482012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24849
21bb2d2e 24850 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24851
21bb2d2e
AJ
24852 [BZ #13656]
24853 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24854 possibly allocate from heap instead of stack.
24855 * stdio-common/bug-vfprintf-nargs.c: New file.
24856 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24857
c6922934
AS
248582012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24859
24860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24861
bc957d53
MP
248622012-03-03 Marek Polacek <polacek@redhat.com>
24863
24864 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24865 * math/math_private.h: Likewise.
24866 * stdlib/tst-strtod.c: Likewise.
24867 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24868 * sysdeps/x86_64/bits/atomic.h: Likewise.
24869
6358490d
DM
248702012-03-02 David S. Miller <davem@davemloft.net>
24871
24872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24876 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24877 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24878 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24879 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24880
01ae168d
RM
248812012-03-02 Roland McGrath <roland@hack.frob.com>
24882
d9a17c07
RM
24883 [BZ #13792]
24884 * manual/examples/README: New file, says the example source files
24885 can be used under GPL>=2.
24886 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24887 line containing just "*/".
24888 * manual/examples/add.c: Add copyright header (GPL>=2).
24889 * manual/examples/argp-ex1.c: Likewise.
24890 * manual/examples/argp-ex2.c: Likewise.
24891 * manual/examples/argp-ex3.c: Likewise.
24892 * manual/examples/argp-ex4.c: Likewise.
24893 * manual/examples/atexit.c: Likewise.
24894 * manual/examples/db.c: Likewise.
24895 * manual/examples/dir.c: Likewise.
24896 * manual/examples/dir2.c: Likewise.
24897 * manual/examples/execinfo.c: Likewise.
24898 * manual/examples/filecli.c: Likewise.
24899 * manual/examples/filesrv.c: Likewise.
24900 * manual/examples/fmtmsgexpl.c: Likewise.
24901 * manual/examples/genpass.c: Likewise.
24902 * manual/examples/inetcli.c: Likewise.
24903 * manual/examples/inetsrv.c: Likewise.
24904 * manual/examples/isockad.c: Likewise.
24905 * manual/examples/longopt.c: Likewise.
24906 * manual/examples/memopen.c: Likewise.
24907 * manual/examples/memstrm.c: Likewise.
24908 * manual/examples/mkfsock.c: Likewise.
24909 * manual/examples/mkisock.c: Likewise.
24910 * manual/examples/mygetpass.c: Likewise.
24911 * manual/examples/pipe.c: Likewise.
24912 * manual/examples/popen.c: Likewise.
24913 * manual/examples/rprintf.c: Likewise.
24914 * manual/examples/search.c: Likewise.
24915 * manual/examples/select.c: Likewise.
24916 * manual/examples/setjmp.c: Likewise.
24917 * manual/examples/sigh1.c: Likewise.
24918 * manual/examples/sigusr.c: Likewise.
24919 * manual/examples/stpcpy.c: Likewise.
24920 * manual/examples/strdupa.c: Likewise.
24921 * manual/examples/strftim.c: Likewise.
24922 * manual/examples/strncat.c: Likewise.
24923 * manual/examples/subopt.c: Likewise.
24924 * manual/examples/swapcontext.c: Likewise.
24925 * manual/examples/termios.c: Likewise.
24926 * manual/examples/testopt.c: Likewise.
24927 * manual/examples/testpass.c: Likewise.
24928 * manual/examples/timeval_subtract.c: Likewise.
24929
01ae168d
RM
24930 [BZ #13792]
24931 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24932 function to ...
24933 * manual/timeval_subtract.c.texi: ... here, new file.
24934
49efa33d
DM
249352012-03-02 David S. Miller <davem@davemloft.net>
24936
24937 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24938
28afd92d
JM
249392012-03-02 Joseph Myers <joseph@codesourcery.com>
24940
804360ed
JM
24941 [BZ #3976]
24942 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24943 (__sin): Save and restore rounding mode and use round-to-nearest
24944 for all computations.
24945 (__cos): Save and restore rounding mode and use round-to-nearest
24946 for all computations.
24947 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24948 <fenv.h>.
24949 (tan): Save and restore rounding mode and use round-to-nearest for
24950 all computations.
24951 * math/libm-test.inc (cos_test_tonearest): New function.
24952 (cos_test_towardzero): Likewise.
24953 (cos_test_downward): Likewise.
24954 (cos_test_upward): Likewise.
24955 (sin_test_tonearest): Likewise.
24956 (sin_test_towardzero): Likewise.
24957 (sin_test_downward): Likewise.
24958 (sin_test_upward): Likewise.
24959 (tan_test_tonearest): Likewise.
24960 (tan_test_towardzero): Likewise.
24961 (tan_test_downward): Likewise.
24962 (tan_test_upward): Likewise.
24963 (main): Call the new functions.
24964 * sysdeps/i386/fpu/libm-test-ulps: Update.
24965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24966
a6d06d7b
JM
24967 [BZ #10135]
24968 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24969 small n, then large n, before computing and testing k+n.
24970 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24971 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24972 Likewise.
24973 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24974 Likewise.
24975 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24976 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24977 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24978 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24979 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24980 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24981 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24982 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24983 * math/libm-test.inc (scalbn_test): Add more tests.
24984 (scalbln_test): Likewise.
24985
07e12bb3
JM
24986 * manual/filesys.texi (mode_t): Describe constraints on size and
24987 signedness, not exact equivalence to a particular type.
24988 (ino_t): Likewise.
24989 (ino64_t): Likewise.
24990 (dev_t): Likewise.
24991 (nlink_t): Likewise.
24992 (blkcnt_t): Likewise.
24993 (blkcnt64_t): Likewise.
24994 * manual/llio.texi (off_t): Likewise.
24995
28afd92d
JM
24996 [BZ #3976]
24997 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24998 (__ieee754_exp): Save and restore rounding mode and use
24999 round-to-nearest for all computations.
25000 * math/libm-test.inc (exp_test_tonearest): New function.
25001 (exp_test_towardzero): Likewise.
25002 (exp_test_downward): Likewise.
25003 (exp_test_upward): Likewise.
25004 (main): Call the new functions.
25005 * sysdeps/i386/fpu/libm-test-ulps: Update.
25006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25007
b1eeb65d
CD
250082012-03-01 Chris Demetriou <cgd@google.com>
25009
25010 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25011 have predictable order.
25012
53362a4b
DM
250132012-03-01 David S. Miller <davem@davemloft.net>
25014
3c969083
DM
25015 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25016
759707de
DM
25017 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25018 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25019 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25020 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25021
dfdb8ff2
DM
25022 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25023 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25024 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25026 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25027 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25028 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25029 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25030 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25031
ead89f96
DM
25032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25033
7f66bd07
DM
25034 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25035 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25036 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25037
53362a4b
DM
25038 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25039 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25040 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25041 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25042 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25043 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25044 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25045 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25046 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25047 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25048 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25049 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25050 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25051 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25052 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25054 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25055 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25056 * sysdeps/sparc/elf/configure: Regenerated.
25057
7b1902cb
JM
250582012-03-01 Joseph Myers <joseph@codesourcery.com>
25059
bec039bc
JM
25060 * configure.in (AS, LD): Require binutils 2.20 or later.
25061 * configure: Regenerated.
25062 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25063 as required minimum version.
25064 * INSTALL: Regenerated.
25065
7b1902cb
JM
25066 [BZ #2541]
25067 [BZ #4108]
25068 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25069 before squaring exponent.
25070 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25071 bottom long double and 27 bits of top long double before squaring
25072 exponent.
25073 * math/libm-test.inc (erfc_test): Add more tests.
25074 * sysdeps/i386/fpu/libm-test-ulps: Update.
25075 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25077
f775c276
KT
250782012-03-01 Kai Tietz <ktietz@redhat.com>
25079
25080 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25081 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25082 containing bit-fields.
25083 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25084 * soft-fp/single.h (_FP_UNION_S): Likewise.
25085 * soft-fp/double.h (_FP_UNION_D): Likewise.
25086
5b8a4d4a
JM
250872012-02-29 Joseph Myers <joseph@codesourcery.com>
25088
0bab47b6
JM
25089 [BZ #13786]
25090 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25091 not include ../strcmp.S.
25092 [USE_AS_STRNCASECMP_L]: Likewise.
25093 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25094 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25095 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25096 (__strncasecmp_l_ia32): Define as alias to
25097 __strncasecmp_l_nonascii.
25098
0fcad3e2
JM
25099 [BZ #5794]
25100 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25101 * sysdeps/i386/fpu/libm-test-ulps: Update.
25102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25103
5b8a4d4a
JM
25104 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25106
8fdceb2e
JL
251072012-02-29 Jeff Law <law@redhat.com>
25108
25109 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25110 out of bounds read.
25111
1f393a11
MP
251122012-02-29 Marek Polacek <polacek@redhat.com>
25113
25114 [BZ #13706]
25115 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25116 * elf/Makefile: Add rules to run tst-unused-dep.out.
25117
8847f037
DM
251182012-02-28 David S. Miller <davem@davemloft.net>
25119
25120 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25121 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25122 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25123 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25124 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25125 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25126
169d7f11
JM
251272012-02-29 Joseph Myers <joseph@codesourcery.com>
25128
25129 * math/libm-test.inc (llround_test): Move one test from
25130 lround_test. Use TEST_f_L in moved test.
25131 (lround_test): Move misplaced test to llround_test. Add testcase
25132 from bug 2561.
25133
39adf059
UD
251342012-02-28 Ulrich Drepper <drepper@gmail.com>
25135
25136 * sysdeps/x86_64/fpu/e_expf.S: New file.
25137 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25138
71b5d1c5
SB
251392012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25140
25141 [BZ #13637]
25142 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25143 of remain_len that may cause incomplete multi-byte character and
25144 false match.
25145 * posix/bug-regex33.c: New file.
25146 * posix/Makefile (tests): Add bug-regex33.
25147
1f77f049
JM
251482012-02-28 Joseph Myers <joseph@codesourcery.com>
25149
25150 * manual/macros.texi: New file.
25151 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25152 * manual/libc.texinfo: Include macros.texi.
25153 * manual/creatute.texi: Likewise.
25154 * manual/install.texi: Likewise.
25155 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25156 @glibcadj{} in references to the GNU C Library.
25157 * manual/charset.texi: Likewise.
25158 * manual/conf.texi: Likewise.
25159 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25160 when not using those macros.
25161 * manual/creature.texi: Likewise.
25162 * manual/crypt.texi: Likewise.
25163 * manual/errno.texi: Likewise.
25164 * manual/filesys.texi: Likewise.
25165 * manual/header.texi: Likewise.
25166 * manual/install.texi: Likewise.
25167 * manual/intro.texi: Likewise.
25168 * manual/io.texi: Likewise.
25169 * manual/job.texi: Likewise.
25170 * manual/lang.texi: Likewise.
25171 * manual/libc.texiinfo: Likewise.
25172 * manual/llio.texi: Likewise.
25173 * manual/locale.texi: Likewise.
25174 * manual/maint.texi: Likewise.
25175 * manual/math.texi: Likewise.
25176 * manual/memory.texi: Likewise.
25177 * manual/message.texi: Likewise.
25178 * manual/nss.texi: Likewise.
25179 * manual/pattern.texi: Likewise.
25180 * manual/process.texi: Likewise.
25181 * manual/resource.texi: Likewise.
25182 * manual/search.texi: Likewise.
25183 * manual/setjmp.texi: Likewise.
25184 * manual/signal.texi: Likewise.
25185 * manual/socket.texi: Likewise.
25186 * manual/startup.texi: Likewise.
25187 * manual/stdio.texi: Likewise.
25188 * manual/string.texi: Likewise.
25189 * manual/sysinfo.texi: Likewise.
25190 * manual/syslog.texi: Likewise.
25191 * manual/terminal.texi: Likewise.
25192 * manual/time.texi: Likewise.
25193 * manual/users.texi: Likewise.
25194 * INSTALL: Regenerated.
25195 * NOTES: Regenerated.
d40c5d54 25196 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 25197
450bf206
AS
251982012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25199
25200 * include/dirent.h: Include <dirstream.h> before
25201 <dirent/dirent.h>.
25202
741a235b
DM
252032012-02-28 David S. Miller <davem@davemloft.net>
25204
25205 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25206 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25207 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25208 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25209
d6b5aa58
DM
252102012-02-27 David S. Miller <davem@davemloft.net>
25211
1aff59a3
DM
25212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25214 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25215 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25216
d6b5aa58
DM
25217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25218 frame pointer instead of stack pointer relative arg slot.
25219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25220 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25221 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25222
433f48bf
CD
252232012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25224
25225 [BZ #3992]
25226 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25227
d674b76d
DM
252282012-02-27 David S. Miller <davem@davemloft.net>
25229
25230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25234 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25235 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25236 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25237 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25238
0e7727f7
JM
252392012-02-27 Joseph Myers <joseph@codesourcery.com>
25240
25241 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25242 later. Allow versions 5-9.
43be4ca2 25243 * configure: Regenerated.
0e7727f7
JM
25244 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25245 required minimum version and 4.6 as recommended version. Do not
25246 mention bugs in GCC 2.7 and 2.8.
43be4ca2 25247 * INSTALL: Regenerated.
0e7727f7 25248
a78bc654
DM
252492012-02-27 David S. Miller <davem@davemloft.net>
25250
428d5830
DM
25251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25255 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25256 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25257 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25258 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25259
a78bc654
DM
25260 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25261 manipulate bits before adding and subtracting TWO112[sx].
25262 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25263
4579f81c
RM
252642012-02-27 Roland McGrath <roland@hack.frob.com>
25265
36c8acb4
RM
25266 [BZ #13775]
25267 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25268 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25269 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25270 being in POSIX, because they are in 1003.1-2008.
25271
84ad622b
RM
25272 * rt/tst-aio.c: Include <fcntl.h>.
25273 * rt/tst-aio7.c: Likewise.
25274 * rt/tst-aio64.c: Likewise.
25275
4579f81c
RM
25276 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25277
abd923db
JM
252782012-02-27 Joseph Myers <joseph@codesourcery.com>
25279
25280 * manual/install.texi (--with-headers): Describe headers as
25281 interface headers, not private headers.
25282 (Specific advice for GNU/Linux systems): Describe use of headers
25283 from "make headers_install", not private headers from older
25284 kernels.
43be4ca2 25285 * INSTALL: Regenerated.
abd923db
JM
25286 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25287 Change to 2.6.19.
25288 * sysdeps/unix/sysv/linux/configure: Regenerated.
25289
6664049b
JM
25290 * manual/llio.texi (fclean): Remove documentation.
25291
bb8b6697
JM
25292 * manual/Makefile (libc-texi-generated): New variable. Include
25293 version.texi.
25294 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25295 $(libc-texi-generated), not duplicated list of files.
25296 (version.texi, stamp-version): New rules.
25297 (realclean): Remove $(libc-texi-generated), not individual files
25298 from that list. Do not remove dir-add.texinfo.
25299 * manual/libc.texinfo: Comment out uses of edition numbers and
25300 references to printed manual. Remove last-updated dates.
25301 (EDITION): Comment out.
25302 (ISBN): Likewise.
25303 (VERSION, UPDATED): Remove.
25304 (version.texi): Include.
25305
12e5c3b9
AS
253062012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25307
25308 * sysdeps/posix/spawni.c: Include <signal.h>.
25309 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25310 * sysdeps/pthread/aio_fsync.c: Likewise.
25311
4efeffc1 253122012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 25313
ba63ba08
UD
25314 * conform/Makefile (tests): Run only when not cross-compiling and
25315 when fast-check is not defined.
25316
d94a4670
UD
25317 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25318 * conform/data/limits.h-data: Fixes for POSIX2008.
25319 * conform/run-conformtest.sh: Run all tests.
25320 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25321 headers.
25322 * include/bits/dlfcn.h: Likewise.
25323 * include/langinfo.h: Likewise.
25324 * include/monetary.h: Likewise.
25325 * include/sys/poll.h: Likewise.
25326
25327 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25328 for __USE_GNU.
25329 * posix/spawn.h: Define __need_sigset_t.
25330 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25331 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25332 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25333 to get sigevent_t only.
25334 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25335 only for __USE_GNU.
25336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25337 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25338 process_vm_writev only for __USE_GNU.
25339 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
25340
25341 * conform/Makefile: For now ignore errors from run-conformtest.
25342 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25343 POSIX to avoid namespace pollution. Don't prepend headers.
25344 * conform/data/aio.h-data: Fixes for POSIX testing.
25345 * conform/data/fcntl.h-data: Likewise.
25346 * conform/data/glob.h-data: Likewise.
25347 * conform/data/grp.h-data: Likewise.
25348 * conform/data/pthread.h-data: Likewise.
25349 * conform/data/pwd.h-data: Likewise.
25350 * conform/data/signal.h-data: Likewise.
25351 * conform/data/spawn.h-data: Likewise.
25352 * conform/data/stdio.h-data: Likewise.
25353 * conform/data/stdlib.h-data: Likewise.
25354 * conform/data/stropts.h-data: Likewise.
25355 * conform/data/sys/mman.h-data: Likewise.
25356 * conform/data/sys/stat.h-data: Likewise.
25357 * conform/data/sys/types.h-data: Likewise.
25358 * conform/data/sys/wait.h-data: Likewise.
25359 * conform/data/time.h-data: Likewise.
25360 * conform/data/unistd.h-data: Likewise.
25361 * conform/data/utime.h-data: Likewise.
25362
25363 * io/sys/stat.h: fchmod was always in POSIX.
25364 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25365 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25366 * rt/aio.h: Define __need_timespec before including <time.h>.
25367 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25368 struct. Add forward declaration of pthread_attr_t and use it in
25369 sigevent.
25370 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25371 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25372 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25373 always remove CLK_TCK definition.
25374
c20105c3
AS
253752012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25376
25377 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25378
7a270350
UD
253792012-02-25 Ulrich Drepper <drepper@gmail.com>
25380
31341567
UD
25381 * conform/run-conformtest.sh: New file.
25382 * conform/Makefile: Run run-conformtest for tests.
25383 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25384 support.
25385
25386 * conform/data/uchar.h-data: New file.
25387 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25388 * conform/data/arpa/inet.h-data: Likewise.
25389 * conform/data/assert.h-data: Likewise.
25390 * conform/data/complex.h-data: Likewise.
25391 * conform/data/cpio.h-data: Likewise.
25392 * conform/data/ctype.h-data: Likewise.
25393 * conform/data/dirent.h-data: Likewise.
25394 * conform/data/dlfcn.h-data: Likewise.
25395 * conform/data/errno.h-data: Likewise.
25396 * conform/data/fcntl.h-data: Likewise.
25397 * conform/data/float.h-data: Likewise.
25398 * conform/data/fmtmsg.h-data: Likewise.
25399 * conform/data/fnmatch.h-data: Likewise.
25400 * conform/data/ftw.h-data: Likewise.
25401 * conform/data/glob.h-data: Likewise.
25402 * conform/data/grp.h-data: Likewise.
25403 * conform/data/iconv.h-data: Likewise.
25404 * conform/data/inttypes.h-data: Likewise.
25405 * conform/data/langinfo.h-data: Likewise.
25406 * conform/data/libgen.h-data: Likewise.
25407 * conform/data/limits.h-data: Likewise.
25408 * conform/data/locale.h-data: Likewise.
25409 * conform/data/math.h-data: Likewise.
25410 * conform/data/monetary.h-data: Likewise.
25411 * conform/data/mqueue.h-data: Likewise.
25412 * conform/data/ndbm.h-data: Likewise.
25413 * conform/data/net/if.h-data: Likewise.
25414 * conform/data/netdb.h-data: Likewise.
25415 * conform/data/netinet/in.h-data: Likewise.
25416 * conform/data/nl_types.h-data: Likewise.
25417 * conform/data/poll.h-data: Likewise.
25418 * conform/data/pthread.h-data: Likewise.
25419 * conform/data/pwd.h-data: Likewise.
25420 * conform/data/regex.h-data: Likewise.
25421 * conform/data/sched.h-data: Likewise.
25422 * conform/data/search.h-data: Likewise.
25423 * conform/data/semaphore.h-data: Likewise.
25424 * conform/data/setjmp.h-data: Likewise.
25425 * conform/data/signal.h-data: Likewise.
25426 * conform/data/spawn.h-data: Likewise.
25427 * conform/data/stdarg.h-data: Likewise.
25428 * conform/data/stdio.h-data: Likewise.
25429 * conform/data/stdlib.h-data: Likewise.
25430 * conform/data/string.h-data: Likewise.
25431 * conform/data/strings.h-data: Likewise.
25432 * conform/data/stropts.h-data: Likewise.
25433 * conform/data/sys/ipc.h-data: Likewise.
25434 * conform/data/sys/mman.h-data: Likewise.
25435 * conform/data/sys/msg.h-data: Likewise.
25436 * conform/data/sys/resource.h-data: Likewise.
25437 * conform/data/sys/select.h-data: Likewise.
25438 * conform/data/sys/sem.h-data: Likewise.
25439 * conform/data/sys/shm.h-data: Likewise.
25440 * conform/data/sys/socket.h-data: Likewise.
25441 * conform/data/sys/stat.h-data: Likewise.
25442 * conform/data/sys/statvfs.h-data: Likewise.
25443 * conform/data/sys/time.h-data: Likewise.
25444 * conform/data/sys/timeb.h-data: Likewise.
25445 * conform/data/sys/times.h-data: Likewise.
25446 * conform/data/sys/types.h-data: Likewise.
25447 * conform/data/sys/uio.h-data: Likewise.
25448 * conform/data/sys/un.h-data: Likewise.
25449 * conform/data/sys/utsname.h-data: Likewise.
25450 * conform/data/sys/wait.h-data: Likewise.
25451 * conform/data/syslog.h-data: Likewise.
25452 * conform/data/tar.h-data: Likewise.
25453 * conform/data/termios.h-data: Likewise.
25454 * conform/data/utime.h-data: Likewise.
25455 * conform/data/utmpx.h-data: Likewise.
25456 * conform/data/varargs.h-data: Likewise.
25457 * conform/data/wchar.h-data: Likewise.
25458 * conform/data/wctype.h-data: Likewise.
25459 * conform/data/wordexp.h-data: Likewise.
25460
25461 * include/stropts.h: New file.
25462 * include/uchar.h: New file.
25463 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25464 * include/assert.h: Likewise.
25465 * include/ctype.h: Likewise.
25466 * include/dirent.h: Likewise.
25467 * include/dlfcn.h: Likewise.
25468 * include/fcntl.h: Likewise.
25469 * include/fnmatch.h: Likewise.
25470 * include/glob.h: Likewise.
25471 * include/grp.h: Likewise.
25472 * include/libio.h: Likewise.
25473 * include/locale.h: Likewise.
25474 * include/math.h: Likewise.
25475 * include/net/if.h: Likewise.
25476 * include/netdb.h: Likewise.
25477 * include/netinet/in.h: Likewise.
25478 * include/pthread.h: Likewise.
25479 * include/pwd.h: Likewise.
25480 * include/regex.h: Likewise.
25481 * include/sched.h: Likewise.
25482 * include/search.h: Likewise.
25483 * include/setjmp.h: Likewise.
25484 * include/signal.h: Likewise.
25485 * include/stdio.h: Likewise.
25486 * include/stdlib.h: Likewise.
25487 * include/string.h: Likewise.
25488 * include/sys/cdefs.h: Likewise.
25489 * include/sys/mman.h: Likewise.
25490 * include/sys/msg.h: Likewise.
25491 * include/sys/resource.h: Likewise.
25492 * include/sys/select.h: Likewise.
25493 * include/sys/socket.h: Likewise.
25494 * include/sys/stat.h: Likewise.
25495 * include/sys/statvfs.h: Likewise.
25496 * include/sys/time.h: Likewise.
25497 * include/sys/times.h: Likewise.
25498 * include/sys/uio.h: Likewise.
25499 * include/sys/utsname.h: Likewise.
25500 * include/sys/wait.h: Likewise.
25501 * include/termios.h: Likewise.
25502 * include/time.h: Likewise.
25503 * include/ulimit.h: Likewise.
25504 * include/unistd.h: Likewise.
25505 * include/utime.h: Likewise.
25506 * include/wchar.h: Likewise.
25507 * include/wctype.h: Likewise.
25508 * include/wordexp.h: Likewise.
25509
25510 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25511
7a270350
UD
25512 * time/time.h: TIME_UTC must be a macro.
25513 Make timespec_get available for ISO C11 only as well.
25514
7724defc
UD
255152012-02-24 Ulrich Drepper <drepper@gmail.com>
25516
25517 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25518 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25519
6b1d1d46
JM
255202012-02-24 Joseph Myers <joseph@codesourcery.com>
25521
25522 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25523
0f8bbd69
JM
255242012-02-24 Joseph Myers <joseph@codesourcery.com>
25525
25526 * manual/texinfo.tex: Update to version 2012-01-19.16.
25527
66ab80bc
JM
255282012-02-24 Joseph Myers <joseph@codesourcery.com>
25529
25530 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25531
74981cc5
RM
255322012-02-24 Roland McGrath <roland@hack.frob.com>
25533
ee968201
RM
25534 [BZ #13738]
25535 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25536 * manual/fdl-1.3.texi: New file.
25537 * manual/fdl-1.1.texi: File removed.
25538
74981cc5
RM
25539 [BZ #13738]
25540 * manual/libc.texinfo (FDL_VERSION): New @set.
25541 Use it for mention of FDL in cover text.
25542 (Documentation License): Use it in @include file name.
25543
7bb764bc
JM
255442012-02-22 Joseph Myers <joseph@codesourcery.com>
25545 Roland McGrath <roland@hack.frob.com>
25546
25547 [BZ #5461]
25548 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25549 not LONG_LONG_MAX and LONG_LONG_MIN.
25550 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25551 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25552 name.
25553 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25554
6cbeae47
JM
255552012-02-22 Joseph Myers <joseph@codesourcery.com>
25556
25557 [BZ #2547]
25558 [BZ #11365]
25559 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25560 manipulate bits before adding and subtracting TWO23[sx].
25561 * math/libm-test.inc (nearbyint_test): Add more tests.
25562
fe45ce09
JM
255632012-02-22 Joseph Myers <joseph@codesourcery.com>
25564
25565 [BZ #2548]
25566 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25567 bits before adding and subtracting TWO23[sx].
25568 * math/libm-test.inc (rint_test): Add more tests.
25569 (rint_test_tonearest): Likewise.
25570 (rint_test_towardzero): Likewise.
25571 (rint_test_downward): Likewise.
25572 (rint_test_upward: Likewise.
25573
ff3b3d82
JM
255742012-02-22 Joseph Myers <joseph@codesourcery.com>
25575
25576 [BZ #10110]
25577 * include/stdc-predef.h: New file. Extracted from features.h.
25578 * include/features.h: Include stdc-predef.h.
25579 * Makefile (headers): Add stdc-predef.h.
25580 * CONFORMANCE (Compiler limitations): Update.
25581
ef0aab35
JM
255822012-02-22 Joseph Myers <joseph@codesourcery.com>
25583
25584 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25585
58639409
DM
255862012-02-21 David S. Miller <davem@davemloft.net>
25587
25588 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25589 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25590
c0e70b25
DM
255912012-02-20 David S. Miller <davem@davemloft.net>
25592
25593 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25594 using a normal save/restore sequence, rather than allocating a
25595 dummy stack frame just to store a frame pointer and restore.
25596 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25597
fb06851d
JM
255982012-02-21 Joseph Myers <joseph@codesourcery.com>
25599
25600 * manual/install.texi: Fix stray word in line-wrapped comment.
25601
7a8b71c3
DM
256022012-02-20 David S. Miller <davem@davemloft.net>
25603
d510c123
DM
25604 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25605 both binutils and gcc support GOTDATA.
25606
0722d7c2
DM
25607 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25608 "rd %pc" in the PIC register setup sequences.
25609
3d2b3019
DM
25610 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25611 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25612 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25613 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25614 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25615 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25616 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25619 (SYSCALL_ERROR_HANDLER): Likewise.
25620 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25621 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25623 (SYSCALL_ERROR_HANDLER): Likewise.
25624
c80098a9
DM
25625 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25626 (HAVE_GCC_GOTDATA): New.
25627 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25628 relocation support in both binutils and gcc.
25629 * sysdeps/sparc/elf/configure: Regenerate.
25630
3a2545a0
DM
25631 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25632 * sysdeps/sparc/sparc32/elf/configure: Delete.
25633 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25634 * sysdeps/sparc/sparc64/elf/configure: Delete.
25635 * sysdeps/sparc/elf/configure.in: New file.
25636 * sysdeps/sparc/elf/configure: Generate.
25637
7a8b71c3
DM
25638 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25639 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25640 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25641 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25642 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25643
f1e86fca
JM
256442012-02-21 Joseph Myers <joseph@codesourcery.com>
25645
25646 * manual/install.texi: Do not mention specific glibc version
25647 numbers.
25648 * manual/libc.texinfo (VERSION, UPDATED): Update.
25649 (@copying): Use @copyright{} and range of years.
25650
0e7dfaef
JM
256512012-02-21 Joseph Myers <joseph@codesourcery.com>
25652
25653 [BZ #13695]
25654 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25655 [crti.S not in sysdirs] (generated): Do not append.
25656 [crti.S not in sysdirs] (omit-deps): Likewise.
25657 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25658 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25659 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25660 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25661 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25662 Likewise.
25663 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25664 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25665 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25666 * csu/defs.awk: Remove file.
25667 * sysdeps/generic/initfini.c: Likewise.
25668 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25669 variable.
25670 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25671 Likewise.
25672
599af3ca
JM
256732012-02-20 Joseph Myers <joseph@codesourcery.com>
25674
25675 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25676 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25677 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25678 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25679 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25680 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25681 <bits/epoll.h>.
25682 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25683 (__EPOLL_PACKED): Define to empty if not defined by
25684 <bits/epoll.h>.
25685 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25687 bits/epoll.h.
25688
0e499750
JM
256892012-02-20 Joseph Myers <joseph@codesourcery.com>
25690
25691 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25692 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25693 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25694 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25695 <bits/timerfd.h>.
25696 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25698 bits/timerfd.h.
25699
5ad91f6e
JM
257002012-02-20 Joseph Myers <joseph@codesourcery.com>
25701
25702 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25703 in C locale.
25704 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25705 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25706 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25708
06b99b02
AJ
257092012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25710
25711 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25712 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25713
7638c0fd
AS
257142012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25715
25716 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25717 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25718 defined.
25719 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25720 Likewise.
25721 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25722 entry for 2.16.
25723
92221550
AJ
257242012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25725
25726 * math/w_acos.c: Use non-signaling floating-point comparisons.
25727 * math/w_acosf.c: Likewise.
25728 * math/w_acosh.c: Likewise.
25729 * math/w_acoshf.c: Likewise.
25730 * math/w_acoshl.c: Likewise.
25731 * math/w_acosl.c: Likewise.
25732 * math/w_asin.c: Likewise.
25733 * math/w_asinf.c: Likewise.
25734 * math/w_asinl.c: Likewise.
25735 * math/w_atanh.c: Likewise.
25736 * math/w_atanhf.c: Likewise.
25737 * math/w_atanhl.c: Likewise.
25738 * math/w_exp2.c: Likewise.
25739 * math/w_exp2f.c: Likewise.
25740 * math/w_exp2l.c: Likewise.
25741 * math/w_j0.c: Likewise.
25742 * math/w_j0f.c: Likewise.
25743 * math/w_j0l.c: Likewise.
25744 * math/w_j1.c: Likewise.
25745 * math/w_j1f.c: Likewise.
25746 * math/w_j1l.c: Likewise.
25747 * math/w_jn.c: Likewise.
25748 * math/w_jnf.c: Likewise.
25749 * math/w_log.c: Likewise.
25750 * math/w_log10.c: Likewise.
25751 * math/w_log10f.c: Likewise.
25752 * math/w_log10l.c: Likewise.
25753 * math/w_log2.c: Likewise.
25754 * math/w_log2f.c: Likewise.
25755 * math/w_log2l.c: Likewise.
25756 * math/w_logf.c: Likewise.
25757 * math/w_logl.c: Likewise.
25758 * math/w_sqrt.c: Likewise.
25759 * math/w_sqrtf.c: Likewise.
25760 * math/w_sqrtl.c: Likewise.
25761 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25762 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25763 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25764 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25765 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25766
ebaf36eb
JM
257672012-02-19 Joseph Myers <joseph@codesourcery.com>
25768
25769 [BZ #9739]
25770 * manual/string.texi (strnlen): Use correct parameter name in
25771 equivalent expression.
25772
71c254a6
JM
257732012-02-19 Joseph Myers <joseph@codesourcery.com>
25774
25775 [BZ #11174]
25776 * manual/users.texi (seteuid): Consistently use neweuid for
25777 argument name.
25778
16d2c631
JM
257792012-02-19 Joseph Myers <joseph@codesourcery.com>
25780
25781 [BZ #13704]
25782 * manual/nss.texi (Services in the NSS configuration): Correct
25783 list of services in example configuration file.
25784
cd837b09
NB
257852012-02-19 Nick Bowler <nbowler@draconx.ca>
25786
25787 [BZ #11322]
25788 * manual/arith.texi: Remove statements about negative zero
25789 behaving identically to zero.
25790
02c4bbad
JM
257912012-02-18 Joseph Myers <joseph@codesourcery.com>
25792
25793 [BZ #5993]
25794 * manual/install.texi: Do not document upgrading from libc5.
25795
366842e7
JM
257962012-02-18 Joseph Myers <joseph@codesourcery.com>
25797
25798 [BZ #4596]
25799 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25800
dd54084d
DM
258012012-02-18 David S. Miller <davem@davemloft.net>
25802
25803 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25804 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25805 %o7 across the call.
25806 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25807 instead.
25808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25809 SETUP_PIC_REG_LEAF.
25810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25811 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25812 * sysdeps/sparc/crtn.S: Likewise.
25813
2bcc53a3
UD
258142012-02-17 Ulrich Drepper <drepper@gmail.com>
25815
25816 * aout/Makefile: Remove.
25817
09c093b5
RK
258182012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25819
25820 [BZ #13058]
25821 * manual/examples/argp-ex1.c (main): Format definition in GNU
25822 style.
25823 * manual/examples/argp-ex2.c (main): Likewise.
25824 * manual/examples/argp-ex3.c (main): Likewise.
25825 * manual/examples/argp-ex4.c (main): Likewise.
25826 * manual/examples/longopt.c (main): Use new-style prototype
25827 definition.
25828 * manual/examples/strncat.c (main): Specify return type and use
25829 (void) for arguments.
25830 * manual/examples/subopt.c (main): Use char **argv argument.
25831
2ee633a2
JM
258322012-02-17 Joseph Myers <joseph@codesourcery.com>
25833
25834 [BZ #5077]
25835 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25836 rounding modes.
25837
0520adde
FB
258382012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25839
25840 [BZ #6907]
25841 * manual/string.texi (strchr): Change when strchrnul is
25842 recommended.
25843
3f4081cd
DGM
258442012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25845
25846 [BZ #174]
25847 * manual/locale.texi (setlocale): Document LOCPATH.
25848
d1b10e78
JM
258492012-02-17 Joseph Myers <joseph@codesourcery.com>
25850
25851 [BZ #10210]
25852 * manual/process.texi (execle): Move @dots{} before last argument.
25853
79c6869c
PB
258542012-02-17 Paul Bolle <pebolle@tiscali.nl>
25855
25856 [BZ #12047]
25857 * manual/charset.texi (Generic Charset Conversion): Fix typo
25858 (LC_TYPE -> LC_CTYPE).
25859
cc6e48bc
NB
258602012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25861
25862 [BZ #5805]
25863 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25864 (scalbnf): Likewise.
25865 (scalbnl): Likewise.
25866 (scalbln): Likewise.
25867 (scalblnf): Likewise.
25868 (scalblnl): Likewise.
25869 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25870 (vwarnx): Likewise.
25871 (verr): Likewise.
25872 (verrx): Likewise.
25873 * manual/filesys.texi (telldir): Use braces around return type.
25874 * manual/llio.texi (mmap): Add space after comma.
25875 (mmap64): Likewise.
25876 * manual/math.texi (jn): Use @var{} on parameter names.
25877 (jnf): Likewise.
25878 (jnl): Likewise.
25879 (yn): Likewise.
25880 (ynf): Likewise.
25881 (ynl): Likewise.
25882 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25883 line.
25884 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25885 "...".
25886 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25887 (sched_get_priority_max): Likewise.
25888 * manual/signal.texi (sigvec): Add space after comma.
25889 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25890 names.
25891 (if_indextoname): Likewise.
25892 (if_freenameindex): Likewise.
25893 (sendto): Use ',' instead of '.' in prototype.
25894 * manual/startup.texi (syscall): Use @dots{} instead of literal
25895 "...".
25896 * manual/stdio.texi (__fpending): Separate initial words of
25897 paragraph from @deftypefun line.
25898 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25899 "...".
25900 (vsyslog): Use @var{} on parameter names.
25901 * manual/terminal.texi (stty): Use @var{} on parameter names.
25902 * manual/users.texi (getutmp): Use @var{} on parameter names.
25903 (getutmpx): Likewise.
25904
5b23062f
JM
259052012-02-17 Joseph Myers <joseph@codesourcery.com>
25906
25907 [BZ #6884]
25908 * manual/stdio.texi (fopen): Fix typos in description of
25909 ",ccs=STRING".
25910
8dee4833
AJ
259112012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25912
25913 [BZ #4026]
25914 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25915 get clock_id definition.
25916
9078ce93
TS
259172012-02-17 Thomas Schwinge <thomas@schwinge.name>
25918
25919 [BZ #4822]
25920 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25921 (madvise): Cast every argument to void on its own.
25922
3835c55f
JM
259232012-02-17 Joseph Myers <joseph@codesourcery.com>
25924
25925 [BZ #9902]
25926 * manual/startup.texi (Exit Status): Fix typo.
25927
35c47e37
JM
259282012-02-17 Joseph Myers <joseph@codesourcery.com>
25929
25930 [BZ #10140]
25931 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25932 * manual/examples/argp-ex2.c: Likewise.
25933 * manual/examples/argp-ex3.c: Likewise.
25934
e3b69ca7
RH
259352012-02-16 Richard Henderson <rth@redhat.com>
25936
25937 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25938 * sysdeps/s390/s390-32/initfini.c: Remove.
25939 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25940 * sysdeps/s390/s390-64/initfini.c: Remove.
25941
df83af67
KK
259422012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25943
25944 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25945 compiler output for sysdeps/generic/initfini.c.
25946 * sysdeps/sh/elf/initfini.c: Remove file.
25947
f63f3380
DM
259482012-02-16 David S. Miller <davem@davemloft.net>
25949
fb59b3a4
DM
25950 [BZ #11494]
25951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25952
f63f3380
DM
25953 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25954 * sysdeps/sparc/crti.S: New file.
25955 * sysdeps/sparc/crtn.S: New file.
25956 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25957 * sysdeps/sparc/sparc64/Makefile: Likewise.
25958
df6a4a4a
MF
259592012-02-15 Mike Frysinger <vapier@gentoo.org>
25960
6dd8f3dc 25961 [BZ #3335]
df6a4a4a
MF
25962 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25963
1cac7236
RM
259642012-02-15 Roland McGrath <roland@hack.frob.com>
25965
d2c736f8
RM
25966 [BZ #4822]
25967 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25968
1cac7236
RM
25969 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25970 (write, read, close): Likewise.
25971 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25972
8e475601
JM
259732012-02-15 Joseph Myers <joseph@codesourcery.com>
25974
25975 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25976 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25977 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25978 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25979 <bits/signalfd.h>.
25980 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25982 bits/signalfd.h.
25983
ed656b40
MP
259842012-02-14 Marek Polacek <polacek@redhat.com>
25985
25986 * sysdeps/x86_64/crti.S: New file.
25987 * sysdeps/x86_64/crtn.S: New file.
25988 * sysdeps/x86_64/elf/initfini.c: Remove file.
25989
2a979d3a
JM
259902012-02-13 Joseph Myers <joseph@codesourcery.com>
25991
25992 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25993 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25994 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25995 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25996 <bits/inotify.h>.
25997 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25999 bits/inotify.h.
26000
2a418ac3
JM
260012012-02-13 Joseph Myers <joseph@codesourcery.com>
26002
26003 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26004 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26005 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26006 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26007 <bits/eventfd.h>.
26008 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26010 bits/eventfd.h.
26011
fb779be7
TS
260122012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26013
e19e83c5
RM
26014 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26015 __feraiseexcept instead of feraiseexcept.
7c35ffed 26016
fb779be7
TS
26017 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26018 nanosleep invocations.
26019 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26020 strings, and add error checking for a nanosleep invocations.
26021
59ba27a6
PE
260222012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26023
26024 Replace FSF snail mail address with URLs, as per GNU coding standards.
26025 Most of the snail mail addresses were wrong anyway, and omitting
26026 them makes the source code easier to maintain. Almost all of the
26027 changes are to license notices and to locale LC_IDENTIFICATION
26028 addresses, except for this one:
26029 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26030 not its snail mail address.
26031
57b957eb
RH
260322012-02-09 Richard Henderson <rth@twiddle.net>
26033
af850b1c
RH
26034 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26035 of kernel-features.h.
26036
57b957eb
RH
26037 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26038
6b73181a
MP
260392012-02-08 Marek Polacek <polacek@redhat.com>
26040
26041 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26042 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26043 * sysdeps/gnu/_G_config.h: Likewise.
26044 * sysdeps/generic/_G_config.h: Likewise.
26045
26ecc33a
AS
260462012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26047
6c6dbc63
AS
26048 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26049 tests.
26050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26051
e216c012
AS
26052 * sysdeps/powerpc/powerpc32/crti.S: New file.
26053 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26054 * sysdeps/powerpc/powerpc64/crti.S: New file.
26055 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26056
26ecc33a
AS
26057 * Makeconfig (have-initfini): Don't set.
26058 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26059 * configure.in (nopic_initfini): Don't substitute.
26060 * config.h.in (HAVE_INITFINI): Don't #undef.
26061 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26062 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26063
3add8e13
JM
260642012-02-08 Joseph Myers <joseph@codesourcery.com>
26065
26066 Support crti.S and crtn.S provided directly by architectures.
26067 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26068 [crti.S in sysdirs] (omit-deps): Likewise.
26069 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26070 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26071 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26072 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26073 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26074 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26075 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26076 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26077 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26078 compiler output for sysdeps/generic/initfini.c.
26079 * sysdeps/i386/elf/Makefile: Remove file.
26080 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26081
a22f12b4
MP
260822012-02-07 Marek Polacek <polacek@redhat.com>
26083
26084 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26085 * sysdeps/gnu/_G_config.h: Likewise.
26086 * sysdeps/mach/hurd/_G_config.h: Likewise.
26087
148cf100
MP
260882012-02-07 Marek Polacek <polacek@redhat.com>
26089
26090 * math/Makefile (tests): Add tst-CMPLX2.
26091 * math/tst-CMPLX2.c: New file.
26092
cfdc0dd7
AS
260932012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26094
84ba42c4
AS
26095 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26096
cfdc0dd7
AS
26097 * math/libm-test.inc (jn_test): Add missing L suffix.
26098
622c86f4
MP
260992012-02-06 Marek Polacek <polacek@redhat.com>
26100
26101 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26102 * sysdeps/i386/fpu/e_powf.S: Likewise.
26103 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26104 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26105 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26106 * sysdeps/i386/fpu/e_pow.S: Likewise.
26107 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26108 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26109 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26110 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26111 * sysdeps/i386/fpu/e_log2.S: Likewise.
26112 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26113 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26114 * sysdeps/i386/fpu/e_powl.S: Likewise.
26115 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26116 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26117 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26118 * sysdeps/i386/fpu/e_logl.S: Likewise.
26119 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26120 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26121 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26122 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26123 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26124 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26125 * sysdeps/i386/fpu/e_log.S: Likewise.
26126 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26127 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26128 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26129 * sysdeps/i386/fpu/e_logf.S: Likewise.
26130 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26131 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26132 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26133 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26134 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26135 * sysdeps/i386/fpu/e_log10.S: Likewise.
26136 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26137 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26138 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26139 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26140 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26141 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26142 * sysdeps/i386/asm-syntax.h: Likewise.
26143 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26144 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26145 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26146 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26147 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26148 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26149 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26150 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26151 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26152 * sysdeps/powerpc/sysdep.h: Likewise.
26153 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26154 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26155
d4a54ac6
JM
261562012-02-06 Joseph Myers <joseph@codesourcery.com>
26157
26158 [BZ #411]
26159 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26160
314054ea
JM
261612012-02-06 Joseph Myers <joseph@codesourcery.com>
26162
26163 * sysdeps/i386/sysdep.h: Include <features.h>.
26164 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26165 version.
26166
d8e0ca50
JM
261672012-02-05 Joseph Myers <joseph@codesourcery.com>
26168
26169 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26170 Define.
26171 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26172 LOAD_PIC_REG_STR.
26173
b1da7dd9
JM
261742012-02-03 Joseph Myers <joseph@codesourcery.com>
26175
26176 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26177 (SETUP_PIC_REG): Use GET_PC_THUNK.
26178 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26179 macro.
26180
9a1d9254
JM
261812012-02-03 Joseph Myers <joseph@codesourcery.com>
26182
26183 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26184 for non-PIC compilation.
26185 (SETUP_PIC_REG): Add .p2align directive.
26186 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26187 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26188 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26189 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26190 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26191 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26192 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26193 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26194 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26195 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26196 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26197 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26198 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26199 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26200 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26201 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26202 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26203 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26204 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26205 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26206 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26207 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26208 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26209 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26210 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26211 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26212 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26213 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26214 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26215 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26216 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26217 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26218 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26219 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26220 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26221 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26222 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26223 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26224 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26225 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26226 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26227
65dc3b75
JM
262282012-02-03 Joseph Myers <joseph@codesourcery.com>
26229
26230 * math/tst-CMPLX.c: Include <stdio.h>.
26231
d55bf177
JM
262322012-01-31 Joseph Myers <joseph@codesourcery.com>
26233
26234 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26235 float.
26236 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26237 * sysdeps/sparc/bits/mathdef.h: Likewise.
26238
69db4f8f
MP
262392012-01-31 Marek Polacek <polacek@redhat.com>
26240
26241 * libio/libio.h: Don't define _PARAMS.
26242 * locale/programs/config.h: Don't define PARAMS.
26243 * stdlib/strtol_l.c: Likewise.
26244 (__strtol_l): Remove PARAMS from the prototype.
26245
41b81892
UD
262462012-01-31 Ulrich Drepper <drepper@gmail.com>
26247
3b49edc0
UD
26248 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26249 names. Just use the correct names. Remove unnecessary wrapper
26250 functions.
26251 * malloc/arena.c: Likewise.
26252 * malloc/hooks.c: Likewise.
26253
41b81892
UD
26254 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26255 ARENA_TEST says not to. Simplify test for creation of a new arena.
26256 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26257
27a25b6e
UD
262582012-01-30 Ulrich Drepper <drepper@gmail.com>
26259
26260 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26261 into tail calls.
26262 (update_get_addr): New function.
26263 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26264 GET_ADDR_MODULE parameter.
26265
c8a89e7d
JM
262662012-01-30 Joseph Myers <joseph@codesourcery.com>
26267
26268 * crypt/cert.c: Remove __STDC__ conditionals.
26269 * crypt/crypt-entry.c: Likewise.
26270 * crypt/crypt_util.c: Likewise.
26271 * libio/filedoalloc.c: Likewise.
26272 * libio/fileops.c: Likewise.
26273 * libio/genops.c: Likewise.
26274 * libio/iofclose.c: Likewise.
26275 * libio/iofdopen.c: Likewise.
26276 * libio/iofopen.c: Likewise.
26277 * libio/iofopen64.c: Likewise.
26278 * libio/iogetdelim.c: Likewise.
26279 * libio/iopopen.c: Likewise.
26280 * libio/obprintf.c: Likewise.
26281 * libio/oldfileops.c: Likewise.
26282 * libio/oldiofclose.c: Likewise.
26283 * libio/oldiofdopen.c: Likewise.
26284 * libio/oldiofopen.c: Likewise.
26285 * libio/oldiopopen.c: Likewise.
26286 * libio/wfiledoalloc.c: Likewise.
26287 * libio/wgenops.c: Likewise.
26288 * locale/programs/xmalloc.c: Likewise.
26289 * misc/syslog.c: Likewise.
26290 * stdio-common/xbug.c: Likewise.
26291 * string/memchr.c: Likewise.
26292 * string/memcmp.c: Likewise.
26293 * string/memrchr.c: Likewise.
26294 * string/rawmemchr.c: Likewise.
26295 * sysdeps/posix/getcwd.c: Likewise.
26296 * time/strftime_l.c: Likewise.
26297
3b100462
JM
262982012-01-30 Joseph Myers <joseph@codesourcery.com>
26299
26300 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
26301 * config.make.in (config-cflags-sse2avx): Define.
26302 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26303 Fix typo.
26304
607998af
CM
263052012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26306
26307 * scripts/config.guess: Update from upstream config git repository.
26308 * scripts/config.sub: Likewise.
26309
3601428f
CM
263102012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26311
3ac8b282
CM
26312 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26313 (EM_NUM): Update.
26314 (R_TILEPRO_*, R_TILEGX_*): New macros.
26315
e034841e
CM
26316 * scripts/firstversions.awk: Fix bug in version range handling.
26317
540d7568
CM
26318 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26319
3601428f
CM
26320 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26321
463de862
CM
26322 * include/sys/epoll.h: New file.
26323 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26324 libc_hidden_def.
26325
73139a76
UD
263262012-01-28 Ulrich Drepper <drepper@gmail.com>
26327
96bc5b45
UD
26328 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26329 Avoid unnecessary __WORDSIZE == 64 test.
26330 (fmaxf): Use VEX format if possible.
26331 (fmax): Likewise.
26332 (fminf): Likewise.
26333 (fmin): Likewise.
26334
56f6f6a2
UD
26335 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26336 * math/math_private.h: Remove libc_fegetround* and
26337 libc_fesetround*.
26338 * sysdeps/i386/configure.in: Check for -msse2avx.
26339 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26340 also if SSE2AVX is defined.
26341 Remove libc_fegetround* and libc_fesetround*.
26342 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26343 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26344 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26345 of HAS_YMM_USABLE.
26346 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26347 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26348 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26349 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26350 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26351
73139a76
UD
26352 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26353
d73f93a4
AZ
263542012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26355
26356 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26357 size is not set.
26358 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26359
6ee65ed6
UD
263602012-01-27 Ulrich Drepper <drepper@gmail.com>
26361
26362 [BZ #13618]
26363 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26364 relocation.
26365 * Makeconfig (libm): Define.
26366 * elf/Makefile: Add rules to build and run tst-relsort1.
26367 * elf/tst-relsort1.c: New file.
26368 * elf/tst-relsort1mod1.c: New file.
26369 * elf/tst-relsort1mod2.c: New file.
26370
8db21882
JM
263712012-01-27 Joseph Myers <joseph@codesourcery.com>
26372
26373 * math/s_ldexp.c: Remove __STDC__ conditionals.
26374 * math/s_ldexpf.c: Likewise.
26375 * math/s_ldexpl.c: Likewise.
26376 * math/s_nextafter.c: Likewise.
26377 * math/s_nexttowardf.c: Likewise.
26378 * math/s_significand.c: Likewise.
26379 * math/s_significandf.c: Likewise.
26380 * math/s_significandl.c: Likewise.
26381 * math/w_jnl.c: Likewise.
26382 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26383 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26384 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26385 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26386 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26387 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26388 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26389 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26390 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26391 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26392 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26393 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26394 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26395 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26396 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26397 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26398 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26399 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26401 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26402 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26403 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26404 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26405 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26406 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26407 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26408 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26409 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26410 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26411 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26412 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26413 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26414 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26415 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26416 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26417 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26418 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26419 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26420 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26421 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26422 * sysdeps/ieee754/k_standard.c: Likewise.
26423 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26424 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26425 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26426 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26427 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26428 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26429 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26430 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26431 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26432 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26433 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26434 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26435 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26436 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26437 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26439 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26440 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26441 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26442 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26443 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26444 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26445 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26446 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26447 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26448 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26449 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26450 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26451 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26452 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26453 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26454 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26455 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26456 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26457 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26458 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26459 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26460 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26461 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26462 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26463 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26464 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26465 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26466 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26467 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26468 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26469 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26470 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26471 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26472 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26473 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26474 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26475 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26476 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26477 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26478 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26479 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26480 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26481 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26482 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26483 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26484 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26485 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26486 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26487 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26488 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26489 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26490 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26491 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26492 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26493 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26494 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26495 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26496 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26497 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26498 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26499 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26500 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26501 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26502 * sysdeps/ieee754/s_matherr.c: Likewise.
26503 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26504 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26507
965a54a4
JM
265082012-01-26 Joseph Myers <joseph@codesourcery.com>
26509
26510 * crypt/md5.h: Remove __STDC__ conditionals.
26511 * libio/libioP.h: Likewise.
26512 * locale/programs/config.h: Likewise.
26513 * sysdeps/generic/sysdep.h: Likewise.
26514 * sysdeps/i386/asm-syntax.h: Likewise.
26515 * sysdeps/s390/asm-syntax.h: Likewise.
26516 * sysdeps/unix/sysdep.h: Likewise.
26517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26519
7071ad79
JM
265202012-01-26 Joseph Myers <joseph@codesourcery.com>
26521
26522 * libio/libio.h: Remove __STDC__ conditionals.
26523 * malloc/obstack.h: Likewise.
26524 * math/complex.h: Likewise.
26525 * math/math.h: Likewise.
26526 * sysdeps/generic/_G_config.h: Likewise.
26527 * sysdeps/gnu/_G_config.h: Likewise.
26528 * sysdeps/mach/hurd/_G_config.h: Likewise.
26529 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26530 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26531 * sysdeps/sparc/bits/mathdef.h: Likewise.
26532
afc5ed09
UD
265332012-01-26 Ulrich Drepper <drepper@gmail.com>
26534
26535 [BZ #13583]
26536 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26537 Clean up HAS_* macros.
afc5ed09 26538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26539 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26540 possible.
26541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26542 HAS_AVX.
26543 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26544 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26545 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26546 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26547 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26548
bdb6de1d
JM
265492012-01-25 Joseph Myers <joseph@codesourcery.com>
26550
26551 * elf/tst-unique3.cc (gets): Remove declaration.
26552 * elf/tst-unique3lib.cc (gets): Likewise.
26553 * elf/tst-unique3lib2.cc (gets): Likewise.
26554 * elf/tst-unique4.cc (gets): Likewise.
26555
b15549e6
UD
265562012-01-24 Ulrich Drepper <drepper@gmail.com>
26557
26558 * include/stdio.h: Add C++ protection. Add gets declarations and
26559 definitions.
26560 * debug/tst-chk1.c: Don't declare gets here.
26561 * stdio-common/tst-gets.c: Likewise.
26562
a037381f
JM
265632012-01-24 Joseph Myers <joseph@codesourcery.com>
26564
26565 * posix/glob: Remove directory.
26566
f1d4aa75
JM
265672012-01-24 Joseph Myers <joseph@codesourcery.com>
26568
26569 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26570
81c0c964
PT
265712012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26572
26573 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26574 of the non-standard EPFNOSUPPORT.
26575
0ea698ae
ST
265762011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26577
26578 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26579 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26580 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26581
d220b117
UD
265822012-01-21 Ulrich Drepper <drepper@gmail.com>
26583
26584 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26585
3e1aa84e
UD
265862012-01-20 Ulrich Drepper <drepper@gmail.com>
26587
26588 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26589 transient errors.
26590 * nscd/grpcache.c (cache_addgr): Likewise.
26591 * nscd/hstcache.c (cache_addhst): Likewise.
26592 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26593 * nscd/pwdcache.c (cache_addpw): Likewise.
26594 * nscd/servicescache.c (cache_addserv): Likewise.
26595
400aa020
UD
265962012-01-16 Ulrich Drepper <drepper@gmail.com>
26597
d77e7869
UD
26598 * malloc/malloc.c: Various cleanups.
26599 * malloc/hooks.c: Likewise.
26600
400aa020
UD
26601 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26602 * stdlib/bug-fmtmsg1.c: New file.
26603
26604 * stdlib/fmtmsg.c (init): Add missing unlock.
26605 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26606
e0a309cf
MP
266072012-01-12 Marek Polacek <polacek@redhat.com>
26608
26609 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26610 and _GNU_SOURCE.
26611
929d11c7
WS
266122012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26613
26614 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26615 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26616 macro to ensure uniqueness of label name.
26617 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26618 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26619
41d0e869
UD
266202012-01-11 Ulrich Drepper <drepper@gmail.com>
26621
0cc5ed3b
UD
26622 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26623
41d0e869
UD
26624 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26625 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26626 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26628
a47a831a
UD
266292012-01-10 Ulrich Drepper <drepper@gmail.com>
26630
daa891c0
UD
26631 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26632
26633 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26634 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26635 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26636
e58ef0f2
UD
26637 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26638
a47a831a 26639 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26640 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26641 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26643
26644 * math/bits/math-finite.h: Add ldexp support.
26645
a0bfc9c7
MP
266462012-01-10 Marek Polacek <polacek@redhat.com>
26647
26648 * locale/programs/localedef.h (show_archive_content): Add noreturn
26649 attribute.
26650
d6e97a1d
UD
266512012-01-09 Ulrich Drepper <drepper@gmail.com>
26652
26653 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26654
d5835c26
UD
266552012-01-08 Ulrich Drepper <drepper@gmail.com>
26656
e5f484c6
UD
26657 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26658
d5835c26
UD
26659 * io/Makefile (headers): Add bits/poll2.h.
26660
d1f741e9
WS
266612011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26662
26663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26664 typo #include statement.
26665
ec09c1c4
UD
266662012-01-08 Ulrich Drepper <drepper@gmail.com>
26667
26668 * include/sys/cdefs.h: Define __attribute_alloc_size.
26669 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26670 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26671 * elf/pldd.c: Likewise.
26672 * iconv/iconv_charmap.c: Likewise.
26673 * iconv/iconvconfig.c: Likewise.
26674 * iconv/strtab.c: Likewise.
26675 * locale/programs/locale.c: Likewise.
26676 * locale/programs/localedef.h: Likewise.
26677 * locale/programs/simple-hash.c: Likewise.
26678 * nscd/nscd.h: Likewise.
26679 * nss/makedb.c: Likewise.
26680 * sysdeps/generic/ldconfig.h: Likewise.
26681 * locale/programs/localedef.c: Remove xmalloc prototype.
26682 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26683
20b38e03
PP
266842012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26685
26686 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26687 appropriate.
26688
a0da5fe1
UD
266892012-01-08 Ulrich Drepper <drepper@gmail.com>
26690
1d5a644a 26691 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26692 * math/tst-CMPLX.c: New file.
1d5a644a 26693
8784a6db
UD
26694 * math/complex.h (CMPLXL): Fix typo.
26695
d9a216c0
UD
26696 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26697 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26698 GLIBC_2.16.
26699 * debug/tst-chk1.c: Add poll and ppoll tests.
26700 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26701 * include/sys/poll.h: Add hidden proto for ppoll.
26702 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26703 * sysdeps/mach/hurd/ppoll.c: Likewise.
26704 * io/ppoll.c: Likewise.
26705 * debug/poll_chk.c: New file.
26706 * debug/ppoll_chk.c: New file.
26707 * include/bits/poll2.h: New file.
26708 * io/bits/poll2.h: New file.
26709
ac097f5c
UD
26710 [BZ #1350]
26711 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26712
2119dcfa
UD
26713 * configure.in: static is always set to yes. Remove.
26714 * config.make.in: Don't set build-static.
26715 * Makeconfig: Remove use of build-static.
26716 * dlfcn/Makefile: Likewise.
26717 * elf/Makefile: Likewise.
26718 * math/Makefile: Likewise.
26719 * misc/Makefile: Likewise.
26720 * nptl/Makefile: Likewise.
26721 * sysdeps/mach/hurd/Makefile: Likewise.
26722
121766a9
UD
26723 * configure.in: PWD_P is not used anymore.
26724 * config.make.in: Remove PWD_P entry.
26725
51a1d39c 26726 * configure.in: Remove last remnants of RANLIB.
8720d066 26727 No need to check for signed size_t anymore.
215f4bdc
UD
26728 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26729 and IA-64.
3857022a 26730 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26731 * aclocal.m4: Likewise.
26732
d3ed7225
UD
26733 * wcsmbs/mbrtoc16.c: Implement using towc function.
26734 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26735 * wcsmbs/wcsmbsload.c: Likewise.
26736 * iconv/gconv_simple.c: Likewise.
26737 * iconv/gconv_int.h: Likewise.
26738 * iconv/gconv_builtin.h: Likewise.
26739 * iconv/iconv_prog.c: Remove CHAR16 handling.
26740
26741 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26742
26743 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26744
a0da5fe1
UD
26745 * configure.in: Remove --with-elf and --enable-bounded options.
26746 Dont set base_machine for ia64. More non-ELF conditions removed.
26747 Remove testing and setting of leading underscore information.
26748 * config.make.in (build-bounded): Set to no.
26749 * config.h.in: Remove NO_UNDERSCORES entry.
26750 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26751 them.
26752 * csu/start.c: Remove !NO_UNDERSCORE code.
26753 * locale/localeinfo.h: Likewise.
26754 * sysdeps/generic/machine-gmon.h: Likewise.
26755 * sysdeps/generic/sysdep.h: Likewise.
26756 * sysdeps/i386/sysdep.h: Likewise.
26757 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26758 * sysdeps/mach/sysdep.h: Likewise.
26759 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26761 * sysdeps/sh/sysdep.h: Likewise.
26762 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26763 * sysdeps/unix/i386/sysdep.S: Likewise.
26764 * sysdeps/unix/sparc/start.c: Likewise.
26765 * sysdeps/unix/sparc/sysdep.S: Likewise.
26766 * sysdeps/unix/sparc/sysdep.h: Likewise.
26767 * sysdeps/unix/start.c: Likewise.
26768 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26769 * sysdeps/x86_64/sysdep.h: Likewise.
26770
df78418a
UD
267712012-01-07 Ulrich Drepper <drepper@gmail.com>
26772
a784e502
UD
26773 [BZ #13553]
26774 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26775 for non-gcc.
26776 * argp/argp-fmtstream.h: Use const instead __const.
26777 * argp/argp.h: Likewise.
26778 * assert/assert.h: Likewise.
26779 * bits/fenv.h: Likewise.
26780 * bits/sched.h: Likewise.
26781 * bits/sigset.h: Likewise.
26782 * bits/sigthread.h: Likewise.
26783 * catgets/nl_types.h: Likewise.
26784 * conform/data/pthread.h-data: Likewise.
26785 * crypt/crypt-private.h: Likewise.
26786 * crypt/crypt.h: Likewise.
26787 * crypt/crypt_util.c: Likewise.
26788 * ctype/ctype.h: Likewise.
26789 * debug/execinfo.h: Likewise.
26790 * debug/mbsnrtowcs_chk.c: Likewise.
26791 * debug/mbsrtowcs_chk.c: Likewise.
26792 * debug/wcsnrtombs_chk.c: Likewise.
26793 * debug/wcsrtombs_chk.c: Likewise.
26794 * debug/wcstombs_chk.c: Likewise.
26795 * dirent/dirent.h: Likewise.
26796 * dlfcn/dlfcn.h: Likewise.
26797 * elf/neededtest4.c: Likewise.
26798 * grp/grp.h: Likewise.
26799 * gshadow/gshadow.h: Likewise.
26800 * iconv/gconv.h: Likewise.
26801 * iconv/gconv_int.h: Likewise.
26802 * iconv/gconv_simple.c: Likewise.
26803 * iconv/iconv.h: Likewise.
26804 * iconv/loop.c: Likewise.
26805 * iconv/skeleton.c: Likewise.
26806 * include/aio.h: Likewise.
26807 * include/aliases.h: Likewise.
26808 * include/argz.h: Likewise.
26809 * include/arpa/inet.h: Likewise.
26810 * include/assert.h: Likewise.
26811 * include/dirent.h: Likewise.
26812 * include/dlfcn.h: Likewise.
26813 * include/execinfo.h: Likewise.
26814 * include/fcntl.h: Likewise.
26815 * include/fenv.h: Likewise.
26816 * include/glob.h: Likewise.
26817 * include/grp.h: Likewise.
26818 * include/libintl.h: Likewise.
26819 * include/mntent.h: Likewise.
26820 * include/netdb.h: Likewise.
26821 * include/pwd.h: Likewise.
26822 * include/rpc/netdb.h: Likewise.
26823 * include/sched.h: Likewise.
26824 * include/search.h: Likewise.
26825 * include/shadow.h: Likewise.
26826 * include/signal.h: Likewise.
26827 * include/stdio.h: Likewise.
26828 * include/stdlib.h: Likewise.
26829 * include/string.h: Likewise.
26830 * include/sys/socket.h: Likewise.
26831 * include/sys/stat.h: Likewise.
26832 * include/sys/statfs.h: Likewise.
26833 * include/sys/statvfs.h: Likewise.
26834 * include/sys/syslog.h: Likewise.
26835 * include/sys/time.h: Likewise.
26836 * include/sys/uio.h: Likewise.
26837 * include/time.h: Likewise.
26838 * include/unistd.h: Likewise.
26839 * include/utmp.h: Likewise.
26840 * include/wchar.h: Likewise.
26841 * include/wctype.h: Likewise.
26842 * inet/aliases.h: Likewise.
26843 * inet/arpa/inet.h: Likewise.
26844 * inet/netinet/ether.h: Likewise.
26845 * inet/netinet/in.h: Likewise.
26846 * intl/libintl.h: Likewise.
26847 * io/bits/fcntl2.h: Likewise.
26848 * io/fcntl.h: Likewise.
26849 * io/ftw.h: Likewise.
26850 * io/sys/poll.h: Likewise.
26851 * io/sys/stat.h: Likewise.
26852 * io/sys/statfs.h: Likewise.
26853 * io/sys/statvfs.h: Likewise.
26854 * io/utime.h: Likewise.
26855 * libio/bits/stdio.h: Likewise.
26856 * libio/bits/stdio2.h: Likewise.
26857 * libio/libio.h: Likewise.
26858 * libio/libioP.h: Likewise.
26859 * libio/stdio.h: Likewise.
26860 * locale/lc-ctype.c: Likewise.
26861 * locale/locale.h: Likewise.
26862 * login/utmp.h: Likewise.
26863 * malloc/arena.c: Likewise.
26864 * malloc/malloc.c: Likewise.
26865 * malloc/malloc.h: Likewise.
26866 * malloc/mcheck.c: Likewise.
26867 * malloc/mtrace.c: Likewise.
26868 * math/bits/mathcalls.h: Likewise.
26869 * math/fenv.h: Likewise.
26870 * math/math_private.h: Likewise.
26871 * misc/bits/error.h: Likewise.
26872 * misc/bits/syslog.h: Likewise.
26873 * misc/err.h: Likewise.
26874 * misc/error.h: Likewise.
26875 * misc/fstab.h: Likewise.
26876 * misc/mntent.h: Likewise.
26877 * misc/regexp.h: Likewise.
26878 * misc/search.h: Likewise.
26879 * misc/sgtty.h: Likewise.
26880 * misc/sys/mman.h: Likewise.
26881 * misc/sys/syslog.h: Likewise.
26882 * misc/sys/uio.h: Likewise.
26883 * misc/sys/xattr.h: Likewise.
26884 * misc/ttyent.h: Likewise.
26885 * nis/rpcsvc/ypclnt.h: Likewise.
26886 * nss/nss.h: Likewise.
26887 * posix/bits/unistd.h: Likewise.
26888 * posix/fnmatch.h: Likewise.
26889 * posix/glob.h: Likewise.
26890 * posix/sched.h: Likewise.
26891 * posix/spawn.h: Likewise.
26892 * posix/sys/wait.h: Likewise.
26893 * posix/unistd.h: Likewise.
26894 * posix/wordexp.h: Likewise.
26895 * pwd/pwd.h: Likewise.
26896 * resolv/netdb.h: Likewise.
26897 * resource/sys/resource.h: Likewise.
26898 * rt/aio.h: Likewise.
26899 * rt/bits/mqueue2.h: Likewise.
26900 * rt/mqueue.h: Likewise.
26901 * shadow/shadow.h: Likewise.
26902 * signal/signal.h: Likewise.
26903 * socket/send.c: Likewise.
26904 * socket/sendto.c: Likewise.
26905 * socket/sys/socket.h: Likewise.
26906 * stdio-common/printf.h: Likewise.
26907 * stdlib/bits/stdlib.h: Likewise.
26908 * stdlib/fmtmsg.h: Likewise.
26909 * stdlib/monetary.h: Likewise.
26910 * stdlib/stdlib.h: Likewise.
26911 * stdlib/ucontext.h: Likewise.
26912 * streams/stropts.h: Likewise.
26913 * string/argz.h: Likewise.
26914 * string/bits/string2.h: Likewise.
26915 * string/string.h: Likewise.
26916 * string/strings.h: Likewise.
26917 * sunrpc/rpc/auth.h: Likewise.
26918 * sunrpc/rpc/auth_des.h: Likewise.
26919 * sunrpc/rpc/clnt.h: Likewise.
26920 * sunrpc/rpc/netdb.h: Likewise.
26921 * sunrpc/rpc/pmap_clnt.h: Likewise.
26922 * sunrpc/rpc/xdr.h: Likewise.
26923 * sysdeps/generic/inttypes.h: Likewise.
26924 * sysdeps/generic/net/if.h: Likewise.
26925 * sysdeps/generic/sys/swap.h: Likewise.
26926 * sysdeps/gnu/net/if.h: Likewise.
26927 * sysdeps/gnu/utmpx.h: Likewise.
26928 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26929 * sysdeps/i386/i486/bits/string.h: Likewise.
26930 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26931 * sysdeps/s390/bits/string.h: Likewise.
26932 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26933 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26934 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26935 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26936 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26937 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26938 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26939 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26940 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26941 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26942 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26943 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26944 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26945 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26946 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26947 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26948 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26949 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26950 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26951 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26952 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26953 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26954 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26955 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26956 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26957 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26958 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26959 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26960 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26961 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26962 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26963 * sysvipc/sys/ipc.h: Likewise.
26964 * sysvipc/sys/msg.h: Likewise.
26965 * sysvipc/sys/sem.h: Likewise.
26966 * sysvipc/sys/shm.h: Likewise.
26967 * termios/termios.h: Likewise.
26968 * time/sys/time.h: Likewise.
26969 * time/time.h: Likewise.
26970 * wcsmbs/bits/wchar2.h: Likewise.
26971 * wcsmbs/uchar.h: Likewise.
26972 * wcsmbs/wchar.h: Likewise.
26973 * wctype/wctype.h: Likewise.
26974
0269750c
UD
26975 [BZ #13551]
26976 * Makeconfig: Remove all but ELF support including AIX support.
26977 * Makerules: Likewise.
26978 * config.h.in: Likewise.
26979 * config.make.in: Likewise.
26980 * configure: Likewise.
26981 * configure.in: Likewise.
26982 * csu/Makefile: Likewise.
26983 * csu/version.c: Likewise.
26984 * debug/Makefile: Likewise.
26985 * dlfcn/Makefile: Likewise.
26986 * elf/Makefile: Likewise.
26987 * extra-lib.mk: Likewise.
26988 * iconv/Makefile: Likewise.
26989 * include/libc-symbols.h: Likewise.
26990 * include/shlib-compat.h: Likewise.
26991 * resolv/Makefile: Likewise.
26992 * resolv/res_libc.c: Likewise.
26993 * rt/Makefile: Likewise.
26994 * sysdeps/i386/asm-syntax.h: Likewise.
26995 * sysdeps/i386/sysdep.h: Likewise.
26996 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26997 * sysdeps/mach/sysdep.h: Likewise.
26998 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26999 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27000 * sysdeps/s390/asm-syntax.h: Likewise.
27001 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27002 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27003 * sysdeps/sh/sysdep.h: Likewise.
27004 * sysdeps/unix/sparc/sysdep.h: Likewise.
27005 * sysdeps/wordsize-32/divdi3.c: Likewise.
27006 * sysdeps/x86_64/sysdep.h: Likewise.
27007
00bbd29b
UD
27008 * argp/Versions: Remove _argp_unlock_xxx.
27009
27010 [BZ #13559]
27011 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27012 * abilist/libBrokenLocale.abilist: Likewise.
27013 * abilist/libanl.abilist: Likewise.
27014 * abilist/libc.abilist: Likewise.
27015 * abilist/libcrypt.abilist: Likewise.
27016 * abilist/libdl.abilist: Likewise.
27017 * abilist/libm.abilist: Likewise.
27018 * abilist/libnsl.abilist: Likewise.
27019 * abilist/libpthread.abilist: Likewise.
27020 * abilist/libresolv.abilist: Likewise.
27021 * abilist/librt.abilist: Likewise.
27022 * abilist/libthread_db.abilist: Likewise.
27023 * abilist/libutil.abilist: Likewise.
27024 * abilist/libnss_db.abilist: New file.
27025
27026 * scripts/abilist.awk: Add support for indirect functions.
27027
a2693a0e
UD
27028 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27029
3f05895f
UD
27030 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27031
ecb6fb48
UD
27032 * shlib-versions: Remove entries for ports architectures.
27033
664f8cb9
UD
27034 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27035 files in ports.
27036 * elf/stackguard-macros.h: Remove support for IA-64.
27037 * elf/tst-auditmod1.c: Likewise.
27038 * sysdeps/generic/ldsodefs.h: Likewise.
27039
7ae81d88
UD
27040 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27041 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27042 configure files.
27043
bdeba135
UD
27044 [BZ #13552]
27045 * configure.in: Remove --enable-omitfp support.
27046 * FAQ.in: Adjust.
27047 * config.make.in: Likewise.
27048 * Makeconfig: Likewise.
27049 * manual/install.texi: Likewise.
27050
d75a0a62
UD
27051 In case anyone cares, the IA-64 architecture could move to ports.
27052 * sysdeps/ia64/*: Removed.
27053 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 27054 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 27055
dcc9756b
UD
27056 [BZ #13555]
27057 * configure.in: Remove entries for unsupported architectures.
27058
d3761ebc 27059 [BZ #13533]
9954432e
UD
27060 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27061 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27062 routines.
27063 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27064 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27065 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27066 fall back to using wcrtomb.
27067 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27068 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27069 renaming.
27070 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27071 * wcsmbs/tst-c16c32-1.c: New file.
27072
27073 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27074 local variable.
27075
c3a87236
UD
27076 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27077
28926a1b
UD
27078 * elf/tst-unique3.cc: Add explicit declaration of gets.
27079 * elf/tst-unique3lib.cc: Likewise.
27080 * elf/tst-unique3lib2.cc: Likewise.
27081 * elf/tst-unique4.cc: Likewise.
27082
df78418a
UD
27083 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27084
8ecd6b2a
JM
270852012-01-06 Joseph Myers <joseph@codesourcery.com>
27086
27087 [BZ #13566]
27088 * assert/assert.h (static_assert): Don't define for C++.
27089 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27090 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27091
9f115170
UD
270922012-01-03 Ulrich Drepper <drepper@gmail.com>
27093
5e0d0300
UD
27094 * iconv/loop.c (single loop): Fix assertion in storing of
27095 remaining bytes.
27096
9f115170
UD
27097 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27098
81fb02b0
UD
270992012-01-01 Ulrich Drepper <drepper@gmail.com>
27100
27101 * posix/getconf.c: Update copyright year.
27102 * nss/getent.c: Likewise.
a316c1f6 27103 * nss/makedb.c: Likewise.
81fb02b0
UD
27104 * iconv/iconvconfig.c: Likewise.
27105 * iconv/iconv_prog.c: Likewise.
27106 * elf/ldconfig.c: Likewise.
a316c1f6
UD
27107 * elf/pldd.c: Likewise.
27108 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
27109 * catgets/gencat.c: Likewise.
27110 * csu/version.c: Likewise.
27111 * elf/ldd.bash.in: Likewise.
27112 * elf/sprof.c (print_version): Likewise.
27113 * locale/programs/locale.c: Likewise.
27114 * locale/programs/localedef.c: Likewise.
a316c1f6 27115 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
27116 * nscd/nscd.c (print_version): Likewise.
27117 * debug/xtrace.sh: Likewise.
27118 * malloc/memusage.sh: Likewise.
27119 * malloc/mtrace.pl: Likewise.
27120 * debug/catchsegv.sh: Likewise.
27121
2ba92745
JJ
271222011-12-30 Jakub Jelinek <jakub@redhat.com>
27123
27124 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27125 pure attribute.
27126
dadebdae
UD
271272011-12-24 Ulrich Drepper <drepper@gmail.com>
27128
d3761ebc 27129 [BZ #13533]
db6af3eb
UD
27130 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27131 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27132 transformations.
27133 * iconv/gconv_int.h: Likewise.
27134 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27135 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27136 from libc for GLIBC_2.16.
27137 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27138 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27139 * wcsmbs/uchar.h: Really define mbstate_t.
27140 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27141 * wcsmbs/c16rtomb.c: New file.
27142 * wcsmbs/mbrtoc16.c: New file.
27143 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27144 for C/POSIX locale.
27145 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27146 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27147
dadebdae
UD
27148 * wcsmbs/wchar.h: Add missing __restrict.
27149
67371b56
UD
271502011-12-23 Ulrich Drepper <drepper@gmail.com>
27151
74033a25
UD
27152 [BZ #13532]
27153 * time/Makefile (routines): Add timespec_get.
27154 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27155 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27156 timespec for ISO C11.
27157 * time/timespec_get.c: New file.
27158 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27159 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27160
380d7e87
UD
27161 [BZ #13531]
27162 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27163 * stdlib/stdlib.h: Declare aligned_alloc.
27164 * Versions.def: Add GLIBC_2.16 for libc.
27165 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27166
4e9e7a35
UD
27167 [BZ 13527]
27168 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27169 ISO C11.
27170
380d7e87 27171 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
27172 code.
27173
03a71829
UD
27174 [BZ #13528]
27175 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27176
839e283e
UD
27177 [BZ #13529]
27178 * assert/assert.h (static_assert): Define.
27179
ce5294e2 27180 * version.h: Update for 2.16 development version.
90fa7312 27181
8d44e150 27182 [BZ #13526]
d7809905
UD
27183 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27184 _ISOC11_SOURCE.
27185
c0da14cd
UD
27186 * version.h (RELEASE): Bump for 2.15 release.
27187 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27188
530a3249
MP
27189 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27190 Patch by Marek Polacek <mpolacek@redhat.com>.
27191
67371b56
UD
27192 * bits/byteswap.h: Protect long long constants with __extension__.
27193 * sysdeps/i386/bits/byteswap.h: Likewise.
27194 * sysdeps/ia64/bits/byteswap.h: Likewise.
27195 * sysdeps/s390/bits/byteswap.h: Likewise.
27196 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27197
15db4de1
LD
271982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27199
27200 [BZ #13540]
bbe315ea
LD
27201 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27202 destination buffer.
15db4de1
LD
27203 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27204
2b2596b1
MP
272052011-12-23 Marek Polacek <polacek@redhat.com>
27206
27207 * elf/dl-addr.c (determine_info): Add inline keyword.
27208 * elf/tst-auditmod4b.c (check_avx): Likewise.
27209 * elf/tst-auditmod6b.c (check_avx): Likewise.
27210 * elf/tst-auditmod6c.c (check_avx): Likewise.
27211 * elf/tst-auditmod7b.c (check_avx): Likewise.
27212
70c6c246
UD
272132011-12-23 Ulrich Drepper <drepper@gmail.com>
27214
27215 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27216 !__SSE_MATH__.
27217
c044cf14
LD
272182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27219
15db4de1 27220 [BZ #13540]
c044cf14
LD
27221 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27222 processing for last bytes.
27223
6b13d9d9
BH
272242011-08-06 Bruno Haible <bruno@clisp.org>
27225
d455f537
BH
27226 [BZ #13061]
27227 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27228 U+0385, not to U+1FEE.
27229
6b13d9d9
BH
27230 [BZ #13062]
27231 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27232 entry for U+00A5 U+0301.
27233
db910efd
UD
272342011-12-22 Ulrich Drepper <drepper@gmail.com>
27235
27deeafc
UD
27236 [BZ #13166]
27237 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27238 buffer for the output is too small.
27239
aed9d171
UD
27240 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27241 optimization.
27242
db910efd
UD
27243 [BZ #13185]
27244 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27245 SSE flags if possible.
27246
2bd779ae
LD
272472011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27248
e7f9dac3 27249 [BZ #13540]
2bd779ae
LD
27250 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27251 processing for last bytes.
27252
154bfc16
JM
272532011-12-22 Joseph Myers <joseph@codesourcery.com>
27254
27255 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27256 (syscall-list-default-options, syscall-list-default-condition)
27257 (syscall-list-includes): Define.
27258 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27259 list of ABIs and options and #if conditions for each ABI. Do not
27260 handle common syscalls between ABIs specially.
27261 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27262 Remove.
27263 (syscall-list-variants, syscall-list-32bit-options)
27264 (syscall-list-32bit-condition, syscall-list-64bit-options)
27265 (syscall-list-64bit-condition): Define.
27266 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27267 (syscall-list-variants, syscall-list-32bit-options)
27268 (syscall-list-32bit-condition, syscall-list-64bit-options)
27269 (syscall-list-64bit-condition): Define.
27270 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27271 Remove.
27272 (syscall-list-variants, syscall-list-32bit-options)
27273 (syscall-list-32bit-condition, syscall-list-64bit-options)
27274 (syscall-list-64bit-condition): Define.
27275 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27276 Remove.
27277 (syscall-list-variants, syscall-list-32bit-options)
27278 (syscall-list-32bit-condition, syscall-list-64bit-options)
27279 (syscall-list-64bit-condition): Define.
27280
21eaf3a5
UD
272812011-12-22 Ulrich Drepper <drepper@gmail.com>
27282
16c6f992
UD
27283 * locale/iso-639.def: Add brx entry.
27284
41043168
UD
27285 [BZ #13328]
27286 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27287 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27288
21eaf3a5
UD
27289 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27290 __feraiseexcept_renamed.
27291
e3a851a2
UD
272922011-12-21 Ulrich Drepper <drepper@gmail.com>
27293
4920765e
UD
27294 [BZ #13538]
27295 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27296 EPOLLET with unsigned values.
27297 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27298 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27299
e3a851a2
UD
27300 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27301 to large cancellation.
27302 * math/s_cacoshf.c: Likewise.
27303 * math/s_cacoshl.c: Likewise.
27304
b27e24b8
RK
273052011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27306
27307 [BZ #13305]
aebefeee 27308 [BZ #12786]
b27e24b8
RK
27309 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27310 * math/s_cacoshf.c: Likewise.
27311 * math/s_cacoshl.c: Likewise.
27312
ee190f67
UD
273132011-12-21 Ulrich Drepper <drepper@gmail.com>
27314
27315 [BZ #13439]
27316 * iconv/gconv.h: Define __GCONV_SWAP.
27317 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27318 * iconvdata/utf-16.c: Likewise.
27319 * iconvdata/utf-32.c: Likewise.
27320
707f25df
AS
273212011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27322
27323 [BZ #13524]
27324 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27325 numerator after shifting it by one limb.
27326
d2daaa1e
RÁE
273272011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27328
27329 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27330 under [__USE_EXTERN_INLINES].
27331
a4647e72
UD
273322011-12-17 Ulrich Drepper <drepper@gmail.com>
27333
27334 [BZ #13446]
27335 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27336
f0b264f1
AZ
273372011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27338
27339 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27340 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27341 optimized code.
27342 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27343 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27344 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27345 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27346 for strncasecmp/strncasecmp_l compilation.
27347 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27348 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27349
8ef4f244
MP
273502011-12-08 Marek Polacek <mpolacek@redhat.com>
27351
27352 [BZ #13484]
27353 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27354 of __asm__.
27355
97ac2654
UD
273562011-12-17 Ulrich Drepper <drepper@gmail.com>
27357
27358 [BZ #13506]
27359 * time/tzfile.c (__tzfile_read): Check values from file header.
27360
91d2a845
WS
273612011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27362
27363 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27364 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27365 * powerpc/powerpc32/dl-start.S: Likewise.
27366 * powerpc/powerpc32/elf/start.S: Likewise.
27367 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27368 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27369 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27370 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27371 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27372 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27373 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27374 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27375 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27376 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27377 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27378 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27379 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27380 * powerpc/powerpc32/memset.S: Likewise.
27381 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27382 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27383 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27384 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27385 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27386 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27387 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27388 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27389 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27390 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27391 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27392 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27393 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27394
a1267ba1
AZ
273952011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27396
27397 * math/libm-test.inc: Added more nearbyint tests.
27398 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27399 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27400 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27401 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27402
ad8ac1bd
RL
274032011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27404
27405 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27406 FD_CLOEXEC.
27407
1d3e4b61
UD
274082011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27409
27410 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27411 Add wcscpy-ssse3 wcscpy-c.
27412 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27413 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27414 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27415 * sysdeps/x86_64/wcschr.S: New file.
27416 * sysdeps/x86_64/wcsrchr.S: New file.
27417 * string/test-strcmp.c: Remove checking of wcscmp function for
27418 wrong alignments.
27419 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27420 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27421 wcsrchr-sse2 wcsrchr-c.
27422 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27423 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27424 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27425 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27426 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27427 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27428 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27429 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27430 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27431 * wcsmbc/wcschr.c (WCSCHR): New macro.
27432
5b330a2d
UD
274332011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27434
27435 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27436 * wcsmbs/test-wcsrchr.c: New file.
27437 * string/test-strrchr.c: Add wcsrchr support.
27438 (WIDE): New macro.
27439 * wcsmbs/test-wcscpy.c: New file.
27440 * string/test-strcpy.c: Add wcscpy support.
27441 (WIDE): New macro.
26428b7c 27442
f039c043
UD
274432011-12-10 Ulrich Drepper <drepper@gmail.com>
27444
27445 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27446 the inner loop.
27447
850fb039
AS
274482011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27449
27450 [BZ #13472]
27451 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27452
4efbd5cb
UD
274532011-12-04 Ulrich Drepper <drepper@gmail.com>
27454
52ff5dd0 27455 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27456 Minor optimizations.
52ff5dd0 27457
4efbd5cb
UD
27458 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27459 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27460 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27461
8a426e12
UD
274622011-12-03 Ulrich Drepper <drepper@gmail.com>
27463
aff2453d
UD
27464 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27465 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27466 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27467 for gcc to avoid warnings.
27468 * inet/Makefile (tests): Add tst-checks.
27469 * inet/tst-checks.c: New file.
27470
27471 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27472 warning.
27473
27474 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27475 __wmemcmp_sse2.
27476
27477 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27478 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27479
8a426e12
UD
27480 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27481
9bea3473
UD
274822011-12-02 Ulrich Drepper <drepper@gmail.com>
27483
3a965496
UD
27484 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27485 problem.
27486
9bea3473
UD
27487 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27488
f101631b
UD
274892011-11-29 Joseph Myers <joseph@codesourcery.com>
27490
27491 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27492 conditional on GCC version.
27493 (__arch_compare_and_exchange_val_8_acq)
27494 (__arch_compare_and_exchange_val_16_acq)
27495 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27496 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27497 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27498
a98275aa
UD
274992011-12-02 Joseph Myers <joseph@codesourcery.com>
27500
27501 * sysdeps/sh/backtrace.c: New file.
27502
d4cc29a2
AS
275032011-12-02 Andreas Schwab <schwab@redhat.com>
27504
27505 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27506 parenthesis.
27507
6257af2d
AS
275082011-12-01 Andreas Schwab <schwab@redhat.com>
27509
27510 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27511 falling back to utime.
27512
b5f44c1a
AS
275132011-11-30 Andreas Schwab <schwab@redhat.com>
27514
27515 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27516 expectations for float.
27517
f3a6cc0a
AS
275182011-11-29 Andreas Schwab <schwab@redhat.com>
27519
27520 * locale/weight.h (findidx): Add parameter len.
27521 * locale/weightwc.h (findidx): Likewise.
27522 * posix/fnmatch_loop.c (FCT): Adjust caller.
27523 * posix/regcomp.c (build_equiv_class): Likewise.
27524 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27525 * posix/regexec.c (check_node_accept_bytes): Likewise.
27526 * string/strcoll_l.c (STRCOLL): Likewise.
27527 * string/strxfrm_l.c (STRXFRM): Likewise.
27528
9d65ea3a
UD
275292011-11-17 Ulrich Drepper <drepper@gmail.com>
27530
27531 * Makefile.in: Remove CVSOPT handling.
27532 * configure.in: Remove use of AC_REVISION.
27533 * iconvdata/Makefile (distribute): No need to filter out CVS.
27534 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27535 handling.
27536
5583a086
AS
275372011-11-16 Andreas Schwab <schwab@redhat.com>
27538
27539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27540 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27541 [USE_AS_STRNCASECMP_L]: Likewise.
27542 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27543 NO_TLS_DIRECT_SEG_REFS.
27544 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27545 Fix argument offsets for non-PIC.
27546 [USE_AS_STRNCASECMP_L]: Likewise.
27547 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27548 NO_TLS_DIRECT_SEG_REFS.
27549
d62a8200
UD
275502011-11-15 Ulrich Drepper <drepper@gmail.com>
27551
9d65ea3a 27552 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27553 O_CLOEXEC.
27554 * locale/loadlocale.c (_nl_load_locale): Likewise.
27555
09f93bd3
AS
275562011-11-15 Andreas Schwab <schwab@redhat.com>
27557
446514f9
AS
27558 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27559 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27560 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27561 (SYSCALL_GETTIME): Set errno on error.
27562
09f93bd3
AS
27563 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27564 count references to noai6ai_cached.
27565
312be3f9
UD
275662011-11-15 Ulrich Drepper <drepper@gmail.com>
27567
27568 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27569
27570 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27571 FD_CLOEXEC for /proc/self/maps.
27572
27573 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27574 FD_CLOEXEC for /proc/meminfo.
27575
27576 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27577 gai.conf.
27578
27579 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27580 FD_CLOEXEC for given file.
27581
27582 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27583
27584 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27585 FD_CLOEXEC for /etc/hosts.
27586 (_gethtent): Likewise.
27587
27588 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27589
27590 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27591 cancellation and set FD_CLOEXEC for /etc/netgroup.
27592
27593 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27594 reading /etc/publickey.
27595
27596 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27597 allow cancellation when reading /etc/group.
27598
27599 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27600 cancellation.
27601 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27602
27603 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27604 when using data file.
27605
27606 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27607
27608 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27609 (write_nis_obj): Use "c" and "e" in fopen.
27610
27611 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27612
27613 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27614
27615 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27616
27617 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27618
27619 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27620 locale.alias.
27621
27622 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27623
27624 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27625
27626 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27627
27628 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27629 file parsing and set FD_CLOEXEC.
27630
82af0fa8
UD
276312011-11-14 Ulrich Drepper <drepper@gmail.com>
27632
27633 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27634
a5fb313c
AS
276352011-11-14 Andreas Schwab <schwab@redhat.com>
27636
27637 * malloc/arena.c (arena_get2): Don't call reused_arena when
27638 _int_new_arena failed.
27639
6abf3465
UD
276402011-11-14 Ulrich Drepper <drepper@gmail.com>
27641
27642 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27643 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27644 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27645 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27646 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27647 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27648 to compile strcasecmp and strncasecmp.
27649 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27650 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27651
27652 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27653
76e3966e
UD
276542011-11-13 Ulrich Drepper <drepper@gmail.com>
27655
27656 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27657 locale-defines.sym to gen-as-const-headers.
27658 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27659 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27661 to compile strcasecmp and strncasecmp.
27662 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27663 strcasecmp_l and strncasecmp_l.
27664 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27665 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27666 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27667 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27668 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27669 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27670 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27671 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27672 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27673 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27674 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27675
ab26144e
UD
276762011-11-12 Ulrich Drepper <drepper@gmail.com>
27677
7edb22ef
UD
27678 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27679 result of SYSDEP_GETTIME_CPU to retval.
27680 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27681 parameter list to macro. Remove trailing semicolon. Adjust users.
27682
9694fc44
UD
27683 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27684 variable.
27685
8ad89ef8
UD
27686 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27687 mantissa words.
27688 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27689
0c822ef9
UD
27690 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27691 from unused variable.
27692
874e0564
UD
27693 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27694 DWARF definitions.
27695 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27696 for assembling.
27697
3a2edc79
UD
27698 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27699 over namespaces.
27700
f3c2577f
UD
27701 * sunrpc/rpc_prot.c (rejected): Fix case value.
27702
294ce126
UD
27703 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27704 unsigned long long int to avoid warnings in shift.
27705
5e2b63c6
UD
27706 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27707 of use of trans.
27708 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27709 variable tmp.
27710
e7f4b08e
UD
27711 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27712 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27713 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27714
ab26144e
UD
27715 * nis/nis_table.c (nis_list): Use variable of correct type for
27716 result of __follow_path call.
27717
8a6d5255
AZ
277182011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27719
27720 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27721 of math functions ceil, trunc, floor, round, and sqrt, when
27722 avaliable on the platform.
27723 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27724 name clash.
27725 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27726 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27727 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27728
aaddc98c
MP
277292011-10-30 Marek Polacek <mpolacek@redhat.com>
27730
27731 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27732 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27733
95b7042b
RM
277342011-11-11 Roland McGrath <roland@hack.frob.com>
27735
27736 * include/unistd.h: Fix __readlink return type.
27737 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27738
57769839
UD
277392011-11-11 Ulrich Drepper <drepper@gmail.com>
27740
27741 * stdlib/ucontext.h: Undo last change for makecontext.
27742
edc5984d
AS
277432011-11-11 Andreas Schwab <schwab@redhat.com>
27744
98591e58
AS
27745 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27746
edc5984d
AS
27747 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27748 * setjmp/setjmp.h: Mark functions as non-leaf.
27749 * setjmp/bits/setjmp2.h: Likewise.
27750 * stdlib/ucontext.h: Likewise.
27751
77cdc054
AS
277522011-11-10 Andreas Schwab <schwab@redhat.com>
27753
27754 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27755 (reused_arena): Don't check arena limit.
27756 (arena_get2): Atomically check arena limit.
27757
fe72eebd
UD
277582011-11-08 Ulrich Drepper <drepper@gmail.com>
27759
5f078c32
UD
27760 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27761 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27762
fe72eebd
UD
27763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27764 instructions.
27765
ae1bc2fa
AS
277662011-11-07 Andreas Schwab <schwab@redhat.com>
27767
7583a88d
AS
27768 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27769 handler when locking.
27770
ae1bc2fa
AS
27771 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27772 Fix size of allocated buffer.
27773
10fb0bfa
AS
277742011-11-04 Andreas Schwab <schwab@redhat.com>
27775
998832a4
AS
27776 [BZ #10103]
27777 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27778 declarations for long double functions.
27779 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27780
10fb0bfa
AS
27781 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27782
3d7ba52b
AS
277832011-11-03 Andreas Schwab <schwab@redhat.com>
27784
a9ae54a1
AS
27785 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27786 installed.
27787
3d7ba52b
AS
27788 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27789 is disabled.
27790
bc8db248
ST
277912011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27792
27793 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27794
45b96dd6
AS
277952011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27796
647776f6
AS
27797 * include/alloca.h (stackinfo_alloca_round): Define.
27798 (extend_alloca): Use it.
27799 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27800 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27801 here.
27802
d91a8b93
AS
27803 * scripts/check-local-headers.sh: Ignore libaudit.h.
27804
45b96dd6
AS
27805 * nscd/Makefile (extra-objs): Make recursively expanded.
27806
432d41ce
UD
278072011-11-01 Ulrich Drepper <drepper@gmail.com>
27808
34372fc6
UD
27809 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27810 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27811
fadb59f8
UD
27812 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27813 * posix/tst-rfc3484-2.c: Likewise.
27814 * posix/tst-rfc3484-3.c: Likewise.
27815
78239589
UD
27816 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27817 process_vm_writev.
27818 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27819 process_vm_writev.
27820 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27821 process_vm_writev from libc using GLIBC_2.15 version.
27822
432d41ce
UD
27823 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27824
02f9c6cf
PP
278252011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27826
27827 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27828 stack usage.
27829
3a2c0242
UD
278302011-10-31 Ulrich Drepper <drepper@gmail.com>
27831
f4ec4833
UD
27832 [BZ #13367]
27833 * nss/getent.c (initgroups_keys): Show error message in case no group
27834 names are given.
27835
3a2c0242
UD
27836 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27837 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27838 __bump_nl_timestamp.
27839 * nscd/connections (nscd_init): When host database is served open
27840 netlink socket and request notification about configuration changes.
27841 (main_loop_poll): Track netlink file descriptor and bump timestamp
27842 in case data becomes available.
27843 (main_loop_epoll): Likewise.
27844 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27845 (database_pers_head): Add extra_data fileds.
27846 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27847 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27848 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27849 Adjust caller.
27850 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27851 in6ai data, call __free_in6ai.
27852 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27853 Add -DHAVE_NETLINK.
27854 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27855 interface information. Reuse previous data if netlink timestamp
27856 is not changed.
27857 (__bump_nl_timestamp): New function.
27858 (__free_in6ai): New function.
27859
636064eb
UD
278602011-10-30 Ulrich Drepper <drepper@gmail.com>
27861
27862 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27863 close_not_cancel_no_status here.
27864 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27865
9beb2334
UD
278662011-10-29 Ulrich Drepper <drepper@gmail.com>
27867
6ef76f3b
UD
27868 [BZ #13276]
27869 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27870 return value.
27871
0ffc4f3e 27872 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27873 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27874 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27875
cb95113e
UD
278762011-07-03 Andreas Jaeger <aj@suse.de>
27877
27878 [BZ #10709]
27879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27880 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27881 * math/libm-test.inc (sin_test): Add test case.
27882
a1b560ff
UD
278832011-10-29 Ulrich Drepper <drepper@gmail.com>
27884
c9aaface
UD
27885 [BZ #13337]
27886 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27887 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27888
d272e7f1
UD
27889 * elf/chroot_canon.c (chroot_canon): Cleanups.
27890
1bc33071
UD
27891 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27892
1760874d
TJ
27893 [BZ #13335]
27894 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27895 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27896
51d91b18
UD
27897 * string/test-strchr.c: Make usable for strchrnul testing.
27898 * string/test-strchrnul.c: New file.
27899 * string/Makefile (strop-tests): Add strchrnul.
27900
a1b560ff 27901 * po/it.po: Update from translation team.
b611fb81 27902 * po/es.po: Likewise.
a1b560ff 27903
a5b81e1f
UD
279042011-10-28 Ulrich Drepper <drepper@gmail.com>
27905
fd52bc6d
UD
27906 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27907 the three constants needed as parameters. Drop the others.
27908 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27909 __m128i_strloadu_tolower.
52e4b9eb
UD
27910 Create and initialize variable zero and use it in all the places
27911 where _mm_setzero_si128 was used.
fd52bc6d 27912
a5b81e1f
UD
27913 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27914 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27915 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27916 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27917 anymore.
27918 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27919 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27920 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27921 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27922 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27923 __mpranred, __mptan.
27924 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27925 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27926 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27927 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27928 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27929 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27930 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27931 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27932 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27933
b4343346
AS
279342011-10-28 Andreas Schwab <schwab@redhat.com>
27935
0c92d8a8
AS
27936 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27937 redefine if SHARED.
27938 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27939
b4343346
AS
27940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27941 wide char related routines to wcsmbs subdir.
27942
3871f58f
AS
279432011-10-27 Andreas Schwab <schwab@redhat.com>
27944
27945 [BZ #13344]
27946 * misc/sys/cdefs.h (__THROWNL): Define.
27947 * posix/unistd.h: Use __THREADNL instead of __THREAD
27948 for memory synchronization functions.
27949
94d44d9f
RM
279502011-10-26 Roland McGrath <roland@hack.frob.com>
27951
21b64b15 27952 [BZ #13349]
94d44d9f
RM
27953 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27954 doesn't exist.
27955 * manual/stdio.texi (Obstack Streams): Node removed.
27956
f6ce9294
AS
279572011-10-26 Andreas Schwab <schwab@redhat.com>
27958
80479147
AS
27959 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27960 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27961 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27962
f6ce9294
AS
27963 * math/math_private.h (math_force_eval): Allow non-addressable
27964 arguments.
27965 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27966
618280a1
UD
279672011-10-25 Ulrich Drepper <drepper@gmail.com>
27968
e0016b11
UD
27969 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27970 file is not needed.
27971
27972 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27973 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27974 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27975 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27976 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27977 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27978 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27979 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27980 Add AVX variants.
27981 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27982 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27983 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27984 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27985 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27986 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27987 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27988 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27989 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27990 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27991 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27992 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27993 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27994 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27995 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27996 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27997 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27998 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27999 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28000
28001 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28002 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28003
618280a1
UD
28004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28005 place. Use VEX encoding when compiling for AVX.
28006
37822576
AS
280072011-10-25 Andreas Schwab <schwab@redhat.com>
28008
1f1e1947
AS
28009 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28010 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28011
37822576
AS
28012 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28013
31ea014d
UD
280142011-10-25 Ulrich Drepper <drepper@gmail.com>
28015
d7826aa1 28016 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 28017 useless if() expression.
d7826aa1
UD
28018 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28019 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28020 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28021 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28022 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28023 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28024 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28025 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28026 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28027 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28028 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28029 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28030 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28031 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28032 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28033 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28034 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28035 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28036 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28037
31ea014d
UD
28038 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28039
16437fec
AS
280402011-10-25 Andreas Schwab <schwab@redhat.com>
28041
28042 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28043 condition.
28044 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28045
31d3cc00
UD
280462011-10-25 Ulrich Drepper <drepper@gmail.com>
28047
28048 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28049 .text section. Avoid duplicate constants.
28050 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28052 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28053 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28054 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28057 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28058 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28059 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28060 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28061 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28062 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28063 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28064 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28065 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28066 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28067 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28068 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28069 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28070 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28071 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28072 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28073 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28074 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28075 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28076 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28077 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28078 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28079 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28080 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28081 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28082 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28083 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28084 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28085 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28086 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28087 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28088 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28089 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28090 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28091 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28092 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28093 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28094 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28095
58985aa9
UD
280962011-10-24 Ulrich Drepper <drepper@gmail.com>
28097
202c9deb
UD
28098 * sysdeps/x86_64/dla.h: Move to ...
28099 * sysdeps/x86_64/fpu/dla.h: ...here.
28100 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28101 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 28102
af968f62
UD
28103 * config.make.in: Add have-mfma4 entry.
28104 * configure.in: Substitute libc_cv_cc_fma4.
28105 * math/Makefile (dbl-only-routines): Add sincostab.
28106 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28107 Use __sincostab not sincos.
28108 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28109 name is a macro.
28110 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28111 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28114 using __copysign.
28115 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28116 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28117 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28118 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28119 and __inv.
28120 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28121 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28122 __copysign.
28123 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28124 define aliases when function name is a macro.
28125 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28126 sysdeps/ieee754/dbl-64/sincos.tbl.
28127 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28128 fma4-enabled routines.
28129 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28130 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28131 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28132 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28133 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28134 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28135 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28136 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28137 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28138 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28139 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28140 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28141 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28142 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28143 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28144 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28145 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28146 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28147 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28148 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28149 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28150 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28151 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28152 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28153 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28154 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28155 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28156 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28157 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28158 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28159
58985aa9
UD
28160 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28161 rename.
28162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28167 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28168 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28170
a201fbcf
AS
281712011-10-24 Andreas Schwab <schwab@redhat.com>
28172
28173 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28174
fc2ee42a
LD
281752011-10-23 Ulrich Drepper <drepper@gmail.com>
28176
bb3129bd
UD
28177 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28178
0275fff8
UD
28179 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28180 prediction.
28181 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28182
2fa2ae85
UD
28183 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28184 Remove unused variable magic_bits.
28185 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28186
fc2ee42a
LD
28187 * string/strnlen.c: Define and use STRNLEN macro.
28188 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28189 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28190 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28191 * wcsmbs/wcslen.c: Define and use WCSLEN.
28192 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28193 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28194 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28195 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28196 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28197 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28198 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28199
ce7dd29f
LD
282002011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28201
28202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28203 strnlen-sse2-no-bsf.
28204 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28205 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28206 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28207 Add strnlen support.
28208 (USE_AS_STRNLEN): New macro.
28209 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28210 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28211 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28212 * sysdeps/x86_64/wcslen.S: New file.
28213
979c70a3
MZ
282142011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28215
28216 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28217 XMM-moves are used for copying on small sizes.
28218
2d09f82f
LD
282192011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28220
28221 * wcsmbs/Makefile (strop-tests): Add wcschr.
28222 * wcsmbs/test-wcschr.c: New file.
28223 * string/test-strchr.c: Update.
28224 Add wcschr support.
28225 (WIDE): New macro.
28226
619fccca
LD
282272011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28228
2d09f82f 28229 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
28230 * wcsmbs/test-wcslen.c: New file.
28231 * string/test-strlen.c: Update.
28232 Add wcslen support.
28233 (WIDE): New macro.
28234
09f699ea
UD
282352011-10-23 Ulrich Drepper <drepper@gmail.com>
28236
28237 * po/it.po: Update from translation team.
28238
95584d3b
LD
282392011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28240
28241 * sysdeps/x86_64/wcscmp.S: Update.
28242 Fix wrong comparison semantics.
28243 wcscmp shall use signed comparison not unsigned.
28244 Don't use substraction to avoid overflow bug.
28245 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28246 * wcsmbc/wcscmp.c: Likewise.
28247 * string/test-strcmp.c: Likewise.
28248 Add new tests to check cases with negative values.
28249
c8b3296b
UD
282502011-10-23 Ulrich Drepper <drepper@gmail.com>
28251
28252 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28253 * sysdeps/x86_64/dla.h: ...here. New file.
28254 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28255 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28256 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28259 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28260 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28261 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28262 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28263
246ad57a
AS
282642011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28265
28266 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28267 __ynl_finite aliases.
28268
a1a87169
UD
282692011-10-22 Ulrich Drepper <drepper@gmail.com>
28270
0d355eb7
UD
28271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28272
a1a87169
UD
28273 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28274 define DLA_FMA.
28275 [DLA_FMA] (EMULV): Use DLA_FMA.
28276 [DLA_FMA] (MUL12): Use EMULV.
28277 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28278 that are not needed.
28279 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28280 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28281 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28282 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28283 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28284 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28285 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28286
ee2aafe0
AS
282872011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28288
28289 * math/s_nan.c: Undef __nan.
28290 * math/s_nanf.c: Undef __nanf.
28291 * math/s_nanl.c: Undef __nanl.
28292 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28293 "math_private.h".
28294
bc62c2fb
UD
282952011-10-22 Ulrich Drepper <drepper@gmail.com>
28296
77425c63
UD
28297 * math/s_catan.c: Add branch predictions.
28298 * math/s_catanf.c: Likewise.
28299 * math/s_catanh.c: Likewise.
28300 * math/s_catanhf.c: Likewise.
28301 * math/s_catanhl.c: Likewise.
28302 * math/s_catanl.c: Likewise.
28303 * math/s_cexp.c: Likewise.
28304 * math/s_cexpf.c: Likewise.
28305 * math/s_cexpl.c: Likewise.
28306 * math/s_clog.c: Likewise.
28307 * math/s_clog10.c: Likewise.
28308 * math/s_clog10f.c: Likewise.
28309 * math/s_clog10l.c: Likewise.
28310 * math/s_clogf.c: Likewise.
28311 * math/s_clogl.c: Likewise.
28312 * math/s_csqrt.c: Likewise.
28313 * math/s_csqrtf.c: Likewise.
28314 * math/s_csqrtl.c: Likewise.
28315 * math/s_ctanf.c: Likewise.
28316 * math/s_ctanh.c: Likewise.
28317 * math/s_ctanhf.c: Likewise.
28318 * math/s_ctanhl.c: Likewise.
28319 * math/s_ctanl.c: Likewise.
28320
bc62c2fb
UD
28321 * math/math_private.h: Define __nan, __nanf, __nanl.
28322 * math/s_cacosh.c: Include <math_private.h>.
28323 * math/s_cacoshl.c: Likewise.
28324 * math/s_casinh.c: Likewise.
28325 * math/s_casinhf.c: Likewise.
28326 * math/s_casinhl.c: Likewise.
28327 * math/s_ccos.c: Rely entire on ccosh.
28328 * math/s_ccosf.c: Rely entire on ccoshf.
28329 * math/s_ccosl.c: Rely entirely on ccoshl.
28330 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28331 Remove tests for FE_INVALID.
28332 * math/s_ccoshf.c: Likewise.
28333 * math/s_ccoshl.c: Likewise.
28334 * math/s_csin.c: Likewise.
28335 * math/s_csinf.c: Likewise.
28336 * math/s_csinh.c Likewise.
28337 * math/s_csinhf.c: Likewise.
28338 * math/s_csinhl.c: Likewise.
28339 * math/s_csinl.c: Likewise.
28340 * math/s_ctan.c: Likewise.
28341 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28342 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28343 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28344
8ec250a4
UD
283452011-10-21 Ulrich Drepper <drepper@gmail.com>
28346
c196fed8
UD
28347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28348 compilation problems.
28349
8ec250a4
UD
28350 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28351 __builtin_expect.
28352
8d4f46c6
UD
283532011-10-20 Ulrich Drepper <drepper@gmail.com>
28354
ed72b654
UD
28355 * sysdeps/i386/configure.in: Test for -mfma4 option.
28356 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28357 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28358 COMMON_CPUID_INDEX_80000001.
28359 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28360 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28361 use it if FMA3 is not supported.
28362 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28363
8d4f46c6
UD
28364 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28365 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28366
d45c60c2
AS
283672011-10-20 Andreas Schwab <schwab@redhat.com>
28368
28369 [BZ #12892]
28370 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28371 it would create a cycle with a link time dependency.
28372
d9a4d2ab
UD
283732011-10-19 Ulrich Drepper <drepper@gmail.com>
28374
855d1560
UD
28375 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28376 instruction.
28377 * string/Makefile (strop-tests): Add rawmemchr.
28378 * string/test-rawmemchr.c: New file.
28379
d9a4d2ab
UD
28380 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28381 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28382 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28383 when compiling str{,n}casecmp and when AVX is available. Hook up
28384 new optimized code in initializers.
28385
8f3b1ffe
AS
283862011-10-19 Andreas Schwab <schwab@redhat.com>
28387
28388 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28389 __feraiseexcept instead of feraiseexcept.
28390
d38f1dba
UD
283912011-10-18 Ulrich Drepper <drepper@gmail.com>
28392
d9a8d0ab
UD
28393 * math/math_private.h: Define defaults for libc_fetestexcept and
28394 libc_feupdateenv.
28395 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28396 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28397 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28398 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28399 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28400 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28401 libc_fetestexcept and libc_feupdateenv.
28402
4855e3dd
UD
28403 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28404 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28405 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28406 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28407 libc_feholdexcept_setround.
28408
581d30e3
UD
28409 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28410 Add s_nearbyint-c and s_nearbyintf-c.
28411 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28412 nearbyintf inlines.
28413 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28414 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28415 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28416 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28417
d38f1dba
UD
28418 * math/math_private.h: Define defaults for libc_fegetround,
28419 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28420 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28421 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28422 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28423 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28424 standard functions.
28425 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28426 Remove comments and hacks for old compiler versions.
28427 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28428 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28429 libc_feholdexceptl.
28430
caa6c9d8
AS
284312011-10-18 Andreas Schwab <schwab@redhat.com>
28432
28433 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28434 (__feraiseexcept_renamed): Add __NTH.
28435 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28436 namespace violations.
28437
97c066e6
UD
284382011-10-17 Ulrich Drepper <drepper@gmail.com>
28439
99ce7b04
UD
28440 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28441
1004d182
UD
28442 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28443
228a984d
UD
28444 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28445 recently added interfaces.
28446 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28447
c8553a6a
UD
28448 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28449 about macro parameter expansion.
28450
ed22dcf6
UD
28451 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28452 __NO_MATH_INLINES is defined. Cleanups.
28453
28454 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28455 and __floorf is target has SSE4.1.
28456 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28457 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28458 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28459 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28460
b171c137
UD
28461 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28462 name.
28463 (floorf): Likewise.
28464
97c066e6
UD
28465 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28466
629f62ef
AS
284672011-10-17 Andreas Schwab <schwab@redhat.com>
28468
49a43d80
AS
28469 * misc/sys/cdefs.h: Fix last change.
28470
629f62ef
AS
28471 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28472 database lookup.
28473
e453f6cd
UD
284742011-10-16 Ulrich Drepper <drepper@gmail.com>
28475
aa78043a
UD
28476 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28477
ad0f5cad
UD
28478 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28479 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28480 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28481 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28482 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28483 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28484 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28485 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28486 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28487 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28488 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28489 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28490 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28491 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28492 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28493 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28494 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28495 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28496 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28497 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28498 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28499 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28500
28501 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28502 ceil, ceilf, floor, floorf.
28503
28504 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28505 Perform IRELATIVE relocations last.
28506
e453f6cd
UD
28507 * elf/do-rel.h: Add another parameter nrelative, replacing the
28508 local variable with the same name. Change name of the function
28509 to end in Rel or Rela (uppercase).
28510 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28511 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28512 elf_dynamic_do_##reloc function.
28513
fd5bdc09
UD
285142011-10-15 Ulrich Drepper <drepper@gmail.com>
28515
79b195b5
UD
28516 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28517 is sufficient, at least on modern CPUs.
28518
d4a28569
UD
28519 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28520
b61099b5
UD
28521 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28522 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28523
bcf01e6d
UD
28524 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28525 __expl_finite.
28526 * math/bits/math-finite.h: Add entries for exp.
28527 * math/e_expl.c: Add __*_finite alias.
28528 * sysdeps/i386/fpu/e_exp.S: Likewise.
28529 * sysdeps/i386/fpu/e_expf.S: Likewise.
28530 * sysdeps/i386/fpu/e_expl.c: Likewise.
28531 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28532 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28533 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28534 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28535 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28536 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28537 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28538
ba1a0d59
UD
28539 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28540 is sufficient, at least on modern CPUs.
28541
fd5bdc09
UD
28542 * ctype/ctype-info.c (__ctype_init): Define.
28543 * include/ctype.h (__ctype_init): Declare.
28544 (__ctype_b_loc): The variable is always initialized.
28545 (__ctype_toupper_loc): Likewise.
28546 (__ctype_tolower_loc): Likewise.
28547 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28548 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28549
7872cfb0
AS
285502011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28551
b468825a
AS
28552 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28553
7872cfb0
AS
28554 * configure.in: Also look in $cxxmachine/include for C++ system
28555 headers.
28556
be13f7bf
LD
285572011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28558
28559 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28560 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28561 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28562 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28563 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28564 (USE_AS_WMEMCMP): New macro.
28565 Fixing indents.
28566 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28567 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28568 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28569 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28571 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28572 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28573 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28574 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28575 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28576 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28577 (USE_AS_WMEMCMP): New macro.
28578 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28579 * sysdeps/string/test-memcmp.c: Update.
28580 Fix simple_wmemcmp.
28581 Add new tests.
28582 * wcsmbs/wmemcmp.c: Update.
28583 (WMEMCMP): New macro.
28584 Fix overflow bug.
28585
556a2007
AJ
285862011-10-12 Andreas Jaeger <aj@suse.de>
28587
28588 [BZ #13268]
28589 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28590
538faaa7
UD
285912011-10-15 Ulrich Drepper <drepper@gmail.com>
28592
ab6737ff
UD
28593 * libio/iofwide.c (do_length): Avoid warning.
28594
538faaa7
UD
28595 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28596
396a21b1
UD
285972011-10-14 Ulrich Drepper <drepper@gmail.com>
28598
cdf2901f
UD
28599 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28600
38ad40ce
UD
28601 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28602 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28603 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28604 * sysdeps/i386/i686/fpu/e_log.S: New file.
28605 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28606 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28607
396a21b1
UD
28608 * ctype/ctype.h: Add support for inlined isXXX functions when
28609 compiling C++ code.
28610
6b1f68c9
AS
286112011-10-14 Andreas Schwab <schwab@redhat.com>
28612
349290c0
AS
28613 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28614
6b1f68c9
AS
28615 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28616
f2282d42
RM
286172011-10-13 Roland McGrath <roland@hack.frob.com>
28618
28619 [BZ #13291]
28620 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28621
5298ffa8
AS
286222011-10-13 Andreas Schwab <schwab@redhat.com>
28623
714fad23
AS
28624 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28625 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28626 feraiseexcept.
28627
81dcc7fb
AS
28628 * sysdeps/x86_64/memrchr.S: Check for zero size.
28629
5298ffa8
AS
28630 * string/stratcliff.c: Add memrchr tests.
28631
951fbcec
LD
286322011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28633
28634 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28635 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28636 rawmemchr-sse2 rawmemchr-sse2-bsf.
28637 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28638 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28639 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28640 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28641 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28642 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28643 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28644 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28645 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28646 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28647 * string/memrchr.c (MEMRCHR): New macro.
28648
0ac5ae23
UD
286492011-10-12 Ulrich Drepper <drepper@gmail.com>
28650
28651 Add integration with gcc's -ffinite-math-only and optimize wrapper
28652 functions in libm.
28653 * Versions.def: Define GLIBC_2.15 version for libm.
28654 * math/Makefile (headers): Add bits/math-finite.h.
28655 * math/bits/math-finite.h: New file.
28656 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28657 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28658 * math/e_acoshl.c: Add __*_finite alias.
28659 * math/e_acosl.c: Likewise.
28660 * math/e_asinl.c: Likewise.
28661 * math/e_atan2l.c: Likewise.
28662 * math/e_atanhl.c: Likewise.
28663 * math/e_coshl.c: Likewise.
28664 * math/e_exp10.c: Likewise.
28665 * math/e_exp10f.c: Likewise.
28666 * math/e_exp10l.c: Likewise.
28667 * math/e_exp2l.c: Likewise.
28668 * math/e_fmodl.c: Likewise.
28669 * math/e_gammal_r.c: Likewise.
28670 * math/e_hypotl.c: Likewise.
28671 * math/e_j0l.c: Likewise.
28672 * math/e_j1l.c: Likewise.
28673 * math/e_jnl.c: Likewise.
28674 * math/e_lgammal_r.c: Likewise.
28675 * math/e_log10l.c: Likewise.
28676 * math/e_log2l.c: Likewise.
28677 * math/e_logl.c: Likewise.
28678 * math/e_powl.c: Likewise.
28679 * math/e_sinhl.c: Likewise.
28680 * math/e_sqrtl.c: Likewise.
28681 * math/e_scalb.c: Completely rewritten and optimized.
28682 * math/e_scalbf.c: Likewise.
28683 * math/e_scalbl.c: Likewise.
28684 * math/w_acos.c: Likewise.
28685 * math/w_acosf.c: Likewise.
28686 * math/w_acosl.c: Likewise.
28687 * math/w_acosh.c: Likewise.
28688 * math/w_acoshf.c: Likewise.
28689 * math/w_acoshl.c: Likewise.
28690 * math/w_asin.c: Likewise.
28691 * math/w_asinf.c: Likewise.
28692 * math/w_asinl.c: Likewise.
28693 * math/w_atan2.c: Likewise.
28694 * math/w_atan2f.c: Likewise.
28695 * math/w_atan2l.c: Likewise.
28696 * math/w_atanh.c: Likewise.
28697 * math/w_atanhf.c: Likewise.
28698 * math/w_atanhl.c: Likewise.
28699 * math/w_exp10.c: Likewise.
28700 * math/w_exp10f.c: Likewise.
28701 * math/w_exp10l.c: Likewise.
28702 * math/w_fmod.c: Likewise.
28703 * math/w_fmodf.c: Likewise.
28704 * math/w_fmodl.c: Likewise.
28705 * math/w_j0.c: Likewise.
28706 * math/w_j0f.c: Likewise.
28707 * math/w_j0l.c: Likewise.
28708 * math/w_j1.c: Likewise.
28709 * math/w_j1f.c: Likewise.
28710 * math/w_j1l.c: Likewise.
28711 * math/w_jn.c: Likewise.
28712 * math/w_jnf.c: Likewise.
28713 * math/w_log.c: Likewise.
28714 * math/w_logf.c: Likewise.
28715 * math/w_logl.c: Likewise.
28716 * math/w_log10.c: Likewise.
28717 * math/w_log10f.c: Likewise.
28718 * math/w_log10l.c: Likewise.
28719 * math/w_log2.c: Likewise.
28720 * math/w_log2f.c: Likewise.
28721 * math/w_log2l.c: Likewise.
28722 * math/w_pow.c: Likewise.
28723 * math/w_powf.c: Likewise.
28724 * math/w_powl.c: Likewise.
28725 * math/w_remainder.c: Likewise.
28726 * math/w_remainderf.c: Likewise.
28727 * math/w_remainderl.c: Likewise.
28728 * math/w_scalb.c: Likewise.
28729 * math/w_scalbf.c: Likewise.
28730 * math/w_scalbl.c: Likewise.
28731 * math/w_sqrt.c: Likewise.
28732 * math/w_sqrtf.c: Likewise.
28733 * math/w_sqrtl.c: Likewise.
28734 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28735 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28736 used.
28737 * math/math_private.h: Declare __kernel_standard_f.
28738 * math/w_cosh.c: Remove cruft and optimize a bit.
28739 * math/w_coshf.c: Likewise.
28740 * math/w_coshl.c: Likewise.
28741 * math/w_exp2.c: Likewise.
28742 * math/w_exp2f.c: Likewise.
28743 * math/w_exp2l.c: Likewise.
28744 * math/w_hypot.c: Likewise.
28745 * math/w_hypotf.c: Likewise.
28746 * math/w_hypotl.c: Likewise.
28747 * math/w_lgamma.c: Likewise.
28748 * math/w_lgamma_r.c: Likewise.
28749 * math/w_lgammaf.c: Likewise.
28750 * math/w_lgammaf_r.c: Likewise.
28751 * math/w_lgammal.c: Likewise.
28752 * math/w_lgammal_r.c: Likewise.
28753 * math/w_sinh.c: Likewise.
28754 * math/w_sinhf.c: Likewise.
28755 * math/w_sinhl.c: Likewise.
28756 * math/w_tgamma.c: Likewise.
28757 * math/w_tgammaf.c: Likewise.
28758 * math/w_tgammal.c: Likewise.
28759 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28760 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28761 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28762 Minor optimizations. Pretty printing. Remove cruft.
28763 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28764 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28765 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28766 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28767 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28768 * sysdeps/i386/fpu/e_asin.S: Likewise.
28769 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28770 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28771 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28772 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28773 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28774 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28775 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28776 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28777 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28778 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28779 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28780 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28781 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28782 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28783 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28784 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28785 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28786 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28787 * sysdeps/i386/fpu/e_log.S: Likewise.
28788 * sysdeps/i386/fpu/e_log10.S: Likewise.
28789 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28790 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28791 * sysdeps/i386/fpu/e_log2.S: Likewise.
28792 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28793 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28794 * sysdeps/i386/fpu/e_logf.S: Likewise.
28795 * sysdeps/i386/fpu/e_logl.S: Likewise.
28796 * sysdeps/i386/fpu/e_pow.S: Likewise.
28797 * sysdeps/i386/fpu/e_powf.S: Likewise.
28798 * sysdeps/i386/fpu/e_powl.S: Likewise.
28799 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28800 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28801 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28802 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28803 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28804 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28805 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28806 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28807 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28808 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28809 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28810 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28811 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28812 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28813 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28814 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28815 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28816 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28817 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28818 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28819 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28821 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28822 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28828 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28829 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28830 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28831 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28832 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28833 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28834 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28835 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28836 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28837 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28838 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28839 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28840 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28841 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28842 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28843 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28844 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28845 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28846 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28847 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28848 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28849 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28850 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28851 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28852 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28853 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28854 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28855 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28856 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28857 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28858 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28859 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28860 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28861 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28862 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28863 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28864 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28865 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28866 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28867 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28868 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28869 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28870 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28871 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28872 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28873 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28874 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28875 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28876 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28877 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28878 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28879 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28880 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28881 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28882 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28883 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28884 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28885 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28886 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28887 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28888 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28889 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28890 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28891 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28892 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28893 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28894 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28895 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28896 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28897 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28898 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28899 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28900 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28901 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28902 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28903 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28904 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28905 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28906 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28907 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28908 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28909 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28910 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28911 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28912 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28913 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28914 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28915 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28916 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28917 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28918 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28919 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28920 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28921 (__isnanf): Likewise.
28922 (__isinf_ns): Likewise.
28923 (__isinf_nsf): Likewise.
28924 (__finite): Likewise.
28925 (__finitef): Likewise.
28926 (__ieee754_sqrt): Define as macro.
28927 (__ieee754_sqrtf): Define as macro.
28928 (__ieee754_sqrtl): Define as macro.
28929 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28930 inlined copy.
28931 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28932 __FINITE_MATH_ONLY__ consistent.
28933 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28934
12cc2fcd
AS
289352011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28936
a843a204
AS
28937 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28938 of rawmemchr.
28939
12cc2fcd
AS
28940 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28941
c853acd5
UD
289422011-10-09 Ulrich Drepper <drepper@gmail.com>
28943
28944 * po/ja.po: Update from translation team.
28945
c658d255
RM
289462011-10-08 Roland McGrath <roland@hack.frob.com>
28947
110946e4
RM
28948 * locale/programs/locarchive.c (prepare_address_space): New function.
28949 (create_archive, enlarge_archive, open_archive): Use it.
28950
50604220
RM
28951 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28952 inside [SHARED], where it is used.
28953
c658d255
RM
28954 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28955
28956 * nss/getent.c (netgroup_keys): Remove unused variable.
28957 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28958
6a621eb7
UD
289592011-10-08 Ulrich Drepper <drepper@gmail.com>
28960
7edb55ce
UD
28961 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28962 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28963 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28964 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28965 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28966 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28967 * math/Makefile (libm-calls): Add s_isinf_ns.
28968 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28969 * math/multc3.c: Likewise.
28970 * math/s_casin.c: Likewise.
28971 * math/s_casinf.c: Likewise.
28972 * math/s_casinl.c: Likewise.
28973 * math/s_ccos.c: Likewise.
28974 * math/s_ccosf.c: Likewise.
28975 * math/s_ccosl.c: Likewise.
28976 * math/s_ctan.c: Likewise.
28977 * math/s_ctanf.c: Likewise.
28978 * math/s_ctanh.c: Likewise.
28979 * math/s_ctanhf.c: Likewise.
28980 * math/s_ctanhl.c: Likewise.
28981 * math/s_ctanl.c: Likewise.
28982 * math/w_fmod.c: Likewise.
28983 * math/w_fmodf.c: Likewise.
28984 * math/w_fmodl.c: Likewise.
28985 * math/w_remainder.c: Likewise.
28986 * math/w_remainderf.c: Likewise.
28987 * math/w_remainderl.c: Likewise.
28988 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28989 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28990 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28991 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28992 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28993 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28994 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28995 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28996
187da0ae
UD
28997 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28998 of the number.
28999 * stdio-common/printf_fphex.c: Likewise.
29000 * stdio-common/printf_size.c: Likewise.
29001
9277c064
UD
29002 * math/e_exp10.c: Include math_private.h using <...> not "...".
29003 * math/e_exp10f.c: Likewise.
29004 * math/e_exp10l.c: Likewise.
29005 * math/e_exp2l.c: Likewise.
29006 * math/e_j0l.c: Likewise.
29007 * math/e_j1l.c: Likewise.
29008 * math/e_jnl.c: Likewise.
29009 * math/e_lgammal_r.c: Likewise.
29010 * math/e_rem_pio2l.c: Likewise.
29011 * math/e_scalb.c: Likewise.
29012 * math/e_scalbf.c: Likewise.
29013 * math/e_scalbl.c: Likewise.
29014 * math/k_cosl.c: Likewise.
29015 * math/k_sinl.c: Likewise.
29016 * math/k_tanl.c: Likewise.
29017 * math/s_cacoshf.c: Likewise.
29018 * math/s_catan.c: Likewise.
29019 * math/s_catanf.c: Likewise.
29020 * math/s_catanh.c: Likewise.
29021 * math/s_catanhf.c: Likewise.
29022 * math/s_catanhl.c: Likewise.
29023 * math/s_catanl.c: Likewise.
29024 * math/s_ccosh.c: Likewise.
29025 * math/s_ccoshf.c: Likewise.
29026 * math/s_ccoshl.c: Likewise.
29027 * math/s_cexp.c: Likewise.
29028 * math/s_cexpf.c: Likewise.
29029 * math/s_cexpl.c: Likewise.
29030 * math/s_clog.c: Likewise.
29031 * math/s_clog10.c: Likewise.
29032 * math/s_clog10f.c: Likewise.
29033 * math/s_clog10l.c: Likewise.
29034 * math/s_clogf.c: Likewise.
29035 * math/s_clogl.c: Likewise.
29036 * math/s_csin.c: Likewise.
29037 * math/s_csinf.c: Likewise.
29038 * math/s_csinh.c: Likewise.
29039 * math/s_csinhf.c: Likewise.
29040 * math/s_csinhl.c: Likewise.
29041 * math/s_csinl.c: Likewise.
29042 * math/s_csqrt.c: Likewise.
29043 * math/s_csqrtf.c: Likewise.
29044 * math/s_csqrtl.c: Likewise.
29045 * math/s_ctan.c: Likewise.
29046 * math/s_ctanf.c: Likewise.
29047 * math/s_ctanh.c: Likewise.
29048 * math/s_ctanhf.c: Likewise.
29049 * math/s_ctanhl.c: Likewise.
29050 * math/s_ctanl.c: Likewise.
29051 * math/s_ldexp.c: Likewise.
29052 * math/s_ldexpf.c: Likewise.
29053 * math/s_ldexpl.c: Likewise.
29054 * math/s_significand.c: Likewise.
29055 * math/s_significandf.c: Likewise.
29056 * math/s_significandl.c: Likewise.
29057 * math/w_acos.c: Likewise.
29058 * math/w_acosf.c: Likewise.
29059 * math/w_acosh.c: Likewise.
29060 * math/w_acoshf.c: Likewise.
29061 * math/w_acoshl.c: Likewise.
29062 * math/w_acosl.c: Likewise.
29063 * math/w_asin.c: Likewise.
29064 * math/w_asinf.c: Likewise.
29065 * math/w_asinl.c: Likewise.
29066 * math/w_atan2.c: Likewise.
29067 * math/w_atan2f.c: Likewise.
29068 * math/w_atan2l.c: Likewise.
29069 * math/w_atanh.c: Likewise.
29070 * math/w_atanhf.c: Likewise.
29071 * math/w_atanhl.c: Likewise.
29072 * math/w_cosh.c: Likewise.
29073 * math/w_coshf.c: Likewise.
29074 * math/w_coshl.c: Likewise.
29075 * math/w_dremf.c: Likewise.
29076 * math/w_exp10.c: Likewise.
29077 * math/w_exp10f.c: Likewise.
29078 * math/w_exp10l.c: Likewise.
29079 * math/w_exp2.c: Likewise.
29080 * math/w_exp2f.c: Likewise.
29081 * math/w_fmod.c: Likewise.
29082 * math/w_fmodf.c: Likewise.
29083 * math/w_fmodl.c: Likewise.
29084 * math/w_hypot.c: Likewise.
29085 * math/w_hypotf.c: Likewise.
29086 * math/w_hypotl.c: Likewise.
29087 * math/w_j0.c: Likewise.
29088 * math/w_j0f.c: Likewise.
29089 * math/w_j0l.c: Likewise.
29090 * math/w_j1.c: Likewise.
29091 * math/w_j1f.c: Likewise.
29092 * math/w_j1l.c: Likewise.
29093 * math/w_jn.c: Likewise.
29094 * math/w_jnf.c: Likewise.
29095 * math/w_jnl.c: Likewise.
29096 * math/w_lgamma.c: Likewise.
29097 * math/w_lgamma_r.c: Likewise.
29098 * math/w_lgammaf.c: Likewise.
29099 * math/w_lgammaf_r.c: Likewise.
29100 * math/w_lgammal.c: Likewise.
29101 * math/w_lgammal_r.c: Likewise.
29102 * math/w_log.c: Likewise.
29103 * math/w_log10.c: Likewise.
29104 * math/w_log10f.c: Likewise.
29105 * math/w_log10l.c: Likewise.
29106 * math/w_log2.c: Likewise.
29107 * math/w_log2f.c: Likewise.
29108 * math/w_log2l.c: Likewise.
29109 * math/w_logf.c: Likewise.
29110 * math/w_logl.c: Likewise.
29111 * math/w_pow.c: Likewise.
29112 * math/w_powf.c: Likewise.
29113 * math/w_powl.c: Likewise.
29114 * math/w_remainder.c: Likewise.
29115 * math/w_remainderf.c: Likewise.
29116 * math/w_remainderl.c: Likewise.
29117 * math/w_scalb.c: Likewise.
29118 * math/w_scalbf.c: Likewise.
29119 * math/w_scalbl.c: Likewise.
29120 * math/w_sinh.c: Likewise.
29121 * math/w_sinhf.c: Likewise.
29122 * math/w_sinhl.c: Likewise.
29123 * math/w_sqrt.c: Likewise.
29124 * math/w_sqrtf.c: Likewise.
29125 * math/w_sqrtl.c: Likewise.
29126 * math/w_tgamma.c: Likewise.
29127 * math/w_tgammaf.c: Likewise.
29128 * math/w_tgammal.c: Likewise.
29129
6a621eb7
UD
29130 * po/ja.po: Update from translation team.
29131
bf582445
AJ
291322011-09-29 Andreas Jaeger <aj@suse.de>
29133
f9efbf3a
AJ
29134 [BZ #13179]
29135 * sunrpc/netname.c (netname2host): Fix logic.
29136
bf582445
AJ
29137 [BZ #6779]
29138 [BZ #6783]
29139 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29140 correctly.
29141 * math/w_remainder.c (__remainder): Likewise.
29142 * math/w_remainderf.c (__remainderf): Likewise.
29143 * math/libm-test.inc (remainder_test): Add test cases.
29144
48693bea
AK
291452011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29146
29147 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29148 sdiv_qrnnd.
29149
42622229
LD
291502011-10-07 Ulrich Drepper <drepper@gmail.com>
29151
29152 * string/test-memcmp.c: Avoid unncessary #defines.
29153 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29154
093ecf92
LD
291552011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29156
29157 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29158 Use new sse2 version for core i3 - i7 as it's faster
29159 than sse42 version.
29160 (bit_Prefer_PMINUB_for_stringop): New.
29161 * sysdeps/x86_64/rawmemchr.S: Update.
29162 Replace with faster SSE2 version.
29163 * sysdeps/x86_64/memrchr.S: New file.
29164 * sysdeps/x86_64/memchr.S: Update.
29165 Replace with faster SSE2 version.
29166
fde56e5c
MP
291672011-09-12 Marek Polacek <mpolacek@redhat.com>
29168
29169 * elf/dl-load.c (lose): Add cast to avoid warning.
29170
21fd49a9
UD
291712011-10-07 Ulrich Drepper <drepper@gmail.com>
29172
5a06e643
UD
29173 * po/ca.po: Update from translation team.
29174
684ae515
UD
29175 * inet/getnetgrent_r.c: Hook up nscd.
29176 * nscd/Makefile (routines): Add nscd_netgroup.
29177 (nscd-modules): Add netgroupcache.
29178 (CFLAGS-netgroupcache.c): Define.
29179 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29180 (cache_search): Add const to second parameter.
29181 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29182 INNETGR.
29183 (dbs): Add netgrdb entry.
29184 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29185 (verify_persistent_db): Handle netgrdb.
29186 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29187 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29188 GETFDNETGR.
29189 (netgroup_response_header): Define.
29190 (innetgroup_response_header): Define.
29191 (datahead): Add netgroup_response_header and innetgroup_response_header
29192 elements.
29193 * nscd/nscd.conf: Add entries for netgroup cache.
29194 * nscd/nscd.h (dbtype): Add netgrdb.
29195 (_PATH_NSCD_NETGROUP_DB): Define.
29196 (netgroup_iov_disabled): Declare.
29197 (xmalloc, xcalloc, xrealloc): Move declarations here.
29198 (cache_search): Adjust prototype.
29199 Add netgroup-related prototypes.
29200 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29201 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29202 (__nscd_innetgr): Declare.
29203 * nscd/selinux.c (perms): Use access_vector_t as element type and
29204 add netgroup-related initializers.
29205 * nscd/netgroupcache.c: New file.
29206 * nscd/nscd_netgroup.c: New file.
29207 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29208 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29209 For four parameters use innetgr.
29210 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29211 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29212 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29213 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29214
21fd49a9
UD
29215 * nscd/connections.c (register_traced_file): Don't register file
29216 for disabled databases.
29217
054c0457
UD
292182011-10-06 Ulrich Drepper <drepper@gmail.com>
29219
32b63198
UD
29220 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29221
054c0457
UD
29222 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29223 from tree and freeing node.
29224
64031225
JO
292252011-09-25 Jiri Olsa <jolsa@redhat.com>
29226
29227 * nss/nsswitch.c (__nss_database_lookup): Handle
29228 nss_parse_service_list out of memory case.
29229
0490345c
JO
292302011-09-15 Jiri Olsa <jolsa@redhat.com>
29231
29232 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29233 out of memory case.
29234
3a62d00d
AS
292352011-10-04 Andreas Schwab <schwab@redhat.com>
29236
29237 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29238 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29239 pass it down.
29240 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29241 elf_machine_rela, elf_machine_lazy_rel.
29242 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29243 (ELF_DYNAMIC_DO_REL): Likewise.
29244 (ELF_DYNAMIC_DO_RELA): Likewise.
29245 (ELF_DYNAMIC_RELOCATE): Likewise.
29246 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29247 to ELF_DYNAMIC_DO_REL.
29248 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29249 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29250 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29251 elf_machine_rela.
29252 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29253 skip_ifunc, don't call ifunc function if non-zero.
29254 (elf_machine_rela): Likewise.
29255 (elf_machine_lazy_rel): Likewise.
29256 (elf_machine_lazy_rela): Likewise.
29257 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29258 (elf_machine_lazy_rel): Likewise.
29259 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29260 Likewise.
29261 (elf_machine_lazy_rel): Likewise.
29262 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29263 Likewise.
29264 (elf_machine_lazy_rel): Likewise.
29265 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29266 (elf_machine_lazy_rel): Likewise.
29267 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29268 (elf_machine_lazy_rel): Likewise.
29269 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29270 (elf_machine_lazy_rel): Likewise.
29271 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29272 (elf_machine_lazy_rel): Likewise.
29273 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29274 (elf_machine_lazy_rel): Likewise.
29275 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29276 (elf_machine_lazy_rel): Likewise.
29277
68577918
UD
292782011-09-28 Ulrich Drepper <drepper@gmail.com>
29279
29280 * nss/nss_files/files-init.c (_nss_files_init): Use static
29281 initialization for all the *_traced_file variables.
29282
68822d74
AS
292832011-09-28 Andreas Schwab <schwab@redhat.com>
29284
29285 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29286
2056100b
RM
292872011-09-27 Roland McGrath <roland@hack.frob.com>
29288
29289 [BZ #13226]
29290 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29291
32c76b63
AS
292922011-09-27 Andreas Schwab <schwab@redhat.com>
29293
29294 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29295 Reread the line before reparsing it.
29296
bf972c9d
AS
292972011-09-26 Andreas Schwab <schwab@redhat.com>
29298
29299 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29300
e057a1b5
JM
293012011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29302 Maxim Kuvyrkov <maxim@codesourcery.com>
29303 Joseph Myers <joseph@codesourcery.com>
29304
29305 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29306 if needed for __stack_chk_guard.
29307
bc7e1c36
RM
293082011-09-19 Roland McGrath <roland@hack.frob.com>
29309
ecb1482f
RM
29310 * sysdeps/posix/spawni.c (script_execute): Always define it.
29311 It will be optimized away if unused.
29312 (maybe_script_execute): New function.
29313 (__spawni): Call it.
29314
bc7e1c36
RM
29315 * Makerules: Don't include tls.make.
29316 (config-tls): Always set to thread.
29317 * tls.make.c: File removed.
29318
1c3b002b
MF
293192011-09-19 Mike Frysinger <vapier@gentoo.org>
29320
29321 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29322 * config.make.in (CPPFLAGS-config): New substituted variable.
29323
2840865d
UD
293242011-09-15 Ulrich Drepper <drepper@gmail.com>
29325
88738eb6
UD
29326 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29327
cbf645a6 29328 [BZ #13192]
2840865d
UD
29329 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29330 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29331
b402e91a
RM
293322011-09-15 Roland McGrath <roland@hack.frob.com>
29333
29334 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29335 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29336 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29337 (CALL_FAIL): Likewise.
29338 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29339 (CALL_FAIL): Macro removed.
29340 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29341
4c1a1f71
UD
293422011-09-15 Ulrich Drepper <drepper@gmail.com>
29343
29344 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29345 for __FINITE_MATH_ONLY__ == 1.
29346
edc121be
AS
293472011-09-15 Andreas Schwab <schwab@redhat.com>
29348
29349 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29350 __ieee754_sqrt instead of sqrt.
29351 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29352 __ieee754_sqrtf instead of sqrtf.
29353 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29354 __floorf instead of floorf.
29355 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29356 __floorf, __truncf instead of floorf, truncf.
29357
cd205654
UD
293582011-09-14 Ulrich Drepper <drepper@gmail.com>
29359
ee4d0315
UD
29360 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29361
cd205654
UD
29362 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29363 __extern_always_inline.
29364 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29365 32-bit.
29366
48b67d71
AS
293672011-09-14 Andreas Schwab <schwab@redhat.com>
29368
29369 * elf/rtld.c (dl_main): Also relocate in dependency order when
29370 doing symbol dependency testing.
29371
1ae12c75
AS
293722011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29373
29374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29375 Always define `refsym'.
29376
995a80df
AS
293772011-09-13 Andreas Schwab <schwab@redhat.com>
29378
e529793b
AS
29379 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29380 (__FD_ELT): Renamed from __FDELT.
29381 * misc/bits/select2.h (__FD_ELT): Likewise.
29382 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29383 __FD_MASK instead of __FDELT, __FDMASK.
29384 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29385 Likewise.
29386 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29387 Likewise.
29388
52d4fef8
AS
29389 * elf/Makefile (gen-ldd): Fix pattern.
29390
995a80df
AS
29391 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29392 (init_tls): Likewise.
29393
8682f8b0
UD
293942011-09-12 Ulrich Drepper <drepper@gmail.com>
29395
29396 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29397
de82006d
AS
293982011-09-12 Andreas Schwab <schwab@redhat.com>
29399
a7c8e6a1
AS
29400 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29401 `struct cmsghdr *' instead of `void *'.
29402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29403 Likewise.
29404
0f31fe77
AS
294052011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29406
29407 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29408 if non-absolute.
29409 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29410 ldd_rewrite_script.
0f31fe77 29411
32b4c839
UD
294122011-09-11 Ulrich Drepper <drepper@gmail.com>
29413
83cd1420
UD
29414 * configure.in: Remove --with-tls option.
29415 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29416 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29417 out in case it is missing.
29418 * sysdeps/ia64/elf/configure.in: Likewise.
29419 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29420 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29421 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29422 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29423 * sysdeps/sh/elf/configure.in: Likewise.
29424 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29425 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29426 * sysdeps/x86_64/elf/configure.in: Likewise.
29427 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29428 * sysdeps/mach/hurd/tls.h: Likewise.
29429
633f745d
UD
29430 [BZ #13067]
29431 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29432
f318beb8
UD
29433 [BZ #13090]
29434 * configure.in: Fix use of AC_INIT.
29435
32b4c839
UD
29436 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29437
3ce1f295
UD
294382011-09-10 Ulrich Drepper <drepper@gmail.com>
29439
bb016596
UD
29440 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29441 __set_errno.
8e58439c
UD
29442 * malloc/hooks.c: Likewise.
29443
aebae053 29444 [BZ #11929]
02d46fc4
UD
29445 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29446 variables statically.
29447 (narenas): Initialize.
29448 (list_lock): Initialize.
bb016596
UD
29449 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29450 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29451 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29452 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29453 Add initializers to main_arena and mp_.
29454 (malloc_state): Remove pagesize member. Change all users to use
29455 GLRO(dl_pagesize).
29456
29457 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29458 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29459 is always initialized.
29460
22a89187
UD
29461 * malloc/malloc.c: Removed unused configurations and dead code.
29462 * malloc/arena.c: Likewise.
29463 * malloc/hooks.c: Likewise.
02d46fc4 29464 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29465
d063d164
UD
29466 * include/tls.h: Removed. USE___THREAD must always be defined.
29467 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29468 * elf/dl-libc.c: Likewise.
29469 * elf/dl-tsd.c: Likewise.
29470 * include/errno.h: Likewise.
29471 * include/netdb.h: Likewise.
29472 * include/resolv.h: Likewise.
29473 * inet/herrno-loc.c: Likewise.
29474 * inet/herrno.c: Likewise.
29475 * malloc/arena.c: Likewise.
29476 * malloc/hooks.c: Likewise.
29477 * malloc/malloc.c: Likewise.
29478 * resolv/res-state.c: Likewise.
29479 * resolv/res_libc.c: Likewise.
29480 * sysdeps/i386/dl-machine.h: Likewise.
29481 * sysdeps/ia64/dl-machine.h: Likewise.
29482 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29483 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29484 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29485 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29486 * sysdeps/sh/dl-machine.h: Likewise.
29487 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29488 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29489 * sysdeps/unix/i386/sysdep.S: Likewise.
29490 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29491 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29492 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29493 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29494 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29495 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29496 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29498 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29500 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29501 * sysdeps/x86_64/dl-machine.h: Likewise.
29502 * tls.make.c: Likewise.
29503
3ce1f295
UD
29504 * configure.in: Remove --with-__thread option. Make tests for
29505 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29506 tls_model attribute fail if no support is available. Remove
29507 USE_IN_LIBIO.
29508 * Makeconfig: Adjust for dropped configure option. All features are
29509 now mandatory.
29510 * Makerules: Likewise.
29511 * Versions.def: Likewise.
29512 * argp/argp-fmtstream.c: Likewise.
29513 * argp/argp-fmtstream.h: Likewise.
29514 * argp/argp-help.c: Likewise.
29515 * assert/assert.c: Likewise.
29516 * config.h.in: Likewise.
29517 * config.make.in: Likewise.
29518 * configure: Likewise.
29519 * configure.in: Likewise.
29520 * csu/Versions: Likewise.
29521 * csu/init.c: Likewise.
29522 * elf/tst-audit2.c: Likewise.
29523 * elf/tst-tls10.c: Likewise.
29524 * elf/tst-tls10.h: Likewise.
29525 * elf/tst-tls11.c: Likewise.
29526 * elf/tst-tls12.c: Likewise.
29527 * elf/tst-tls14.c: Likewise.
29528 * elf/tst-tlsmod11.c: Likewise.
29529 * elf/tst-tlsmod12.c: Likewise.
29530 * elf/tst-tlsmod13.c: Likewise.
29531 * elf/tst-tlsmod13a.c: Likewise.
29532 * elf/tst-tlsmod14a.c: Likewise.
29533 * elf/tst-tlsmod15b.c: Likewise.
29534 * elf/tst-tlsmod16a.c: Likewise.
29535 * elf/tst-tlsmod16b.c: Likewise.
29536 * elf/tst-tlsmod7.c: Likewise.
29537 * elf/tst-tlsmod8.c: Likewise.
29538 * elf/tst-tlsmod9.c: Likewise.
29539 * gmon/gmon.c: Likewise.
29540 * grp/fgetgrent_r.c: Likewise.
29541 * grp/putgrent.c: Likewise.
29542 * hurd/fopenport.c: Likewise.
29543 * include/libc-symbols.h: Likewise.
29544 * include/tls.h: Likewise.
29545 * intl/gettextP.h: Likewise.
29546 * intl/loadinfo.h: Likewise.
29547 * locale/global-locale.c: Likewise.
29548 * locale/localeinfo.h: Likewise.
29549 * mach/devstream.c: Likewise.
29550 * malloc/arena.c: Likewise.
29551 * malloc/set-freeres.c: Likewise.
29552 * misc/err.c: Likewise.
29553 * misc/getttyent.c: Likewise.
29554 * misc/mntent_r.c: Likewise.
29555 * posix/getopt.c: Likewise.
29556 * posix/wordexp.c: Likewise.
29557 * pwd/fgetpwent_r.c: Likewise.
29558 * resolv/Versions: Likewise.
29559 * resolv/res_hconf.c: Likewise.
29560 * shadow/fgetspent_r.c: Likewise.
29561 * shadow/putspent.c: Likewise.
29562 * stdio-common/printf_fphex.c: Likewise.
29563 * stdio-common/tmpfile.c: Likewise.
29564 * stdlib/abort.c: Likewise.
29565 * stdlib/fmtmsg.c: Likewise.
29566 * sunrpc/auth_unix.c: Likewise.
29567 * sunrpc/clnt_perr.c: Likewise.
29568 * sunrpc/clnt_tcp.c: Likewise.
29569 * sunrpc/clnt_udp.c: Likewise.
29570 * sunrpc/clnt_unix.c: Likewise.
29571 * sunrpc/openchild.c: Likewise.
29572 * sunrpc/svc_simple.c: Likewise.
29573 * sunrpc/svc_tcp.c: Likewise.
29574 * sunrpc/svc_udp.c: Likewise.
29575 * sunrpc/svc_unix.c: Likewise.
29576 * sunrpc/xdr.c: Likewise.
29577 * sunrpc/xdr_array.c: Likewise.
29578 * sunrpc/xdr_rec.c: Likewise.
29579 * sunrpc/xdr_ref.c: Likewise.
29580 * sunrpc/xdr_stdio.c: Likewise.
29581
1248c1c4
PB
295822011-09-09 Ulrich Drepper <drepper@gmail.com>
29583
29584 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29585
295862011-07-03 Andreas Jaeger <aj@suse.de>
29587
29588 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29589 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29590 regenerate with gen-libm-tests.pl.
29591
295922010-05-12 Petr Baudis <pasky@suse.cz>
29593
29594 [BZ #11589]
29595 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29596 around j0() zero points by switching to j1().
29597 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29598 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29599 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29600 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29601
f22e1074
UD
296022011-09-09 Ulrich Drepper <drepper@gmail.com>
29603
f19009c1
UD
29604 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29605 instead of 0.
29606 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29607 instead of 0.
f19009c1
UD
29608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29609 Patch in part by Pavel Roskin <proski@gnu.org>.
29610
3f8cc204
UD
29611 [BZ #13138]
29612 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29613 realloc.
29614 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29615 Free memory block if necessary.
29616
f22e1074
UD
29617 [BZ #12847]
29618 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29619 be NULL. Don't lock in this case.
29620
0a2349f9
RM
296212011-09-09 Roland McGrath <roland@hack.frob.com>
29622
29623 * elf/elf.h (ELFOSABI_GNU): New macro.
29624 (ELFOSABI_LINUX): Define to that.
29625
f3cdd467
DZ
296262011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29627
29628 * string/strncat.c (strncat): Undef the symbol in case it has been
29629 defined in bits/string.h.
29630
74718d13
UD
296312011-09-09 Ulrich Drepper <drepper@gmail.com>
29632
633e9e0f
UD
29633 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29634
0a2349f9 29635 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29636 link map.
29637
f9924780
AJ
296382011-08-17 Andreas Jaeger <aj@suse.de>
29639
29640 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29641
7f5517aa
PP
296422011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29643 Ian Lance Taylor <iant@google.com>
29644
29645 * math/libm-test.inc (lround_test): New testcase.
29646 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29647
762011fe
UD
296482011-09-08 Ulrich Drepper <drepper@gmail.com>
29649
92963737
UD
29650 * Makefile: Remove support for automatic cvs check-ins.
29651 * Makerules: Likewise.
29652 * config.make.in: Likewise.
29653 * configure.in: Likewise.
29654 * intl/Makefile: Likewise.
29655 * locale/Makefile: Likewise.
29656 * po/Makefile: Likewise.
29657 * posix/Makefile: Likewise.
29658 * sysdeps/gnu/Makefile: Likewise.
29659 * sysdeps/mach/hurd/Makefile: Likewise.
29660 * sysdeps/sparc/sparc32/Makefile: Likewise.
29661
b0727fd8
JS
29662 [BZ #13118]
29663 * posix/Makefile (bug-regex32-ENV): Define.
29664 Patch by John Stanley <jpsinthemix@verizon.net>.
29665
a0f33f99
UD
29666 * misc/Makefile (headers): Add bits/select2.h.
29667 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29668 * misc/bits/select2.h: New file.
29669 * include/bits/select2.h: New file.
29670 * debug/Makefile (routines): Add fdelt_chk.
29671 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29672 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29673 FD_ISSET.
29674 * debug/fdelt_chk.c: New file.
29675
762011fe
UD
29676 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29677 * wcsmbs/test-wmemcmp.c: Likewise.
29678 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29679 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29680
296812011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29682
29683 * string/Makefile (strop-tests): Add memcmp.
29684 * string/test-wmemcmp.c: New file.
29685 * string/test-memcmp.c: Add wmemcmp support.
29686
7f513ec8
RM
296872011-09-08 Roland McGrath <roland@hack.frob.com>
29688
0442afb4
RM
29689 [BZ #13153]
29690 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29691 2011-07-19 change.
29692
7f513ec8
RM
29693 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29694 garbage value in a __mach_port_mod_refs call in the cases of the
29695 task-self and thread-self ports.
29696
a12b2239
ST
296972011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29698
29699 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29700
610f9ab4
AS
297012011-09-08 Andreas Schwab <schwab@redhat.com>
29702
7f513ec8 29703 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29704
48882a1a
LD
297052011-09-07 Ulrich Drepper <drepper@gmail.com>
29706
b49865be
UD
29707 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29708
fdc86bc9
UD
29709 * elf/dl-libc.c (dlerror_run): Pass back error code from
29710 dl_catch_error.
29711
c966526a
UD
29712 [BZ #13123]
29713 * elf/dl-load.c (lose): Free l_origin if it is valid.
29714
48882a1a
LD
29715 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29716 names.
29717 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29718 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29719 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29720 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29721 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29722 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29723
77a2a8b4
AZ
297242011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29725
29726 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29727 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29728 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29729 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29730 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29731 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29732 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29733 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29734 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29735 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29736
24f579d8
AM
297372011-08-15 Alan Modra <amodra@gmail.com>
29738
29739 [BZ #13092]
29740 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29741 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29742 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29743 ppc_mcount to static-only-routines.
29744 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29745 __mcount_internal.
29746 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29747 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29748
3d4837df
UD
297492011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29750
29751 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29752 for finite and infinity parameters.
29753
22700377
WS
297542011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29755
29756 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29757 and add nop instructions for throughput optimization.
29758 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29759
5025581e
WS
297602011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29761
29762 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29763 aligned copy for power7 with vector-scalar instructions.
29764 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29765
08a300c9
L
297662011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29767
29768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29769 AVX check.
29770
59178ef9
AS
297712011-09-07 Andreas Schwab <schwab@redhat.com>
29772
29773 [BZ #13144]
29774 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29775 last change.
29776
e38ba7ab
UD
297772011-09-07 Ulrich Drepper <drepper@gmail.com>
29778
29779 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29780 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29781 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29782 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29783 clock_gettime.
29784
d53a73ac
UD
297852011-09-06 Ulrich Drepper <drepper@gmail.com>
29786
fc8bffcc
UD
29787 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29788 Forgot to demangle the pointer.
29789
ceaa0c5d
UD
29790 * sysdeps/i386/sysdep.h: Define atom_text_section.
29791 * sysdeps/x86_64/sysdep.h: Likewise.
29792 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29793 section with atom_text_section.
29794 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29795 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29796 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29797 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29798 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29799
a77d3c17
UD
29800 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29801 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29802 already be defined. Change to take two parameters and don't assign
29803 result to variable. Adjust all users.
29804 Define INTERNAL_GETTIME if not already defined.
29805 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29806 call.
29807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29808 HAVE_CLOCK_GETTIME_VSYSCALL.
29809 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29810
d53a73ac
UD
29811 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29812 gettimeofday vsyscall, just use time.
29813
a8f84144
AS
298142011-09-06 Andreas Schwab <schwab@redhat.com>
29815
29816 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29817 <errno.h>.
29818
ef606249
UD
298192011-09-06 Ulrich Drepper <drepper@gmail.com>
29820
29821 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29822 syscall on x86-64.
29823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29824 syscall.
29825 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29826 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29827 syscall if possible.
29828
6585cb60
UD
298292011-09-05 Ulrich Drepper <drepper@gmail.com>
29830
29831 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29832 e_ident. Don't pass to find_mapsXX.
29833 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29834
a5f524e4
LD
298352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29836
29837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29838 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29839 * sysdeps/x86_64/multiarch/strchr.S: Update.
29840 Check bit_slow_BSF bit.
29841 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29842 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29843 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29844
554881ef
UD
298452011-09-05 Ulrich Drepper <drepper@gmail.com>
29846
d96de963
UD
29847 [BZ #13134]
29848 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29849 before glibc 2.15.
29850 (tryshell): Define.
29851 (__spawni): Change last parameter to be flag. Test
29852 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29853 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29854 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29855 * posix/spawni.c: Likewise.
29856 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29857 * posix/spawnp.c: Likewise. Change normal version to use
29858 SPAWN_XFLAGS_USE_PATH.
29859 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29860 SPAWN_XFLAGS_TRY_SHELL.
29861
d48e5868
UD
29862 [BZ #13150]
29863 * posix/glob.h: Remove gcc 1.x support.
29864
554881ef
UD
29865 [BZ #13068]
29866 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29867
693fb948
LD
298682011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29869
29870 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29871 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29872 strrchr-sse2-bsf
29873 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29874 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29875 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29876 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29877 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29878 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29879
1b48c537
UD
298802011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29881
49d42c37
UD
29882 * sysdeps/x86_64/wcscmp.S: New file.
29883
1b48c537
UD
29884 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29885 wcscmp-c wcscmp-sse2
29886 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29887 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29888 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29889 * wcsmbs/wcscmp.c: Allow renaming.
29890
15c95c5d
DM
298912011-09-05 David S. Miller <davem@davemloft.net>
29892
29893 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29894 stack slot, rather than the struct return pointer slot.
29895 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29896 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29898 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29899
2f0ad8f3
UD
299002011-09-05 Ulrich Drepper <drepper@gmail.com>
29901
d88ae418
UD
29902 * po/ja.po: Update from translation team.
29903
2f0ad8f3
UD
29904 [BZ #13144]
29905 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29906 kernel in 64-bit binaries.
29907
5f4318d1
DM
299082011-09-01 David S. Miller <davem@davemloft.net>
29909
29910 * elf/elf.h (HWCAP_SPARC_*): Move to..
29911 * sysdeps/sparc/sysdep.h: this new file and add new values.
29912 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29913 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29914 _DL_HWCAP_COUNT to 24.
29915 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29916 entries.
29917 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29918 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29919 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29920 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29921 instead of magic constants.
29922 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29923
3ba57516
DM
299242011-08-31 David S. Miller <davem@davemloft.net>
29925
29926 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29927 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29928 Reimplement to do errno handling inline.
29929 (SYSCALL_ERROR_HANDLER): New macro.
29930 (__SYSCALL_STRING): Do not do errno handling in asm.
29931 (__CLONE_SYSCALL_STRING): Delete.
29932 (__INTERNAL_SYSCALL_STRING): Delete.
29933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29934 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29935 (PSEUDO): Reimplement to do errno handling inline.
29936 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29937 (SYSCALL_ERROR_HANDLER): New macro.
29938 (__SYSCALL_STRING): Do not do errno handling in asm.
29939 (__CLONE_SYSCALL_STRING): Delete.
29940 (__INTERNAL_SYSCALL_STRING): Delete.
29941 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29942 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29943 i386.
29944 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29945 (inline_syscall*): Add 'err' argument.
29946 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29947 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29948 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29949 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29950
29951 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29952 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29953
2bc17433
AS
299542011-08-30 Andreas Schwab <schwab@redhat.com>
29955
29956 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29957
fbeb5f4d
JO
299582011-08-29 Jiri Olsa <jolsa@redhat.com>
29959
29960 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29961 directive.
29962
ad69cc26
DM
299632011-08-24 David S. Miller <davem@davemloft.net>
29964
29965 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29966
39dd69df
AS
299672011-08-24 Andreas Schwab <schwab@redhat.com>
29968
29969 * elf/Makefile: Add rules to build and run unload8 test.
29970 * elf/unload8.c: New file.
29971 * elf/unload8mod1.c: New file.
29972 * elf/unload8mod1x.c: New file.
29973 * elf/unload8mod2.c: New file.
29974 * elf/unload8mod3.c: New file.
29975
29976 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29977 it wasn't used.
29978
2c0b250a
DM
299792011-08-23 David S. Miller <davem@davemloft.net>
29980
29981 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29982 subtract stack bias.
29983 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29984 %sp not %fp in calculations.
29985 (_JMPBUF_UNWINDS_ADJ): Likewise.
29986
22044b48
DM
29987 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29988 (aio_suspend): Call it to force an exception region around the
29989 AIO_MISC_WAIT() invocation.
29990
2cae4995
AS
299912011-08-23 Andreas Schwab <schwab@redhat.com>
29992
29993 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29994 backslash.
29995
873a772e
AJ
299962011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29997
29998 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29999 protection macro.
30000 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30001 and <dl-machine.h>.
30002 (Elf64_FuncDesc): Remove.
30003
25ad0df1
DM
300042011-08-22 David S. Miller <davem@davemloft.net>
30005
30006 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30007 sigaltstack check, add missing cfi directives.
30008 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30009 missing cfi directives, and sigaltstack handling.
30010
e888bcbe
AS
300112011-08-16 Andreas Schwab <schwab@redhat.com>
30012
30013 [BZ #11724]
30014 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30015 object is seen twice.
30016 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30017
30018 * elf/Makefile (distribute): Add tst-initorder2.c.
30019 (tests): Add tst-initorder2.
30020 (modules-names): Add tst-initorder2a tst-initorder2b
30021 tst-initorder2c tst-initorder2d. Add rules to build them.
30022 ($(objpfx)tst-initorder2.out): New rule.
30023 * elf/tst-initorder2.c: New file.
30024 * elf/tst-initorder2.exp: New file.
30025
87162f46
AS
300262011-08-22 Andreas Schwab <schwab@redhat.com>
30027
70538b7f
AS
30028 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30029
f55ffe58
AS
30030 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30031 dependencies back to end of function.
30032
87162f46
AS
30033 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30034 $(elfobjdir)/ld.so.
30035
91b392a4
UD
300362011-08-21 Ulrich Drepper <drepper@gmail.com>
30037
30038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30039 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30040 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30041 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30042 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30043 of __vdso_gettimeofday.
30044 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30045 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30046 attribute_hidden.
30047 (_libc_vdso_platform_setup): Remove initialization of
30048 __vdso_gettimeofday and __vdso_time.
30049
5c43483f
UD
300502011-08-20 Ulrich Drepper <drepper@gmail.com>
30051
775a77e7
UD
30052 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30053 and fgetc_unlocked.
30054 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30055 getc_unlocked.
89f447ed 30056
49c74ba9
UD
30057 * elf/dl-open.c (add_to_global): Report additions to the global scope
30058 for LD_DEBUG=scopes.
30059 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 30060 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 30061
5c43483f
UD
30062 [BZ #13114]
30063 * stdio-common/Makefile (tests): Add bug24.
30064 * stdio-common/bug24.c: New file.
30065
a101b025
AJ
300662011-08-19 Andreas Jaeger <aj@suse.de>
30067
30068 [BZ #13114]
30069 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30070 non-existant file when using close-on-exec mode.
30071
c88f1766
UD
300722011-08-20 Ulrich Drepper <drepper@gmail.com>
30073
0276a718
UD
30074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30075 the very first instruction.
30076
c88f1766
UD
30077 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30078 the CFI state in the end.
30079 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30080 inclusion of dl-trampoline.h.
30081 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30082
51ccffa0
AS
300832011-08-19 Andreas Schwab <schwab@redhat.com>
30084
94d7165f
AS
30085 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30086 expectations for long double.
30087
51ccffa0
AS
30088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30089 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30090
fd708658 300912011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
30092
30093 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30094 artificual limit depends upon the system page size.
30095
44f0a71e
UD
300962011-08-17 Ulrich Drepper <drepper@gmail.com>
30097
30098 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30099 * resolv/Makefile: Define CFLAGS-libresolv.
30100
8de79a24
AS
301012011-08-17 Andreas Schwab <schwab@redhat.com>
30102
30103 * nss/makedb.c (compute_tables): Make variables used in nested
30104 function static.
30105
27724598
UD
301062011-08-17 Ulrich Drepper <drepper@gmail.com>
30107
c5305d88
UD
30108 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30109 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30110 if buffer was too small.
30111
27724598
UD
30112 * elf/pldd.c (main): Attach to all threads in the process.
30113 Rewrite /proc handling to use *at functions.
30114
076fe015
UD
301152011-08-16 Ulrich Drepper <drepper@gmail.com>
30116
174baab3
UD
30117 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30118 specifies first scope to show.
30119 (dl_open_worker): Update callers. Move printing scope of new
30120 object to before the relocation.
44f0a71e 30121 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
30122 * sysdeps/generic/ldsodefs.h: Update declaration.
30123
076fe015
UD
30124 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30125 string for the scope number.
30126
a60df2c3
UD
301272011-08-14 Ulrich Drepper <drepper@gmail.com>
30128
30129 * nscd/servicescache.c (cache_addserv): Make sure written is always
30130 initialized.
30131
5e4287d1
RM
301322011-08-14 Roland McGrath <roland@hack.frob.com>
30133
85ae0589
RM
30134 * sysdeps/i386/i486/bits/atomic.h
30135 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30136 statement expression, so as to suppress "set but not used" warning.
30137 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30138
69f63097
RM
30139 * string/strncat.c (STRNCAT): Use prototype definition.
30140
675456ef
RM
30141 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30142 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30143 -Iprograms here.
30144 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30145 (localedef-modules): Add localedef.
30146 (locale-modules): Add locale.
30147
5e4287d1
RM
30148 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30149 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30150 to avoid a warning.
30151
9c96ff23
DM
301522011-08-14 David S. Miller <davem@davemloft.net>
30153
30154 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30155 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30156
f9ddf089
UD
301572011-08-13 Ulrich Drepper <drepper@gmail.com>
30158
44f0a71e 30159 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
30160 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30161 * elf/rtld.c (dl_main): Set l_name of vDSO.
30162 Call _dl_show_scope when DL_DEBUG_SCOPES.
30163 (process_dl_debug): Recognize scopes flag and also set it for all.
30164 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30165 Declare _dl_show_scope.
30166
1dc27704
UD
30167 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30168 (do_dlopen): Pass caller_dlopen to dl_open.
30169 (__libc_dlopen_mode): Initialize caller_dlopen.
30170
f9ddf089
UD
30171 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30172 of libc. Make tolower call locale-independent. Optimize a bit by
30173 using isdigit instead of isalnum.
30174 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30175
9ac533d3
UD
301762011-08-12 Ulrich Drepper <drepper@gmail.com>
30177
30178 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30179 was a dependency or dynamically loaded.
30180
89edf2e9
UD
301812011-08-11 Ulrich Drepper <drepper@gmail.com>
30182
8e999d29
UD
30183 * intl/l10nflist.c: Allow architecture-specific pop function.
30184 * sysdeps/x86_64/l10nflist.c: New file.
30185
89edf2e9
UD
30186 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30187 classification.
30188
14d96785
AS
301892011-08-10 Andreas Schwab <schwab@redhat.com>
30190
30191 * include/dirent.h: Add libc_hidden_proto for scandirat and
30192 scandirat64. Don't declare __scandirat64.
30193 * dirent/scandirat.c: Add libc_hidden_def.
30194 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30195 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30196
6761ac04
DM
301972011-08-10 David S. Miller <davem@davemloft.net>
30198
30199 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30200 enum.
30201 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30202 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30203 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30204
c55fbd1e
UD
302052011-08-09 Ulrich Drepper <drepper@gmail.com>
30206
30207 * Versions.def [libc]: Add GLIBC_2.15.
30208 * dirent/Makefile (routines): Add scandirat and scandirat64.
30209 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30210 GLIBC_2.15.
30211 * dirent/dirent.h: Declare scandirat and scandirat64.
30212 * dirent/scandirat.c: New file.
30213 * dirent/scandirat64.c: New file.
30214 * sysdeps/wordsize-64/scandirat.c: New file.
30215 * sysdeps/wordsize-64/scandirat64.c: New file.
30216 * dirent/opendir.c: Define opendirat.
30217 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30218 using scandirat.
30219 * dirent/scandir64.c: Adjust for scandir.c change.
30220 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30221 __scandirat64, and __scandir_cancel_handler.
30222 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30223 additional parameter and use openat instead of open (outside of ld.so).
30224 Add new __opendir as wrapper around __opendirat.
30225 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30226 here without requiring old scandirat implementation.
30227
879165f2
UD
302282011-08-08 Ulrich Drepper <drepper@gmail.com>
30229
30230 * dirent/scandir.c (cancel_handler): Renamed to
30231 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30232 defined. Adjust users.
30233 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30234 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30235
cb7e923b
UD
302362011-08-04 Ulrich Drepper <drepper@gmail.com>
30237
16292edd
UD
30238 * string/test-string.h (IMPL): Use __STRING to expand name and then
30239 stringify it.
30240
cb7e923b
UD
30241 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30242 of cleanups.
30243
cff82933
LD
302442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30245
30246 * string/Makefile: Update.
30247 (strop-tests): Append strncat.
30248 * string/test-wcscmp.c: New file.
30249 New comprehensive test for wcscmp.
30250 * string/test-strcmp.c: Update.
30251 (WIDE): New define.
30252
9be9bfcc
AS
302532011-07-22 Andreas Schwab <schwab@redhat.com>
30254
30255 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30256 line.
30257
2e96f1c7
AS
302582011-07-26 Andreas Schwab <schwab@redhat.com>
30259
30260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30261 encoding to ACE if AI_IDN.
30262
85188888
JJ
302632011-08-01 Jakub Jelinek <jakub@redhat.com>
30264
30265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30266 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30267
5fa16e9b
LD
302682011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30269
30270 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30271 Fix overflow bug in strncat.
30272 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30273
30274 * string/test-strncat.c: Update.
30275 Add new tests for checking overflow bugs.
30276
302772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30278
30279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30280 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30281 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30282 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30283 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30284 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30285 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30286 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30287 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30288
30289 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30290 (USE_AS_STRCAT): Define.
30291 Add strcat and strncat support.
30292 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30293
8c1a459f
AS
302942011-07-25 Andreas Schwab <schwab@redhat.com>
30295
30296 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30297 __n bigger than INT_MAX+1.
30298 (__strncmp_g): Likewise.
30299
bba33c28
UD
303002011-07-23 Ulrich Drepper <drepper@gmail.com>
30301
798be72d
UD
30302 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30303 * libio/stido.h: Likewise.
30304
8accd4dc
UD
30305 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30306 (AF_NFC): Define.
30307 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30308 (AF_NFC): Define.
30309
cbff0d96
UD
30310 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30311 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30312 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30313 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30314 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30315
9191c04a
UD
30316 [BZ #13021]
30317 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30318 installed.
30319
bba33c28
UD
30320 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30321 typo.
30322 (_dl_x86_64_save_sse): Likewise.
30323
90f139dd
UD
303242011-07-22 Ulrich Drepper <drepper@gmail.com>
30325
1aae088a
UD
30326 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30327 OSXSAVE.
30328 (_dl_x86_64_save_sse): Likewise.
30329
8e2045f5
UD
30330 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30331
90f139dd
UD
30332 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30333
1d002f25
AS
303342011-07-21 Andreas Schwab <schwab@redhat.com>
30335
30336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30337 change.
30338 (_dl_x86_64_save_sse): Use correct AVX check.
30339
21137f89
UD
303402011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30341
30342 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30343 bug in strncpy/strncat.
30344 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30345
a65c0b7a
UD
303462011-07-21 Ulrich Drepper <drepper@gmail.com>
30347
30348 * string/tester.c (test_strcat): Add tests for different alignments
30349 of source and destination.
30350 (test_strncat): Likewise.
30351
6986b98a
UD
303522011-07-20 Ulrich Drepper <drepper@gmail.com>
30353
90bb2039
UD
30354 [BZ #12852]
30355 * posix/glob.c (glob): Check passed in values before using them in
30356 expressions to avoid some overflows.
30357 (glob_in_dir): Likewise.
30358
5644ef54
UD
30359 [BZ #13007]
30360 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30361 check for AVX enablement so that we don't crash with old kernels and
30362 new hardware.
30363 * elf/tst-audit4.c: Add same checks here.
30364 * elf/tst-audit6.c: Likewise.
30365
30366 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 30367
bfc9dc9b
AS
303682011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30369
30370 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30371
702e64bb
UD
303722011-07-20 Ulrich Drepper <drepper@gmail.com>
30373
30374 * po/cs.po: Update from translation team.
30375 * po/bg.po: Likewise.
30376
295e904f
MP
303772011-07-12 Marek Polacek <mpolacek@redhat.com>
30378
30379 * misc/sys/cdefs.h: Add support for const attribute.
30380 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30381 to gnu_dev_{major,minor,makedev} functions.
30382
3ff94596
MP
303832011-07-20 Marek Polacek <mpolacek@redhat.com>
30384
30385 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30386
28b59fca
AS
303872011-07-20 Andreas Schwab <schwab@redhat.com>
30388
30389 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30390 strlen results.
30391
19df733e
AK
303922011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30393
30394 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30395 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30396 register in order to avoid conflicts with the soft frame pointer
30397 being held in r11 when necessary.
30398 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30399 (INTERNAL_VSYSCALL_NCS): Likewise.
30400
c8835729
MP
304012011-07-14 Marek Polacek <mpolacek@redhat.com>
30402
30403 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30404 * elf/dl-fini.c (_dl_fini): Adjust caller.
30405 * elf/dl-close.c (_dl_close_worker): Likewise.
30406 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30407
b902330c
MP
304082011-07-15 Marek Polacek <mpolacek@redhat.com>
30409
8991e135
MP
30410 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30411 "aux_cache->nlibs < 0".
30412
b902330c
MP
30413 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30414 in the reload-count case.
30415
99710781
LD
304162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30417
30418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30419 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30420 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30421 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30422 * sysdeps/x86_64/multiarch/strcat.S: New file.
30423 * sysdeps/x86_64/multiarch/strncat.S: New file.
30424 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30425 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30426 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30427 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30428 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30429 (USE_AS_STRCAT): Define.
30430 Add strcat and strncat support.
30431 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30432 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30433 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30434 * string/strncat.c: Update.
30435 (USE_AS_STRNCAT): Define.
30436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30437 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30438 and i7.
30439 * sysdeps/x86_64/multiarch/init-arch.h
30440 (bit_Prefer_PMINUB_for_stringop): New.
30441 (index_Prefer_PMINUB_for_stringop): Likewise.
30442 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30443 bit_Prefer_PMINUB_for_stringop.
30444
7dc6bd90
UD
304452011-07-19 Ulrich Drepper <drepper@gmail.com>
30446
30447 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30448 buffer64.
30449 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30450 of casting of buffer.
30451 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30452 buffer32 and buffer64.
30453 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30454 writes instead of casting of buffer.
30455 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30456 buffer32.
30457 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30458 casting of buffer.
30459
e0e72284
AS
304602011-07-19 Andreas Schwab <schwab@redhat.com>
30461
30462 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30463
feb1eb0b
UD
304642011-07-19 Ulrich Drepper <drepper@gmail.com>
30465
30466 * nscd/nscd.c (termination_handler): Don't do anything for a database
30467 if it has not yet been initialized.
30468
298711ff
UD
304692011-07-18 Ulrich Drepper <drepper@gmail.com>
30470
30471 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30472
304732011-07-15 Marek Polacek <mpolacek@redhat.com>
30474
30475 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30476
f9d68389
UD
304772011-07-18 Ulrich Drepper <drepper@gmail.com>
30478
30479 * po/nl.po: Update from translation team.
30480 * po/sv.po: Likewise.
30481
db290cf5
RM
304822011-07-16 Roland McGrath <roland@hack.frob.com>
30483
30484 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30485 now disallowed by GCC.
5c550700 30486
fd5e21c7
RM
30487 * configure.in (use-default-link): Default to yes if a test -shared
30488 link meets our qualifications.
30489 * configure: Regenerated.
30490
5c550700
RM
30491 * config.make.in (output-format): New variable.
30492 * configure.in: Check for ld --print-output-format support.
30493 * configure: Regenerated.
30494 * Makerules ($(common-objpfx)format.lds)
30495 [$(output-format) != unknown]: Just use $(output-format),
30496 instead of the linker-script munging.
30497
9fa2c032
RM
304982011-07-14 Roland McGrath <roland@hack.frob.com>
30499
a6928d51
RM
30500 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30501 of $(common-objpfx)shlib.lds.
30502 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30503
661607b3
RM
30504 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30505 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30506
9fa2c032
RM
30507 * configure.in (-z relro check): Adjust test code to add a large
30508 writable data section after it.
30509 * configure: Regenerated.
30510
defe9061
RM
305112011-07-11 Roland McGrath <roland@hack.frob.com>
30512
30513 * configure.in (-z relro check): Fix test code to make the variable
30514 truly const.
30515 * configure: Regenerated.
30516
319b9ad4
UD
305172011-07-11 Ulrich Drepper <drepper@gmail.com>
30518
30519 * nscd/nscd.h (struct traced_file): Define.
30520 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30521 elements. Add traced_files.
30522 (inotify_fd): Declare.
30523 (register_traced_file): Declare.
30524 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30525 (inotify_fd): Export.
30526 (resolv_conf_descr): Remove.
30527 (nscd_init): Move inotify descriptor creation to main.
30528 Don't register files for notification here.
30529 (register_traced_file): New function.
30530 (invalidate_cache): Don't use reset_res to determine whether to call
30531 res_init, go through the list of registered files.
30532 (main_loop_poll): The inotify descriptors are now stored in the
30533 structures for the traced files.
30534 (main_loop_epoll): Likewise
30535 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30536 to __nss_disable_nscd.
30537 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30538 for a database anymore. Check the records for all the registered
30539 files instead.
30540 * nss/Makefile (libnss_files-routines): Add files-init.
30541 (libnss_db-routines): Add db-init.
30542 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30543 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30544 * nss/nss_db/db-init.c: New file.
30545 * nss/nss_files/files-init.c: New file.
30546 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30547 __nss_lookup_function.
30548 (__nss_lookup_function): Call nss_load_library.
30549 (nss_load_all_libraries): New function.
30550 (__nss_disable_nscd): Take parameter with callback function for files
30551 to register. Set is_nscd. Load all the DSOs for the NSS modules
30552 used for the cached services.
30553 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30554 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30555 options for features to all the files in nscd.
30556
30557 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30558
23bee3e8
RM
305592011-07-10 Roland McGrath <roland@hack.frob.com>
30560
30561 * csu/elf-init.c (__libc_csu_init): Comment typo.
30562
46a5b7f0
UD
305632011-07-09 Ulrich Drepper <drepper@gmail.com>
30564
30565 * po/pl.po: Update from translation team.
30566 * po/ja.po: Likewise.
30567 * po/ru.po: Likewise.
30568 * po/ko.po: Likewise.
30569 * po/fr.po: Likewise.
30570
d30cf5bb
RM
305712011-07-09 Roland McGrath <roland@hack.frob.com>
30572
113ddea4
RM
30573 * configure.in (.ctors/.dtors header and trailer check):
30574 Use an empirical test on a built program.
30575 * configure: Regenerated.
30576
574920b4
RM
30577 * configure.in (-z relro check): Use an empirical test on a built DSO.
30578 Detect, but do not require, on ia64.
30579 * configure: Regenerated.
30580
d30cf5bb
RM
30581 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30582 Update tests that use readelf to use $READELF instead.
30583 * configure: Regenerated.
30584
8538fdb3
UD
305852011-07-08 Ulrich Drepper <drepper@gmail.com>
30586
30587 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30588 if the result is not used.
30589
04d08991
AJ
305902011-07-05 Andreas Jaeger <aj@suse.de>
30591
30592 [BZ#9696]
30593 * stdlib/tst-strtod.c: Add testcase.
30594
de283087
AD
305952011-07-07 Ulrich Drepper <drepper@gmail.com>
30596
4e5f31c8 30597 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30598 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30599 The latter has a higher limit. Take additional parameter to pass to
30600 the new function.
30601 (__pathconf): Pass file to __statfs_link_max.
30602 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30603 __statfs_link_max.
30604 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30605 __statfs_link_max.
30606
de283087
AD
30607 [BZ #12868]
30608 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30609 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30610 Handle Lustre.
30611 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30612 (__statfs_filesize_max): Likewise.
30613 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30614
c75fa153
AJ
306152011-07-05 Andreas Jaeger <aj@suse.de>
30616
30617 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30618
1a544854
UD
306192011-07-06 Marek Polacek <mpolacek@redhat.com>
30620
30621 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30622 `status' variable.
30623 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30624 Likewise.
30625
6f0eec67
UD
306262011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30627
30628 * Makefile (strop-tests): Add strncat.
30629 * string/test-strncat.c: New file.
30630
aae30307
UD
306312011-06-30 Marek Polacek <mpolacek@redhat.com>
30632
30633 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30634
c0cfb5eb
UD
306352011-06-21 Andreas Jaeger <aj@suse.de>
30636
30637 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30638 Copy rule from iconvdata/Makefile.
30639
01636b21
UD
306402011-07-06 Ulrich Drepper <drepper@gmail.com>
30641
30642 [BZ #12922]
30643 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30644 but no long options are defined, just return 'W'.
30645
9895c8bc
UD
306462011-06-22 Marek Polacek <mpolacek@redhat.com>
30647
30648 [BZ #9696]
30649 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30650
5d4cf042
UD
306512011-07-06 Ulrich Drepper <drepper@gmail.com>
30652
30653 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30654 netgroups to read.
960e5535 30655 (innetgr): Likewise.
5d4cf042 30656
751eb97e
RM
306572011-07-05 Roland McGrath <roland@hack.frob.com>
30658
30659 * config.make.in (install_root): Default to $(DESTDIR).
30660
f15f1e45
UD
306612011-07-05 Ulrich Drepper <drepper@gmail.com>
30662
30663 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30664
4e34ac6a
RM
306652011-07-02 Roland McGrath <roland@hack.frob.com>
30666
5e9b6af4
RM
30667 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30668
84f9ea0f
RM
30669 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30670 containing directory rather than embedding absolute directory names.
30671
ea5ee9f7
RM
30672 * scripts/check-local-headers.sh: Rewritten using awk.
30673 Match by word, not by line. Print error messages for matches.
30674 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30675
1b74661a
RM
30676 * Makerules [shlib-lds-flags empty]:
30677 ($(common-objpfx)libc_pic.opts): New target.
30678 ($(common-objpfx)libc_pic.os.clean): New target.
30679 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30680
30681 * config.make.in (OBJCOPY): New variable.
30682 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30683 * configure: Regenerated.
30684
f781ef40
RM
30685 * config.make.in (use-default-link): New variable.
30686 * configure.in (use_default_link): Grok --with-default-link to set it.
30687 * configure: Regenerated.
30688 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30689 (shlib-lds, shlib-lds-flags): Define to empty.
30690
2d4fa81e
RM
30691 * Makerules (shlib-lds): New variable.
30692 (shlib-lds-flags): New variable.
30693 (build-shlib, build-moduile, build-module-asneeded): Use it.
30694 ($(common-objpfx)libc.so): Use $(shlib-lds).
30695 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30696 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30697
31fffa6b
RM
30698 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30699 DT_FLAGS/DT_FLAGS_1 with zero flags.
30700
4e34ac6a
RM
30701 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30702 linker script munging.
30703
fcfc776b
UD
307042011-07-02 Ulrich Drepper <drepper@gmail.com>
30705
30706 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30707 as 128-bit value.
30708 * crypt/sha512.c (sha512_process_block): Perform total addition using
30709 128-bit if possible.
30710 (__sha512_finish_ctx): Likewise.
30711 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30712 as 64-bit value.
30713 * crypt/sha256.c (SWAP64): Define.
30714 (sha256_process_block): Perform total addition using 64-bit if
30715 possible.
30716 (__sha256_finish_ctx): Likewise.
30717
99231d9a
UD
307182011-07-01 Ulrich Drepper <drepper@gmail.com>
30719
30720 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30721 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30722 * nscd/hstcache.c (cache_addhst): Likewise.
30723 * nscd/grpcache.c (cache_addgr): Likewise.
30724 * nscd/aicache.c (addhstaiX): Likewise
30725 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30726
445b4a53
TK
307272011-07-01 Thorsten Kukuk <kukuk@suse.de>
30728
30729 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30730 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30731 * nscd/hstcache.c (cache_addhst): Likewise.
30732 * nscd/grpcache.c (cache_addgr): Likewise.
30733 * nscd/aicache.c (addhstaiX): Likewise
30734
6d4d8e8e
AS
307352011-07-01 Andreas Schwab <schwab@redhat.com>
30736
30737 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30738 domain only when needed.
30739
89f654c5
AS
307402011-06-30 Andreas Schwab <schwab@redhat.com>
30741
30742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30743 is always restored.
30744
cf3b23ff
UD
307452011-06-29 Ulrich Drepper <drepper@gmail.com>
30746
30747 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30748 are re-adding the entry.
30749 * nscd/servicescache.c (cache_addserv): Likewise.
30750
751626f9
AJ
307512011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30752
30753 * sysdeps/generic/dl-irel.h: fix protection against multiple
30754 inclusions.
30755 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30756
9113ea1f
UD
307572011-06-28 Ulrich Drepper <drepper@gmail.com>
30758
5c0b8d90
UD
30759 [BZ #12935]
30760 * malloc/memusage.sh: Fix quoting in message.
30761 * debug/xtrace.sh: Likewise.
30762
9113ea1f
UD
30763 * configure.in: Remove support for --experimental-malloc option, make
30764 it the default.
30765 * config.make.in: Likewise.
30766 * malloc/Makefile: Likewise.
30767
a4172181
AS
307682011-06-27 Andreas Schwab <schwab@redhat.com>
30769
30770 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30771 two-byte characters.
30772
78a7eee7
RM
307732011-06-27 Roland McGrath <roland@hack.frob.com>
30774
62bede13
RM
30775 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30776 AC_CACHE_CHECK invocation.
30777 * configure: Regenerated.
30778
78a7eee7
RM
30779 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30780
5ce33a62
UD
307812011-06-27 Ulrich Drepper <drepper@gmail.com>
30782
034807a9
UD
30783 [BZ #12350]
30784 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30785 bit from old_res_options.
30786
4902da17
UD
30787 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30788
5ce33a62
UD
30789 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30790 value type for setfct.
30791
c2344f56
L
307922011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30793
30794 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30795 __gettimeofday instead of gettimeofday.
30796
68468076
UD
307972011-06-26 Ulrich Drepper <drepper@gmail.com>
30798
30799 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30800
acb0d739
L
308012011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30802
30803 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30804
30805 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30806 info.
30807
8912479f
L
308082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30809
30810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30811 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30812 strcpy-sse2-unaligned strncpy-sse2-unaligned
30813 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30814 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30815 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30816 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30817 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30818 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30819 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30820 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30821 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30822 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30823 (STRCPY): Support SSE2 and SSSE3 versions.
30824
d5495a11
UD
308252011-06-24 Ulrich Drepper <drepper@gmail.com>
30826
30827 [BZ #12874]
30828 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30829 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30830 kernels which artificially limit size of requests.
30831
0b1cbaae
L
308322011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30833
30834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30835 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30836 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30837 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30838 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30839 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30840 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30841 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30842 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30843 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30844 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30845 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30846 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30847 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30848 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30850 Enable unaligned load optimization for Intel Core i3, i5 and i7
30851 processors.
30852 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30853 Define.
30854 (index_Fast_Unaligned_Load): Define.
30855 (HAS_FAST_UNALIGNED_LOAD): Define.
30856
07f494a0
MP
308572011-06-23 Marek Polacek <mpolacek@redhat.com>
30858
30859 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30860
fa3fc0fe
UD
308612011-06-22 Ulrich Drepper <drepper@gmail.com>
30862
30863 [BZ #12907]
30864 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30865 until it is clear that the information is realy needed.
30866 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30867
e12df166
AS
308682011-06-22 Andreas Schwab <schwab@redhat.com>
30869
30870 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30871
852eb34d
UD
308722011-06-22 Ulrich Drepper <drepper@gmail.com>
30873
84e2a551
UD
30874 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30875 /sys/devices/system/cpu/online if it is usable.
30876
852eb34d
UD
30877 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30878 reading the information from the /proc filesystem to once a second.
30879
6e502e19
UD
308802011-06-21 Andreas Jaeger <aj@suse.de>
30881
30882 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30883 NULL after inclusion of kernel headers.
30884
75d39ff2
UD
308852011-06-21 Ulrich Drepper <drepper@gmail.com>
30886
51f9aa6a
UD
30887 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30888 calls to internal_setent.
30889
c0244a9d
UD
30890 [BZ #12885]
30891 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30892 addresses using gethostbyname4_r ignore IPv4 addresses.
30893
c5e3c2ae
UD
30894 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30895 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30896
75d39ff2
UD
30897 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30898
42675c6f
DM
308992011-06-20 David S. Miller <davem@davemloft.net>
30900
30901 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30902 inclusions.
30903 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30904
30905 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30906 (elf_irel): Use it.
30907 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30908 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30909 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30910 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30911 * sysdeps/x86_64/dl-irel.h: Likewise.
30912
30913 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30914 * elf/dl-sym.c: Likewise.
30915
57912a71
UD
309162011-06-15 Ulrich Drepper <drepper@gmail.com>
30917
30918 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30919 need to dereference resplen2.
30920
ee22793d
AS
309212011-06-14 Andreas Schwab <schwab@redhat.com>
30922
30923 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30924
a9e836b0
UD
309252011-06-15 Ulrich Drepper <drepper@gmail.com>
30926
77fb9117
UD
30927 * Makeconfig: Define vardbdir and inst_vardbdir.
30928 * nss/Makefile: Add rules to install db-Makefile.
30929
40c1b22c
UD
30930 * nss/nss_db/db-XXX.c: Cleanup.
30931
9f2da732
UD
30932 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30933 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30934 GLIBC_PRIVATE.
30935 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30936 * nss/makedb.c: Implement -g option to specify that value strings
30937 are generated and should not be added to table iterated over for
30938 get*ent calls.
30939 * nss/nss_db/db-initgroups.c: New file.
30940
82e9a1f7
UD
30941 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30942 interface.
30943
c41af17e
UD
30944 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30945 (internal_getgrouplist): Adjust to name change.
30946 Update use_initgroups_entry if this is not the first call.
30947 * nss/databases.def: Add initgroups entry.
30948
a9e836b0
UD
30949 * nss/makedb.c (compute_tables): Check result of multiple hash table
30950 sizes to minimize maximum chain length.
30951
2666d441
UD
309522011-06-14 Ulrich Drepper <drepper@gmail.com>
30953
30954 * Versions.def: Add entry for libnss_db.
30955 * shlib-versions: Likewise.
30956 * nss/Makefile: Add rules to build libnss_db.
30957 * nss/Versions: Add libnss_db information. Organize libnss_files
30958 entries better.
30959 * nss/db-Makefile: Add gshadow support. Change rules for the new
30960 makedb progra. Some minor improvements to generate smaller files.
30961 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30962 here from...
30963 * nss/makedb.c: ...here.
30964 Improve database format to be smaller and require less memory at
30965 runtime.
30966 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30967 db anymore.
30968 * nss/nss_db/db-netgrp.c: Likewise.
30969 * nss/nss_db/db-open.c: Likewise.
30970 * nss/nss_files/flies-XXX.x: Adjust comments.
30971 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30972 * nss/nss_files/files-grp.c: Likewise.
30973 * nss/nss_files/files-hosts.c: Likewise.
30974 * nss/nss_files/files-network.c: Likewise.
30975 * nss/nss_files/files-proto.c: Likewise.
30976 * nss/nss_files/files-pwd.c: Likewise.
30977 * nss/nss_files/files-rpc.c: Likewise.
30978 * nss/nss_files/files-service.c: Likewise.
30979 * nss/nss_files/files-sgrp.c: Likewise.
30980 * nss/nss_files/files-spwd.c: Likewise.
30981 * nss/nss_db/db-alias.c: Removed.
30982 * nss/nss_db/dummy-db.h: Removed.
30983
9ee76b5a
UD
309842011-06-02 Ulrich Drepper <drepper@gmail.com>
30985
30986 * nss/makedb.c: Rewritten to not use database library.
30987 * nss/Makefile: Update to build new makedb program.
30988
c71ca1f8
AJ
309892011-06-14 Andreas Jaeger <aj@suse.de>
30990
30991 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30992 memset declaration.
30993
3154bfb8
UD
309942011-06-10 Andreas Schwab <schwab@redhat.com>
30995
30996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30997 tmpbuf.
30998
b350afab
RM
309992011-06-10 Roland McGrath <roland@hack.frob.com>
31000
decd4e50
RM
31001 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31002 * elf/Makefile ($(objpfx)ld.so): Likewise.
31003
5615eaf2
RM
31004 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31005 Don't list ld.so twice in dependencies.
31006
31007 * posix/bug-regex31.c: Include <stdlib.h>.
31008
31009 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31010
31011 * nis/nss_compat/compat-spwd.c
31012 (getspent_next_nss_netgr): Remove unused variable.
31013 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31014
31015 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31016 nonmembers" output to use the right array.
31017
31018 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31019
31020 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31021
31022 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31023 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31024 * catgets/gencat.c (read_input_file): Likewise.
31025 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31026
31027 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31028 variable definition inside #if's controlling its use.
31029
31030 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31031
31032 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31033
31034 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31035
31036 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31037 unreachable code.
31038
31039 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31040
b68e08db
RM
31041 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31042 * configure: Regenerated.
31043
b350afab
RM
31044 * Makerules: Revert last change.
31045 * elf/Makefile: Likewise.
31046
28368601
RM
310472011-06-09 Roland McGrath <roland@hack.frob.com>
31048
31049 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31050 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31051 (reloc-link): Likewise.
31052
11988f8f
UD
310532011-06-09 Ulrich Drepper <drepper@gmail.com>
31054
31055 * elf/Makefile: Add rules to build pldd.
31056 * elf/pldd.c: New file.
31057 * elf/pldd-xx.c: New file.
31058
e80fab37
UD
310592011-06-07 Ulrich Drepper <drepper@gmail.com>
31060
31061 * version.h: Update for 2.15 development version.
31062
9b849836
DM
310632011-06-07 David S. Miller <davem@davemloft.net>
31064
31065 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31066 ifuncs.
31067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31068 elf_machine_lazy_rel): Likewise.
31069 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31070 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31071 elf_machine_lazy_rel): Likewise.
31072 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31073 dl_hwcap via passed in argument.
31074 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31075 Likewise.
31076
5a31b283
AK
310772011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31078
31079 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31080
069e52f8
RM
310812011-06-06 Roland McGrath <roland@hack.frob.com>
31082
31083 [BZ #12849]
31084 * manual/fdl-1.1.texi: New file, verbatim from:
31085 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31086 * manual/lgpl-2.1.texi: New file, verbatim from:
31087 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31088 * manual/Makefile (licenses): New variable, list those new file names.
31089 (texis): Use it.
31090 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31091
31092 * manual/fdl.texi: File removed.
31093 * manual/lesser.texi: File removed.
31094 * manual/libc.texinfo (Copying, Documentation License):
31095 Use new @include file names, put @appendix directive before @include.
31096
f16846a5
JJ
310972011-06-04 Jakub Jelinek <jakub@redhat.com>
31098
31099 [BZ #12841]
31100 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31101 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31102 (mq_open): Add __NTH.
31103
3d29045b
L
311042011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31105
31106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31107 Assume Intel Core i3/i5/i7 processor if AVX is available.
31108
8c297311
UD
311092011-05-31 Ulrich Drepper <drepper@gmail.com>
31110
31111 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31112 typo.
31113
c8fc0c91
UD
311142011-05-31 Andreas Schwab <schwab@redhat.com>
31115
31116 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31117 memory. Use alloca_account. Fix memory leak when retrying.
31118
5b27a807
UD
311192011-05-31 Ulrich Drepper <drepper@gmail.com>
31120
356f8bc6
UD
31121 * version.h (RELEASE): Bump for 2.14 release.
31122 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31123
5b27a807
UD
31124 * config.make.in (RANLIB): Remove entry.
31125
01f16ab0
UD
311262011-05-30 Ulrich Drepper <drepper@gmail.com>
31127
41fce8bd
UD
31128 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31129 (libc.pot): Work around missing support for .ksh extension in xgettext.
31130
4769ae77
UD
31131 [BZ #12684]
31132 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31133 if both request failed.
31134 (send_dg): In case of server errors clear resplen or *resplen2.
31135
6b1e7d19
UD
31136 [BZ #12454]
31137 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31138 when there are multiple maps.
31139 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31140 (_dl_fini): Remove test here.
31141
01f16ab0
UD
31142 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31143
b1ebd700
UD
311442011-05-29 Ulrich Drepper <drepper@gmail.com>
31145
7ae22829
UD
31146 [BZ #12350]
31147 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31148 bit from old_res_options.
31149 (gaih_inet): Likewise.
31150
553149f6 31151 [BZ #11099]
18a84741 31152 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
31153 as signed.
31154
652ffab1
UD
31155 * resolv/res_init.c (res_setoptions): Make the code more compact.
31156
16985fd0
UD
31157 [BZ #11558]
31158 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31159 set RES_USEVC.
31160
0464f746
UD
31161 [BZ #11634]
31162 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31163
7d17596c
UD
31164 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31165
cf6bbbd7
UD
31166 [BZ #11781]
31167 * malloc/malloc.h: Declare malloc hook variables as volatile.
31168
13f1ab36
UD
31169 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31170 in last patch.
31171
b1ebd700
UD
31172 [BZ #11799]
31173 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 31174 raise in the comment.
80e2212d
UD
31175 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31176 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31177 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 31178
ce67228d
UD
311792011-05-28 Ulrich Drepper <drepper@gmail.com>
31180
8887a920
UD
31181 [BZ #12811]
31182 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31183 grow the buffers more if it already has to be sufficient.
31184 (build_wcs_upper_buffer): Likewise.
31185 * posix/regexec.c (check_matching): Likewise.
31186 (clean_state_log_if_needed): Likewise.
31187 (extend_buffers): Don't enlarge buffers beyond size of the input
31188 buffer.
31189 Patches mostly by Emil Wojak <emil@wojak.eu>.
31190 * posix/bug-regex32.c: New file.
31191 * posix/Makefile (tests): Add bug-regex32.
31192
4f031072
UD
31193 * locale/findlocale.c (_nl_find_locale): Return right away if
31194 _nl_explode_name failed.
31195 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31196
d0478f0c
UD
31197 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31198
de81b246
UD
31199 * debug/xtrace.sh: Unify messages.
31200 * malloc/memusage.sh: Likewise.
31201
c738465a
UD
31202 [BZ #12813]
31203 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31204 time symbol from vDSO. Substitute with vsyscall if not available.
31205 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31206 __vdso_time.
31207
f1f929d7
UD
31208 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31209 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31210 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31211 Add sendmmsg and internal_sendmmsg.
31212 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31213 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31214 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31215
ce67228d
UD
31216 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31217 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31218 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31219
e57420c6
UD
312202011-05-27 Ulrich Drepper <drepper@gmail.com>
31221
a8509ca5
UD
31222 [BZ #12813]
31223 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31224 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31225 available.
31226 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31227 __vdso_getcpu.
31228
e57420c6
UD
31229 [BZ #12814]
31230 * iconvdata/Makefile (tests): Add bug-iconv9.
31231 * iconvdata/bug-iconv9.c: New file.
31232
4d07db15
AS
312332011-05-27 Andreas Schwab <schwab@redhat.com>
31234
31235 [BZ #12814]
31236 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31237
ea486f69
JJ
312382011-05-25 Jakub Jelinek <jakub@redhat.com>
31239
31240 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31241 (struct user_regs_struct): Change intcs field back to cs.
31242
6f038433
UD
312432011-05-25 Ulrich Drepper <drepper@gmail.com>
31244
31245 * po/ja.po: Update from translation team.
31246
67f86a25
UD
312472011-05-23 Ulrich Drepper <drepper@gmail.com>
31248
31249 [BZ #12795]
31250 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31251 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31252
def7fbd6
AS
312532011-05-20 Andreas Schwab <schwab@redhat.com>
31254
31255 * stdlib/longlong.h: Update from GCC.
31256
f50ef8f1
AS
312572011-05-23 Andreas Schwab <schwab@redhat.com>
31258
31259 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31260 parameter name.
31261 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31262 Add parameter name.
31263 (__sysconf): Pass it down.
31264
de7ce8f1
UD
312652011-05-22 Ulrich Drepper <drepper@gmail.com>
31266
f2962a71
UD
31267 [BZ #12671]
31268 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31269 some situations.
31270 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31271 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31272 add in in __libc_use_alloca calls. Adjust callers.
31273 (glob): Use malloc in some situations.
31274
de7ce8f1
UD
31275 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31276 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31277 pltexit.
31278
aec84f53
UD
312792011-05-21 Ulrich Drepper <drepper@gmail.com>
31280
05bb4a68
UD
31281 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31282 and CLOCK_BOOTTIME_ALARM.
31283
7ea72f99
UD
31284 [BZ #12782]
31285 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31286 is returned.
31287
7e4afad5
UD
31288 * string/_strerror.c (__strerror_r): Print negative errors as signed
31289 numbers.
31290
8e211fec
UD
31291 [BZ #12777]
31292 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31293 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31294 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31295
f7d82dc9
UD
31296 * configure.in: Fix typo in redirection and correct removal of test
31297 files in two cases.
31298
cc9e536d
UD
31299 [BZ #12788]
31300 * locale/setlocale.c (new_composite_name): Fix test to check for
31301 identical name of all categories.
31302
aec84f53
UD
31303 [BZ #12792]
31304 * libio/filedoalloc.c (local_isatty): New function.
31305 (_IO_file_doallocate): Use local_isatty.
31306 * stdio-common/perror.c (perror): In case a new stream is used
31307 forward the stream error.
31308 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31309 error flag.
31310
78e64fdc
RT
313112011-05-20 Ulrich Drepper <drepper@gmail.com>
31312
34a9094f
UD
31313 [BZ #11869]
31314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31315 alloca.
31316 * include/alloca.h (extend_alloca_account): Define.
31317
78e64fdc
RT
31318 [BZ #11857]
31319 * posix/regex.h: Fix comments with documentation of user-accessible
31320 fields after compilation and describe correct free'ing of pattern
31321 after re_compile_pattern.
31322 Patch by Reuben Thomas <rrt@sc3d.org>.
31323
457bddfc
RA
313242011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31325
31326 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31327 and -mno-altivec to prevent the compiler from using Altivec and/or
31328 VSX instructions when the corresponding registers are not available.
31329
a4527b51
AS
313302011-05-19 Andreas Schwab <schwab@redhat.com>
31331
31332 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31333
ed690b2f
UD
313342011-05-19 Ulrich Drepper <drepper@gmail.com>
31335
31336 * libio/freopen.c (freopen): Use __dup2, not dup2.
31337 * libio/freopen64.c (freopen64): Likewise.
31338
8db73634
L
313392011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31340
31341 [BZ #12775]
31342 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31343 * math/Makefile (tests): Add test-powl.
31344 (CFLAGS-test-powl.c): Define.
31345 * math/test-powl.c: New file.
31346
0a197a9d
L
313472011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31348
31349 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31350
ee30c380
UD
313512011-05-17 Ulrich Drepper <drepper@gmail.com>
31352
31353 [BZ #11837]
31354 * iconvdata/gb18030.c: Update to GB18020-2005.
31355
6ce75379
UD
313562011-05-16 Ulrich Drepper <drepper@gmail.com>
31357
a4b89fd8
AR
31358 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31359 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31360 Patch by Aharon Robbins <arnold@skeeve.com>.
31361
ea389b12
UD
31362 [BZ #11892]
31363 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31364 on the stack.
31365
68a3f91f
UD
31366 [BZ #11895]
31367 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31368 through underflows.
31369
15cc7dd1
UD
31370 [BZ #12766]
31371 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31372 point to strings before performing equality test for error_one_per_line
31373 mode.
31374
f3799213
UD
31375 [BZ #11697]
31376 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31377
d79a9c94
UD
31378 [BZ #11820]
31379 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31380 (struct user_fpregs_struct): Avoid __uint*_t types.
31381
56e5eb46
UD
31382 [BZ #6420]
31383 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31384 symbol info. Use it instead of calling _dl_addr locally.
31385 (lock_and_info): New function.
31386 (tr_freehook): Call lock_and_info and pass symbol info as additional
31387 parameter to tr_where.
31388 (tr_mallochook): Likewise.
31389 (tr_reallochook): Likewise.
31390 (tr_memalignhook): Likewise.
31391
6ce75379
UD
31392 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31393 used and couldn't be at all thread-safe.
31394
f8a3b5bf
UD
313952011-05-15 Ulrich Drepper <drepper@gmail.com>
31396
94b7cc37
UD
31397 * libio/freopen.c (freopen): Don't close old file descriptor
31398 before the new one is opened. Instead dup the new file descriptor
31399 to the old one after the new stream is created.
31400 * libio/freopen64.c (freopen64): Likewise.
31401 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31402 * libio/fileops.c (_IO_new_file_close_it): Handle new
31403 _IO_FLAGS2_NOCLOSE flag.
31404 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31405 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31406 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31407 _IO_FLAGS2_NOCLOSE flag.
31408 * include/unistd.h: Add hidden_proto for dup3.
31409 Define __have_dup3.
31410 * io/dup3.c: Define hidden symbol.
31411 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31412
bd25564e
UD
31413 [BZ #7101]
31414 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31415 when an incomplete long option is used.
31416 * posix/tst-getopt_long1.c: New file.
31417 * posix/Makefile (tests): Add tst-getopt_long1.
31418
c84cfef4
UD
31419 [BZ #10138]
31420 * scripts/config.guess: Update from autoconf-2.68.
31421 * scripts/config.sub: Likewise.
31422
3b85df27
UD
31423 [BZ #10157]
31424 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31425 tests into ...
31426 (has_cpuclock): ...this. New function.
31427 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31428 macro here based on has_cpuclock code.
31429
15a856b1
UD
31430 [BZ #10149]
31431 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31432 First byte (not low byte) is now always NUL.
31433 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31434
05f399e6
UD
31435 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31436 Use non-cancelable interfaces.
31437
10a52685 31438 [BZ #9809]
94ecc67d
UD
31439 * locale/iso-639.def: Add entry for Sorani.
31440
f8a3b5bf
UD
31441 [BZ #11901]
31442 * include/stdlib.h: Move include protection to the right place.
31443 Define abort_msg_s. Declare __abort_msg with it.
31444 * stdlib/abort.c (__abort_msg): Adjust type.
31445 * assert/assert.c (__assert_fail_base): New function. Majority
31446 of code from __assert_fail. Allocate memory for __abort_msg with
31447 mmap.
31448 (__assert_fail): Now call __assert_fail_base.
31449 * assert/assert-perr.c: Remove bulk of implementation. Use
31450 __assert_fail_base.
31451 * include/assert.hL Declare __assert_fail_base.
31452 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31453 mmap.
31454 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31455
1af4e298
UD
314562011-05-14 Ulrich Drepper <drepper@gmail.com>
31457
f8a3b5bf 31458 [BZ #11952]
d26dfc60
MG
31459 [BZ #12453]
31460 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31461 until all modules are registered in the DTV.
31462 * elf/Makefile: Add rules to build and run tst-tls19.
31463 * elf/tst-tls19.c: New file.
31464 * elf/tst-tls19mod1.c: New file.
31465 * elf/tst-tls19mod2.c: New file.
31466 * elf/tst-tls19mod3.c: New file.
31467 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31468
2fc54d6f
UD
31469 [BZ #12083]
31470 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31471 correctly.
31472
98d76b46
UD
31473 [BZ #12601]
31474 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31475 two-byte sequence errors.
31476 * iconvdata/Makefile (tests): Add bug-iconv8.
31477 * iconvdata/bug-iconv8.c: New file.
31478
da3c19ef
UD
31479 [BZ #12626]
31480 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31481 buf2 definition.
31482
ca408c15
UD
31483 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31484
d6f67f7d
UD
31485 [BZ #12432]
31486 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31487 (dummy_getcfa): New function.
31488 (init): Get _Unwind_GetCFA address, use dummy if not found.
31489 (backtrace_helper): In recursion check, also check whether CFA changes.
31490 (__backtrace): Completely initialize arg.
31491
1af4e298 31492 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31493 storing incomplete byte sequence in state object. Avoid testing for
31494 guaranteed too small input if we know there is enough data available.
1af4e298 31495
da62f81b
AS
314962011-05-11 Andreas Schwab <schwab@redhat.com>
31497
31498 * Makeconfig (+link-pie): Indent.
31499 * Rules (binaries-pie): Define if $(have-fpie) and
31500 $(build-shared).
31501 (binaries-shared): Also filter out $(binaries-pie).
31502 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31503 * nscd/Makefile (others-pie): Add nscd.
31504 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31505 ($(objpfx)nscd): Remove command override.
31506 * login/Makefile (others-pie): Add pt_chown.
31507 ($(objpfx)pt_chown): Remove command override.
31508 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31509 remove command overrides.
31510
fcabc0f8
UD
315112011-05-13 Ulrich Drepper <drepper@gmail.com>
31512
20030ae6
UD
31513 * libio/tst_putwc.c: Fix error messages.
31514
fcabc0f8
UD
31515 [BZ #12724]
31516 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31517 currently writing and seek to current position when not.
31518 * libio/Makefile (tests): Add bug-fclose1.
31519 * libio/bug-fclose1.c: New file.
31520
320a5dc0
PB
315212011-05-12 Ulrich Drepper <drepper@gmail.com>
31522
31523 [BZ #12511]
31524 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31525 don't set DF_1_NODELETE here.
31526 (do_lookup_x): When entering new entry test for copy relocation
31527 and if necessary set DF_1_NODELETE flag.
31528 * elf/tst-unique4.cc: New file.
31529 * elf/tst-unique4.h: New file.
31530 * elf/tst-unique4lib.cc: New file.
31531 * elf/Makefile: Add rules to build and run tst-unique4.
31532 Patch by Piotr Bury <pbury@goahead.com>.
31533
22836f52
UD
315342011-05-11 Ulrich Drepper <drepper@gmail.com>
31535
f574184a
UD
31536 [BZ #12052]
31537 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31538
e1fb097f
UD
31539 [BZ #12625]
31540 * misc/mntent_r.c (addmntent): Flush the stream after the output
31541
22836f52
UD
31542 [BZ #12393]
31543 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31544 (is_trusted_path_normalize): Skip initial colon. Append slash
31545 to empty buffer. Duplicate is_trusted_path code but allow
31546 constructed patch to be prefix.
31547 (is_dst): Allow $ORIGIN followed by /.
31548 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31549 Correct testing of result of is_trusted_path_normalize
31550 (decompose_rpath): Fix warning.
31551
7b3b0b2a
UD
315522011-05-10 Ulrich Drepper <drepper@gmail.com>
31553
31554 [BZ #11257]
31555 * grp/initgroups.c (internal_getgrouplist): When we found the service
31556 list through the initgroups entry in nsswitch.conf do not always
31557 continue on a successful lookup. Don't always use the
eac80ce2 31558 __nss_group_database value if it is set.
7b3b0b2a
UD
31559 * nss/nsswitch.conf (initgroups): Change action for successful db
31560 lookup to continue for compatibility.
31561
2a81eaa5
UD
315622011-05-09 Ulrich Drepper <drepper@gmail.com>
31563
be97a69e
UD
31564 [BZ #11532]
31565 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31566 and CP774 modules.
31567 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31568 and CP774 modules.
31569 * iconvdata/tst-tables.sh: Likewise.
31570 * iconvdata/cp770.c: New file.
31571 * iconvdata/cp771.c: New file.
31572 * iconvdata/cp772.c: New file.
31573 * iconvdata/cp773.c: New file.
31574 * iconvdata/cp774.c: New file.
31575 * iconvdata/testdata/CP770: New file.
31576 * iconvdata/testdata/CP770..UTF8: New file.
31577 * iconvdata/testdata/CP771: New file.
31578 * iconvdata/testdata/CP771..UTF8: New file.
31579 * iconvdata/testdata/CP772: New file.
31580 * iconvdata/testdata/CP772..UTF8: New file.
31581 * iconvdata/testdata/CP773: New file.
31582 * iconvdata/testdata/CP773..UTF8: New file.
31583 * iconvdata/testdata/CP774: New file.
31584 * iconvdata/testdata/CP774..UTF8: New file.
31585
31586 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31587 END CHARMAP line.
31588 * iconvdata/gen-8bit-gap.sh: Likewise.
31589 * iconvdata/gen-8bit.sh: Likewise.
31590
c1e9e399
UD
31591 * locale/iso-639.def: Add ary entry.
31592
24c55fb3 31593 [BZ #11258]
96b4b1b0
UD
31594 * locale/C-translit.h.in: Add U20A1 transliteration.
31595
bdc2f971
KB
31596 [BZ #12178]
31597 * locale/iso-639.def: Add wae entry.
31598 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31599
2952b117
UD
31600 [BZ #12545]
31601 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31602 for n.
31603
2a81eaa5
UD
31604 [BZ #12711]
31605 * locale/C-translit.h.in: Add entry for U20B9.
31606 Patch by pravin.d.s@gmail.com.
31607
28377d1b
UD
316082011-05-08 Ulrich Drepper <drepper@gmail.com>
31609
7fb90fb8
UD
31610 [BZ #12713]
31611 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31612 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31613 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31614 in rtld. Use *stat64.
7fb90fb8 31615 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31616 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31617 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31618 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31619 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31620 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31621 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31622 __fstatat64 macros.
7fb90fb8
UD
31623 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31624 * dirent/rewinddir.c: Add libc_hidden_def.
31625 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31626 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31627
28377d1b
UD
31628 * include/dirent.h (__alloc_dir): Add flags parameter.
31629 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31630 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31631 __alloc_dir.
31632 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31633 from fdopendir if O_CLOEXEC is already set.
31634
66bdbaa4
AM
316352011-03-15 Alan Modra <amodra@gmail.com>
31636
31637 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31638 l_tls_firstbyte_offset non-zero. Save padding offset in
31639 l_tls_firstbyte_offset for later use.
31640 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31641 freeing static tls block.
31642
95721191
JN
316432011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31644
31645 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31646 where #ifdef was intended. The intent is to prevent ARG_MAX from
31647 being defined by the kernel headers.
31648
f87dfb1f
UD
316492011-05-07 Ulrich Drepper <drepper@gmail.com>
31650
31651 [BZ #12734]
31652 * resolv/resolv.h: Define RES_NOTLDQUERY.
31653 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31654 no-tld-query and set RES_NOTLDQUERY.
31655 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31656 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31657 modern BIND to search name as TLD unless forbidden.
31658
47c3cd7a
UD
316592011-05-07 Petr Baudis <pasky@suse.cz>
31660 Ulrich Drepper <drepper@gmail.com>
31661
31662 [BZ #12393]
31663 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31664 (is_trusted_path): ...to here.
c1e9ea35 31665 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31666 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31667 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31668
8a35c912
PP
316692011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31670
31671 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31672 __BEGIN/__END_DECLS.
31673
acd41f47
UD
316742011-05-06 Ulrich Drepper <drepper@gmail.com>
31675
31676 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31677 NSS_STATUS_NOTFOUND if no record was found.
31678
597df647
AS
316792011-05-05 Andreas Schwab <schwab@redhat.com>
31680
31681 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31682 (headers-not-in-tirpc): Remove rpc/netdb.h
31683 * resolv/netdb.h: Revert last change.
31684
b9af1301
PP
316852011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31686
31687 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31688 circular dependency between libgcc.a and libc.a.
31689
4e34d5f5
AS
316902011-05-05 Andreas Schwab <schwab@redhat.com>
31691
31692 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31693 * nis/Makefile: Don't install rpcsvc/*.
31694 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31695 instead of <rpc/types.h>.
31696 (MAXHOSTNAMELEN): Define.
31697
00ee369c
AS
316982011-05-03 Andreas Schwab <schwab@redhat.com>
31699
31700 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31701
0b592a30
MB
317022011-04-28 Maciej Babinski <mbabinski@google.com>
31703
31704 [BZ #12714]
31705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31706 gethostbyname4_r when IPv6 results are possible.
31707
6e04cbbe
UD
317082011-05-02 Ulrich Drepper <drepper@gmail.com>
31709
31710 [BZ #12723]
31711 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31712 _PC_PIPE_BUF handling.
31713
e4ecafe0
BH
317142011-04-30 Bruno Haible <bruno@clisp.org>
31715
31716 [BZ #12717]
31717 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31718 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31719 to 'int'.
31720 * inet/getnameinfo.c (getnameinfo): Likewise.
31721
125ee683
UD
317222011-04-29 Ulrich Drepper <drepper@gmail.com>
31723
31724 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31725 to groups setting in database lookup.
31726 * nss/nsswitch.conf: Add initgroups entry.
31727
b722481a
EB
317282011-04-22 Ulrich Drepper <drepper@gmail.com>
31729
31730 [BZ #12685]
31731 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31732 mode string.
31733 Patch by Eric Blake <eblake@redhat.com>.
31734
4df46dbd
L
317352011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31736
31737 * sunrpc/Makefile (need-export-routines): Add svc_run.
31738 (routines): Remove svc_run.
31739 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31740 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31741 * sunrpc/svc_run.c (svc_run): Likewise.
31742 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31743
e84142d2
UD
317442011-04-21 Ulrich Drepper <drepper@gmail.com>
31745
31746 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31747 problem in reallocation in last patch.
31748
877175d8
UD
317492011-04-20 Ulrich Drepper <drepper@gmail.com>
31750
31751 * sunrpc/Makefile: Move inclusion of Rules.
31752
ab8eed78
UD
317532011-04-19 Ulrich Drepper <drepper@gmail.com>
31754
31755 * nss/nss_files/files-initgroups.c: New file.
31756 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31757 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31758 _nss_files_initgroups_dyn.
31759
e3d8f584
RS
317602011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31761
31762 * elf/elf.h (R_ARM_IRELATIVE): Define.
31763
af190f45
UD
317642011-04-19 Ulrich Drepper <drepper@gmail.com>
31765
31766 * po/ru.po: Update from translation team.
31767
53cf59ef
UD
317682011-04-17 Ulrich Drepper <drepper@gmail.com>
31769
31770 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31771 dependencies.
31772
4c559bcd
MF
317732011-02-06 Mike Frysinger <vapier@gentoo.org>
31774
31775 [BZ #12653]
31776 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31777 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31778 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31779 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31780 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31781
4420675c
AS
317822011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31783
31784 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31785 differing bytes.
31786 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31787 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31788 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31789
75ea32ab
UD
317902011-04-17 Ulrich Drepper <drepper@gmail.com>
31791
31792 [BZ #12420]
31793 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31794 storing it.
31795 * stdlib/bug-getcontext.c: New file.
31796 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31797
27390476
AK
317982011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31799
31800 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31801 instructions into .machine "z9-109".
31802 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31803 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31804
10442705
AK
318052011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31806
31807 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31808 between environment variables and auxiliary vector.
31809
7b57bfe5
UD
318102011-04-16 Ulrich Drepper <drepper@gmail.com>
31811
31812 * Makefile: Add rules to build linkobj/libc.so.
31813 * include/libc-symbols.h: Define libc_hidden_nolink.
31814 * include/rpc/auth.h: Mark functions which are to be hidden.
31815 * include/rpc/auth_des.h: Likewise.
31816 * include/rpc/auth_unix.h: Likewise.
31817 * include/rpc/clnt.h: Likewise.
31818 * include/rpc/des_crypt.h: Likewise.
31819 * include/rpc/key_prot.h: Likewise.
31820 * include/rpc/pmap_clnt.h: Likewise.
31821 * include/rpc/pmap_prot.h: Likewise.
31822 * include/rpc/pmap_rmt.h: Likewise.
31823 * include/rpc/rpc_msg.h: Likewise.
31824 * include/rpc/svc.h: Likewise.
31825 * include/rpc/svc_auth.h: Likewise.
31826 * include/rpc/xdr.h: Likewise.
31827 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31828 * nss/Makefile: Likewise.
31829 * sunrpc/Makefile: Don't install headers. Build library with normal
31830 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31831 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31832 for the compat linking library. Remove use of INTDEF/INTUSE.
31833 * sunrpc/auth_none.c: Likewise.
31834 * sunrpc/auth_unix.c: Likewise.
31835 * sunrpc/authdes_prot.c: Likewise.
31836 * sunrpc/authuxprot.c: Likewise.
31837 * sunrpc/clnt_gen.c: Likewise.
31838 * sunrpc/clnt_perr.c: Likewise.
31839 * sunrpc/clnt_raw.c: Likewise.
31840 * sunrpc/clnt_simp.c: Likewise.
31841 * sunrpc/clnt_tcp.c: Likewise.
31842 * sunrpc/clnt_udp.c: Likewise.
31843 * sunrpc/clnt_unix.c: Likewise.
31844 * sunrpc/des_crypt.c: Likewise.
31845 * sunrpc/des_soft.c: Likewise.
31846 * sunrpc/get_myaddr.c: Likewise.
31847 * sunrpc/key_call.c: Likewise.
31848 * sunrpc/key_prot.c: Likewise.
31849 * sunrpc/netname.c: Likewise.
31850 * sunrpc/pm_getmaps.c: Likewise.
31851 * sunrpc/pm_getport.c: Likewise.
31852 * sunrpc/pmap_clnt.c: Likewise.
31853 * sunrpc/pmap_prot.c: Likewise.
31854 * sunrpc/pmap_prot2.c: Likewise.
31855 * sunrpc/pmap_rmt.c: Likewise.
31856 * sunrpc/publickey.c: Likewise.
31857 * sunrpc/rpc_cmsg.c: Likewise.
31858 * sunrpc/rpc_common.c: Likewise.
31859 * sunrpc/rpc_dtable.c: Likewise.
31860 * sunrpc/rpc_prot.c: Likewise.
31861 * sunrpc/rpc_thread.c: Likewise.
31862 * sunrpc/rtime.c: Likewise.
31863 * sunrpc/svc.c: Likewise.
31864 * sunrpc/svc_auth.c: Likewise.
31865 * sunrpc/svc_authux.c: Likewise.
31866 * sunrpc/svc_raw.c: Likewise.
31867 * sunrpc/svc_run.c: Likewise.
31868 * sunrpc/svc_simple.c: Likewise.
31869 * sunrpc/svc_tcp.c: Likewise.
31870 * sunrpc/svc_udp.c: Likewise.
31871 * sunrpc/svc_unix.c: Likewise.
31872 * sunrpc/svcauth_des.c: Likewise.
31873 * sunrpc/xcrypt.c: Likewise.
31874 * sunrpc/xdr.c: Likewise.
31875 * sunrpc/xdr_array.c: Likewise.
31876 * sunrpc/xdr_float.c: Likewise.
31877 * sunrpc/xdr_intXX_t.c: Likewise.
31878 * sunrpc/xdr_mem.c: Likewise.
31879 * sunrpc/xdr_rec.c: Likewise.
31880 * sunrpc/xdr_ref.c: Likewise.
31881 * sunrpc/xdr_sizeof.c: Likewise.
31882 * sunrpc/xdr_stdio.c: Likewise.
31883
e6c61494
UD
318842011-04-10 Ulrich Drepper <drepper@gmail.com>
31885
31886 [BZ #12650]
31887 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31888 * sysdeps/ia64/dl-tls.h: Likewise.
31889 * sysdeps/powerpc/dl-tls.h: Likewise.
31890 * sysdeps/s390/dl-tls.h: Likewise.
31891 * sysdeps/sh/dl-tls.h: Likewise.
31892 * sysdeps/sparc/dl-tls.h: Likewise.
31893 * sysdeps/x86_64/dl-tls.h: Likewise.
31894 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31895
34fe483e
AS
318962011-03-14 Andreas Schwab <schwab@redhat.com>
31897
31898 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31899 rpath element also skip the following colon.
31900 (expand_dynamic_string_token): Add is_path parameter and pass
31901 down to DL_DST_REQUIRED and _dl_dst_substitute.
31902 (decompose_rpath): Call expand_dynamic_string_token with
31903 non-zero is_path. Ignore empty rpaths.
31904 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31905 with zero is_path.
31906
f12a32e6
AS
319072011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31908
31909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31910 Make cancelable.
31911
38a7d692
UD
319122011-04-09 Ulrich Drepper <drepper@gmail.com>
31913
31914 [BZ #12655]
31915 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31916 Patch by Filipe David Manana <fdmanana@apache.org>.
31917
e451d22b
AS
319182011-04-07 Andreas Schwab <schwab@redhat.com>
31919
31920 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31921 Maintain aligned stack.
31922 (CHECK_RSP): Remove unused macro.
31923
dedc7c7b
UD
319242011-04-03 Ulrich Drepper <drepper@gmail.com>
31925
31926 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31927 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31928
94521213
UD
319292011-04-02 Ulrich Drepper <drepper@gmail.com>
31930
31931 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31932
8cb700c0 31933 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31934
0354e355
L
319352011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31936
31937 [BZ #12518]
31938 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31939 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31940 * sysdeps/x86_64/memmove.c: New file.
31941 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31942 (memcpy): Renamed to ...
31943 (__new_memcpy): This.
31944 (memcpy): Provide GLIBC_2_14 memcpy.
31945 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31946 (memcpy): Provide GLIBC_2_2_5 memcpy.
31947
8593482f
UD
319482011-04-01 Ulrich Drepper <drepper@gmail.com>
31949
31950 [BZ #12631]
31951 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31952
81a5726b
AS
319532011-03-30 Andreas Schwab <schwab@redhat.com>
31954
31955 * misc/syncfs.c: New file.
31956 * misc/Makefile (routines): Add syncfs.
31957 * posix/unistd.h: Declare syncfs.
31958 * sysdeps/unix/syscalls.list: Add syncfs.
31959
00e5419f
AS
319602011-04-01 Andreas Schwab <schwab@redhat.com>
31961
31962 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31963 open_by_handle_at.
31964 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31965 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31966 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31967 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31969 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31970 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31971
748876bf
UD
319722011-04-01 Ulrich Drepper <drepper@gmail.com>
31973
658e451d
UD
31974 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31975 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31976 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31978 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31979 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31980 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31981
748876bf
UD
31982 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31983 sync_file_range.c with -fexceptions.
31984 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31985 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31986 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31987 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31988 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31989 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31991 sync_file_range as cancellation point
31992 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31993 now a wrapper around __call_sync_file_range with cancellation handling.
31994 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31995 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31996 function name to __call_sync_file_range.
31997 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31998 Add call_sync_file_range.
748876bf 31999
6e63d5e1
AS
320002011-04-01 Andreas Schwab <schwab@redhat.com>
32001
32002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 32003 bits/timex.h.
6e63d5e1 32004
46998f74
UD
320052011-04-01 Ulrich Drepper <drepper@gmail.com>
32006
4c1423ed
UD
32007 * iconv/iconv.h: Fix typo in comment.
32008 * io/fcntl.h: Likewise.
32009 * libio/stdio.h: Likewise.
32010 * posix/spawn.h: Likewise.
32011 * posix/unistd.h: Likewise.
32012 * stdlib/stdlib.h: Likewise.
32013 * time/time.h: Likewise.
32014 * wcsmbs/wchar.h: Likewise.
32015
158648c0
UD
32016 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32017 open_by_handle): Add.
32018 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32019 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32020 Augment a few comments.
32021 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32022 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32023 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32025 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32026 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32027 open_by_handle.
32028
46998f74
UD
32029 * io/fcntl.h (AT_EMPTY_PATH): Define.
32030
83fe108b
UD
320312011-03-30 Ulrich Drepper <drepper@gmail.com>
32032
32033 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32034 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32035 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32036 to...
32037 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
32038 * Versions.def: Add GLIBC_2.14.
32039 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32040 Export.
83fe108b 32041
bb242059
UD
320422011-03-22 Ulrich Drepper <drepper@gmail.com>
32043
32044 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32045 round counter.
32046 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32047
c97a1282
L
320482011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32049
32050 [BZ #12597]
32051 * string/test-strncmp.c (do_page_test): New function.
32052 (check2): Likewise.
32053 (test_main): Call check2.
32054 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32055
2a115601
UD
320562011-03-20 Ulrich Drepper <drepper@gmail.com>
32057
32058 [BZ #12587]
32059 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32060 Handle cache information in CPU leaf 4.
32061 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32062
8126d904
UD
320632011-03-18 Ulrich Drepper <drepper@gmail.com>
32064
042c49c6 32065 [BZ #12583]
8126d904
UD
32066 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32067 character representation.
32068 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32069
ccfe366e
RA
320702011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32071
32072 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32073 END(__isnan) to END(__isnanf) to match function entry point/label
32074 EALIGN(__isnanf,...).
32075
c6e13027
JJ
320762011-03-10 Jakub Jelinek <jakub@redhat.com>
32077
32078 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32079
33f85a3f
UD
320802011-03-10 Ulrich Drepper <drepper@gmail.com>
32081
028478fa
UD
32082 [BZ #12510]
32083 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32084 copy from the symbol referenced in the relocation to initialize the
32085 used variable.
32086 Patch by Piotr Bury <pbury@goahead.com>.
32087 * elf/Makefile: Add rules to build and tst-unique3.
32088 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32089 * elf/tst-unique3.cc: New file.
32090 * elf/tst-unique3.h: New file.
32091 * elf/tst-unique3lib.cc: New file.
32092 * elf/tst-unique3lib2.cc: New file.
32093
33f85a3f
UD
32094 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32095
03592fc7
MF
320962011-03-10 Mike Frysinger <vapier@gentoo.org>
32097
32098 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32099 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32100 to _start.
03592fc7 32101
6a5ee102
UD
321022011-03-06 Ulrich Drepper <drepper@gmail.com>
32103
32104 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32105 to-be-loaded object along a path to loader is ld.so.
32106
7e4ba49c
HJ
321072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32108 Ulrich Drepper <drepper@gmail.com>
32109
32110 * sysdeps/x86_64/memset.S: After aligning destination, code
32111 branches to different locations depending on the value of
32112 misalignment, when multiarch is enabled. Fix this.
32113
321142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32115
32116 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32117 Set _x86_64_preferred_memory_instruction for AMD processsors.
32118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32119 Set bit_Prefer_SSE_for_memop for AMD processors.
32120
13a804de
UD
321212011-03-04 Ulrich Drepper <drepper@gmail.com>
32122
32123 * libio/fmemopen.c (fmemopen): Optimize a bit.
32124
9d25c392
AS
321252011-03-03 Andreas Schwab <schwab@redhat.com>
32126
32127 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32128
a5543c6a
RM
321292011-03-03 Roland McGrath <roland@redhat.com>
32130
32131 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32132
012d35f7
DM
321332011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32134
7e4ba49c 32135 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
32136 __bzero_ultra1 instead of __memset_ultra1.
32137
4bff6e01
AS
321382011-02-23 Andreas Schwab <schwab@redhat.com>
32139 Ulrich Drepper <drepper@gmail.com>
32140
32141 [BZ #12509]
32142 * include/link.h (struct link_map): Add l_orig_initfini.
32143 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32144 returning unsuccessfully.
32145 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32146 close of a file loaded at startup, restore the original l_initfini
32147 list.
32148 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32149 list, store the pointer.
32150 * elf/Makefile ($(objpfx)noload-mem): New rule.
32151 (noload-ENV): Define.
32152 (tests): Add $(objpfx)noload-mem.
32153 * elf/noload.c: Include <memcheck.h>.
32154 (main): Call mtrace. Close all opened handles.
32155
f2092faf
AS
321562011-02-17 Andreas Schwab <schwab@redhat.com>
32157
32158 [BZ #12454]
32159 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32160 dependencies are missing.
32161
6c8a2e88
ST
321622011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32163
f2092faf 32164 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
32165 Hurd needs munmap.
32166 * sysdeps/mach/hurd/ifreq.h: New file.
32167
84a42118
PB
321682011-01-27 Petr Baudis <pasky@suse.cz>
32169 Ulrich Drepper <drepper@gmail.com>
32170
071f805e 32171 [BZ 12445]#
84a42118
PB
32172 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32173 to extend_alloca().
32174 * stdio-common/bug23.c: New file.
32175 * stdio-common/Makefile (tests): Add bug23.
32176
e23fe25b
AS
321772010-09-28 Andreas Schwab <schwab@redhat.com>
32178 Ulrich Drepper <drepper@gmail.com>
32179
32180 [BZ #12489]
32181 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32182 before performing relro protection. At old place add assertion
32183 to make sure nothing changed.
32184
d3f02e10
NS
321852011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32186 Glauber de Oliveira Costa <glommer@gmail.com>
32187
32188 * elf/elf.h: Add new ARM TLS relocs.
32189
d55fd7a5
RA
321902011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32191
32192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32193 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32194 cast from r3.
32195 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32196 'tests' variable.
32197 * sysdeps/wordsize-64/tst-writev.c: New file.
32198
2206397e
RA
321992011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32200
32201 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32202 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32203 insns in _dl_start to prevent a TOC reference before relocs are
32204 resolved.
32205
e9433893
UD
322062011-02-15 Ulrich Drepper <drepper@gmail.com>
32207
32208 [BZ #12469]
32209 * Makeconfig: Remove RANLIB definition.
32210 * Makerules: Don't use RANLIB.
32211 * aclocal.m4: Remove ranlib test.
32212 * configure.in: No need to check for ranlib.
32213 * elf/rtld-Rules: Don't use RANLIB.
32214
f75286c6
ST
322152011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32216
8e31c82d
ST
32217 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32218 protection macro.
32219 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32220 inclusion protection macro.
32221
f75286c6
ST
32222 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32223 SIGRTMIN and SIGRTMAX and print information in that case only when
32224 SIGRTMIN is defined.
32225
c1d0e639
JJ
322262011-02-11 Jakub Jelinek <jakub@redhat.com>
32227
32228 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32229 arginfo fn returning -1.
32230
32231 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32232 and thousands string is zero terminated.
32233
edf9294e
AS
322342011-02-03 Andreas Schwab <schwab@redhat.com>
32235
32236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32237 sysdeps/unix/sysv/linux/bits/socket.h.
32238
2b7e92df
ST
322392011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32240
edf9294e
AS
32241 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32242 (__CPU_COUNT): Remove old macros.
32243 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32244 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32245 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
32246 (__sched_cpualloc, __sched_cpufree): Add declarations.
32247
a4c7ea7b
UD
322482011-02-05 Ulrich Drepper <drepper@gmail.com>
32249
32250 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32251 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32252 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32253 (readdhstai): Return value of addhstaiX call.
32254 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32255 (addgrbyX): Return value returned by cache_addgr.
32256 (readdgrbyname): Return value returned by addgrbyX.
32257 (readdgrbygid): Likewise.
32258 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32259 (addpwbyX): Return value returned by cache_addpw.
32260 (readdpwbyname): Return value returned by addhstbyX.
32261 (readdpwbyuid): Likewise.
32262 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32263 (addservbyX): Return value returned by cache_addserv.
32264 (readdservbyname): Return value returned by addservbyX:
32265 (readdservbyport): Likewise.
32266 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32267 (addhstbyX): Return value returned by cache_addhst.
32268 (readdhstbyname): Return value returned by addhstbyX.
32269 (readdhstbyaddr): Likewise.
32270 (readdhstbynamev6): Likewise.
32271 (readdhstbyaddrv6): Likewise.
32272 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32273 (readdinitgroups): Return value returned by addinitgroupsX.
32274 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32275 (prune_cache): Keep track of timeout value of re-added entries.
32276 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32277 * nscd/nscd.h: Adjust prototypes of readd* functions.
32278
a0bf67cc
RM
322792011-02-04 Roland McGrath <roland@redhat.com>
32280
32281 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32282 (nis_stats): Likewise.
32283 * nis/nis_modify.c (nis_modify): Likewise.
32284 * nis/nis_remove.c (nis_remove): Likewise.
32285 * nis/nis_add.c (nis_add): Likewise.
32286
32287 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32288
32289 * posix/fnmatch_loop.c: Add some consts.
32290
32291 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32292
435b95eb
L
322932011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32294
32295 [BZ #12460]
32296 * config.make.in (config-cflags-novzeroupper): Define.
32297 * configure.in: Substitute libc_cv_cc_novzeroupper.
32298 * elf/Makefile (AVX-CFLAGS): Define.
32299 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32300 (CFLAGS-tst-auditmod4a.c): Likewise.
32301 (CFLAGS-tst-auditmod4b.c): Likewise.
32302 (CFLAGS-tst-auditmod6b.c): Likewise.
32303 (CFLAGS-tst-auditmod6c.c): Likewise.
32304 (CFLAGS-tst-auditmod7b.c): Likewise.
32305 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32306
8517b15e
UD
323072011-02-02 Ulrich Drepper <drepper@gmail.com>
32308
32309 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32310 function to the callback.
32311 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32312
10a656fe
AS
323132011-02-02 Andreas Schwab <schwab@redhat.com>
32314
32315 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32316 of errno.
32317
968dad0a
UD
323182011-01-19 Ulrich Drepper <drepper@gmail.com>
32319
9f94d2ea 32320 [BZ #11724]
968dad0a
UD
32321 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32322 of constructors.
32323 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32324 of destructors.
32325 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32326
32327 [BZ #11724]
32328 * elf/Makefile: Add rules to build and run new test.
32329 * elf/tst-initorder.c: New file.
32330 * elf/tst-initorder.exp: New file.
32331 * elf/tst-initordera1.c: New file.
32332 * elf/tst-initordera2.c: New file.
32333 * elf/tst-initordera3.c: New file.
32334 * elf/tst-initordera4.c: New file.
32335 * elf/tst-initorderb1.c: New file.
32336 * elf/tst-initorderb2.c: New file.
32337 * elf/tst-order-a1.c: New file.
32338 * elf/tst-order-a2.c: New file.
32339 * elf/tst-order-a3.c: New file.
32340 * elf/tst-order-a4.c: New file.
32341 * elf/tst-order-b1.c: New file.
32342 * elf/tst-order-b2.c: New file.
32343 * elf/tst-order-main.c: New file.
32344 New test case by George Gensure <werkt0@gmail.com>.
32345
86e92359
UD
323462010-10-01 Andreas Schwab <schwab@redhat.com>
32347
32348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32349 decoding ACE if AI_CANONIDN.
32350
5d5732b0
UD
323512011-01-18 Ulrich Drepper <drepper@gmail.com>
32352
32353 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32354
a77e8cbc
UD
323552011-01-17 Ulrich Drepper <drepper@gmail.com>
32356
6392473f
UD
32357 * version.h (RELEASE): Bump for 2.13 release.
32358 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32359
620a0529
UD
32360 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32361
18ba70a5
UD
32362 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32363 MADV_NOHUGEPAGE.
32465c3e
UD
32364 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32365 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32366 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32367 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32368 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32369 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32370
c0dafcf1
UD
32371 * posix/getconf.c: Update copyright year.
32372 * catgets/gencat.c: Likewise.
32373 * csu/version.c: Likewise.
32374 * debug/catchsegv.sh: Likewise.
32375 * debug/xtrace.sh: Likewise.
32376 * elf/ldconfig.c: Likewise.
32377 * elf/ldd.bash.in: Likewise.
32378 * elf/sprof.c (print_version): Likewise.
32379 * iconv/iconv_prog.c: Likewise.
32380 * iconv/iconvconfig.c: Likewise.
32381 * locale/programs/locale.c: Likewise.
32382 * locale/programs/localedef.c: Likewise.
32383 * malloc/memusage.sh: Likewise.
32384 * malloc/mtrace.pl: Likewise.
32385 * nscd/nscd.c (print_version): Likewise.
32386 * nss/getent.c: Likewise.
32387
a77e8cbc
UD
32388 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32389 PF_CAIF, and PF_ALG.
32390 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32391
77e8bddf
AS
323922011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32393
1f20b93a
AS
32394 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32395 (modules-names): Use them.
32396 (ifunc-test-modules, ifunc-pie-tests): Define.
32397 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32398 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32399 (test-extras): Likewise.
32400 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32401 $(compile-command.c).
32402 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32403 (all-built-dso): Define.
32404 (check-textrel.out, check-execstack.out): Depend on it.
32405
77e8bddf
AS
32406 * configure.in: Don't override --enable-multi-arch.
32407
bc425b33
UD
324082011-01-15 Ulrich Drepper <drepper@gmail.com>
32409
32410 [BZ #6812]
32411 * nscd/hstcache.c (tryagain): Define.
32412 (cache_addhst): Return tryagain not notfound for temporary errors.
32413 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32414 failed.
32415
794c3ad3
UD
324162011-01-14 Ulrich Drepper <drepper@gmail.com>
32417
70181fdd
UD
32418 [BZ #10563]
32419 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32420 to make the syscall.
32421 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32422
794c3ad3
UD
32423 [BZ #12378]
32424 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32425 and fall back to matching as normal character if the string ends before
32426 the matching ']' is found. This is what POSIX requires.
32427 * posix/testfnm.c: Adjust test result.
32428 * posix/globtest.sh: Adjust test result. Add new test.
32429 * posix/tst-fnmatch.input: Likewise.
32430 * posix/tst-fnmatch2.c: Add new test.
32431
68dc9497
AS
324322010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32433
32434 * elf/Makefile (check-execstack): Revert last change. Depend on
32435 check-execstack.h.
32436 (check-execstack.h): New target.
32437 (generated): Add check-execstack.h.
32438 * elf/check-execstack.c: Include "check-execstack.h".
32439 (main): Revert last change.
32440 (handle_file): Return zero if GNU_STACK is absent and
32441 DEFAULT_STACK_PERMS doesn't include PF_X.
32442
451f001b
UD
324432011-01-13 Ulrich Drepper <drepper@gmail.com>
32444
cfa28e56
UD
32445 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32446 in child fails because the descriptor is already closed.
8cf8ce17
UD
32447 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32448 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32449 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32450
1086d70d
UD
32451 [BZ #12397]
32452 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32453 syscall.
32454
451f001b
UD
32455 [BZ #10484]
32456 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32457 temporary buffer used to handle multi lookups locally.
a85b5cb4 32458 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32459
08769175
UD
324602011-01-12 Ulrich Drepper <drepper@gmail.com>
32461
32462 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32463 loader is ld.so.
32464
5e49c52e
UD
324652011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32466
32467 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32468 alignment for SSE2.
32469
60522a5f
UD
324702011-01-12 Ulrich Drepper <drepper@gmail.com>
32471
32472 [BZ #12394]
32473 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32474 characters. When rounding increased number of integer digits recompute
32475 number of groups.
32476 * stdio-common/tst-grouping.c: New file.
32477 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32478
f257bbd7
UD
324792011-01-09 Ulrich Drepper <drepper@gmail.com>
32480
32481 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32482 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32483
32484 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32485 void.
32486 * bits/select.h: Likewise.
32487
fa9c15cb
UD
324882011-01-08 Ulrich Drepper <drepper@gmail.com>
32489
32490 * po/ja.po: Update from translation team.
32491
16c2895f
DM
324922011-01-04 David S. Miller <davem@sunset.davemloft.net>
32493
32494 [BZ #11155]
32495 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32496 implementation just like for lxstat, fxstatat, et al.
32497
2543fef2
JM
324982010-12-27 Jim Meyering <meyering@redhat.com>
32499
32500 [BZ #12348]
32501 * posix/regexec.c (build_trtable): Return failure indication upon
32502 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32503
98727dbe
UD
325042010-12-25 Ulrich Drepper <drepper@gmail.com>
32505
5bd6dc5c
UD
32506 [BZ #12201]
32507 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32508 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32509 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32511
97983464
UD
32512 [BZ #12207]
32513 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32514
98727dbe
UD
32515 [BZ #12204]
32516 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32517 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32518
4a531bb0
L
325192010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32520
32521 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32522 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32523 script has SORT_BY_INIT_PRIORITY.
32524 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32525 NO_CTORS_DTORS_SECTIONS is defined.
32526 * elf/soinit.c: Likewise.
32527 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32528 NO_CTORS_DTORS_SECTIONS is defined.
32529 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32530 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32531 * sysdeps/sh/init-first.c: Likewise.
32532 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32533
07eb4b71
UD
325342010-12-24 Ulrich Drepper <drepper@gmail.com>
32535
32536 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32537 always use the slow path.
32538
30950a5f
RA
325392010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32540
32541 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32542 similar rule which adds the sysdep directories to the header search in
32543 order to pick up the correct platform stackinfo.h.
32544 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32545 perform test if it is, otherwise return successfully without testing.
32546 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32547 DEFAULT_STACK_PERMS define in stackinfo.h.
32548 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32549 defined in stackinfo.h.
32550 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32551 DEFAULT_STACK_PERMS defined in stackinfo.h.
32552 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32553 * sysdeps/ia64/stackinfo.h: Likewise.
32554 * sysdeps/s390/stackinfo.h: Likewise.
32555 * sysdeps/sh/stackinfo.h: Likewise.
32556 * sysdeps/sparc/stackinfo.h: Likewise.
32557 * sysdeps/x86_64/stackinfo.h: Likewise.
32558 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32559 PF_X for powerpc64. Retain PF_X for powerpc32.
32560
db753e2c
UD
325612010-12-19 Ulrich Drepper <drepper@gmail.com>
32562
14b697f7
UD
32563 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32564 accurately.
db753e2c
UD
32565 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32566 GETDENTS_64BIT_ALIGNED.
32567
28300719
UD
325682010-12-14 Ulrich Drepper <dreper@gmail.com>
32569
14b697f7 32570 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32571
4f197237
AS
325722010-12-10 Andreas Schwab <schwab@redhat.com>
32573
dbb0472f
AS
32574 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32575 _GNU_SOURCE.
32576
4f197237
AS
32577 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32578 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32579 Remove __restrict.
32580 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32581 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32582
fb88ac72
UD
325832010-12-09 Ulrich Drepper <drepper@gmail.com>
32584
32585 [BZ #11655]
32586 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32587 are initialized.
32588
42acbb92
JJ
325892010-12-09 Jakub Jelinek <jakub@redhat.com>
32590
32591 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32592
c038d98d
UD
325932010-12-03 Ulrich Drepper <drepper@gmail.com>
32594
32595 * po/it.po: Update from translation team.
32596
3a4a2499
L
325972010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32598
32599 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32600 unused codes.
32601
1e24cf6e
UD
326022010-11-30 Ulrich Drepper <drepper@gmail.com>
32603
32604 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32605
a7690819
AS
326062010-11-24 Andreas Schwab <schwab@redhat.com>
32607
32608 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32609 specially.
32610 (gaih_getanswer_slice): Likewise.
32611
3bf8d1b1
JJ
326122010-10-20 Jakub Jelinek <jakub@redhat.com>
32613
32614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32615
6db52fbb
PB
326162010-05-31 Petr Baudis <pasky@suse.cz>
32617
32618 [BZ #11149]
32619 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32620 silently even in the chroot mode.
32621
eaca7569
UD
326222010-11-22 Ulrich Drepper <drepper@gmail.com>
32623
32624 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32625 last patch a bit. Pretty printing
32626
3056dcdb
UD
326272010-05-31 Petr Baudis <pasky@suse.cz>
32628
32629 [BZ #10085]
32630 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32631 initialization of skip_initgroups_dyn.
32632
cf7c9078
UD
326332010-11-19 Ulrich Drepper <drepper@gmail.com>
32634
32635 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32636 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32637
a1fb5e3e
UD
326382010-11-16 Ulrich Drepper <drepper@gmail.com>
32639
32640 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32641
3540d66b
AS
326422010-11-11 Andreas Schwab <schwab@redhat.com>
32643
32644 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32645 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32646 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32647 ($(objpfx)tst-fnmatch-mem): New rule.
32648 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32649 * posix/tst-fnmatch.c (main): Call mtrace.
32650
13b69574
L
326512010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32652
32653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32654 Support Intel processor model 6 and model 0x2c.
32655
da93d214
LM
326562010-11-10 Luis Machado <luisgpm@br.ibm.com>
32657
32658 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32659 signed comparison.
32660
8ca52c6e
L
326612010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32662
32663 [BZ #12205]
32664 * string/test-strncasecmp.c (check_result): New function.
32665 (do_one_test): Use it.
32666 (check1): New function.
32667 (test_main): Use it.
32668 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32669 Support strcasecmp and strncasecmp.
32670
69da074d
UD
326712010-11-08 Ulrich Drepper <drepper@gmail.com>
32672
32673 [BZ #12194]
32674 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32675 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32676
ff02d528
L
326772010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32678
32679 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32680 IFUNC support.
32681 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32682 memset-x86-64.
32683 * sysdeps/x86_64/multiarch/bzero.S: New file.
32684 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32685 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32686 * sysdeps/x86_64/multiarch/memset.S: New file.
32687 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32689 Set bit_Prefer_SSE_for_memop for Intel processors.
32690 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32691 Define.
32692 (index_Prefer_SSE_for_memop): Define.
32693 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32694
344d0b54
LM
326952010-11-04 Luis Machado <luisgpm@br.ibm.com>
32696
32697 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32698 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32699
c0dde15b
UD
327002010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32701
32702 [BZ #12191]
32703 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32704 (__x86_64_raw_data_cache_size_half): Likewise.
32705 (__x86_64_raw_shared_cache_size): Likewise.
32706 (__x86_64_raw_shared_cache_size_half): Likewise.
32707
32708 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32709 (__x86_64_raw_data_cache_size_half): Likewise.
32710 (__x86_64_raw_shared_cache_size): Likewise.
32711 (__x86_64_raw_shared_cache_size_half): Likewise.
32712 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32713 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32714 and __x86_64_raw_shared_cache_size_half. Round
32715 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32716 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32717 to multiple of 256 bytes.
32718
0e516e0e
MS
327192010-11-03 Ulrich Drepper <drepper@gmail.com>
32720
32721 [BZ #12167]
32722 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32723 of inacessible symlinks. Verify result of symlink before returning it.
32724 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32725 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32726
0e012e87
ER
327272010-10-28 Erich Ritz <erichritz@gmail.com>
32728
32729 * math/math.h (isinf): Fix typo in comment.
32730
de0ff7bc
UD
327312010-11-01 Ulrich Drepper <drepper@gmail.com>
32732
32733 * po/da.po: Update from translation team.
32734
fa41c84d
UD
327352010-10-26 Ulrich Drepper <drepper@gmail.com>
32736
32737 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32738 is added to the list.
32739
f0967738
AK
327402010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32741 Ulrich Drepper <drepper@gmail.com>
32742
32743 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32744 the global list here. Move code to...
32745 (_dl_add_to_namespace_list): ...here. New function.
32746 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32747 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32748 * elf/dl-load.c (lose): Don't remove the element from the list.
32749 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32750 (_dl_map_object): Likewise.
32751
327522010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32753
32754 [BZ #12159]
32755 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32756 into all bytes of SSE register.
32757 Patch by Richard Li <richardpku@gmail.com>.
32758
f0967738 327592010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32760
32761 [BZ #12140]
32762 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32763 perturbing.
32764
d0b9e94f
MB
327652010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32766
32767 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32768 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32769 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32770 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32772 submachine.
32773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32774
8e9f92e9
AS
327752010-10-22 Andreas Schwab <schwab@redhat.com>
32776
32777 * include/dlfcn.h (__RTLD_SECURE): Define.
32778 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32779 mode & __RTLD_SECURE instead.
32780 (open_path): Rename preloaded parameter to secure.
32781 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32782 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32783 * elf/dl-deps.c (openaux): Likewise.
32784 * elf/rtld.c (struct map_args): Remove is_preloaded.
32785 (map_doit): Don't use it.
32786 (dl_main): Likewise.
32787 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32788 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32789
bc96fbda
AS
327902010-09-09 Andreas Schwab <schwab@redhat.com>
32791
32792 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32793 (sysd-rules-targets): Remove duplicates.
32794 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32795 rtld-%.$o dependency.
32796
22cd1c9b
AS
327972010-10-18 Andreas Schwab <schwab@redhat.com>
32798
32799 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32800 _dl_map_object do it.
32801
18edac48
UD
328022010-10-19 Ulrich Drepper <drepper@gmail.com>
32803
32804 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32805 fast fma builtins, define the macros in the C99 standard.
32806 (FP_FAST_FMAF): Likewise.
32807 (FP_FAST_FMAL): Likewise.
32808 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32809
32810 * bits/mathdef.h: Update copyright year.
32811 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32812
d2050124
MM
328132010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32814
32815 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32816 builtins, define the macros in the C99 standard.
32817 (FP_FAST_FMAF): Likewise.
32818 (FP_FAST_FMAL): Likewise.
32819 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32820 multiply/add.
32821 (FP_FAST_FMAF): Likewise.
32822
475facd1
JJ
328232010-10-15 Jakub Jelinek <jakub@redhat.com>
32824
32825 [BZ #3268]
32826 * math/libm-test.inc (fma_test): Some new testcases.
32827 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32828 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32829 y and infinite z. Do multiplication by C already in long double.
32830 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32832 y and infinite z. Do bitwise or of inexact bit into u.d.
32833 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32834 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32835 * sysdeps/i386/fpu/s_fma.S: Removed.
32836 * sysdeps/i386/fpu/s_fmal.S: Removed.
32837
7c08a05c
JJ
328382010-10-16 Jakub Jelinek <jakub@redhat.com>
32839
32840 [BZ #3268]
32841 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32843 computation is not scheduled after fetestexcept. Fix value
32844 of minimum denormal long double.
32845
f3f7372d
JJ
328462010-10-14 Jakub Jelinek <jakub@redhat.com>
32847
32848 [BZ #3268]
32849 * math/libm-test.inc (fma_test): Add some more tests.
32850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32851 correctly.
32852
14d43591
AS
328532010-10-15 Andreas Schwab <schwab@redhat.com>
32854
32855 * scripts/data/localplt-s390-linux-gnu.data: New file.
32856 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32857
5e908464
JJ
328582010-10-13 Jakub Jelinek <jakub@redhat.com>
32859
32860 [BZ #3268]
32861 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32862 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32863 instead of dbl-64.
32864 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32865 inlines.
32866 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32868 if one of x and y is very large and the other is subnormal.
32869 * sysdeps/s390/fpu/s_fmaf.c: New file.
32870 * sysdeps/s390/fpu/s_fma.c: New file.
32871 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32872 * sysdeps/powerpc/fpu/s_fma.S: New file.
32873 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32874 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32875 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32876
328772010-10-12 Jakub Jelinek <jakub@redhat.com>
32878
32879 [BZ #3268]
32880 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32881 fma tests.
32882 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32883 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32884 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32885 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32886 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32887 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32888 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32889
b833d51f
UD
328902010-10-12 Ulrich Drepper <drepper@redhat.com>
32891
32892 [BZ #12078]
32893 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32894 * posix/bug-regex31.input: Add test case.
32895
1751705d
UD
328962010-10-11 Ulrich Drepper <drepper@gmail.com>
32897
e9b9cbf5
UD
32898 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32899 * posix/bug-regex31.input: New file.
32900
32901 [BZ #12078]
32902 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32903 (parse_sub_exp): Fix last change, use postorder.
32904
ef06edbe
UD
32905 * posix/bug-regex31.c: New file.
32906 * posix/Makefile: Add rules to build and run bug-regex31.
32907
a129c80d
UD
32908 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32909
32910 [BZ #12078]
32911 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32912
b76b818e
UD
32913 [BZ #12108]
32914 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32915 to have entries in sys_siglist.
32916
1751705d
UD
32917 [BZ #12093]
32918 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32919 be NULL.
32920
9ff8d36f
JJ
329212010-10-07 Jakub Jelinek <jakub@redhat.com>
32922
32923 [BZ #3268]
32924 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32925 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32926 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32927 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32928 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32929 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32930 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32931 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32932 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32933 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32934 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32935 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32936 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32937 * math/ftestexcept.c (fetestexcept): Likewise.
32938 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32939 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32940 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32941 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32942 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32943 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32944 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32945
af325969
UD
329462010-10-11 Ulrich Drepper <drepper@gmail.com>
32947
c579b202 32948 [BZ #12107]
af325969
UD
32949 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32950 newline.
32951
67a67b95
UD
329522010-10-06 Ulrich Drepper <drepper@gmail.com>
32953
32954 * string/bug-strstr1.c: New file.
32955 * string/Makefile: Add rules to build and run bug-strstr1.
32956
5fb308bc
EB
329572010-10-05 Eric Blake <eblake@redhat.com>
32958
32959 [BZ #12092]
32960 * string/str-two-way.h (two_way_long_needle): Always clear memory
32961 when skipping input due to the shift table.
32962
45db99c7
UD
329632010-10-03 Ulrich Drepper <drepper@gmail.com>
32964
3b111893
UD
32965 [BZ #12005]
32966 * malloc/mcheck.c: Handle large requests.
32967
45db99c7
UD
32968 [BZ #12077]
32969 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32970 for strncmp and strncasecmp.
32971 * string/stratcliff.c: Add tests for strcmp and strncmp.
32972 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32973
cf7a1eb8
NI
329742010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32975
32976 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32977 __set_fpscr.
32978
6484ba5e
AJ
329792010-09-30 Andreas Jaeger <aj@suse.de>
32980
32981 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32982 (CGROUP_SUPER_MAGIC): Define.
32983 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32984 Handle btrfs and cgroup file systems.
32985 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32986 Likewise.
32987
91c42559
LM
329882010-09-27 Luis Machado <luisgpm@br.ibm.com>
32989
32990 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32991 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32992
87a97932
AK
329932010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32994
32995 [BZ #12067]
32996 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32997 trying to locate the ELF header.
32998
c21cc9bc
AS
329992010-09-27 Andreas Schwab <schwab@redhat.com>
33000
33001 [BZ #11611]
33002 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33003 Mask out sign-bit copies when constructing f_fsid.
33004
315970f6
PB
330052010-09-24 Petr Baudis <pasky@suse.cz>
33006
33007 * debug/stack_chk_fail_local.c: Add missing licence exception.
33008 * debug/warning-nop.c: Likewise.
33009
1ac7a2c7
JM
330102010-09-15 Joseph Myers <joseph@codesourcery.com>
33011
33012 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33013 implementing getdents64 using getdents syscall, set d_type if
33014 __ASSUME_GETDENTS32_D_TYPE.
33015
56801c50
AS
330162010-09-16 Andreas Schwab <schwab@redhat.com>
33017
33018 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33019 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33020
dda51327
UD
330212010-09-21 Ulrich Drepper <drepper@redhat.com>
33022
33023 [BZ #12037]
33024 * posix/unistd.h: Undo change of feature selection for ftruncate from
33025 2010-01-11.
33026
8ffcee4a
UD
330272010-09-20 Ulrich Drepper <drepper@redhat.com>
33028
a545ecd9 33029 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
33030 detection.
33031
e24f0a8b
AS
330322010-09-20 Andreas Schwab <schwab@redhat.com>
33033
33034 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33035 fanotify_mark.
33036 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33037
7291c56f
AS
330382010-09-14 Andreas Schwab <schwab@redhat.com>
33039
33040 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33041 variables after CHECK_SP call.
33042 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33043
bc5fb037
AS
330442010-09-13 Andreas Schwab <schwab@redhat.com>
33045 Ulrich Drepper <drepper@redhat.com>
33046
33047 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33048 re-relocationg ld.so.
33049 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33050 _dl_init_paths call.
33051 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33052 here anymore.
33053
e66e7419
UD
330542010-09-14 Ulrich Drepper <drepper@redhat.com>
33055
33056 * resolv/res_init.c (__res_vinit): Count the default server we added.
33057
c044aa75
CLT
330582010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33059 Ulrich Drepper <drepper@redhat.com>
33060
33061 [BZ #11968]
33062 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33063 (____longjmp_chk): Use %ebx for saving value across system call.
33064 Add unwind info.
33065
32cf4069
AS
330662010-09-06 Andreas Schwab <schwab@redhat.com>
33067
33068 * manual/Makefile: Don't mix pattern rules with normal rules.
33069
817328ee
AS
330702010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33071
33072 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33073 operation.
33074 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33075 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33076 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33077 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33078 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33079 Likewise.
33080
29fddf61
UD
330812010-09-04 Ulrich Drepper <drepper@redhat.com>
33082
33083 [BZ #11979]
33084 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33085 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33086
0959ffc9
UD
330872010-09-02 Ulrich Drepper <drepper@redhat.com>
33088
33089 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33090 * sysdeps/x86_64/addmul_1.S: Likewise.
33091 * sysdeps/x86_64/lshift.S: Likewise.
33092 * sysdeps/x86_64/mul_1.S: Likewise.
33093 * sysdeps/x86_64/rshift.S: Likewise.
33094 * sysdeps/x86_64/sub_n.S: Likewise.
33095 * sysdeps/x86_64/submul_1.S: Likewise.
33096
ece29840
ST
330972010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33098
0959ffc9
UD
33099 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33100 Define __sched_param instead of SCHED_* and sched_param when
ece29840 33101 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 33102 * bits/sched.h [__need_schedparam]
ece29840 33103 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
33104 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33105 (__defined_schedparam): Define to 1.
ece29840
ST
33106 (__sched_param): New structure, identical to sched_param.
33107 (__need_schedparam): Undefine.
33108
e53a31fe
MF
331092010-08-31 Mike Frysinger <vapier@gentoo.org>
33110
fdc0c10d
MF
33111 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33112 (epoll_create1): Declare.
33113
e53a31fe
MF
33114 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33115
a726d796
AS
331162010-08-31 Andreas Schwab <schwab@redhat.com>
33117
33118 [BZ #7066]
33119 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33120 shifting retval into place.
33121
2f3e3dc7
UD
331222010-09-01 Ulrich Drepper <drepper@redhat.com>
33123
f2933da9
UD
33124 * nis/rpcsvc/nis.h: Update copyright notice.
33125 * nis/rpcsvc/nis.x: Likewise.
33126 * nis/rpcsvc/nis_callback.h: Likewise.
33127 * nis/rpcsvc/nis_callback.x: Likewise.
33128 * nis/rpcsvc/nis_object.x: Likewise.
33129 * nis/rpcsvc/nis_tags.h: Likewise.
33130 * nis/rpcsvc/yp.h: Likewise.
33131 * nis/rpcsvc/yp.x: Likewise.
33132 * nis/rpcsvc/ypupd.h: Likewise.
33133 * nis/yp_xdr.c: Likewise.
33134 * nis/ypupdate_xdr.c: Likewise.
33135
2f3e3dc7
UD
33136 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33137 mainly the body of pmap_getport. Add parameters to specify timeouts.
33138 (pmap_getport): Use __libc_rpc_getport.
33139 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33140 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33141 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33142
f3dcc2f9
AS
331432010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33144
33145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33146 fanotify_mark.
33147
6d34eb5b
RM
331482010-08-27 Roland McGrath <roland@redhat.com>
33149
33150 * sysdeps/i386/i686/multiarch/Makefile
33151 (CFLAGS-varshift.c): New variable.
33152
9ea3de11
UD
331532010-08-27 Ulrich Drepper <drepper@redhat.com>
33154
c96d23fc
UD
33155 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33156 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33157
9ea3de11
UD
33158 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33159
33160 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33161
623aac7f
L
331622010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33163
33164 * sysdeps/x86_64/strlen.S: Unroll the loop.
33165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33166 strlen-sse2 strlen-sse2-bsf.
33167 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33168 __strlen_no_bsf if bit_Slow_BSF is set.
33169 (__strlen_sse42): Removed.
33170 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33171 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33172
8b2b7715
RM
331732010-08-25 Roland McGrath <roland@redhat.com>
33174
33175 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33176 * sysdeps/x86_64/multiarch/varshift.c: New file.
33177 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33178 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33179 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33180 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33181
e73015f2
L
331822010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33183
33184 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33185 strlen-sse2 strlen-sse2-bsf.
33186 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33187 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33188 (__strlen_sse2): Removed.
33189 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33190 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33192 bit_Slow_BSF for Atom.
33193 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33194 (index_Slow_BSF): Define.
33195 (HAS_SLOW_BSF): Define.
33196
df24a73e
UD
331972010-08-25 Ulrich Drepper <drepper@redhat.com>
33198
33199 [BZ #10851]
33200 * resolv/res_init.c (__res_vinit): When no server address at all
33201 is given default to loopback.
33202
f2ac4868
RM
332032010-08-24 Roland McGrath <roland@redhat.com>
33204
09055553
RM
33205 * configure.in: Remove config-name.h generation.
33206 * configure: Regenerated.
33207 * config-name.in: File removed.
33208 * scripts/config-uname.sh: New file.
33209 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33210 ($(objdir)config-name.h): New target.
33211
f2ac4868
RM
33212 * sunrpc/rpc_parse.h: Avoid nested comment.
33213
73f27d5e
RH
332142010-08-24 Richard Henderson <rth@redhat.com>
33215 Ulrich Drepper <drepper@redhat.com>
33216 H.J. Lu <hongjiu.lu@intel.com>
33217
33218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33220 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33221 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33222 _mm_alignr_epi8 with _mm_loadu_si128.
33223 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33224 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33225 (__m128i_shift_right): Removed.
33226 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33227 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33228 * sysdeps/x86_64/multiarch/varshift.h: New file.
33229 * sysdeps/x86_64/multiarch/varshift.S: New file.
33230
84b9230c
MF
332312010-08-21 Mike Frysinger <vapier@gentoo.org>
33232
33233 * configure.in: Move assembler checks to before sysdep dir checking.
33234
9bbd0ddc
PB
332352010-08-20 Petr Baudis <pasky@suse.cz>
33236
33237 * LICENSES: Sync the sunrpc license.
33238
9da4bb31
UD
332392010-08-19 Ulrich Drepper <drepper@redhat.com>
33240
a7ab6ec8
UD
33241 * sunrpc/auth_des.c: Update copyright notice once again.
33242 * sunrpc/auth_none.c: Likewise.
33243 * sunrpc/auth_unix.c: Likewise.
33244 * sunrpc/authdes_prot.c: Likewise.
33245 * sunrpc/authuxprot.c: Likewise.
33246 * sunrpc/bindrsvprt.c: Likewise.
33247 * sunrpc/clnt_gen.c: Likewise.
33248 * sunrpc/clnt_perr.c: Likewise.
33249 * sunrpc/clnt_raw.c: Likewise.
33250 * sunrpc/clnt_simp.c: Likewise.
33251 * sunrpc/clnt_tcp.c: Likewise.
33252 * sunrpc/clnt_udp.c: Likewise.
33253 * sunrpc/clnt_unix.c: Likewise.
33254 * sunrpc/des_crypt.c: Likewise.
33255 * sunrpc/des_soft.c: Likewise.
33256 * sunrpc/get_myaddr.c: Likewise.
33257 * sunrpc/getrpcport.c: Likewise.
33258 * sunrpc/key_call.c: Likewise.
33259 * sunrpc/key_prot.c: Likewise.
33260 * sunrpc/openchild.c: Likewise.
33261 * sunrpc/pm_getmaps.c: Likewise.
33262 * sunrpc/pm_getport.c: Likewise.
33263 * sunrpc/pmap_clnt.c: Likewise.
33264 * sunrpc/pmap_prot.c: Likewise.
33265 * sunrpc/pmap_prot2.c: Likewise.
33266 * sunrpc/pmap_rmt.c: Likewise.
33267 * sunrpc/rpc/auth.h: Likewise.
33268 * sunrpc/rpc/auth_unix.h: Likewise.
33269 * sunrpc/rpc/clnt.h: Likewise.
33270 * sunrpc/rpc/des_crypt.h: Likewise.
33271 * sunrpc/rpc/key_prot.h: Likewise.
33272 * sunrpc/rpc/netdb.h: Likewise.
33273 * sunrpc/rpc/pmap_clnt.h: Likewise.
33274 * sunrpc/rpc/pmap_prot.h: Likewise.
33275 * sunrpc/rpc/pmap_rmt.h: Likewise.
33276 * sunrpc/rpc/rpc.h: Likewise.
33277 * sunrpc/rpc/rpc_des.h: Likewise.
33278 * sunrpc/rpc/rpc_msg.h: Likewise.
33279 * sunrpc/rpc/svc.h: Likewise.
33280 * sunrpc/rpc/svc_auth.h: Likewise.
33281 * sunrpc/rpc/types.h: Likewise.
33282 * sunrpc/rpc/xdr.h: Likewise.
33283 * sunrpc/rpc_clntout.c: Likewise.
33284 * sunrpc/rpc_cmsg.c: Likewise.
33285 * sunrpc/rpc_common.c: Likewise.
33286 * sunrpc/rpc_cout.c: Likewise.
33287 * sunrpc/rpc_dtable.c: Likewise.
33288 * sunrpc/rpc_hout.c: Likewise.
33289 * sunrpc/rpc_main.c: Likewise.
33290 * sunrpc/rpc_parse.c: Likewise.
33291 * sunrpc/rpc_parse.h: Likewise.
33292 * sunrpc/rpc_prot.c: Likewise.
33293 * sunrpc/rpc_sample.c: Likewise.
33294 * sunrpc/rpc_scan.c: Likewise.
33295 * sunrpc/rpc_scan.h: Likewise.
33296 * sunrpc/rpc_svcout.c: Likewise.
33297 * sunrpc/rpc_tblout.c: Likewise.
33298 * sunrpc/rpc_util.c: Likewise.
33299 * sunrpc/rpc_util.h: Likewise.
33300 * sunrpc/rpcinfo.c: Likewise.
33301 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33302 * sunrpc/rpcsvc/key_prot.x: Likewise.
33303 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33304 * sunrpc/rpcsvc/mount.x: Likewise.
33305 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33306 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33307 * sunrpc/rpcsvc/rex.x: Likewise.
33308 * sunrpc/rpcsvc/rstat.x: Likewise.
33309 * sunrpc/rpcsvc/rusers.x: Likewise.
33310 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33311 * sunrpc/rpcsvc/spray.x: Likewise.
33312 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33313 * sunrpc/rtime.c: Likewise.
33314 * sunrpc/svc.c: Likewise.
33315 * sunrpc/svc_auth.c: Likewise.
33316 * sunrpc/svc_authux.c: Likewise.
33317 * sunrpc/svc_raw.c: Likewise.
33318 * sunrpc/svc_run.c: Likewise.
33319 * sunrpc/svc_simple.c: Likewise.
33320 * sunrpc/svc_tcp.c: Likewise.
33321 * sunrpc/svc_udp.c: Likewise.
33322 * sunrpc/svc_unix.c: Likewise.
33323 * sunrpc/svcauth_des.c: Likewise.
33324 * sunrpc/xcrypt.c: Likewise.
33325 * sunrpc/xdr.c: Likewise.
33326 * sunrpc/xdr_array.c: Likewise.
33327 * sunrpc/xdr_float.c: Likewise.
33328 * sunrpc/xdr_mem.c: Likewise.
33329 * sunrpc/xdr_rec.c: Likewise.
33330 * sunrpc/xdr_ref.c: Likewise.
33331 * sunrpc/xdr_sizeof.c: Likewise.
33332 * sunrpc/xdr_stdio.c: Likewise.
33333
9da4bb31
UD
33334 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33335 handling.
33336
bdaa77bc
AS
333372010-08-19 Andreas Schwab <schwab@redhat.com>
33338
33339 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33340
fe2f79db
LM
333412010-08-19 Luis Machado <luisgpm@br.ibm.com>
33342
33343 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33344 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33345 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33346 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33347 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33348 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33349 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33350 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33351 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33352 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33353 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33354 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33355 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33356 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33357
b9b42ee0
AB
333582010-07-26 Anton Blanchard <anton@samba.org>
33359
33360 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33361 * malloc/arena.c (heap_trim): Likewise.
33362
1c06ba31
UD
333632010-08-16 Ulrich Drepper <drepper@redhat.com>
33364
33365 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33366 here. Not...
33367 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33368 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33369
f8392f40
L
333702010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33371
33372 * sysdeps/i386/elf/Makefile: New file.
33373
3162f12e
AS
333742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33375
33376 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33377 from fanotify_init.
33378 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33379 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33380
28c90b2c
UD
333812010-08-15 Ulrich Drepper <drepper@redhat.com>
33382
33383 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33384 of strncasecmp_l.
1feccb6c 33385 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 33386
ca6bb004
UD
333872010-08-14 Ulrich Drepper <drepper@redhat.com>
33388
e9f82e0d
UD
33389 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33390 strncase_l-nonascii.
33391 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33392 Add strncase_l-ssse3.
33393 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33394 * sysdeps/x86_64/strcmp.S: Likewise.
33395 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33396 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33397 * sysdeps/x86_64/strncase.S: New file.
33398 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33399 * sysdeps/x86_64/strncase_l.S: New file.
33400 * string/Makefile (strop-tests): Add strncasecmp.
33401 * string/test-strncasecmp.c: New file.
33402
33403 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33404 warning.
33405
ca6bb004
UD
33406 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33407 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33408
052fa7b3
AS
334092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33410
33411 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33412
962dba78
UD
334132010-08-12 Ulrich Drepper <drepper@redhat.com>
33414
33415 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33416 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33417 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33418
bebff237
AM
334192010-05-01 Alan Modra <amodra@gmail.com>
33420
33421 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33422 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33423 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33424 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33425 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33426 tidying. Don't tail-call __sigjmp_save for static lib.
33427 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33428 save location.
33429 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33430 (CALL_MCOUNT): Add eh info, and nop after bl.
33431 (TAIL_CALL_SYSCALL_ERROR): New macro.
33432 (PSEUDO_RET): Use it.
33433 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33434 Correct save location of integer regs and cr.
33435 (_dl_profile_resolve): Correct cr save location. Delete nops
33436 after bl when SHARED. Reduce cfi size a little by better
33437 placement of cfi directives.
33438 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33439 make a stack frame. Instead use parm save area as a temp.
33440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33441 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33443 Don't make a stack frame for parent, use parm save area.
33444 Increase child stack frame to 112 bytes. Don't save unused reg,
33445 and adjust reg usage. Set up cfi on error recovery and
33446 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33448 (__makecontext): Add dummy nop after jump to exit.
33449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33450 Use correct parm save area and cr save, reduce stack frame.
33451 Correct cfi for possible PSEUDO_RET frame setup.
33452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33453 Branch to local label emitted by PSEUDO_RET rather than
33454 __syscall_error.
33455
02637374
AS
334562010-08-12 Andreas Schwab <schwab@redhat.com>
33457
33458 [BZ #11904]
33459 * locale/programs/locale.c (print_assignment): New function.
33460 (show_locale_vars): Use it.
33461
c3e2f19b
UD
334622010-08-11 Ulrich Drepper <drepper@redhat.com>
33463
3cdaa6ad
UD
33464 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33465 field.
33466 (struct statfs64): Likewise.
33467 (_STATFS_F_FLAGS): Define.
33468 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33469 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33470 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33471 (ST_VALID): Define locally.
33472 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33473 __statvfs_getflags, use the provided value.
33474 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33475 __ASSUME_STATFS_F_FLAGS.
33476
754f7da3
UD
33477 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33478
10b3bedc
UD
33479 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33480 Add sys/fanotify.h.
33481 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33482 fanotify_mask for GLIBC_2.13.
33483 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33484 fanotify_init and fanotify_mark.
33485 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33486 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33487
c08fb0d7
UD
33488 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33489 Add prlimit.
33490 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33491 prlimit64 for GLIBC_2.13.
33492 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33493 prlimit64.
33494 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33495 syscall.
33496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33497 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33498 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33499 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33500 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33501 add prlimit alias.
33502 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33503
15bac72b
UD
33504 [BZ #11903]
33505 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33506 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33507
c3e2f19b
UD
33508 * nss/Makefile: Add rules to build and run tst-nss-test1.
33509 * shlib-versions: Add entry for libnss_test1.
33510 * nss/nss_test1.c: New file.
33511 * nss/tst-nss-test1.c: New file.
33512
33513 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33514 (__nss_configure_lookup): Set appropriate entry in
33515 __nss_configure_lookup to true.
33516 * nss/nsswitch.h: Define enum with indeces of databases in
33517 databases and __nss_database_custom arrays. Declare
33518 __nss_database_custom.
33519 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33520 to avoid using nscd when custom rules are installed.
33521 * nss/getXXbyYY_r.c: Likewise.
33522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33523
33524 * nss/nss_files/files-parse.c: Whitespace fixes.
33525
f15ce4d8
UD
335262010-08-09 Ulrich Drepper <drepper@redhat.com>
33527
33528 [BZ #11883]
33529 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33530 * posix/fnmatch_loop.c: Likewise.
33531
d22e4cc9
AK
335322010-07-17 Andi Kleen <ak@linux.intel.com>
33533
33534 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33535 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33536 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33537 * Versions.def [GLIBC_2.13]: Add.
33538
805bc17d
UD
335392010-08-06 Ulrich Drepper <drepper@redhat.com>
33540
33541 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33542 Also fail if tpwd after pwuid call is NULL.
33543
5a42321d
ST
335442010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33545
33546 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33547 when converting to ms.
33548
fd3ebeda
ST
335492010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33550
33551 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33552 EOPNOTSUPP errors with ENOTTY.
33553 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33554 EOPNOTSUPP errors with ENOTTY.
33555
73507d3a
UD
335562010-07-31 Ulrich Drepper <drepper@redhat.com>
33557
33558 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33559 Add strcasecmp_l-ssse3.
33560 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33561 strcasecmp.
33562 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33563 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33564 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33565
fe36dd02
UD
335662010-07-30 Ulrich Drepper <drepper@redhat.com>
33567
66f6765a
UD
33568 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33569
42e08a54
UD
33570 * string/Makefile (strop-tests): Add strcasecmp.
33571 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33572 strcasecmp_l-nonascii.
33573 (gen-as-const-headers): Add locale-defines.sym.
33574 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33575 * sysdeps/x86_64/strcasecmp.S: New file.
33576 * sysdeps/x86_64/strcasecmp_l.S: New file.
33577 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33578 * sysdeps/x86_64/locale-defines.sym: New file.
33579 * string/test-strcasecmp.c: New file.
33580
fe36dd02
UD
33581 * string/test-strcasestr.c: Test both ends of the range of characters.
33582 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33583
48cbc0d6
RM
335842010-07-29 Roland McGrath <roland@redhat.com>
33585
76e6d6bc 33586 [BZ #11856]
48cbc0d6
RM
33587 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33588
880113d9
UD
335892010-07-27 Ulrich Drepper <drepper@redhat.com>
33590
33591 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33592 for ld.so.
33593
deb9cabb
AS
335942010-07-27 Andreas Schwab <schwab@redhat.com>
33595
33596 * manual/memory.texi (Malloc Tunable Parameters): Document
33597 M_PERTURB.
33598
1c7570ff
RM
335992010-07-26 Roland McGrath <roland@redhat.com>
33600
33601 [BZ #11840]
33602 * configure.in (-fgnu89-inline check): Set and substitute
33603 gnu89_inline, not libc_cv_gnu89_inline.
33604 * configure: Regenerated.
33605 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33606
24fb0f88
UD
336072010-07-26 Ulrich Drepper <drepper@redhat.com>
33608
33609 * string/test-strnlen.c: New file.
33610 * string/Makefile (strop-tests): Add strnlen.
33611 * string/tester.c (test_strnlen): Add a few more test cases.
33612 * string/tst-strlen.c: Better error reporting.
33613
33614 * sysdeps/x86_64/strnlen.S: New file.
33615
8e96b93a
UD
336162010-07-24 Ulrich Drepper <drepper@redhat.com>
33617
33618 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33619 lower-latency instructions.
33620
dbc676d4
UD
336212010-07-23 Ulrich Drepper <drepper@redhat.com>
33622
33623 * string/test-strcasestr.c: New file.
33624 * string/test-strstr.c: New file.
33625 * string/Makefile (strop-tests): Add strstr and strcasestr.
33626 * string/str-two-way.h: Don't undefine MAX.
33627 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33628
f6a31e0e
AS
336292010-07-21 Andreas Schwab <schwab@redhat.com>
33630
33631 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33632 strcasestr-nonascii.
33633 (CFLAGS-strcasestr-nonascii.c): Define.
33634 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33635 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33636 Remove unused attribute.
33637
5dbc3b6c
RM
336382010-07-20 Roland McGrath <roland@redhat.com>
33639
33640 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33641 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33642 ld.so.cache was broken. With it, there is no way to disable dsocaps
33643 like LD_HWCAP_MASK can disable hwcaps.
33644
23d101d8
EPM
336452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33646
33647 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33648
cc9f2e47
UD
336492010-07-16 Ulrich Drepper <drepper@redhat.com>
33650
33651 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33652 call in strcasestr.
33653 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33654 __strcasestr_sse42_nonascii.
33655 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33656 strcasestr-nonascii.c.
33657 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33658
77c1b069
LM
336592010-06-15 Luis Machado <luisgpm@br.ibm.com>
33660
33661 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33662 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33663 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33664 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33665
440566c3
UD
336662010-07-09 Ulrich Drepper <drepper@redhat.com>
33667
33668 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33669 fcntl.
33670
5be9d05d
AS
336712010-07-06 Andreas Schwab <schwab@redhat.com>
33672
c30b7ee2 33673 [BZ #11577]
5be9d05d
AS
33674 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33675 dl_signal_cerror.
33676
8a492a67
UD
336772010-07-06 Ulrich Drepper <drepper@redhat.com>
33678
33679 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33680 _PC_PIPE_BUF using F_GETPIPE_SZ.
33681
713df3d5
RM
336822010-07-05 Roland McGrath <roland@redhat.com>
33683
33684 * manual/arith.texi (Rounding Functions): Fix rint description
33685 implicit in round description.
33686
702e8f14
UD
336872010-07-02 Ulrich Drepper <drepper@redhat.com>
33688
33689 * elf/Makefile: Fix linking for a few tests to make recent linker
33690 happy.
33691
52ed8be9
AS
336922010-06-30 Andreas Schwab <schwab@redhat.com>
33693
33694 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33695 $(common-objpfx)libc_nonshared.a.
33696
f47c9a11
LM
336972010-06-21 Luis Machado <luisgpm@br.ibm.com>
33698
33699 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33700 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33701 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33702 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33703 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33704 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33705 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33706 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33721 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33722 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33723 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33724 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33725 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33726 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33727 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33728 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33729 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33730 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33731 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33732 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33747
6fb8cbcb
L
337482010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33749
33750 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33751 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33752 * string/memmove.c (memmove): Renamed to ...
33753 (MEMMOVE): ...this. Default to memmove.
33754 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33755 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33756 (END_CHK): Define.
33757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33758 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33759 mempcpy-ssse3-back memmove-ssse3-back.
33760 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33761 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33762 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33763 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33764 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33765 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33766 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33767 * sysdeps/x86_64/multiarch/memmove.c: New file.
33768 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33769 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33770 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33771 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33772 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33773 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33774 Define.
33775 (index_Fast_Copy_Backward): Define.
33776 (HAS_ARCH_FEATURE): Define.
33777 (HAS_FAST_REP_STRING): Define.
33778 (HAS_FAST_COPY_BACKWARD): Define.
33779
4e733bac 337802010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33781
33782 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33783 Restore proper fallback handling.
33784
63c4ed22
UD
337852010-06-19 Ulrich Drepper <drepper@redhat.com>
33786
ac2b484c
UD
33787 [BZ #11701]
33788 * posix/group_member.c (__group_member): Correct checking loop.
33789
63c4ed22
UD
33790 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33791 OOM in getpwuid_r correctly. Return error number when the caller
33792 should return, otherwise -1.
33793 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33794 call returning > 0 value.
33795 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33796
765ade4b
AS
337972010-06-07 Andreas Schwab <schwab@redhat.com>
33798
33799 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33800 libc_nonshared.a from targets in modules-names.
33801
80da2e09
KS
338022010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33803
33804 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33805 requires it.
33806
158db122
LM
338072010-06-10 Luis Machado <luisgpm@br.ibm.com>
33808
33809 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33810 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33811 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33812 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33813
caa78cf8
AS
338142010-06-02 Andreas Schwab <schwab@redhat.com>
33815
33816 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33817
b2ef2c01
UD
338182010-06-14 Ulrich Drepper <drepper@redhat.com>
33819
33820 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33821 and F_GETPIPE_SZ.
33822 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33823 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33824 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33826 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33827 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33828
fbd643b6
RM
338292010-06-14 Roland McGrath <roland@redhat.com>
33830
33831 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33832
f32f2869
JJ
338332010-06-07 Jakub Jelinek <jakub@redhat.com>
33834
33835 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33836 __REDIRECT followed by __THROW.
33837 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33838 * posix/getopt.h (getopt): Likewise.
33839
2a50c078
EPM
338402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33841
33842 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33843 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33844 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33845 in AT_FLAGS.
33846 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33847 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33848
eb5ad2eb
LM
338492010-05-28 Luis Machado <luisgpm@br.ibm.com>
33850
33851 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33852
3c88fe1e
L
338532010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33854
33855 [BZ #11640]
33856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33857 Properly check family and model.
33858
d2f73151
TY
338592010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33860
33861 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33862
ebd2e13d
LM
338632010-05-24 Luis Machado <luisgpm@br.ibm.com>
33864
33865 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33866
b32b8b45
UD
338672010-05-21 Ulrich Drepper <drepper@redhat.com>
33868
33869 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33870 symbol reference.
33871
9acbe24d
AS
338722010-05-19 Andreas Schwab <schwab@redhat.com>
33873
33874 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33875 symbol reference.
33876
f0ccf6ea
AS
338772010-05-21 Andreas Schwab <schwab@redhat.com>
33878
3d04ff3a
AS
33879 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33880 and internal_recvmmsg.
33881 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33882 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33883 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33884 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33885
f0ccf6ea
AS
33886 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33887 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33888 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33889
5b08ac57
AS
338902010-05-20 Andreas Schwab <schwab@redhat.com>
33891
33892 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33893
4828935d
LM
338942010-05-17 Luis Machado <luisgpm@br.ibm.com>
33895
33896 POWER7 optimizations.
33897 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33898 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33899
373d545e
UD
339002010-05-19 Ulrich Drepper <drepper@redhat.com>
33901
33902 * version.h: Update for 2.13 development version.
33903
21a2b1ae
AS
339042010-05-12 Andrew Stubbs <ams@codesourcery.com>
33905
33906 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33907 exceptions. Return 0.
33908
3f7dcb2b
RM
339092010-05-07 Roland McGrath <roland@redhat.com>
33910
33911 * elf/ldconfig.c (main): Add a const.
33912
5f24d53a 339132010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33914
a160f8d8
UD
33915 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33916 (args_options): Add no-idn option.
33917 (ahosts_keys_int): Add idn_flags to ai_flags.
33918 (parse_option): Handle 'i' option to clear idn_flags.
33919
5f24d53a
UD
33920 * malloc/malloc.c (_int_free): Possible race in the most recently
33921 added check. Only act on the data if no current modification
33922 happened.
265bb1ce
UD
33923
33924See ChangeLog.17 for earlier changes.
This page took 4.606784 seconds and 5 git commands to generate.