]> sourceware.org Git - glibc.git/blame - ChangeLog
Correct little-endian relocation of UADDR64,32,16.
[glibc.git] / ChangeLog
CommitLineData
f8e3e9f3
AM
12013-10-04 Alan Modra <amodra@gmail.com>
2
3 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4 Correct handling of unaligned relocs for little-endian.
5 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6
8f9ebb08
AM
72013-10-04 Alan Modra <amodra@gmail.com>
8
9 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10 * configure: Regenerate.
11 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12 * shlib-versions: Likewise.
13
0edf96c2
AM
142013-10-04 Alan Modra <amodra@gmail.com>
15
16 * string/tester.c (test_memrchr): Increment reported test cycle.
17
e0f7a380
AM
182013-10-04 Alan Modra <amodra@gmail.com>
19
20 * string/test-memcpy.c (do_one_test): When reporting errors, print
21 string address and don't overrun end of string.
22
466b0393
AM
232013-10-04 Alan Modra <amodra@gmail.com>
24
25 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26 insrdi. Make better use of reg selection to speed exit slightly.
27 Schedule entry path a little better. Remove useless "are we done"
28 checks on entry to main loop. Handle wrapping around zero address.
29 Correct main loop count. Handle single left-over word from main
30 loop inline rather than by using loop_small. Remove extra word
31 case in loop_small caused by wrong loop count. Add little-endian
32 support.
33 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
35 cache hint.
36 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
38 support. Avoid rlwimi.
39 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
40
3be87c77
AM
412013-10-04 Alan Modra <amodra@gmail.com>
42
43 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44 insrdi. Formatting.
45 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
48 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
51
759cfef3
AM
522013-10-04 Alan Modra <amodra@gmail.com>
53
54 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
55 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
57 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
58 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
63 use of regs. Use power7 mtocrf. Tidy function tails.
64
fe6e95d7
AM
652013-10-04 Alan Modra <amodra@gmail.com>
66
67 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
68 Formatting. Consistently use rXXX register defines or rN defines.
69 Use early exit labels that avoid restoring unused non-volatile regs.
70 Make cr field use more consistent with rWORDn compares. Rename
71 regs used as shift registers for unaligned loop, using rN defines
72 for short lifetime/multiple use regs.
73 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
74 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
75 addi 1,1,64 to pop stack frame. Simplify return value code.
76 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
77
664318c3
AM
782013-10-04 Alan Modra <amodra@gmail.com>
79
80 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
81 support. Correct typos, formatting. Optimize tail. Use insrdi
82 rather than rlwimi.
83 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
84 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
85 little-endian support. Correct typos.
86 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
87 rather than rlwimi.
88 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
89 in loop and entry code to keep "and." results.
90 (strchr): Add little-endian support. Comment. Move cntlzd
91 earlier in tail.
92 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
93
43b84013
AM
942013-10-04 Alan Modra <amodra@gmail.com>
95
96 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
97 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
98 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
99 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
100
8a7413f9
AM
1012013-10-04 Alan Modra <amodra@gmail.com>
102
103 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
104 (rTMP): Define as r11.
105 (strcmp): Add little-endian support. Optimise tail.
106 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
107 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
108 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
109 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
110 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
111 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
112 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
113
33ee81de
AM
1142013-10-04 Alan Modra <amodra@gmail.com>
115
116 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
117 little-endian support. Remove unnecessary "are we done" tests.
118 Handle "s" wrapping around zero and extremely large "size".
119 Correct main loop count. Handle single left-over word from main
120 loop inline rather than by using small_loop. Correct comments.
121 Delete "zero" tail, use "end_max" instead.
122 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
123
db9b4570
AM
1242013-10-04 Alan Modra <amodra@gmail.com>
125
126 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
127 support. Don't branch over align.
128 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
129 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
130 support. Rearrange tmp reg use to suit. Comment.
131 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
132
f7c399cf
AM
1332013-10-04 Alan Modra <amodra@gmail.com>
134
135 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
136
0b2c2ace
AM
1372013-10-04 Alan Modra <amodra@gmail.com>
138
139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
140 conditional form of branch and link when obtaining pc.
141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
142
02f04a6c
AM
1432013-10-04 Alan Modra <amodra@gmail.com>
144
145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
146 HIWORD/LOWORD.
147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
149
9b874b2f
AM
1502013-10-04 Alan Modra <amodra@gmail.com>
151
152 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
153 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
154 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
155 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
156 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
157 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
158 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
159 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
160 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
161 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
162
be1e5d31
AB
1632013-10-04 Anton Blanchard <anton@au1.ibm.com>
164 Alistair Popple <alistair@ozlabs.au.ibm.com>
165 Alan Modra <amodra@gmail.com>
166
167 [BZ #15723]
168 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
169 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
170 _dl_hwcap access for little-endian.
171 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
172 destroy vmx regs when saving unaligned.
173 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
174 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
175 destroy vmx regs when saving unaligned.
176
fef13a78
AM
1772013-10-04 Alan Modra <amodra@gmail.com>
178
179 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
180 Don't use a union to pack hi/low value.
181
76a66d51
AB
1822013-10-04 Anton Blanchard <anton@au1.ibm.com>
183
184 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
185 for little-endian.
186 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
187 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
188 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
189 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
190 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
191
6a31fe7f
AM
1922013-10-04 Alan Modra <amodra@gmail.com>
193
194 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
195 constants to usual value for .cst8 section, and remove redundant
196 high address load.
197 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
198 constant for 0x1p52. Load little-endian words of double from
199 correct stack offsets.
200
7b88401f
AM
2012013-10-04 Alan Modra <amodra@gmail.com>
202
203 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
204 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
205 words of double from correct stack offsets.
206 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
207 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
208 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
209 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
210 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
211 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
212 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
213 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
214 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
215 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
216 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
217 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
218 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
219 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
220 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
221 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
222 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
223
9c008155
AM
2242013-10-04 Alan Modra <amodra@gmail.com>
225
226 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
227 64-bit int/double union.
228 (_FPU_SETCW): Likewise.
229 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
230 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
231
da13146d
AM
2322013-10-04 Alan Modra <amodra@gmail.com>
233
234 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
235 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
236
603e8410
AM
2372013-10-04 Alan Modra <amodra@gmail.com>
238
239 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
240 use vector int constants.
241 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
242
4a28b3ca
AB
2432013-10-04 Anton Blanchard <anton@au1.ibm.com>
244
245 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
246 array with long long.
247 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
248 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
249 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
250 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
251 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
252 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
253 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
254 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
255 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
256 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
257 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
258 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
259 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
260
2ca85d2b
AB
2612013-10-04 Anton Blanchard <anton@au1.ibm.com>
262
263 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
264 (__signbit): Likewise. Correct for little-endian.
265 (__signbitl): Call __signbit.
266 (lrint): Correct for little-endian.
267 (lrintf): Call lrint.
268
62a728ae
AM
2692013-10-04 Alan Modra <amodra@gmail.com>
270
271 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
272 union 32-bit int array member with 64-bit int array.
273 (t515, tm256): Double rather than long double.
274 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
275
32c301df
AM
2762013-10-04 Alan Modra <amodra@gmail.com>
277
278 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
279 Delete.
280 (IEEE854_LONG_DOUBLE_BIAS): Delete.
281 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
282 version of math_ldbl.h.
283
650ef4bd
AM
2842013-10-04 Alan Modra <amodra@gmail.com>
285
286 [BZ #15734], [BZ #15735]
287 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
288 all uses of ieee875 long double macros and unions. Simplify test
289 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
290 ldbl_extract_mantissa value for ix,iy exponents. Properly
291 normalize after ldbl_extract_mantissa, and don't add hidden bit
292 already handled. Don't treat low word of ieee854 mantissa like
293 low word of IBM long double and mask off bit when testing for
294 zero.
295 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
296 all uses of ieee875 long double macros and unions. Simplify tests
297 for 0.0L and inf. Correct double adjustment of k. Delete dead code
298 adjusting ha,hb. Simplify code setting kld. Delete two600 and
299 two1022, instead use their values. Recognise that tests for large
300 "a" and small "b" are mutually exclusive. Rename vars. Comment.
301 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
302 Rewrite all uses of ieee875 long double macros and unions. Simplify
303 test for 0.0L and nan. Correct negation.
304 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
305 ieee875 long double macros and unions. Correct output for large
306 magnitude x. Correct absolute value calculation.
307 (__erfcl): Likewise.
308 * math/libm-test.inc: Add tests for errors discovered in IBM long
309 double versions of fmodl, remainderl, erfl and erfcl.
310
765714ca
AM
3112013-10-04 Alan Modra <amodra@gmail.com>
312
313 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
314 all uses of ieee854 long double macros and unions. Simplify tests
315 for long doubles that are fully specified by the high double.
316 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
317 Likewise.
318 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
319 Remove dead code too.
320 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
321 (__ieee754_ynl): Likewise.
322 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
323 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
324 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
325 Remove dead code too.
326 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
327 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
328 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
329 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
330 Simplify.
331 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
332 Simplify.
333 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
334 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
335 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
336 Comment on variable precision.
337 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
338 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
339 Likewise.
340 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
341 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
342 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
343 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
344 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
345
4ebd120c
AM
3462013-10-04 Alan Modra <amodra@gmail.com>
347
348 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
349 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
350 all uses of ieee854 long double macros and unions.
351 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
352 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
353 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
354 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
355 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
356 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
357 Likewise.
358 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
359 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
360 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
361 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
362 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
363 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
364 Simplify sign and nan test too.
365 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
366 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
367 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
368 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
369 Likewise.
370 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
371 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
372 Likewise.
373 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
374 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
375 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
376 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
377 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
378 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
379
1b6adf88
AM
3802013-10-04 Alan Modra <amodra@gmail.com>
381
382 * stdio-common/printf_size.c (__printf_size): Don't use
383 union ieee854_long_double in fpnum union.
384 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
385 signbit macro to retrieve sign from long double.
386 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
387 retrieve sign from long double.
388 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
389 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
390 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
391 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
392 * math/test-misc.c (main): Don't use union ieee854_long_double.
393
4cf69995
AM
3942013-10-04 Alan Modra <amodra@gmail.com>
395
396 [BZ #15680]
397 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
398 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
399 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
400 calculation. Remove unnecessary test for denormal exponent.
401 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
402 Correct handling of denormals. Avoid undefined shift behaviour.
403 Correct normalisation of low mantissa when low double is denormal.
404 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
405 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
406 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
407 Correct normalisation of low mantissa. Test for overflow of high
408 mantissa and normalise.
409 (ldbl_nearbyint): Use more readable constant for two52.
410 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
411 (__mpn_construct_long_double): Fix test for overflow of high
412 mantissa and correct normalisation. Avoid undefined shift.
413
9605ca6c
AM
4142013-10-04 Alan Modra <amodra@gmail.com>
415
416 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
417 (union ibm_extended_long_double): Define as an array of ieee754_double.
418 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
419 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
420 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
421 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
422 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
423 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
424 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
425 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
426 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
427 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
428 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
429
975569d0
JM
4302013-10-03 Joseph Myers <joseph@codesourcery.com>
431
d3d23756
JM
432 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
433 page size instead of calling getpagesize.
434
975569d0
JM
435 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
436 (LOCFILE_ALIGN_MASK): Likewise.
437 (LOCFILE_ALIGN_UP): Likewise.
438 (LOCFILE_ALIGNED_P): Likewise.
439 * locale/programs/ld-collate.c (collate_output): Use the new
440 macros instead of __alignof__ (int32_t).
441 * locale/weight.h (findidx): Likewise.
442
b1fe1f2b
OB
4432013-10-03 Ondřej Bílka <neleai@seznam.cz>
444
445 [BZ #431]
446 * manual/string.texi: Fix strncat and wcsncat.
447
5f855e35
BM
4482013-10-03 Brooks Moses <bmoses@google.com>
449
450 [BZ #15915]
451 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
452 * Makerules: ...here, and adjust associated comments.
453
3cef6009
WN
4542013-10-02 Will Newton <will.newton@linaro.org>
455
456 * malloc/Makefile: Add tst-pvalloc.
457 * malloc/tst-pvalloc.c: New file.
458
7815420b
WN
4592013-10-02 Will Newton <will.newton@linaro.org>
460
461 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
462 improve test coverage.
463
4868b204
WN
4642013-10-02 Will Newton <will.newton@linaro.org>
465
466 * malloc/Makefile: Add tst-posix_memalign.
467 * malloc/tst-posix_memalign.c: New file.
468
29c793b3
EB
4692013-10-01 Eric Blake <eblake@redhat.com>
470
471 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
472 Use __THROWNL rather than __THROW on static functions.
473
fd967522
PM
4742013-09-30 Petr Machata <pmachata@redhat.com>
475
476 * elf/elf.h (R_AARCH64_ABS16): New macro.
477 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
478 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
479 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
480 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
481 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
482 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
483 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
484 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
485 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
486 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
487 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
488 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
489 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
490 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
491 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
492 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
493 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
494 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
495 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
496 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
497 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
498 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
499 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
500 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
501 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
502 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
503 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
504 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
505 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
506 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
507 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
508 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
509 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
510 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
511 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
512 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
513 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
514 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
515 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
516 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
517 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
518 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
519 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
520 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
521 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
522 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
523 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
524 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
525 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
526 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
527 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
528 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
529 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
530 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
531 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
532 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
533 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
534 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
535 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
536 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
537 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
538 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
539 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
540 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
541 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
542 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
543 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
544 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
545 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
546 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
547 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
548 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
549 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
550 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
551 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
552 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
553 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
554 (R_AARCH64_TLSDESC_LDR): Likewise.
555 (R_AARCH64_TLSDESC_ADD): Likewise.
556 (R_AARCH64_TLSDESC_CALL): Likewise.
557
b2179107
AS
5582013-09-30 Andreas Schwab <schwab@suse.de>
559
560 [BZ #15048]
561 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
562 the nss database lookup.
563 * nscd/initgrcache.c (addinitgroupsX): Likewise.
564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
565
47f28d0a
MF
5662013-09-28 Mike Frysinger <vapier@gentoo.org>
567
568 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
569
5702013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
571
572 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
573 ${Bash-specific parameter/pattern/string} parameter expansion.
574 * sysdeps/unix/make-syscalls.sh: Likewise.
575
f4518a17
KK
5762013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
577
578 * sysdeps/sh/stackguard-macros.h: New file.
579
dc1a95c7
OB
5802013-09-26 Ondřej Bílka <neleai@seznam.cz>
581
582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
583 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
584 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
585 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
586 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
587 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
588
5ebbff8f
AZ
5892013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
590
591 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
592 Fix thread ID register.
593
4fd2cf9f
JM
5942013-09-25 Joseph Myers <joseph@codesourcery.com>
595
596 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
597 [POSIX || UNIX98]: Require rather than permitting all symbols from
598 <time.h>.
599 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
600 element of struct sched_param.
601 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
602 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
603 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
604 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
605 constant.
606
12c22bc4
OL
6072013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
608
609 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
610 argument calculation.
611
a03d8ea7
JM
6122013-09-24 Joseph Myers <joseph@codesourcery.com>
613
614 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
615 Expect macro.
616 [POSIX] (pthread_attr_t): Do not require type.
617 [POSIX] (pthread_cond_t): Likewise.
618 [POSIX] (pthread_condattr_t): Likewise.
619 [POSIX] (pthread_key_t): Likewise.
620 [POSIX] (pthread_mutex_t): Likewise.
621 [POSIX] (pthread_mutexattr_t): Likewise.
622 [POSIX] (pthread_once_t): Likewise.
623 [POSIX] (pthread_t): Likewise.
624 [POSIX-based standards] (pthread_atfork): Expect function.
625
6055173a
JM
6262013-09-24 Joseph Myers <joseph@codesourcery.com>
627 Richard Sandiford <richard@codesourcery.com>
628
629 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
630 (swap_endianness_p): New extern variable.
631 (set_big_endian): New inline function.
632 (maybe_swap_uint32): Likewise.
633 (maybe_swap_uint32_array): Likewise.
634 (maybe_swap_uint32_obstack): Likewise.
635 * locale/programs/locfile.c: Include <stdbool.h>.
636 (swap_endianness_p): New variable.
637 (add_locale_uint32): Call maybe_swap_uint32.
638 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
639 (write_locale_data): Call maybe_swap_uint32_array.
640 * locale/programs/ld-collate.c (obstack_int32_grow): Call
641 maybe_swap_uint32.
642 (obstack_int32_grow_fast): Likewise.
643 (output_weightwc): Call maybe_swap_uint32_obstack.
644 (collate_output): Likewise.
645 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
646 (OPT_LITTLE_ENDIAN): Likewise.
647 (options): Add --little-endian and --big-endian options.
648 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
649 * locale/programs/locarchive.c: Include "locfile.h".
650 (GET): New macro.
651 (SET): Likewise.
652 (INC): Likewise.
653 (create_archive): Use the new macros to access fields of
654 structures directly mapped from or written to locale archives.
655 (oldlocrecentcmp): Likewise.
656 (enlarge_archive): Likewise.
657 (insert_name): Likewise.
658 (add_alias): Likewise.
659 (add_locale): Likewise.
660 (delete_locales_from_archive): Likewise.
661 (show_archive_content): Likewise.
662 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
663 locale data.
664
39bf0bb4
RM
6652013-09-24 Roland McGrath <roland@hack.frob.com>
666
667 * manual/freemanuals.texi: Updated from (newly) canonical copy at
668 http://www.gnu.org/doc/freemanuals.texi.
669 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
670
f02eed10
WN
6712013-09-24 Will Newton <will.newton@linaro.org>
672
673 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
674 macro.
675
a3a6c312
JM
6762013-09-23 Joseph Myers <joseph@codesourcery.com>
677
678 * locale/hashval.h (compute_hashval): Interpret bytes of key as
679 unsigned char.
680
107375ac
MR
6812013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
682
683 * manual/threads.texi (POSIX Threads): Fix a typo.
684
141f3a77
SP
6852013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
686
303e567a
SP
687 [BZ #14547]
688 * string/tst-strcoll-overflow.c: New test case.
689 * string/Makefile (xtests): Add tst-strcoll-overflow.
690 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
691 cache if string sizes may cause integer overflow.
692
141f3a77
SP
693 [BZ #14547]
694 * string/strcoll_l.c (coll_seq): New members rule, idx,
695 save_idx and back_us.
696 (get_next_seq_nocache): New function.
697 (do_compare_nocache): New function.
698 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
699 when malloc fails.
700
c61b4d41
CD
7012013-09-23 Carlos O'Donell <carlos@redhat.com>
702
0b1f8e35
CD
703 [BZ #15754]
704 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
705 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
706 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
707
c61b4d41
CD
708 [BZ #15754]
709 * elf/Makefile (tests): Add tst-ptrguard1.
710 (tests-static): Add tst-ptrguard1-static.
711 (tst-ptrguard1-ARGS): Define.
712 (tst-ptrguard1-static-ARGS): Define.
713 * elf/tst-ptrguard1.c: New file.
714 * elf/tst-ptrguard1-static.c: New file.
715 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
716 * sysdeps/i386/stackguard-macros.h: Likewise.
717 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
718 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
719 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
720 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
721 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
722 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
723
7242013-09-23 Hector Marco <hecmargi@upv.es>
725 Ismael Ripoll <iripoll@disca.upv.es>
726 Carlos O'Donell <carlos@redhat.com>
727
728 [BZ #15754]
729 * sysdeps/generic/stackguard-macros.h: Define
730 __pointer_chk_guard_local and POINTER_CHK_GUARD.
731 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
732 Define __pointer_chk_guard_local.
733 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
734 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
735
f5f4e7b4
VV
7362013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
737
738 [BZ #15859]
739 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
740
5bb43a43
AS
7412013-09-20 Andreas Schwab <schwab@linux-m68k.org>
742
743 * include/string.h (__ffs): Declare as hidden.
744 * string/ffs.c (__ffs): Define as hidden.
745 * sysdeps/i386/ffs.c (__ffs): Likewise.
746 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
747 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
748 * sysdeps/s390/ffs.c (__ffs): Likewise.
749 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
750
3ea5be54
AO
7512013-09-20 Alexandre Oliva <aoliva@redhat.com>
752
ffb89e53
AO
753 * NEWS: Mention malloc probes.
754
322dea08
AO
755 * malloc/arena.c (new_heap): New memory_heap_new probe.
756 (grow_heap): New memory_heap_more probe.
757 (shrink_heap): New memory_heap_less probe.
758 (heap_trim): New memory_heap_free probe.
759 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
760 (systrim): New memory_sbrk_less probe.
761 * manual/probes.texi: Document them.
762
655673f3
AO
763 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
764 * manual/probes.texi: Document it.
765
35fed6f1
AO
766 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
767 (__libc_realloc): Add memory_realloc_retry probe.
768 (__libc_memalign): Add memory_memalign_retry probe.
769 (__libc_valloc): Add memory_valloc_retry probe.
770 (__libc_pvalloc): Add memory_pvalloc_retry probe.
771 (__libc_calloc): Add memory_calloc_retry probe.
772 * manual/probes.texi: Document them.
773
6999d38c
AO
774 * malloc/arena.c (get_free_list): Add probe
775 memory_arena_reuse_free_list.
776 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
777 and memory_arena_reuse.
778 (arena_get2) [!PER_THREAD]: Likewise.
779 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
780 memory_arena_reuse_realloc.
781 * manual/probes.texi: Document them.
782
0653427f
AO
783 * malloc/malloc.c (__libc_free): Add
784 memory_mallopt_free_dyn_thresholds probe.
785 (__libc_mallopt): Add multiple memory_mallopt probes.
786 * manual/probes.texi: Document them.
787
3ea5be54
AO
788 * malloc/malloc.c: Include stap-probe.h.
789 (__libc_mallopt): Add memory_mallopt probe.
790 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
791 * manual/probes.texi: New.
792 * manual/Makefile (chapters): Add probes.
793 * manual/threads.texi: Set next node.
794
e35696c3 7952013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 796
e35696c3
CL
797 [BZ #15963, #13985]
798 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
799 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
800 Add `Chinese' to `nan' entry name.
801
4aafb73c
SP
8022013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
803
804 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
805 (POLYNOMIAL): Likewise.
806 (TAYLOR_SINCOS): Likewise.
807 (TAYLOR_SLOW): Likewise.
808 (__sin): Use TAYLOR_SINCOS.
809 (__cos): Likewise.
810 (slow): Use TAYLOR_SLOW.
811 (sloww): Likewise.
812 (bsloww): Likewise.
813 (csloww): Likewise.
814
d84f25c7
LD
8152013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
816
817 * stdlib/strtod_l.c: Fix buffer overrun.
818
5eea0404
SP
8192013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
820
7849ff93
SP
821 * benchtests/Makefile (bench): Add sincos.
822 * benchtests/bench-sincos.c: New file.
823
cfa3c886
SP
824 * math/libm-test.inc (cos_test_data): New test inputs.
825 (sin_test_data): Likewise.
826
b348e1e3
SP
827 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
828 macro.
829 (__sin): Use it.
830 (__cos): Likewise.
831 (slow1): Likewise.
832 (slow2): Likewise.
833 (sloww1): Likewise.
834 (sloww2): Likewise.
835 (bsloww1): Likewise.
836 (bsloww2): Likewise.
837 (cslow2): Likewise.
838 (csloww1): Likewise.
839 (csloww2): Likewise.
840
6cce25f8
SP
841 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
842 function.
843 (__sin): Use it.
844 (__cos): Likewise.
845
5eea0404
SP
846 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
847 gotos.
848 (__cos): Likewise.
849
9c21573c
MR
8502013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
851
852 * config.h.in (HAVE_MIPS_NAN2008): New macro.
853 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
854 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
855 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
856 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
857 * elf/cache.c (print_entry): Handle the new cache flags.
858
24d22e65
JM
8592013-09-18 Joseph Myers <joseph@codesourcery.com>
860 Aldy Hernandez <aldyh@redhat.com>
861
862 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
863 Change condition to [_SOFT_FLOAT].
864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
866 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
867 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
868 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
870 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
871 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
872 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
875 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
876 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
878 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
879 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
880 declaration.
881
d13ef066
JM
8822013-09-18 Joseph Myers <joseph@codesourcery.com>
883
2e071de0
JM
884 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
885 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
886 (__longjmp): Use LOAD_GP to load saved GPRs.
887 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
888 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
889 (__sigsetjmp): Use SAVE_GP to save GPRs.
890
d13ef066
JM
891 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
892 Do not append -msoft-float.
893 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
894
97a0650b
SP
8952013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
896
897 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
898
11ca09e9
JM
8992013-09-17 Joseph Myers <joseph@codesourcery.com>
900
901 [BZ #15966]
902 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
903 (_FPU_GETCW): Use initial "__" on variable and field names but not
904 on macro parameter name.
905 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
906 parentheses around reference to macro parameter.
907
08ffcf34
RS
9082013-09-13 Richard Sandiford <richard@codesourcery.com>
909
910 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
911 prototype.
912 (ctype_startup): Use uint32_t in cast and sizeof for
913 ctype->charnames.
914
ae7080d3
JL
9152013-09-11 Jia Liu <proljc@gmail.com>
916
917 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
918 __daddr_t_defined.
919 [__FreeBSD__]: Likewise.
920
5905e7b3
OB
9212013-09-11 Ondřej Bílka <neleai@seznam.cz>
922
923 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
924 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
925 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
926 (strchr): Remove __strchr_sse42 ifunc selection.
927 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
928 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
929
b987c776
WN
9302013-09-11 Will Newton <will.newton@linaro.org>
931
932 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
933 parameter to RES. Remove hardcoded 1000 value.
934 * benchtests/bench-skeleton.c (main): Pass RES parameter
935 to TIMING_INIT and multiply result by 1000.
936
ddf985af
AZ
9372013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
938
939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
940
ffdd3181
AS
9412013-09-11 Andreas Schwab <schwab@suse.de>
942
943 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
944 if not defined.
945 (O_TMPFILE) [__USE_GNU]: Define.
946 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
947 Define.
948
b73ed247
WN
9492013-09-11 Will Newton <will.newton@linaro.org>
950
951 [BZ #15857]
952 * malloc/malloc.c (__libc_memalign): Check the value of bytes
953 does not overflow.
954
55e17aad
WN
9552013-09-11 Will Newton <will.newton@linaro.org>
956
957 [BZ #15856]
958 * malloc/malloc.c (__libc_valloc): Check the value of bytes
959 does not overflow.
960
1159a193
WN
9612013-09-11 Will Newton <will.newton@linaro.org>
962
963 [BZ #15855]
964 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
965 does not overflow.
966
5905e7b3 9672013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
968
969 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
970 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
971 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
972 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
973 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
974
cdfc721b
AM
9752013-09-10 Allan McRae <allan@archlinux.org>
976
aa04af00
AM
977 [BZ #15748]
978 * manual/arith.texi (Parsing of Floats): Clarify
979 cross-reference.
980
cdfc721b
AM
981 [BZ #15849]
982 * manual/install.texi (Running make install): Mention
983 --enable-pt-chown.
984 * INSTALL: Regenerated.
985
95e7cf29
MR
9862013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
987
988 * csu/init-first.c (_init): Remove the !SHARED condition around
989 FPU control word initialization.
990 * elf/dl-support.c (_dl_fpu_control): New variable.
991 (_dl_aux_init) <AT_FPUCW>: Initialize it.
992 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
993 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
994 * math/test-fpucw-static.c: New file.
995 * math/test-fpucw-ieee.c: New file.
996 * math/test-fpucw-ieee-static.c: New file.
997 * math/Makefile (tests): Add `test-fpucw-ieee' and
998 `$(tests-static)'.
999 (tests-static): New variable.
1000 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1001 dependency to...
1002 [($(build-shared),yes)]
1003 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1004 ... this.
1005 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1006 New dependency.
1007
83e43bf0
AM
10082013-09-09 Allan McRae <allan@archlinux.org>
1009
a9f5ce09
AM
1010 [BZ #15939]
1011 * manual/string.texi (Collation Functions): Fix typo in
1012 strcoll example.
1013 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1014
34829bc2
AM
1015 [BZ #15893]
1016 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1017
3932737d
AM
1018 [BZ #15892]
1019 * libio/memstream.c (open_memstream): Fix memory leak.
1020 * libio/wmemstream.c (open_wmemstream): Likewise.
1021
83e43bf0
AM
1022 [BZ #15895]
1023 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1024
0c66b8e9
WN
10252013-09-09 Will Newton <will.newton@linaro.org>
1026
1027 * malloc/Makefile: Add tst-realloc to tests.
1028 * malloc/tst-realloc.c: New file.
1029
f6b00fd1
AM
10302013-09-09 Allan McRae <allan@archlinux.org>
1031
1032 [BZ #15844]
1033 * COPYING: Update from GNU website to fix FSF address.
1034 * COPYING.LIB: Likewise.
1035
eec55e16
DM
10362013-09-06 David S. Miller <davem@davemloft.net>
1037
1038 * po/zh_TW.po: Update Chinese (traditional) translation from
1039 translation project.
1040
1ecbb381
RS
10412013-09-06 Richard Sandiford <richard@codesourcery.com>
1042 Joseph Myers <joseph@codesourcery.com>
1043
1044 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1045 "localeinfo.h".
1046 (obstack_chunk_alloc): New macro.
1047 (obstack_chunk_free): Likewise.
1048 (record_offset): New function.
1049 (init_locale_data): Likewise.
1050 (align_locale_data): Likewise.
1051 (add_locale_empty): Likewise.
1052 (add_locale_raw_data): Likewise.
1053 (add_locale_raw_obstack): Likewise.
1054 (add_locale_string): Likewise.
1055 (add_locale_wstring): Likewise.
1056 (add_locale_uint32): Likewise.
1057 (add_locale_uint32_array): Likewise.
1058 (add_locale_char): Likewise.
1059 (start_locale_structure): Likewise.
1060 (end_locale_structure): Likewise.
1061 (start_locale_prelude): Likewise.
1062 (end_locale_prelude): Likewise.
1063 (write_locale_data): Take locale_file structure rather than an
1064 iovec.
1065 * locale/programs/locfile.h: Include "obstack.h".
1066 (struct locale_file): Change to store locale file contents instead
1067 of header.
1068 (init_locale_data): New prototype.
1069 (align_locale_data): Likewise.
1070 (add_locale_empty): Likewise.
1071 (add_locale_raw_data): Likewise.
1072 (add_locale_raw_obstack): Likewise.
1073 (add_locale_string): Likewise.
1074 (add_locale_wstring): Likewise.
1075 (add_locale_uint32): Likewise.
1076 (add_locale_uint32_array): Likewise.
1077 (add_locale_char): Likewise.
1078 (start_locale_structure): Likewise.
1079 (end_locale_structure): Likewise.
1080 (start_locale_prelude): Likewise.
1081 (end_locale_prelude): Likewise.
1082 (write_locale_data): Update prototype.
1083 * locale/programs/3level.h (struct TABLE): Remove result field.
1084 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1085 Use new locale_file interface.
1086 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1087 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1088 * locale/programs/ld-address.c (address_output): Use new
1089 locale_file interface.
1090 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1091 NO_ADD_LOCALE.
1092 (collate_finish): Don't call collseq_table_finalize.
1093 (collate_output): Use new locale_file interface.
1094 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1095 in file.
1096 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1097 (TABLE): Move defines earlier in file.
1098 (ELEMENT): Likewise.
1099 (DEFAULT): Likewise.
1100 (wctrans_table_add): Move macro and inline function earlier in
1101 file.
1102 (struct wctype_table): Move type earlier in file.
1103 (add_locale_wctype_table): New static prototype.
1104 (struct locale_ctype_t): Use logical types instead of struct iovec
1105 pointers for members.
1106 (ctype_output): Use new locale_file interface.
1107 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1108 new locale_file interface.
1109 (allocate_arrays): Update for use of new locale_file interface.
1110 * locale/programs/ld-identification.c (identification_output): Use
1111 new locale_file interface.
1112 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1113 * locale/programs/ld-messages.c (messages_output): Likewise.
1114 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1115 * locale/programs/ld-name.c (name_output): Likewise.
1116 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1117 * locale/programs/ld-paper.c (paper_output): Likewise.
1118 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1119 * locale/programs/ld-time.c (time_output): Likewise.
1120
e029e2e5
AZ
11212013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1122
1123 * benchtests/Makefile: Add memrchr benchmark.
1124 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1125 benchmark as memrchr.
1126 * benchtests/bench-memrchr-ifunc.c: New file.
1127 * benchtests/bench-memrchr.c: New file.
1128
bbf6e8e4
WN
11292013-09-06 Will Newton <will.newton@linaro.org>
1130
1131 * benchtests/Makefile (string-bench): Add memcpy.
1132
6c82a2f8
CD
11332013-09-05 Carlos O'Donell <carlos@redhat.com>
1134 Cong Wang <amwang@redhat.com>
1135
1136 * sysdeps/unix/sysv/linux/bits/in.h
1137 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1138 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1139 before __USE_KERNEL_IPV6_DEFS uses.
1140 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1141 IPPROTO_BEETPH.
1142 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1143 sockaddr_in6, or ipv6_mreq.
1144
5430fc65
AZ
11452013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1146
1147 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1148 memory access for final bytes in some large inputs.
1149 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1150
4660856c
AZ
11512013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1152
1153 * string/test-memrchr.c: New file.
1154 * string/test-memrchr-ifunc.c: New file.
1155 * string/Makefile: Add new memrchr testcase.
1156
bb8ea713
MF
11572013-09-05 Mike Frysinger <vapier@gentoo.org>
1158
1159 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1160 fanotify_init returns EPERM.
1161
b92a20b5
JM
11622013-09-04 Joseph Myers <joseph@codesourcery.com>
1163
1164 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1165 errors.
1166 (top level): Treat second token from macro or constant entries for
1167 allowed headers as allowed.
1168 * include/complex.h: Condition internal declarations on
1169 [!_ISOMAC].
1170 * include/fenv.h: Condition include of <stdbool.h> and internal
1171 declarations on [!_ISOMAC].
7447ccd9
CL
1172
11732013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1174
3e181dda 1175 [BZ #15923]
7447ccd9
CL
1176 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1177
3f2e46a4
JM
11782013-09-04 Joseph Myers <joseph@codesourcery.com>
1179
1180 * configure.in (--enable-versioning): Remove configure option.
1181 (libc_cv_asm_symver_directive): Remove configure test.
1182 (libc_cv_ld_version_script_option): Likewise.
1183 (VERSIONING): Remove variable and AC_SUBST.
1184 (DO_VERSIONING): Remove AC_DEFINE.
1185 * configure: Regenerated.
1186 * config.h.in (DO_VERSIONING): Remove macro.
1187 * Makerules [$(versioning) = yes]: Change conditionals to
1188 [$(build-shared) = yes].
1189 * config.make.in (versioning): Remove variable.
1190 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1191 [$(build-shared) = yes].
1192 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1193 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1194 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1195 [$(build-shared) = yes].
1196 * extra-lib.mk [$(versioning) = yes]: Likewise.
1197 * hurd/Makefile [$(versioning) = yes]: Likewise.
1198 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1199 [SHARED].
1200 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1201 [SHARED].
1202 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1203 [SHARED && !NO_HIDDEN].
1204 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1205 [SHARED].
1206 [SHARED && DO_VERSIONING]: Likewise..
1207 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1208 [$(build-shared) = yes].
1209 * manual/install.texi (--disable-versioning): Remove
1210 documentation.
1211 * INSTALL: Regenerated.
1212 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1213 to [SHARED].
1214 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1215 [$(build-shared) = yes].
1216 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1217 * sysdeps/i386/i686/multiarch/strstr-c.c
1218 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1219 [SHARED && !NO_HIDDEN].
1220 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1221 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1222 * sysdeps/powerpc/powerpc32/dl-machine.c
1223 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1224 * sysdeps/powerpc/powerpc32/sysdep.h
1225 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1226 to [SHARED && PIC && !NO_HIDDEN].
1227 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1228 conditional to [SHARED].
1229
44558701
WN
12302013-09-04 Will Newton <will.newton@linaro.org>
1231
1232 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1233 * benchtests/bench-string.h: Include bench-timing.h instead
1234 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1235 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1236 call to HP_TIMING_DIFF_INIT.
1237 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1238 instead of hp-timing.h macros.
1239 * benchtests/bench-memchr.c: Likewise.
1240 * benchtests/bench-memcmp.c: Likewise.
1241 * benchtests/bench-memcpy.c: Likewise.
1242 * benchtests/bench-memmem.c: Likewise.
1243 * benchtests/bench-memmove.c: Likewise.
1244 * benchtests/bench-memset.c: Likewise.
1245 * benchtests/bench-rawmemchr.c: Likewise.
1246 * benchtests/bench-strcasecmp.c: Likewise.
1247 * benchtests/bench-strcasestr.c: Likewise.
1248 * benchtests/bench-strcat.c: Likewise.
1249 * benchtests/bench-strchr.c: Likewise.
1250 * benchtests/bench-strcmp.c: Likewise.
1251 * benchtests/bench-strcpy.c: Likewise.
1252 * benchtests/bench-strcpy_chk.c: Likewise.
1253 * benchtests/bench-strlen.c: Likewise.
1254 * benchtests/bench-strncasecmp.c: Likewise.
1255 * benchtests/bench-strncat.c: Likewise.
1256 * benchtests/bench-strncmp.c: Likewise.
1257 * benchtests/bench-strncpy.c: Likewise.
1258 * benchtests/bench-strnlen.c: Likewise.
1259 * benchtests/bench-strpbrk.c: Likewise.
1260 * benchtests/bench-strrchr.c: Likewise.
1261 * benchtests/bench-strspn.c: Likewise.
1262 * benchtests/bench-strstr.c: Likewise.
1263
cae16d66
WN
12642013-09-04 Will Newton <will.newton@linaro.org>
1265
1266 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1267
ffa3cd7f
JM
12682013-09-03 Joseph Myers <joseph@codesourcery.com>
1269
1270 [BZ #15427]
1271 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1272 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1273 * math/libm-test.inc (lgamma_test_data): Add more tests.
1274 * sysdeps/i386/fpu/libm-test-ulps: Update.
1275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1276
8f02859f
OB
12772013-09-03 Ondřej Bílka <neleai@seznam.cz>
1278
1279 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1281 Add ifunc.
1282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1283 Add strcmp-sse2-unaligned
1284 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1285
18d43716
MF
12862013-09-02 Mike Frysinger <vapier@gentoo.org>
1287
1288 * Versions.def (libc): Add GLIBC_2.19.
1289
ac444012
MF
12902013-09-02 Mike Frysinger <vapier@gentoo.org>
1291
1292 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1293 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1294
b7835e32
JM
12952013-09-02 Joseph Myers <joseph@codesourcery.com>
1296
1297 [BZ #14155]
1298 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1299 intermediate calculations in recurrence.
1300 (__ieee754_ynf): Likewise.
1301 * math/libm-test.inc (jn_test_data): Do not allow spurious
1302 underflow exception. Add more tests.
1303 (yn_test_data): Add more tests.
1304 * sysdeps/i386/fpu/libm-test-ulps: Update.
1305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1306
8220f4f0
OB
13072013-09-02 Ondřej Bílka <neleai@seznam.cz>
1308
1309 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1310
f24a6d08
OB
13112013-08-30 Ondřej Bílka <neleai@seznam.cz>
1312
1313 * csu/init-first.c: Fix then/than typos.
1314 * locale/programs/ld-collate.c: Likewise.
1315 * locale/programs/linereader.h: Likewise.
1316 * manual/charset.texi: Likewise.
1317 * manual/filesys.texi: Likewise.
1318 * manual/stdio.texi: Likewise.
1319 * manual/string.texi: Likewise.
1320 * stdlib/fmtmsg.c: Likewise.
1321 * sysdeps/i386/stpncpy.S: Likewise.
1322 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1323 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1324 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1325 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1326
382466e0
OB
13272013-08-30 Ondřej Bílka <neleai@seznam.cz>
1328
1329 * elf/dl-open.c: Fix typos.
1330 * iconvdata/gbbig5.c: Likewise.
1331 * iconvdata/iso-2022-jp.c: Likewise.
1332 * iconv/gconv_int.h: Likewise.
1333 * iconv/loop.c: Likewise.
1334 * nis/rpcsvc/nis.h: Likewise.
1335 * resolv/ns_name.c: Likewise.
1336 * stdio-common/vfscanf.c: Likewise.
1337 * streams/stropts.h: Likewise.
1338 * sunrpc/rpc_thread.c: Likewise.
1339 * sysdeps/i386/strpbrk.S: Likewise.
1340 * sysdeps/ieee754/k_standard.c: Likewise.
1341 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1342 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1343 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1344 * sysdeps/mach/hurd/profil.c: Likewise.
1345 * sysdeps/s390/dl-procinfo.h: Likewise.
1346 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1347 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1348 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1349 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1350 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1351
0186c6e9
OB
13522013-08-30 Ondřej Bílka <neleai@seznam.cz>
1353
1354 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1355 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1356
d4e16af1
OB
13572013-08-29 Ondřej Bílka <neleai@seznam.cz>
1358
1359 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1360 aix specific files.
1361 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1362 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1363 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1364 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1365 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1366 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1367 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1368 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1369
88335980
TS
13702013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1371 Roland McGrath <roland@hack.frob.com>
1372
1373 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1374 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1375
ed479b02
ST
13762013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1377
1378 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1379 __executable_start symbol instead of _start.
1380
f1cc4c86
TS
13812013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1382
d821f07c
TS
1383 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1384 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1385 Move macros to...
1386 * sysdeps/gnu/ldsodefs.h: ... this new file.
1387
c54290cf
TS
1388 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1389 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1390 instead of ELFOSABI_LINUX.
1391
0007fc9b 1392 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1393 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1394 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1395 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1396 Likewise.
1397 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1398 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1399 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1400 Likewise.
1401 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1402 (ibm_extended_long_double): Add ieee_nan member.
1403 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1404 (do_test): New function.
1405
f1cc4c86
TS
1406 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1407 TEST_TRUNC.
1408 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1409 functions, renamed from truncdfsf_test, trunctfsf_test,
1410 trunctfdf_test.
1411 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1412 functions.
1413 (do_test): Run all these.
1414
6f65e668
OB
14152013-08-29 Ondřej Bílka <neleai@seznam.cz>
1416
1417 * argp/argp-help.c: Fix typos.
1418 * argp/argp-parse.c: Likewise.
1419 * debug/backtracesyms.c: Likewise.
1420 * elf/elf.h: Likewise.
1421 * malloc/malloc.c: Likewise.
1422 * nis/nis_print.c: Likewise.
1423 * resolv/res_comp.c: Likewise.
1424 * stdlib/stdlib.h: Likewise.
1425 * sunrpc/clnt_tcp.c: Likewise.
1426 * sunrpc/clnt_udp.c: Likewise.
1427 * sunrpc/clnt_unix.c: Likewise.
1428 * sysdeps/unix/bsd/ptsname.c: Likewise.
1429 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1430 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1432 Likewise.
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1434 Likewise.
1435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1436 Likewise.
6f65e668
OB
1437 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1438
3a309239
SP
14392013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1440
1441 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1443
3b813b29
MF
14442013-08-27 Mike Frysinger <vapier@gentoo.org>
1445
1446 [BZ #15897]
1447 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1448 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1449 ($(objpfx)bug-dl-leaf): New rule.
1450 ($(objpfx)bug-dl-leaf.so): Likewise.
1451 ($(objpfx)bug-dl-leaf.out): Likewise.
1452 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1453 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1454 * dlfcn/bug-dl-leaf.c: New test.
1455 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1456 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1457 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1458 (dlclose): Likewise.
1459 (dlmopen): Likewise.
1460
8cc3269f
RM
14612013-08-27 Roland McGrath <roland@hack.frob.com>
1462
7f9d0034
RM
1463 * include/netdb.h [!_ISOMAC]:
1464 Don't include <tls.h>.
1465 (h_errno, __libc_h_errno): Move declaration and macros out of
1466 [_LIBC_REENTRANT].
1467
fb431262
RM
1468 * include/resolv.h [_RESOLV_H_]:
1469 Don't include <tls.h>.
1470 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1471 * resolv/res_libc.c: Don't include <tls.h>.
1472 (_res): Use __attribute__ ((nocommon)) in place of
1473 __attribute__ ((section (".bss"))).
1474
bd81123a
RM
1475 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1476 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1477
c4e42566
RM
1478 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1479
f890a59b
RM
1480 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1481 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1482
1483 * resolv/res_mkquery.c: Include <sys/time.h>.
1484
5d1f0a09
RM
1485 * inet/ifreq.c: Moved to ...
1486 * sysdeps/unix/ifreq.c: ... here.
1487 * inet/ifreq.c: New file, true stub version.
1488
6fcf28b3
RM
1489 * socket/sa_len.c: New file.
1490 * socket/Makefile (aux): Add it.
1491 * sysdeps/unix/sysv/linux/Makefile
1492 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1493 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1494 and #include <socket/sa_len.c>.
1495 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1496 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1497
e041fb8b
RM
1498 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1499 * bits/socket.h: ... here.
1500
8cc3269f
RM
1501 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1502 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1503 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1504
5d228a43
AS
15052013-08-27 Andreas Schwab <schwab@suse.de>
1506
45b8accc
AS
1507 [BZ #15736]
1508 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1509 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1510 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1511 * string/test-strcasecmp.c (test_main): Run tests in several
1512 locales.
1513 * string/test-strncasecmp.c (test_main): Likewise.
1514
5d228a43
AS
1515 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1516 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1517 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1518 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1519 (__strncasecmp_ssse3) [PIC]: Likewise.
1520
59d112a4
RM
15212013-08-26 Roland McGrath <roland@hack.frob.com>
1522
53234cc3
RM
1523 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1524
59d112a4
RM
1525 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1526 instead of explicitly declaring xdecrypt.
1527 * nis/nss_nis/nis-publickey.c: Likewise.
1528
595aba70
SP
15292013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1530
1531 [BZ #15890]
1532 * nscd/aicache.c: Include res_hconf.h.
1533 (addhstaiX): Initialize res_hconf.
1534
ffabd393
AS
15352013-08-26 Andreas Schwab <schwab@suse.de>
1536
1537 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1538 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1539
e0a69f5c
SP
15402013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1541
1542 * nscd/aicache.c (addhstaiX): Fix indentation.
1543
8c12f01d
MF
15442013-08-25 Mike Frysinger <vapier@gentoo.org>
1545
1546 * configure.ac: Quote $build_pt_chown test.
1547 * configure: Regenerated.
1548
8fe89494
JM
15492013-08-23 Joseph Myers <joseph@codesourcery.com>
1550
1551 [BZ #15532]
1552 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1553 * math/s_cexpf.c (__cexpf): Likewise.
1554 * math/s_cexpl.c (__cexpl): Likewise.
1555 * math/libm-test.inc (cexp_test_data): Correct expected return
1556 value for NaN + i0. Add another test.
1557
75b181d6
DM
15582013-08-22 David S. Miller <davem@davemloft.net>
1559
1560 * po/ca.po: Update Catalan translation from translation project.
936241e4 1561 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1562
acd06bb1
JM
15632013-08-21 Joseph Myers <joseph@codesourcery.com>
1564
1565 [BZ #15797]
1566 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1567 is infinite, not alongside NaN test.
1568 * math/s_fdimf.c (__fdimf): Likewise.
1569 * math/s_fdiml.c (__fdiml): Likewise.
1570 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1571 errno is unchanged.
1572
c0c3f78a
OB
15732013-08-21 Ondřej Bílka <neleai@seznam.cz>
1574
1575 * argp/argp-help.c: Fix typos.
1576 * crypt/speeds.c: Likewise.
1577 * csu/check_fds.c: Likewise.
1578 * elf/dl-load.c: Likewise.
1579 * elf/dl-open.c: Likewise.
1580 * elf/reldep3.c: Likewise.
1581 * elf/reldep.c: Likewise.
1582 * elf/sprof.c: Likewise.
1583 * iconv/iconv_charmap.c: Likewise.
1584 * iconv/skeleton.c: Likewise.
1585 * iconv/strtab.c: Likewise.
1586 * io/lockf64.c: Likewise.
1587 * libio/libioP.h: Likewise.
1588 * resolv/gai_notify.c: Likewise.
1589 * resolv/ns_name.c: Likewise.
1590 * resolv/ns_samedomain.c: Likewise.
1591 * resolv/res_send.c: Likewise.
1592 * stdlib/random.c: Likewise.
1593 * sunrpc/rpc/xdr.h: Likewise.
1594 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1595 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1596 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1597 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1598 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1599 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1600 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1601 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1602 * sysdeps/mach/hurd/check_fds.c: Likewise.
1603 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1604 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1605 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1606 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1607 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1608 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1609 * sysdeps/pthread/aio_notify.c: Likewise.
1610 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1611 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1612 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1613 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1614 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1615
46ed1038
LD
16162013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1617
1618 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1619 version if bit_Slow_SSE4_2 is set.
1620 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1621 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1622
d400dcac
AZ
16232013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1624
1625 [BZ #15867]
1626 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1627 trampoline stack frame information.
1628 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1629 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1630 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1631 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1632 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1633 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1634 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1635 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1636 sa_flags value.
1637 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1638 interrupting a syscall and set with option SA_SIGINFO.
1639
42c8fdd8
JM
16402013-08-20 Joseph Myers <joseph@codesourcery.com>
1641
c980f2f4
JM
1642 [BZ #15531]
1643 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1644 argument is infinite.
1645 * math/s_cprojf.c (__cprojf): Likewise.
1646 * math/s_cprojl.c (__cprojl): Likewise.
1647 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1648 * math/libm-test.inc (cproj_test_data): Add more tests.
1649
0716c4fc
JM
1650 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1651
42c8fdd8
JM
1652 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1653 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1654 size. Use __ffs to determine corresponding shift.
1655
b31469d0
JM
16562013-08-20 Joseph Myers <joseph@codesourcery.com>
1657 Roland McGrath <roland@hack.frob.com>
1658
1659 * Makefile (INSTALL): Remove trailing blank lines from output of
1660 makeinfo.
1661
4e39af6e
AK
16622013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1663
1664 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1665 Align 32 bit compat elf_greg to 8 bytes.
1666
f315524e
AA
16672013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1668
1669 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1670
1326ba1a
SP
16712013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1672
1673 * string/strcoll_l.c (coll_seq): New structure.
1674 (get_next_seq_cached): New function.
1675 (get_next_seq): New function.
1676 (do_compare): New function.
1677 (STRCOLL): Use GNU style definition. Simplify implementation
1678 by using get_next_seq, get_next_seq_cached and do_compare.
1679
91ce4085
FW
16802013-08-16 Florian Weimer <fweimer@redhat.com>
1681
1682 [BZ #14699]
1683 CVE-2013-4237
1684 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1685 member.
1686 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1687 member.
1688 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1689 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1690 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1691 conditional.
1692 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1693 GETDENTS_64BIT_ALIGNED.
1694 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1695 * manual/filesys.texi (Reading/Closing Directory): Document
1696 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1697 strongly.
1698 * manual/conf.texi (Limits for Files): Add portability note to
1699 NAME_MAX, PATH_MAX.
1700 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1701
ca0a6bc4
AS
17022013-08-13 Andreas Schwab <schwab@suse.de>
1703
1704 [BZ #15749]
1705 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1706 of fabs.
1707 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1708 LDBL_MAX_EXP >= 16384]: Add tests for it.
1709
6c1fd795
DM
17102013-08-12 David S. Miller <davem@davemloft.net>
1711
1712 * version.h (RELEASE): Set to "development".
1713 (VERSION): Set to "2.18.90".
1714 * NEWS: Add 2.19 section.
1715
31ad488d
DM
17162013-08-03 David S. Miller <davem@davemloft.net>
1717
1718 * po/ko.po: Update Korean translation from translation project.
1719
db24e684
DM
17202013-08-01 David S. Miller <davem@davemloft.net>
1721
1722 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1723 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1724 Bilka.
1725
f723285b
DM
17262013-07-30 David S. Miller <davem@davemloft.net>
1727
1728 * po/fr.po: Update French translation from translation project.
1729
3cbc52db
DM
17302013-07-28 David S. Miller <davem@davemloft.net>
1731
30bbc0cc
DM
1732 * po/cs.po: Update Czech translation from translation project.
1733
3cbc52db
DM
1734 * po/sv.po: Update Swedish translation from translation project.
1735
d492e6d0
DM
17362013-07-27 David S. Miller <davem@davemloft.net>
1737
f1a7f492
DM
1738 * po/eo.po: Update Esperanto translation from translation project.
1739
90e62a4a
DM
1740 * po/vi.po: Update Vietnamese translation from translation project.
1741
d492e6d0
DM
1742 * po/de.po: Update German translation from translation project.
1743
d4baa62d
DM
17442013-07-26 David S. Miller <davem@davemloft.net>
1745
641aa7b4
DM
1746 * po/bg.po: Update Bulgarian translation from translation project.
1747
d4baa62d
DM
1748 * po/nl.po: Update Dutch translation from translation project.
1749 * po/pl.po: Update Polish translation from translation project.
1750 * po/ru.po: Update Russian translation from translation project.
1751
61a9dcb9
DM
17522013-07-24 David S. Miller <davem@davemloft.net>
1753
1754 * po/libc.pot: Update.
1755
7b1f8b58
AZ
17562013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1757
1758 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1759 variable page size.
1760 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1761 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1762 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1763
a8fc7a03
AK
17642013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1765
1766 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1767
e4608715
CD
17682013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1769 Andreas Schwab <schwab@suse.de>
1770 Roland McGrath <roland@hack.frob.com>
1771 Joseph Myers <joseph@codesourcery.com>
1772 Carlos O'Donell <carlos@redhat.com>
1773
1774 [BZ #15755]
1775 * config.h.in: Define HAVE_PT_CHOWN.
1776 * config.make.in (build-pt-chown): New variable.
1777 * configure.in (--enable-pt_chown): New configure option.
1778 * configure: Regenerate.
1779 * login/Makefile: Include Makeconfig. Build pt_chown only if
1780 build-pt-chown is enabled.
1781 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1782 pt_chown to fix pty ownership.
1783 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1784 CLOSE_ALL_FDS.
1785 * manual/install.texi (Configuring and compiling): Mention
1786 --enable-pt_chown. Add @findex for grantpt.
1787 * INSTALL: Regenerate.
1788
da2d62df
DM
17892013-07-20 David S. Miller <davem@davemloft.net>
1790
1791 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1792 difference between 32-bit and 64-bit.
1793
d7e06450
CD
17942013-07-15 Carlos O'Donell <carlos@redhat.com>
1795
1796 [BZ #15711]
1797 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1798 Avoid system header dependency with -ffreestanding.
1799 ($(objpfx)bits/syscall%d): Likewise.
1800
f959cfd7
DM
18012013-07-13 David S. Miller <davem@davemloft.net>
1802
1803 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1804 underflows from atanl/atan2l due to bug 15319.
1805 (casinh_test_data): Likewise.
1806
c61f8513
DM
18072013-07-07 David S. Miller <davem@davemloft.net>
1808
1809 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1810
72c90ed0
JA
18112013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1812
1813 * sysdeps/i386/fpu/libm-test-ulps: Update.
1814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1815
52dfbe13
SP
18162013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1817
1818 * configure.in (--enable-lock-elision): Fix message text.
1819 * INSTALL: Regenerate.
1820 * configure: Regenerate.
1821
3f169543
AZ
18222013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823
1824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1825
521c6785
AJ
18262013-07-03 Andreas Jaeger <aj@suse.de>
1827
1828 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1829 define.
1830 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1831 (ptrace_peeksiginfo_args): Add.
1832 (__ptrace_peeksiginfo_flags): Add.
1833 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1834 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1835 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1836
d2cc15cb
AM
18372013-07-03 Allan McRae <allan@archlinux.org>
1838
1839 * sysdeps/i386/fpu/libm-test-ulps: Update.
1840
3aaeeca7
DM
18412013-07-02 David S. Miller <davem@davemloft.net>
1842
1843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1844
5314ed1a
MT
18452013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1846
1847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1848
67338156
JM
18492013-07-02 Joseph Myers <joseph@codesourcery.com>
1850
1851 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1853
1717da59
AK
18542013-07-02 Andi Kleen <ak@linux.intel.com>
1855
1856 * config.h.in (ENABLE_LOCK_ELISION): Add.
1857 * configure.in (--enable-lock-elision): Add option.
1858 * manual/install.texi: Document --enable lock elision.
1859 * configure: Regenerate
1860 * INSTALL: Regenerate.
1861
1c81621c
L
18622013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1863
1864 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1865 SSE4.2 strcasecmp for libc.a.
1866 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1867
77f01ab5
JM
18682013-07-02 Joseph Myers <joseph@codesourcery.com>
1869
1870 [BZ #13304]
1871 * soft-fp/op-common.h (_FP_FMA): New macro.
1872 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1873 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1874 (_FP_MUL_MEAT_1_imm): ... here.
1875 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1876 (_FP_MUL_MEAT_1_wide): ... here.
1877 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1878 (_FP_MUL_MEAT_1_hard): ... here.
1879 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1880 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1881 (_FP_MUL_MEAT_2_wide): ... here.
1882 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1883 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1884 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1885 (_FP_MUL_MEAT_2_gmp): ... here.
1886 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1887 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1888 (_FP_MUL_MEAT_4_wide): ... here.
1889 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1890 (_FP_MUL_MEAT_4_gmp): ... here.
1891 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1892 (_FP_WFRACBITS_DW_S): Likewise.
1893 (_FP_WFRACXBITS_DW_S): Likewise.
1894 (_FP_HIGHBIT_DW_S): Likewise.
1895 (FP_FMA_S): Likewise.
1896 (_FP_FRAC_HIGH_DW_S): Likewise.
1897 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1898 (_FP_WFRACBITS_DW_D): Likewise.
1899 (_FP_WFRACXBITS_DW_D): Likewise.
1900 (_FP_HIGHBIT_DW_D): Likewise.
1901 (FP_FMA_D): Likewise.
1902 (_FP_FRAC_HIGH_DW_D): Likewise.
1903 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1904 (_FP_WFRACBITS_DW_E): Likewise.
1905 (_FP_WFRACXBITS_DW_E): Likewise.
1906 (_FP_HIGHBIT_DW_E): Likewise.
1907 (FP_FMA_E): Likewise.
1908 (_FP_FRAC_HIGH_DW_E): Likewise.
1909 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1910 (_FP_WFRACBITS_DW_Q): Likewise.
1911 (_FP_WFRACXBITS_DW_Q): Likewise.
1912 (_FP_HIGHBIT_DW_Q): Likewise.
1913 (FP_FMA_Q): Likewise.
1914 (_FP_FRAC_HIGH_DW_Q): Likewise.
1915 * soft-fp/fmasf4.c: New file.
1916 * soft-fp/fmadf4.c: Likewise.
1917 * soft-fp/fmatf4.c: Likewise.
1918
6308fd9a
LD
19192013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1920
1921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1922 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1923 Silvermont.
1924 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1925 macro.
1926 (index_Slow_SSE4_2): Likewise.
1927 (index_Prefer_PMINUB_for_stringop): Likewise.
1928 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1929 bit_Slow_SSE4_2 is set.
1930 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1931 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1932
89cd9569
RA
19332013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1934
1935 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1936 rtld_global._dl_hwcap2.
1937 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1938 POWER8.
1939 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1940 POWER8 feature descriptions defined in _dl_hwcap2.
1941 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1942 string handling for POWER8 feature bits.
1943 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1944 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1945 _dl_powerpc_cap_flags.
1946 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1947 * sysdeps/powerpc/rtld-global-offsets.sym
1948 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1949 _dl_hwcap2 in the rtld_global_ro structure.
1950
1ae8bfe0
RA
19512013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1952
1953 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1954 hardware capabilities in support of AT_HWCAP2.
1955 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1956 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1957 GLRO(dl_hwcap2).
1958 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1959 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1960 explicitly the unknown a_type display mechanism is used.
1961 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1962 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1963 struct member.
1964 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1965 to macro prototype for AT_HWCAP2 support.
1966 * sysdeps/i386/dl-procinfo.h: Likewise.
1967 * sysdeps/s390/dl-procinfo.h: Likewise.
1968 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1969 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1970 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1971 return -1 for unknown a_type display fallback.
1972 * sysdeps/sparc/dl-procinfo.h: Likewise.
1973 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1974 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1975
8fbec010
JM
19762013-06-28 Joseph Myers <joseph@codesourcery.com>
1977
1978 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1979 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1980
0432680e
PY
19812013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1982
1983 [BZ #12492]
1984 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1985 mprotect making __stack_prot writable.
1986
ce61a2ad
NF
19872013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1988 Joseph Myers <joseph@codesourcery.com>
1989
1990 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1991 as being properly aligned.
1992
f91f1c0f
MR
19932013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1994
3d0f5d0c
MR
1995 * dlfcn/modstatic5.c: New file.
1996 * dlfcn/tststatic5.c: New file.
1997 * dlfcn/Makefile (tests): Add tststatic5.
1998 (tests-static): Likewise.
1999 (modules-names): Add modstatic5.
2000 (tststatic5-ENV): New variable.
2001 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2002
f91f1c0f
MR
2003 [BZ #15022]
2004 * elf/dl-support.c (_dl_main_map): New variable.
2005 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2006 (_dl_nns, _dl_load_adds): Set to 1.
2007 (_dl_initial_searchlist): Refer to _dl_main_map.
2008 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2009 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2010 call to _dl_get_origin.
2011 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2012 around call_map.
2013 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2014 * dlfcn/modstatic3.c: New file.
2015 * dlfcn/tststatic3.c: New file.
2016 * dlfcn/tststatic4.c: New file.
2017 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2018 (tests-static): Likewise.
2019 (modules-names): Add modstatic3.
2020 (tststatic3-ENV, tststatic4-ENV): New variables.
2021 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2022 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2023
cbe7d24b
JM
20242013-06-26 Joseph Myers <joseph@codesourcery.com>
2025
2026 * configure.in (CC): Require GCC version 4.4 or later.
2027 * configure: Regenerated.
2028 * manual/install.texi (Tools for Compilation): Update GCC version
2029 requirement.
2030 * INSTALL: Regenerated.
2031
11b8a0e1
LD
20322013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2033
2034 [BZ #15674]
bb5bb87c
L
2035 * string/test-memcmp.c (check2): New.
2036 (main): Call check2.
2037
11b8a0e1
LD
2038 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2039
b0037103
MR
20402013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2041
2042 [BZ #15022]
2043 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2044 over to...
2045 (dl_open_worker) [!SHARED]: ... here.
2046
c18c701d
RA
20472013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2048
2049 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2050
1d17fa5f
RH
20512013-06-25 Richard Henderson <rth@redhat.com>
2052
2053 * locale/programs/locarchive.c: Include <libc-internal.h>
2054
8fcb833a
JM
20552013-06-25 Joseph Myers <joseph@codesourcery.com>
2056
2057 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2058 trailing whitespace removed.
2059
17db6e8d
MF
20602013-06-24 Mike Frysinger <vapier@gentoo.org>
2061
2062 [BZ #10283]
17db6e8d
MF
2063 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2064 * locale/programs/locarchive.c: Include libc-mmap.h.
2065 (prepare_address_space): Take two new outputs (the mmap base and len).
2066 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2067 values.
2068 (create_archive): Declare new mmap base and len values for
2069 prepare_address_space, and store the result in ah.
2070 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2071 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2072 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2073 Declare new mmap base and len values for
2074 prepare_address_space, and store the result in new_ah.
2075 (open_archive): Declare new mmap base and len values for
2076 prepare_address_space, and store the result in ah.
2077 (close_archive): If ah->mmap_base is not NULL, use that and
2078 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2079 * sysdeps/generic/libc-mmap.h: New file.
2080
d605071e
MF
20812013-06-24 Mike Frysinger <vapier@gentoo.org>
2082
2083 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2084 (ALIGN_UP): Likewise.
2085 (PTR_ALIGN_DOWN): Likewise.
2086 (PTR_ALIGN_UP): Likewise.
2087
2f063a6e
RA
20882013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2089
2090 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2091 entry mapped to PPC_PLATFORM_POWER8.
2092 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2093 POWER8.
2094 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2095 (_dl_string_platform): Add case for exporting platform position for
2096 POWER8.
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2098 search path to sysdeps/powerpc/powerpc32/power8 directory.
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2100 search path to sysdeps/powerpc/powerpc64/power8 directory.
2101 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2102 power7 directories.
2103 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2104 power7 directories.
2105
a31ee4b3
SP
21062013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2107
a74ca98f
SP
2108 * INSTALL: Regenerate.
2109
a31ee4b3
SP
2110 * nscd/connections.c (nscd_init): Fix comment.
2111
695c378f
JM
21122013-06-22 Joseph Myers <joseph@codesourcery.com>
2113
d8412221
JM
2114 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2115
695c378f
JM
2116 [BZ #15667]
2117 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2118 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2119
d1d54715
MR
21202013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2121
2122 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2123 DL_DST_REQ_STATIC.
2124 (DL_DST_REQ_STATIC): Remove macro.
2125
8fdda7af
JM
21262013-06-21 Joseph Myers <joseph@codesourcery.com>
2127
2128 [BZ #7006]
2129 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2130 with a shift of 0 bits.
2131
f3bc5e5a
MR
21322013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2133
2134 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2135 $(tststatic-ENV).
2136
be09e8c9
KK
21372013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2138
2139 [BZ #15655]
2140 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2141
85c2e611
AZ
21422013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2143
2144 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2145 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2146 accepts -fno-tree-loop-distribute-patterns.
2147 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2148 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2149 recursive call.
2150 * string/memset.c (memset): Likewise.
2151 * string/test-memmove.c (simple_memmove): Disable loop transformation
2152 to library calls.
2153 * string/test-memset.c (simple_memset): Likewise.
2154 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2155 * benchtests/bench-memset.c (simple_memset): Likewise.
2156 * configure: Regenerated.
2157
c91e0825
JM
21582013-06-20 Joseph Myers <joseph@codesourcery.com>
2159
b8c792af
JM
2160 * math/test-misc.c (main): Ignore fesetround failure when failures
2161 of subsequent rounding tests would be ignored.
2162
c91e0825
JM
2163 [BZ #15654]
2164 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2165 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2166 * math/fegetenv.c (__fegetenv): Return 0.
2167 * math/fegetexcept.c (fegetexcept): Return 0.
2168 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2169 FE_TONEAREST.
2170 * math/feholdexcpt.c (feholdexcept): Return 0.
2171 * math/fesetenv.c (__fesetenv): Return 0.
2172 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2173 argument FE_TONEAREST.
2174 * math/feupdateenv.c (__feupdateenv): Return 0.
2175 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2176
bfcacbde
RM
21772013-06-18 Roland McGrath <roland@hack.frob.com>
2178
2179 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2180 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2181 ($(objpfx)rtld-%.os rules): Use them.
2182
e55a9b25
AZ
21832013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2184
2185 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2186 fields.
2187
346d65b3
RM
21882013-06-17 Roland McGrath <roland@hack.frob.com>
2189
12086fb4
RM
2190 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2191 length of target pattern, then descending length of dependency pattern.
2192 * configure.in (AWK): Require gawk 3.1.2 or newer.
2193 * manual/install.texi (Tools for Compilation): Say that we do.
2194 * configure: Regenerated.
2195
346d65b3
RM
2196 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2197 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2198 * scripts/sysd-rules.awk: ... this new script.
2199 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2200 than a glob-style pattern.
2201
1a846317
JM
22022013-06-17 Joseph Myers <joseph@codesourcery.com>
2203
2204 * math/test-misc.c (main): Do not treat incorrectly rounded
2205 conversions as failure unless ROUNDING_TESTS passes.
2206
8fc75e6f
JM
22072013-06-15 Joseph Myers <joseph@codesourcery.com>
2208
3711a167
JM
2209 [BZ #15631]
2210 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2211 restore exception state around main square root computation, then
2212 check for inexactness explicitly.
2213
8fc75e6f
JM
2214 * math/libm-test.inc (fma_test_data): Add another test.
2215
61dd6208
SP
22162013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2217
adf23d2c
SP
2218 * manual/threads.texi (Non-POSIX Extensions): New document
2219 node. Document pthread_getattr_default_np and
2220 pthread_setattr_default_np.
2221
61dd6208
SP
2222 * Versions.def (libpthread): Add GLIBC_2.18.
2223 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2225 Likewise.
2226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2227 Likewise.
2228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2229 Likewise.
2230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2231 Likewise.
2232 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2233 Likewise.
2234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2235 Likewise.
2236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2237 Likewise.
2238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2239 Likewise.
2240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2241 Likewise.
2242
d086fc7b
LD
22432013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2244
2245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2246 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2247
747ef469
SP
22482013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2249 H.J. Lu <hjl.tools@gmail.com>
2250
2251 [BZ #15627]
2252 * sysdeps/x86_64/rtld-memset.c: Remove file.
2253 * sysdeps/x86_64/rtld-memset.S: New file.
2254
1b2feed2
JM
22552013-06-14 Joseph Myers <joseph@codesourcery.com>
2256
2257 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2258 (test_in_one_mode): Take arguments for whether the rounding mode
2259 is supported for each floating-point type.
2260 (do_test): Pass new arguments to test_in_one_mode using
2261 ROUNDING_TESTS.
2262
a58ad3f8
RM
22632013-06-13 Roland McGrath <roland@hack.frob.com>
2264
2265 * posix/tst-waitid.c (do_test): Distinguish different instances of
2266 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2267 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2268 before entering the kernel for waitpid.
2269
c204ab28
SP
22702013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2271
2272 * NEWS: Fix note on clock function precision. Text by Roland
2273 McGrath.
2274
f4a29fba
RM
22752013-06-13 Roland McGrath <roland@hack.frob.com>
2276
2277 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2278 it into place only when and if the sanity check passes.
2279
1f24b9ad
JM
22802013-06-13 Joseph Myers <joseph@codesourcery.com>
2281
2282 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2283 output for whether conversion result is exact. Take argument
2284 indicating whether type is IBM long double.
2285 (round_for_all): Change need_exact field to ibm_ld.
2286 * stdlib/tst-strtod-round.c (struct exactness): New type.
2287 (struct test): Change bool ld_ok field to struct exactness exact.
2288 (TEST): Update all definitions for change to field.
2289 (tests): Regenerate array contents.
2290 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2291 field value. Check for IBM long double here.
2292 (do_test): Update calls to test_in_one_mode.
2293
58206c68
SP
22942013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2295
2296 [BZ #12515]
2297 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2298 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2299
2d6f4c5b 23002013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
2301
2302 [BZ #15605]
2303 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2304 generated by the compiler on loop optimizations.
2305 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2306 general definitions.
2307
94f2c076
JM
23082013-06-12 Joseph Myers <joseph@codesourcery.com>
2309
2310 * math/bug-nextafter.c: Include <math-tests.h>.
2311 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2312 the relevant type.
2313 * math/bug-nexttoward.c: Include <math-tests.h>.
2314 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2315 the relevant type.
2316 * math/test-misc.c: Include <math-tests.h>.
2317 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2318 the relevant type.
2319
e0e50a0a
AJ
23202013-06-12 Andreas Jaeger <aj@suse.de>
2321
2322 * po/ia.po: Update Interlingua translation from translation
2323 project.
2324
25061094
SP
23252013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2326
2327 * include/fenv.h: Include stdbool.h.
2328 (struct rm_ctx): New structure.
2329 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2330 Define macro.
2331 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2332 (SET_RESTORE_ROUNDF): Likewise.
2333 (SET_RESTORE_ROUNDL): Likewise.
2334 (SET_RESTORE_ROUND_NOEX): Likewise.
2335 (SET_RESTORE_ROUND_NOEXF): Likewise.
2336 (SET_RESTORE_ROUND_NOEXL): Likewise.
2337 (SET_RESTORE_ROUND_53BIT): Likewise.
2338 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2339 (libc_feresetround_noexf_ctx): Likewise.
2340 (libc_feresetround_noexl_ctx): Likewise.
2341 (libc_feholdsetround_53bit_ctx): Likewise.
2342 (libc_feresetround_53bit_ctx): Likewise.
2343 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2344 (libc_feholdexcept_setround_sse_ctx): New function.
2345 (libc_fesetenv_sse_ctx): Likewise.
2346 (libc_feupdateenv_sse_ctx): Likewise.
2347 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2348 (libc_feholdexcept_setround_387_ctx): Likewise.
2349 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2350 (libc_feholdsetround_387_prec_ctx): Likewise.
2351 (libc_feholdsetround_387_ctx): Likewise.
2352 (libc_feholdsetround_387_53bit_ctx): Likewise.
2353 (libc_feholdsetround_sse_ctx): Likewise.
2354 (libc_feresetround_sse_ctx): Likewise.
2355 (libc_feresetround_387_ctx): Likewise.
2356 (libc_feupdateenv_387_ctx): Likewise.
2357 (libc_feholdexcept_setroundf_ctx): Define macro.
2358 (libc_fesetenvf_ctx): Likewise.
2359 (libc_feupdateenvf_ctx): Likewise.
2360 (libc_feholdsetroundf_ctx): Likewise.
2361 (libc_feresetroundf_ctx): Likewise.
2362 (libc_feholdexcept_setround_ctx): Likewise.
2363 (libc_fesetenv_ctx): Likewise.
2364 (libc_feupdateenv_ctx): Likewise.
2365 (libc_feholdsetround_ctx): Likewise.
2366 (libc_feresetround_ctx): Likewise.
2367 (libc_feholdexcept_setroundl_ctx): Likewise.
2368 (libc_feupdateenvl_ctx): Likewise.
2369 (libc_feholdsetroundl_ctx): Likewise.
2370 (libc_feresetroundl_ctx): Likewise.
2371 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2372 (libc_feresetround_53bit_ctx): Likewise.
2373
59b30555
SP
23742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2375
2376 * locale/iso-639.def: Convert to UTF-8.
2377
f1d73d30
JM
23782013-06-11 Joseph Myers <joseph@codesourcery.com>
2379
2380 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2381 (EXCEPTION_TESTS_double): Likewise.
2382 (EXCEPTION_TESTS_long_double): Likewise.
2383 (EXCEPTION_TESTS): Likewise.
2384 * math/libm-test.inc (test_exceptions): Only test exceptions if
2385 EXCEPTION_TESTS (FLOAT).
2386
94aca5e7
SP
23872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2388
2389 * benchtests/Makefile (string-bench): Add strcpy_chk and
2390 stpcpy_chk.
2391 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2392 * benchtests/bench-stpcpy_chk.c: New file.
2393 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2394 * benchtests/bench-strcpy_chk.c: New file.
2395 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2396 code.
2397 (do_test): Likewise.
2398
fac0c5f2
RA
23992013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2400
2401 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2402 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2403 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2404 with tabs where appropriate.
2405 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2406 dl-procinfo.h.
2407 [PPC_PLATFORM_PPC440]: Likewise.
2408 [PPC_PLATFORM_PPC464]: Likewise.
2409 [PPC_PLATFORM_PPC476]: Likewise.
2410 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2411 ppc464, and ppc476 platform strings merging from ports/
2412 dl-procinfo.h.
2413
f22bc486
AS
24142013-06-11 Andreas Schwab <schwab@suse.de>
2415
2416 [BZ #14991]
2417 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2418 (from_ucs4_idx): Regenerate.
2419 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2420 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2421 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2422 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2423 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2424 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2425 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2426 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2427 from FROM_LOOP and TO_LOOP specific macros.
2428 (BODY): Handle combining characters.
2429 * iconvdata/BIG5HKSCS.irreversible: Update.
2430 * iconvdata/BIG5HKSCS.precomposed: New file.
2431 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2432 characters.
2433 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2434
c1f75dc3
SP
24352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2436
4eacded2
SP
2437 * include/sys/time.h: Fix indentation and add copyright header.
2438
fec799f8
SP
2439 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2440 (do_test): Likewise.
2441 * string/test-memchr.c (do_one_test): Likewise.
2442 (do_test): Likewise.
2443 * string/test-memcmp.c (do_one_test): Likewise.
2444 (do_test): Likewise.
2445 * string/test-memcpy.c (do_one_test): Likewise.
2446 (do_test): Likewise.
2447 * string/test-memmem.c (do_one_test): Likewise.
2448 (do_test): Likewise.
2449 (do_random_tests): Likewise.
2450 * string/test-memmove.c (do_one_test): Likewise.
2451 (do_test): Likewise.
2452 * string/test-memset.c (do_one_test): Likewise.
2453 (do_test): Likewise.
2454 * string/test-rawmemchr.c (do_one_test): Likewise.
2455 (do_test): Likewise.
2456 * string/test-strcasecmp.c (do_one_test): Likewise.
2457 (do_test): Likewise.
2458 * string/test-strcasestr.c (do_one_test): Likewise.
2459 (do_test): Likewise.
2460 * string/test-strcat.c (do_one_test): Likewise.
2461 (do_test): Likewise.
2462 * string/test-strchr.c (do_one_test): Likewise.
2463 (do_test): Likewise.
2464 * string/test-strcmp.c (do_one_test): Likewise.
2465 (do_test): Likewise.
2466 * string/test-strcpy.c (do_one_test): Likewise.
2467 (do_test): Likewise.
2468 * string/test-string.h: Likewise.
2469 (test_init): Likewise.
2470 * string/test-strlen.c (do_one_test): Likewise.
2471 (do_test): Likewise.
2472 * string/test-strncasecmp.c (do_one_test): Likewise.
2473 (do_test): Likewise.
2474 * string/test-strncat.c (do_one_test): Likewise.
2475 (do_test): Likewise.
2476 * string/test-strncmp.c (do_one_test): Likewise.
2477 (do_test_limit): Likewise.
2478 (do_test): Likewise.
2479 * string/test-strncpy.c (do_one_test): Likewise.
2480 (do_test): Likewise.
2481 * string/test-strnlen.c (do_one_test): Likewise.
2482 (do_test): Likewise.
2483 * string/test-strpbrk.c (do_one_test): Likewise.
2484 (do_test): Likewise.
2485 * string/test-strrchr.c (do_one_test): Likewise.
2486 (do_test): Likewise.
2487 * string/test-strspn.c (do_one_test): Likewise.
2488 (do_test): Likewise.
2489 * string/test-strstr.c (do_one_test): Likewise.
2490 (do_test): Likewise.
2491
97020474
SP
2492 * benchtests/Makefile (string-bench): Add string benchmarks.
2493 * benchtests/bench-bcopy-ifunc.c: New file.
2494 * benchtests/bench-bcopy.c: New file.
2495 * benchtests/bench-bzero-ifunc.c: New file.
2496 * benchtests/bench-bzero.c: New file.
2497 * benchtests/bench-memccpy-ifunc.c: New file.
2498 * benchtests/bench-memccpy.c: New file.
2499 * benchtests/bench-memchr-ifunc.c: New file.
2500 * benchtests/bench-memchr.c: New file.
2501 * benchtests/bench-memcmp-ifunc.c: New file.
2502 * benchtests/bench-memcmp.c: New file.
2503 * benchtests/bench-memmem-ifunc.c: New file.
2504 * benchtests/bench-memmem.c: New file.
2505 * benchtests/bench-memmove-ifunc.c: New file.
2506 * benchtests/bench-memmove.c: New file.
2507 * benchtests/bench-mempcpy-ifunc.c: New file.
2508 * benchtests/bench-mempcpy.c: New file.
2509 * benchtests/bench-memset-ifunc.c: New file.
2510 * benchtests/bench-memset.c: New file.
2511 * benchtests/bench-rawmemchr-ifunc.c: New file.
2512 * benchtests/bench-rawmemchr.c: New file.
2513 * benchtests/bench-stpcpy-ifunc.c: New file.
2514 * benchtests/bench-stpcpy.c: New file.
2515 * benchtests/bench-stpncpy-ifunc.c: New file.
2516 * benchtests/bench-stpncpy.c: New file.
2517 * benchtests/bench-strcasecmp-ifunc.c: New file.
2518 * benchtests/bench-strcasecmp.c: New file.
2519 * benchtests/bench-strcasestr-ifunc.c: New file.
2520 * benchtests/bench-strcasestr.c: New file.
2521 * benchtests/bench-strcat-ifunc.c: New file.
2522 * benchtests/bench-strcat.c: New file.
2523 * benchtests/bench-strchr-ifunc.c: New file.
2524 * benchtests/bench-strchr.c: New file.
2525 * benchtests/bench-strchrnul-ifunc.c: New file.
2526 * benchtests/bench-strchrnul.c: New file.
2527 * benchtests/bench-strcmp-ifunc.c: New file.
2528 * benchtests/bench-strcmp.c: New file.
2529 * benchtests/bench-strcpy-ifunc.c: New file.
2530 * benchtests/bench-strcpy.c: New file.
2531 * benchtests/bench-strcspn-ifunc.c: New file.
2532 * benchtests/bench-strcspn.c: New file.
2533 * benchtests/bench-strlen-ifunc.c: New file.
2534 * benchtests/bench-strlen.c: New file.
2535 * benchtests/bench-strncasecmp-ifunc.c: New file.
2536 * benchtests/bench-strncasecmp.c: New file.
2537 * benchtests/bench-strncat-ifunc.c: New file.
2538 * benchtests/bench-strncat.c: New file.
2539 * benchtests/bench-strncmp-ifunc.c: New file.
2540 * benchtests/bench-strncmp.c: New file.
2541 * benchtests/bench-strncpy-ifunc.c: New file.
2542 * benchtests/bench-strncpy.c: New file.
2543 * benchtests/bench-strnlen-ifunc.c: New file.
2544 * benchtests/bench-strnlen.c: New file.
2545 * benchtests/bench-strpbrk-ifunc.c: New file.
2546 * benchtests/bench-strpbrk.c: New file.
2547 * benchtests/bench-strrchr-ifunc.c: New file.
2548 * benchtests/bench-strrchr.c: New file.
2549 * benchtests/bench-strspn-ifunc.c: New file.
2550 * benchtests/bench-strspn.c: New file.
2551 * benchtests/bench-strstr-ifunc.c: New file.
2552 * benchtests/bench-strstr.c: New file.
2553
c1f75dc3
SP
2554 * benchtests/Makefile: Disable parallel execution of targets.
2555 (string-bench): Add memcpy.
2556 (benchset): New variable to store a list of benchmark sets.
2557 (bench-func): Renamed from bench.
2558 (bench-set): New target.
2559 (bench): Depend on bench-func and bench-set.
2560 * benchtests/README: Add section on benchmark sets.
2561 * benchtests/bench-memcpy-ifunc.c: New file.
2562 * benchtests/bench-memcpy.c: New file.
2563 * benchtests/bench-string.h: New file.
2564
50fd745b
AS
25652013-06-11 Andreas Schwab <schwab@suse.de>
2566
2567 [BZ #15577]
2568 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2569 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2570 values in the triple.
2571 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2572 terminator in the group key.
2573
3ee7e9fe
AJ
25742013-06-11 Andreas Jaeger <aj@suse.de>
2575
2576 * po/zh_TW.po: Update Chinese (traditional) translation from
2577 translation project.
2578
89fb6835
SP
25792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2580
2581 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2582 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2583 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2584 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2585 (clock_getcpuclockid): Likewise.
2586 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2587 Add weak_alias and libc_hidden_def.
2588 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2589 * rt/clock_gettime.c (clock_gettime): Rename to
2590 __clock_gettime. Add weak_alias and libc_hidden_def.
2591 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2592 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2593 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2594 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2595 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2596 Likewise.
2597 * rt/clock_settime.c (clock_settime): Rename to
2598 __clock_settime. Add weak_alias and libc_hidden_def.
2599 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2600
0efa6f8b
JM
26012013-06-10 Joseph Myers <joseph@codesourcery.com>
2602
b8c61b4b
JM
2603 * mach/err_boot.sub: Remove trailing whitespace.
2604 * mach/err_ipc.sub: Likewise.
2605 * mach/err_mach.sub: Likewise.
2606
0efa6f8b
JM
2607 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2608 (ROUNDING_TESTS_double): Likewise.
2609 (ROUNDING_TESTS_long_double): Likewise.
2610 (ROUNDING_TESTS): Likewise.
2611 * math/libm-test.inc: Include <math-tests.h>.
2612 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2613 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2614 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2615 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2616
50b818bf
SP
26172013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2618
2619 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2620 of assigning.
2621
60d2f8f3
JM
26222013-06-08 Joseph Myers <joseph@codesourcery.com>
2623
4902d2c3
JM
2624 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2625 otherwise empty TRANS lines.
2626 * sysdeps/gnu/errlist.c: Regenerated.
2627
60d2f8f3
JM
2628 * catgets/gencat.c (error_print): Use (void) in function
2629 definition.
2630 * crypt/crypt_util.c (__init_des): Likewise.
2631 * crypt/speeds.c (Stop): Likewise.
2632 (main): Likewise.
2633 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2634 * inet/ruserpass.c (token): Likewise.
2635 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2636 * intl/localealias.c (extend_alias_table): Likewise.
2637 * intl/plural-exp.c (init_germanic_plural): Likewise.
2638 * libio/fcloseall.c (__fcloseall): Likewise.
2639 * libio/genops.c (_IO_flush_all): Likewise.
2640 (_IO_flush_all_linebuffered): Likewise.
2641 (_IO_cleanup): Likewise.
2642 (_IO_iter_begin): Likewise.
2643 (_IO_iter_end): Likewise.
2644 (_IO_list_lock): Likewise.
2645 (_IO_list_unlock): Likewise.
2646 (_IO_list_resetlock): Likewise.
2647 * libio/getchar.c (getchar): Likewise.
2648 * libio/getchar_u.c (getchar_unlocked): Likewise.
2649 * libio/getwchar.c (getwchar): Likewise.
2650 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2651 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2652 * login/getpt.c (__getpt): Likewise.
2653 * login/tst-utmp.c (main): Likewise.
2654 * malloc/hooks.c (__malloc_check_init): Likewise.
2655 * malloc/malloc.c (__malloc_stats): Likewise.
2656 * malloc/mtrace.c (tr_break): Likewise.
2657 (mtrace): Likewise.
2658 (muntrace): Likewise.
2659 * misc/fstab.c (endfsent): Likewise.
2660 * misc/getclktck.c (__getclktck): Likewise.
2661 * misc/getdtsz.c (__getdtablesize): Likewise.
2662 * misc/gethostid.c (gethostid): Likewise.
2663 * misc/getpagesize.c (__getpagesize): Likewise.
2664 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2665 (__get_nprocs): Likewise.
2666 (__get_phys_pages): Likewise.
2667 (__get_avphys_pages): Likewise.
2668 * misc/getttyent.c (getttyent): Likewise.
2669 (setttyent): Likewise.
2670 (endttyent): Likewise.
2671 * misc/getusershell.c (getusershell): Likewise.
2672 (endusershell): Likewise.
2673 (setusershell): Likewise.
2674 (initshells): Likewise.
2675 * misc/hsearch.c (__hdestroy): Likewise.
2676 * misc/sync.c (sync): Likewise.
2677 * misc/syslog.c (closelog_internal): Likewise.
2678 (closelog): Likewise.
2679 * misc/ttyslot.c (ttyslot): Likewise.
2680 * misc/vhangup.c (vhangup): Likewise.
2681 * posix/fork.c (__fork): Likewise.
2682 * posix/getegid.c (__getegid): Likewise.
2683 * posix/geteuid.c (__geteuid): Likewise.
2684 * posix/getgid.c (__getgid): Likewise.
2685 * posix/getpid.c (__getpid): Likewise.
2686 * posix/getppid.c (__getppid): Likewise.
2687 * posix/getuid.c (__getuid): Likewise.
2688 * posix/pause.c (pause): Likewise.
2689 * posix/setpgrp.c (setpgrp): Likewise.
2690 * posix/setsid.c (__setsid): Likewise.
2691 * posix/test-vfork.c (noop): Likewise.
2692 * resolv/gethnamaddr.c (_endhtent): Likewise.
2693 (_gethtent): Likewise.
2694 (ht_endhostent): Likewise.
2695 (gethostent): Likewise.
2696 (dns_service): Likewise.
2697 * stdlib/drand48.c (drand48): Likewise.
2698 * stdlib/lrand48.c (lrand48): Likewise.
2699 * stdlib/mrand48.c (mrand48): Likewise.
2700 * stdlib/rand.c (rand): Likewise.
2701 * stdlib/random.c (__random): Likewise.
2702 * stdlib/setenv.c (clearenv): Likewise.
2703 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2704 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2705 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2706 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2707 (__get_nprocs): Likewise.
2708 (__get_phys_pages): Likewise.
2709 (__get_avphys_pages): Likewise.
2710 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2711 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2712 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2713 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2714 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2715 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2716 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2717 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2718 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2719 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2720 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2721 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2722 * sysdeps/posix/clock.c (clock): Likewise.
2723 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2724 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2725 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2726 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2727 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2728 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2729 (__get_nprocs_conf): Likewise.
2730 (__get_phys_pages): Likewise.
2731 (__get_avphys_pages): Likewise.
2732 * time/clock.c (clock): Likewise.
2733 * time/tzset.c (__tzname_max): Likewise.
2734
2e09a79a
JM
27352013-06-07 Joseph Myers <joseph@codesourcery.com>
2736
2737 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2738 (__bswap_32): Do not use "register".
2739 * crypt/crypt.c (_ufc_doit_r): Likewise.
2740 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2741 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2742 * gmon/gmon.c (__monstartup): Likewise.
2743 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2744 * hurd/hurdmalloc.c (more_memory): Likewise.
2745 (malloc): Likewise.
2746 (free): Likewise.
2747 (realloc): Likewise.
2748 (malloc_fork_prepare): Likewise.
2749 (malloc_fork_parent): Likewise.
2750 (malloc_fork_child): Likewise.
2751 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2752 (_svcauth_des): Likewise.
2753 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2754 * inet/inet_net.c (inet_network): Likewise.
2755 * inet/inet_netof.c (inet_netof): Likewise.
2756 * inet/rcmd.c (__validuser2_sa): Likewise.
2757 * io/fts.c (fts_open): Likewise.
2758 (fts_load): Likewise.
2759 (fts_close): Likewise.
2760 (fts_read): Likewise.
2761 (fts_children): Likewise.
2762 (fts_build): Likewise.
2763 (fts_stat): Likewise.
2764 (fts_sort): Likewise.
2765 (fts_alloc): Likewise.
2766 (fts_lfree): Likewise.
2767 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2768 (_IO_file_xsgetn): Likewise.
2769 (_IO_file_xsgetn_mmap): Likewise.
2770 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2771 (_IO_cookie_write): Likewise.
2772 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2773 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2774 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2775 * malloc/obstack.c (_obstack_begin): Likewise.
2776 (_obstack_begin_1): Likewise.
2777 (_obstack_newchunk): Likewise.
2778 (_obstack_allocated_p): Likewise.
2779 (obstack_free): Likewise.
2780 (_obstack_memory_used): Likewise.
2781 * misc/getttyent.c (getttynam): Likewise.
2782 (getttyent): Likewise.
2783 (skip): Likewise.
2784 (value): Likewise.
2785 * misc/getusershell.c (initshells): Likewise.
2786 * misc/syslog.c (__vsyslog_chk): Likewise.
2787 * misc/ttyslot.c (ttyslot): Likewise.
2788 * nis/nis_hash.c (__nis_hash): Likewise.
2789 * posix/fnmatch_loop.c (FCT): Likewise.
2790 * posix/getconf.c (print_all): Likewise.
2791 (main): Likewise.
2792 * posix/getopt.c (exchange): Likewise.
2793 * posix/glob.c (globfree): Likewise.
2794 (prefix_array): Likewise.
2795 (__glob_pattern_type): Likewise.
2796 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2797 (NS_GET32): Likewise.
2798 (NS_PUT16): Likewise.
2799 (NS_PUT32): Likewise.
2800 * resolv/gethnamaddr.c (getanswer): Likewise.
2801 (gethostbyname2): Likewise.
2802 (gethostbyaddr): Likewise.
2803 (_gethtent): Likewise.
2804 (_gethtbyname2): Likewise.
2805 (_gethtbyaddr): Likewise.
2806 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2807 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2808 * resolv/res_init.c (__res_vinit): Likewise.
2809 (net_mask): Likewise.
2810 * resolv/res_mkquery.c (outchar): Likewise.
2811 (PRINT): Likewise.
2812 * stdio-common/printf_fp.c (outchar): Likewise.
2813 (PRINT): Likewise.
2814 * stdio-common/printf_fphex.c (outchar): Likewise.
2815 (PRINT): Likewise.
2816 * stdio-common/printf_size.c (outchar): Likewise.
2817 (PRINT): Likewise.
2818 * stdio-common/test_rdwr.c (main): Likewise.
2819 * stdio-common/tfformat.c (matches): Likewise.
2820 * stdio-common/vfprintf.c (outchar): Likewise.
2821 (printf_unknown): Likewise.
2822 (buffered_vfprintf): Likewise.
2823 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2824 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2825 (ReadFile): Likewise.
2826 * stdlib/qsort.c (SWAP): Likewise.
2827 (_quicksort): Likewise.
2828 * stdlib/setenv.c (__add_to_environ): Likewise.
2829 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2830 * stdlib/strtol_l.c (__strtol_l): Likewise.
2831 * stdlib/tst-strtod.c (main): Likewise.
2832 * stdlib/tst-strtol.c (main): Likewise.
2833 * stdlib/tst-strtoll.c (main): Likewise.
2834 * string/bits/string2.h (__strcmp_cc): Likewise.
2835 (__strcmp_cg): Likewise.
2836 (__strcspn_c1): Likewise.
2837 (__strcspn_c2): Likewise.
2838 (__strcspn_c3): Likewise.
2839 (__strspn_c1): Likewise.
2840 (__strspn_c2): Likewise.
2841 (__strspn_c3): Likewise.
2842 (__strsep_1c): Likewise.
2843 (__strsep_2c): Likewise.
2844 (__strsep_3c): Likewise.
2845 * string/memccpy.c (__memccpy): Likewise.
2846 * string/stpcpy.c (__stpcpy): Likewise.
2847 * string/strcmp.c (strcmp): Likewise.
2848 * string/strrchr.c (strrchr): Likewise.
2849 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2850 Likewise.
2851 * sysdeps/mach/hurd/getcwd.c
2852 (_hurd_canonicalize_directory_name_internal): Likewise.
2853 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2854 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2855 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2856 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2857 Likewise, in both definitions.
2858 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2859 definitions.
2860 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2861 64] (__bswap_64): Likewise.
2862 * time/test_time.c (main): Likewise.
2863 * time/tzfile.c (__tzfile_read): Likewise.
2864 (__tzfile_compute): Likewise.
2865 * time/tzset.c (__tzset_parse_tz): Likewise.
2866 (tzset_internal): Likewise.
2867 (compute_change): Likewise.
2868 * wcsmbs/wcscat.c (__wcscat): Likewise.
2869 * wcsmbs/wcschr.c (wcschr): Likewise.
2870 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2871 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2872 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2873 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2874 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2875 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2876 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2877 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2878 * wcsmbs/wmemset.c (wmemset): Likewise.
2879
9e54314b
JM
28802013-06-06 Joseph Myers <joseph@codesourcery.com>
2881
2882 * scripts/config.guess: Update to version 2013-05-16.
2883 * scripts/config.sub: Update to version 2013-04-24.
2884 * scripts/install-sh: Update to version 2011-11-20.07.
2885 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2886 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2887
350635a5
OB
28882013-06-06 Ondřej Bílka <neleai@seznam.cz>
2889
2890 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2891 * elf/sln.c: Likewise.
2892 * hurd/hurd/ioctl.h: Likewise.
2893 * hurd/hurdmalloc.c: Likewise.
2894 * hurd/xattr.c: Likewise.
2895 * include/shlib-compat.h: Likewise.
2896 * inet/ruserpass.c: Likewise.
2897 * libio/iofgets_u.c: Likewise.
2898 * libio/iofgetws_u.c: Likewise.
2899 * locale/programs/ld-identification.c: Likewise.
2900 * locale/programs/ld-time.c: Likewise.
2901 * mach/msg-destroy.c: Likewise.
2902 * nss/nss_files/files-netgrp.c: Likewise.
2903 * resolv/res_data.c: Likewise.
2904 * soft-fp/op-1.h: Likewise.
2905 * soft-fp/op-2.h: Likewise.
2906 * soft-fp/op-4.h: Likewise.
2907 * soft-fp/op-common.h: Likewise.
2908 * stdio-common/printf_fphex.c: Likewise.
2909 * stdlib/strtod_l.c: Likewise.
2910 * sunrpc/rpc/clnt.h: Likewise.
2911 * sysdeps/generic/framestate.c: Likewise.
2912 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2913 * sysdeps/i386/bsd-setjmp.S: Likewise.
2914 * sysdeps/i386/__longjmp.S: Likewise.
2915 * sysdeps/i386/setjmp.S: Likewise.
2916 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2917 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2918 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2919 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2920 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2921 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2922 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2923 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2924 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2925 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2926 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2927 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2928 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2929 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2930 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2931 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2932 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2933 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2934 * sysdeps/ieee754/support.c: Likewise.
2935 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2936 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2937 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2938 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2939 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2940 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2941 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2942 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2943 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2944 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2945 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2946 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2947 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2948 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2949 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2950 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2951 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2953
44a988af
OB
29542013-06-05 Ondřej Bílka <neleai@seznam.cz>
2955
25506f09 2956 * posix/transbug.c: Remove executable mode.
44a988af 2957
9c84384c
JM
29582013-06-05 Joseph Myers <joseph@codesourcery.com>
2959
2960 * crypt/speeds.c: Remove trailing whitespace.
2961 * dlfcn/default.c: Likewise.
2962 * elf/ifuncdep2.c: Likewise.
2963 * elf/ifuncmain1.c: Likewise.
2964 * elf/ifuncmain1vis.c: Likewise.
2965 * elf/testobj.h: Likewise.
2966 * elf/tst-stackguard1.c: Likewise.
2967 * gmon/sys/gmon.h: Likewise.
2968 * hurd/hurdmsg.c: Likewise.
2969 * hurd/new-fd.c: Likewise.
2970 * hurd/ports-get.c: Likewise.
2971 * iconvdata/ibm1008_420.c: Likewise.
2972 * inet/tst-getni1.c: Likewise.
2973 * inet/tst-getni2.c: Likewise.
2974 * libio/ioungetc.c: Likewise.
2975 * libio/wfiledoalloc.c: Likewise.
2976 * manual/libm-err-tab.pl: Likewise.
2977 * math/w_dremf.c: Likewise.
2978 * misc/ftruncate.c: Likewise.
2979 * posix/bug-glob2.c: Likewise.
2980 * posix/tst-pcre.c: Likewise.
2981 * posix/wait4.c: Likewise.
2982 * resolv/README: Likewise.
2983 * resolv/res_debug.h: Likewise.
2984 * resolv/tst-inet_ntop.c: Likewise.
2985 * setjmp/bug269-setjmp.c: Likewise.
2986 * soft-fp/extended.h: Likewise.
2987 * soft-fp/op-1.h: Likewise.
2988 * soft-fp/op-2.h: Likewise.
2989 * soft-fp/op-4.h: Likewise.
2990 * soft-fp/op-8.h: Likewise.
2991 * soft-fp/testit.c: Likewise.
2992 * stdio-common/bug16.c: Likewise.
2993 * stdlib/random.c: Likewise.
2994 * sunrpc/rpcsvc/rquota.x: Likewise.
2995 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2996 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2997 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2998 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2999 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3000 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3001 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3002 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3003 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3004 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3005 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3006 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3007 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3008 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3009 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3010 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3011 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3012 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3013 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3014 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3015 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3016 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3017 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3018 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3019 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3020 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3021 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3022 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3023 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3024 * sysdeps/ieee754/s_lib_version.c: Likewise.
3025 * sysdeps/mach/hurd/check_fds.c: Likewise.
3026 * sysdeps/mach/hurd/getsockname.c: Likewise.
3027 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3028 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3029 * sysdeps/powerpc/bits/link.h: Likewise.
3030 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3031 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3032 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3033 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3034 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3035 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3036 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3037 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3038 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3039 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3040 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3041 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3042 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3043 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3044 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3045 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3046 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3047 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3048 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3049 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3050 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3051 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3052 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3053 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3054 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3055 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3056 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3057 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3058 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3059 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3060 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3061 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3062 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3063 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3064 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3065 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3066 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3067 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3068 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3069 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3070 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3071 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3072 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3073 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3074 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3075 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3076 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3077 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3078 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3079 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3080 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3081 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3082 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3083 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3084 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3085 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3086 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3087 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3088 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3089 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3090 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3091 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3092 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3093 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3094 * sysdeps/powerpc/sysdep.h: Likewise.
3095 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3096 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3097 * sysdeps/sh/dl-trampoline.S: Likewise.
3098 * sysdeps/sh/memset.S: Likewise.
3099 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3100 * sysdeps/sh/strlen.S: Likewise.
3101 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3102 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3103 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3104 * sysdeps/sparc/sparc32/rem.S: Likewise.
3105 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3106 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3107 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3108 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3109 * sysdeps/sparc/sparc32/urem.S: Likewise.
3110 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3111 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3112 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3113 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3114 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3115 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3116 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3117 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3118 * sysdeps/unix/bsd/times.c: Likewise.
3119 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3120 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3124 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3125 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3126 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3127 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3128 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3129 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3130 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3131 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3132 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3133 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3134 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3135 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3136 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3137 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3138 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3139 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3140 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3141 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3142 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3143 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3144 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3145 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3146 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3147 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3148 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3149 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3150 * sysdeps/x86_64/strcspn.S: Likewise.
3151
869378a5
RA
31522013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3153
3154 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3155 generated file. Regenerate properly from gen-translit.pl.
3156 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3157 locale/C-translit.h.
3158
840e2943
AS
31592013-06-05 Andreas Schwab <schwab@suse.de>
3160
3161 [BZ #15100]
3162 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3163 week as 6 instead of -1.
3164 * time/tst-strptime.c (day_tests): Add test case.
3165
4c60cb0c
SP
31662013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3167
3168 * sysdeps/generic/math_private.h
3169 (libc_feholdexcept_setround_53bit): Replace with
3170 libc_feholdsetround_53bit.
3171 (libc_feupdateenv_53bit): Replace with
3172 libc_feresetround_53bit.
3173 (SET_RESTORE_ROUND_53BIT): Adjust.
3174
d180203e
SP
31752013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3176
96df079a
SP
3177 * string/test-strchrnul.c: Add copyright header.
3178
d180203e
SP
3179 * posix/tst-getaddrinfo4.c: Increase test timeout.
3180
8b0ccb2d
CD
31812013-06-03 Carlos O'Donell <carlos@redhat.com>
3182
3183 [BZ #15536]
3184 * math/libm-test.inc (MAX_EXP): Remove
3185 (MIN_EXP): Define.
3186 (ulp): Use MIN_EXP - MANT_DIG.
3187 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3188
3b3c4d40
CD
31892013-05-31 Carlos O'Donell <carlos@redhat.com>
3190
3191 * po/be.po: Revert last change.
3192 * po/zh_CN.po: Likewise.
3193 * po/header.pot: Likewise.
3194
fab7ce3f
JM
31952013-05-31 Joseph Myers <joseph@codesourcery.com>
3196
3197 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3198 link-libc-deps to empty as target-specific variable.
3199 * Makerules (link-libc-args): New variable.
3200 (libc-for-link): Likewise.
3201 (link-libc-deps): Likewise.
3202 (lib%.so): Depend on $(link-libc-deps). Link with
3203 $(link-libc-args).
3204 (build-module): Link with $(link-libc-args).
3205 (build-module-asneeded): Likewise.
3206 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3207 list of objects.
3208 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3209 target-specific variable.
3210 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3211 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3212 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3213 libc.
3214 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3215 libc and ld.so.
3216 ($(objpfx)libpcprofile.so): Likewise.
3217 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3218 libc_nonshared.a.
3219 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3220 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3221 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3222 $(link-libc-deps).
3223 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3224 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3225 * login/Makefile ($(objpfx)libutil.so): Likewise.
3226 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3227 * math/Makefile ($(objpfx)libm.so): Likewise.
3228 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3229 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3230 variable instead of depending directly on libc.
3231 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3232 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3233 $(link-libc-deps).
3234 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3235 libc.
3236 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3237 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3238 ($(objpfx)libanl.so): Likewise.
3239 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3240 ld.so.
3241 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3242 $(link-libc-deps).
3243 * sysdeps/i386/fpu/Makefile: Remove file.
3244 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3245 ($(objpfx)libm.so): Remove dependency on ld.so.
3246
eca5920c
PF
32472013-05-30 Patsy Franklin <pfrankli@redhat.com>
3248
3249 [BZ # 15553]
3250 * nis/yp_xdr.c (XDRMAXNAME): Define.
3251 (XDRMAXRECORD): Define.
3252 (xdr_domainname): Use XDRMAXNAME.
3253 (xdr_mapname): Likewise.
3254 (xdr_peername): Likewise.
3255 (xdr_keydat): Use XDRMAXRECORD.
3256 (xdr_valdat): Likewise.
3257
32582013-05-30 Jeff Law <law@redhat.com>
96945714
JL
3259
3260 [BZ #14256]
3261 * manual/errno.texi (ESTALE): Update to account for more than
3262 just NFS file systems.
3263 * sysdeps/gnu/errlist.c: Regenerated.
3264
b9375348
SP
32652013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3266
3267 [BZ #15465]
3268 * elf/Makefile (tests): Add tst-null-argv.
3269 (modules-names): Add tst-null-argv-lib.
3270 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3271 (tst-null-argv-ENV): Set environment for tst-null-argv.
3272 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3273 (RTLD_PROGNAME): New macro.
3274 * elf/tst-null-argv.c: New test case.
3275 * elf/tst-null-argv-lib.c: Library for test case.
3276 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3277 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3278 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3279 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3280 * elf/dl-init.c (call_init): Likewise.
3281 (_dl_init): Likewise.
3282 * elf/dl-load.c (print_search_path): Likewise.
3283 (_dl_map_object): Likewise.
3284 * elf/dl-lookup.c (do_lookup_x): Likewise.
3285 (add_dependency): Likewise.
3286 (_dl_lookup_symbol_x): Likewise.
3287 (_dl_debug_bindings): Likewise.
3288 * elf/dl-open.c (_dl_show_scope): Likewise.
3289 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3290 * elf/dl-version.c (match_symbol): Likewise.
3291 (_dl_check_map_versions): Likewise.
3292 * elf/rtld.c (dl_main): Likewise.
3293 (print_unresolved): Use RTLD_PROGNAME.
3294 (print_missing_version): Likewise.
3295 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3296 (elf_machine_rela): Likewise.
3297 * sysdeps/powerpc/powerpc32/dl-machine.c
3298 (__process_machine_rela): Likewise.
3299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3300 Likewise.
3301 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3302 Likewise.
3303 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3304 Likewise.
3305 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3306 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3307 Likewise.
3308 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3309 Likewise.
3310 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3311
8a9f20c8
CD
33122013-05-28 Carlos O'Donell <carlos@redhat.com>
3313
3314 * po/be.po: Add descriptive title.
3315 * po/zh_CN.po: Likewise.
3316 * po/header.pot: Likewise.
3317
0e60d68e
MF
33182013-05-28 Mike Frysinger <vapier@gentoo.org>
3319
3320 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3321 error message.
3322 (enlarge_archive): Likewise.
3323
56b672e9
BN
33242013-05-28 Ben North <ben@redfrontdoor.org>
3325
3326 * manual/arith.texi (frexp): It is the magnitude of the return
3327 value which lies in [0.5, 1), not the return value itself.
3328
5e056687
AZ
33292013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3330
3331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3332
2b66ef5d
TS
33332013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3334
528c2405
TS
3335 * stdio-common/bug26.c (main): Correct fscanf template.
3336
07b4c13d
TS
3337 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3338 declare _dl_skip_args.
3339
ec9dd97c
TS
3340 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3341 Don't declare.
3342
2b66ef5d
TS
3343 * manual/platform.texi: Add missing @end deftypefun.
3344
4f8dfe27
JM
33452013-05-24 Joseph Myers <joseph@codesourcery.com>
3346
0323d086
JM
3347 [BZ #15529]
3348 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3349 bit of mantissa of 2^16382.
3350 * math/libm-test.inc (hypot_test_data): Add more tests.
3351
dd4259b9
JM
3352 * math/libm-test.inc: Add drem and pow10 to list of tested
3353 functions.
3354 (pow10_test): New function.
3355 (drem_test): Likewise.
3356 (drem_test_tonearest): Likewise.
3357 (drem_test_towardzero): Likewise.
3358 (drem_test_downward): Likewise.
3359 (drem_test_upward): Likewise.
3360 (main): Call the new functions.
3361
4f8dfe27
JM
3362 * math/libm-test.inc (finite_test_data): Remove.
3363 (finite_test): Run tests from isfinite_test_data.
3364 (gamma_test_data): Remove.
3365 (gamma_test): Run tests from lgamma_test_data.
3366 * sysdeps/i386/fpu/libm-test-ulps: Update.
3367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3368
d116b7c4
AZ
33692013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3370
3371 * manual/platform.texi: Add PowerPC PPR function set documentation.
3372 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3373 implementation.
3374
e96e3767
CD
33752013-05-24 Carlos O'Donell <carlos@redhat.com>
3376
3377 * math/libm-test.inc (MAX_EXP): Define.
3378 (ULPDIFF): Define.
3379 (ulp): New function.
3380 (check_float_internal): Use ULPDIFF.
3381 (cpow_test): Disable failing test.
3382 (check_ulp): Test ulp() implemetnation.
3383 (main): Call check_ulp before starting tests.
3384
b679a606
JM
33852013-05-24 Joseph Myers <joseph@codesourcery.com>
3386
e8bdba36
JM
3387 * math/gen-libm-test.pl (generate_testfile): Do not handle
3388 START_DATA and END_DATA.
3389 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3390 END_DATA.
3391 (acos_tonearest_test_data): Likewise.
3392 (acos_towardzero_test_data): Likewise.
3393 (acos_downward_test_data): Likewise.
3394 (acos_upward_test_data): Likewise.
3395 (acosh_test_data): Likewise.
3396 (asin_test_data): Likewise.
3397 (asin_tonearest_test_data): Likewise.
3398 (asin_towardzero_test_data): Likewise.
3399 (asin_downward_test_data): Likewise.
3400 (asin_upward_test_data): Likewise.
3401 (asinh_test_data): Likewise.
3402 (atan_test_data): Likewise.
3403 (atanh_test_data): Likewise.
3404 (atan2_test_data): Likewise.
3405 (cabs_test_data): Likewise.
3406 (cacos_test_data): Likewise.
3407 (cacosh_test_data): Likewise.
3408 (carg_test_data): Likewise.
3409 (casin_test_data): Likewise.
3410 (casinh_test_data): Likewise.
3411 (catan_test_data): Likewise.
3412 (catanh_test_data): Likewise.
3413 (cbrt_test_data): Likewise.
3414 (ccos_test_data): Likewise.
3415 (ccosh_test_data): Likewise.
3416 (ceil_test_data): Likewise.
3417 (cexp_test_data): Likewise.
3418 (cimag_test_data): Likewise.
3419 (clog_test_data): Likewise.
3420 (clog10_test_data): Likewise.
3421 (conj_test_data): Likewise.
3422 (copysign_test_data): Likewise.
3423 (cos_test_data): Likewise.
3424 (cos_tonearest_test_data): Likewise.
3425 (cos_towardzero_test_data): Likewise.
3426 (cos_downward_test_data): Likewise.
3427 (cos_upward_test_data): Likewise.
3428 (cosh_test_data): Likewise.
3429 (cosh_tonearest_test_data): Likewise.
3430 (cosh_towardzero_test_data): Likewise.
3431 (cosh_downward_test_data): Likewise.
3432 (cosh_upward_test_data): Likewise.
3433 (cpow_test_data): Likewise.
3434 (cproj_test_data): Likewise.
3435 (creal_test_data): Likewise.
3436 (csin_test_data): Likewise.
3437 (csinh_test_data): Likewise.
3438 (csqrt_test_data): Likewise.
3439 (ctan_test_data): Likewise.
3440 (ctan_tonearest_test_data): Likewise.
3441 (ctan_towardzero_test_data): Likewise.
3442 (ctan_downward_test_data): Likewise.
3443 (ctan_upward_test_data): Likewise.
3444 (ctanh_test_data): Likewise.
3445 (ctanh_tonearest_test_data): Likewise.
3446 (ctanh_towardzero_test_data): Likewise.
3447 (ctanh_downward_test_data): Likewise.
3448 (ctanh_upward_test_data): Likewise.
3449 (erf_test_data): Likewise.
3450 (erfc_test_data): Likewise.
3451 (exp_test_data): Likewise.
3452 (exp_tonearest_test_data): Likewise.
3453 (exp_towardzero_test_data): Likewise.
3454 (exp_downward_test_data): Likewise.
3455 (exp_upward_test_data): Likewise.
3456 (exp10_test_data): Likewise.
3457 (exp2_test_data): Likewise.
3458 (expm1_test_data): Likewise.
3459 (fabs_test_data): Likewise.
3460 (fdim_test_data): Likewise.
3461 (finite_test_data): Likewise.
3462 (floor_test_data): Likewise.
3463 (fma_test_data): Likewise.
3464 (fma_towardzero_test_data): Likewise.
3465 (fma_downward_test_data): Likewise.
3466 (fma_upward_test_data): Likewise.
3467 (fmax_test_data): Likewise.
3468 (fmin_test_data): Likewise.
3469 (fmod_test_data): Likewise.
3470 (fpclassify_test_data): Likewise.
3471 (frexp_test_data): Likewise.
3472 (gamma_test_data): Likewise.
3473 (hypot_test_data): Likewise.
3474 (ilogb_test_data): Likewise.
3475 (isfinite_test_data): Likewise.
3476 (isgreater_test_data): Likewise.
3477 (isgreaterequal_test_data): Likewise.
3478 (isinf_test_data): Likewise.
3479 (isless_test_data): Likewise.
3480 (islessequal_test_data): Likewise.
3481 (islessgreater_test_data): Likewise.
3482 (isnan_test_data): Likewise.
3483 (isnormal_test_data): Likewise.
3484 (issignaling_test_data): Likewise.
3485 (isunordered_test_data): Likewise.
3486 (j0_test_data): Likewise.
3487 (j1_test_data): Likewise.
3488 (jn_test_data): Likewise.
3489 (ldexp_test_data): Likewise.
3490 (lgamma_test_data): Likewise.
3491 (lrint_test_data): Likewise.
3492 (lrint_tonearest_test_data): Likewise.
3493 (lrint_towardzero_test_data): Likewise.
3494 (lrint_downward_test_data): Likewise.
3495 (lrint_upward_test_data): Likewise.
3496 (llrint_test_data): Likewise.
3497 (llrint_tonearest_test_data): Likewise.
3498 (llrint_towardzero_test_data): Likewise.
3499 (llrint_downward_test_data): Likewise.
3500 (llrint_upward_test_data): Likewise.
3501 (log_test_data): Likewise.
3502 (log10_test_data): Likewise.
3503 (log1p_test_data): Likewise.
3504 (log2_test_data): Likewise.
3505 (logb_test_data): Likewise.
3506 (logb_downward_test_data): Likewise.
3507 (lround_test_data): Likewise.
3508 (llround_test_data): Likewise.
3509 (modf_test_data): Likewise.
3510 (nearbyint_test_data): Likewise.
3511 (nextafter_test_data): Likewise.
3512 (nexttoward_test_data): Likewise.
3513 (pow_test_data): Likewise.
3514 (pow_tonearest_test_data): Likewise.
3515 (pow_towardzero_test_data): Likewise.
3516 (pow_downward_test_data): Likewise.
3517 (pow_upward_test_data): Likewise.
3518 (remainder_test_data): Likewise.
3519 (remainder_tonearest_test_data): Likewise.
3520 (remainder_towardzero_test_data): Likewise.
3521 (remainder_downward_test_data): Likewise.
3522 (remainder_upward_test_data): Likewise.
3523 (remquo_test_data): Likewise.
3524 (rint_test_data): Likewise.
3525 (rint_tonearest_test_data): Likewise.
3526 (rint_towardzero_test_data): Likewise.
3527 (rint_downward_test_data): Likewise.
3528 (rint_upward_test_data): Likewise.
3529 (round_test_data): Likewise.
3530 (scalb_test_data): Likewise.
3531 (scalbn_test_data): Likewise.
3532 (scalbln_test_data): Likewise.
3533 (signbit_test_data): Likewise.
3534 (sin_test_data): Likewise.
3535 (sin_tonearest_test_data): Likewise.
3536 (sin_towardzero_test_data): Likewise.
3537 (sin_downward_test_data): Likewise.
3538 (sin_upward_test_data): Likewise.
3539 (sincos_test_data): Likewise.
3540 (sinh_test_data): Likewise.
3541 (sinh_tonearest_test_data): Likewise.
3542 (sinh_towardzero_test_data): Likewise.
3543 (sinh_downward_test_data): Likewise.
3544 (sinh_upward_test_data): Likewise.
3545 (sqrt_test_data): Likewise.
3546 (tan_test_data): Likewise.
3547 (tan_tonearest_test_data): Likewise.
3548 (tan_towardzero_test_data): Likewise.
3549 (tan_downward_test_data): Likewise.
3550 (tan_upward_test_data): Likewise.
3551 (tanh_test_data): Likewise.
3552 (tgamma_test_data): Likewise.
3553 (trunc_test_data): Likewise.
3554 (y0_test_data): Likewise.
3555 (y1_test_data): Likewise.
3556 (yn_test_data): Likewise.
3557 (significand_test_data): Likewise.
3558
b679a606
JM
3559 * math/gen-libm-test.pl (@functions): Remove variable.
3560 (generate_testfile): Don't handle START and END lines.
3561 * math/libm-test.inc (START): New macro.
3562 (END): Likewise.
3563 (END_COMPLEX): Likewise.
3564 (acos_test): Use END macro without arguments.
3565 (acos_test_tonearest): Likewise.
3566 (acos_test_towardzero): Likewise.
3567 (acos_test_downward): Likewise.
3568 (acos_test_upward): Likewise.
3569 (acosh_test): Likewise.
3570 (asin_test): Likewise.
3571 (asin_test_tonearest): Likewise.
3572 (asin_test_towardzero): Likewise.
3573 (asin_test_downward): Likewise.
3574 (asin_test_upward): Likewise.
3575 (asinh_test): Likewise.
3576 (atan_test): Likewise.
3577 (atanh_test): Likewise.
3578 (atan2_test): Likewise.
3579 (cabs_test): Likewise.
3580 (cacos_test): Use END_COMPLEX macro without arguments.
3581 (cacosh_test): Likewise.
3582 (carg_test): Use END macro without arguments.
3583 (casin_test): Use END_COMPLEX macro without arguments.
3584 (casinh_test): Likewise.
3585 (catan_test): Likewise.
3586 (catanh_test): Likewise.
3587 (cbrt_test): Use END macro without arguments.
3588 (ccos_test): Use END_COMPLEX macro without arguments.
3589 (ccosh_test): Likewise.
3590 (ceil_test): Use END macro without arguments.
3591 (cexp_test): Use END_COMPLEX macro without arguments.
3592 (cimag_test): Use END macro without arguments.
3593 (clog_test): Use END_COMPLEX macro without arguments.
3594 (clog10_test): Likewise.
3595 (conj_test): Likewise.
3596 (copysign_test): Use END macro without arguments.
3597 (cos_test): Likewise.
3598 (cos_test_tonearest): Likewise.
3599 (cos_test_towardzero): Likewise.
3600 (cos_test_downward): Likewise.
3601 (cos_test_upward): Likewise.
3602 (cosh_test): Likewise.
3603 (cosh_test_tonearest): Likewise.
3604 (cosh_test_towardzero): Likewise.
3605 (cosh_test_downward): Likewise.
3606 (cosh_test_upward): Likewise.
3607 (cpow_test): Use END_COMPLEX macro without arguments.
3608 (cproj_test): Likewise.
3609 (creal_test): Use END macro without arguments.
3610 (csin_test): Use END_COMPLEX macro without arguments.
3611 (csinh_test): Likewise.
3612 (csqrt_test): Likewise.
3613 (ctan_test): Likewise.
3614 (ctan_test_tonearest): Likewise.
3615 (ctan_test_towardzero): Likewise.
3616 (ctan_test_downward): Likewise.
3617 (ctan_test_upward): Likewise.
3618 (ctanh_test): Likewise.
3619 (ctanh_test_tonearest): Likewise.
3620 (ctanh_test_towardzero): Likewise.
3621 (ctanh_test_downward): Likewise.
3622 (ctanh_test_upward): Likewise.
3623 (erf_test): Use END macro without arguments.
3624 (erfc_test): Likewise.
3625 (exp_test): Likewise.
3626 (exp_test_tonearest): Likewise.
3627 (exp_test_towardzero): Likewise.
3628 (exp_test_downward): Likewise.
3629 (exp_test_upward): Likewise.
3630 (exp10_test): Likewise.
3631 (exp2_test): Likewise.
3632 (expm1_test): Likewise.
3633 (fabs_test): Likewise.
3634 (fdim_test): Likewise.
3635 (finite_test): Likewise.
3636 (floor_test): Likewise.
3637 (fma_test): Likewise.
3638 (fma_test_towardzero): Likewise.
3639 (fma_test_downward): Likewise.
3640 (fma_test_upward): Likewise.
3641 (fmax_test): Likewise.
3642 (fmin_test): Likewise.
3643 (fmod_test): Likewise.
3644 (fpclassify_test): Likewise.
3645 (frexp_test): Likewise.
3646 (gamma_test): Likewise.
3647 (hypot_test): Likewise.
3648 (ilogb_test): Likewise.
3649 (isfinite_test): Likewise.
3650 (isgreater_test): Likewise.
3651 (isgreaterequal_test): Likewise.
3652 (isinf_test): Likewise.
3653 (isless_test): Likewise.
3654 (islessequal_test): Likewise.
3655 (islessgreater_test): Likewise.
3656 (isnan_test): Likewise.
3657 (isnormal_test): Likewise.
3658 (issignaling_test): Likewise.
3659 (isunordered_test): Likewise.
3660 (j0_test): Likewise.
3661 (j1_test): Likewise.
3662 (jn_test): Likewise.
3663 (ldexp_test): Likewise.
3664 (lgamma_test): Likewise.
3665 (lrint_test): Likewise.
3666 (lrint_test_tonearest): Likewise.
3667 (lrint_test_towardzero): Likewise.
3668 (lrint_test_downward): Likewise.
3669 (lrint_test_upward): Likewise.
3670 (llrint_test): Likewise.
3671 (llrint_test_tonearest): Likewise.
3672 (llrint_test_towardzero): Likewise.
3673 (llrint_test_downward): Likewise.
3674 (llrint_test_upward): Likewise.
3675 (log_test): Likewise.
3676 (log10_test): Likewise.
3677 (log1p_test): Likewise.
3678 (log2_test): Likewise.
3679 (logb_test): Likewise.
3680 (logb_test_downward): Likewise.
3681 (lround_test): Likewise.
3682 (llround_test): Likewise.
3683 (modf_test): Likewise.
3684 (nearbyint_test): Likewise.
3685 (nextafter_test): Likewise.
3686 (nexttoward_test): Likewise.
3687 (pow_test): Likewise.
3688 (pow_test_tonearest): Likewise.
3689 (pow_test_towardzero): Likewise.
3690 (pow_test_downward): Likewise.
3691 (pow_test_upward): Likewise.
3692 (remainder_test): Likewise.
3693 (remainder_test_tonearest): Likewise.
3694 (remainder_test_towardzero): Likewise.
3695 (remainder_test_downward): Likewise.
3696 (remainder_test_upward): Likewise.
3697 (remquo_test): Likewise.
3698 (rint_test): Likewise.
3699 (rint_test_tonearest): Likewise.
3700 (rint_test_towardzero): Likewise.
3701 (rint_test_downward): Likewise.
3702 (rint_test_upward): Likewise.
3703 (round_test): Likewise.
3704 (scalb_test): Likewise.
3705 (scalbn_test): Likewise.
3706 (scalbln_test): Likewise.
3707 (signbit_test): Likewise.
3708 (sin_test): Likewise.
3709 (sin_test_tonearest): Likewise.
3710 (sin_test_towardzero): Likewise.
3711 (sin_test_downward): Likewise.
3712 (sin_test_upward): Likewise.
3713 (sincos_test): Likewise.
3714 (sinh_test): Likewise.
3715 (sinh_test_tonearest): Likewise.
3716 (sinh_test_towardzero): Likewise.
3717 (sinh_test_downward): Likewise.
3718 (sinh_test_upward): Likewise.
3719 (sqrt_test): Likewise.
3720 (tan_test): Likewise.
3721 (tan_test_tonearest): Likewise.
3722 (tan_test_towardzero): Likewise.
3723 (tan_test_downward): Likewise.
3724 (tan_test_upward): Likewise.
3725 (tanh_test): Likewise.
3726 (tgamma_test): Likewise.
3727 (trunc_test): Likewise.
3728 (y0_test): Likewise.
3729 (y1_test): Likewise.
3730 (yn_test): Likewise.
3731 (significand_test): Likewise.
3732
bae143d2
OB
37332013-05-24 Ondřej Bílka <neleai@seznam.cz>
3734
3735 [BZ #15381]
3736 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3737
9323d39b
EM
37382013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3739
d4ea44a0 3740 [BZ #14894]
9323d39b
EM
3741 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3742 __ppc_mdoio and __ppc_mdoom.
3743 * manual/platform.texi: Document new functions __ppc_yield,
3744 __ppc_mdoio and __ppc_mdoom.
3745
13e23af7
CD
37462013-05-22 Carlos O'Donell <carlos@redhat.com>
3747
3748 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3749 (main): Mention "tls" pseudo-hwcap is legacy.
3750 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3751
351fe550
JM
37522013-05-22 Joseph Myers <joseph@codesourcery.com>
3753
3754 * math/gen-libm-test.pl (parse_args): Output only string of
3755 arguments as text for test name, not full call or descriptions of
3756 tests for extra outputs.
3757 (generate_testfile): Do not pass function name to parse_args.
3758 Generate this_func variable from START.
3759 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3760 field to arg_str.
3761 (struct test_ff_f_data): Likewise.
3762 (test_ff_f_data_nexttoward): Likewise.
3763 (struct test_fi_f_data): Likewise.
3764 (struct test_fl_f_data): Likewise.
3765 (struct test_if_f_data): Likewise.
3766 (struct test_fff_f_data): Likewise.
3767 (struct test_c_f_data): Likewise.
3768 (struct test_f_f1_data): Likewise. Remove field extra_name.
3769 (struct test_fF_f1_data): Likewise.
3770 (struct test_ffI_f1_data): Likewise.
3771 (struct test_c_c_data): Rename test_name field to arg_str.
3772 (struct test_cc_c_data): Likewise.
3773 (struct test_f_i_data): Likewise.
3774 (struct test_ff_i_data): Likewise.
3775 (struct test_f_l_data): Likewise.
3776 (struct test_f_L_data): Likewise.
3777 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3778 and extra2_name.
3779 (COMMON_TEST_SETUP): New macro.
3780 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3781 (COMMON_TEST_CLEANUP): Likewise.
3782 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3783 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3784 macros.
3785 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3786 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3787 macros.
3788 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3789 (RUN_TEST_fff_f): Take argument string. Call new setup and
3790 cleanup macros.
3791 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3792 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3793 macros.
3794 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3795 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3796 macros.
3797 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3798 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3799 cleanup macros.
3800 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3801 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3802 cleanup macros.
3803 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3804 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3805 cleanup macros.
3806 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3807 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3808 macros.
3809 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3810 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3811 macros.
3812 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3813 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3814 macros.
3815 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3816 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3817 cleanup macros.
3818 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3819 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3820 cleanup macros.
3821 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3822 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3823 macros.
3824 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3825 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3826 cleanup macros.
3827 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3828 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3829 macros.
3830 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3831 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3832 macros.
3833 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3834 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3835 cleanup macros.
3836 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3837
85118d4d
EBM
38382013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3839
3840 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3841 to _sifields.sigfault.
3842 (si_addr_lsb): Define new macro.
3843 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3844 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3845 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3846
7a44c18f
CD
38472013-05-03 Carlos O'Donell <carlos at redhat.com>
3848
3849 [BZ #15441]
3850 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3851 returns -1.
3852 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3853 null return -1.
3854 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3855 loading the domain.
3856
b50a7181
JM
38572013-05-22 Joseph Myers <joseph@codesourcery.com>
3858
3859 * math/gen-libm-test.pl (parse_args): Do not include expected
3860 result in test name.
3861 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3862 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3863 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3864 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3865 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3867
051063c8
SP
38682013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3869
3ce9e010
SP
3870 * benchtests/Makefile: Sort function entries.
3871
051063c8
SP
3872 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3873 tanh, asinh, acosh, atanh.
3874 * benchtests/acos-inputs: New file.
3875 * benchtests/acosh-inputs: New file.
3876 * benchtests/asin-inputs: New file.
3877 * benchtests/asinh-inputs: New file.
3878 * benchtests/atanh-inputs: New file.
3879 * benchtests/cosh-inputs: New file.
3880 * benchtests/log-inputs: New file.
3881 * benchtests/sinh-inputs: New file.
3882 * benchtests/tanh-inputs: New file.
3883
47c22455
DL
38842013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3885
3886 [BZ #15339]
3887 * posix/tst-getaddrinfo4.c: New test.
3888 * posix/Makefile (tests): Add it.
3889
3d04f5db
SP
38902013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3891
3892 [BZ #15339]
3893 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3894 when no services were used.
3895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3896 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3897
d5dd6189
AS
38982013-05-21 Andreas Schwab <schwab@suse.de>
3899
3900 [BZ #15014]
3901 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3902 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3903 successful.
3904 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3905 redundant variable declarations and reallocation of buffer when
3906 parsing as IPv6 address. Always set NSS status when called from
3907 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3908 buffer too small. Correct computation of needed size.
3909 * nss/Makefile (tests): Add test-digits-dots.
3910 * nss/test-digits-dots.c: New test.
3911
fef94eab
SP
39122013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3913
3914 * benchtests/Makefile: Remove instructions for adding
3915 benchmark tests.
3916 * benchtests/README: New file to explain how to execute and
3917 enhance the benchmark tests.
3918
e39adf43
AS
39192013-05-21 Andreas Schwab <schwab@suse.de>
3920
3921 [BZ #15493]
3922 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3923 * setjmp/tst-sigsetjmp.c: New test.
3924
b2b671b6
OB
39252013-05-20 Ondřej Bílka <neleai@seznam.cz>
3926
3927 * sysdeps/x86_64/memset.S (memset): New implementation.
3928 (__bzero): Likewise.
3929 (__memset_tail): New function.
3930
2d48b41c
OB
39312013-05-20 Ondřej Bílka <neleai@seznam.cz>
3932
3933 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3934 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3935 __memcpy_sse2_unaligned ifunc selection.
3936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3937 Add memcpy-sse2-unaligned.S.
3938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3939 Add: __memcpy_sse2_unaligned.
3940
f16cc3eb
JM
39412013-05-19 Joseph Myers <joseph@codesourcery.com>
3942
3e694268
JM
3943 [BZ #15490]
3944 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3945 math_force_eval before restoring floating-point envrionment.
3946 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3947 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3948 Likewise.
3949 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3950 <math_private.h>.
3951 (__nearbyintl): Use math_force_eval before restoring
3952 floating-point environment.
3953 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3954
db62a907
JM
3955 * math/gen-libm-test.pl (special_functions): Remove.
3956 (parse_args): Don't handle TEST_extra. Handle functions with no
3957 return value.
3958 * math/libm-test.inc (struct test_sincos_data): Replace with
3959 struct test_fFF_11_data.
3960 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3961 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3962 (sincos_test_data): Change element type to struct
3963 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3964 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3965 RUN_TEST_LOOP_sincos.
3966 * math/README.libm-test: Don't mention special handling of
3967 individual functions.
3968 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3969 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3970 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3971 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3972 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3974
f16cc3eb
JM
3975 * math/gen-libm-test.pl (get_variable): Remove function.
3976 (parse_args): Don't show pointer parameters to call in test
3977 names. Use "extra output N" in test names for extra outputs
3978 rather than naming variables.
3979
3779b5b6
JM
39802013-05-18 Joseph Myers <joseph@codesourcery.com>
3981
2ee094ff
JM
3982 [BZ #15488]
3983 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3984 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3985 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3986 double tests.
3987 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3988 disable.
3989 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3990 check_long_double.
3991
3779b5b6
JM
3992 * math/gen-libm-test.pl (@tests): Remove variable.
3993 ($count): Likewise.
3994 (new_test): Remove function.
3995 (show_exceptions): New function.
3996 (special_functions): Use show_exceptions instead of new_test.
3997 (parse_args): Likewise.
3998 (generate_testfile): Pass only function name in generated call to
3999 print_max_error or print_complex_max_error.
4000 (get_ulps): Do not handle complex tests specially.
4001 (output_test): Rename to ...
4002 (get_all_ulps_for_test): ... this. Return a string rather than
4003 printing to a file. Require ulps to be present.
4004 (output_ulps): Generate arrays rather than #defines.
4005 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4006 (struct ulp_data): New type.
4007 (BUILD_COMPLEX_ULP): Remove macro.
4008 (compare_ulp_data): New function.
4009 (find_ulps): Likewise.
4010 (find_test_ulps): Likewise.
4011 (find_function_ulps): Likewise.
4012 (find_complex_function_ulps): Likewise.
4013 (print_max_error): Determine allowed ulps using
4014 find_function_ulps.
4015 (print_complex_max_error): Determine allowed ulps using
4016 find_complex_function_ulps.
4017 (check_float_internal): Determine max ulps using find_test_ulps.
4018 (check_float): Do not take max_ulp parameter. Update call to
4019 check_float_internal.
4020 (check_complex): Likewise.
4021 (check_int): Do not take max_ulp parameter.
4022 (check_long): Likewise.
4023 (check_bool): Likewise.
4024 (check_longlong): Likewise.
4025 (struct test_f_f_data): Remove max_ulp field.
4026 (struct test_ff_f_data): Likewise.
4027 (struct test_ff_f_data_nexttoward): Likewise.
4028 (struct test_fi_f_data): Likewise.
4029 (struct test_fl_f_data): Likewise.
4030 (struct test_if_f_data): Likewise.
4031 (struct test_fff_f_data): Likewise.
4032 (struct test_c_f_data): Likewise.
4033 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4034 (struct test_fF_f1_data): Likewise.
4035 (struct test_ffI_f1_data): Likewise.
4036 (struct test_c_c_data): Remove max_ulp field.
4037 (struct test_cc_c_data): Likewise.
4038 (struct test_f_i_data): Likewise.
4039 (struct test_ff_i_data): Likewise.
4040 (struct test_f_l_data): Likewise.
4041 (struct test_f_L_data): Likewise.
4042 (struct test_sincos_data): Likewise.
4043 (RUN_TEST_f_f): Do not handle ulps.
4044 (RUN_TEST_LOOP_f_f): Likewise.
4045 (RUN_TEST_2_f): Likewise.
4046 (RUN_TEST_LOOP_2_f): Likewise.
4047 (RUN_TEST_fff_f): Likewise.
4048 (RUN_TEST_LOOP_fff_f): Likewise.
4049 (RUN_TEST_c_f): Likewise.
4050 (RUN_TEST_LOOP_c_f): Likewise.
4051 (RUN_TEST_f_f1): Likewise.
4052 (RUN_TEST_LOOP_f_f1): Likewise.
4053 (RUN_TEST_fF_f1): Likewise.
4054 (RUN_TEST_LOOP_fF_f1): Likewise.
4055 (RUN_TEST_fI_f1): Likewise.
4056 (RUN_TEST_LOOP_fI_f1): Likewise.
4057 (RUN_TEST_ffI_f1): Likewise.
4058 (RUN_TEST_LOOP_ffI_f1): Likewise.
4059 (RUN_TEST_c_c): Likewise.
4060 (RUN_TEST_LOOP_c_c): Likewise.
4061 (RUN_TEST_cc_c): Likewise.
4062 (RUN_TEST_LOOP_cc_c): Likewise.
4063 (RUN_TEST_f_i): Likewise.
4064 (RUN_TEST_LOOP_f_i): Likewise.
4065 (RUN_TEST_f_i_tg): Likewise.
4066 (RUN_TEST_LOOP_f_i_tg): Likewise.
4067 (RUN_TEST_ff_i_tg): Likewise.
4068 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4069 (RUN_TEST_f_b): Likewise.
4070 (RUN_TEST_LOOP_f_b): Likewise.
4071 (RUN_TEST_f_b_tg): Likewise.
4072 (RUN_TEST_LOOP_f_b_tg): Likewise.
4073 (RUN_TEST_f_l): Likewise.
4074 (RUN_TEST_LOOP_f_l): Likewise.
4075 (RUN_TEST_f_L): Likewise.
4076 (RUN_TEST_LOOP_f_L): Likewise.
4077 (RUN_TEST_sincos): Likewise.
4078 (RUN_TEST_LOOP_sincos): Likewise.
4079
8269107f
JM
40802013-05-17 Joseph Myers <joseph@codesourcery.com>
4081
bb38759d
JM
4082 [BZ #15480]
4083 [BZ #15485]
4084 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4085 main case of finite arguments, set rounding mode to FE_TONEAREST
4086 and discard exceptions.
4087 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4088 exceptions.
4089 (remainder_tonearest_test_data): New variable.
4090 (remainder_test_tonearest): New function.
4091 (remainder_towardzero_test_data): New variable.
4092 (remainder_test_towardzero): New function.
4093 (remainder_downward_test_data): New variable.
4094 (remainder_test_downward): New function.
4095 (remainder_upward_test_data): New variable.
4096 (remainder_test_upward): New function.
4097 (main): Call the new test functions.
4098
a00bdcf0
JM
4099 * math/libm-test.inc (struct test_f_f1_data): Remove field
4100 extra_init.
4101 (struct test_fF_f1_data): Likewise.
4102 (struct test_ffI_f1_data): Likewise.
4103 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4104 based on value of EXTRA_EXPECTED.
4105 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4106 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4107 EXTRA_VAR based on value of EXTRA_EXPECTED.
4108 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4109 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4110 EXTRA_VAR based on value of EXTRA_EXPECTED.
4111 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4112 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4113 EXTRA_VAR based on value of EXTRA_EXPECTED.
4114 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4115 * math/gen-libm-test.pl (parse_args): Don't output initializers
4116 for extra output values.
4117
de407f79
JM
4118 * math/libm-test.inc (check_int): Expect result to be exactly
4119 equal to expected value and do not handle ulps.
4120 (check_long): Likewise.
4121 (check_longlong): Likewise.
4122
8269107f
JM
4123 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4124 exceptions.
4125 (cimag_test_data): Likewise.
4126 (conj_test_data): Likewise.
4127 (copysign_test_data): Likewise.
4128 (cproj_test_data): Likewise.
4129 (creal_test_data): Likewise.
4130 (fabs_test_data): Likewise.
4131 (fdim_test_data): Likewise.
4132 (finite_test_data): Likewise.
4133 (floor_test_data): Likewise.
4134 (fmax_test_data): Likewise.
4135 (fmin_test_data): Likewise.
4136 (fmod_test_data): Likewise.
4137 (fpclassify_test_data): Likewise.
4138 (frexp_test_data): Likewise.
4139 (ilogb_test_data): Likewise.
4140 (isfinite_test_data): Likewise.
4141 (isgreater_test_data): Likewise.
4142 (isgreaterequal_test_data): Likewise.
4143 (isinf_test_data): Likewise.
4144 (isless_test_data): Likewise.
4145 (islessequal_test_data): Likewise.
4146 (islessgreater_test_data): Likewise.
4147 (isnan_test_data): Likewise.
4148 (isnormal_test_data): Likewise.
4149 (issignaling_test_data): Likewise.
4150 (isunordered_test_data): Likewise.
4151 (ldexp_test_data): Likewise.
4152 (lrint_test_data): Likewise.
4153 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4154 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4155 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4156 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4157 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4158 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4159 test input.
4160 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4161 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4162 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4163 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4164 that test input.
4165 (lrint_downward_test_data): Test for "inexact" exceptions.
4166 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4167 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4168 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4169 test input.
4170 (lrint_upward_test_data): Test for "inexact" exceptions.
4171 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4172 test input.
4173 (llrint_test_data): Test for "inexact" exceptions.
4174 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4175 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4176 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4177 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4178 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4179 (llrint_downward_test_data): Test for "inexact" exceptions.
4180 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4181 (llrint_upward_test_data): Test for "inexact" exceptions.
4182 (logb_test_data): Likewise.
4183 (logb_downward_test_data): Likewise.
4184 (nextafter_test_data): Likewise.
4185 (nexttoward_test_data): Likewise.
4186 (remainder_test_data): Likewise.
4187 (remquo_test_data): Likewise.
4188 (scalbn_test_data): Likewise.
4189 (scalbln_test_data): Likewise.
4190 (signbit_test_data): Likewise.
4191 (sqrt_test_data): Likewise.
4192 (significand_test_data): Likewise.
4193
48a18de1
SP
41942013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4195
4196 [BZ #15424]
4197 * benchtests/bench-modf.c (struct args): Mark arg0 as
4198 volatile.
4199 * scripts/bench.pl: Mark members of struct args as volatile.
4200
13d3b41a
AZ
42012013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4202
68191c1d 4203 [BZ # 15497]
13d3b41a
AZ
4204 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4205 negative infinity on POWER6 or lower.
4206 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4207
2848b105
MR
42082013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4209
4210 [BZ #15442]
4211 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4212 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4213 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4214 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4215 (_FP_SETQNAN): New macro.
4216 (_FP_SETQNAN_SEMIRAW): Likewise.
4217 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4218 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4219 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4220 (FP_EXTEND): Use _FP_FRAC_SNANP.
4221 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4222 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4223 into account.
4224 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4225 New macro.
4226 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4227 Likewise.
4228
323e5cb7
JM
42292013-05-16 Joseph Myers <joseph@codesourcery.com>
4230
c58b274f
JM
4231 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4232 with DIVIDE_BY_ZERO_EXCEPTION.
4233 (gamma_test_data): Likewise.
4234 (lgamma_test_data): Likewise.
4235 (log_test_data): Likewise.
4236 (log10_test_data): Likewise.
4237 (log2_test_data): Likewise.
4238 (tgamma_test_data): Likewise.
4239
0ab34904
JM
4240 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4241 (acos_test_tonearest): Likewise.
4242 (acos_test_towardzero): Likewise.
4243 (acos_test_downward): Likewise.
4244 (acos_test_upward): Likewise.
4245 (acosh_test): Likewise.
4246 (asin_test): Likewise.
4247 (asin_test_tonearest): Likewise.
4248 (asin_test_towardzero): Likewise.
4249 (asin_test_downward): Likewise.
4250 (asin_test_upward): Likewise.
4251 (asinh_test): Likewise.
4252 (atan_test): Likewise.
4253 (atanh_test): Likewise.
4254 (atan2_test): Likewise.
4255 (cabs_test): Likewise.
4256 (cacos_test): Likewise.
4257 (cacosh_test): Likewise.
4258 (casin_test): Likewise.
4259 (casinh_test): Likewise.
4260 (catan_test): Likewise.
4261 (catanh_test): Likewise.
4262 (cbrt_test): Likewise.
4263 (ccos_test): Likewise.
4264 (ccosh_test): Likewise.
4265 (cexp_test): Likewise.
4266 (clog_test): Likewise.
4267 (clog10_test): Likewise.
4268 (cos_test): Likewise.
4269 (cos_test_tonearest): Likewise.
4270 (cos_test_towardzero): Likewise.
4271 (cos_test_downward): Likewise.
4272 (cos_test_upward): Likewise.
4273 (cosh_test): Likewise.
4274 (cosh_test_tonearest): Likewise.
4275 (cosh_test_towardzero): Likewise.
4276 (cosh_test_downward): Likewise.
4277 (cosh_test_upward): Likewise.
4278 (cpow_test): Likewise.
4279 (csin_test): Likewise.
4280 (csinh_test): Likewise.
4281 (csqrt_test): Likewise.
4282 (ctan_test): Likewise.
4283 (ctan_test_tonearest): Likewise.
4284 (ctan_test_towardzero): Likewise.
4285 (ctan_test_downward): Likewise.
4286 (ctan_test_upward): Likewise.
4287 (ctanh_test): Likewise.
4288 (ctanh_test_tonearest): Likewise.
4289 (ctanh_test_towardzero): Likewise.
4290 (ctanh_test_downward): Likewise.
4291 (ctanh_test_upward): Likewise.
4292 (erf_test): Likewise.
4293 (erfc_test): Likewise.
4294 (exp_test): Likewise.
4295 (exp_test_tonearest): Likewise.
4296 (exp_test_towardzero): Likewise.
4297 (exp_test_downward): Likewise.
4298 (exp_test_upward): Likewise.
4299 (exp10_test): Likewise.
4300 (exp2_test): Likewise.
4301 (expm1_test): Likewise.
4302 (fmod_test): Likewise.
4303 (gamma_test): Likewise.
4304 (hypot_test): Likewise.
4305 (j0_test): Likewise.
4306 (j1_test): Likewise.
4307 (jn_test): Likewise.
4308 (lgamma_test): Likewise.
4309 (log_test): Likewise.
4310 (log10_test): Likewise.
4311 (log1p_test): Likewise.
4312 (log2_test): Likewise.
4313 (logb_test_downward): Likewise.
4314 (pow_test): Likewise.
4315 (pow_test_tonearest): Likewise.
4316 (pow_test_towardzero): Likewise.
4317 (pow_test_downward): Likewise.
4318 (pow_test_upward): Likewise.
4319 (remainder_test): Likewise.
4320 (remquo_test): Likewise.
4321 (sin_test): Likewise.
4322 (sin_test_tonearest): Likewise.
4323 (sin_test_towardzero): Likewise.
4324 (sin_test_downward): Likewise.
4325 (sin_test_upward): Likewise.
4326 (sincos_test): Likewise.
4327 (sinh_test): Likewise.
4328 (sinh_test_tonearest): Likewise.
4329 (sinh_test_towardzero): Likewise.
4330 (sinh_test_downward): Likewise.
4331 (sinh_test_upward): Likewise.
4332 (sqrt_test): Likewise.
4333 (tan_test): Likewise.
4334 (tan_test_tonearest): Likewise.
4335 (tan_test_towardzero): Likewise.
4336 (tan_test_downward): Likewise.
4337 (tan_test_upward): Likewise.
4338 (tanh_test): Likewise.
4339 (tgamma_test): Likewise.
4340 (y0_test): Likewise.
4341 (y1_test): Likewise.
4342 (yn_test): Likewise.
4343
323e5cb7
JM
4344 * math/gen-libm-test.pl (adjust_arg): Remove function.
4345 (special_function): Remove argument $in_func. Only handle
4346 generating output for tables of tests, not inside functions.
4347 (parse_args): Likewise.
4348 (generate_testfile): Remove variable $in_func. Update call to
4349 parse_args.
4350 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4351 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4352 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4353 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4354 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4355 (MAX_VALUE_INIT): Rename macro to max_value.
4356 (MIN_VALUE_INIT): Rename macro to min_value.
4357 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4358 (plus_zero): Remove variable.
4359 (minus_zero): Likewise.
4360 (plus_infty): Likewise.
4361 (minus_infty): Likewise.
4362 (qnan_value): Likewise.
4363 (max_value): Likewise.
4364 (min_value): Likewise.
4365 (min_subnorm_value): Likewise.
4366
e054f494
RA
43672013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4368
4369 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4370 uint64_t or uint32_t usage.
4371 * crypt/sha256-block.c: Likewise.
4372 * crypt/sha256-crypt.c: Likewise.
4373 * crypt/sha256.c: Likewise.
4374 * crypt/sha512-block.c: Likewise.
4375 * crypt/sha512-crypt.c: Likewise.
4376 * crypt/sha512.c: Likewise.
4377 * debug/backtrace-tst.c: Likewise.
4378 * debug/pcprofiledump.c: Likewise.
4379 * elf/cache.c: Likewise.
4380 * elf/dl-cache.c: Likewise.
4381 * elf/dl-misc.c: Likewise.
4382 * elf/dl-profile.c: Likewise.
4383 * elf/dl-support.c: Likewise.
4384 * elf/ldconfig.c: Likewise.
4385 * elf/sprof.c: Likewise.
4386 * iconv/dummy-repertoire.c: Likewise.
4387 * iconv/iconv_charmap.c: Likewise.
4388 * iconv/skeleton.c: Likewise.
4389 * iconvdata/8bit-generic.c: Likewise.
4390 * iconvdata/cp737.h: Likewise.
4391 * iconvdata/cp775.h: Likewise.
4392 * iconvdata/ibm1008.h: Likewise.
4393 * iconvdata/ibm1025.h: Likewise.
4394 * iconvdata/ibm1046.h: Likewise.
4395 * iconvdata/ibm1097.h: Likewise.
4396 * iconvdata/ibm1112.h: Likewise.
4397 * iconvdata/ibm1122.h: Likewise.
4398 * iconvdata/ibm1123.h: Likewise.
4399 * iconvdata/ibm1124.h: Likewise.
4400 * iconvdata/ibm1129.h: Likewise.
4401 * iconvdata/ibm1130.h: Likewise.
4402 * iconvdata/ibm1132.h: Likewise.
4403 * iconvdata/ibm1133.h: Likewise.
4404 * iconvdata/ibm1137.h: Likewise.
4405 * iconvdata/ibm1140.h: Likewise.
4406 * iconvdata/ibm1141.h: Likewise.
4407 * iconvdata/ibm1142.h: Likewise.
4408 * iconvdata/ibm1143.h: Likewise.
4409 * iconvdata/ibm1144.h: Likewise.
4410 * iconvdata/ibm1145.h: Likewise.
4411 * iconvdata/ibm1146.h: Likewise.
4412 * iconvdata/ibm1147.h: Likewise.
4413 * iconvdata/ibm1148.h: Likewise.
4414 * iconvdata/ibm1149.h: Likewise.
4415 * iconvdata/ibm1153.h: Likewise.
4416 * iconvdata/ibm1154.h: Likewise.
4417 * iconvdata/ibm1155.h: Likewise.
4418 * iconvdata/ibm1156.h: Likewise.
4419 * iconvdata/ibm1157.h: Likewise.
4420 * iconvdata/ibm1158.h: Likewise.
4421 * iconvdata/ibm1160.h: Likewise.
4422 * iconvdata/ibm1161.h: Likewise.
4423 * iconvdata/ibm1162.h: Likewise.
4424 * iconvdata/ibm1163.h: Likewise.
4425 * iconvdata/ibm1164.h: Likewise.
4426 * iconvdata/ibm1166.h: Likewise.
4427 * iconvdata/ibm1167.h: Likewise.
4428 * iconvdata/ibm12712.h: Likewise.
4429 * iconvdata/ibm1390.h: Likewise.
4430 * iconvdata/ibm1399.h: Likewise.
4431 * iconvdata/ibm16804.h: Likewise.
4432 * iconvdata/ibm4517.h: Likewise.
4433 * iconvdata/ibm4899.h: Likewise.
4434 * iconvdata/ibm4909.h: Likewise.
4435 * iconvdata/ibm4971.h: Likewise.
4436 * iconvdata/ibm5347.h: Likewise.
4437 * iconvdata/ibm803.h: Likewise.
4438 * iconvdata/ibm856.h: Likewise.
4439 * iconvdata/ibm901.h: Likewise.
4440 * iconvdata/ibm902.h: Likewise.
4441 * iconvdata/ibm9030.h: Likewise.
4442 * iconvdata/ibm9066.h: Likewise.
4443 * iconvdata/ibm921.h: Likewise.
4444 * iconvdata/ibm922.h: Likewise.
4445 * iconvdata/ibm9448.h: Likewise.
4446 * iconvdata/isiri-3342.h: Likewise.
4447 * iconvdata/jis0201.h: Likewise.
4448 * include/link.h: Likewise.
4449 * include/netdb.h: Likewise.
4450 * inet/check_native.c: Likewise.
4451 * inet/check_pf.c: Likewise.
4452 * inet/getipv4sourcefilter.c: Likewise.
4453 * inet/getnameinfo.c: Likewise.
4454 * inet/getsourcefilter.c: Likewise.
4455 * inet/htonl.c: Likewise.
4456 * inet/setipv4sourcefilter.c: Likewise.
4457 * inet/setsourcefilter.c: Likewise.
4458 * inet/test-inet6_opt.c: Likewise.
4459 * inet/tst-network.c: Likewise.
4460 * locale/C-collate.c: Likewise.
4461 * locale/C-ctype.c: Likewise.
4462 * locale/C-time.c: Likewise.
4463 * locale/C-translit.h: Likewise.
4464 * locale/loadarchive.c: Likewise.
4465 * locale/programs/3level.h: Likewise.
4466 * locale/programs/charmap.c: Likewise.
4467 * locale/programs/charmap.h: Likewise.
4468 * locale/programs/ld-address.c: Likewise.
4469 * locale/programs/ld-collate.c: Likewise.
4470 * locale/programs/ld-ctype.c: Likewise.
4471 * locale/programs/ld-identification.c: Likewise.
4472 * locale/programs/ld-measurement.c: Likewise.
4473 * locale/programs/ld-messages.c: Likewise.
4474 * locale/programs/ld-monetary.c: Likewise.
4475 * locale/programs/ld-name.c: Likewise.
4476 * locale/programs/ld-numeric.c: Likewise.
4477 * locale/programs/ld-paper.c: Likewise.
4478 * locale/programs/ld-telephone.c: Likewise.
4479 * locale/programs/ld-time.c: Likewise.
4480 * locale/programs/linereader.c: Likewise.
4481 * locale/programs/locale.c: Likewise.
4482 * locale/programs/locarchive.c: Likewise.
4483 * locale/programs/locfile.h: Likewise.
4484 * locale/programs/repertoire.c: Likewise.
4485 * locale/programs/simple-hash.c: Likewise.
4486 * locale/programs/simple-hash.h: Likewise.
4487 * malloc/memusage.c: Likewise.
4488 * malloc/memusagestat.c: Likewise.
4489 * nis/nis_defaults.c: Likewise.
4490 * nis/nis_hash.c: Likewise.
4491 * nis/nis_print.c: Likewise.
4492 * nis/nis_xdr.c: Likewise.
4493 * nscd/connections.c: Likewise.
4494 * nscd/hstcache.c: Likewise.
4495 * nscd/nscd_gethst_r.c: Likewise.
4496 * nscd/nscd_getserv_r.c: Likewise.
4497 * nscd/nscd_helper.c: Likewise.
4498 * nscd/servicescache.c: Likewise.
4499 * nss/makedb.c: Likewise.
4500 * nss/nss_db/db-XXX.c: Likewise.
4501 * nss/nss_db/db-initgroups.c: Likewise.
4502 * nss/nss_db/db-netgrp.c: Likewise.
4503 * nss/nss_files/files-network.c: Likewise.
4504 * nss/nss_files/files-parse.c: Likewise.
4505 * posix/bug-regex5.c: Likewise.
4506 * posix/fnmatch_loop.c: Likewise.
4507 * posix/regcomp.c: Likewise.
4508 * posix/regexec.c: Likewise.
4509 * posix/tst-rfc3484-2.c: Likewise.
4510 * posix/tst-rfc3484-3.c: Likewise.
4511 * posix/tst-rfc3484.c: Likewise.
4512 * resolv/nss_dns/dns-canon.c: Likewise.
4513 * resolv/nss_dns/dns-network.c: Likewise.
4514 * resolv/res_init.c: Likewise.
4515 * resolv/res_mkquery.c: Likewise.
4516 * resolv/tst-aton.c: Likewise.
4517 * stdlib/cxa_atexit.c: Likewise.
4518 * stdlib/cxa_finalize.c: Likewise.
4519 * stdlib/gen-fpioconst.c: Likewise.
4520 * stdlib/strtol_l.c: Likewise.
4521 * string/tst-endian.c: Likewise.
4522 * sunrpc/auth_des.c: Likewise.
4523 * sunrpc/clnt_udp.c: Likewise.
4524 * sunrpc/rtime.c: Likewise.
4525 * sunrpc/svcauth_des.c: Likewise.
4526 * sunrpc/xdr.c: Likewise.
4527 * sunrpc/xdr_intXX_t.c: Likewise.
4528 * sunrpc/xdr_rec.c: Likewise.
4529 * sysdeps/generic/ldconfig.h: Likewise.
4530 * sysdeps/generic/ldsodefs.h: Likewise.
4531 * sysdeps/generic/memusage.h: Likewise.
4532 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4533 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4534 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4535 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4536 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4537 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4538 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4539 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4540 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4541 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4542 * sysdeps/posix/getaddrinfo.c: Likewise.
4543 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4544 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4545 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4546 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4547 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4548 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4549 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4550 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4551 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4552 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4553 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4554 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4555 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4556 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4557 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4558 * sysdeps/x86_64/dl-tls.h: Likewise.
4559 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4560 * time/alt_digit.c: Likewise.
4561 * time/era.c: Likewise.
4562 * wcsmbs/tst-c16c32-1.c: Likewise.
4563
8c75f674
JM
45642013-05-16 Joseph Myers <joseph@codesourcery.com>
4565
4566 * math/libm-test.inc (struct test_sincos_data): New type.
4567 (RUN_TEST_LOOP_sincos): New macro.
4568 (sincos_test_data): New variable.
4569 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4570
e6e49e59
RH
45712013-05-16 Richard Henderson <rth@redhat.com>
4572
4573 * math/atest-exp2.c (LIMB64): New macro.
4574 (CONSTSZ): New macro.
4575 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4576 (hexdig): Move ...
4577 (print_mpn_fp): ... to function scope.
4578 (read_mpn_hex): Remove.
4579 (get_log2): Remove.
4580 (exp2_mpn): Use mp_log2.
4581 (main): Use mp_exp1.
4582
15c7c18d
JM
45832013-05-16 Joseph Myers <joseph@codesourcery.com>
4584
105a07df
JM
4585 * math/libm-test.inc: Remove comment about not testing "inexact"
4586 exceptions.
4587 (INEXACT_EXCEPTION): New macro.
4588 (NO_INEXACT_EXCEPTION): Likewise.
4589 (INVALID_EXCEPTION_OK): Update value.
4590 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4591 (OVERFLOW_EXCEPTION_OK): Likewise.
4592 (UNDERFLOW_EXCEPTION_OK): Likewise.
4593 (IGNORE_ZERO_INF_SIGN): Likewise.
4594 (ERRNO_UNCHANGED): Likewise.
4595 (ERRNO_EDOM): Likewise.
4596 (ERRNO_ERANGE): Likewise.
4597 (test_exceptions): Handle testing "inexact" exceptions.
4598 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4599 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4600 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4601 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4602 INEXACT_EXCEPTION.
4603 (rint_towardzero_test_data): Likewise.
4604 (rint_downward_test_data): Likewise.
4605 (rint_upward_test_data): Likewise.
4606
e9eee333
JM
4607 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4608 with OVERFLOW_EXCEPTION.
4609 (exp10_test_data): Likewise.
4610 (exp2_test_data): Likewise.
4611 (expm1_test_data): Likewise.
4612 (lgamma_test_data): Likewise.
4613 (pow_test_data): Likewise.
4614 (tgamma_test_data): Likewise.
4615 (yn_test_data): Remove duplicate test of overflow.
4616
1c38ff73
JM
4617 * math/libm-test.inc (struct test_cc_c_data): New type.
4618 (RUN_TEST_LOOP_cc_c): New macro.
4619 (cpow_test_data): New variable.
4620 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4621
15c7c18d
JM
4622 * math/libm-test.inc (struct test_f_L_data): New type.
4623 (RUN_TEST_LOOP_f_L): New macro.
4624 (llrint_test_data): New variable.
4625 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4626 (llrint_tonearest_test_data): New variable.
4627 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4628 (llrint_towardzero_test_data): New variable.
4629 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4630 (llrint_downward_test_data): New variable.
4631 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4632 (llrint_upward_test_data): New variable.
4633 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4634 (llround_test_data): New variable.
4635 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4636
f137ff13
PC
46372013-05-13 Peter Collingbourne <pcc@google.com>
4638
4639 * math/atest-exp2.c (get_log2): Remove const attribute.
4640
3608cb24
JM
46412013-05-15 Joseph Myers <joseph@codesourcery.com>
4642
4643 * math/libm-test.inc (struct test_f_l_data): New type.
4644 (RUN_TEST_LOOP_f_l): New macro.
4645 (lrint_test_data): New variable.
4646 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4647 (lrint_tonearest_test_data): New variable.
4648 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4649 (lrint_towardzero_test_data): New variable.
4650 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4651 (lrint_downward_test_data): New variable.
4652 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4653 (lrint_upward_test_data): New variable.
4654 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4655 (lround_test_data): New variable.
4656 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4657
39b1f617
PC
46582013-05-15 Peter Collingbourne <pcc@google.com>
4659
1deff3dc
PC
4660 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4661 (EXTRACT_WORDS64) Use where appropriate.
4662 (INSERT_WORDS64) Likewise.
4663
791f3ba0
PC
4664 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4665 constraints with x constraints.
4666 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4667
39b1f617
PC
4668 * malloc/obstack.c (_obstack_compat): Add initializer.
4669
12fba011
EM
46702013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4671
4672 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4673 si_trapno and add si_addr_lsb to _sifields.sigfault.
4674 (si_trapno): Remove macro.
4675 (si_addr_lsb): Define new macro.
4676 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4677
d369f531
JM
46782013-05-15 Joseph Myers <joseph@codesourcery.com>
4679
b861c6c4
JM
4680 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4681 instead of TEST_f_l.
4682 (llrint_test_tonearest): Likewise.
4683 (llrint_test_towardzero): Likewise.
4684 (llrint_test_downward): Likewise.
4685 (llrint_test_upward): Likewise.
4686 (llround_test): Likewise.
4687
7abeee12
JM
4688 * math/libm-test.inc (struct test_f_i_data): Add comment.
4689 (RUN_TEST_LOOP_f_b): New macro.
4690 (RUN_TEST_LOOP_f_b_tg): Likewise.
4691 (finite_test_data): New variable.
4692 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4693 (isfinite_test_data): New variable.
4694 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4695 (isinf_test_data): New variable.
4696 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4697 (isnan_test_data): New variable.
4698 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4699 (isnormal_test_data): New variable.
4700 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4701 (issignaling_test_data): New variable.
4702 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4703 (signbit_test_data): New variable.
4704 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4705
cbe8c4d3
JM
4706 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4707 with INVALID_EXCEPTION.
4708 (acosh_test_data): Likewise.
4709 (asin_test_data): Likewise.
4710 (atanh_test_data): Likewise.
4711 (fmod_test_data): Likewise.
4712 (log_test_data): Likewise.
4713 (log10_test_data): Likewise.
4714 (log2_test_data): Likewise.
4715 (pow_test_data): Likewise.
4716 (sqrt_test_data): Likewise.
4717 (y0_test_data): Likewise.
4718 (y1_test_data): Likewise.
4719 (yn_test_data): Likewise.
4720
5575c0e5
JM
4721 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4722 function contents.
4723
d369f531
JM
4724 * math/libm-test.inc (struct test_ff_i_data): New type.
4725 (RUN_TEST_LOOP_ff_i_tg): New macro.
4726 (isgreater_test_data): New variable.
4727 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4728 (isgreaterequal_test_data): New variable.
4729 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4730 (isless_test_data): New variable.
4731 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4732 (islessequal_test_data): New variable.
4733 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4734 (islessgreater_test_data): New variable.
4735 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4736 (isunordered_test_data): New variable.
4737 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4738
781fd748
DM
47392013-05-14 David S. Miller <davem@davemloft.net>
4740
4741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4742
87aa21df
JM
47432013-05-14 Joseph Myers <joseph@codesourcery.com>
4744
5e908270
JM
4745 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4746
f71172e5
JM
4747 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4748 extra_test to int.
4749 (struct test_f_i_data): Change type of max_ulp to int.
4750
8cfa635a
JM
4751 * math/libm-test.inc (test_ffI_f1_data): New type.
4752 (RUN_TEST_LOOP_ffI_f1): New macro.
4753 (remquo_test_data): New variable.
4754 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4755
2bcb36b2
JM
4756 * setjmp/tst-setjmp-fp.c: New file.
4757 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4758 (link-libm): New variable.
4759 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4760
acbd839a
JM
4761 * math/libm-test.inc (struct test_f_i_data): New type.
4762 (RUN_TEST_LOOP_f_i): New macro.
4763 (RUN_TEST_LOOP_f_i_tg): Likewise.
4764 (fpclassify_test_data): New variable.
4765 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4766 (ilogb_test_data): New variable.
4767 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4768
e414d745
JM
4769 * math/libm-test.inc (scalbln_test): Correct function name in END
4770 call.
4771
d9c2a0fd
JM
4772 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4773 (RUN_TEST_LOOP_fI_f1): New macro.
4774 (frexp_test_data): New variable.
4775 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4776
9dc9095d
JM
4777 * math/libm-test.inc (struct test_fF_f1_data): New type.
4778 (RUN_TEST_LOOP_fF_f1): New macro.
4779 (modf_test_data): New variable.
4780 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4781
87aa21df
JM
4782 * math/libm-test.inc (struct test_f_f1_data): New type.
4783 (RUN_TEST_LOOP_f_f1): New macro.
4784 (gamma_test_data): New variable.
4785 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4786 (lgamma_test_data): New variable.
4787 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4788
141af660
CD
47892013-05-13 Carlos O'Donell <carlos@redhat.com>
4790
4791 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4792 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4793 (main): Comment "tls" pseudo-hwcap.
4794
6d33265c
JM
47952013-05-13 Joseph Myers <joseph@codesourcery.com>
4796
68fc074c
JM
4797 * math/libm-test.inc (struct test_fl_f_data): New type.
4798 (RUN_TEST_LOOP_fl_f): New variable.
4799 (scalbln_test_data): New variable.
4800 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4801
243216e1
JM
4802 * math/libm-test.inc (struct test_fi_f_data): New type.
4803 (RUN_TEST_LOOP_fi_f): New macro.
4804 (ldexp_test_data): New variable.
4805 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4806 (scalbn_test_data): New variable.
4807 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4808
6a1992e2
JM
4809 * math/libm-test.inc (struct test_c_f_data): New type.
4810 (RUN_TEST_LOOP_c_f): New macro.
4811 (cabs_test_data): New variable.
4812 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4813 (carg_test_data): New variable.
4814 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4815 (cimag_test_data): New variable.
4816 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4817 (creal_test_data): New variable.
4818 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4819
0e400df5
JM
4820 * math/libm-test.inc (struct test_if_f_data): New type.
4821 (RUN_TEST_LOOP_if_f): New macro.
4822 (jn_test_data): New variable.
4823 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4824 (yn_test_data): New variable.
4825 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4826
6d33265c
JM
4827 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4828
f98ece5f
AZ
48292013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4830
4831 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4832 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4833
0f7d347b
SP
48342013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4835
43fe811b
SP
4836 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4837 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4838 (bench-deps): Add bench-timing.h.
4839 * benchtests-bench-skeleton.c: Include bench-timing.h.
4840 (main): Use TIMING_* macros instead of clock_gettime.
4841 * benchtests/bench-timing.h: New file.
4842
0f7d347b
SP
4843 [BZ #14582]
4844 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4845 Renamed from _LIB_VERSION.
4846 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4847
601a3a5f
JM
48482013-05-12 Joseph Myers <joseph@codesourcery.com>
4849
4f184d30
JM
4850 * math/libm-test.inc (struct test_fff_f_data): New type.
4851 (RUN_TEST_LOOP_fff_f): New macro.
4852 (fma_test_data): New variable.
4853 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4854 (fma_towardzero_test_data): New variable.
4855 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4856 (fma_downward_test_data): New variable.
4857 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4858 (fma_upward_test_data): New variable.
4859 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4860
08198877
JM
4861 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4862 (struct test_c_c_data): New type.
4863 (RUN_TEST_LOOP_c_c): New macro.
4864 (cacos_test_data): New variable.
4865 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4866 (cacosh_test_data): New variable.
4867 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4868 (casin_test_data): New variable.
4869 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4870 (casinh_test_data): New variable.
4871 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4872 (catan_test_data): New variable.
4873 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4874 (catanh_test_data): New variable.
4875 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4876 (ccos_test_data): New variable.
4877 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4878 (ccosh_test_data): New variable.
4879 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4880 (cexp_test_data): New variable.
4881 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4882 (clog_test_data): New variable.
4883 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4884 (clog10_test_data): New variable.
4885 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4886 (conj_test_data): New variable.
4887 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4888 (cproj_test_data): New variable.
4889 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4890 (csin_test_data): New variable.
4891 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4892 (csinh_test_data): New variable.
4893 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4894 (csqrt_test_data): New variable.
4895 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4896 (ctan_test_data): New variable.
4897 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4898 (ctan_tonearest_test_data): New variable.
4899 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4900 (ctan_towardzero_test_data): New variable.
4901 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4902 (ctan_downward_test_data): New variable.
4903 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4904 (ctan_upward_test_data): New variable.
4905 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4906 (ctanh_test_data): New variable.
4907 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4908 (ctanh_tonearest_test_data): New variable.
4909 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4910 (ctanh_towardzero_test_data): New variable.
4911 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4912 (ctanh_downward_test_data): New variable.
4913 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4914 (ctanh_upward_test_data): New variable.
4915 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4916 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4917 of BUILD_COMPLEX.
4918
601a3a5f
JM
4919 * math/libm-test.inc (struct test_ff_f_data): New type.
4920 (struct test_ff_f_data_nexttoward): Likewise.
4921 (RUN_TEST_LOOP_2_f): New macro.
4922 (RUN_TEST_LOOP_ff_f): Likewise.
4923 (atan2_test_data): New variable.
4924 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4925 (copysign_test_data): New variable.
4926 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4927 (fdim_test_data): New variable.
4928 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4929 (fmax_test_data): New variable.
4930 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4931 (fmin_test_data): New variable.
4932 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4933 (fmod_test_data): New variable.
4934 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4935 (hypot_test_data): New variable.
4936 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4937 (nextafter_test_data): New variable.
4938 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4939 (nexttoward_test_data): New variable.
4940 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4941 (pow_test_data): New variable.
4942 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4943 (pow_tonearest_test_data): New variable.
4944 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4945 (pow_towardzero_test_data): New variable.
4946 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4947 (pow_downward_test_data): New variable.
4948 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4949 (pow_upward_test_data): New variable.
4950 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4951 (remainder_test_data): New variable.
4952 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4953 (scalb_test_data): New variable.
4954 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4955 * sysdeps/i386/fpu/libm-test-ulps: Update.
4956
74c57478
JM
49572013-05-11 Joseph Myers <joseph@codesourcery.com>
4958
8329e4da
JM
4959 * math/libm-test.inc (fma_test): Use max_value instead of local
4960 variable fltmax.
4961 (nextafter_test): Likewise.
4962
74c57478
JM
4963 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4964 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4965 (acos_downward_test_data): New variable.
4966 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4967 (acos_upward_test_data): New variable.
4968 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4969 (acosh_test_data): New variable.
4970 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4971 (asin_test_data): New variable.
4972 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4973 (asin_tonearest_test_data): New variable.
4974 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4975 (asin_towardzero_test_data): New variable.
4976 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4977 (asin_downward_test_data): New variable.
4978 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4979 (asin_upward_test_data): New variable.
4980 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4981 (asinh_test_data): New variable.
4982 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4983 (atan_test_data): New variable.
4984 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4985 (atanh_test_data): New variable.
4986 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4987 (cbrt_test_data): New variable.
4988 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4989 (ceil_test_data): New variable.
4990 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4991 (cos_test_data): New variable.
4992 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4993 (cos_tonearest_test_data): New variable.
4994 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4995 (cos_towardzero_test_data): New variable.
4996 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4997 (cos_downward_test_data): New variable.
4998 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4999 (cos_upward_test_data): New variable.
5000 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5001 (cosh_test_data): New variable.
5002 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5003 (cosh_tonearest_test_data): New variable.
5004 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5005 (cosh_towardzero_test_data): New variable.
5006 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5007 (cosh_downward_test_data): New variable.
5008 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5009 (cosh_upward_test_data): New variable.
5010 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5011 (erf_test_data): New variable.
5012 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5013 (erfc_test_data): New variable.
5014 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5015 (exp_test_data): New variable.
5016 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5017 (exp_tonearest_test_data): New variable.
5018 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5019 (exp_towardzero_test_data): New variable.
5020 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5021 (exp_downward_test_data): New variable.
5022 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5023 (exp_upward_test_data): New variable.
5024 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5025 (exp10_test_data): New variable.
5026 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5027 (exp2_test_data): New variable.
5028 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5029 (expm1_test_data): New variable.
5030 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5031 (fabs_test_data): New variable.
5032 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5033 (floor_test_data): New variable.
5034 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5035 (j0_test_data): New variable.
5036 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5037 (j1_test_data): New variable.
5038 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5039 (log_test_data): New variable.
5040 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5041 (log10_test_data): New variable.
5042 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5043 (log1p_test_data): New variable.
5044 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5045 (log2_test_data): New variable.
5046 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5047 (logb_test_data): New variable.
5048 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5049 (logb_downward_test_data): New variable.
5050 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5051 (nearbyint_test_data): New variable.
5052 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5053 (rint_test_data): New variable.
5054 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5055 (rint_tonearest_test_data): New variable.
5056 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5057 (rint_towardzero_test_data): New variable.
5058 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5059 (rint_downward_test_data): New variable.
5060 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5061 (rint_upward_test_data): New variable.
5062 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5063 (round_test_data): New variable.
5064 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5065 (sin_test_data): New variable.
5066 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5067 (sin_tonearest_test_data): New variable.
5068 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5069 (sin_towardzero_test_data): New variable.
5070 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5071 (sin_downward_test_data): New variable.
5072 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5073 (sin_upward_test_data): New variable.
5074 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5075 (sinh_test_data): New variable.
5076 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5077 (sinh_tonearest_test_data): New variable.
5078 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5079 (sinh_towardzero_test_data): New variable.
5080 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5081 (sinh_downward_test_data): New variable.
5082 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5083 (sinh_upward_test_data): New variable.
5084 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5085 (sqrt_test_data): New variable.
5086 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5087 (tan_test_data): New variable.
5088 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5089 (tan_tonearest_test_data): New variable.
5090 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5091 (tan_towardzero_test_data): New variable.
5092 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5093 (tan_downward_test_data): New variable.
5094 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5095 (tan_upward_test_data): New variable.
5096 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5097 (tanh_test_data): New variable.
5098 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5099 (tgamma_test_data): New variable.
5100 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5101 (trunc_test_data): New variable.
5102 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5103 (y0_test_data): New variable.
5104 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5105 (y1_test_data): New variable.
5106 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5107 (significand_test_data): New variable.
5108 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5109
7187d844
CG
51102013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5111
5112 [BZ #12387]
5113 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5114
f63fae73
PT
51152013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5116
5117 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5118
8a67a4b3
AJ
51192013-05-10 Andreas Jaeger <aj@suse.de>
5120
5121 [BZ #15448]
5122 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5123 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5124
51df539d
JM
51252013-05-10 Joseph Myers <joseph@codesourcery.com>
5126
5127 * math/gen-libm-test.pl (adjust_arg): New function.
5128 (special_functions): Handle generating output in both functions
5129 and arrays.
5130 (parse_args): Likewise.
5131 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5132 $in_func argument to parse_args.
5133 * math/libm-test.inc (struct test_f_f_data): New type.
5134 (IF_ROUND_INIT_): New macro.
5135 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5136 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5137 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5138 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5139 (ROUND_RESTORE_): Likewise.
5140 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5141 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5142 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5143 (ROUND_RESTORE_FE_UPWARD): Likewise.
5144 (RUN_TEST_LOOP_f_f): New macro.
5145 (acos_test_data): New variable.
5146 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5147 (acos_tonearest_test_data): New variable.
5148 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5149
5c637fe5
SP
51502013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5151
5152 * benchtests/bench-skeleton.c (startup): Fix coding style.
5153
ab2b9461
JM
51542013-05-10 Joseph Myers <joseph@codesourcery.com>
5155
5156 [BZ #6809]
5157 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5158 negative infinity argument.
5159 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5160 negative infinity argument.
5161 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5162 negative infinity argument.
5163 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5164 domain errors.
5165
4c0fe6fe
FW
51662013-05-10 Florian Weimer <fweimer@redhat.com>
5167
5168 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5169 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5170 * iconv/iconv_prog.c (main): Likewise.
5171 * locale/programs/charmap-dir.c (charmap_readdir)
5172 (fopen_uncompressed): Likewise.
5173 * locale/programs/locfile.c (siblings_uncached)
5174 (write_locale_data): Use lstat64 instead of lstat.
5175 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5176 stat.
5177
a3375d29
AJ
51782013-05-10 Andreas Jaeger <aj@suse.de>
5179
5180 [BZ #15395]
5181 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5182 localization.
5183 Include <locale.h>.
5184
36129722
CD
51852013-05-09 Carlos O'Donell <carlos@redhat.com>
5186
5187 * elf/dl-close.c (_dl_close_worker): Add comments.
5188
faa7f811
JM
51892013-05-09 Joseph Myers <joseph@codesourcery.com>
5190
ed41ffef
JM
5191 [BZ #15359]
5192 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5193 high part of pi/2.
5194 (__ieee754_rem_pio2l): Update comments.
5195
d0213cd0
JM
5196 [BZ #15429]
5197 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5198 high part of pi/2.
5199 (__ieee754_rem_pio2l): Update comments.
5200
0d3e777a
JM
5201 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5202 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5203
24f56066
JM
5204 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5205 M_PI_4l.
5206
faa7f811
JM
5207 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5208 (M_PI_34_LOG10El): Likewise.
5209 (M_PI2_LOG10El): Likewise.
5210 (M_PI4_LOG10El): Likewise.
5211 (M_PI_LOG10El): Likewise.
5212
e9a5e0fd
AZ
52132013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5214
5215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5216
d8cd06db
JM
52172013-05-08 Joseph Myers <joseph@codesourcery.com>
5218
a0d9f9d7
JM
5219 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5220 (MINUS_ZERO_INIT): Likewise.
5221 (PLUS_INFTY_INIT): Likewise.
5222 (MINUS_INFTY_INIT): Likewise.
5223 (QNAN_VALUE_INIT): Likewise.
5224 (MAX_VALUE_INIT): Likewise.
5225 (MIN_VALUE_INIT): Likewise.
5226 (MIN_SUBNORM_VALUE_INIT): Likewise.
5227 (plus_zero): Initialize with PLUS_ZERO_INIT.
5228 (minus_zero): Initialize with MINUS_ZERO_INIT.
5229 (plus_infty): Initialize with PLUS_INFTY_INIT.
5230 (minus_infty): Initialize with MINUS_INFTY_INIT.
5231 (qnan_value): Initialize with QNAN_VALUE_INIT.
5232 (max_value): Initialize with MAX_VALUE_INIT.
5233 (min_value): Initialize with MIN_VALUE_INIT.
5234 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5235
ae08db3b
JM
5236 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5237 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5238 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5239 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5240
f44bf14a
JM
5241 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5242 (RUN_TEST_2_f): Likewise.
5243 (RUN_TEST_ff_f): Likewise.
5244 (RUN_TEST_fi_f): Likewise.
5245 (RUN_TEST_fl_f): Likewise.
5246 (RUN_TEST_fff_f): Likewise.
5247 (RUN_TEST_c_f): Likewise.
5248 (RUN_TEST_f_f1): Likewise.
5249 (RUN_TEST_fF_f1): Likewise.
5250 (RUN_TEST_fI_f1): Likewise.
5251 (RUN_TEST_ffI_f1): Likewise.
5252 (RUN_TEST_c_c): Likewise.
5253 (RUN_TEST_cc_c): Likewise.
5254 (RUN_TEST_f_i): Likewise.
5255 (RUN_TEST_f_i_tg): Likewise.
5256 (RUN_TEST_ff_i_tg): Likewise.
5257 (RUN_TEST_f_b): Likewise.
5258 (RUN_TEST_f_b_tg): Likewise.
5259 (RUN_TEST_f_l): Likewise.
5260 (RUN_TEST_f_L): Likewise.
5261 (RUN_TEST_sincos): Likewise.
5262 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5263 whether to show exceptions. Do not include ");\n" in return
5264 value.
5265 (special_functions): Output call to RUN_TEST_sincos instead of
5266 check_float calls. Update calls to new_test.
5267 (parse_args): Output call to single RUN_TEST_* macro instead of
5268 check_* calls and other assignments. Update calls to new_test.
5269
d8cd06db
JM
5270 [BZ #2546]
5271 [BZ #2560]
5272 [BZ #5159]
5273 [BZ #15426]
5274 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5275 input to result for tgamma overflow.
5276 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5277 (gamma_coeff): New variable.
5278 (NCOEFF): New macro.
5279 (gamma_positive): New function.
5280 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5281 underflow here. Use gamma_positive instead of exp (lgamma) for
5282 other arguments.
5283 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5284 (gamma_coeff): New variable.
5285 (NCOEFF): New macro.
5286 (gammaf_positive): New function.
5287 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5288 underflow here. Use gamma_positive instead of exp (lgamma) for
5289 other arguments.
5290 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5291 (gamma_coeff): New variable.
5292 (NCOEFF): New macro.
5293 (gammal_positive): New function.
5294 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5295 underflow here. Use gamma_positive instead of exp (lgamma) for
5296 other arguments.
5297 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5298 (gamma_coeff): New variable.
5299 (NCOEFF): New macro.
5300 (gammal_positive): New function.
5301 (__ieee754_gammal_r): Handle positive infinity, overflow and
5302 underflow here. Handle NaN the same as positive infinity. Remove
5303 check x < 0xffffffff for negative integers. Use gamma_positive
5304 instead of exp (lgamma) for other arguments.
5305 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5306 (gamma_coeff): New variable.
5307 (NCOEFF): New macro.
5308 (gammal_positive): New function.
5309 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5310 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5311 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5312 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5313 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5314 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5315 * sysdeps/generic/math_private.h (__gamma_productf): New
5316 prototype.
5317 (__gamma_product): Likewise.
5318 (__gamma_productl): Likewise.
5319 * math/Makefile (libm-calls): Add gamma_product.
5320 * math/libm-test.inc (tgamma_test): Add more tests.
5321 * sysdeps/i386/fpu/libm-test-ulps: Update.
5322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5323
bb7cf681
OB
53242013-05-08 Ondřej Bílka <neleai@seznam.cz>
5325
5326 * benchtests/bench-skeleton.c (main): Preheat CPU.
5327
ba853947
AJ
53282013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5329
5330 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5331
8347c74c
RM
53322013-05-07 Roland McGrath <roland@hack.frob.com>
5333
5334 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5335 and _dl_skip_args_internal.
5336
e8dd4791
CD
53372013-05-07 Carlos O'Donell <carlos@redhat.com>
5338
5339 * manual/message.texi (Message Translation): Talk about users.
5340 Message to key mapping impacts design.
5341
c7405830
RM
53422013-05-06 Roland McGrath <roland@hack.frob.com>
5343
a9173057
RM
5344 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5345
976e2f03
RM
5346 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5347
9723ffc5
RM
5348 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5349 * sysdeps/wordsize-64/glob64.c: ... here.
5350
962e6658
RM
5351 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5352 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5353 New macros.
5354
ee586a6d
RM
5355 * debug/getlogin_r_chk.c: Moved to ...
5356 * login/getlogin_r_chk.c: ... here.
5357 * debug/Makefile (routines): Move getlogin_r_chk to ...
5358 * login/Makefile (routines): ... here.
5359 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5360 * login/Versions (libc: GLIBC_2.4): ... here.
5361
355f9165
RM
5362 * io/poll.c (__poll): Renamed from poll.
5363 Add libc_hidden_def.
5364 (poll): Define as weak alias.
5365
bd9ffde6
RM
5366 * debug/ptsname_r_chk.c: Moved to ...
5367 * login/ptsname_r_chk.c: ... here.
5368 * debug/Makefile (routines): Move ptsname_r_chk to ...
5369 * login/Makefile (routines): ... here.
5370 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5371 * login/Versions (libc: GLIBC_2.4): ... here.
5372
8fb16a04
RM
5373 * posix/getlogin.c: Moved to ...
5374 * login/getlogin.c: ... here.
5375 * posix/getlogin_r.c: Moved to ...
5376 * login/getlogin_r.c: ... here.
5377 * posix/getlogin_r.c: Moved to ...
5378 * login/getlogin_r.c: ... here.
5379 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5380 * login/Makefile (routines): ... here.
5381 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5382 * login/Versions (libc: GLIBC_2.0): ... here.
5383
b99b892f
RM
5384 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5385 (setrlimit): Define as weak alias.
5386
c7405830
RM
5387 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5388 Call __ names for open, ftruncate, and close.
5389 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5390 (truncate): Define as weak alias.
5391
5bf96de5
JM
53922013-05-06 Joseph Myers <joseph@codesourcery.com>
5393
9ea3513c
JM
5394 * math/gen-libm-test.pl (parse_args): Initialize x before each
5395 test of frexp, modf and remquo.
5396
5bf96de5
JM
5397 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5398 test signgam value.
5399
16e616a7
AZ
54002013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5401
5402 [BZ #15418]
5403 [BZ #15419]
5404 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5405 internal tests.
5406 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5407
d5e82754
RM
54082013-05-06 Roland McGrath <roland@hack.frob.com>
5409
5410 * elf/dl-writev.h: New file.
5411 * elf/dl-misc.c: Include it.
5412 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5413 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5414
a7548d41
JM
54152013-05-04 Joseph Myers <joseph@codesourcery.com>
5416
b7dab1e4
JM
5417 * math/libm-test.inc (noXFails): Remove variable.
5418 (noXPasses): Likewise.
5419 (BUILD_COMPLEX_INT): Remove macro.
5420 (print_screen): Remove xfail argument.
5421 (print_screen_max_error): Likewise.
5422 (update_stats): Likewise.
5423 (print_max_error): Likewise. Update calls to other affected
5424 functions.
5425 (print_complex_max_error): Likewise.
5426 (test_single_exception): Update calls to print_screen.
5427 (test_single_errno): Likewise.
5428 (check_float_internal): Remove xfail argument. Update calls to
5429 other affected functions.
5430 (check_float): Likewise.
5431 (check_complex): Likewise.
5432 (check_int): Likewise.
5433 (check_long): Likewise.
5434 (check_bool): Likewise.
5435 (check_longlong): Likewise.
5436 (main): Don't print noXFails and noXPasses.
5437 * math/gen-libm-test.pl (top level): Don't mention expected
5438 failure handling in comment.
5439 (new_test): Don't handle expected failures.
5440 (parse_args): Don't mention expected failure handling in comment.
5441 (generate_testfile): Don't handle expected failures.
5442 (parse_ulps): Likewise.
5443 (print_ulps_file): Likewise.
5444 (get_failure): Remove function.
5445 (output_test): Don't handle expected failures.
5446 * make/README.libm-test: Don't mention expected failure handling.
5447
a7548d41
JM
5448 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5449 (minus_zero): Likewise.
5450 (plus_infty): Likewise.
5451 (minus_infty): Likewise.
5452 (qnan_value): Likewise.
5453 (max_value): Likewise.
5454 (min_value): Likewise.
5455 (min_subnorm_value): Likewise.
5456 (initialize): Do not initialize those variables dynamically.
5457
60bfd54c
RM
54582013-05-03 Roland McGrath <roland@hack.frob.com>
5459
cc0e6ed8
RM
5460 * io/open.c (__open_2): Moved to ...
5461 * io/open_2.c: ... this new file.
5462 * io/open64.c (__open64_2): Moved to ...
5463 * io/open64_2.c: ... this new file.
5464 * io/openat.c (__openat_2): Moved to ...
5465 * io/openat_2.c: ... this new file.
5466 * io/openat64.c (__openat64_2): Moved to ...
5467 * io/openat64_2.c: ... this new file.
5468 * io/Makefile (routines): Add them.
5469 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5470 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5471 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5472 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5473 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5474 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5475 (__openat64): Add hidden_ver.
5476 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5477 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5478
60bfd54c
RM
5479 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5480 Separately conditionalize setting of GLRO(dl_sysinfo) so
5481 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5482 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5483
83e7640f
AZ
54842013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5485
5486 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5487 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5488 definition.
5489 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5490 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5491 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5492 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5493 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5494
d5dc2af3
JM
54952013-05-03 Joseph Myers <joseph@codesourcery.com>
5496
c31a5b1e
JM
5497 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5498 test signgam value.
5499
d5dc2af3
JM
5500 * math/libm-test.inc (hypot_test): Do not use
5501 IGNORE_ZERO_INF_SIGN.
5502
164fd39d
AJ
55032013-05-03 Andreas Jaeger <aj@suse.de>
5504
5505 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5506 Linux 3.9.
5507 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5508 (PF_MAX): Adjust for VSOCK change.
5509
8237f48c
AZ
55102013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5511
5512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5513
9df02941
CD
55142013-05-02 Carlos O'Donell <carlos@redhat.com>
5515
5516 [BZ #15264]
5517 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5518 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5519 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5520
d422395e
DM
55212013-05-02 David S. Miller <davem@davemloft.net>
5522
5523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5524
a07c5731
OB
55252013-05-01 Ondřej Bílka <neleai@seznam.cz>
5526
5527 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5528
1324e37f
RM
55292013-05-01 Roland McGrath <roland@hack.frob.com>
5530
5531 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5532
0695940b
RS
55332013-05-01 Richard Smith <richard@metafoo.co.uk>
5534
bb5f27ad 5535 [BZ #14952]
0695940b
RS
5536 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5537 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5538 Use __attribute__ ((__gnu_inline__)).
5539 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5540 Don't use __attribute__ ((__gnu_inline__)).
5541
10de07f5
JM
55422013-05-01 Joseph Myers <joseph@codesourcery.com>
5543
5544 [BZ #15423]
5545 * math/s_catan.c (__catan): Handle small real or imaginary part of
5546 input specially to avoid spurious underflow.
5547 * math/s_catanf.c (__catanf): Likewise.
5548 * math/s_catanh.c (__catanh): Likewise.
5549 * math/s_catanhf.c (__catanhf): Likewise.
5550 * math/s_catanhl.c (__catanhl): Likewise.
5551 * math/s_catanl.c (__catanl): Likewise.
5552 * math/libm-test.inc (catan_test): Add more tests.
5553 (catanh_test): Likewise.
5554 * sysdeps/i386/fpu/libm-test-ulps: Update.
5555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5556
cb4d5414
AZ
55572013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5558
5559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5560
caf84319
JM
55612013-04-30 Joseph Myers <joseph@codesourcery.com>
5562
5563 [BZ #15416]
5564 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5565 accurately for denominator in atan2.
5566 * math/s_catanf.c (__catanf): Likewise.
5567 * math/s_catanh.c (__catanh): Likewise.
5568 * math/s_catanhf.c (__catanhf): Likewise.
5569 * math/s_catanhl.c (__catanhl): Likewise.
5570 * math/s_catanl.c (__catanl): Likewise.
5571 * math/libm-test.inc (catan_test): Add more tests.
5572 (catanh_test): Likewise.
5573 * sysdeps/i386/fpu/libm-test-ulps: Update.
5574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5575
d569c6ee
SP
55762013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5577
6dbe713d
SP
5578 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5579
f0ee064b
SP
5580 * benchtests/Makefile (bench): Remove slow benchmarks.
5581 * benchtests/atan-inputs: Add slow benchmark inputs.
5582 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5583 (BENCH_FUNC): Accept variant offset.
5584 (VARIANT): Define.
5585 * benchtests/bench-skeleton.c (main): Run benchmark for each
5586 variant.
5587 * benchtests/cos-inputs: Add slow benchmark inputs.
5588 * benchtests/exp-inputs: Likewise.
5589 * benchtests/pow-inputs: Likewise.
5590 * benchtests/sin-inputs: Likewise.
5591 * benchtests/slowatan-inputs: Remove.
5592 * benchtests/slowatan.c: Remove.
5593 * benchtests/slowcos-inputs: Remove.
5594 * benchtests/slowcos.c: Remove.
5595 * benchtests/slowexp-inputs: Remove.
5596 * benchtests/slowexp.c: Remove.
5597 * benchtests/slowpow-inputs: Remove.
5598 * benchtests/slowpow.c: Remove.
5599 * benchtests/slowsin-inputs: Remove.
5600 * benchtests/slowsin.c: Remove.
5601 * benchtests/slowtan-inputs: Remove.
5602 * benchtests/slowtan.c: Remove.
5603 * benchtests/tan-inputs: Add slow benchmark inputs.
5604 * scripts/bench.pl: Parse comments and directives.
5605
d569c6ee
SP
5606 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5607 in CPPFLAGS.
5608 ($(objpfx)bench-%.c): Remove *-ITER.
5609 * benchtests/bench-modf.c: Remove definition of ITER.
5610 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5611 (main): Loop for DURATION seconds instead of fixed number of
5612 iterations.
5613 * scripts/bench.pl: Don't expect iterations in parameters.
5614
a6a242fe
RM
56152013-04-29 Roland McGrath <roland@hack.frob.com>
5616
5617 * io/fchdir.c (__fchdir): Renamed from fchdir.
5618 (fchdir): Define as weak alias.
5619
f2da7793
JM
56202013-04-29 Joseph Myers <joseph@codesourcery.com>
5621
5622 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5623 (ERRNO_EDOM): Likewise.
5624 (ERRNO_ERANGE): Likewise.
5625 (noErrnoTests): New variable.
5626 (init_max_error): Set errno to 0.
5627 (test_single_errno): New function.
5628 (test_errno): Likewise.
5629 (check_float_internal): Call test_errno. Set errno to 0.
5630 (check_complex): Refer to errno tests in comment.
5631 (check_int): Call test_errno. Set errno to 0.
5632 (check_long): Likewise.
5633 (check_bool): Likewise.
5634 (check_longlong): Likewise.
5635 (cos_test): Use ERRNO_* flags for errno tests instead of
5636 check_int.
5637 (expm1_test): Likewise.
5638 (fmod_test): Likewise.
5639 (ilogb_test): Likewise.
5640 (lgamma_test): Likewise.
5641 (pow_test): Likewise.
5642 (remainder_test): Likewise.
5643 (sin_test): Likewise.
5644 (tan_test): Likewise.
5645 (yn_test): Likewise.
5646 (initialize): Set errno to 0.
5647 (main): Print number of errno tests.
5648 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5649
b1a36ceb
AJ
56502013-04-29 Andreas Jaeger <aj@suse.de>
5651
c3ed8088
AJ
5652 [BZ #15084]
5653 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5654 and RES_USEVC.
5655
f1a24198
AJ
5656 [BZ #15085]
5657 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5658 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5659 unimplemented.
5660
9ce3b2cb
AJ
5661 [BZ #15380]
5662 * stdlib/random.c (__initstate): Return NULL if
5663 __initstate fails.
5664
f1a24198 5665 [BZ #15086]
b1a36ceb
AJ
5666 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5667 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5668 RES_SNGLKUPREOP.
5669
7e7b6f36
AZ
56702013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5671
5672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5673
4d14f449
JM
56742013-04-29 Joseph Myers <joseph@codesourcery.com>
5675
5676 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5677 of individual tests.
5678 (casin_test): Likewise.
5679 (casinh_test): Likewise.
5680
5b4217d7
JM
56812013-04-27 Joseph Myers <joseph@codesourcery.com>
5682
5683 [BZ #15409]
5684 * math/s_catan.c (__catan): Handle arguments with large real or
5685 imaginary part separately without squaring.
5686 * math/s_catanf.c (__catanf): Likewise.
5687 * math/s_catanh.c (__catanh): Likewise.
5688 * math/s_catanhf.c (__catanhf): Likewise.
5689 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5690 and redefine.
5691 (__catanhl): Handle arguments with large real or imaginary part
5692 separately without squaring.
5693 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5694 and redefine.
5695 (__catanl): Handle arguments with large real or imaginary part
5696 separately without squaring.
5697 * math/libm-test.inc (catan_test): Add more tests.
5698 (catanh_test): Likewise.
5699 * sysdeps/i386/fpu/libm-test-ulps: Update.
5700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5701
4220c3ef
AJ
57022013-04-27 Andreas Jaeger <aj@suse.de>
5703
5704 [BZ #15007]
5705 * stdlib/stdlib.h: Update guards for qecvt.
5706 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5707 <stdlib.h>.
5708
4721b2d1
AM
57092013-04-27 Allan McRae <allan@archlinux.org>
5710
5711 * sysdeps/i386/fpu/libm-test-ulps: Update.
5712
f0302940
JM
57132013-04-26 Joseph Myers <joseph@codesourcery.com>
5714
9457fd95
JM
5715 [BZ #15406]
5716 * math/s_catan.c: Include <float.h>.
5717 (__catan): Ensure underflow exception occurs for underflowed
5718 result.
5719 * math/s_catanf.c: Include <float.h>.
5720 (__catanf): Ensure underflow exception occurs for underflowed
5721 result.
5722 * math/s_catanh.c: Include <float.h>.
5723 (__catanh): Ensure underflow exception occurs for underflowed
5724 result.
5725 * math/s_catanhf.c: Include <float.h>.
5726 (__catanhf): Ensure underflow exception occurs for underflowed
5727 result.
5728 * math/s_catanhl.c: Include <float.h>.
5729 (__catanhl): Ensure underflow exception occurs for underflowed
5730 result.
5731 * math/s_catanl.c: Include <float.h>.
5732 (__catanl): Ensure underflow exception occurs for underflowed
5733 result.
5734 * math/libm-test.inc (catan_test): Add more tests.
5735 (catanh_test): Likewise.
5736
f0302940
JM
5737 [BZ #15405]
5738 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5739 underflowed result.
5740 * math/s_ccoshf.c (__ccoshf): Likewise.
5741 * math/s_ccoshl.c (__ccoshl): Likewise.
5742 * math/s_csin.c (__csin): Likewise.
5743 * math/s_csinf.c (__csinf): Likewise.
5744 * math/s_csinh.c (__csinh): Likewise.
5745 * math/s_csinhf.c (__csinhf): Likewise.
5746 * math/s_csinhl.c (__csinhl): Likewise.
5747 * math/s_csinl.c (__csinl): Likewise.
5748 * math/libm-test.inc (ccos_test): Add more tests.
5749 (ccosh_test): Likewise.
5750 (csin_test): Likewise.
5751 (csinh_test): Likewise.
5752
aa630f59
AZ
57532013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5754
5755 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5756 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5757 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5758 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5759 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5760 powerpc/power5+/fpu folders.
5761 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5762
5763
1b835983
MT
57642013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5765
5766 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5767
73709b26
JM
57682013-04-25 Joseph Myers <joseph@codesourcery.com>
5769
5770 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5771 additions to variable.
5772 [$(config-machine) = x86_64] (modules-names): Likewise.
5773 ($(objpfx)tst-audit3): Remove dependency.
5774 ($(objpfx)tst-audit3.out): Likewise.
5775 ($(objpfx)tst-audit4): Likewise.
5776 ($(objpfx)tst-audit4.out): Likewise.
5777 ($(objpfx)tst-audit5): Likewise.
5778 ($(objpfx)tst-audit5.out): Likewise.
5779 ($(objpfx)tst-audit6): Likewise.
5780 ($(objpfx)tst-audit6.out): Likewise.
5781 ($(objpfx)tst-audit7): Likewise.
5782 ($(objpfx)tst-audit7.out): Likewise.
5783 (tst-audit3-ENV): Remove variable.
5784 (tst-audit4-ENV): Likewise.
5785 (tst-audit5-ENV): Likewise.
5786 (tst-audit6-ENV): Likewise.
5787 (tst-audit7-ENV): Likewise.
5788 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5789 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5790 addition to variable.
5791 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5792 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5793 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5794 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5795 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5796 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5797 tst-audit3, tst-audit4 and tst-audit5.
5798 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5799 tst-audit6 and tst-audit7.
5800 [$(subdir) = elf] (modules-names): Add audit modules for those
5801 tests.
5802 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5803 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5804 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5805 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5806 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5807 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5808 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5809 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5810 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5811 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5812 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5813 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5814 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5815 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5816 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5817 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5818 Likewise.
5819 [$(subdir) = elf && $(config-cflags-avx) = yes]
5820 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5821 [$(subdir) = elf && $(config-cflags-avx) = yes]
5822 (CFLAGS-tst-auditmod4a.c): Likewise.
5823 [$(subdir) = elf && $(config-cflags-avx) = yes]
5824 (CFLAGS-tst-auditmod4b.c): Likewise.
5825 [$(subdir) = elf && $(config-cflags-avx) = yes]
5826 (CFLAGS-tst-auditmod6b.c): Likewise.
5827 [$(subdir) = elf && $(config-cflags-avx) = yes]
5828 (CFLAGS-tst-auditmod6c.c): Likewise.
5829 [$(subdir) = elf && $(config-cflags-avx) = yes]
5830 (CFLAGS-tst-auditmod7b.c): Likewise.
5831 * elf/tst-audit3.c: Move to ...
5832 * sysdeps/x86_64/tst-audit3.c: ... here.
5833 * elf/tst-audit4.c: Move to ...
5834 * sysdeps/x86_64/tst-audit4.c: ... here.
5835 * elf/tst-audit5.c: Move to ...
5836 * sysdeps/x86_64/tst-audit5.c: ... here.
5837 * elf/tst-audit6.c: Move to ...
5838 * sysdeps/x86_64/tst-audit6.c: ... here.
5839 * elf/tst-audit7.c: Move to ...
5840 * sysdeps/x86_64/tst-audit7.c: ... here.
5841 * elf/tst-auditmod3a.c: Move to ...
5842 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5843 * elf/tst-auditmod3b.c: Move to ...
5844 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5845 * elf/tst-auditmod4a.c: Move to ...
5846 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5847 * elf/tst-auditmod4b.c: Move to ...
5848 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5849 * elf/tst-auditmod5a.c: Move to ...
5850 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5851 * elf/tst-auditmod5b.c: Move to ...
5852 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5853 * elf/tst-auditmod6a.c: Move to ...
5854 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5855 * elf/tst-auditmod6b.c: Move to ...
5856 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5857 * elf/tst-auditmod6c.c: Move to ...
5858 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5859 * elf/tst-auditmod7a.c: Move to ...
5860 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5861 * elf/tst-auditmod7b.c: Move to ...
5862 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5863
1ef74943
PP
58642013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5865
5866 [BZ #15366]
5867 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5868 define unconditionally.
5869 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5870 define unconditionally.
5871 (INT8_C, INT16_C, etc.): Likewise.
5872
93fd48c5
MR
58732013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5874
ae9552cf
MR
5875 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5876 __ehdr_start with hidden visibility.
5877
93fd48c5
MR
5878 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5879
418601aa
CD
58802013-04-24 Carlos O'Donell <carlos@redhat.com>
5881
5882 * math/libm-test.inc (cos_test): Use accurate hex constants.
5883 (sincost_test): Likewise.
5884
2f38fbfe
JM
58852013-04-24 Joseph Myers <joseph@codesourcery.com>
5886
5e221800
JM
5887 * math/libm-test.inc (catan_test): Add more tests.
5888 (catanh_test): Likewise.
5889
77f143fd
JM
5890 * math/s_catanf.c (__catanf): Use suffixed floating-point
5891 constants.
5892 * math/s_catanhf.c (__catanhf): Likewise.
5893 * math/s_catanhl.c (__catanhl): Likewise.
5894 * math/s_catanl.c (__catanl): Likewise.
5895
2f38fbfe
JM
5896 [BZ #15394]
5897 * math/s_catan.c (__catan): Calculate imaginary part of result
5898 with log1p not log unless computing log of number close to 0.
5899 * math/s_catanf.c (__catanf): Likewise.
5900 * math/s_catanl.c (__catanl): Likewise.
5901 * math/s_catanh.c (__catanh): Calculate real part of result with
5902 log1p not log unless computing log of number close to 0.
5903 * math/s_catanhf.c (__catanhf): Likewise.
5904 * math/s_catanhl.c (__catanhl): Likewise.
5905 * math/libm-test.inc (catan_test): Add more tests.
5906 (catanh_test): Likewise.
5907 * sysdeps/i386/fpu/libm-test-ulps: Update.
5908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5909
45d69176
SP
59102013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5911
5912 * benchtests/Makefile: Mention files in which fast and slow
5913 paths of math functions are implemented.
5914
87f51853
RM
59152013-04-23 Roland McGrath <roland@hack.frob.com>
5916
5917 * sysdeps/posix/timespec_get.c: New file.
5918
3c026539
AZ
59192013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5920
5921 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5922 POWER.
5923 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5924 for POWER.
5925 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5926 powerpc/power5/fpu folders.
5927 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5928 * benchtests/Makefile: Add modf testcase.
5929 * benchtests/bench-modf.c: New file: Benchmark test for mo
5930
ff491d14
SP
59312013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5932
5933 [BZ #14888]
5934 * time/Makefile (tests): Add tst-strptime-whitespace.
5935 * time/strptime_l.c (get_number): Use ISSPACE.
5936 (__strptime_internal): Likewise.
5937 * time/tst-strptime-whitespace.c: New test case.
5938
7ed3f4e8
AS
59392013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5940
5941 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5942 member.
5943 (_nss_files_init): Set it here.
5944
5c95f7b6
HC
59452013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5946
5947 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5948 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5949 unsigned.
5950
d34c9158
JBG
59512013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5952
5953 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5954
2169712d
SP
59552013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5956
5957 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5958 size just once.
5959
29c5de99
DM
59602013-04-21 David S. Miller <davem@davemloft.net>
5961
5962 * po/ru.po: Update Russion translation from translation project.
5963
ccdad15d
AC
59642013-04-17 Adam Conrad <adconrad@0c3.net>
5965
5966 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5967 and setfsgid.
5968
0f122b8d
CD
59692013-04-17 Carlos O'Donell <carlos@redhat.com>
5970
5c5b07da 5971 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5972 * configure: Regenerate.
5c5b07da 5973 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5974 Add example to error message.
5975 * sysdeps/i386/configure: Regenerate.
5976
037714dd
SP
59772013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5978
5979 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5980 slowtan.
5981 * benchtests/cos-inputs: New file.
5982 * benchtests/slowcos-inputs: New file.
5983 * benchtests/slowcos.c: New file.
5984 * benchtests/slowtan-inputs: New file.
5985 * benchtests/slowtan.c: New file.
5986 * benchtests/tan-inputs: New file.
5987
e913141d
RM
59882013-04-16 Roland McGrath <roland@hack.frob.com>
5989
5990 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5991 considered kosher.
5992
a2964074
SP
59932013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5994
4856bcd2
SP
5995 * benchtests/Makefile: Include cppflags-iterator.mk to add
5996 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5997
a2964074
SP
5998 * Makefile.in (bench-clean): New target.
5999 * benchtests/Makefile (bench-clean): Likewise.
6000
9fbf9aca
DH
60012013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6002
6003 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6004
207d1e2a
TS
60052013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6006
6007 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6008
306dfba9
AS
60092013-04-15 Andreas Schwab <schwab@suse.de>
6010
6011 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6012 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6013 * nscd/pwdcache.c (cache_addpw): Likewise.
6014 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6015 more than recsize.
6016
206a6699
SP
60172013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6018
6019 * benchtests/Makefile (bench): Write all output to
6020 bench-out.tmp together.
6021
0582f6b3
AS
60222013-04-15 Andreas Schwab <schwab@suse.de>
6023
6024 * nscd/nscd.c (main): Don't fork again after closing files.
6025
acb4325f
SP
60262013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6027
5cb26d0a
SP
6028 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6029
acb4325f
SP
6030 * benchtests/Rules (bench-deps): Collect dependencies into a
6031 single variable. Add Makefile to dependencies.
6032 ($(objpfx)bench-%.c): Depend on bench-deps.
6033
47792506
RM
60342013-04-12 Roland McGrath <roland@hack.frob.com>
6035 Xavier Roche <roche+kml2@exalead.com>
6036
6037 [BZ #15361]
6038 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6039 just that it's a file descriptor.
6040 * manual/llio.texi (Synchronizing AIO Operations): Update description
6041 for EBADF error from aio_fsync.
6042
8fc1bee5
SP
60432013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6044
6045 * Rules (bench): Move target definition...
6046 * benchtests/Makefile: ... here.
6047
aba5e333
CD
60482013-04-11 Carlos O'Donell <carlos@redhat.com>
6049
6050 * math/libm-test.inc (cos_test): Fix PI/2 test.
6051 (sincos_test): Likewise.
6052 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6053 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6054
273cdee8
AS
60552013-04-11 Andreas Schwab <schwab@suse.de>
6056
6ecec3b6
AS
6057 [BZ #13988]
6058 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6059 accept exponent character only when digits were seen.
6060 * stdio-common/Makefile (tests): Add bug26.
6061 * stdio-common/bug26.c: New file.
6062
273cdee8
AS
6063 [BZ #14293]
6064 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6065 non-freeable.
6066
8da491f5
SP
60672013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6068
01dc6df9
SP
6069 * Makeconfig (rtld-prefix): Define built linker prefix.
6070 * Rules (run-bench): Use it.
6071 * math/Makefile (run-regen-ulps): Likewise.
6072
8da491f5
SP
6073 * Rules (bench): Remove eval.
6074
abe7f530
SP
60752013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6076 Roland McGrath <roland@hack.frob.com>
6077 Ondrej Bilka <neleai@seznam.cz>
6078
6079 [BZ #15346]
6080 * time/getdate.c: Include ctype.h and alloca.h.
6081 (__getdate_r): Trim leading and trailing spaces of input.
6082 * time/tst-getdate.c (tests): Add tests with leading and
6083 trailing spaces.
6084
61c23e62
RM
60852013-04-08 Roland McGrath <roland@hack.frob.com>
6086
6087 [BZ #14280]
6088 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6089 when computing value.
6090
7208a313
CD
60912013-04-06 Carlos O'Donell <carlos@redhat.com>
6092
085b2d41
CD
6093 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6094 Use testrun.sh to run libm tests.
6095
7208a313
CD
6096 [BZ #15309]
6097 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6098
872c0acd
MM
60992013-04-06 Marko Myllynen <myllynen@redhat.com>
6100
6101 [BZ #15264]
6102 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6103
26510bdd
CD
61042013-04-06 Carlos O'Donell <carlos@redhat.com>
6105
6106 * Makefile.in (regen-ulps): New target.
6107 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6108 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6109 [ifneq (no,$(PERL)] (regen-ulps): New target.
6110 [ifeq (no,$(PERL)] (regen-ulps): New target.
6111 * math/libm-test.inc (ulps_file_name): Define.
6112 (output_dir): New variable.
6113 (options): Add "output-dir" option.
6114 (parse_opt): Handle 'o' case.
6115 (main): If output_dir is non-NULL use it as a prefix
6116 otherwise use "".
6117 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6118
a01f19c8
CD
61192013-04-06 Carlos O'Donell <carlos@redhat.com>
6120
6121 [BZ #10060, #10062]
6122 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6123 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6124 fail configure if __sync_val_compare_and_swap is not inlined.
6125 * sysdeps/i386/configure: Regenerate.
6126 * configure.in: Build for i686 when configured for i386.
6127 * configure: Regenerate.
6128 * README: Remove i386 reference.
6129
b7a329a5
CD
61302013-04-06 Carlos O'Donell <carlos@redhat.com>
6131
6132 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6133 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6134
bf0f50df
TS
61352013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6136
ee091edf
TS
6137 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6138 (lmsnanval): New variables.
6139 (F): Add conversion tests.
6140 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6141 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6142
a8b792d6
TS
6143 * stdio-common/tstdiomisc.c (F): Properly collect individual
6144 tests' results.
6145
a1cbf437
TS
6146 [BZ #14686, #15336]
6147 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6148 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6149 Instead, use input NaN values or generate a qNaN by arithmetic
6150 operation. Also fix bugs to comply with the standard.
6151 * math/libm-test.inc (remainder_test): Add more tests.
6152
8b43a0c9
TS
6153 [BZ #15335, #15342]
6154 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6156 input NaN values or generate a qNaN by arithmetic operation.
6157
d91da4ce
TS
6158 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6159 unreachable code.
6160
bf0f50df
TS
6161 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6162 definitions.
6163
05e166c8
JM
61642013-04-03 Joseph Myers <joseph@codesourcery.com>
6165
6166 [BZ #14478]
6167 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6168 underflowed result.
6169 * math/s_cexpf.c (__cexpf): Likewise.
6170 * math/s_cexpl.c (__cexpl): Likewise.
6171 * math/libm-test.inc (cexp_test): Add more tests.
6172
1cef1b19
AS
61732013-04-03 Andreas Schwab <schwab@suse.de>
6174
6175 [BZ #15330]
6176 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6177 order arrays from heap if bigger than alloca cutoff.
6178
74d87055
TS
61792013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6180
6181 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6182 (SNAN_TESTS_double): Refer to GCC PR56831.
6183 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6184 GCC PR56828.
6185
d755bba4
SP
61862013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6187
90d5d5bb
SP
6188 * Rules (bench): Move bench.out after the run is complete.
6189
73e0cd5d
SP
6190 * Rules (bench): Echo currently running benchmark.
6191
64aabd4b
SP
6192 * benchtests/Makefile (bench): Add atan and slowatan.
6193 * benchtests/atan-inputs: New file.
6194 * benchtests/slowatan-inputs: New file.
6195 * benchtests/slowatan.c: New file.
6196
c871eccd
SP
6197 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6198 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6199 its value.
6200
d755bba4
SP
6201 [BZ #15305]
6202 * sysdeps/unix/sysv/linux/kernel-features.h
6203 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6204 __ASSUME_XFS_RESTRICTED_CHOWN.
6205 * sysdeps/unix/sysv/linux/pathconf.c
6206 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6207 Save and restore errno.
6208
52ce4860
JM
62092013-04-02 Joseph Myers <joseph@codesourcery.com>
6210
6211 [BZ #15327]
6212 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6213 arguments using __kernel_casinh.
6214 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6215 arguments using __kernel_casinhf.
6216 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6217 arguments using __kernel_casinhl.
6218 * math/libm-test.inc (cacosh_test): Add more tests.
6219 * sysdeps/i386/fpu/libm-test-ulps: Update.
6220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6221
81f311c2
SP
62222013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6223
e7906a47
SP
6224 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6225 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6226
92e3664b
SP
6227 * bench/Makefile (bench): Add sin and slowsin.
6228 * benchtests/sin-inputs: New file.
6229 * benchtests/slowsin-inputs: New file.
6230 * benchtests/slowsin.c: New file.
6231
81f311c2
SP
6232 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6233 (bench): Add slowexp and slowpow.
6234 (exp-ITER): Increase iterations.
6235 (pow-ITER): Likewise.
6236 * benchtests/exp-inputs: Change input.
6237 * benchtests/pow-inputs: Likewise.
6238 * benchtests/slowexp-inputs: New file.
6239 * benchtests/slowexp.c: New file.
6240 * benchtests/slowpow-inputs: New file.
6241 * benchtests/slowpow.c: New file.
6242
ab0f1aa9
AZ
62432013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6244
6245 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6246 instructions.
6247 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6248 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6249 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6250 * benchtests/Makefile: Add rint benchtest.
6251 * benchtests/rint-inputs: Input for rint benchtest.
6252
57267616
TS
62532013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6254
6255 * Versions.def (libm): Add GLIBC_2.18.
6256 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6257 hidden libm prototypes.
6258 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6259 * math/Makefile (libm-calls): Add s_issignaling.
6260 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6261 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6262 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6263 declaration.
6264 * math/math.h [__USE_GNU] (issignaling): New macro.
6265 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6266 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6267 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6268 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6271 * manual/arith.texi (issignaling): New section.
6272 * manual/libm-err-tab.pl (@all_functions): Update comment.
6273 * math/gen-libm-test.pl (parse_args): Apply special handling for
6274 issignaling.
6275 * math/libm-test.inc (print_float, issignaling_test): New
6276 functions.
6277 (check_float_internal): Add issignaling checks.
6278 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6279 default definition.
6280 * sysdeps/powerpc/math-tests.h: New file.
6281 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6282 tests.
6283 * math/test-snan.c (TEST_FUNC): Likewise.
6284
6142896d
DM
62852013-03-30 David S. Miller <davem@davemloft.net>
6286
6287 * po/de.po: Update from translation team.
6288
ccc8cadf
JM
62892013-03-30 Joseph Myers <joseph@codesourcery.com>
6290
6291 [BZ #10357]
6292 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6293 imaginary part less than 1.0 and real part less than 0.5
6294 specially.
6295 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6296 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6297 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6298 (cacos_test): Add more tests.
6299 (casin_test): Likewise.
6300 (casinh_test): Likewise.
6301 * sysdeps/i386/fpu/libm-test-ulps: Update.
6302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6303
0f6a8d4b
SP
63042013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6305
0d1029de
SP
6306 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6307 ONE with its value.
6308
c2d94018
SP
6309 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6310 (__pow_mp): Replace ONE and MONE with their values.
6311 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6312 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6313 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6314 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6315 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6316 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6317
27ec37f1
SP
6318 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6319
a64d7e0e
SP
6320 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6321 (__pow_mp): Replace ZERO and MZERO with their values.
6322 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6323 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6324 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6325 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6326 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6327 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6328 (__sqr): Likewise.
6329
d26dd3eb
SP
6330 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6331
0f6a8d4b
SP
6332 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6333
e57b0c61
RM
63342013-03-28 Roland McGrath <roland@hack.frob.com>
6335
6336 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6337 Declare with __attribute__ ((weak)).
6338 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6339 Call __call_tls_dtors only if it's not NULL.
6340
356b3480
RM
63412013-03-28 Roland McGrath <roland@hack.frob.com>
6342
288f7d79
RM
6343 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6344 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6345 magic __ehdr_start linker symbol if it's defined.
6346 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6347 them up here if it was already done.
6348
dc0a0263
RM
6349 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6350 (_dl_aux_init): Use const in cast when setting it.
6351 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6352 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6353 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6354
3d3436ae
RM
6355 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6356 Declare them here.
6357 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6358 * csu/libc-tls.c: Nor here.
6359 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6360
356b3480
RM
6361 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6362 (__libc_message): Never call vsyslog.
6363
b0f1246a
AM
63642013-03-28 Alan Modra <amodra@gmail.com>
6365
6366 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6367 Define as empty.
6368 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6369 Likewise.
6370
fbbe2b9a
AZ
63712013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6372
6373 [BZ #15214]
6374 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6375 underflow.
6376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6377
1728ab37
SP
63782013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6379
7a86be6e
SP
6380 [BZ #15304]
6381 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6382 Don't add gid passed as argument.
6383
1728ab37
SP
6384 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6385
3a7182a1
JM
63862013-03-27 Joseph Myers <joseph@codesourcery.com>
6387
6388 [BZ #15307]
6389 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6390 imaginary part between 1.0 and 1.5 and real part less than 0.5
6391 specially.
6392 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6393 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6394 * math/libm-test.inc (cacos_test): Add more tests.
6395 (casin_test): Likewise.
6396 (casinh_test): Likewise.
6397 * sysdeps/i386/fpu/libm-test-ulps: Update.
6398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6399
6f2e90e7
SP
64002013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6401
5739f705
SP
6402 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6403 constants.
6404 (norm): Likewise.
6405 (denorm): Likewise.
6406 (__dbl_mp): Likewise.
6407 (add_magnitudes): Likewise.
6408 (sub_magnitudes): Likewise.
6409 (__add): Likewise.
6410 (__sub): Likewise.
6411 (__mul): Likewise.
6412 (__sqr): Likewise.
6413 (__inv): Likewise.
6414 (__dvd): Likewise.
6415
e375e83d
SP
6416 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6417 commented code.
6418 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6419 (__dubcos): Likewise.
6420 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6421 (__ieee754_acos): Likewise.
6422 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6423 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6424 (__exp1): Likewise.
6425 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6426 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6427 (log1): Likewise.
6428 (my_log2): Likewise.
6429 (checkint): Likewise.
6430 * sysdeps/ieee754/dbl-64/e_remainder.c
6431 (__ieee754_remainder): Likewise.
6432 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6434 (bsloww): Likewise.
6435 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6436
6f2e90e7
SP
6437 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6438 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6439 MANTISSA_STORE_T to store computations on mantissa. Use
6440 macros for rounding and division.
6441 (denorm): Likewise.
6442 (__dbl_mp): Likewise.
6443 (add_magnitudes): Likewise.
6444 (sub_magnitudes): Likewise.
6445 (__mul): Likewise.
6446 (__sqr): Likewise.
6447 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6448 powers of two in terms of TWOPOW macro.
6449 (mp_no): Make type of mantissa as MANTISSA_T.
6450 [!RADIXI]: Define RADIXI.
6451 [!TWO52]: Define TWO52.
6452 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6453
fce14d4e
AZ
64542013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6455
6456 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6457 llroundl symbol when building for PPC32.
6458
9ad027fb
MW
64592013-03-24 Mark H Weaver <mhw@netris.org>
6460
6461 * manual/arith.texi (Normalization Functions): Fix prototypes for
6462 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6463
e42a38dd
AZ
64642013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6465
6466 [BZ #13889]
6467 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6468 high value to check if expl overflow.
6469 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6470 to check for underflow and overflow.
6471 * math/libm-test.inc: Add exp test.
6472
2e0fb521
DL
64732013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6474
6475 [BZ #11120]
6476 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6477 with NOT_IN_libc.
6478
b5784d95
AZ
64792013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6480
6481 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6482 symbol.
6483
5aa4a1a1
TS
64842013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6485
bdef0be7
TS
6486 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6487 wrap blocks consisting of several statements.
6488
5aa4a1a1
TS
6489 * sysdeps/generic/math-tests.h: New file.
6490 * sysdeps/i386/fpu/math-tests.h: Likewise.
6491 * math/test-snan.c: Include it.
6492 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6493
98c48fe5
JM
64942013-03-21 Joseph Myers <joseph@codesourcery.com>
6495
6496 [BZ #15285]
6497 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6498 (__ieee754_j0l): Do not improve calculations using cos of twice
6499 input for inputs above LDBL_MAX / 2.0L.
6500 (__ieee754_y0l): Likewise.
6501 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6502 (__ieee754_j1l): Do not improve calculations using cos of twice
6503 input for inputs above LDBL_MAX / 2.0L.
6504 (__ieee754_y1l): Likewise.
6505 * math/libm-test.inc (j0_test): Add another test.
6506 (j1_test): Likewise.
6507 (y0_test): Likewise.
6508 (y1_test): Likewise.
6509 * sysdeps/i386/fpu/libm-test-ulps: Update.
6510
3775a8bc
SP
65112013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6512
6513 * Rules ($(objpfx)bench-%.c): Include code from a C source
6514 file.
6515
0a1b2ae6
JM
65162013-03-21 Joseph Myers <joseph@codesourcery.com>
6517
6518 [BZ #15287]
6519 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6520 imaginary part 1.0 and real part less than 0.5 specially.
6521 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6522 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6523 * math/libm-test.inc (cacos_test): Add more tests.
6524 (casin_test): Likewise.
6525 (casinh_test): Likewise.
6526 * sysdeps/i386/fpu/libm-test-ulps: Update.
6527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6528
b33d4ce4
SP
65292013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6530
6531 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6532 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6533
bef0b507
JM
65342013-03-20 Joseph Myers <joseph@codesourcery.com>
6535
6536 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6537 * config.make.in (config-cflags-sse4): Remove variable.
6538 (config-cflags-avx): Likewise.
6539 (config-cflags-sse2avx): Likewise.
6540 (config-cflags-novzeroupper): Likewise.
6541 (config-asflags-i686): Likewise.
6542 (have-mfma4): Likewise.
6543 (have-as-vis3): Likewise.
6544 (MIG): Likewise.
6545 * configure.in (MIG): Do not AC_SUBST.
6546 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6547 (libc_cv_cc_sse4): Do not AC_SUBST.
6548 (libc_cv_cc_avx): Likewise.
6549 (libc_cv_cc_sse2avx): Likewise.
6550 (libc_cv_cc_novzeroupper): Likewise.
6551 (libc_cv_cc_fma4): Likewise.
6552 (libc_cv_as_i686): Likewise.
6553 (libc_cv_sparc_as_vis3): Likewise.
6554 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6555 LIBC_CONFIG_VAR.
6556 (config-asflags-i686): Likewise.
6557 (config-cflags-avx): Likewise.
6558 (config-cflags-sse2avx): Likewise.
6559 (have-mfma4): Likewise.
6560 (config-cflags-novzeroupper): Likewise.
6561 * sysdeps/mach/configure.in (MIG): Likewise.
6562 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6563 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6564 LIBC_CONFIG_VAR.
6565 (config-cflags-avx): Likewise.
6566 (config-cflags-sse2avx): Likewise.
6567 (have-mfma4): Likewise.
6568 (config-cflags-novzeroupper): Likewise.
6569 * configure: Regenerated.
6570 * sysdeps/i386/configure: Likewise.
6571 * sysdeps/mach/configure: Likewise.
6572 * sysdeps/sparc/configure: Likewise.
6573 * sysdeps/x86_64/configure: Likewise.
6574
912cc4b3
RM
65752013-03-20 Roland McGrath <roland@hack.frob.com>
6576
6577 [BZ #14812]
6578 * locale/programs/localedef.c (options): Put N_ translation marker
6579 on argument names, not just descriptions.
6580
04eed2b0
MS
65812013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6582
6583 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6584
a065ceff
OB
65852013-03-20 Ondřej Bílka <neleai@seznam.cz>
6586
9bb2a810 6587 [BZ #14176]
a065ceff
OB
6588 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6589
a600e5ce
RM
65902013-03-19 Roland McGrath <roland@hack.frob.com>
6591
6592 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6593 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6594 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6595 [!BEFORE_ABORT] (before_abort): New function.
6596 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6597 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6598 (writev_for_fatal): New function.
6599 (WRITEV_FOR_FATAL): New macro; call that.
6600 (backtrace_and_maps): New function.
6601 (BEFORE_ABORT): New macro; call that.
6602 (struct str_list): Type removed.
6603 (__libc_message, __libc_fatal): Functions removed.
6604 Include <sysdeps/posix/libc_fatal.c> instead.
6605
6b18bea6
JM
66062013-03-19 Joseph Myers <joseph@codesourcery.com>
6607
6608 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6609 constants.
6610 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6611 double constants.
6612
aaa8cb4b
AS
66132013-03-19 Andreas Schwab <schwab@suse.de>
6614
44673770
AS
6615 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6616 * sysdeps/gnu/configure: Regenerate.
6617
aaa8cb4b
AS
6618 * configure.in: Substitute libc_cv_rtlddir.
6619 * configure: Regenerate.
6620 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6621 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6622 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6623 * elf/Makefile (install-others, CFLAGS-interp.c)
6624 (ldso_install, common-ldd-rewrite): Likewise.
6625 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6626 $(inst_slibdir)/$(rtld-installed-name).
6627 * scripts/rellns-sh: Add -p option.
6628 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6629 for source.
6630
d3cfc668
SP
66312013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6632
6633 * manual/nptl.texi: Renamed to ...
6634 * manual/threads.texi: ... this.
6635 * manual/Makefile (chapters): Update.
6636
0e2b9cdd
RM
66372013-03-18 Roland McGrath <roland@hack.frob.com>
6638
6639 [BZ #14812]
6640 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6641 on argument names, not just descriptions.
0e2b9cdd
RM
6642 * malloc/memusagestat.c (options): Likewise.
6643 * nss/getent.c (options): Likewise.
63270c24
RM
6644
66452013-03-18 Benno Schulenberg <bensberg@justemail.net>
6646
6647 [BZ #14812]
6648 * iconv/iconv_prog.c (options): Put N_ translation marker
6649 on argument names, not just descriptions.
6650 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6651
b2e1393c
OB
66522013-03-18 Ondrej Bilka <neleai@seznam.cz>
6653
6654 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6655 implementation which is faster on all x86_64 architectures.
6656 Tested on AMD, Intel Nehalem, SNB, IVB.
6657 * sysdeps/x86_64/strnlen.S: Likewise.
6658
6659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6660 Remove all multiarch strlen and strnlen versions.
6661 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6662 Remove strlen and strnlen related parts.
6663
6664 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6665 Inline strlen part.
6666 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6667
6668 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6669 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6670 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6671 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6672 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6673 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6674
ec4ff04d
CD
66752013-03-17 Carlos O'Donell <carlos@redhat.com>
6676
6677 * manual/memory.texi (Malloc Tunable Parameters):
6678 Sort parameters alphabetically. Add comments for missing entries.
6679
cd18e90a
DM
66802013-03-17 David S. Miller <davem@davemloft.net>
6681
6682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6683
2a185d32
JM
66842013-03-16 Joseph Myers <joseph@codesourcery.com>
6685
d2f9799e
JM
6686 [BZ #15283]
6687 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6688 for arguments at most half maximum finite value.
6689 * math/libm-test.inc (j0_test): Add more tests.
6690 (j1_test): Likewise.
6691 (y0_test): Likewise.
6692 (y1_test): Likewise.
6693 * sysdeps/i386/fpu/libm-test-ulps: Update.
6694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6695
2a185d32
JM
6696 [BZ #14155]
6697 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6698 1 / x and functions P and Q for arguments above 0x1p256L.
6699 (__ieee754_y0l): Likewise.
6700 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6701 (__ieee754_y1l): Likewise.
6702 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6703 (j1_test): Likewise.
6704 (y0_test): Likewise.
6705 (y1_test): Likewise.
6706
6cbec759
TS
67072013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6708
6709 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6710 variable.
6711
bc16e260
RM
67122013-03-15 Roland McGrath <roland@hack.frob.com>
6713
aefc9b8c
RM
6714 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6715 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6716 zero since it's initialized to EXEC_PAGESIZE.
6717
bc16e260
RM
6718 * sysdeps/unix/sysv/linux/ldsodefs.h
6719 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6720 * sysdeps/generic/ldsodefs.h: ... here.
6721
a57da955
TS
67222013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6723
af00a34d
TS
6724 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6725
495ded2c
TS
6726 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6727 math/test-snan.c.
6728 * math/test-snan.c: Renamed from
6729 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6730 * math/Makefile (tests): Add test-snan.
6731 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6732 test-powerpc-snan.
6733
777b0332
TS
6734 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6735 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6736 functions.
6737 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6738 __builtin_nan family of functions.
6739 * math/libm-test.inc (initialize): Initialize qnan_value with
6740 __builtin_nan family of functions.
6741 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6742 Remove variables.
6743 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6744 Remove functions.
6745 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6746 storage class. Initialize qNaN_var and sNaN_var with
6747 __builtin_nan and __builtin_nans families of functions,
6748 respectively.
6749
64d063b8
TS
6750 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6751 (sqrt_test): Remove duplicate test with qNaN input.
6752 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6753 (round_test, signbit_test, significand_test): Note missing +/-Inf
6754 as well as qNaN tests.
6755
67e971f1
TS
6756 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6757 qNaN_var. Fix a few strings, too.
6758 * math/libm-test.inc (nan_value): Rename to qnan_value.
6759 * math/gen-libm-test.pl (%beautify): Adjust to that.
6760 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6761 * math/test-misc.c (main): Likewise.
6762 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6763 to __qnan_bytes, and __qnan_union, respectively.
6764 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6765 Likewise.
6766 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6767 and lqnanval, respectively.
6768 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6769 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6770 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6771 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6772
64487e12
TS
6773 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6774 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6775 doubles.
6776
e015e27b
TS
6777 * math/test-misc.c (main): Fix copy'n'pastos.
6778 * misc/tst-efgcvt.c (special): Likewise.
6779
a57da955
TS
6780 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6781 Remove declarations.
6782
1e380345
SP
67832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6784
6785 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6786 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6787 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6788 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6789
ef26eece
AZ
67902013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6791
6792 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6793 macro to return vdso values correctly in IFUNC implementations.
6794 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6795 Optimization by using IFUNC.
6796
8cfdb7e0
SP
67972013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6798 Richard Henderson <rth@redhat.com>
6799 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6800
6801 * Makefile.in (bench): New target.
6802 * NEWS: Mention the benchmark framework.
6803 * Rules (bench): Likewise.
6804 (binaries-bench): Generate binaries for functions to
6805 benchmark.
6806 * benchtests/Makefile: New makefile for benchmark tests.
6807 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6808 programs.
6809 * benchtests/exp-inputs: New input file for EXP function.
6810 * benchtests/pow-inputs: New input file for POW function.
6811 * scripts/bench.pl: New script to generate source files for
6812 benchmark programs.
6813
bcda9880
SP
68142013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6815
d22ca8cd
SP
6816 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6817 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6818 computations on mantissa. Use macros for rounding and
6819 division.
6820 (denorm): Likewise.
6821 (__dbl_mp): Likewise.
6822 (add_magnitudes): Likewise.
6823 (sub_magnitudes): Likewise.
6824 (__mul): Likewise.
6825 (__sqr): Likewise.
6826 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6827 powers of two in terms of TWOPOW macro.
6828 (mp_no): Make type of mantissa as MANTISSA_T.
6829 [!RADIXI]: Define RADIXI.
6830 [!TWO52]: Define TWO52.
6831 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6832
bcda9880
SP
6833 * manual/nptl.texi (cindex): Modify threads to pthreads.
6834
06d5adfb
JM
68352013-03-15 Joseph Myers <joseph@codesourcery.com>
6836
6837 * sysdeps/x86_64/preconfigure: Regenerated.
6838
41c7328e
JM
68392013-03-14 Joseph Myers <joseph@codesourcery.com>
6840
6841 [BZ #14155]
6842 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6843 0x1p28 and above.
6844 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6845 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6846 0x1p28 and above.
6847 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6848 * math/libm-test.inc (j0_test): Do not allow one spurious
6849 underflow exception.
6850 (y1_test): Likewise.
6851
e25cfa60
SP
68522013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6853
0409959c
SP
6854 * manual/Makefile (chapters): Add nptl.
6855 * manual/debug.texi (Debugging Support): Add link to Threads
6856 chapter.
6857 * manual/nptl.texi: New file.
6858
e25cfa60
SP
6859 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6860
58a1335e
PB
68612013-03-14 Petr Baudis <pasky@ucw.cz>
6862
6863 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6864 for non-NULL pointer before the memory validity test. Pointed
6865 out by Holger Brunck <holger.brunck@keymile.com>.
6866
9dc7c64f
AS
68672013-03-13 Andreas Schwab <schwab@suse.de>
6868
6869 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6870 instead of .os.
6871
54206aa6
JM
68722013-03-13 Joseph Myers <joseph@codesourcery.com>
6873
6874 * timezone/zic.c: Update from tzcode 2013b.
6875
e98cdb38
CD
68762013-03-12 Carlos O'Donell <carlos@redhat.com>
6877
6878 * manual/install.texi (Configuring and compiling):
6879 Mention i686 and i586.
6880 * INSTALL: Regenerate.
6881
9967e003
RM
68822013-03-12 Roland McGrath <roland@hack.frob.com>
6883
6884 * sysdeps/init_array/elf-init.c: New file.
6885 * csu/elf-init.c
6886 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6887 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6888
6889 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6890 __gmon_start__ as global, but as static with a .preinit_array pointer.
6891 * sysdeps/init_array/gmon-start.c: New file. Use that.
6892 * sysdeps/init_array/crti.S: New file, empty except for comments.
6893 * sysdeps/init_array/crtn.S: Likewise.
6894
e6b5a293 68952013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6896
6897 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6898 definining bcopy.
80f844c9
OB
6899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6900 Remove Prefer_SSE_for_memop.
6901 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6902 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6903 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6905 memset-x86-64.
80f844c9 6906 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6907 Remove bzero, memset ifunc support.
80f844c9
OB
6908 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6909 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6910 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6911 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6912
fb6b0fcb
AS
69132013-03-11 Andreas Schwab <schwab@suse.de>
6914
6915 [BZ #15234]
6916 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6917 by SHLIB_COMPAT.
6918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6919 (GLIBC_2.16): Remove pthread_atfork.
6920
3e6bd4b1
PP
69212013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6922
6923 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6924 (ptestcases.h): Likewise.
6925
222d7f00
RM
69262013-03-08 Roland McGrath <roland@hack.frob.com>
6927
6928 * Makeconfig ($(common-objpfx)config.status): Depend on
6929 sysdeps/*/preconfigure{,.in} too.
6930
1ba4f030
JM
69312013-03-08 Joseph Myers <joseph@codesourcery.com>
6932
a222d91a
JM
6933 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6934 (__free_hook): Use void * instead of __malloc_ptr_t.
6935 (__malloc_hook): Likewise.
6936 (__realloc_hook): Likewise.
6937 (__memalign_hook): Likewise.
6938 (__after_morecore_hook): Likewise.
6939 * malloc/arena.c (save_malloc_hook): Likewise.
6940 (save_free_hook): Likewise.
6941 * malloc/hooks.c (malloc_hook_ini): Likewise.
6942 (realloc_hook_ini): Likewise.
6943 (memalign_hook_ini): Likewise.
6944 * malloc/malloc.c (malloc_hook_ini): Likewise.
6945 (realloc_hook_ini): Likewise.
6946 (memalign_hook_ini): Likewise.
6947 (__free_hook): Likewise.
6948 (__malloc_hook): Likewise.
6949 (__realloc_hook): Likewise.
6950 (__memalign_hook): Likewise.
6951 (__libc_malloc): Likewise.
6952 (__libc_free): Likewise.
6953 (__libc_realloc): Likewise.
6954 (__libc_memalign): Likewise.
6955 (__libc_valloc): Likewise.
6956 (__libc_pvalloc): Likewise.
6957 (__libc_calloc): Likewise.
6958 (__posix_memalign): Likewise.
6959 * malloc/morecore.c (__sbrk): Likewise.
6960 (__default_morecore): Likewise.
6961
5cc45e10
JM
6962 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6963
dd54b864
JM
6964 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6965 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6966 __malloc_ptrdiff_t.
6967
1ba4f030
JM
6968 * malloc/malloc.h (__malloc_size_t): Remove macro.
6969 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6970 __malloc_size_t.
6971 (old_memalign_hook): Likewise.
6972 (old_realloc_hook): Likewise.
6973 (struct hdr): Likewise.
6974 (flood): Likewise.
6975 (mallochook): Likewise.
6976 (memalignhook): Likewise.
6977 (reallochook): Likewise.
6978 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6979 (tr_old_realloc_hook): Likewise.
6980 (tr_old_memalign_hook): Likewise.
6981 (tr_mallochook): Likewise.
6982 (tr_reallochook): Likewise.
6983 (tr_memalignhook): Likewise.
6984
edf66e57
AZ
69852013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6986
6987 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6988 default_ldbl_pack and using as default implementation.
6989 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6990 implementation.
6991 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6992 redundant definition.
6993 (ldbl_insert_mantissa): Likewise.
6994 (ldbl_canonicalize): Likewise.
6995 (ldbl_nearbyint): Likewise.
6996 (ldbl_pack): Rename to ldbl_pack_ppc.
6997 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6998 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6999 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7000
6d9145d8
SP
70012013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7002
7003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7004 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7005 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7006 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7008 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7009 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7010 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7011
4dd4e157
AJ
70122013-03-07 Andreas Jaeger <aj@suse.de>
7013
7014 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7015 bits/mman-linux.h.
7016
adbb8027
SP
70172013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7018
ce544b5b
SP
7019 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7020 Include mpa.h and declare __MPEXP.
7021 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7022 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7023 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7024 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7025 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7026 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7027 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7028
4cc149fd
SP
7029 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7030 (__slowpow): Use long double EXPL and LOGL functions to
7031 compute POW.
7032 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7033 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7034 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7035 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7036 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7037 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7038
e6ebd4a7
SP
7039 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7040 intermediate variable to calculate exponent.
7041 (__sqr): Likewise.
7042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7043 Likewise.
7044 (__sqr): Likewise.
7045
82a9811d
SP
7046 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7047 [!NO__SQR]: Define __sqr.
7048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7049 and NO__SQR. Remove all code except __mul and __sqr. Include
7050 sysdeps/ieee754/dbl-64/mpa.c.
7051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7052
adbb8027
SP
7053 [BZ #12723]
7054 * posix/Makefile (tests): Add tst-pathconf.
7055 * posix/tst-pathconf.c: New test case.
7056 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7057 _PC_PIPE_BUF.
7058 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7059
39120df9
PF
70602013-03-06 Patsy Franklin <pfrankli@redhat.com>
7061
7062 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7063
67525cb8
AJ
70642013-03-06 Andreas Jaeger <aj@suse.de>
7065
664a9ce4
AJ
7066 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7067 definition via __MAP_ANONYMOUS.
7068
8e39047d
AJ
7069 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7070 it's not part of Linux headers.
7071
67525cb8
AJ
7072 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7073 (MAP_HUGE_MASK): Define.
7074
7075 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7076 Define.
7077 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7078 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7079 Define.
7080 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7081 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7082 Define.
7083 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7084 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7085 Define.
7086 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7087
7088 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7089 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7090 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7091 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7092 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7093 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7094
7095 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7096 Handle f2fs.
7097
7098 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7099 Handle f2fs and efivarfs.
7100
7101 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7102 f2fs.
7103
7104 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7105 (EFIVARFS_MAGIC): Add.
7106 (F2FS_LINK_MAX): Add.
7107
e1b42695
PP
71082013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7109
7110 * stdio-common/vfprintf.c: Replace __builtin_expect with
7111 __glibc_unlikely.
7112
2d67d91a
JM
71132013-03-06 Joseph Myers <joseph@codesourcery.com>
7114
7115 [BZ #13550]
7116 * sysdeps/generic/bp-sym.h: Remove file.
7117 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7118 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7119 <bp-sym.h> and <bp-asm.h>.
7120 (__longjmp): Don't use BP_SYM.
7121 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7122 and <bp-asm.h>.
7123 (memcpy): Don't use BP_SYM.
7124 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7125 <bp-sym.h> and <bp-asm.h>.
7126 (memcpy): Don't use BP_SYM.
7127 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7128 <bp-asm.h>.
7129 (memcpy): Don't use BP_SYM.
7130 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7131 <bp-asm.h>.
7132 (memset): Don't use BP_SYM.
7133 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7134 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7135 (__bzero): Don't use BP_SYM.
7136 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7137 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7138 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7139 <bp-sym.h> and <bp-asm.h>.
7140 (memcmp): Don't use BP_SYM. Remove comment about bounded
7141 pointers.
7142 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7143 <bp-sym.h> and <bp-asm.h>.
7144 (memcpy): Don't use BP_SYM.
7145 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7146 <bp-sym.h> and <bp-asm.h>.
7147 (memset): Don't use BP_SYM.
7148 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7149 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7150 (__bzero): Don't use BP_SYM.
7151 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7152 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7153 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7154 <bp-sym.h> and <bp-asm.h>.
7155 (strncmp): Don't use BP_SYM. Remove comment about bounded
7156 pointers.
7157 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7158 <bp-sym.h> and <bp-asm.h>.
7159 (memcpy): Don't use BP_SYM.
7160 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7161 <bp-sym.h> and <bp-asm.h>.
7162 (memset): Don't use BP_SYM.
7163 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7164 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7165 (__bzero): Don't use BP_SYM.
7166 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7167 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7168 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7169 <bp-sym.h> and <bp-asm.h>.
7170 (__memchr): Don't use BP_SYM.
7171 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7172 <bp-sym.h> and <bp-asm.h>.
7173 (memcmp): Don't use BP_SYM. Remove comment about bounded
7174 pointers.
7175 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7176 <bp-sym.h> and <bp-asm.h>.
7177 (memcpy): Don't use BP_SYM.
7178 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7179 <bp-sym.h> and <bp-asm.h>.
7180 (__mempcpy): Don't use BP_SYM.
7181 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7182 <bp-sym.h> and <bp-asm.h>.
7183 (__memrchr): Don't use BP_SYM.
7184 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7185 <bp-sym.h> and <bp-asm.h>.
7186 (memset): Don't use BP_SYM.
7187 (__bzero): Likewise.
7188 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7189 <bp-sym.h> and <bp-asm.h>.
7190 (__rawmemchr): Don't use BP_SYM.
7191 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7192 <bp-sym.h> and <bp-asm.h>.
7193 (__STRCMP): Don't use BP_SYM.
7194 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7195 <bp-sym.h> and <bp-asm.h>.
7196 (strchr): Don't use BP_SYM.
7197 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7198 <bp-sym.h> and <bp-asm.h>.
7199 (__strchrnul): Don't use BP_SYM.
7200 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7201 <bp-sym.h> and <bp-asm.h>.
7202 (strlen): Don't use BP_SYM.
7203 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7204 <bp-sym.h> and <bp-asm.h>.
7205 (strncmp): Don't use BP_SYM. Remove comment about bounded
7206 pointers.
7207 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7208 <bp-sym.h> and <bp-asm.h>.
7209 (__strnlen): Don't use BP_SYM.
7210 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7211 <bp-sym.h> and <bp-asm.h>.
7212 (__GI__setjmp): Don't use BP_SYM.
7213 (_setjmp): Likewise.
7214 (__sigsetjmp): Likewise.
7215 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7216 (L(start_addresses)): Don't use BP_SYM.
7217 (_start): Likewise.
7218 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7219 <bp-asm.h>.
7220 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7221 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7222 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7223 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7224 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7225 <bp-asm.h>.
7226 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7227 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7228 about bounded pointers.
7229 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7230 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7231 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7232 <bp-asm.h>.
7233 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7234 about bounded pointers. Remove GKM FIXME comments.
7235 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7236 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7237 <bp-asm.h>.
7238 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7239 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7240 Remove GKM FIXME comments.
7241 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7242 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7243 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7244 <bp-asm.h>.
7245 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7246 about bounded pointers. Remove GKM FIXME comment.
7247 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7248 and <bp-asm.h>.
7249 (strncmp): Don't use BP_SYM. Remove comment about bounded
7250 pointers.
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7252 <bp-sym.h> and <bp-asm.h>.
7253 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7255 <bp-sym.h> and <bp-asm.h>.
7256 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7257 comment.
7258
cdcf361f
PP
72592013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7260
7261 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7262 call free(NULL).
7263
3c4a2b15
DM
72642013-03-05 David S. Miller <davem@davemloft.net>
7265
7266 * po/es.po: Update from translation team.
7267
cdcf361f 72682013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
7269
7270 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7271 <bits/mman-linux.h>.
7272 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7273 is fine.
7274 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7275 <bits/mman-linux.h> to end of file.
7276 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7277 is fine.
7278 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7279 <bits/mman-linux.h> to end of file.
7280 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7281 is fine.
7282 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7283 <bits/mman-linux.h> to end of file.
7284
7285 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7286 (MCL_CURRENT, MCL_FUTURE): Define here.
7287
5f67c04f
AK
72882013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7289
8a4473cc 7290 [BZ #15232]
5f67c04f
AK
7291 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7292 attribute_hidden.
7293 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7294
c3e94a95
AK
72952013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7296
7297 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7298 fourth parameter needed for rt_sigprocmask syscall.
7299 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7300 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7301 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7302 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7303 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7304 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7305
cfb6382a
JM
73062013-03-04 Joseph Myers <joseph@codesourcery.com>
7307
7308 [BZ #13550]
7309 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7310 comment about bounded pointers.
7311 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7312 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7313
539d8e01
AJ
73142013-03-04 Andreas Jaeger <aj@suse.de>
7315
7316 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7317 common definitions.
7318
7319 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7320 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7321 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7322 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7323 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7324 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7325
2e167a70 73262013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7327
7328 [BZ #15055]
7329 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7330 __ieee754_sqrl instead of __sqrl.
7331
68508633
JM
73322013-03-01 Joseph Myers <joseph@codesourcery.com>
7333
7334 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7335 * sysdeps/powerpc/fpu_control.h: ... here.
7336 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7337 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7338 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7339 * sysdeps/powerpc/bits/mathinline.h: ... here.
7340
7775448e
RM
73412013-03-01 Roland McGrath <roland@hack.frob.com>
7342
7343 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7344 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7345 to just [NEED_DL_SYSINFO_DSO].
7346 * elf/dl-support.c: Likewise.
7347 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7348 * elf/rtld.c (dl_main): Likewise.
7349 * elf/setup-vdso.h (setup_vdso): Likewise.
7350 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7351 * sysdeps/unix/sysv/linux/dl-sysdep.c
7352 (_dl_discover_osversion): Likewise.
7353
4e9b5995
CD
73542013-03-01 Carlos O'Donell <carlos@redhat.com>
7355
7356 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7357 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7358
e23872c8
SP
73592013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7360
e5c74c63
SP
7361 * NEWS: Mention libm performance improvements and non-x86 PI
7362 futex support.
7363
e23872c8
SP
7364 * csu/libc-start.c (__pthread_initialize_minimal): Change
7365 function arguments.
7366 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7367
b5510883
JM
73682013-02-28 Joseph Myers <joseph@codesourcery.com>
7369
7370 [BZ #13550]
7371 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7372 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7373 <bp-sym.h> and <bp-asm.h>.
7374 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7375 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7376 and <bp-asm.h>.
7377 (memcpy): Don't use BP_SYM.
7378 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7379 <bp-asm.h>.
7380 (__mpn_add_n): Don't use BP_SYM.
7381 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7382 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7383 and <bp-asm.h>.
7384 (__mpn_addmul_1): Don't use BP_SYM.
7385 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7386 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7387 <bp-sym.h>.
7388 (_setjmp): Don't use BP_SYM.
7389 (__novmx_setjmp): Likewise.
7390 (__GI__setjmp): Likewise.
7391 (__vmx_setjmp): Likewise.
7392 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7393 <bp-sym.h>.
7394 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7395 (__bzero): Don't use BP_SYM.
7396 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7397 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7398 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7399 <bp-sym.h> and <bp-asm.h>.
7400 (memcpy): Don't use BP_SYM.
7401 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7402 <bp-sym.h> and <bp-asm.h>.
7403 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7404 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7405 <bp-sym.h> and <bp-asm.h>.
7406 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7407 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7408 <bp-asm.h>.
7409 (__mpn_lshift): Don't use BP_SYM.
7410 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7411 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7412 <bp-asm.h>.
7413 (memset): Don't use BP_SYM.
7414 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7415 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7416 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7417 <bp-asm.h>.
7418 (__mpn_mul_1): Don't use BP_SYM.
7419 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7420 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7421 <bp-sym.h> and <bp-asm.h>.
7422 (memcmp): Don't use BP_SYM.
7423 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7424 <bp-sym.h> and <bp-asm.h>.
7425 (memcpy): Don't use BP_SYM.
7426 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7427 <bp-sym.h> and <bp-asm.h>.
7428 (memset): Don't use BP_SYM.
7429 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7430 <bp-sym.h> and <bp-asm.h>.
7431 (strncmp): Don't use BP_SYM.
7432 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7433 <bp-sym.h> and <bp-asm.h>.
7434 (memcpy): Don't use BP_SYM.
7435 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7436 <bp-sym.h> and <bp-asm.h>.
7437 (memset): Don't use BP_SYM.
7438 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7439 <bp-sym.h> and <bp-asm.h>.
7440 (__memchr): Don't use BP_SYM.
7441 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7442 <bp-sym.h> and <bp-asm.h>.
7443 (memcmp): Don't use BP_SYM.
7444 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7445 <bp-sym.h> and <bp-asm.h>.
7446 (memcpy): Don't use BP_SYM.
7447 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7448 <bp-sym.h> and <bp-asm.h>.
7449 (__mempcpy): Don't use BP_SYM.
7450 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7451 <bp-sym.h> and <bp-asm.h>.
7452 (__memrchr): Don't use BP_SYM.
7453 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7454 <bp-sym.h> and <bp-asm.h>.
7455 (memset): Don't use BP_SYM.
7456 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7457 <bp-sym.h> and <bp-asm.h>.
7458 (__rawmemchr): Don't use BP_SYM.
7459 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7460 <bp-sym.h> and <bp-asm.h>.
7461 (__STRCMP): Don't use BP_SYM.
7462 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7463 <bp-sym.h> and <bp-asm.h>.
7464 (strchr): Don't use BP_SYM.
7465 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7466 <bp-sym.h> and <bp-asm.h>.
7467 (__strchrnul): Don't use BP_SYM.
7468 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7469 <bp-sym.h> and <bp-asm.h>.
7470 (strlen): Don't use BP_SYM.
7471 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7472 <bp-sym.h> and <bp-asm.h>.
7473 (strncmp): Don't use BP_SYM.
7474 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7475 <bp-sym.h> and <bp-asm.h>.
7476 (__strnlen): Don't use BP_SYM.
7477 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7478 <bp-asm.h>.
7479 (__mpn_rshift): Don't use BP_SYM.
7480 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7481 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7482 <bp-sym.h> and <bp-asm.h>.
7483 (__sigsetjmp): Don't use BP_SYM.
7484 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7485 (L(start_addresses)): Don't use BP_SYM.
7486 (_start): Likewise.
7487 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7488 <bp-asm.h>.
7489 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7490 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7491 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7492 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7493 <bp-asm.h>.
7494 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7495 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7496 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7497 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7498 <bp-asm.h>.
7499 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7500 comments.
7501 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7502 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7503 <bp-asm.h>.
7504 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7505 FIXME comments.
7506 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7507 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7508 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7509 <bp-asm.h>.
7510 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7511 comment.
7512 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7513 and <bp-asm.h>.
7514 (strncmp): Don't use BP_SYM,
7515 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7516 <bp-asm.h>.
7517 (__mpn_sub_n): Don't use BP_SYM.
7518 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7519 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7520 and <bp-asm.h>.
7521 (__mpn_submul_1): Don't use BP_SYM.
7522 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7524 <bp-sym.h> and <bp-asm.h>.
7525 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7527 <bp-sym.h> and <bp-asm.h>.
7528 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7529 comment.
7530
8d19fe64
SP
75312013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7532
7533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7534 Use ZK to minimize writes to Z.
7535 (sub_magnitudes): Simplify code a bit.
7536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7537 Use ZK to minimize writes to Z.
7538 (sub_magnitudes): Simplify code a bit.
7539
85bd816a
RM
75402013-02-27 Roland McGrath <roland@hack.frob.com>
7541
7542 * csu/gmon-start.c: Add special exception to license text.
7543
b5977bf2
RH
75442013-02-27 Richard Henderson <rth@redhat.com>
7545
7546 * scripts/config.guess: Update from config.git.
7547 * scripts/config.sub: Likewise.
7548
11d6e2f2
SP
75492013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7550
09c14ed2
SP
7551 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7552
a688864e
SP
7553 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7554
6295157a
SP
7555 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7556
b8de2202
SP
7557 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7558
11d6e2f2
SP
7559 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7560
7e80ddb8
RM
75612013-02-26 Roland McGrath <roland@hack.frob.com>
7562
7563 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7564 [$(build-shared = yes].
7e80ddb8 7565
7da6d9ed
SP
75662013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7567
45f05884
SP
7568 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7569 (__mul): Reduce iterations for calculating mantissa.
7570
2236d359
SP
7571 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7572 MPTWO.
7573 (__mpranred): Likewise.
7574
7da6d9ed
SP
7575 [BZ #15160]
7576 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7577 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7578
b7688c42
PE
75792013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7580
7581 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7582 Define __attribute__.
7583
53a5c423
SP
75842013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7585
7586 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7587 unused.
7588 * posix/regex_internal.h (__attribute): Remove.
7589 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7590 (re_string_context_at): Likewise.
7591 (bitset_not): Use __attribute__ and mark function as possibly
7592 unused.
7593 (bitset_merge): Likewise.
7594 (bitset_mask): Likewise.
7595 (re_string_char_size_at): Likewise.
7596 (re_string_wchar_at): Likewise.
7597 (re_string_elem_size_at): Likewise.
7598
60f5a8b5
SP
75992013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7600
2a983a2e
SP
7601 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7602 code.
7603 (cc32): Likewise.
7604
e69804d1
SP
7605 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7606 (__acr): Likewise.
7607 (__cpy): Likewise.
7608 (norm): Likewise.
7609 (denorm): Likewise.
7610 (__dbl_mp): Likewise.
7611 (add_magnitudes): Likewise.
7612 (sub_magnitudes): Likewise.
7613 (__mul): Likewise.
7614 (__inv): Likewise.
7615
2f22a1e8
SP
7616 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7617 style.
7618
8930ddc7
SP
7619 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7620 style.
7621
dc60cb11
SP
7622 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7623 code.
7624
60f5a8b5
SP
7625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7626 up changes with default code.
7627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7628 Likewise.
7629
b4d1fd33
AM
76302013-02-24 Allan McRae <allan@archlinux.org>
7631
faf6f8bc
AM
7632 * manual/socket.texi (The Internet Namespace): Order menu items
7633 to match that in the file.
7634
b4d1fd33
AM
7635 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7636 node listing of the info page menu.
7637
2366713d
JM
76382013-02-21 Joseph Myers <joseph@codesourcery.com>
7639
7640 [BZ #13550]
7641 * sysdeps/i386/bp-asm.h: Remove file.
7642 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7643 (PARMS): Do not use macros from bp-asm.h.
7644 (S1): Likewise.
7645 (S2): Likewise.
7646 (SIZE): Likewise.
7647 (__mpn_add_n): Do not use BP_SYM
7648 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7649 "bp-asm.h".
7650 (PARMS): Do not use macros from bp-asm.h.
7651 (S1): Likewise.
7652 (SIZE): Likewise.
7653 (__mpn_addmul_1): Do not use BP_SYM
7654 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7655 "bp-asm.h".
7656 (PARMS): Do not use macros from bp-asm.h.
7657 (SIGMSK): Likewise.
7658 (_setjmp): Likewise. Do not use BP_SYM.
7659 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7660 "bp-asm.h".
7661 (PARMS): Do not use macros from bp-asm.h.
7662 (SIGMSK): Likewise.
7663 (setjmp): Likewise. Do not use BP_SYM.
7664 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7665 "bp-asm.h".
7666 (PARMS): Do not use macros from bp-asm.h.
7667 (__frexp): Do not use BP_SYM.
7668 (frexp): Likewise.
7669 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7670 "bp-asm.h".
7671 (PARMS): Do not use macros from bp-asm.h.
7672 (__frexpf): Do not use BP_SYM.
7673 (frexpf): Likewise.
7674 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7675 "bp-asm.h".
7676 (PARMS): Do not use macros from bp-asm.h.
7677 (__frexpl): Do not use BP_SYM.
7678 (frexpl): Likewise.
7679 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7680 "bp-asm.h".
7681 (PARMS): Do not use macros from bp-asm.h.
7682 (__remquo): Do not use BP_SYM.
7683 (remquo): Likewise.
7684 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7685 "bp-asm.h".
7686 (PARMS): Do not use macros from bp-asm.h.
7687 (__remquof): Do not use BP_SYM.
7688 (remquof): Likewise.
7689 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7690 "bp-asm.h".
7691 (PARMS): Do not use macros from bp-asm.h.
7692 (__remquol): Do not use BP_SYM.
7693 (remquol): Likewise.
7694 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7695 "bp-asm.h".
7696 (PARMS): Do not use macros from bp-asm.h.
7697 (DEST): Likewise.
7698 (SRC): Likewise.
7699 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7700 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7701 "bp-asm.h".
7702 (PARMS): Do not use macros from bp-asm.h.
7703 (strlen): Do not use BP_SYM.
7704 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7705 "bp-asm.h".
7706 (PARMS): Do not use macros from bp-asm.h.
7707 (S1): Likewise.
7708 (S2): Likewise.
7709 (SIZE): Likewise.
7710 (__mpn_add_n): Do not use BP_SYM.
7711 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7712 "bp-asm.h".
7713 (PARMS): Do not use macros from bp-asm.h.
7714 (S1): Likewise.
7715 (SIZE): Likewise.
7716 (__mpn_addmul_1): Do not use BP_SYM.
7717 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7718 weak_alias.
7719 (bzero): Likewise.
7720 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7721 "bp-asm.h".
7722 (PARMS): Do not use macros from bp-asm.h.
7723 (S): Likewise.
7724 (SIZE): Likewise.
7725 (__mpn_lshift): Do not use BP_SYM.
7726 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7727 "bp-asm.h".
7728 (PARMS): Do not use macros from bp-asm.h.
7729 (DEST): Likewise.
7730 (SRC): Likewise.
7731 (LEN): Likewise.
7732 (memcpy): Likewise. Do not use BP_SYM.
7733 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7734 libc_hidden_def and weak_alias.
7735 (mempcpy): Do not use BP_SYM in weak_alias.
7736 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7737 "bp-asm.h".
7738 (PARMS): Do not use macros from bp-asm.h.
7739 (DEST): Likewise.
7740 (LEN): Likewise.
7741 [!BZERO_P] (CHR): Likewise.
7742 (memset): Likewise. Do not use BP_SYM.
7743 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7744 "bp-asm.h".
7745 (PARMS): Do not use macros from bp-asm.h.
7746 (S1): Likewise.
7747 (SIZE): Likewise.
7748 (__mpn_mul_1): Do not use BP_SYM.
7749 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7750 "bp-asm.h".
7751 (PARMS): Do not use macros from bp-asm.h.
7752 (S): Likewise.
7753 (SIZE): Likewise.
7754 (__mpn_rshift): Do not use BP_SYM.
7755 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7756 "bp-asm.h".
7757 (PARMS): Do not use macros from bp-asm.h.
7758 (STR): Likewise.
7759 (CHR): Likewise.
7760 (strchr): Likewise. Do not use BP_SYM.
7761 (index): Do not use BP_SYM in weak_alias.
7762 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7763 "bp-asm.h".
7764 (PARMS): Do not use macros from bp-asm.h.
7765 (DEST): Likewise.
7766 (SRC): Likewise.
7767 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7768 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7769 "bp-asm.h".
7770 (PARMS): Do not use macros from bp-asm.h.
7771 (strlen): Do not use BP_SYM.
7772 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7773 "bp-asm.h".
7774 (PARMS): Do not use macros from bp-asm.h.
7775 (S1): Likewise.
7776 (S2): Likewise.
7777 (SIZE): Likewise.
7778 (__mpn_sub_n): Do not use BP_SYM.
7779 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7780 "bp-asm.h".
7781 (PARMS): Do not use macros from bp-asm.h.
7782 (S1): Likewise.
7783 (SIZE): Likewise.
7784 (__mpn_submul_1): Do not use BP_SYM.
7785 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7786 "bp-asm.h".
7787 (PARMS): Do not use macros from bp-asm.h.
7788 (S1): Likewise.
7789 (S2): Likewise.
7790 (SIZE): Likewise.
7791 (__mpn_add_n): Do not use BP_SYM.
7792 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7793 weak_alias.
7794 (bzero): Likewise.
7795 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7796 "bp-asm.h".
7797 (PARMS): Do not use macros from bp-asm.h.
7798 (BLK2): Likewise.
7799 (LEN): Likewise.
7800 (memcmp): Do not use BP_SYM.
7801 (bcmp): Do not use BP_SYM in weak_alias.
7802 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7803 "bp-asm.h".
7804 (PARMS): Do not use macros from bp-asm.h.
7805 (DEST): Likewise.
7806 (SRC): Likewise.
7807 (LEN): Likewise.
7808 (memcpy): Likewise. Do not use BP_SYM.
7809 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7810 "bp-asm.h".
7811 (PARMS): Do not use macros from bp-asm.h.
7812 (DEST): Likewise.
7813 (SRC): Likewise.
7814 (LEN): Likewise.
7815 (memmove): Likewise. Do not use BP_SYM.
7816 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7817 "bp-asm.h".
7818 (PARMS): Do not use macros from bp-asm.h.
7819 (DEST): Likewise.
7820 (SRC): Likewise.
7821 (LEN): Likewise.
7822 (__mempcpy): Likewise. Do not use BP_SYM.
7823 (mempcpy): Do not use BP_SYM in weak_alias.
7824 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7825 "bp-asm.h".
7826 (PARMS): Do not use macros from bp-asm.h.
7827 (DEST): Likewise.
7828 (LEN): Likewise.
7829 [!BZERO_P] (CHR): Likewise.
7830 (memset): Likewise. Do not use BP_SYM.
7831 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7832 "bp-asm.h".
7833 (PARMS): Do not use macros from bp-asm.h.
7834 (STR2): Likewise.
7835 (strcmp): Do not use BP_SYM.
7836 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7837 "bp-asm.h".
7838 (PARMS): Do not use macros from bp-asm.h.
7839 (STR): Likewise.
7840 (DELIM): Likewise.
7841 [USE_AS_STRTOK_R] (SAVE): Likewise.
7842 (FUNCTION): Likewise. Do not use BP_SYM.
7843 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7844 aliases.
7845 (strtok_r): Likewise.
7846 (__GI___strtok_r): Likewise.
7847 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7848 (PARMS): Do not use macros from bp-asm.h.
7849 (S): Likewise.
7850 (SIZE): Likewise.
7851 (__mpn_lshift): Do not use BP_SYM.
7852 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7853 (PARMS): Do not use macros from bp-asm.h.
7854 (STR): Likewise.
7855 (CHR): Likewise.
7856 (__memchr): Do not use BP_SYM.
7857 (memchr): Do not use BP_SYM in weak_alias.
7858 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7859 (PARMS): Do not use macros from bp-asm.h.
7860 (BLK2): Likewise.
7861 (LEN): Likewise.
7862 (memcmp): Do not use BP_SYM.
7863 (bcmp): Do not use BP_SYM in weak_alias.
7864 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7865 (PARMS): Do not use macros from bp-asm.h.
7866 (S1): Likewise.
7867 (SIZE): Likewise.
7868 (__mpn_mul_1): Do not use BP_SYM.
7869 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7870 "bp-asm.h".
7871 (PARMS): Do not use macros from bp-asm.h.
7872 (STR): Likewise.
7873 (CHR): Likewise.
7874 (__rawmemchr): Do not use BP_SYM.
7875 (rawmemchr): Do not use BP_SYM in weak_alias.
7876 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7877 (PARMS): Do not use macros from bp-asm.h.
7878 (S): Likewise.
7879 (SIZE): Likewise.
7880 (__mpn_rshift): Do not use BP_SYM.
7881 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7882 (PARMS): Do not use macros from bp-asm.h.
7883 (SIGMSK): Likewise.
7884 (__sigsetjmp): Likewise. Do not use BP_SYM.
7885 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7886 (_start): Do not use BP_SYM.
7887 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7888 (PARMS): Do not use macros from bp-asm.h.
7889 (DEST): Likewise.
7890 (SRC): Likewise.
7891 (__stpcpy): Likewise. Do not use BP_SYM.
7892 (stpcpy): Do not use BP_SYM in weak_alias.
7893 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7894 "bp-asm.h".
7895 (PARMS): Do not use macros from bp-asm.h.
7896 (DEST): Likewise.
7897 (SRC): Likewise.
7898 (LEN): Likewise.
7899 (__stpncpy): Likewise. Do not use BP_SYM.
7900 (stpncpy): Do not use BP_SYM in weak_alias.
7901 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7902 (PARMS): Do not use macros from bp-asm.h.
7903 (STR): Likewise.
7904 (CHR): Likewise.
7905 (strchr): Likewise. Do not use BP_SYM.
7906 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7907 "bp-asm.h".
7908 (PARMS): Do not use macros from bp-asm.h.
7909 (STR): Likewise.
7910 (CHR): Likewise.
7911 (__strchrnul): Likewise. Do not use BP_SYM.
7912 (strchrnul): Do not use BP_SYM in weak_alias.
7913 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7914 "bp-asm.h".
7915 (PARMS): Do not use macros from bp-asm.h.
7916 (STOP): Likewise.
7917 (strcspn): Do not use BP_SYM.
7918 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7919 "bp-asm.h".
7920 (PARMS): Do not use macros from bp-asm.h.
7921 (STR): Likewise.
7922 (STOP): Likewise.
7923 (strpbrk): Likewise. Do not use BP_SYM.
7924 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7925 "bp-asm.h".
7926 (PARMS): Do not use macros from bp-asm.h.
7927 (STR): Likewise.
7928 (CHR): Likewise.
7929 (strrchr): Likewise. Do not use BP_SYM.
7930 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7931 (PARMS): Do not use macros from bp-asm.h.
7932 (SKIP): Likewise.
7933 (strspn): Do not use BP_SYM.
7934 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7935 (PARMS): Do not use macros from bp-asm.h.
7936 (STR): Likewise.
7937 (DELIM): Likewise.
7938 (SAVE): Likewise.
7939 (FUNCTION): Likewise. Do not use BP_SYM.
7940 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7941 aliases.
7942 (strtok_r): Likewise.
7943 (__GI___strtok_r): Likewise.
7944 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7945 (PARMS): Do not use macros from bp-asm.h.
7946 (S1): Likewise.
7947 (S2): Likewise.
7948 (SIZE): Likewise.
7949 (__mpn_sub_n): Do not use BP_SYM.
7950 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7951 "bp-asm.h".
7952 (PARMS): Do not use macros from bp-asm.h.
7953 (S1): Likewise.
7954 (SIZE): Likewise.
7955 (__mpn_submul_1): Do not use BP_SYM.
7956 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7957 <bp-sym.h>.
7958 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7959 and <bp-asm.h>.
7960 (PARMS): Do not use macros from bp-asm.h.
7961 (FLAGS): Likewise.
7962 (PTID): Likewise.
7963 (TLS): Likewise.
7964 (CTID): Likewise.
7965 (__clone): Do not use BP_SYM.
7966 (clone): Do not use BP_SYM in weak_alias.
7967 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7968 and <bp-asm.h>.
7969 (PARMS): Do not use macros from bp-asm.h.
7970 (LEN): Likewise.
7971 (__mmap64): Do not use BP_SYM.
7972 (mmap64): Do not use BP_SYM in weak_alias.
7973 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7974 <bp-sym.h> and <bp-asm.h>.
7975 (PARMS): Do not use macros from bp-asm.h.
7976 (__posix_fadvise64_l64): Do not use BP_SYM.
7977 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7978 (PARMS): Do not use macros from bp-asm.h.
7979 (NSOPS): Likewise.
7980 (semtimedop): Do not use BP_SYM.
7981 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7982 and <bp-asm.h>.
7983
582a3cff
AM
79842013-02-21 Allan McRae <allan@archlinux.org>
7985
7986 * manual/message.texi (Charset conversion in gettext):
7987 Move @end statement to beginning of line.
7988
bab8a695
SP
79892013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7990
80945231
SP
7991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7992 static.
7993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7994 Likewise.
7995
bab8a695
SP
7996 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7997 (denorm): Likewise.
7998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8000
e21d7aa7
AK
80012013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8002
8003 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8004 tail-call to the resolved function if pltexit isn't needed.
8005
4c7a4263
SP
80062013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8007
8008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8009 or Y being zero as being unlikely.
8010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8011 Likewise.
8012
41f49342
CD
80132013-02-20 Carlos O'Donell <carlos@redhat.com>
8014
8015 * manual/nss.texi (System Databases and Name Service Switch):
8016 Remove frobnicate @pxref.
8017
50022a93
TS
80182013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8019
8020 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8021 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8022
08cbd996
PM
80232013-02-20 Petr Machata <pmachata@redhat.com>
8024
8025 * elf/elf.h (R_ARM_TARGET1): New macro.
8026 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8027 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8028 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8029 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8030 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8031 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8032 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8033 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8034 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8035 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8036 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8037 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8038 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8039 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8040 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8041 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8042 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8043 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8044 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8045 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8046 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8047 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8048 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8049 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8050 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8051 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8052 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8053 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8054 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8055 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8056 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8057 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8058 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8059 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8060 (R_ARM_THM_GOT_BREL12): Likewise.
8061 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8062 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8063 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8064 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8065 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8066 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8067 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8068 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8069 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8070
c7b275d6
TS
80712013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8072
8073 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8074 __attribute_used__ to __attribute__ ((unused)).
8075
20cd7fb3
SP
80762013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8077
8078 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8079 powerpc mpa.c.
8080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8081 comment formatting.
8082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8083
92945b52
JM
80842013-02-19 Joseph Myers <joseph@codesourcery.com>
8085
8086 [BZ #13550]
8087 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8088 Remove macro.
8089 (ENTER): Remove both macro definitions.
8090 (LEAVE): Likewise.
8091 (CHECK_BOUNDS_LOW): Likewise.
8092 (CHECK_BOUNDS_HIGH): Likewise.
8093 (CHECK_BOUNDS_BOTH): Likewise.
8094 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8095 (RETURN_BOUNDED_POINTER): Likewise.
8096 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8097 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8098 (POP_ERRNO_LOCATION_RETURN): Likewise.
8099 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8100 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8101 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8102 macros.
8103 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8104 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8105 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8106 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8107 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8108 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8109 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8110 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8111 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8112 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8113 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8114 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8115 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8116 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8117 removed macros.
8118 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8119 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8120 macros.
8121 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8122 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8123 * sysdeps/i386/i586/memset.S (memset): Likewise.
8124 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8125 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8126 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8127 macros.
8128 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8129 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8130 Change uses of L(2) to L(out).
8131 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8132 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8133 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8134 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8135 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8136 removed macros.
8137 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8138 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8139 macros.
8140 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8141 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8142 (RETURN): Do not use macro LEAVE.
8143 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8144 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8145 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8146 * sysdeps/i386/i686/memset.S (memset): Likewise.
8147 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8148 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8149 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8150 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8151 Likewise.
8152 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8153 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8154 L(1_2) and L(1_3) into L(1).
8155 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8156 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8157 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8158 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8159 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8160 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8161 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8162 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8163 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8164 macros.
8165 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8166 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8167 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8168 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8169 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8170 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8171 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8172 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8173 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8174 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8175 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8176 * sysdeps/i386/strspn.S (strspn): Likewise.
8177 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8178 conditional code.
8179 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8180 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8181 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8182 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8183 L(1_3) into L(1_1).
8184 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8185 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8186 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8187 macros.
8188 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8189
2389741a
JJ
81902013-02-19 Jakub Jelinek <jakub@redhat.com>
8191
8192 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8193 macro.
8194
2016b3cd
SP
81952013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8196
e4f22324
SP
8197 * math/atest-exp.c (exp_mpn): Remove ROUND.
8198 * math/atest-exp2.c (exp_mpn): Likewise.
8199 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8200
2016b3cd
SP
8201 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8202 * stdlib/tst-tls-atexit-lib.c: Likewise.
8203 * stdlib/tst-tls-atexit.c: Likewise.
8204
4be9b544
MF
82052013-02-18 Mike Frysinger <vapier@gentoo.org>
8206
8207 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8208 and __attribute_alloc_size__.
8209
2f62b9ee
MF
82102013-02-18 Mike Frysinger <vapier@gentoo.org>
8211
8212 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8213 __attribute_alloc_size__.
8214 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8215 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8216
6ff444c4
MF
82172013-02-18 Mike Frysinger <vapier@gentoo.org>
8218
8219 * include/programs/xmalloc.h: New file.
8220 * catgets/gencat.c: Include it.
8221 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8222 * elf/pldd.c: Likewise.
8223 * iconv/iconv_charmap.c: Likewise.
8224 * iconv/iconvconfig.c: Likewise.
8225 * iconv/strtab.c: Likewise.
8226 * locale/programs/locale.c: Likewise.
8227 * locale/programs/localedef.h: Likewise.
8228 * locale/programs/simple-hash.c: Likewise.
8229 * nscd/nscd.h: Likewise.
8230 * nss/makedb.c: Likewise.
8231 * sysdeps/generic/ldconfig.h: Likewise.
8232
be179c8a
SP
82332013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8234
ba384f6e
SP
8235 * Versions.def: Add GLIBC_2.18.
8236 * include/link.h (struct link_map): New member l_tls_dtor_count.
8237 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8238 (__call_tls_dtors): Likewise.
8239 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8240 __cxa_thread_atexit_impl.
8241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8242 Likewise.
8243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8244 Likewise.
8245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8246 Likewise.
8247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8248 Likewise.
8249 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8251 Likewise.
8252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8253 Likewise.
8254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8256 Likewise.
8257 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8258 (tests): Add test case tst-tls-atexit.
8259 (modules-names): Add shared library for tst-tls-atexit.
85891aca 8260 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
8261 (GLIBC_PRIVATE): Add __call_tls_dtors.
8262 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8263 for libstdc++.
8264 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8265 * stdlib/tst-tls-atexit.c: New test case.
8266 * stdlib/tst-tls-atexit-lib.c: New test case.
8267
ffaa74cf 8268 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 8269
be179c8a
SP
8270 * elf/Versions (ld): Add _dl_find_dso_for_object.
8271 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8272 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8273 (dl_open_worker): Use _dl_find_dso_for_object.
8274 * elf/dl-sym.c (do_sym): Likewise.
8275 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8276
f78b5caa
AK
82772013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8278
8279 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8280 Syntactic changes only.
8281 (_dl_runtime_profile): Do a tail-call to the resolved function.
8282
29691210
JM
82832013-02-17 Joseph Myers <joseph@codesourcery.com>
8284
8285 [BZ #13550]
8286 * sysdeps/x86_64/bp-asm.h: Remove file.
8287 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8288 <bp-sym.h> and <bp-asm.h>.
8289 (__clone): Do not use BP_SYM.
8290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8291 <bp-sym.h> and <bp-asm.h>.
8292 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8293 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8294 "bp-asm.h".
8295 (_setjmp): Do not use BP_SYM.
8296 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8297 "bp-asm.h".
8298 (setjmp): Do not use BP_SYM.
8299 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8300 libc_hidden_def.
8301 (mempcpy): Do not use BP_SYM in weak_alias.
8302 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8303 "bp-asm.h".
8304 (strchr): Do not use BP_SYM.
8305 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8306 "bp-asm.h".
8307 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8308 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8309 (_start): Do not use BP_SYM.
8310 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8311 "bp-asm.h".
8312 (strcat): Do not use BP_SYM.
8313 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8314 "bp-asm.h".
8315 (STRCMP): Do not use BP_SYM.
8316 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8317 "bp-asm.h".
8318 (STRCPY): Do not use BP_SYM.
8319 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8320 "bp-asm.h".
8321 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8322 "bp-asm.h".
8323 (FUNCTION): Do not use BP_SYM.
8324 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8325 weak_alias.
8326 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8327
f238fd19
AJ
83282013-02-17 Andreas Jaeger <aj@suse.de>
8329
8330 * time/Versions: Sort entries.
8331 * string/Versions: Likewise.
8332 * resolv/Versions: Likewise.
8333 * posix/Versions: Likewise.
8334 * iconv/Versions: Likewise.
8335 * elf/Versions: Likewise.
8336 * wcsmbs/Versions: Likewise.
8337
bd07f23c 83382013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8339
22af19f9
SP
8340 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8341 loop termination condition.
8342
4709fe76
SP
8343 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8344 variable to calculate EZ.
8345 (__sqr): Likewise.
2d0e0f29
SP
8346
8347 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8348 the lower precision input.
8349
daaa7713
JM
83502013-02-15 Joseph Myers <joseph@codesourcery.com>
8351
8352 [BZ #13550]
8353 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8354 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8355 (run-via-rtld-prefix): Do not handle %-bp tests.
8356 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8357 (all-object-suffixes): Remove .ob.
8358 (bppfx): Remove variable.
8359 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8360 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8361 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8362 [$(build-bounded) = yes] (libtype.ob): Likewise.
8363 * Makerules (elide-routines.ob): Remove variable.
8364 (do-tests-clean): Do not handle *-bp.out.
8365 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8366 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8367 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8368 (tests): Do not include $(tests-bp.out).
8369 (xtests): Do not include $(xtests-bp.out).
8370 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8371 [$(build-bounded) = yes] ($(addprefix
8372 $(objpfx),$(binaries-bounded))): Remove rule.
8373 ($(objpfx)%-bp.out): Remove rule.
8374 * config.make.in (build-bounded): Remove variable.
8375 * crypt/Makefile [$(build-bounded) = yes]
8376 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8377 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8378 append to variable.
8379 [$(build-bounded) = yes] (install-lib): Likewise.
8380 [$(build-bounded) = yes] (generated): Likewise.
8381 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8382 Remove rule.
8383 * intl/Makefile [$(build-bounded) = yes]
8384 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8385 * math/Makefile [$(build-bounded) = yes]
8386 ($(tests:%=$(objpfx)%-bp): Likewise.
8387 * misc/Makefile [$(build-bounded) = yes]
8388 ($(objpfx)tst-tsearch-bp): Likewise.
8389 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8390 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8391 Remove dependency.
8392 * string/Makefile (o-objects.ob): Remove variable.
8393 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8394 (CFLAGS-.ob): Remove variable.
8395 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8396 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8397 both definitions of variable.
8398 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8399 (ASFLAGS-.ob): Remove variable.
8400
e97ed6dd
JM
84012013-02-14 Joseph Myers <joseph@codesourcery.com>
8402
2bdd4ca6
JM
8403 [BZ #13550]
8404 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8405 Remove __BOUNDED_POINTERS__ from condition.
8406 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8407 * string/bits/string2.h [!__NO_STRING_INLINES &&
8408 !__BOUNDED_POINTERS__]: Likewise.
8409 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8410 Likewise.
8411 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8412 Remove conditional code.
8413 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8414 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8415 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8416 condition.
8417
e97ed6dd
JM
8418 [BZ #13550]
8419 * csu/libc-start.c: Do not include <bp-sym.h>.
8420 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8421 * elf/dl-open.c: Do not include <bp-sym.h>.
8422 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8423 * math/fegetenv.c: Do not include <bp-sym.h>.
8424 (fegetenv): Do not use BP_SYM in versioned symbols.
8425 * nptl/sysdeps/pthread/bits/libc-lockP.h
8426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8427 <bp-sym.h>.
8428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8429 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8431 (__pthread_mutex_destroy): Likewise.
8432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8433 (__pthread_mutex_lock): Likewise.
8434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8435 (__pthread_mutex_trylock): Likewise.
8436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8437 (__pthread_mutex_unlock): Likewise.
8438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8439 (__pthread_mutexattr_init): Likewise.
8440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8441 (__pthread_mutexattr_destroy): Likewise.
8442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8443 (__pthread_mutexattr_settype): Likewise.
8444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8445 (__pthread_rwlock_init): Likewise.
8446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8447 (__pthread_rwlock_destroy): Likewise.
8448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8449 (__pthread_rwlock_rdlock): Likewise.
8450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8451 (__pthread_rwlock_tryrdlock): Likewise.
8452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8453 (__pthread_rwlock_wrlock): Likewise.
8454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8455 (__pthread_rwlock_trywrlock): Likewise.
8456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8457 (__pthread_rwlock_unlock): Likewise.
8458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8459 (__pthread_key_create): Likewise.
8460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8461 (__pthread_setspecific): Likewise.
8462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8463 (__pthread_getspecific): Likewise.
8464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8465 Likewise.
8466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8467 (_pthread_cleanup_push_defer): Likewise.
8468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8469 (_pthread_cleanup_pop_restore): Likewise.
8470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8471 (pthread_setcancelstate): Likewise.
8472 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8473 <bp-sym.h>.
8474 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8475 (memchr): Do not use BP_SYM in weak_alias.
8476 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8477 (fegetenv): Do not use BP_SYM in versioned symbols.
8478 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8479 (fesetenv): Do not use BP_SYM in versioned symbols.
8480 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8481 (feupdateenv): Do not use BP_SYM in versioned symbols.
8482 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8483 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8484 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8485 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8486 (open64): Do not use BP_SYM in weak_alias.
8487 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8488 (fegetenv): Do not use BP_SYM in versioned symbols.
8489 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8490 (fesetenv): Do not use BP_SYM in versioned symbols.
8491 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8492 (feupdateenv): Do not use BP_SYM in versioned symbols.
8493 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8494 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8495 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8496 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8497 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8498 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8499 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8500 <bp-sym.h>.
8501 (__libc_start_main): Do not use BP_SYM.
8502
d6752ccd
SP
85032013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8504
cb57ce60
SP
8505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8506 redundant return line.
8507 (norm): Likewise.
8508 (denorm): Likewise.
8509 (dbl_mp): Likewise.
8510 (sub_magnitudes): Likewise.
8511 (__add): Likewise.
8512 (__sub): Likewise.
8513 (__mul): Likewise.
8514 (__inv): Likewise.
8515 (__dvd): Likewise.
8516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8517 (norm): Likewise.
8518 (denorm): Likewise.
8519 (dbl_mp): Likewise.
8520 (sub_magnitudes): Likewise.
8521 (__add): Likewise.
8522 (__sub): Likewise.
8523 (__mul): Likewise.
8524 (__inv): Likewise.
8525 (__dvd): Likewise.
8526
f414520d
SP
8527 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8528 instead of __mul.
8529 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8530 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8531 (cc32): Likewise.
8532
d6752ccd
SP
8533 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8534 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8535 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8536 of __mul for squares.
8537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8538 function
8539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8540 Likewise.
8541 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8542 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8543
70d9946a
JM
85442013-02-13 Joseph Myers <joseph@codesourcery.com>
8545
8546 [BZ #13550]
8547 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8548 code.
8549 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8550 prototype or function definition. Rename ubp_* variables and
8551 parameters. Remove argv definitions conditional on
8552 [__BOUNDED_POINTERS__].
8553 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8554 * elf/dl-runtime.c (_dl_fixup): Likewise.
8555 * include/set-hooks.h (RUN_HOOK): Likewise.
8556 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8557 definition.
8558 * string/strcpy.c (strcpy): Do not use __unbounded.
8559 * sysdeps/generic/frame.h (struct layout): Likewise.
8560 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8561 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8562 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8563 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8564 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8565 (__backtrace): Likewise.
8566 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8567 use __ptrvalue.
8568 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8569 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8570 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8571 Likewise.
8572 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8573 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8574 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8575 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8576 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8577 Do not use __unbounded.
8578 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8579 Rename __unboundedrlimits parameter to rlimits in prototype.
8580 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8581 Do not use __unbounded.
8582 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8583 not use __ptrvalue.
8584 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8585 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8586 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8587 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8588 __ptrvalue or __unbounded.
8589 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8590 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8591 use __unbounded.
8592 (__new_msgctl): Do not use __ptrvalue.
8593 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8594 __unbounded.
8595 (__libc_msgrcv): Do not use __ptrvalue.
8596 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8597 startup_info): Do not use __unbounded.
8598 (__libc_start_main): Likewise. Rename ubp_* variables and
8599 parameters. Remove argv definitions conditional on
8600 [__BOUNDED_POINTERS__].
8601 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8602 __ptrvalue.
8603 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8604 use __unbounded.
8605 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8606 or __ptrvalue.
8607 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8608 use __unbounded.
8609 (__new_shmctl): Do not use __ptrvalue.
8610 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8611 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8612 Likewise.
8613 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8614 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8615 (__libc_sigaction): Likewise.
8616 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8617 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8618 Likewise.
8619 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8620
cc7834d6
OB
86212013-02-13 Ondřej Bílka <neleai@seznam.cz>
8622
ffb1ec7b 8623 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8624
8625 * string/mempcpy.c: Implement by calling memcpy.
8626
bdf02814
SP
86272013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8628
c2af38aa
SP
8629 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8630
4e92d59e
SP
8631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8632 evaluation.
8633
909279a5
SP
8634 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8635 values in the mantissa.
8636
bdf02814
SP
8637 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8638 minimize writes to Z.
8639 (sub_magnitudes): Simplify code a bit.
8640
cd525923
RM
86412013-02-12 Roland McGrath <roland@hack.frob.com>
8642
8643 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8644 from the message. The linker prefixes all warnings with that already.
8645
7e2f0d2d
AS
86462013-02-12 Andreas Schwab <schwab@suse.de>
8647
a445af0b
AS
8648 [BZ #15078]
8649 * posix/regexec.c (extend_buffers): Add parameter min_len.
8650 (check_matching): Pass minimum needed length.
8651 (clean_state_log_if_needed): Likewise.
8652 (get_subexp): Likewise.
8653 * posix/Makefile (tests): Add bug-regex34.
8654 (bug-regex34-ENV): Define.
8655 * posix/bug-regex34.c: New file.
8656
7e2f0d2d
AS
8657 [BZ #11561]
8658 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8659 elements compare against the byte sequence of it, not its name.
8660 * posix/Makefile (tests): Add bug-regex35.
8661 (bug-regex35-ENV): Define.
8662 * posix/bug-regex35.c: New file.
8663
a175b684
TV
86642013-02-11 Tom de Vries <tom@codesourcery.com>
8665
8666 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8667 comment.
8668 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8669 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8670 (CHECK_EOL): Add undef.
8671
310998fe 86722013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8673
8674 * bits/stdlib-bsearch.h: New file.
8675 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8676 * stdlib/stdlib.h: Likewise.
41eda41d 8677
8ded91fb
RM
86782013-02-11 Roland McGrath <roland@hack.frob.com>
8679
8680 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8681 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8682 declaration.
8683 * manual/search.texi (Array Search Function): Add missing const in
8684 lfind prototype.
8685 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8686 declaration to use rlim_t.
8687 (Basic Scheduling Functions): Remove erroneous const from
8688 sched_getparam prototype. Remove erroneous * from
8689 sched_get_priority_max and sched_get_priority_min prototypes.
8690 (Resource Usage): Fix summary @comment on vtimes to refer to
8691 sys/vtimes.h rather than vtimes.h.
8692 Add missing *s in vtimes prototype.
8693 (Limits on Resources): Fix ulimit prototype to return long int.
8694 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8695 prototypes to use long int rather than double.
8696 (BSD Random): Fix initstate and setstate to use char *, not void *.
8697 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8698 prototype to make second argument 'struct aiocb64 *const[]'.
8699 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8700 (Status of AIO Operations): Remove erroneous const in aio_return and
8701 aio_return64 prototypes.
8702 (Synchronizing I/O): Fix sync prototype to return void.
8703 * manual/startup.texi (Suboptions): Remove an erroneous const in
8704 getsubopt prototype.
8705 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8706 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8707 use size_t rather than int.
8708 (Scanning All Users): Likewise for getpwent_r.
8709 (Setting Groups): Add missing const to setgroups prototype.
8710 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8711 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8712 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8713 'const void *' rather than 'const char *'.
8714 (Host Address Functions): Likewise for inet_ntop.
8715 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8716 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8717 ssize_t for return value.
8718 (Sending Data): Likewise for send, sendto, sendmsg.
8719 (Socket Option Functions): Add a missing const in setsockopt prototype.
8720 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8721 use wchar_t for the argument.
8722 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8723 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8724 take no arguments.
8725 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8726 double/float/long double for second argument.
8727 Fix return types of significand, significandf, significandl.
8728 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8729 argument in fchmod prototype.
8730 (File Owner): Use uid_t and gid_t in fchown prototype.
8731 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8732 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8733 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8734 use 'const struct dirent **' as argument types to CMP function pointer
8735 argument.
8736 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8737 (File Times): Fix summary magic @comment for struct utimbuf and utime
8738 to refer to utime.h, not time.h.
8739 * manual/string.texi (Argz Functions): Add missing const in
8740 argz_extract and argz_next prototypes.
8741 (Finding Tokens in a String): Likewise for basename.
8742 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8743 (Copying and Concatenation): Fix typo in wmemmove prototype.
8744 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8745 (Signal Stack): Remove erroneous const in sigstack prototype.
8746 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8747 prototype.
8748 (Simple Calendar Time): Likewise for stime.
8749 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8750 prototype.
8751 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8752 say sys/sysctl.h instead.
8753 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8754 and vsyslog prototypes.
8755
fe77fe6d
TV
87562013-02-11 Tom de Vries <tom@codesourcery.com>
8757
8758 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8759 Remove.
8760
3a09b620
RM
87612013-02-11 Roland McGrath <roland@hack.frob.com>
8762
8763 * misc/sys/mman.h: Fix typo in mremap comment.
8764
550a0b89
RM
87652013-02-08 Roland McGrath <roland@hack.frob.com>
8766
8767 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8768 the '\0' terminator.
8769
a2da1673
JM
87702013-02-08 Joseph Myers <joseph@codesourcery.com>
8771
8772 [BZ #13550]
8773 * debug/segfault.c: Don't include <bp-checks.h>.
8774 * sysdeps/generic/bp-checks.h: Remove file.
8775 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8776 (__GETDENTS): Don't use CHECK_N.
8777 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8778 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8779 (__getgroups): Don't use CHECK_N.
8780 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8781 (setgroups): Don't use CHECK_N.
8782 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8783 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8784 (__libc_msgrcv): Don't use CHECK_N.
8785 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8786 (__libc_msgsnd): Don't use CHECK_N.
8787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8788 <bp-checks.h>.
8789 (__libc_pread): Don't use CHECK_N.
8790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8791 include <bp-checks.h>.
8792 (__libc_pread64): Don't use CHECK_N.
8793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8794 include <bp-checks.h>.
8795 (__libc_pwrite): Don't use CHECK_N.
8796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8797 include <bp-checks.h>.
8798 (__libc_pwrite64): Don't use CHECK_N.
8799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8800 <bp-checks.h>.
8801 (__libc_pread): Don't use CHECK_N.
8802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8803 include <bp-checks.h>.
8804 (__libc_pread64): Don't use CHECK_N.
8805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8806 include <bp-checks.h>.
8807 (__libc_pwrite): Don't use CHECK_N.
8808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8809 include <bp-checks.h>.
8810 (__libc_pwrite64): Don't use CHECK_N.
8811 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8812 (do_pread): Don't use CHECK_N.
8813 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8814 (do_pread64): Don't use CHECK_N.
8815 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8816 (do_pwrite): Don't use CHECK_N.
8817 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8818 (do_pwrite64): Don't use CHECK_N.
8819 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8820 (__libc_readv): Don't use CHECK_N.
8821 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8822 (semop): Don't use CHECK_N.
8823 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8824 <bp-checks.h>.
8825 (semtimedop): Don't use CHECK_N.
8826 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8827 (__libc_pread): Don't use CHECK_N.
8828 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8829 <bp-checks.h>.
8830 (__libc_pread64): Don't use CHECK_N.
8831 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8832 <bp-checks.h>.
8833 (__libc_pwrite): Don't use CHECK_N.
8834 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8835 <bp-checks.h>.
8836 (__libc_pwrite64): Don't use CHECK_N.
8837 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8838 <bp-checks.h>.
8839 (__libc_msgrcv): Don't use CHECK_N.
8840 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8841 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8842 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8843 (__libc_writev): Don't use CHECK_N.
8844
b84660a8
RM
88452013-02-08 Roland McGrath <roland@hack.frob.com>
8846
7f3e75f8
RM
8847 * string/strcpy.c: Removed unused variable.
8848
b84660a8
RM
8849 * Makeconfig (+sysdep-includes): Define with := rather than =.
8850 Use an existing include/ subdir of each sysdeps dir before it.
8851
471514d3
CD
88522013-02-08 Carlos O'Donell <carlos@redhat.com>
8853
8854 * nscd/connection.c (register_traced_file): Comment function.
8855 [HAVE_INOTIFY] (union __inev): Define.
8856 [HAVE_INOTIFY] (inotify_check_files): New function.
8857 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8858 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8859 clear_db_cache.
8860 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8861
b2d3c3be
CD
88622013-02-08 Carlos O'Donell <carlos@redhat.com>
8863
8864 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8865 loaded if not already and that a failure is permanent.
8866
b39949d2
CD
88672013-02-08 Carlos O'Donell <carlos@redhat.com>
8868
ddacd1db 8869 [BZ #15006]
b39949d2
CD
8870 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8871 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8872
b2c9eff4
JM
88732013-02-08 Joseph Myers <joseph@codesourcery.com>
8874
f3aae3f3
JM
8875 [BZ #13550]
8876 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8877 (CHECK_1_NULL_OK): Likewise.
8878 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8879 (__fxstat): Do not use CHECK_1.
8880 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8881 <bp-checks.h>.
8882 (___fxstat64): Do not use CHECK_1.
8883 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8884 <bp-checks.h>.
8885 (__fxstatat): Do not use CHECK_1.
8886 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8887 <bp-checks.h>.
8888 (__fxstatat64): Do not use CHECK_1.
8889 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8890 <bp-checks.h>.
8891 (__fxstat): Do not use CHECK_1.
8892 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8893 <bp-checks.h>.
8894 (__fxstatat): Do not use CHECK_1.
8895 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8896 <bp-checks.h>.
8897 (__getresgid): Do not use CHECK_1.
8898 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8899 <bp-checks.h>.
8900 (__getresuid): Do not use CHECK_1.
8901 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8902 <bp-checks.h>.
8903 (__lxstat): Do not use CHECK_1.
8904 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8905 <bp-checks.h>.
8906 (__old_msgctl): Do not use CHECK_1.
8907 (__new_msgctl): Likewise.
8908 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8909 <bp-checks.h>.
8910 (__new_setrlimit): Do not use CHECK_1.
8911 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8912 <bp-checks.h>.
8913 (__old_shmctl): Do not use CHECK_1.
8914 (__new_shmctl): Likewise.
8915 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8916 <bp-checks.h>.
8917 (__xstat): Do not use CHECK_1.
8918 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8919 (__lxstat): Do not use CHECK_1.
8920 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8921 <bp-checks.h>.
8922 (___lxstat64): Do not use CHECK_1.
8923 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8924 (__old_msgctl): Do not use CHECK_1.
8925 (__new_msgctl): Likewise.
8926 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8927 <bp-checks.h>.
8928 (__gettimeofday): Do not use CHECK_1.
8929 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8930 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8931 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8932 <bp-checks.h>.
8933 (__gettimeofday): Do not use CHECK_1.
8934 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8935 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8936 (__new_shmctl): Do not use CHECK_1.
8937 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8938 <bp-checks.h>.
8939 (do_sigtimedwait): Do not use CHECK_1.
8940 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8941 <bp-checks.h>.
8942 (do_sigwaitinfo): Do not use CHECK_1.
8943 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8944 <bp-checks.h>.
8945 (msgctl): Do not use CHECK_1.
8946 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8947 <bp-checks.h>.
8948 (shmctl): Do not use CHECK_1.
8949 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8950 (ustat): Do not use CHECK_1.
8951 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8952 <bp-checks.h>.
8953 (__fxstat): Do not use CHECK_1.
8954 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8955 <bp-checks.h>.
8956 (__fxstatat): Do not use CHECK_1.
8957 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8958 <bp-checks.h>.
8959 (__lxstat): Do not use CHECK_1.
8960 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8961 <bp-checks.h>.
8962 (__xstat): Do not use CHECK_1.
8963 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8964 (__xstat): Do not use CHECK_1.
8965 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8966 (___xstat64): Do not use CHECK_1.
8967
b2c9eff4
JM
8968 [BZ #13550]
8969 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8970 definitions.
8971 (CHECK_BOUNDS_HIGH): Likewise.
8972 * string/strcpy.c: Do not include <bp-checks.h>.
8973 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8974
f1d70dad
RM
89752013-02-07 Roland McGrath <roland@hack.frob.com>
8976
8977 * nscd/nscd-client.h (__nscd_drop_map_ref):
8978 Add __attribute__ ((unused)).
8979 * nis/nss-nisplus.h (niserr2nss): Likewise.
8980
8981 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8982 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8983
8984 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8985 Remove inline keyword.
8986 * include/rounding-mode.h (round_away): Likewise.
8987 * libio/wfileops.c (adjust_wide_data): Likewise.
8988 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8989 (__m128i_strloadu_tolower): Likewise.
8990 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8991 (__m128i_strloadu_tolower): Likewise.
8992 * time/mktime.c (ydhms_diff): Likewise.
8993 * locale/elem-hash.h (elem_hash): Likewise.
8994 * locale/setlocale.c (setdata): Likewise.
8995 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8996 (re_string_wchar_at): Likewise.
8997 (bitset_not, bitset_merge, bitset_mask): Likewise.
8998 [!(__GNUC__ > 3)] (inline): Remove macro.
8999 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9000 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9001 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9002 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9003 * string/memcmp.c (memcmp_bytes): Likewise.
9004 * locale/programs/locarchive.c (compute_hashval): Likewise.
9005 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9006 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9007 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9008 * nss/getent.c (print_rpc, print_protocols): Likewise.
9009 (print_passwd, print_group, print_aliases): Likewise.
9010 * nis/nss-nisplus.h (niserr2nss): Likewise.
9011 * nscd/connections.c (restart_p): Likewise.
9012 Change return type to bool.
9013
eab55bfb
RM
90142013-02-05 Roland McGrath <roland@hack.frob.com>
9015
7bd642f5
RM
9016 * Makeconfig (all-Depend-files): Add existing
9017 $(sorted-subdirs:=/Depend) files.
9018 (all-subdirs): Remove nss.
9019 * sysdeps/unix/inet/Subdirs: Add it here instead.
9020 * hesiod/Depend: New file.
9021
573c29b2
RM
9022 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9023 instead of calling alloca.
9024
b2e25af0
RM
9025 * io/lseek.c (__lseek): Rename to __libc_lseek.
9026 Define __lseek as an alias.
9027
eab55bfb
RM
9028 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9029
9a0d1941
CD
90302013-02-04 Carlos O'Donell <carlos@redhat.com>
9031
9032 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9033 else clause and remove check for non-standard endianness.
9034
b83bbec4
DM
90352013-02-04 David S. Miller <davem@davemloft.net>
9036
9037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9038
6277fdab
JM
90392013-02-04 Joseph Myers <joseph@codesourcery.com>
9040
9041 [BZ #13550]
9042 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9043 (__ubp_memchr): Remove prototype.
9044 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9045 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9046 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9047 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9048 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9049 Remove alias.
9050 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9051 (__ubp_memchr): Likewise.
9052 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9053 (__ubp_memchr): Likewise.
9054 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9055 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9056 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9057 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9058 CHECK_STRING.
9059 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9060 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9061 (__getcwd): Do not use CHECK_STRING.
9062 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9063 <bp-checks.h>.
9064 (__real_chown): Do not use CHECK_STRING.
9065 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9066 <bp-checks.h>.
9067 (fchownat): Do not use CHECK_STRING.
9068 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9069 CHECK_STRING.
9070 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9071 <bp-checks.h>.
9072 (__lchown): Do not use CHECK_STRING.
9073 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9074 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9075 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9076 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9078 include <bp-checks.h>.
9079 (truncate64): Do not use CHECK_STRING.
9080 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9081 <bp-checks.h>.
9082 (__real_chown): Do not use CHECK_STRING.
9083 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9084 <bp-checks.h>.
9085 (__lchown): Do not use CHECK_STRING.
9086 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9087 <bp-checks.h>.
9088 (__chown): Do not use CHECK_STRING.
9089 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9090 <bp-checks.h>.
9091 (truncate64): Do not use CHECK_STRING.
9092 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9093 Likewise.
9094 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9095 (__xmknod): Do not use CHECK_STRING.
9096 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9097 <bp-checks.h>.
9098 (__xmknodat): Do not use CHECK_STRING.
9099 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9100 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9101
903ae060
AS
91022013-02-04 Andreas Schwab <schwab@suse.de>
9103
9104 [BZ #14142]
9105 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9106 * include/netdb.h: Likewise for h_errno.
9107 * elf/tst-stackguard1.c: Include <tls.h>.
9108
542f9466
JK
91092013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9110
9111 * elf/link.h (struct link_map): Extend the l_addr comment.
9112 * include/link.h (struct link_map): Likewise.
9113
e782a927
JM
91142013-02-01 Joseph Myers <joseph@codesourcery.com>
9115
9116 [BZ #13550]
9117 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9118 (BOUNDED_1): Remove macro.
9119 * debug/backtrace.c: Don't include <bp-checks.h>.
9120 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9121 (__backtrace): Likewise.
9122 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9123 <bp-checks.h>.
9124 (__backtrace): Don't use BOUNDED_1.
9125 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9126 <bp-checks.h>.
9127 (__backtrace): Don't use BOUNDED_1.
9128 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9129 (__backtrace): Don't use BOUNDED_1.
9130 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9131 (shmat): Don't use BOUNDED_N.
9132
8cf28c5e
JM
91332013-01-31 Joseph Myers <joseph@codesourcery.com>
9134
3a7ac8a0
JM
9135 [BZ #13550]
9136 * sysdeps/generic/bp-start.h: Remove file.
9137 * csu/libc-start.c: Don't include <bp-start.h>.
9138 (LIBC_START_MAIN): Set up __environ directly instead of using
9139 INIT_ARGV_and_ENVIRON.
9140 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9141 <bp-start.h>.
9142
f3499f95
JM
9143 [BZ #13550]
9144 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9145 definitions.
9146 (CHECK_FCNTL): Likewise.
9147 (CHECK_N_PAGES): Likewise.
9148
32a45bea
JM
9149 [BZ #13550]
9150 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9151 definitions.
9152 (CHECK_SIGSET_NULL_OK): Likewise.
9153 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9154 <bp-checks.h>.
9155 (sigpending): Don't use CHECK_SIGSET.
9156 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9157 <bp-checks.h>.
9158 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9159 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9160 <bp-checks.h>.
9161 (do_sigsuspend): Don't use CHECK_SIGSET.
9162 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9163 use CHECK_SIGSET.
9164 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9165 (do_sigwait): Don't use CHECK_SIGSET.
9166 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9167 use CHECK_SIGSET.
9168 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9169 include <bp-checks.h>.
9170 (sigpending): Don't use CHECK_SIGSET.
9171 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9172 include <bp-checks.h>.
9173 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9174 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9175 <bp-checks.h>.
9176 (sigpending): Don't use CHECK_SIGSET.
9177 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9178 <bp-checks.h>.
9179 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9180
2e8a5c8c
JM
9181 [BZ #13550]
9182 * sysdeps/generic/bp-semctl.h: Remove file.
9183 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9184 <bp-checks.h> and <bp-semctl.h>.
9185 (__old_semctl): Don't use CHECK_SEMCTL.
9186 (__new_semctl): Likewise.
9187 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9188 and <bp-semctl.h>.
9189 (__old_semctl): Don't use CHECK_SEMCTL.
9190 (__new_semctl): Likewise.
9191 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9192 <bp-checks.h> and <bp-semctl.h>.
9193 (__old_semctl): Don't use CHECK_SEMCTL.
9194 (__new_semctl): Likewise.
9195 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9196 <bp-checks.h> and <bp-semctl.h>.
9197 (semctl): Don't use CHECK_SEMCTL.
9198
c2d54929
JM
9199 [BZ #13550]
9200 * Makerules (elide-bp-thunks): Remove variable.
9201 (elide-routines.oS): Don't use $(elide-bp-thunks).
9202 (elide-routines.os): Likewise.
9203 (elide-routines.o): Likewise.
9204 (elide-routines.op): Likewise.
9205 (elide-routines.og): Likewise.
9206 (objects): Don't use $(bp-thunks).
9207 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9208 include.
9209 (common-generated): Do not add s-proto-bp.d.
9210 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9211 (int): Likewise.
9212 (typ): Likewise.
9213 Do not generate makefile rules for bounded-pointer thunks.
9214 * sysdeps/generic/bp-thunks.h: Remove file.
9215 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9216 * sysdeps/unix/s-proto-bp.S: Likewise.
9217
8cf28c5e
JM
9218 [BZ #15062]
9219 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9220 parts of result separately when argument is not close to line from
9221 -i to i and one part of argument is small.
9222 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9223 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9224 * math/libm-test.inc (cacos_test): Add more tests.
9225 (casin_test): Likewise.
9226 (casinh_test): Likewise.
9227 * sysdeps/i386/fpu/libm-test-ulps: Update.
9228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9229
c4e33b8d
DM
92302013-01-31 David S. Miller <davem@davemloft.net>
9231
9232 * po/de.po: Update from translation team.
9233
3b60b421
MK
92342013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9235
9236 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9237
bb931195
TS
92382013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9239
b5a5da23
TS
9240 * configure.in (_AC_PROG_CC_C89): New definition.
9241 * configure: Regenerate.
9242
bb931195
TS
9243 * configure.in (AC_PROG_CPP): New definition.
9244 * configure: Regenerate.
9245
8c53a12c
JM
92462013-01-23 Joseph Myers <joseph@codesourcery.com>
9247
9248 * debug/tst-backtrace.h: New file.
9249 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9250 (ret): Remove variable.
9251 (x): Likewise.
9252 (FAIL): Remove macro.
9253 (NO_INLINE): Likewise.
9254 (fn1): Use match function instead of strstr.
9255 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9256 (ret): Remove variable.
9257 (x): Likewise.
9258 (FAIL): Remove macro.
9259 (NO_INLINE): Likewise.
9260 (fn): Use match function instead of strstr.
9261 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9262 (ret): Remove variable.
9263 (x): Likewise.
9264 (FAIL): Remove macro.
9265 (NO_INLINE): Likewise.
9266 (handle_signal): Use match function instead of strstr.
9267 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9268 (ret): Remove variable.
9269 (x): Likewise.
9270 (FAIL): Remove macro.
9271 (NO_INLINE): Likewise.
9272 (handle_signal): Use match function instead of strstr.
9273
4858fa2a
RM
92742013-01-23 Roland McGrath <roland@hack.frob.com>
9275
9276 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9277
bae8e7f5
DM
92782013-01-23 David S. Miller <davem@davemloft.net>
9279
9280 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9281 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9282 argument of CAS if possible.
9283 * sysdeps/sparc/sparc64/bits/atomic.h
9284 (__arch_compare_and_exchange_val_32_acq): Likewise.
9285 (__arch_compare_and_exchange_val_64_acq): Likewise.
9286
9cbbc4ae
PT
92872013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9288
9289 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9290 * sysdeps/posix/ulimit.c: ... this.
92a601b8 9291 Include <limits.h>.
67b3f58c 9292 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 9293
5655a0b5
AC
92942013-01-23 Adam Conrad <adconrad@0c3.net>
9295
9296 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9297 (LDFLAGS-tst-array5): Likewise.
9298
052aff95
JM
92992013-01-23 Joseph Myers <joseph@codesourcery.com>
9300
9301 [BZ #15036]
9302 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9303 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9304 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9305 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9306
7c1e01aa
DM
93072013-01-21 David S. Miller <davem@davemloft.net>
9308
9309 * sysdeps/sparc/backtrace.c: New file.
9310 * sysdeps/sparc/sparc32/backtrace.h: New file.
9311 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9312 * sysdeps/sparc/sparc64/backtrace.h: New file.
9313 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9314 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9315 -funwind-tables.
9316
ab087e0a
AS
93172013-01-21 Andreas Schwab <schwab@suse.de>
9318
9319 [BZ #15020]
9320 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9321 closed its stdout.
9322
ed689c2f
AS
93232013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9324
9325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9326 "mpa2.h".
9327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9328
31d470ac
JM
93292013-01-18 Joseph Myers <joseph@codesourcery.com>
9330 Mark Mitchell <mark@codesourcery.com>
9331 Tom de Vries <tom@codesourcery.com>
9332 Paul Pluzhnikov <ppluzhnikov@google.com>
9333
9334 * debug/tst-backtrace2.c: New file.
9335 * debug/tst-backtrace3.c: Likewise.
9336 * debug/tst-backtrace4.c: Likewise.
9337 * debug/tst-backtrace5.c: Likewise.
9338 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9339 (CFLAGS-tst-backtrace3.c): Likewise.
9340 (CFLAGS-tst-backtrace4.c): Likewise.
9341 (CFLAGS-tst-backtrace5.c): Likewise.
9342 (LDFLAGS-tst-backtrace2): Likewise.
9343 (LDFLAGS-tst-backtrace3): Likewise.
9344 (LDFLAGS-tst-backtrace4): Likewise.
9345 (LDFLAGS-tst-backtrace5): Likewise.
9346 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9347 tst-backtrace4 and tst-backtrace5.
9348
90567f30 93492013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9350 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9351
9352 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9353 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9354 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9355 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9357 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9358 "+r" and remove output regs list as redundant. Add explicit inline
9359 asm to specify register of return val to work around compiler codegen
9360 bug. Remove (int) cast on return value. Add return type parameter to
9361 use in macro so that this macro does not truncate return value for
9362 64-bit values.
9363 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9364 pass to INTERNAL_VSYSCALL_NCS.
9365 (INLINE_VSYSCALL): Add 'long int' as return type to
9366 INTERNAL_VSYSCALL_NCS macro invocation.
9367 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9368 INTERNAL_VSYSCALL_NCS macro invocation.
9369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9370
d3b9ea61
SP
93712013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9372
0b57daeb
SP
9373 [BZ #14496]
9374 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9375 Fix application of SIMD FP exception mask.
9376
caa99d06
SP
9377 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9378 mp_no from a power of two.
9379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9380 __mpexp_twomm1. Use __pow_mp.
9381
d3b9ea61
SP
9382 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9383 multiplication.
9384
1dbaee3c
DM
93852013-01-17 David S. Miller <davem@davemloft.net>
9386
9387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9388
728d7b43
JM
93892013-01-17 Joseph Myers <joseph@codesourcery.com>
9390
9391 [BZ #15023]
9392 * include/complex.h: Condition contents on [!_COMPLEX_H].
9393 (__kernel_casinhf): New prototype.
9394 (__kernel_casinh): Likewise.
9395 (__kernel_casinhl): Likewise.
9396 * math/Makefile (libm_calls): Add k_casinh.
9397 * math/k_casinh.c: New file.
9398 * math/k_casinhf.c: Likewise.
9399 * math/k_casinhl.c: Likewise.
9400 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9401 finite nonzero arguments.
9402 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9403 finite nonzero arguments.
9404 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9405 finite nonzero arguments.
9406 * math/s_casinh.c: Do not include <float.h>.
9407 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9408 * math/s_casinhf.c: Do not include <float.h>.
9409 (__casinhf): Move code for finite nonzero arguments to
9410 k_casinhf.c.
9411 * math/s_casinhl.c: Do not include <float.h>.
9412 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9413 redefine.
9414 (__casinhl): Move code for finite nonzero arguments to
9415 k_casinhl.c.
9416 * math/libm-test.inc (cacos_test): Add more tests.
9417 * sysdeps/i386/fpu/libm-test-ulps: Update.
9418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9419
2a26ef3a
PT
94202013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9421
9422 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9423 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9424 [!HAVE_MREMAP]: Remove [defined linux] case.
9425 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9426
a897655d
SP
94272013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9428
9429 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9430
881ebe89 94312013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9432
9433 * elf/elf.h (R_386_SIZE32): New relocation.
9434 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9435 R_386_SIZE32.
9436 (elf_machine_rela): Likewise.
9437 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9438 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9439
59981e9b
JM
94402013-01-17 Joseph Myers <joseph@codesourcery.com>
9441
9442 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9443 (FP_FAST_FMA): Do not define.
9444 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9445 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9446 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9447 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9448 !_SOFT_FLOAT]: Likewise.
9449 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9450 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9451 value.
9452 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9453 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9454 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9455 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9456 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9457 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9458 file.
9459
cfa8054f
AS
94602013-01-16 Andreas Schwab <schwab@suse.de>
9461
9462 [BZ #14327]
9463 * include/stdlib.h (__mktemp): Add declaration.
9464 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9465 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9466
dd930cc5
SP
94672013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9468
881ebe89
SP
9469 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9470 definitions.
9471 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9472 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9473 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9474 definitions here.
9475 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9476 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9477 definitions.
9478 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9479 and ONE.
9480 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9481 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9482 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9483 definitions.
9484 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9485 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9486 definitions.
9487 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9488
dd930cc5
SP
9489 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9490
c19a9f89
DM
94912013-01-15 David S. Miller <davem@davemloft.net>
9492
1aa61767
DM
9493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9494 trunc{,f} to libm-sysdep_routes.
9495 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9497 file.
9498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9500 file.
9501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9502 file.
9503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9505 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9506 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9507 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9508 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9509 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9510 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9511
c42d5e98
DM
9512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9513 nearbyint{,f} to libm-sysdep_routes.
9514 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9516 New file.
9517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9518 file.
9519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9520 New file.
9521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9522 file.
9523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9525 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9526 file.
9527 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9528 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9529 file.
9530 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9531 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9532 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9533
c19a9f89
DM
9534 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9535 libc_feholdexcept and libc_fesetenv.
9536
357679d2
MF
95372013-01-15 Mike Frysinger <vapier@gentoo.org>
9538
9539 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9540
65a82e3d
DM
95412013-01-14 David S. Miller <davem@davemloft.net>
9542
8b954ab9
DM
9543 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9544 (SPARC_ASM_VIS2_IFUNC): Likewise.
9545 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9547 use of 'siam' instruction.
9548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9549 Likewise.
9550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9551 Likewise.
9552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9553 Likewise.
9554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9559 file.
9560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9561 file.
9562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9563 file.
9564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9565 file.
9566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9571 new VIS2 routines.
9572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9575 Likewise.
9576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9581 routines to libm-sysdep_routines.
9582 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9583
65a82e3d
DM
9584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9585 fdim/fdimf to libm-sysdep_routines.
9586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9587 file.
9588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9590 file.
9591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9594 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9595 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9596 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9597 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9598
e34ab705
SP
95992013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9600
2a91b573
SP
9601 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9602 to optimize copies.
9603
1066a534
SP
9604 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9607
e34ab705
SP
9608 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9609 local variable MPTWO.
9610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9611 Likewise.
9612
aba5e596
MF
96132013-01-13 Mike Frysinger <vapier@gentoo.org>
9614
9615 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9616 GLOB_NOESCAPE.
9617
e557e9e5
MF
96182013-01-13 Mike Frysinger <vapier@gentoo.org>
9619
9620 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9621
0428cec9
MF
96222013-01-13 Mike Frysinger <vapier@gentoo.org>
9623
9624 * manual/pattern.texi (glob_t): Document gl_flags.
9625 (glob64_t): Likewise.
9626
8794a964
DM
96272013-01-11 David S. Miller <davem@davemloft.net>
9628
66438c3f
RM
9629 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9630 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9631 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9632 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9633 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9634 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9635 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9636 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9637 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9638 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9639 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9640 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9641 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9642
4ae4244d
DM
9643 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9644 sparc V9 rather than using V8 code.
9645 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9646 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9647
8794a964
DM
9648 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9649 Move to...
9650 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9651 Here.
9652
6270516e
RM
96532013-01-11 Roland McGrath <roland@hack.frob.com>
9654
9655 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9656 not in the main loop.
9657 * configure: Regenerated.
9658
6a57d931
JM
96592013-01-11 Joseph Myers <joseph@codesourcery.com>
9660
9661 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9662 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9663 to just #else.
9664 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9665 [!__GLIBC_HAVE_LONG_LONG] case.
9666 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9667 condition to just #else.
9668 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9669 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9670 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9671 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9672 unconditional.
9673 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9674 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9675 #elif condition to just #else.
9676 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9677 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9678 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9679 #elif condition to just #else.
9680
0e8529e9
SE
96812013-01-11 Steve Ellcey <sellcey@mips.com>
9682
9683 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9684 (EF_MIPS_ARCH_64): Fix value.
9685 (EF_MIPS_ARCH_32R2): New.
9686 (EF_MIPS_ARCH_64R2): New.
9687
740b3dbe
L
96882013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9689
9690 * Makeconfig (+link-pie-before-libc): New.
9691 (+link-pie-after-libc): Likewise.
9692 (+link-pie-tests): Likewise.
9693 (+link-pie): Rewritten.
9694 (link-before-libc): Remove $(config-LDFLAGS).
9695 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9696 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9697 (config-LDFLAGS): Renamed to ...
9698 (rtld-LDFLAGS): This.
9699 (rtld-tests-LDFLAGS): New macro.
9700 (link-libc-rpath-link): Likewise.
9701 (link-libc-tests-rpath-link): Likewise.
9702 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9703 (link-libc): Prepand $(link-libc-rpath-link).
9704 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9705 (test-program-prefix): New macro.
9706 (test-via-rtld-prefix): Likewise.
9707 (test-program-cmd): Likewise.
9708 (host-test-program-cmd): Likewise.
9709 * Makefile ($(common-objpfx)testrun.sh): Replace
9710 $(run-program-prefix) with $(test-program-prefix).
9711 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9712 $(rtld-LDFLAGS).
9713 ($(common-objpfx)shlib.lds): Likewise.
9714 (build-module-helper): Likewise.
9715 ($(common-objpfx)format.lds): Likewise.
9716 * Rules (binaries-pie-tests): New.
9717 (binaries-pie-notests): Likewise.
9718 (binaries-pie): Rewritten.
9719 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9720 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9721 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9722 (make-test-out): Replace $(host-built-program-cmd) with
9723 $(host-test-program-cmd).
9724 * config.make.in (build-hardcoded-path-in-tests): New variable.
9725 * configure.in (--enable-hardcoded-path-in-tests): New configure
9726 option.
9727 (hardcoded_path_in_tests): New AC_SUBST.
9728 * configure: Regenerated.
9729 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9730 $(built-program-cmd) with $(test-program-cmd).
9731 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9732 (test_program_cmd): This.
9733 * elf/Makefile ($(objpfx)order.out): Run test with
9734 $(test-program-prefix).
9735 ($(objpfx)order2.out): Likewise.
9736 ($(objpfx)tst-initorder.out): Likewise.
9737 ($(objpfx)tst-initorder2.out): Likewise.
9738 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9739 $(test-program-cmd).
9740 ($(objpfx)tst-array1-static.out): Likewise.
9741 ($(objpfx)tst-array2.out): Likewise.
9742 ($(objpfx)tst-array3.out): Likewise.
9743 ($(objpfx)tst-array4.out): Likewise.
9744 ($(objpfx)tst-array5.out): Likewise.
9745 ($(objpfx)tst-array5-static.out): Likewise.
9746 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9747 $(test-program-cmd).
9748 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9749 $(run-program-prefix) with $(test-program-prefix).
9750 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9751 (test_program_prefix): This.
9752 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9753 $(run-program-prefix) with $(test-program-prefix).
9754 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9755 (test_program_prefix): This.
9756 * iconvdata/tst-tables.sh: Likewise.
9757 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9758 $(run-program-prefix) with $(test-program-prefix).
9759 ($(objpfx)tst-translit.out): Likewise.
9760 ($(objpfx)tst-gettext2.out): Likewise.
9761 ($(objpfx)tst-gettext4.out): Likewise.
9762 ($(objpfx)tst-gettext6.out): Likewise.
9763 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9764 (test_program_prefix): This.
9765 * intl/tst-gettext2.sh: Likewise.
9766 * intl/tst-gettext4.sh Likewise.
9767 * intl/tst-gettext6.sh: Likewise.
9768 * intl/tst-translit.sh: Likewise.
9769 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9770 with $(test-program-cmd).
9771 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9772 $(run-program-prefix) with $(test-program-prefix).
9773 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9774 (test_program_prefix): This.
9775 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9776 $(run-program-prefix) with $(test-program-prefix).
9777 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9778 (test_program_prefix): This.
9779 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9780 * posix/Makefile ($(objpfx)globtest.out): Replace
9781 $(run-via-rtld-prefix) and $(test-wrapper) with
9782 $(test-program-prefix) and $(test-via-rtld-prefix).
9783 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9784 $(test-program-prefix).
9785 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9786 $(host-test-program-cmd).
9787 (tst-spawn-ARGS): Likewise.
9788 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9789 $(test-program-prefix).
9790 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9791 (test_via_rtld_prefix): This.
9792 (test_wrapper): Renamed to ...
9793 (test_program_prefix): This.
9794 (run_program_prefix): Replaced by test_program_prefix.
9795 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9796 (test_program_prefix): This.
9797 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9798 with $(host-test-program-cmd).
9799 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9800 $(run-program-prefix) with $(test-program-prefix).
9801 ($(objpfx)tst-printf.out): Likewise.
9802 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9803 $(test-program-cmd).
9804 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9805 (test_program_prefix): This.
9806 * stdio-common/tst-unbputc.sh: Likewise.
9807 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9808 $(run-program-prefix) with $(test-program-prefix).
9809 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9810 (test_program_prefix): This.
9811 * string/Makefile ($(objpfx)tst-svc.out): Replace
9812 $(built-program-cmd) with $(test-program-cmd).
9813
c6fe55cf
AJ
98142013-01-11 Andreas Jaeger <aj@suse.de>
9815
9816 [BZ #15003]
9817 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9818 value. Sync with Linux 3.7.
9819
9e6919c8
DM
98202013-01-10 David S. Miller <davem@davemloft.net>
9821
9822 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9823 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9824 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9825
1c9f1a02
RM
98262013-01-10 Roland McGrath <roland@hack.frob.com>
9827
9828 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9829 never set.
9830 * configure: Regenerated.
9831
b9de2dde
DM
98322013-01-10 David S. Miller <davem@davemloft.net>
9833
9834 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9835 sparc V9 rather than using V8 code.
9836 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9837 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9838
e7f68ef4
RM
98392013-01-10 Roland McGrath <roland@hack.frob.com>
9840
9841 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9842 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9843 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9844 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9845 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9846 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9847 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9848 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9849 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9850 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9851 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9852 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9853 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9854 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9855 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9856 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9857 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9858 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9859 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9860 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9861 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9862 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9863 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9864 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9865 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9866 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9867 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9868
5a47cc9c
DM
98692013-01-10 David S. Miller <davem@davemloft.net>
9870
9871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9872
4cf8f209
L
98732013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9874
9875 * posix/Makefile (tests-static): New variable.
9876 (tests): Add $(tests-static).
9877 (tst-exec-static-ARGS): New variable.
9878 (tst-spawn-static-ARGS): Likewise.
9879 * posix/tst-exec-static.c: New file.
9880 * posix/tst-spawn-static.c: Likewise.
9881 * posix/tst-exec.c: Support run directly.
9882 * posix/tst-spawn.c: Likewise.
9883
fed0faa1
JM
98842013-01-10 Joseph Myers <joseph@codesourcery.com>
9885
828beb13
JM
9886 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9887 long.
9888 * math/bits/mathcalls.h (llrint): Likewise.
9889 (llround): Likewise.
9890 * stdlib/stdlib.h (struct drand48_data): Likewise.
9891 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9892 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9893 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9894 Likewise.
9895 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9896 Likewise.
9897 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9898 (elf_greg_t): Likewise.
9899 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9900 (__jmp_buf): Likewise.
9901 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9902 definitions.
9903 (llrint): Likewise, for all definitions.
9904 (llrintl): Likewise.
9905
fed0faa1
JM
9906 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9907 Remove [__GNUC__] condition.
9908 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9909 condition to just [__USE_ISOC99].
9910 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9911
1a20cb20
L
99122013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9913
9914 [BZ #14200]
9915 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9916 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9917 defined.
9918 (_POSIX_V6_ILP32_OFF32): Likewise.
9919 (_XBS5_ILP32_OFF32): Likewise.
9920 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9921 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9922
751b85f7
SP
99232013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9924
7490eb81
SP
9925 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9926
751b85f7
SP
9927 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9928 doubles __mpexp_twomm1. Adjust usage.
9929 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9930 Remove.
9931
988197f0
AS
99322013-01-10 Andreas Schwab <schwab@suse.de>
9933
9934 [BZ #14964]
9935 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9936 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9937
e83d7298
DM
99382013-01-09 David S. Miller <davem@davemloft.net>
9939
034ed64b 9940 [BZ #15003]
e83d7298
DM
9941 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9942 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9943 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9944 TCP_FASTOPEN): Define.
9945 (tcp_repair_opt): New structure.
9946 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9947 enum values.
9948 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9949 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9950 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9951 (tcp_cookie_transactions): New structure.
9952
d5e0b9bd
AB
99532013-01-09 Anton Blanchard <anton@samba.org>
9954
9955 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9956 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9957 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9958 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9959
0c07e3ea
JM
99602013-01-09 Joseph Myers <joseph@codesourcery.com>
9961
9962 * include/features.h (__USE_ANSI): Remove.
9963
232f7002
RM
99642013-01-09 Roland McGrath <roland@hack.frob.com>
9965
ad98e30c
RM
9966 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9967
232f7002
RM
9968 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9969
950c99ca
SP
99702013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9971
b5792741
SP
9972 * sysdeps/s390/fpu/libm-test-ulps: Update.
9973
47cf2278
SP
9974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9975
950c99ca
SP
9976 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9977 (__acr): Likewise.
9978 (__cpy): Likewise.
9979 (norm): Likewise.
9980 (denorm): Likewise.
9981 (__mp_dbl): Likewise.
9982 (__dbl_mp): Likewise.
9983 (add_magnitudes): Likewise.
9984 (sub_magnitudes): Likewise.
9985 (__add): Likewise.
9986 (__sub): Likewise.
9987 (__mul): Likewise.
9988 (__inv): Likewise.
9989 (__dvd): Likewise.
9990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9991 (__acr): Likewise.
9992 (__cpy): Likewise.
9993 (norm): Likewise.
9994 (denorm): Likewise.
9995 (__mp_dbl): Likewise.
9996 (__dbl_mp): Likewise.
9997 (add_magnitudes): Likewise.
9998 (sub_magnitudes): Likewise.
9999 (__add): Likewise.
10000 (__sub): Likewise.
10001 (__mul): Likewise.
10002 (__inv): Likewise.
10003 (__dvd): Likewise.
10004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10005 (__acr): Likewise.
10006 (__cpy): Likewise.
10007 (norm): Likewise.
10008 (denorm): Likewise.
10009 (__mp_dbl): Likewise.
10010 (__dbl_mp): Likewise.
10011 (add_magnitudes): Likewise.
10012 (sub_magnitudes): Likewise.
10013 (__add): Likewise.
10014 (__sub): Likewise.
10015 (__mul): Likewise.
10016 (__inv): Likewise.
10017 (__dvd): Likewise.
10018
eede9df9
JM
100192013-01-08 Joseph Myers <joseph@codesourcery.com>
10020
10021 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10022 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10023 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10024 2 && __USE_EXTERN_INLINES]: Likewise.
10025
c40ea3d9
AJ
100262013-01-08 Andreas Jaeger <aj@suse.de>
10027
10028 [BZ# 14985]
10029 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10030 Remove.
10031 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10032 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10033
2ccdea26
AB
100342013-01-07 Anton Blanchard <anton@samba.org>
10035
10036 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10037 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10038 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10039 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10040 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10041 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10042 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10043 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10045 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10046 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10047 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10048 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10049 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10050 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10051 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10052 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10053 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10054 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10055 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10056 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10057 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10058 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10059 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10060 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10061 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10062 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10063 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10064 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10065 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10066 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10068 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10069 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10070 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10071 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10072 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10073 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10074 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10075 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10076 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10077 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10078 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10079
a9708fed
JM
100802013-01-07 Joseph Myers <joseph@codesourcery.com>
10081
375607b9
JM
10082 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10083 (__MALLOC_PMT): Likewise.
10084 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10085 [__GNUC__], only on [_LIBC].
10086 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10087 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10088 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10089 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10090 forward declaration.
10091 (realloc_hook_ini): Likewise.
10092 (memalign_hook_ini): Likewise.
10093 (__libc_memalign): Do not use __MALLOC_PMT in variable
10094 declaration.
10095 (__libc_valloc): Likewise.
10096 (__libc_pvalloc): Likewise.
10097 (__libc_calloc): Likewise.
10098 (__posix_memalign): Likewise.
10099
a9708fed
JM
10100 [BZ #14996]
10101 * math/s_casinh.c: Include <float.h>.
10102 (__casinh): Do not do computation with squaring and square root
10103 for large arguments.
10104 * math/s_casinhf.c: Include <float.h>.
10105 (__casinhf): Do not do computation with squaring and square root
10106 for large arguments.
10107 * math/s_casinhl.c: Include <float.h>.
10108 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10109 (__casinhl): Do not do computation with squaring and square root
10110 for large arguments.
10111 * math/libm-test.inc (casin_test): Add more tests.
10112 (casinh_test): Likewise.
10113 * sysdeps/i386/fpu/libm-test-ulps: Update.
10114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10115
afec409a
L
101162013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10117
10118 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10119 (__x86_64_raw_data_cache_size): Likewise.
10120 (__x86_64_data_cache_size_half): Likewise.
10121 (__x86_64_raw_data_cache_size_half): Likewise.
10122 (__x86_64_shared_cache_size): Likewise.
10123 (__x86_64_raw_shared_cache_size): Likewise.
10124 (__x86_64_shared_cache_size_half): Likewise.
10125 (__x86_64_raw_shared_cache_size_half): Likewise.
10126 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10127 to ...
10128 (__x86_data_cache_size): This.
10129 (__x86_64_raw_data_cache_size): Renamed to ...
10130 (__x86_raw_data_cache_size): This.
10131 (__x86_64_data_cache_size_half): Renamed to ...
10132 (__x86_data_cache_size_half): This.
10133 (__x86_64_raw_data_cache_size_half): Renamed to ...
10134 (__x86_raw_data_cache_size_half): This.
10135 (__x86_64_shared_cache_size): Renamed to ...
10136 (__x86_shared_cache_size): This.
10137 (__x86_64_raw_shared_cache_size): Renamed to ...
10138 (__x86_raw_shared_cache_size): This.
10139 (__x86_64_shared_cache_size_half): Renamed to ...
10140 (__x86_shared_cache_size_half): This.
10141 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10142 (__x86_raw_shared_cache_size_half): This.
10143 * sysdeps/x86_64/memcpy.S: Updated.
10144 * sysdeps/x86_64/memset.S: Likewise.
10145 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10146 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10147 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10148
0b3986d0
DM
101492013-01-04 David S. Miller <davem@davemloft.net>
10150
10151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10152
e47686e9
AS
101532013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10154
d643bac1
AS
10155 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10156 1 to avoid redefinition warning.
10157 (__USE_GNU): Don't define.
10158 (init_signaling_nan): Protoize.
10159
e47686e9
AS
10160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10161
b18decba
SP
101622013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10163
fffb407f
SP
10164 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10166 (__cpymn): Likewise.
10167 (norm): Remove commented code.
10168 (denorm): Likewise.
10169 (__mp_dbl): Likewise.
10170 (__inv): Likewise.
10171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10172 (__cpymn): Likewise.
10173 (norm): Remove commented code.
10174 (denorm): Likewise.
10175 (__mp_dbl): Likewise.
10176 (__inv): Likewise.
10177
b18decba
SP
10178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10179 mp_no value for 1.0 and 2.0.
10180 (norm): Use RADIXI instead of radixi.d.
10181 (denorm): Likewise.
10182 (__mul): Use 0.0 instead of zero.d.
10183 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10184 mp_no value for 1.0 and 2.0.
10185 (norm): Use RADIXI instead of radixi.d.
10186 (denorm): Likewise.
10187 (__mul): Use 0.0 instead of zero.d.
10188
cdc1c96f
JM
101892013-01-04 Joseph Myers <joseph@codesourcery.com>
10190
10191 [BZ #14994]
10192 * math/s_casinh.c (__casinh): Reduce finite argument to first
10193 quadrant then set signs of results at the end.
10194 * math/s_casinhf.c (__casinhf): Likewise.
10195 * math/s_casinhl.c (__casinhl): Likewise.
10196 * math/libm-test.inc (casin_test): Add more tests.
10197 (casinh_test): Likewise.
10198 * sysdeps/i386/fpu/libm-test-ulps: Update.
10199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10200
302913e1
SP
102012013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10202
6420d207
SP
10203 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10204
a9e48ab4
SP
10205 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10206
b7837264
SP
10207 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10208 declarations.
10209 (denorm): Likewise.
10210 (__mp_dbl): Likewise.
10211 (__inv): Likewise.
10212
f8af25d2
SP
10213 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10214 and adjust the header comment.
10215
302913e1
SP
10216 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10217 variable name from declaration.
10218
5d7dd1ca
L
102192013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10220
10221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10222 Initialize COMMON_CPUID_INDEX_7 element.
10223 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10224 (CPUID_RTM): Likewise.
10225 (HAS_RTM): Likewise.
10226 (COMMON_CPUID_INDEX_7): New enum.
10227
2f5f40f4
AS
102282013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10229
10230 [BZ #14981]
10231 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10232 size is zero, record memory as freed.
10233
4056f4a0
AJ
102342013-01-03 Andreas Jaeger <aj@suse.de>
10235
10236 * po/ia.po: Add new Interlingua translation.
10237
ab15736f 102382012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
10239
10240 * locale/programs/localedef.c: Fix description of '--posix' flag.
10241
568035b7
JM
102422013-01-02 Joseph Myers <joseph@codesourcery.com>
10243
e6898b8d
JM
10244 * NEWS: Update dates in second copyright notice.
10245 * README: Update copyright dates in example.
10246 * manual/libc.texinfo: Update copyright dates.
10247 * scripts/test-installation.pl: Update copyright date in --version
10248 output.
10249
0e2f9562
JM
10250 * hurd/ctty-input.c: Fix copyright notice formatting.
10251 * hurd/ctty-output.c: Likewise.
10252 * hurd/dtable.c: Likewise.
10253 * hurd/hurd-raise.c: Likewise.
10254 * hurd/hurdprio.c: Likewise.
10255 * hurd/msgportdemux.c: Likewise.
10256 * misc/sys/file.h: Likewise.
10257 * misc/sys/ioctl.h: Likewise.
10258 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10259 * sysdeps/mach/hurd/chdir.c: Likewise.
10260 * sysdeps/mach/hurd/fchdir.c: Likewise.
10261 * sysdeps/mach/hurd/rename.c: Likewise.
10262 * sysdeps/mach/hurd/rmdir.c: Likewise.
10263 * sysdeps/mach/hurd/seekdir.c: Likewise.
10264 * sysdeps/mach/hurd/setsid.c: Likewise.
10265 * sysdeps/posix/wait3.c: Likewise.
10266
568035b7
JM
10267 * All files with FSF copyright notices: Update copyright dates
10268 using scripts/update-copyrights.
10269 * intl/plural.c: Regenerated.
10270 * locale/programs/charmap-kw.h: Likewise.
10271 * locale/programs/locfile-kw.h: Likewise.
10272
da08f647
SP
102732013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10274
0f5477af
SP
10275 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10276 four values.
10277
44e0d4c2
SP
10278 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10279 calculation loop and add branch prediction.
10280
4d55b4e5
SP
10281 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10282 check access beyond bounds of m1np.
10283
da08f647
SP
10284 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10285 MPTWO.
10286 (__inv): Remove local variable MPTWO to use the global
10287 constant.
10288 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10289 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10290 variable MPTWO.
10291 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10292 MP3HALFS static const.
10293
8e051029
DM
102942013-01-01 David S. Miller <davem@davemloft.net>
10295
10296 * po/ca.po: Update from translation team.
10297
f4cf5f2d
JM
102982013-01-01 Joseph Myers <joseph@codesourcery.com>
10299
10300 * scripts/update-copyrights: New file.
10301 * Makeconfig: Reformat copyright notice.
10302 * ctype/ctype.h: Likewise.
10303 * debug/swprintf_chk.c: Likewise.
10304 * elf/dl-cache.c: Likewise.
10305 * elf/dl-debug.c: Likewise.
10306 * elf/dl-object.c: Likewise.
10307 * grp/initgroups.c: Likewise.
10308 * hurd/Makefile: Likewise.
10309 * hurd/hurd/signal.h: Likewise.
10310 * hurd/hurdfault.c: Likewise.
10311 * hurd/hurdioctl.c: Likewise.
10312 * hurd/hurdlookup.c: Likewise.
10313 * hurd/intr-msg.c: Likewise.
10314 * iconv/gconv_open.c: Likewise.
10315 * libio/swprintf.c: Likewise.
10316 * locale/lc-ctype.c: Likewise.
10317 * locale/nl_langinfo.c: Likewise.
10318 * mach/Machrules: Likewise.
10319 * mach/Makefile: Likewise.
10320 * malloc/obstack.h: Likewise.
10321 * manual/Makefile: Likewise.
10322 * manual/tsort.awk: Likewise.
10323 * misc/bits/stab.def: Likewise.
10324 * nis/nis_print_group_entry.c: Likewise.
10325 * nis/nis_table.c: Likewise.
10326 * nis/nss_compat/compat-pwd.c: Likewise.
10327 * nis/nss_compat/compat-spwd.c: Likewise.
10328 * po/Makefile: Likewise.
10329 * posix/fnmatch.c: Likewise.
10330 * posix/regex.h: Likewise.
10331 * resolv/Makefile: Likewise.
10332 * resolv/nss_dns/dns-network.c: Likewise.
10333 * resolv/res_hconf.c: Likewise.
10334 * scripts/gen-sorted.awk: Likewise.
10335 * soft-fp/soft-fp.h: Likewise.
10336 * stdio-common/printf.h: Likewise.
10337 * stdlib/monetary.h: Likewise.
10338 * stdlib/random.c: Likewise.
10339 * stdlib/random_r.c: Likewise.
10340 * sysdeps/generic/Makefile: Likewise.
10341 * sysdeps/gnu/Makefile: Likewise.
10342 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10350 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10363 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10364 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10365 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10366 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10367 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10368 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10369 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10370 * sysdeps/mach/hurd/errnos.awk: Likewise.
10371 * sysdeps/mach/hurd/fork.c: Likewise.
10372 * sysdeps/mach/hurd/getcwd.c: Likewise.
10373 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10374 * sysdeps/mach/hurd/mmap.c: Likewise.
10375 * sysdeps/mach/hurd/utimes.c: Likewise.
10376 * sysdeps/mach/hurd/xmknod.c: Likewise.
10377 * sysdeps/posix/profil.c: Likewise.
10378 * sysdeps/posix/readdir_r.c: Likewise.
10379 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10380 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10381 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10382 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10384 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10385 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10386 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10388 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10389 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10390 * sysdeps/pthread/lio_listio.c: Likewise.
10391 * sysdeps/sparc/dl-procinfo.h: Likewise.
10392 * sysdeps/unix/i386/sysdep.S: Likewise.
10393 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10394 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10395 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10396 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10398 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10399 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10400 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10401 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10402 * sysdeps/wordsize-32/divdi3.c: Likewise.
10403 * time/sys/time.h: Likewise.
10404 * wcsmbs/Makefile: Likewise.
10405
0549fbba
DM
104062013-01-01 David S. Miller <davem@davemloft.net>
10407
a141f1a7
DM
10408 * po/fr.po: Update from translation team.
10409
0549fbba
DM
10410 * catgets/gencat.c: Update copyright year.
10411 * csu/version.c: Likewise.
10412 * debug/catchsegv.sh: Likewise.
10413 * debug/pcprofiledump.c: Likewise.
10414 * debug/xtrace.sh: Likewise.
10415 * elf/ldconfig.c: Likewise.
10416 * elf/ldd.bash.in: Likewise.
10417 * elf/pldd.c: Likewise.
10418 * elf/sotruss.ksh: Likewise.
10419 * elf/sprof.c: Likewise.
10420 * iconv/iconv_prog.c: Likewise.
10421 * iconv/iconvconfig.c: Likewise.
10422 * locale/programs/locale.c: Likewise.
10423 * locale/programs/localedef.c: Likewise.
10424 * login/programs/pt_chown.c: Likewise.
10425 * malloc/memusage.sh: Likewise.
10426 * malloc/memusagestat.c: Likewise.
10427 * malloc/mtrace.pl: Likewise.
10428 * nscd/nscd.c: Likewise.
10429 * nss/getent.c: Likewise.
10430 * nss/makedb.c: Likewise.
10431 * posix/getconf.c: Likewise.
10432
18ea052c
SP
104332012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10434
10435 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10436 numbers.
10437
9c89fca6
MF
104382012-12-30 Mike Frysinger <vapier@gentoo.org>
10439
10440 * math/bits/mathcalls.h (modf): Use __nonnull.
10441
085ec079
SP
104422012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10443
10444 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10445 (split): Use macro CN instead of the bare value.
10446 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10447 could be used.
10448 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10449 instead of the bare value.
10450 (power1): Likewise.
10451
6d9f97e1
SP
104522012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10453
d63f73be
SP
10454 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10455 __ATAN_TWOM.
10456 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10457
6d9f97e1
SP
10458 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10459 their values.
10460 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10461 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10462 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10463 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10464
4c4febf5
AJ
104652012-12-28 Andreas Jaeger <aj@suse.de>
10466
af5843ef
AJ
10467 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10468 values are from Linux 3.7.
10469
4c4febf5
AJ
10470 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10471 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10472
99136f82
SP
104732012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10474
2f216c3c 10475 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10476 TRUE case.
10477
99136f82
SP
10478 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10479 (norm): Likewise.
10480 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10481 variables with preprocessor constants.
10482 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10483 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10484 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10485
7fffbdff
BH
104862012-12-27 Bruno Haible <bruno@clisp.org>
10487
10488 [BZ #14317]
10489 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10490 only if needed.
10491
b76eb5f0
SP
104922012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10493
31a7fe5c
SP
10494 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10495 and use variable directly.
10496 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10497
b76eb5f0
SP
10498 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10499 MPONE.
10500 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10501 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10502 variable MPONE.
10503 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10504 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10505 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10506 include directive. Remove local variable MPONE.
10507 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10508 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10509 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10510
2c8bfe7d
DM
105112012-12-25 David S. Miller <davem@davemloft.net>
10512
10513 * version.h (RELEASE): Set to "development".
10514 (VERSION): Set to "2.17.90".
10515 * NEWS: Add 2.18 section.
10516
147d03b0
DM
105172012-12-21 David S. Miller <davem@davemloft.net>
10518
10519 * po/hr.po: Update from translation team.
10520
a8ebb2b9
AK
105212012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10522
10523 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10524
95b4f1b6
SE
105252012-12-19 Steve Ellcey <sellcey@mips.com>
10526
b2d94007 10527 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10528
cedb2a90
MS
105292012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10530
10531 * manual/contrib.texi (Contributors): Spelling correction.
10532
bbf527d6
DM
105332012-12-15 David S. Miller <davem@davemloft.net>
10534
10535 * po/ru.po: Update from translation team.
10536
bc38c906
DM
105372012-12-13 David S. Miller <davem@davemloft.net>
10538
85429b1a
DM
10539 * NEWS: Mention IFUNC testsuite enhancements.
10540
d283e353
DM
10541 * po/pl.po: Update from translation team.
10542 * po/bg.po: Likewise.
10543
bc38c906
DM
10544 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10545 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10546
a181b0d7
DM
105472012-12-11 David S. Miller <davem@davemloft.net>
10548
4641d57e
DM
10549 * po/sv.po: Update from translation team.
10550
f7bc6495
DM
10551 * po/vi.po: Update from translation team.
10552
6fc9048f
DM
10553 * po/cs.po: Update from translation team.
10554
a181b0d7
DM
10555 * po/de.po: Update from translation team.
10556 * po/eo.po: Likewise.
10557 * po/nl.po: Likewise.
10558
f70bfe80
SP
105592012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10560
3c8b4190
SP
10561 [BZ #14246]
10562 * manual/argp.texi (Argp Helper Functions): Move node to follow
10563 Argp Parsing State.
10564
f70bfe80
SP
10565 [BZ #14872]
10566 * manual/conf.texi (Limits on File System Capacity): Mention if
10567 terminating null is included in the max size.
10568
188f0adf
AJ
105692012-12-10 Andreas Jaeger <aj@suse.de>
10570
10571 * po/cs.po: Update from translation team.
10572
56e7d3ad
SP
105732012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10574
10575 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10576 void pointer and cast to uintptr_t.
10577 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10578 path.
10579 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10580 * sysdeps/s390/s390-64/memset.S: Likewise.
10581
76f2d2ea 105822012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10583
10584 [BZ #14833]
10585 * menual/message.texi (Message Translation): Fix typos.
10586 (Helper programs for gettext): Likewise.
10587
67cbf9a2
AS
105882012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10589
10590 [BZ #14898]
10591 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10592 Change to -1.
10593
682d0e9a
DM
105942012-12-07 David S. Miller <davem@davemloft.net>
10595
10596 * po/libc.pot: Update.
10597
573cd484
RH
105982012-12-07 Richard Henderson <rth@redhat.com>
10599
7e9da188 10600 [BZ #10114]
573cd484
RH
10601 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10602 normal/normal case to before the switch.
10603 (_FP_DIV): Likewise.
10604
e933a943
MF
106052012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10606 Mike Frysinger <vapier@gentoo.org>
10607
10608 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10609 check for __NR_fadvise64_64.
10610
82123268
CM
106112012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10612
10613 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10614 0, not just to plain "0" as a statement.
10615 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10616 with cw.
10617
d9814526
JM
106182012-12-06 Joseph Myers <joseph@codesourcery.com>
10619
10620 * NEWS: Use sourceware.org in Bugzilla URL.
10621
7728c574
SP
106222012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10623
f16946dd
SP
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10625 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10626
5704bbcb
SP
10627 * stdio-common/tst-put-error.c (do_test): Add newline to the
10628 padded test to ensure flush.
10629
17aa0516
JL
106302012-12-05 Jeff Law <law@redhat.com>
10631
10632 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10633
363313b5
JM
106342012-12-05 Joseph Myers <joseph@codesourcery.com>
10635
effbd42a
JM
10636 * README: Don't refer to ports add-on as distributed separately.
10637 Mention AArch64 in list of systems supported in the ports add-on.
10638
87600365
JM
10639 * LICENSES: Add more non-FSF copyright and license notices.
10640
a0d7066a
JM
10641 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10642 ((unused)).
10643
66ca5a5b
JM
10644 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10645
363313b5
JM
10646 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10647 10000 as width of padded output.
10648
b37984ad
JM
106492012-12-04 Joseph Myers <joseph@codesourcery.com>
10650
9003570a
JM
10651 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10652
b37984ad
JM
10653 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10654 variable LX with __attribute__ ((unused)).
10655 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10656 Likewise.
10657 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10658 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10659 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10660 with __attribute__ ((unused)).
10661
c8df52ec
DM
106622012-12-04 David S. Miller <davem@abraco.davemloft.net>
10663
10664 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10665
b3b099af
JM
106662012-12-04 Joseph Myers <joseph@codesourcery.com>
10667
c33aa6e3
JM
10668 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10669 (CFLAGS-nldbl-acos.c): New variable.
10670 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10671 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10672 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10673 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10674 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10675 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10676 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10677 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10678 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10679 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10680 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10681 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10682 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10683 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10684 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10685 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10686 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10687 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10688 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10689 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10690 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10691 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10692 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10693 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10694 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10695 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10696 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10697 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10698 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10699 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10700 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10701 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10702 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10703 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10704 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10705 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10706 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10707 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10708 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10709 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10710 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10711 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10712 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10713 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10714 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10715 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10716 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10717 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10718 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10719 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10720 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10721 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10722 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10723 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10724 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10725 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10726 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10727 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10728 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10729 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10730 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10731 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10732 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10733 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10734 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10735 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10736 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10737 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10738 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10739 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10740 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10741 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10742 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10743 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10744 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10745 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10746 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10747 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10748 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10749 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10750 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10751 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10752 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10753 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10754 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10755 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10756 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10757 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10758 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10759 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10760 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10761 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10762 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10763 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10764 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10765 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10766 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10767
20f0018d
JM
10768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10769 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10770
b3b099af
JM
10771 [BZ #14914]
10772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10773 whole low double instead of just low 47 bits when splitting values
10774 into two parts.
10775
029264d1
AM
107762012-12-03 Allan McRae <allan@archlinux.org>
10777
10778 * manual/stdio.texi (Predefined Printf Handlers): Remove
10779 @hsep and @vsep usage.
10780
c9d6789e
MF
107812012-12-03 Mike Frysinger <vapier@gentoo.org>
10782
10783 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10784 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10785
4b7634a5
JL
107862012-12-03 Jeff Law <law@redhat.com>
10787
10788 * time/sys/time.h (settimeofday): Do not mark TV argument
10789 as __nonnull.
10790
eb6cbd24
MF
107912012-12-01 Mike Frysinger <vapier@gentoo.org>
10792
10793 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10794 when currently writing and seek to current position when not.
10795 * libio/Makefile (tests): Remove bug-fclose1.
10796 * libio/bug-fclose1.c: Delete.
10797
f638872a
JM
107982012-12-01 Joseph Myers <joseph@codesourcery.com>
10799
10800 * manual/arith.texi (feenableexcept): Fix typo.
10801 (fedisableexcept): Likewise.
10802
48085d14
RM
108032012-11-30 Roland McGrath <roland@hack.frob.com>
10804
10805 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10806 second, differently-typed declaration, rather than a cast.
10807
1a538b9f
SP
108082012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10809
10810 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10811 * include/rpc/svc.h: ... here.
10812
d07f2ff1 108132012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10814
10815 [BZ #13013]
10816 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10817 depending n and resplen2 to catch cases where answer
10818 equals answerp2.
10819
c93ec1f0
CD
108202012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10821
10822 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10823 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10824
37db69de
MF
108252012-11-29 Mike Frysinger <vapier@gentoo.org>
10826
10827 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10828
e10c4e4f
RM
108292012-11-29 Roland McGrath <roland@hack.frob.com>
10830
10831 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10832
2af1b328
JL
108332012-11-28 Jeff Law <law@redhat.com>
10834
10835 [BZ #13761]
10836 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10837 dataset_temporary. Track alloca usage into alloca_used.
10838 If dataset is large allocate and release it via malloc/free.
10839
111db5b1
FW
108402012-06-04 Florian Weimer <fweimer@redhat.com>
10841
f06cc227 10842 [BZ #14197]
111db5b1
FW
10843 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10844
dd694abd
DM
108452012-11-28 David S. Miller <davem@davemloft.net>
10846
10847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10848
9984dd01
JM
108492012-11-28 Joseph Myers <joseph@codesourcery.com>
10850
10851 [BZ #14803]
10852 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10853 of pi/2 rounded to nearest to 64 bits.
10854 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10855 nearest to 64 bits.
10856 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10857 bits.
10858
14bc93a9
JL
108592012-11-28 Jeff Law <law@redhat.com>
10860 Martin Osvald <mosvald@redhat.com>
10861
10862 [BZ #14889]
10863 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10864 * sunrpc/svc.c: Include time.h.
10865 (__svc_accept_failed): New function.
10866 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10867 any reason other than EINTR, call __svc_accept_failed.
10868 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10869 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10870
e3c6aa3a
AS
108712012-11-28 Andreas Schwab <schwab@suse.de>
10872
10873 * scripts/abilist.awk: Also handle indirect functions in .opd
10874 section.
10875
1bead169
JM
108762012-11-28 Joseph Myers <joseph@codesourcery.com>
10877
10878 [BZ #13881]
10879 * sysdeps/x86/fpu/powl_helper.c: New file.
10880 * sysdeps/x86/fpu/Makefile: Likewise.
10881 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10882 (p3): New object.
10883 (__ieee754_powl): Use __powl_helper for finite arguments except
10884 integer exponents below 8.
10885 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10886 (p3): New object.
10887 (__ieee754_powl): Use __powl_helper for finite arguments except
10888 integer exponents below 8.
10889 * math/libm-test.inc (pow_test): Add more tests and enable some
10890 previously disabled tests.
10891 * sysdeps/i386/fpu/libm-test-ulps: Update.
10892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10893
0817d63d
SP
108942012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10895 Carlos O'Donell <carlos_odonell@mentor.com>
10896
10897 * nss/makedb.c (is_prime): Assert that input is odd and greater
10898 than 4. Note that fact in a comment too.
10899 (next_prime): Add 4 to input.
10900
de2fd463
SP
109012012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10902
10903 [BZ #11741]
10904 * libio/Makefile (tests): Add test case tst-fwrite-error.
10905 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10906 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10907 * libio/tst-fwrite-error.c: New test case.
10908
c515fb51
L
109092012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10910
10911 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10912 before casting to void *.
10913 * include/libc-internal.h (__pointer_type): New macro.
10914 (__integer_if_pointer_type_sub): Likewise.
10915 (__integer_if_pointer_type): Likewise.
10916 (cast_to_integer): Likewise.
10917 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10918 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10919 before casting to atomic64_t.
10920 (atomic_exchange_acq): Likewise.
10921 (__arch_exchange_and_add_body): Likewise.
10922 (__arch_add_body): Likewise.
10923 (atomic_add_negative): Likewise.
10924 (atomic_add_zero): Likewise.
10925
4cf77aa9
JM
109262012-11-26 Joseph Myers <joseph@codesourcery.com>
10927
10928 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10929 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10930 (add_fdes): Likewise.
10931 (linear_search_fdes): Likewise.
10932 (binary_search_unencoded_fdes): Likewise.
10933
d260b3b4
AS
109342012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10935
10936 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10937
67060746
AC
109382012-11-24 Adam Conrad <adconrad@0c3.net>
10939
10940 * configure.in: Autodetect C++ header directories.
10941 * configure: Regenerated.
10942
800938a1
MF
109432012-11-23 Mike Frysinger <vapier@gentoo.org>
10944
10945 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10946
4e6e34e6
AS
109472012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10948
10949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10950
7c7feb47
JM
109512012-11-22 Joseph Myers <joseph@codesourcery.com>
10952
7184dcdf
JM
10953 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10954 LDBL_MANT_DIG == 106]: Disable some tests.
10955 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10956 Likewise.
10957 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10958 Likewise.
10959
0a42601f
JM
10960 [BZ #14871]
10961 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10962 input for small inputs. Return +/- pi/2 for large inputs.
10963 * math/libm-test.inc (atan_test): Add more tests.
10964
79c9b9fe
JM
10965 * sysdeps/generic/unwind-dw2-fde-glibc.c
10966 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10967 __attribute__ ((unused)).
10968
c60d3bf2
JM
10969 [BZ #14645]
10970 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10971 x * y if x and y are nonzero and z is zero.
10972
ef1e0867
JM
10973 [BZ #14811]
10974 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10975 nonzero exponents with absolute value below 0x1p-117 to +/-
10976 0x1p-117.
10977
1468ded3
JM
10978 [BZ #14869]
10979 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10980 up arguments below 2**-450, not just those below 2**-500.
10981 * math/libm-test.inc (hypot_test): Add another test.
10982
8e27e3cc
JM
10983 [BZ #14868]
10984 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10985 Return a+b for ratio over 2**120, not 2**60.
10986 * math/libm-test.inc (hypot_test): Add another test.
10987
c9c0279b
JM
10988 * math/libm-test.inc (clog_test): Use
10989 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10990 (clog10_test): Likewise.
10991
7c7feb47
JM
10992 [BZ #6778]
10993 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10994
fff1530e
AS
109952012-11-22 Andreas Schwab <schwab@suse.de>
10996
10997 * sysdeps/i386/fpu/libm-test-ulps: Update.
10998
94558d30
PT
109992012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11000
11001 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11002 printf output with newline.
11003
7e1be741
L
110042012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11005
6bfea974
L
11006 [BZ #14865]
11007 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11008 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11009 -z nodlopen, -z initfirst and -z execstack support.
11010 * configure: Regenerated.
11011
7e1be741
L
11012 * elf/elf.h (DF_1_NODIRECT): New macro.
11013 (DF_1_IGNMULDEF): Likewise.
11014 (DF_1_NOKSYMS): Likewise.
11015 (DF_1_NOHDR): Likewise.
11016 (DF_1_EDITED): Likewise.
11017 (DF_1_NORELOC): Likewise.
11018 (DF_1_SYMINTPOSE): Likewise.
11019 (DF_1_GLOBAUDIT): Likewise.
11020 (DF_1_SINGLETON): Likewise.
11021 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11022 DT_1_SUPPORTED_MASK bits.
11023 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11024
105ce2ce
CD
110252012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11026
11027 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11028
123be9de
TS
110292012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11030
d072f3f7
TS
11031 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11032 macro.
11033
123be9de
TS
11034 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11035 (sendmmsg): Move declarations...
11036 * socket/sys/socket.h: ... here.
11037 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11038 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11039 include it from...
11040 * socket/recvmmsg.c: ... this new file.
11041 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11042 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11043 definition of __sendmmsg hidden.
11044 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11045 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11046 Move ENOSYS stub into and include it from...
11047 * socket/sendmmsg.c: ... this new file.
11048 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11049 (sysdep_routines): Move recvmmsg and sendmmsg...
11050 * socket/Makefile (routines): ... here.
11051 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11052 (GLIBC_PRIVATE): Add __sendmmsg.
11053 * include/sys/socket.h (__sendmmsg): Add declarations.
11054 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11055 sendmmsg.
11056
cf9a5d18
JM
110572012-11-20 Joseph Myers <joseph@codesourcery.com>
11058
11059 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11060 variable I1 with __attribute__ ((unused)).
11061 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11062
ecd4caf9
JM
110632012-11-19 Joseph Myers <joseph@codesourcery.com>
11064
be14d48f
JM
11065 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11066 DUMMY variables with __attribute__ ((unused)).
11067
ecd4caf9
JM
11068 * bits/byteswap.h: Include <bits/types.h>.
11069 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11070
986cab95
PT
110712012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11072
11073 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11074 string_t. Do not manually set errno.
11075 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11076 length with __strnlen. Make sure to both set errno and return it on
11077 failure.
11078
6d33cc9d
DM
110792012-11-19 David S. Miller <davem@davemloft.net>
11080
11081 With help from Joseph Myers.
11082 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11083 very large arguments properly.
11084 * math/libm-test.inc (atan_test): New tests.
11085 (atan2_test): New tests.
11086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11088
ee663277
JM
110892012-11-19 Joseph Myers <joseph@codesourcery.com>
11090
877f2d8e
JM
11091 [BZ #14856]
11092 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11093 Define to 3.
11094
116fc08a
JM
11095 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11096 [POSIX] (EADDRNOTAVAIL): Likewise.
11097 [POSIX] (EAFNOSUPPORT): Likewise.
11098 [POSIX] (EALREADY): Likewise.
11099 [POSIX] (ECONNABORTED): Likewise.
11100 [POSIX] (ECONNREFUSED): Likewise.
11101 [POSIX] (ECONNRESET): Likewise.
11102 [POSIX] (EDESTADDRREQ): Likewise.
11103 [POSIX] (EDQUOT): Likewise.
11104 [POSIX] (EHOSTUNREACH): Likewise.
11105 [POSIX] (EIDRM): Likewise.
11106 [POSIX] (EISCONN): Likewise.
11107 [POSIX] (ELOOP): Likewise.
11108 [POSIX] (EMULTIHOP): Likewise.
11109 [POSIX] (ENETDOWN): Likewise.
11110 [POSIX] (ENETUNREACH): Likewise.
11111 [POSIX] (ENOBUFS): Likewise.
11112 [POSIX] (ENODATA): Likewise.
11113 [POSIX] (ENOLINK): Likewise.
11114 [POSIX] (ENOMSG): Likewise.
11115 [POSIX] (ENOPROTOOPT): Likewise.
11116 [POSIX] (ENOSR): Likewise.
11117 [POSIX] (ENOSTR): Likewise.
11118 [POSIX] (ENOTCONN): Likewise.
11119 [POSIX] (ENOTSOCK): Likewise.
11120 [POSIX] (EOPNOTSUPP): Likewise.
11121 [POSIX] (EOVERFLOW): Likewise.
11122 [POSIX] (EPROTO): Likewise.
11123 [POSIX] (EPROTONOSUPPORT): Likewise.
11124 [POSIX] (EPROTOTYPE): Likewise.
11125 [POSIX] (ESTALE): Likewise.
11126 [POSIX] (ETIME): Likewise.
11127 [POSIX] (ETXTBSY): Likewise.
11128 [POSIX] (EWOULDBLOCK): Likewise.
11129 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11130 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11131 [POSIX] (SEEK_CUR): Likewise.
11132 [POSIX] (SEEK_END): Likewise.
11133 [POSIX || UNIX98] (mode_t): Do not require.
11134 [POSIX] (off_t): Likewise.
11135 [POSIX] (pid_t): Likewise.
11136 [POSIX] (sys/stat.h): Do not allow header.
11137 [POSIX] (unistd.h): Likewise.
11138 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11139 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11140 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11141 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11142 require.
11143 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11144 sigevent): Specify elements.
11145 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11146 entry.
11147 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11148 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11149
a483863f
JM
11150 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11151 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11152 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11153 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11154 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11155 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11156 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11157 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11158 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11159 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11160 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11161 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11162 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11163 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11164 Likewise.
11165 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11166 Likewise.
11167 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11168 Likewise.
11169 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11170 Likewise.
11171 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11172 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11173 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11174 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11175 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11176 Specify lower bound on value.
11177 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11178 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11179 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11180 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11181 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11182 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11183 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11184 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11185 value.
11186 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11187 as optional.
11188 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11189 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11190 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11191 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11192 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11193 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11194 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11195 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11196 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11197 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11198 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11199 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11200 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11201 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11202 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11203 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11204 entry.
11205 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11206 optional.
11207 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11208 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11209 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11210 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11211 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11212 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11213 Likewise.
11214 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11215 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11216 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11217 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11218 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11219 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11220 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11221 as optional.
11222 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11223 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11224 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11225 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11226 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11227 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11228 specify as optional.
11229 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11230 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11231 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11232 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11233 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11234 [XPG3] (NL_LANGMAX): Likewise.
11235 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11236 [POSIX || XPG3] (NL_NMAX): Likewise.
11237 [POSIX || XPG3] (NL_SETMAX): Likewise.
11238 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11239 [XPG3] (NZERO): Likewise.
11240 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11241 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11242 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11243 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11244 (REG_ERANGE): Expect.
11245 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11246 optional-constant.
11247 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11248 Use (void) in prototype.
11249 [POSIX] (*_t): Allow.
11250 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11251 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11252 (WRDE_BADVAL): Expect.
11253
5ba924e3
JM
11254 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11255 expect.
11256 [XPG3 || XPG4] (O_RSYNC): Likewise.
11257 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11258 Likewise.
11259 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11260 [XPG3 || XPG4] (sigqueue): Likewise.
11261 [XPG3 || XPG4] (sigtimedwait): Likewise.
11262 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11263 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11264 [XPG3 || XPG4] (vsnprintf): Likewise.
11265 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11266 Likewise.
11267 [XPG3 || XPG4] (blksize_t): Likewise.
11268 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11269 Likewise.
11270 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11271 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11272 [XPG3 || XPG4] (struct itimerspec): Likewise.
11273 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11274 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11275 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11276 [XPG3 || XPG4] (clockid_t): Likewise.
11277 [XPG3 || XPG4] (timer_t): Likewise.
11278 [XPG3 || XPG4] (clock_getres): Likewise.
11279 [XPG3 || XPG4] (clock_gettime): Likewise.
11280 [XPG3 || XPG4] (clock_settime): Likewise.
11281 [XPG3 || XPG4] (nanosleep): Likewise.
11282 [XPG3 || XPG4] (timer_create): Likewise.
11283 [XPG3 || XPG4] (timer_delete): Likewise.
11284 [XPG3 || XPG4] (timer_gettime): Likewise.
11285 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11286 [XPG3 || XPG4] (timer_settime): Likewise.
11287 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11288 [XPG3 || XPG4] (getlogin_r): Likewise.
11289 [XPG3 || XPG4] (pread): Likewise.
11290 [XPG3 || XPG4] (pthread_atfork): Likewise.
11291 [XPG3 || XPG4] (pwrite): Likewise.
11292
ee663277
JM
11293 [BZ #14835]
11294 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11295 <bits/siginfo.h>.
11296
942caa16
PT
112972012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11298
e19af380
PT
11299 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11300 finalizing MALLSTREAM.
11301
942caa16
PT
11302 * sysdeps/mach/hurd/syncfs.c: New file.
11303
cfde9b46
SP
113042012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11305
11306 [BZ #14719]
11307 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11308 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11309 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11310 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11311 (_nss_dns_gethostbyname4_r): Likewise.
11312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11313 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11314
f6da27e5
PH
113152012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11316
11317 [BZ #13763]
11318 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11319
6665d4a2
SM
113202012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11321
1f51ee92
SM
11322 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11323 * elf/cache.c (print_entry): Print ",AArch64" for
11324 FLAG_AARCH64_LIB64
11325
6665d4a2
SM
11326 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11327 * elf/cache.c (print_entry): Print ",hard-float" for
11328 FLAG_ARM_LIBHF.
11329
05b227bd
DM
113302012-11-18 David S. Miller <davem@davemloft.net>
11331
11332 With help from Joseph Myers.
11333 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11334 cutoff to 2**-13.
11335 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11336 cutoff to 2**-25.
11337 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11338 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11339 small.
11340 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11341 * math/libm-test.inc (y0_test): New tests.
11342 (y1_test): New tests.
11343 * sysdeps/i386/fpu/libm-test-ulps: Update.
11344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11346
786b0b67
AS
113472012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11348
11349 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11350 64-bit targets.
11351 * configure: Regenerated.
11352
8e18b86d
DM
113532012-11-17 David S. Miller <davem@davemloft.net>
11354
11355 [BZ #14811]
11356 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11357 nonzero exponents with absolute value below 0x1p-128 to +/-
11358 0x1p-128.
11359
531f1ae0
JM
113602012-11-17 Joseph Myers <joseph@codesourcery.com>
11361
12df29e2
JM
11362 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11363
150dc1a0
JM
11364 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11365
531f1ae0
JM
11366 * posix/getconf-speclist.c: New file.
11367 * posix/posix-envs.def: Likewise.
11368 * posix/confstr.c (START_ENV_GROUP): New macro.
11369 (END_ENV_GROUP): Likewise.
11370 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11371 (KNOWN_PRESENT_ENV_STRING): Likewise.
11372 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11373 (UNKNOWN_ENVIRONMENT): Likewise.
11374 (confstr): Include posix-envs.def instead of handling
11375 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11376 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11377 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11378 (END_ENV_GROUP): Likewise.
11379 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11380 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11381 (UNKNOWN_ENVIRONMENT): Likewise.
11382 (__sysconf): Include posix-envs.def instead of handling associated
11383 cases directly here.
11384 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11385 preprocessing getconf-speclist.c rather than running getconf or
11386 generating empty file.
11387
a93f9cbc
PT
113882012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11389
11390 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11391
d64d9f87
AL
113922012-11-16 Andrej Lajovic <natrij@gmail.com>
11393
11394 [BZ #14672]
11395 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11396
447885eb
DM
113972012-11-16 David S. Miller <davem@davemloft.net>
11398
11399 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11400 smaller than LDBL_EPSILON/2.0L, just return xm1.
11401
bcbf9830
L
114022012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11403
11404 * elf/tst-array1.c (init): Set constructor priority to 1000.
11405 (fini): Set destructor priority to 1000.
11406 * elf/tst-array2dep.c: Likewise.
11407
2b766585
SP
114082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11409
11410 [BZ #11741]
11411 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11412 (_IO_new_file_xsputn): Also return EOF if none of the input
11413 data was written when overflow failed.
11414 * libio/iopadn.c (_IO_padn): Likewise.
11415 * libio/iowpadn.c (_IO_wpadn): Likewise.
11416 * stdio-common/tst-put-error.c: Add copyright notice.
11417 (do_test): Add case for printing padded string.
11418 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11419 _IO_padn returned error.
11420 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11421 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11422 return EOF.
11423
b1848fde
SP
114242012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11425
11426 * libio/libioP.h: Add comment note that the references to C++
11427 bits are now obsolete.
11428
2fd89785
MS
114292012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11430
11431 * math/libm-test.inc (check_complex): Use asprintf.
11432
e3ea5409
JM
114332012-11-14 Joseph Myers <joseph@codesourcery.com>
11434
11435 * debug/pcprofiledump.c (print_version): Update copyright year.
11436 * malloc/memusagestat.c (print_version): Likewise.
11437
2e64d265
L
114382012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11439
11440 [BZ #14831]
11441 * elf/Makefile (tests): Add tst-audit8.
11442 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11443 ($(objpfx)tst-audit8.out): New target.
11444 (tst-audit8-ENV): New variable.
11445 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11446 audit if l_reloc_result is NULL.
11447 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11448 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11449 * elf/tst-audit8.c: New file.
11450
c485e4d2
MS
114512012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11452
11453 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11454 * misc/Makefile (CFLAGS-select.c): Define.
11455 * posix/Makefile (CFLAGS-pause.c): Define.
11456
3a0d900a
DM
114572012-11-13 David S. Miller <davem@davemloft.net>
11458
11459 * crypt/Makefile: Move test targets after toplevel Rules
11460 inclusion. Grab any necessary sysdep routines when linking.
11461 * crypt/md5.c (md5_process_block): Remove define, we will always
11462 name it __md5_process_block.
11463 (md5_finish_ctx): Update md5_process_block call.
11464 (md5_stream): Likewise.
11465 (md5_process_bytes): Likewise.
11466 (md5_process_block): Rename to __md5_process_block and move to ...
11467 * crypt/md5-block.c: ... here.
11468 * crypt/sha256.c (sha256_process_block): Move to ...
11469 * crypt/sha256-block.c: ... here.
11470 * crypt/sha512.c (sha512_process_block): Move to ...
11471 * crypt/sha512-block.c: ... here.
11472 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11473 path.
11474 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11475 * sysdeps/sparc/sparc64/multiarch/Makefile
11476 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11477 crypt subdir.
11478 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11479 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11480 multiarch changes.
11481 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11482 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11483 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11484 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11485 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11486 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11487 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11488 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11489 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11490 file.
11491 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11492 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11493 file.
11494 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11495
8ca89318
JM
114962012-11-13 Joseph Myers <joseph@codesourcery.com>
11497
e27d476a
JM
11498 * timezone/tzselect.ksh: Update from tzcode git revision
11499 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11500 * timezone/zdump.c: Likewise.
11501 * timezone/zic.c: Likewise.
11502 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11503 in TZVERSION setting, not $(PKGVERSION).
11504 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11505 REPORT_BUGS_TO settings.
11506
8ca89318
JM
11507 [BZ #14838]
11508 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11509 macro.
11510
47594329
MS
115112012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11512
11513 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11514 detection to immediately after _FP_ROUND().
11515 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11516 bits are 0.
11517
640ac3f1
DM
115182012-11-11 David S. Miller <davem@davemloft.net>
11519
11520 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11521 inttypes.h
11522 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11523 __close rather than their public counterparts.
11524
3d2577bb
JM
115252012-11-10 Joseph Myers <joseph@codesourcery.com>
11526
11527 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11528 file.
11529 [UNIX98] (sem_timedwait): Do not expect.
11530 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11531 [XPG4 || UNIX98] (sockatmark): Do not expect.
11532 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11533 (clock_getcpuclockid): Do not expect.
11534 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11535 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11536 Do not expect.
11537 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11538 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11539 [UNIX98] (vwscanf): Likewise.
11540 [UNIX98] (vswscanf): Likewise.
11541
fb1ae1ee
JM
115422012-11-09 Joseph Myers <joseph@codesourcery.com>
11543
9ec6f8bd
JM
11544 * timezone/version.h: Remove file.
11545 * timezone/README: Do not refer to version.h.
11546 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11547 $(objpfx)version.h.
11548 ($(objpfx)zdump.o): Likewise.
c3f81911 11549 ($(objpfx)version.h): New target.
9ec6f8bd 11550
0aa8f8a1
JM
11551 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11552 2012i.
11553 * timezone/README: Don't mention modification to tzselect.ksh.
11554 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11555 work on unmodified tzselect.ksh. Substitute version numbers in
11556 tzselect.ksh.
11557
4e87147f
JM
11558 * Makefile (format-me): Remove.
11559 (INSTALL): Adjust indentation. Use commands directly instead of
11560 using $(format-me).
11561
8b748aed
JM
11562 * aclocal.m4 (ACX_PKGVERSION): New macro.
11563 (ACX_BUGURL): Likewise.
11564 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11565 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11566 (REPORT_BUGS_TO): Likewise.
11567 * configure: Regenerated.
11568 * config.h.in (PKGVERSION): New macro.
11569 (REPORT_BUGS_TO): Likewise.
11570 * config.make.in (PKGVERSION): New variable.
11571 (PKGVERSION_TEXI): Likewise.
11572 (REPORT_BUGS_TO): Likewise.
11573 (REPORT_BUGS_TEXI): Likewise.
11574 * Makefile (format-me): Use -I$(common-objpfx)manual.
11575 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11576 ($(common-objpfx)manual/%): New target.
11577 (manual/%): Remove target.
11578 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11579 (print_version): Use PKGVERSION.
11580 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11581 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11582 and REPORT_BUGS_TO.
11583 ($(objpfx)xtrace): Likewise.
11584 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11585 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11586 (print_version): Use PKGVERSION.
11587 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11588 (do_version): Use PKGVERSION.
11589 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11590 REPORT_BUGS_TO.
11591 (common-ldd-rewrite): Likewise.
11592 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11593 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11594 (print_version): Use PKGVERSION.
11595 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11596 * elf/pldd.c (argp_program_bug_address): Remove variable.
11597 (more_help): New function.
11598 (argp): Use more_help.
11599 (print_version): Use PKGVERSION.
11600 * elf/sln.c (main): Use PKGVERSION.
11601 (usage): Use REPORT_BUGS_TO.
11602 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11603 (top level): Use PKGVERSION.
11604 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11605 (print_version): Use PKGVERSION.
11606 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11607 (print_version): Use PKGVERSION.
11608 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11609 (print_version): Use PKGVERSION.
11610 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11611 (print_version): Use PKGVERSION.
11612 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11613 (print_version): Use PKGVERSION.
11614 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11615 (print_version): Use PKGVERSION.
11616 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11617 and BUGURL.
11618 ($(objpfx)memusage): Likewise.
11619 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11620 (do_version): Use PKGVERSION.
11621 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11622 (print_version): Use PKGVERSION.
11623 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11624 ($PKGVERSION): New variable.
11625 ($REPORT_BUGS_TO): Likewise.
11626 (usage): Use $REPORT_BUGS_TO.
11627 (top level): Use $PKGVERSION.
11628 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11629 ($(objpfx)pkgvers.texi): New rule.
11630 ($(objpfx)stamp-pkgvers): Likewise.
11631 * manual/install.texi: Include pkgvers.texi.
11632 (--with-pkgversion): Document new configure option.
11633 (--with-bugurl): Likewise.
11634 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11635 than necessarily for this particular distribution. Use
11636 REPORT_BUGS_TO for where to report bugs.
11637 * INSTALL: Regenerated.
11638 * manual/libc.texinfo: Include pkgvers.texi.
11639 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11640 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11641 (print_version): Use PKGVERSION.
11642 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11643 (print_version): Use PKGVERSION.
11644 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11645 (print_version): Use PKGVERSION.
11646 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11647 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11648 macro.
11649 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11650 (print_version): Use PKGVERSION.
11651 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11652 (print_version): Use PKGVERSION.
11653 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11654 and PKGVERSION.
11655
92e4b6a9
JM
11656 * timezone/checktab.awk: Update from tzcode 2012i.
11657 * timezone/ialloc.c: Likewise.
11658 * timezone/private.h: Likewise.
11659 * timezone/scheck.c: Likewise.
11660 * timezone/tzfile.h: Likewise.
11661 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11662 (TZVERSION): Hardcode tzcode version number.
11663 * timezone/zdump.c: Update from tzcode 2012i.
11664 * timezone/zic.c: Likewise.
11665 * timezone/version.h: New file.
11666 * timezone/README: Describe version.h. Update upstream location.
11667
9bde902c
JM
11668 [BZ #14824]
11669 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11670 (mktemp): Enable declaration.
11671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11672 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11673 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11674 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11675 Likewise.
11676 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11677 Likewise.
11678 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11679 Likewise.
11680 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11681 Likewise.
11682 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11683 Likewise.
11684 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11685 Likewise.
11686
fb1ae1ee
JM
11687 [BZ #14821]
11688 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11689 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11690 for copies of such integer values.
11691 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11692 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11693
2c1adbcb
AJ
116942012-11-09 Andreas Jaeger <aj@suse.de>
11695
11696 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11697 definitions and declarations that are provided by
11698 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11699
d0f8457e
AK
117002012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11701
3a235abb 11702 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11703 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11704 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11705 definition.
11706
57241e26
MS
117072012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11708
11709 * elf/elf.h: Update comment before AArch64 relocations.
11710
60e8270d
DM
117112012-11-07 David S. Miller <davem@davemloft.net>
11712
11713 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11714 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11715 (__start_context): Declare.
11716 (__makecontext_ret): Delete.
11717 (__makecontext): Hook up __start_context instead of
11718 __makecontext_ret.
11719 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11720 (sysdep_routines): Add __start_context when in stdlib.
11721
0fbb0fbc
JM
117222012-11-07 Joseph Myers <joseph@codesourcery.com>
11723
11724 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11725 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11726 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11727 hardcoded "nm".
11728 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11729 (READELF): New variable. Use it instead of hardcoded "readelf".
11730
eb48db7e
L
117312012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11732
11733 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11734 * sysdeps/x86/Makefile: Here.
11735 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11736 * sysdeps/x86/tst-xmmymm.sh: This.
11737
05bcf62a
JM
117382012-11-07 Joseph Myers <joseph@codesourcery.com>
11739
c4b6cf53
JM
11740 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11741 expectations.
11742 [UNIX98] (pthread_barrier_t): Do not expect.
11743 [UNIX98] (pthread_barrierattr_t): Likewise.
11744 [UNIX98] (pthread_spinlock_t): Likewise.
11745 [UNIX98] (pthread_barrier_destroy): Likewise.
11746 [UNIX98] (pthread_barrier_init): Likewise.
11747 [UNIX98] (pthread_barrier_wait): Likewise.
11748 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11749 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11750 [UNIX98] (pthread_barrierattr_init): Likewise.
11751 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11752 [UNIX98] (pthread_getcpuclockid): Likewise.
11753 [UNIX98] (pthread_mutex_timedlock): Likewise.
11754 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11755 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11756 [UNIX98] (pthread_sigmask): Likewise.
11757 [UNIX98] (pthread_spin_destroy): Likewise.
11758 [UNIX98] (pthread_spin_init): Likewise.
11759 [UNIX98] (pthread_spin_lock): Likewise.
11760 [UNIX98] (pthread_spin_trylock): Likewise.
11761 [UNIX98] (pthread_spin_unlock): Likewise.
11762 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11763 Do not expect.
11764 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11765 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11766 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11767 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11768 [XPG3 || XPG4] (pthread_key_t): Likewise.
11769 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11770 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11771 [XPG3 || XPG4] (pthread_once_t): Likewise.
11772 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11773 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11774 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11775 [XPG3 || XPG4] (pthread_t): Likewise.
11776
cbe6e120
JM
11777 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11778 not expect.
11779 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11780
1b126443
JM
11781 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11782 Change function return type to int.
11783
b961a573
JM
11784 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11785 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11786 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11787 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11788 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11789 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11790 [!POSIX] (posix_madvise): Likewise.
11791 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11792 && !UNIX98].
11793 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11794 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11795 (mode_t): Likewise.
11796 (posix_mem_offset): Likewise.
11797 (posix_typed_mem_get_info): Likewise.
11798 (posix_typed_mem_open): Likewise.
11799
9e188909
JM
11800 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11801 Change condition to [XOPEN2K8].
11802
05bcf62a
JM
11803 * conform/conformtest.pl: Preprocess allow-header data with -x c
11804 instead of from stdin.
11805 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11806 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11807 [C99-based standards] (cerfc): Likewise.
11808 [C99-based standards] (cexp2): Likewise.
11809 [C99-based standards] (cexpm1): Likewise.
11810 [C99-based standards] (clog10): Likewise.
11811 [C99-based standards] (clog1p): Likewise.
11812 [C99-based standards] (clog2): Likewise.
11813 [C99-based standards] (clgamma): Likewise.
11814 [C99-based standards] (ctgamma): Likewise.
11815 [C99-based standards] (cerff): Likewise.
11816 [C99-based standards] (cerfcf): Likewise.
11817 [C99-based standards] (cexp2f): Likewise.
11818 [C99-based standards] (cexpm1f): Likewise.
11819 [C99-based standards] (clog10f): Likewise.
11820 [C99-based standards] (clog1pf): Likewise.
11821 [C99-based standards] (clog2f): Likewise.
11822 [C99-based standards] (clgammaf): Likewise.
11823 [C99-based standards] (ctgammaf): Likewise.
11824 [C99-based standards] (cerfl): Likewise.
11825 [C99-based standards] (cerfcl): Likewise.
11826 [C99-based standards] (cexp2l): Likewise.
11827 [C99-based standards] (cexpm1l): Likewise.
11828 [C99-based standards] (clog10l): Likewise.
11829 [C99-based standards] (clog1pl): Likewise.
11830 [C99-based standards] (clog2l): Likewise.
11831 [C99-based standards] (clgammal): Likewise.
11832 [C99-based standards] (ctgammal): Likewise.
11833 * conform/data/inttypes.h-data [C99-based standards]: Include
11834 stdint.h-data. Remove all expectations for stdint.h contents.
11835 [C99-based standards] (PRI*): Do not allow.
11836 [C99-based standards] (SCN*): Likewise.
11837 [C99-based standards] (*_t): Likewise.
11838 [C99-based-standards] (PRId8): Expect macro.
11839 [C99-based-standards] (PRIi8): Likewise.
11840 [C99-based-standards] (PRIo8): Likewise.
11841 [C99-based-standards] (PRIu8): Likewise.
11842 [C99-based-standards] (PRIx8): Likewise.
11843 [C99-based-standards] (PRIX8): Likewise.
11844 [C99-based-standards] (SCNd8): Likewise.
11845 [C99-based-standards] (SCNi8): Likewise.
11846 [C99-based-standards] (SCNo8): Likewise.
11847 [C99-based-standards] (SCNu8): Likewise.
11848 [C99-based-standards] (SCNx8): Likewise.
11849 [C99-based-standards] (PRIdLEAST8): Likewise.
11850 [C99-based-standards] (PRIiLEAST8): Likewise.
11851 [C99-based-standards] (PRIoLEAST8): Likewise.
11852 [C99-based-standards] (PRIuLEAST8): Likewise.
11853 [C99-based-standards] (PRIxLEAST8): Likewise.
11854 [C99-based-standards] (PRIXLEAST8): Likewise.
11855 [C99-based-standards] (SCNdLEAST8): Likewise.
11856 [C99-based-standards] (SCNiLEAST8): Likewise.
11857 [C99-based-standards] (SCNoLEAST8): Likewise.
11858 [C99-based-standards] (SCNuLEAST8): Likewise.
11859 [C99-based-standards] (SCNxLEAST8): Likewise.
11860 [C99-based-standards] (PRIdFAST8): Likewise.
11861 [C99-based-standards] (PRIiFAST8): Likewise.
11862 [C99-based-standards] (PRIoFAST8): Likewise.
11863 [C99-based-standards] (PRIuFAST8): Likewise.
11864 [C99-based-standards] (PRIxFAST8): Likewise.
11865 [C99-based-standards] (PRIXFAST8): Likewise.
11866 [C99-based-standards] (SCNdFAST8): Likewise.
11867 [C99-based-standards] (SCNiFAST8): Likewise.
11868 [C99-based-standards] (SCNoFAST8): Likewise.
11869 [C99-based-standards] (SCNuFAST8): Likewise.
11870 [C99-based-standards] (SCNxFAST8): Likewise.
11871 [C99-based-standards] (PRId16): Likewise.
11872 [C99-based-standards] (PRIi16): Likewise.
11873 [C99-based-standards] (PRIo16): Likewise.
11874 [C99-based-standards] (PRIu16): Likewise.
11875 [C99-based-standards] (PRIx16): Likewise.
11876 [C99-based-standards] (PRIX16): Likewise.
11877 [C99-based-standards] (SCNd16): Likewise.
11878 [C99-based-standards] (SCNi16): Likewise.
11879 [C99-based-standards] (SCNo16): Likewise.
11880 [C99-based-standards] (SCNu16): Likewise.
11881 [C99-based-standards] (SCNx16): Likewise.
11882 [C99-based-standards] (PRIdLEAST16): Likewise.
11883 [C99-based-standards] (PRIiLEAST16): Likewise.
11884 [C99-based-standards] (PRIoLEAST16): Likewise.
11885 [C99-based-standards] (PRIuLEAST16): Likewise.
11886 [C99-based-standards] (PRIxLEAST16): Likewise.
11887 [C99-based-standards] (PRIXLEAST16): Likewise.
11888 [C99-based-standards] (SCNdLEAST16): Likewise.
11889 [C99-based-standards] (SCNiLEAST16): Likewise.
11890 [C99-based-standards] (SCNoLEAST16): Likewise.
11891 [C99-based-standards] (SCNuLEAST16): Likewise.
11892 [C99-based-standards] (SCNxLEAST16): Likewise.
11893 [C99-based-standards] (PRIdFAST16): Likewise.
11894 [C99-based-standards] (PRIiFAST16): Likewise.
11895 [C99-based-standards] (PRIoFAST16): Likewise.
11896 [C99-based-standards] (PRIuFAST16): Likewise.
11897 [C99-based-standards] (PRIxFAST16): Likewise.
11898 [C99-based-standards] (PRIXFAST16): Likewise.
11899 [C99-based-standards] (SCNdFAST16): Likewise.
11900 [C99-based-standards] (SCNiFAST16): Likewise.
11901 [C99-based-standards] (SCNoFAST16): Likewise.
11902 [C99-based-standards] (SCNuFAST16): Likewise.
11903 [C99-based-standards] (SCNxFAST16): Likewise.
11904 [C99-based-standards] (PRId32): Likewise.
11905 [C99-based-standards] (PRIi32): Likewise.
11906 [C99-based-standards] (PRIo32): Likewise.
11907 [C99-based-standards] (PRIu32): Likewise.
11908 [C99-based-standards] (PRIx32): Likewise.
11909 [C99-based-standards] (PRIX32): Likewise.
11910 [C99-based-standards] (SCNd32): Likewise.
11911 [C99-based-standards] (SCNi32): Likewise.
11912 [C99-based-standards] (SCNo32): Likewise.
11913 [C99-based-standards] (SCNu32): Likewise.
11914 [C99-based-standards] (SCNx32): Likewise.
11915 [C99-based-standards] (PRIdLEAST32): Likewise.
11916 [C99-based-standards] (PRIiLEAST32): Likewise.
11917 [C99-based-standards] (PRIoLEAST32): Likewise.
11918 [C99-based-standards] (PRIuLEAST32): Likewise.
11919 [C99-based-standards] (PRIxLEAST32): Likewise.
11920 [C99-based-standards] (PRIXLEAST32): Likewise.
11921 [C99-based-standards] (SCNdLEAST32): Likewise.
11922 [C99-based-standards] (SCNiLEAST32): Likewise.
11923 [C99-based-standards] (SCNoLEAST32): Likewise.
11924 [C99-based-standards] (SCNuLEAST32): Likewise.
11925 [C99-based-standards] (SCNxLEAST32): Likewise.
11926 [C99-based-standards] (PRIdFAST32): Likewise.
11927 [C99-based-standards] (PRIiFAST32): Likewise.
11928 [C99-based-standards] (PRIoFAST32): Likewise.
11929 [C99-based-standards] (PRIuFAST32): Likewise.
11930 [C99-based-standards] (PRIxFAST32): Likewise.
11931 [C99-based-standards] (PRIXFAST32): Likewise.
11932 [C99-based-standards] (SCNdFAST32): Likewise.
11933 [C99-based-standards] (SCNiFAST32): Likewise.
11934 [C99-based-standards] (SCNoFAST32): Likewise.
11935 [C99-based-standards] (SCNuFAST32): Likewise.
11936 [C99-based-standards] (SCNxFAST32): Likewise.
11937 [C99-based-standards] (PRId64): Likewise.
11938 [C99-based-standards] (PRIi64): Likewise.
11939 [C99-based-standards] (PRIo64): Likewise.
11940 [C99-based-standards] (PRIu64): Likewise.
11941 [C99-based-standards] (PRIx64): Likewise.
11942 [C99-based-standards] (PRIX64): Likewise.
11943 [C99-based-standards] (SCNd64): Likewise.
11944 [C99-based-standards] (SCNi64): Likewise.
11945 [C99-based-standards] (SCNo64): Likewise.
11946 [C99-based-standards] (SCNu64): Likewise.
11947 [C99-based-standards] (SCNx64): Likewise.
11948 [C99-based-standards] (PRIdLEAST64): Likewise.
11949 [C99-based-standards] (PRIiLEAST64): Likewise.
11950 [C99-based-standards] (PRIoLEAST64): Likewise.
11951 [C99-based-standards] (PRIuLEAST64): Likewise.
11952 [C99-based-standards] (PRIxLEAST64): Likewise.
11953 [C99-based-standards] (PRIXLEAST64): Likewise.
11954 [C99-based-standards] (SCNdLEAST64): Likewise.
11955 [C99-based-standards] (SCNiLEAST64): Likewise.
11956 [C99-based-standards] (SCNoLEAST64): Likewise.
11957 [C99-based-standards] (SCNuLEAST64): Likewise.
11958 [C99-based-standards] (SCNxLEAST64): Likewise.
11959 [C99-based-standards] (PRIdFAST64): Likewise.
11960 [C99-based-standards] (PRIiFAST64): Likewise.
11961 [C99-based-standards] (PRIoFAST64): Likewise.
11962 [C99-based-standards] (PRIuFAST64): Likewise.
11963 [C99-based-standards] (PRIxFAST64): Likewise.
11964 [C99-based-standards] (PRIXFAST64): Likewise.
11965 [C99-based-standards] (SCNdFAST64): Likewise.
11966 [C99-based-standards] (SCNiFAST64): Likewise.
11967 [C99-based-standards] (SCNoFAST64): Likewise.
11968 [C99-based-standards] (SCNuFAST64): Likewise.
11969 [C99-based-standards] (SCNxFAST64): Likewise.
11970 [C99-based-standards] (PRIdMAX): Likewise.
11971 [C99-based-standards] (PRIiMAX): Likewise.
11972 [C99-based-standards] (PRIoMAX): Likewise.
11973 [C99-based-standards] (PRIuMAX): Likewise.
11974 [C99-based-standards] (PRIxMAX): Likewise.
11975 [C99-based-standards] (PRIXMAX): Likewise.
11976 [C99-based-standards] (SCNdMAX): Likewise.
11977 [C99-based-standards] (SCNiMAX): Likewise.
11978 [C99-based-standards] (SCNoMAX): Likewise.
11979 [C99-based-standards] (SCNuMAX): Likewise.
11980 [C99-based-standards] (SCNxMAX): Likewise.
11981 [C99-based-standards] (PRIdPTR): Likewise.
11982 [C99-based-standards] (PRIiPTR): Likewise.
11983 [C99-based-standards] (PRIoPTR): Likewise.
11984 [C99-based-standards] (PRIuPTR): Likewise.
11985 [C99-based-standards] (PRIxPTR): Likewise.
11986 [C99-based-standards] (PRIXPTR): Likewise.
11987 [C99-based-standards] (SCNdPTR): Likewise.
11988 [C99-based-standards] (SCNiPTR): Likewise.
11989 [C99-based-standards] (SCNoPTR): Likewise.
11990 [C99-based-standards] (SCNuPTR): Likewise.
11991 [C99-based-standards] (SCNxPTR): Likewise.
11992 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11993 allow.
11994 * conform/data/stdint.h-data: Update comments to clarify
11995 requirements.
11996 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11997 type.
11998 [C99-based standards] (INT8_MAX): Likewise.
11999 [C99-based standards] (INT16_MIN): Likewise.
12000 [C99-based standards] (INT16_MAX): Likewise.
12001 [C99-based standards] (INT32_MIN): Likewise.
12002 [C99-based standards] (INT32_MAX): Likewise.
12003 [C99-based standards] (INT64_MIN): Likewise.
12004 [C99-based standards] (INT64_MAX): Likewise.
12005 [C99-based standards] (UINT8_MAX): Likewise.
12006 [C99-based standards] (UINT16_MAX): Likewise.
12007 [C99-based standards] (UINT32_MAX): Likewise.
12008 [C99-based standards] (UINT64_MAX): Likewise.
12009 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12010 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12011 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12012 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12013 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12014 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12015 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12016 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12017 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12018 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12019 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12020 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12021 [C99-based standards] (INT_FAST8_MIN): Likewise.
12022 [C99-based standards] (INT_FAST8_MAX): Likewise.
12023 [C99-based standards] (INT_FAST16_MIN): Likewise.
12024 [C99-based standards] (INT_FAST16_MAX): Likewise.
12025 [C99-based standards] (INT_FAST32_MIN): Likewise.
12026 [C99-based standards] (INT_FAST32_MAX): Likewise.
12027 [C99-based standards] (INT_FAST64_MIN): Likewise.
12028 [C99-based standards] (INT_FAST64_MAX): Likewise.
12029 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12030 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12031 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12032 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12033 [C99-based standards] (INTPTR_MIN): Likewise.
12034 [C99-based standards] (INTPTR_MAX): Likewise.
12035 [C99-based standards] (UINTPTR_MAX): Likewise.
12036 [C99-based standards] (INTMAX_MIN): Likewise.
12037 [C99-based standards] (INTMAX_MAX): Likewise.
12038 [C99-based standards] (UINTMAX_MAX): Likewise.
12039 [C99-based standards] (PTRDIFF_MIN): Likewise.
12040 [C99-based standards] (PTRDIFF_MAX): Likewise.
12041 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12042 [C99-based standards] (SIZE_MAX): Likewise.
12043 [C99-based standards] (WCHAR_MAX): Likewise.
12044 [C99-based standards] (WINT_MAX): Likewise.
12045 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12046 constraint on value.
12047 [C99-based standards] (WCHAR_MIN): Likewise.
12048 [C99-based standards] (WINT_MIN): Likewise.
12049 [C99-based standards] (*_t): Allow.
12050 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12051 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12052 Include math.h-data and complex.h-data. Remove all expectations
12053 of math.h and complex.h contents.
12054 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12055 at end of line.
12056 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12057 (struct tm): Expect tag.
12058 [C99-based-standards] (wcstof): Expect function.
12059 [C99-based-standards] (wcstold): Likewise.
12060 [C99-based-standards] (wcstoll): Likewise.
12061 [C99-based-standards] (wcstoull): Likewise.
12062 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12063 macro-int-constant. Specify type.
12064 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12065 constraint on value.
12066 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12067 Specify type.
12068 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12069 Specify value.
12070 [ISO C standards]: Do not allow headers.
12071 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12072 wcs[abcdefghijklmnopqrstuvwxyz]*.
12073 [ISO C standards] (*_t): Do not allow.
12074 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12075 Expect function.
12076 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12077 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12078 Specify type.
12079 [ISO C standards]: Do not allow headers.
12080 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12081 is[abcdefghijklmnopqrstuvwxyz]*.
12082 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12083 to[abcdefghijklmnopqrstuvwxyz]*.
12084 [ISO C standards] (*_t): Do not allow.
12085 * conform/data/stdalign.h-data: New file.
12086 * conform/data/stdbool.h-data: Likewise.
12087 * conform/data/stdnoreturn.h-data: Likewise.
12088
7514feb8
RM
120892012-11-07 Roland McGrath <roland@hack.frob.com>
12090
12091 [BZ #14815]
12092 * manual/filesys.texi (Directory Entries): Typo fix.
12093 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12094
19b2ecfc
MS
120952012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12096
12097 * elf/elf.h (EM_AARCH64): New macro.
12098 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12099 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12100 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12101 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12102 (R_AARCH64_TLSDESC): Likewise.
12103 (NT_ARM_TLS): Likewise.
12104 (NT_ARM_HW_BREAK): Likewise.
12105 (NT_ARM_HW_WATCH): Likewise.
12106
60e235ee
JM
121072012-11-07 Joseph Myers <joseph@codesourcery.com>
12108
12109 [BZ #14811]
12110 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12111 (__ieee754_powl): Saturate nonzero exponents with absolute value
12112 below 0x1p-79 to +/- 0x1p-79.
12113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12114 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12115 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12116 nonzero exponents with absolute value below 0x1p-32 to +/-
12117 0x1p-32.
12118 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12119 (__ieee754_powl): Saturate nonzero exponents with absolute value
12120 below 0x1p-79 to +/- 0x1p-79.
12121 * math/libm-test.inc (pow_test): Add more tests.
12122
0ab234b7
AK
121232012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12124
12125 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12126 _dl_s390_cap_flags with kernel. Increase string length.
12127 (_dl_s390_platforms): Add z196 and zEC12.
12128
45832f74
JM
121292012-11-07 Joseph Myers <joseph@codesourcery.com>
12130
12131 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12132 Change XOPEN21K to XOPEN2K.
12133
19218757
MK
121342012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12135
12136 * string/memmove.c: Use memcpy when possible.
12137
c5f45721
AJ
121382012-11-06 Andreas Jaeger <aj@suse.de>
12139
12140 * po/eo.po: Update from translation team.
12141
82477c28
JM
121422012-11-06 Joseph Myers <joseph@codesourcery.com>
12143
12144 [BZ #14793]
12145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12146 exponent and small x and y exponents, scale x or y up. Increase
12147 by 2 the exponent used in scaling up.
12148 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12149 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12150 * math/libm-test.inc (fma_test): Add more tests.
12151 (fma_test_towardzero): Likewise.
12152 (fma_test_downward): Likewise.
12153 (fma_test_upward): Likewise.
12154
99252c8c
JM
121552012-11-05 Joseph Myers <joseph@codesourcery.com>
12156
acfa885f
JM
12157 [BZ #14805]
12158 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12159 fenv_t *.
12160
99252c8c
JM
12161 [BZ #14801]
12162 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12163 namespace for names of struct fields.
12164 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12165 fenv_t fields.
12166 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12167 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12168
d6d98dea
ST
121692012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12170
12171 [BZ #3665]
12172 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12173
e10bb107
TS
121742012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12175
12176 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12177 PTR_DEMANGLE.
12178
12179 [BZ #5246]
12180 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12181 PTR_DEMANGLE.
12182
a0c2940d
JM
121832012-11-04 Joseph Myers <joseph@codesourcery.com>
12184
12185 [BZ #14797]
12186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12187 definitely overflow as x * y not x * y + z.
12188 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12189 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12190 * math/libm-test.inc (fma_test): Add more tests.
12191 (fma_test_towardzero): Likewise.
12192 (fma_test_downward): Likewise.
12193 (fma_test_upward): Likewise.
12194
b830319d
TS
121952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12196
12197 [BZ #157]
12198
12199 * include/stub-tag.h: Remove file.
12200 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12201 '#include' of it.
12202 * manual/maint.texi (Porting): Don't reference it.
12203 * Makerules ($(objpfx)stubs): Likewise.
12204 * dirent/closedir.c: Don't include <stub-tag.h>.
12205 * dirent/dirfd.c: Likewise.
12206 * dirent/fdopendir.c: Likewise.
12207 * dirent/getdents.c: Likewise.
12208 * dirent/getdents64.c: Likewise.
12209 * dirent/opendir.c: Likewise.
12210 * dirent/readdir.c: Likewise.
12211 * dirent/readdir64.c: Likewise.
12212 * dirent/readdir64_r.c: Likewise.
12213 * dirent/readdir_r.c: Likewise.
12214 * dirent/rewinddir.c: Likewise.
12215 * dirent/seekdir.c: Likewise.
12216 * dirent/telldir.c: Likewise.
12217 * gmon/profil.c: Likewise.
12218 * grp/setgroups.c: Likewise.
12219 * inet/if_index.c: Likewise.
12220 * io/access.c: Likewise.
12221 * io/chdir.c: Likewise.
12222 * io/chmod.c: Likewise.
12223 * io/chown.c: Likewise.
12224 * io/close.c: Likewise.
12225 * io/dup.c: Likewise.
12226 * io/dup2.c: Likewise.
12227 * io/dup3.c: Likewise.
12228 * io/euidaccess.c: Likewise.
12229 * io/faccessat.c: Likewise.
12230 * io/fchdir.c: Likewise.
12231 * io/fchmod.c: Likewise.
12232 * io/fchmodat.c: Likewise.
12233 * io/fchown.c: Likewise.
12234 * io/fchownat.c: Likewise.
12235 * io/fcntl.c: Likewise.
12236 * io/flock.c: Likewise.
12237 * io/fstatfs.c: Likewise.
12238 * io/fstatfs64.c: Likewise.
12239 * io/fstatvfs.c: Likewise.
12240 * io/fstatvfs64.c: Likewise.
12241 * io/futimens.c: Likewise.
12242 * io/fxstat.c: Likewise.
12243 * io/fxstat64.c: Likewise.
12244 * io/fxstatat.c: Likewise.
12245 * io/fxstatat64.c: Likewise.
12246 * io/getcwd.c: Likewise.
12247 * io/isatty.c: Likewise.
12248 * io/lchmod.c: Likewise.
12249 * io/lchown.c: Likewise.
12250 * io/link.c: Likewise.
12251 * io/linkat.c: Likewise.
12252 * io/lseek.c: Likewise.
12253 * io/lseek64.c: Likewise.
12254 * io/lxstat64.c: Likewise.
12255 * io/mkdir.c: Likewise.
12256 * io/mkdirat.c: Likewise.
12257 * io/mkfifo.c: Likewise.
12258 * io/mkfifoat.c: Likewise.
12259 * io/open.c: Likewise.
12260 * io/open64.c: Likewise.
12261 * io/openat.c: Likewise.
12262 * io/openat64.c: Likewise.
12263 * io/pipe.c: Likewise.
12264 * io/pipe2.c: Likewise.
12265 * io/poll.c: Likewise.
12266 * io/posix_fadvise.c: Likewise.
12267 * io/posix_fadvise64.c: Likewise.
12268 * io/posix_fallocate.c: Likewise.
12269 * io/posix_fallocate64.c: Likewise.
12270 * io/read.c: Likewise.
12271 * io/readlink.c: Likewise.
12272 * io/readlinkat.c: Likewise.
12273 * io/rmdir.c: Likewise.
12274 * io/sendfile.c: Likewise.
12275 * io/sendfile64.c: Likewise.
12276 * io/statfs.c: Likewise.
12277 * io/statfs64.c: Likewise.
12278 * io/statvfs.c: Likewise.
12279 * io/statvfs64.c: Likewise.
12280 * io/symlink.c: Likewise.
12281 * io/symlinkat.c: Likewise.
12282 * io/ttyname.c: Likewise.
12283 * io/ttyname_r.c: Likewise.
12284 * io/umask.c: Likewise.
12285 * io/unlink.c: Likewise.
12286 * io/unlinkat.c: Likewise.
12287 * io/utime.c: Likewise.
12288 * io/utimensat.c: Likewise.
12289 * io/write.c: Likewise.
12290 * io/xmknod.c: Likewise.
12291 * io/xmknodat.c: Likewise.
12292 * io/xstat.c: Likewise.
12293 * io/xstat64.c: Likewise.
12294 * login/getpt.c: Likewise.
12295 * login/grantpt.c: Likewise.
12296 * login/unlockpt.c: Likewise.
12297 * math/e_acoshl.c: Likewise.
12298 * math/e_acosl.c: Likewise.
12299 * math/e_asinl.c: Likewise.
12300 * math/e_atan2l.c: Likewise.
12301 * math/e_atanhl.c: Likewise.
12302 * math/e_coshl.c: Likewise.
12303 * math/e_expl.c: Likewise.
12304 * math/e_fmodl.c: Likewise.
12305 * math/e_gammal_r.c: Likewise.
12306 * math/e_hypotl.c: Likewise.
12307 * math/e_j0l.c: Likewise.
12308 * math/e_j1l.c: Likewise.
12309 * math/e_jnl.c: Likewise.
12310 * math/e_lgammal_r.c: Likewise.
12311 * math/e_log10l.c: Likewise.
12312 * math/e_log2l.c: Likewise.
12313 * math/e_logl.c: Likewise.
12314 * math/e_powl.c: Likewise.
12315 * math/e_rem_pio2l.c: Likewise.
12316 * math/e_sinhl.c: Likewise.
12317 * math/e_sqrtl.c: Likewise.
12318 * math/fclrexcpt.c: Likewise.
12319 * math/fedisblxcpt.c: Likewise.
12320 * math/feenablxcpt.c: Likewise.
12321 * math/fegetenv.c: Likewise.
12322 * math/fegetexcept.c: Likewise.
12323 * math/fegetround.c: Likewise.
12324 * math/feholdexcpt.c: Likewise.
12325 * math/fesetenv.c: Likewise.
12326 * math/fesetround.c: Likewise.
12327 * math/feupdateenv.c: Likewise.
12328 * math/fgetexcptflg.c: Likewise.
12329 * math/fraiseexcpt.c: Likewise.
12330 * math/fsetexcptflg.c: Likewise.
12331 * math/ftestexcept.c: Likewise.
12332 * math/k_cosl.c: Likewise.
12333 * math/k_rem_pio2l.c: Likewise.
12334 * math/k_sinl.c: Likewise.
12335 * math/k_tanl.c: Likewise.
12336 * math/s_asinhl.c: Likewise.
12337 * math/s_atanl.c: Likewise.
12338 * math/s_cbrtl.c: Likewise.
12339 * math/s_erfl.c: Likewise.
12340 * math/s_expm1l.c: Likewise.
12341 * math/s_log1pl.c: Likewise.
12342 * math/s_tanhl.c: Likewise.
12343 * misc/acct.c: Likewise.
12344 * misc/brk.c: Likewise.
12345 * misc/chflags.c: Likewise.
12346 * misc/chroot.c: Likewise.
12347 * misc/fchflags.c: Likewise.
12348 * misc/fgetxattr.c: Likewise.
12349 * misc/flistxattr.c: Likewise.
12350 * misc/fremovexattr.c: Likewise.
12351 * misc/fsetxattr.c: Likewise.
12352 * misc/fsync.c: Likewise.
12353 * misc/ftruncate.c: Likewise.
12354 * misc/futimes.c: Likewise.
12355 * misc/futimesat.c: Likewise.
12356 * misc/getdomain.c: Likewise.
12357 * misc/getdtsz.c: Likewise.
12358 * misc/gethostid.c: Likewise.
12359 * misc/gethostname.c: Likewise.
12360 * misc/getloadavg.c: Likewise.
12361 * misc/getpagesize.c: Likewise.
12362 * misc/getsysstats.c: Likewise.
12363 * misc/getxattr.c: Likewise.
12364 * misc/gtty.c: Likewise.
12365 * misc/ioctl.c: Likewise.
12366 * misc/lgetxattr.c: Likewise.
12367 * misc/listxattr.c: Likewise.
12368 * misc/llistxattr.c: Likewise.
12369 * misc/lremovexattr.c: Likewise.
12370 * misc/lsetxattr.c: Likewise.
12371 * misc/lutimes.c: Likewise.
12372 * misc/madvise.c: Likewise.
12373 * misc/mincore.c: Likewise.
12374 * misc/mlock.c: Likewise.
12375 * misc/mlockall.c: Likewise.
12376 * misc/mmap.c: Likewise.
12377 * misc/mprotect.c: Likewise.
12378 * misc/msync.c: Likewise.
12379 * misc/munlock.c: Likewise.
12380 * misc/munlockall.c: Likewise.
12381 * misc/munmap.c: Likewise.
12382 * misc/preadv.c: Likewise.
12383 * misc/preadv64.c: Likewise.
12384 * misc/ptrace.c: Likewise.
12385 * misc/pwritev.c: Likewise.
12386 * misc/pwritev64.c: Likewise.
12387 * misc/readv.c: Likewise.
12388 * misc/reboot.c: Likewise.
12389 * misc/remap_file_pages.c: Likewise.
12390 * misc/removexattr.c: Likewise.
12391 * misc/revoke.c: Likewise.
12392 * misc/select.c: Likewise.
12393 * misc/setdomain.c: Likewise.
12394 * misc/setegid.c: Likewise.
12395 * misc/seteuid.c: Likewise.
12396 * misc/sethostid.c: Likewise.
12397 * misc/sethostname.c: Likewise.
12398 * misc/setregid.c: Likewise.
12399 * misc/setreuid.c: Likewise.
12400 * misc/setxattr.c: Likewise.
12401 * misc/sstk.c: Likewise.
12402 * misc/stty.c: Likewise.
12403 * misc/swapoff.c: Likewise.
12404 * misc/swapon.c: Likewise.
12405 * misc/sync.c: Likewise.
12406 * misc/syncfs.c: Likewise.
12407 * misc/syscall.c: Likewise.
12408 * misc/truncate.c: Likewise.
12409 * misc/ualarm.c: Likewise.
12410 * misc/usleep.c: Likewise.
12411 * misc/ustat.c: Likewise.
12412 * misc/utimes.c: Likewise.
12413 * misc/vhangup.c: Likewise.
12414 * misc/writev.c: Likewise.
12415 * posix/_exit.c: Likewise.
12416 * posix/alarm.c: Likewise.
12417 * posix/execve.c: Likewise.
12418 * posix/fexecve.c: Likewise.
12419 * posix/fork.c: Likewise.
12420 * posix/fpathconf.c: Likewise.
12421 * posix/getaddrinfo.c: Likewise.
12422 * posix/getegid.c: Likewise.
12423 * posix/geteuid.c: Likewise.
12424 * posix/getgid.c: Likewise.
12425 * posix/getgroups.c: Likewise.
12426 * posix/getlogin.c: Likewise.
12427 * posix/getlogin_r.c: Likewise.
12428 * posix/getpgid.c: Likewise.
12429 * posix/getpid.c: Likewise.
12430 * posix/getppid.c: Likewise.
12431 * posix/getresgid.c: Likewise.
12432 * posix/getresuid.c: Likewise.
12433 * posix/getsid.c: Likewise.
12434 * posix/getuid.c: Likewise.
12435 * posix/glob64.c: Likewise.
12436 * posix/nanosleep.c: Likewise.
12437 * posix/pathconf.c: Likewise.
12438 * posix/pause.c: Likewise.
12439 * posix/posix_madvise.c: Likewise.
12440 * posix/pread.c: Likewise.
12441 * posix/pread64.c: Likewise.
12442 * posix/pwrite.c: Likewise.
12443 * posix/pwrite64.c: Likewise.
12444 * posix/sched_getaffinity.c: Likewise.
12445 * posix/sched_getp.c: Likewise.
12446 * posix/sched_gets.c: Likewise.
12447 * posix/sched_primax.c: Likewise.
12448 * posix/sched_primin.c: Likewise.
12449 * posix/sched_rr_gi.c: Likewise.
12450 * posix/sched_setaffinity.c: Likewise.
12451 * posix/sched_setp.c: Likewise.
12452 * posix/sched_sets.c: Likewise.
12453 * posix/sched_yield.c: Likewise.
12454 * posix/setgid.c: Likewise.
12455 * posix/setlogin.c: Likewise.
12456 * posix/setpgid.c: Likewise.
12457 * posix/setresgid.c: Likewise.
12458 * posix/setresuid.c: Likewise.
12459 * posix/setsid.c: Likewise.
12460 * posix/setuid.c: Likewise.
12461 * posix/sleep.c: Likewise.
12462 * posix/spawni.c: Likewise.
12463 * posix/sysconf.c: Likewise.
12464 * posix/times.c: Likewise.
12465 * posix/wait.c: Likewise.
12466 * posix/wait3.c: Likewise.
12467 * posix/wait4.c: Likewise.
12468 * posix/waitpid.c: Likewise.
12469 * resolv/gai_sigqueue.c: Likewise.
12470 * resource/getpriority.c: Likewise.
12471 * resource/getrlimit.c: Likewise.
12472 * resource/getrusage.c: Likewise.
12473 * resource/nice.c: Likewise.
12474 * resource/setpriority.c: Likewise.
12475 * resource/setrlimit.c: Likewise.
12476 * resource/ulimit.c: Likewise.
12477 * rt/aio_cancel.c: Likewise.
12478 * rt/aio_fsync.c: Likewise.
12479 * rt/aio_read.c: Likewise.
12480 * rt/aio_sigqueue.c: Likewise.
12481 * rt/aio_suspend.c: Likewise.
12482 * rt/aio_write.c: Likewise.
12483 * rt/clock_getres.c: Likewise.
12484 * rt/clock_gettime.c: Likewise.
12485 * rt/clock_nanosleep.c: Likewise.
12486 * rt/clock_settime.c: Likewise.
12487 * rt/lio_listio.c: Likewise.
12488 * rt/mq_close.c: Likewise.
12489 * rt/mq_getattr.c: Likewise.
12490 * rt/mq_notify.c: Likewise.
12491 * rt/mq_open.c: Likewise.
12492 * rt/mq_receive.c: Likewise.
12493 * rt/mq_send.c: Likewise.
12494 * rt/mq_setattr.c: Likewise.
12495 * rt/mq_timedreceive.c: Likewise.
12496 * rt/mq_timedsend.c: Likewise.
12497 * rt/mq_unlink.c: Likewise.
12498 * rt/shm_open.c: Likewise.
12499 * rt/shm_unlink.c: Likewise.
12500 * rt/timer_create.c: Likewise.
12501 * rt/timer_delete.c: Likewise.
12502 * rt/timer_getoverr.c: Likewise.
12503 * rt/timer_gettime.c: Likewise.
12504 * rt/timer_settime.c: Likewise.
12505 * setjmp/__longjmp.c: Likewise.
12506 * setjmp/setjmp.c: Likewise.
12507 * signal/kill.c: Likewise.
12508 * signal/killpg.c: Likewise.
12509 * signal/raise.c: Likewise.
12510 * signal/sigaction.c: Likewise.
12511 * signal/sigaltstack.c: Likewise.
12512 * signal/sigblock.c: Likewise.
12513 * signal/sigignore.c: Likewise.
12514 * signal/sigintr.c: Likewise.
12515 * signal/signal.c: Likewise.
12516 * signal/sigpause.c: Likewise.
12517 * signal/sigpending.c: Likewise.
12518 * signal/sigqueue.c: Likewise.
12519 * signal/sigreturn.c: Likewise.
12520 * signal/sigset.c: Likewise.
12521 * signal/sigsetmask.c: Likewise.
12522 * signal/sigstack.c: Likewise.
12523 * signal/sigsuspend.c: Likewise.
12524 * signal/sigtimedwait.c: Likewise.
12525 * signal/sigvec.c: Likewise.
12526 * signal/sigwait.c: Likewise.
12527 * signal/sigwaitinfo.c: Likewise.
12528 * signal/sysv_signal.c: Likewise.
12529 * socket/accept.c: Likewise.
12530 * socket/accept4.c: Likewise.
12531 * socket/bind.c: Likewise.
12532 * socket/connect.c: Likewise.
12533 * socket/getpeername.c: Likewise.
12534 * socket/getsockname.c: Likewise.
12535 * socket/getsockopt.c: Likewise.
12536 * socket/isfdtype.c: Likewise.
12537 * socket/listen.c: Likewise.
12538 * socket/recv.c: Likewise.
12539 * socket/recvfrom.c: Likewise.
12540 * socket/recvmsg.c: Likewise.
12541 * socket/send.c: Likewise.
12542 * socket/sendmsg.c: Likewise.
12543 * socket/sendto.c: Likewise.
12544 * socket/setsockopt.c: Likewise.
12545 * socket/shutdown.c: Likewise.
12546 * socket/sockatmark.c: Likewise.
12547 * socket/socket.c: Likewise.
12548 * socket/socketpair.c: Likewise.
12549 * stdio-common/ctermid.c: Likewise.
12550 * stdio-common/cuserid.c: Likewise.
12551 * stdio-common/remove.c: Likewise.
12552 * stdio-common/rename.c: Likewise.
12553 * stdio-common/renameat.c: Likewise.
12554 * stdio-common/tempname.c: Likewise.
12555 * stdlib/getcontext.c: Likewise.
12556 * stdlib/makecontext.c: Likewise.
12557 * stdlib/setcontext.c: Likewise.
12558 * stdlib/swapcontext.c: Likewise.
12559 * stdlib/system.c: Likewise.
12560 * streams/fattach.c: Likewise.
12561 * streams/fdetach.c: Likewise.
12562 * streams/getmsg.c: Likewise.
12563 * streams/getpmsg.c: Likewise.
12564 * streams/putmsg.c: Likewise.
12565 * streams/putpmsg.c: Likewise.
12566 * sysdeps/unix/bsd/getpt.c: Likewise.
12567 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12568 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12569 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12571 Likewise.
12572 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12573 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12574 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12575 * sysvipc/msgctl.c: Likewise.
12576 * sysvipc/msgget.c: Likewise.
12577 * sysvipc/msgrcv.c: Likewise.
12578 * sysvipc/msgsnd.c: Likewise.
12579 * sysvipc/semctl.c: Likewise.
12580 * sysvipc/semget.c: Likewise.
12581 * sysvipc/semop.c: Likewise.
12582 * sysvipc/semtimedop.c: Likewise.
12583 * sysvipc/shmat.c: Likewise.
12584 * sysvipc/shmctl.c: Likewise.
12585 * sysvipc/shmdt.c: Likewise.
12586 * sysvipc/shmget.c: Likewise.
12587 * termios/tcdrain.c: Likewise.
12588 * termios/tcflow.c: Likewise.
12589 * termios/tcflush.c: Likewise.
12590 * termios/tcgetattr.c: Likewise.
12591 * termios/tcgetpgrp.c: Likewise.
12592 * termios/tcsendbrk.c: Likewise.
12593 * termios/tcsetattr.c: Likewise.
12594 * termios/tcsetpgrp.c: Likewise.
12595 * time/adjtime.c: Likewise.
12596 * time/clock.c: Likewise.
12597 * time/getitimer.c: Likewise.
12598 * time/gettimeofday.c: Likewise.
12599 * time/setitimer.c: Likewise.
12600 * time/settimeofday.c: Likewise.
12601 * time/stime.c: Likewise.
12602 * time/time.c: Likewise.
12603
126042012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12605
a20492cf
PT
12606 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12607 /usr/old/bin.
12608
72e182e3
PT
12609 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12610 instead of spaces.
12611 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12612
fbeafede
JM
126132012-11-03 Joseph Myers <joseph@codesourcery.com>
12614
5b5b04d6
JM
12615 [BZ #14796]
12616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12617 FE_TONEAREST before applying Dekker multiplication and Knuth
12618 addition. Clear inexact exceptions and check for exact zero
12619 results afterwards.
12620 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12621 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12622 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12623 * math/libm-test.inc (fma_test): Add more tests.
12624 (fma_test_towardzero): Likewise.
12625 (fma_test_downward): Likewise.
12626 (fma_test_upward): Likewise.
12627 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12628 function.
12629 (libc_fesetround): New macro.
12630 (libc_fesetroundf): Likewise.
12631 (libc_fesetroundl): Likewise.
12632 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12633 function.
12634 (libc_fesetround_387): Likewise.
12635 (libc_fesetroundf): New macro.
12636 (libc_fesetround): Likewise.
12637 (libc_fesetroundl): Likewise.
12638 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12639 function.
12640 (libc_fesetroundf): New macro.
12641 (libc_fesetround): Likewise.
12642 (libc_fesetroundl): Likewise.
12643 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12644 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12645 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12646 libm_hidden_ver.
12647 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12648 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12649 libm_hidden_def.
12650 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12651 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12652 libm_hidden_ver.
12653 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12654 libm_hidden_def.
12655
fbeafede
JM
12656 [BZ #3439]
12657 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12658 integer constant usable in #if and use that to give value to enum
12659 constant.
12660 (FE_DIVBYZERO): Likewise.
12661 (FE_UNDERFLOW): Likewise.
12662 (FE_OVERFLOW): Likewise.
12663 (FE_INVALID): Likewise.
12664 (FE_INVALID_SNAN): Likewise.
12665 (FE_INVALID_ISI): Likewise.
12666 (FE_INVALID_IDI): Likewise.
12667 (FE_INVALID_ZDZ): Likewise.
12668 (FE_INVALID_IMZ): Likewise.
12669 (FE_INVALID_COMPARE): Likewise.
12670 (FE_INVALID_SOFTWARE): Likewise.
12671 (FE_INVALID_SQRT): Likewise.
12672 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12673 (FE_TONEAREST): Likewise.
12674 (FE_TOWARDZERO): Likewise.
12675 (FE_UPWARD): Likewise.
12676 (FE_DOWNWARD): Likewise.
12677 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12678 (FE_DIVBYZERO): Likewise.
12679 (FE_OVERFLOW): Likewise.
12680 (FE_UNDERFLOW): Likewise.
12681 (FE_INEXACT): Likewise.
12682 (FE_TONEAREST): Likewise.
12683 (FE_DOWNWARD): Likewise.
12684 (FE_UPWARD): Likewise.
12685 (FE_TOWARDZERO): Likewise.
12686 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12687 (FE_UNDERFLOW): Likewise.
12688 (FE_OVERFLOW): Likewise.
12689 (FE_DIVBYZERO): Likewise.
12690 (FE_INVALID): Likewise.
12691 (FE_TONEAREST): Likewise.
12692 (FE_TOWARDZERO): Likewise.
12693 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12694 (FE_OVERFLOW): Likewise.
12695 (FE_UNDERFLOW): Likewise.
12696 (FE_DIVBYZERO): Likewise.
12697 (FE_INEXACT): Likewise.
12698 (FE_TONEAREST): Likewise.
12699 (FE_TOWARDZERO): Likewise.
12700 (FE_UPWARD): Likewise.
12701 (FE_DOWNWARD): Likewise.
12702 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12703 (FE_DIVBYZERO): Likewise.
12704 (FE_OVERFLOW): Likewise.
12705 (FE_UNDERFLOW): Likewise.
12706 (FE_INEXACT): Likewise.
12707 (FE_TONEAREST): Likewise.
12708 (FE_DOWNWARD): Likewise.
12709 (FE_UPWARD): Likewise.
12710 (FE_TOWARDZERO): Likewise.
12711
105ca950
CM
127122012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12713
12714 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12715
a542b389
AS
127162012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12717
12718 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12719 commands. Quote $PWD.
12720 (blacklist_exports): Don't use remove_newlines. Replace "declare
12721 -x" by "export".
12722 (remove_newlines): Remove.
12723
f62c8abc
L
127242012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12725
12726 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12727 * stdlib/stdlib.h (atof): Moved to ...
12728 * include/bits/stdlib-float.h: Here. New file.
12729 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12730 * stdlib/bits/stdlib-float.h: New file.
12731 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12732 -mno-sse -mno-mmx.
12733 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12734 <xmmintrin.h>.
12735
0155d5b2
JM
127362012-11-02 Joseph Myers <joseph@codesourcery.com>
12737
a68d0680
JM
12738 * conform/conformtest.pl (@headers): Add fenv.h.
12739 * conform/data/fenv.h-data: New file.
12740 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12741 include of <math/fenv.h>.
12742
caf7f573
JM
12743 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12744 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12745 && !UNIX98]. Enables tests for XOPEN2K8.
12746 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12747 POSIX2008]: Likewise.
12748
6c073ad6
JM
12749 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12750 (struct rusage): Do not expect type or its members.
12751
0155d5b2
JM
12752 [BZ #3439]
12753 * math/math.h (FP_NAN): Define macro to integer constant usable in
12754 #if and use that to give value to enum constant.
12755 (FP_INFINITE): Likewise.
12756 (FP_ZERO): Likewise.
12757 (FP_SUBNORMAL): Likewise.
12758 (FP_NORMAL): Likewise.
12759
b5dcacb4
AS
127602012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12761
12762 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12763 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12764 arguments.
12765
f7934be8
RM
127662012-11-02 Roland McGrath <roland@hack.frob.com>
12767
12768 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12769 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12770 autoconf-time if not.
12771 * configure.in: Remove AC_PREREQ.
12772
d7d08bde
TMQMF
127732012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12774
12775 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12776 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12777 of the internal implementation.
12778
dcdae19a
JM
127792012-11-02 Joseph Myers <joseph@codesourcery.com>
12780
12781 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12782 except include of <misc/sys/syslog.h>.
12783
d6cffd3e
AS
127842012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12785
12786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12787 function returns with a NULL context exit with zero.
12788
b3563932
TMQMF
127892012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12790
12791 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12792
b288a93d
L
127932012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12794
12795 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12796 (run_program_cmd): This.
12797 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12798 (tst_langinfo): New variable. Use it.
12799
a2421a68
SAS
128002012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12801
12802 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12803 floating point opcodes.
12804
6f796e1b
TS
128052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12806
7402596b
TS
12807 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12808 variable.
12809
d0d4f868
TS
12810 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12811
6f796e1b
TS
12812 * sysdeps/mach/hurd/powerpc: Remove directory.
12813 * sysdeps/mach/powerpc: Likewise.
12814
4da224a2
AS
128152012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12816
12817 * scripts/check-local-headers.sh: Ignore c++ headers.
12818
341dd673
TS
128192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12820
12821 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12822 __libc_cleanup_region_start argument.
12823
473611b2
JM
128242012-11-01 Joseph Myers <joseph@codesourcery.com>
12825
12826 [BZ #14784]
12827 [BZ #14785]
12828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12829 x * y using scaling, not as x * y + z.
12830 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12831 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12832 * math/libm-test.inc (fma_test): Add more tests.
12833 (fma_test_towardzero): Likewise.
12834 (fma_test_downward): Likewise.
12835 (fma_test_upward): Likewise.
12836
4078da3d
TS
128372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12838
12839 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12840
903252aa
JM
128412012-10-31 Joseph Myers <joseph@codesourcery.com>
12842
12843 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12844 New variable.
12845
cbc818d0
TS
128462012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12847
12848 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12849
5a03cb1e
AS
128502012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12851
12852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12853 Fix sort order.
12854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12855 Likewise.
12856
90aff2ff
TMQMF
128572012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12858
12859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12860 Fix the order of the list for glibc 2.17.
12861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12862 Likewise.
12863
1818fcb7
AS
128642012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12865
12866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12867
ef82f4da
JM
128682012-10-31 Joseph Myers <joseph@codesourcery.com>
12869
16a0e2ec
JM
12870 [BZ #14610]
12871 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12872 for low part of x being zero before using __atanl (y).
12873 * math/libm-test.inc (atan2_test): Add another test.
12874
0eb69512
JM
12875 * manual/install.texi (Configuring and compiling): Document
12876 general use of test-wrapper and test-wrapper-env.
12877 * INSTALL: Regenerated.
12878
ef82f4da
JM
12879 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12880 (__fma): Do not extract and scale down low bits on after-rounding
12881 systems when result rounded to normal precision would have normal
12882 exponent.
12883 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12884 (__fmal): Do not extract and scale down low bits on after-rounding
12885 systems when result rounded to normal precision would have normal
12886 exponent.
12887 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12888 (__fmal): Do not extract and scale down low bits on after-rounding
12889 systems when result rounded to normal precision would have normal
12890 exponent.
12891 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12892 macro.
12893 (fma_test): Add more tests.
12894 (fma_test_towardzero): Likewise.
12895 (fma_test_downward): Likewise.
12896 (fma_test_upward): Likewise.
12897
954ef0d9
L
128982012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12899
12900 * sysdeps/i386/tininess.h: Renamed to ...
12901 * sysdeps/x86/tininess.h: This.
12902 * sysdeps/x86_64/tininess.h: Removed.
12903
df61ffb2
JM
129042012-10-30 Joseph Myers <joseph@codesourcery.com>
12905
12906 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12907 input. Use $(build-program-cmd).
12908 ($(objpfx)tst-array1-static.out): Likewise.
12909 ($(objpfx)tst-array2.out): Likewise.
12910 ($(objpfx)tst-array3.out): Likewise.
12911 ($(objpfx)tst-array4.out): Likewise.
12912 ($(objpfx)tst-array5.out): Likewise.
12913 ($(objpfx)tst-array5-static.out): Likewise.
12914
01767843
CM
129152012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12916
47cc1490
CM
12917 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12918 if defined.
12919
01767843
CM
12920 * nss/nsswitch.h (nss_interface_function): Provide new
12921 macro for use with NSS functions.
12922 * grp/initgroups.c: Use new macro.
12923 * nss/getXXbyYY.c: Likewise.
12924 * nss/getXXbyYY_r.c: Likewise.
12925 * nss/getXXent.c: Likewise.
12926 * nss/getXXent_r.c: Likewise.
12927 * sysdeps/posix/getaddrinfo.c: Likewise.
12928
8321aa97
AJ
129292012-10-30 Andreas Jaeger <aj@suse.de>
12930
12931 * po/ru.po: Update Russion translation from translation project.
12932
2a27fd6d
JM
129332012-10-30 Joseph Myers <joseph@codesourcery.com>
12934
8627a232
JM
12935 [BZ #14152]
12936 [BZ #14783]
12937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12938 result and shift together with sticky bit instead of replicating
12939 round-to-nearest rounding.
12940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12941 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12942 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12943 missing underflow exceptions.
12944 (fma_test_towardzero): Add more tests.
12945 (fma_test_downward): Likewise.
12946 (fma_test_upward): Likewise.
12947
2a27fd6d
JM
12948 [BZ #14047]
12949 * sysdeps/generic/tininess.h: New file.
12950 * sysdeps/i386/tininess.h: Likewise.
12951 * sysdeps/sh/tininess.h: Likewise.
12952 * sysdeps/x86_64/tininess.h: Likewise.
12953 * stdlib/tst-strtod-underflow.c: Likewise.
12954 * stdlib/tst-tininess.c: Likewise.
12955 * stdlib/strtod_l.c: Include <tininess.h>.
12956 (round_and_return): Do not set errno for exact underflow cases.
12957 Force an underflow exception when setting errno for underflow.
12958 Determine underflow based on rounding to normal precision if
12959 TININESS_AFTER_ROUNDING.
12960 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12961 ERANGE for exact underflow cases.
12962 * stdlib/Makefile (tests): Add tst-tininess and
12963 tst-strtod-underflow.
12964 ($(objpfx)tst-tininess): Use $(link-libm).
12965 ($(objpfx)tst-strtod-underflow): Likewise.
12966
e7170363
AJ
129672012-10-30 Andreas Jaeger <aj@suse.de>
12968
e5088dc6
AJ
12969 [BZ#14767]
12970 * elf/Makefile (tests): Remove conditional for have-initfini-array
12971 since this is now always required and the variable does not exist
12972 anymore.
12973 (tests-static): Likewise.
12974 (modules-names): Likewise.
12975
e7170363 12976 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12977
12978 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12979 merged with constructor/destructor.
12980 (init_array): Likewise.
12981 * elf/tst-array2dep.c (fini_array): Likewise.
12982 (init_array): Likewise.
12983
60457d8a
MF
129842012-10-29 Mike Frysinger <vapier@gentoo.org>
12985
12986 * manual/message.texi: Delete @cartouche tags.
12987
8bece752
PT
129882012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12989
94ce799f
PT
12990 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12991 EOPNOTSUPP.
12992 * sysdeps/mach/hurd/fsync.c: Likewise.
12993
8bece752
PT
12994 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12995 [_POSIX_REALTIME_SIGNALS]: Change condition to
12996 [_POSIX_REALTIME_SIGNALS > 0].
12997
86ebe6b1
AJ
129982012-10-27 Andreas Jaeger <aj@suse.de>
12999
13000 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13001 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13003 [__WORDSIZE != 64]: Likewise.
13004
54399c08
L
130052012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13006
13007 * iconvdata/tst-table.sh: Remove ${SHELL}.
13008 * iconvdata/tst-tables.sh: Likewise.
13009
e2211bed
DM
130102012-10-25 David S. Miller <davem@davemloft.net>
13011
13012 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13013 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13014 of strtoull.
13015
f303f97c
DM
13016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13017 ifunc-impl-list.c
13018 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13019 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13020 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13021 file.
13022
1e9d84cd
RM
130232012-10-25 Roland McGrath <roland@hack.frob.com>
13024
13025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13026 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13027 __getdirentries.
13028
df381762
JM
130292012-10-25 Joseph Myers <joseph@codesourcery.com>
13030 Jim Blandy <jimb@codesourcery.com>
13031
13032 * scripts/cross-test-ssh.sh: New file.
13033 * manual/install.texi (Configuring and compiling): Document use of
13034 cross-test-ssh.sh.
13035 * INSTALL: Regenerated.
13036
bff64913
PT
130372012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13038
13039 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13040 EOPNOTSUPP.
13041
25fe8932
JM
130422012-10-25 Joseph Myers <joseph@codesourcery.com>
13043
13044 * Makeconfig (run-program-prefix): Fix comment.
13045
cc1290d0
JM
130462012-10-24 Joseph Myers <joseph@codesourcery.com>
13047 Jim Blandy <jimb@codesourcery.com>
13048
13049 * Makeconfig (test-wrapper): New variable,
13050 (test-wrapper-env): Likewise.
13051 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13052 (run-built-tests): Define to yes.
13053 (run-program-prefix): Use $(test-wrapper).
13054 (built-program-cmd): Likewise.
13055 * Rules (make-test-out): Use $(test-wrapper-env) and
13056 $(host-built-program-cmd).
13057 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13058 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13059 tst-pathopt.sh.
13060 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13061 $(test-wrapper-env) to tst-rtld-load-self.sh.
13062 ($(objpfx)order2.out): Use $(test-wrapper).
13063 ($(objpfx)tst-initorder.out): Likewise.
13064 ($(objpfx)tst-initorder2.out): Likewise.
13065 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13066 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13067 (test_wrapper_env): New variable. Use it to run ld.so.
13068 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13069 Use it to run ld.so.
13070 (test_wrapper_env): Likewise.
13071 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13072 $(test-wrapper) to run-iconv-test.sh.
13073 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13074 (ICONV): Use $test_wrapper.
13075 * posix/Makefile ($(objpfx)globtest.out): Pass
13076 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13077 globtest.sh, not $(run-program-prefix).
13078 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13079 (test_wrapper): Likewise.
13080 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13081 set together with run_via_rtld_prefix.
13082 (run_program_prefix): Define in terms of test_wrapper and
13083 run_via_rtld_prefix.
13084
6e6249d0
RM
130852012-10-24 Roland McGrath <roland@hack.frob.com>
13086
13087 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13088 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13089 Targets removed.
13090
13091 [BZ #14743]
13092 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13093 Declare __clock_getres, __clock_gettime, __clock_settime,
13094 __clock_nanosleep, and __clock_getcpuclockid.
13095 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13096 Remove librt_hidden_def (clock_gettime).
13097 * sysdeps/unix/clock_gettime.c: Likewise.
13098 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13099 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13100 * rt/clock_getres.c: Define __clock_getres as an alias.
13101 * sysdeps/posix/clock_getres.c: Likewise.
13102 * rt/clock_settime.c: Define __clock_settime as an alias.
13103 * sysdeps/unix/clock_settime.c: Likewise.
13104 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13105 * sysdeps/unix/clock_nanosleep.c: Likewise.
13106 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13107 * rt/clock-compat.c: New file.
13108 * rt/Makefile (librt-routines): Add clock-compat and move
13109 $(clock-routines) to ...
13110 (routines): ... here, new variable.
13111 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13112 Don't add get_clockfreq here.
13113 * rt/Versions (libc: GLIBC_2.17): New version set.
13114 Add clock_* symbols here.
13115 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13116 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13117 (GLIBC_2.17): Add clock_* symbols.
13118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13120 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13122 Likewise.
13123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13124 Likewise.
13125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13129 * NEWS: Mention the move.
13130
13131 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13132 Use __open, __read, __close rather than their public counterparts.
13133 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13134 (__get_clockfreq_via_cpuinfo): Likewise.
13135 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13136 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13137
13138 * config.h.in (HAVE_IFUNC): New #undef.
13139 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13140 was successful.
13141 * configure: Regenerated.
13142
0cae3f4b
MF
131432012-10-24 Mike Frysinger <vapier@gentoo.org>
13144
13145 * configure.in: Move READELF check to start of file.
13146 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13147 libc_cv_asm_gnu_indirect_function in the process.
13148 * configure: Regenerated.
13149
8175a253
MF
131502012-10-24 Mike Frysinger <vapier@gentoo.org>
13151
13152 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13153 send the output to /dev/null.
13154 (libc_cv_cc_with_libunwind): Likewise.
13155 (libc_cv_as_noexecstack): Likewise.
13156 * configure: Regenerate.
13157
0708a7d1
JM
131582012-10-24 Joseph Myers <joseph@codesourcery.com>
13159
10b40d85
JM
13160 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13161
0708a7d1
JM
13162 * posix/globtest.sh (TMPDIR): Do not set.
13163 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13164 (testout): Likewise.
13165
9fddec1a
AJ
131662012-10-24 Andreas Jaeger <aj@suse.de>
13167
3a8db22f
AJ
13168 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13169 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13170 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13171 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13172 posix_fadvise64, posix_fallocate64.
13173
9fddec1a
AJ
13174 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13175 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13176 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13177 Likewise.
13178 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13179 Likewise.
13180 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13181
13182 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13183 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13184 <bits/fcntl-linux.h>.
13185 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13186
13187 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13188 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13189 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13190 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13191 [__WORDSIZE != 64]: Likewise.
13192
ebfd1bbd
JM
131932012-10-23 Joseph Myers <joseph@codesourcery.com>
13194
03ac099f
JM
13195 * Makeconfig (run-built-tests): New variable.
13196 * Rules [$(cross-compiling) = yes]: Change condition to
13197 [$(run-built-tests) = no].
13198 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13199 to [$(run-built-tests) = yes].
13200 * elf/Makefile [$(cross-compiling) = no]: Likewise
13201 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13202 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13203 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13204 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13205 * io/Makefile [$(cross-compiling) = no]: Likewise.
13206 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13207 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13208 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13209 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13210 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13211 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13212 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13213 * string/Makefile [$(cross-compiling) = no]: Likewise.
13214
ebfd1bbd
JM
13215 * posix/Makefile ($(objpfx)globtest.out): Pass
13216 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13217 $(rtld-installed-name).
13218 * posix/globtest.sh (elf_objpfx): Remove variable.
13219 (rtld_installed_name): Likewise.
13220 (library_path): Likewise.
13221 (run_program_prefix): New variable. Use for running globtest
13222 binary.
13223
166bca24
JB
132242012-10-23 Jim Blandy <jimb@codesourcery.com>
13225 Joseph Myers <joseph@codesourcery.com>
13226
13227 * Makeconfig (host-built-program-cmd): New variable.
13228 * elf/Makefile (tst-stackguard1-ARGS): Use
13229 $(host-built-program-cmd).
13230 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13231 (tst-spawn-ARGS): Likewise.
13232 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13233
88866099
JM
132342012-10-23 Joseph Myers <joseph@codesourcery.com>
13235 Jim Blandy <jimb@codesourcery.com>
13236
13237 * Makeconfig (run-via-rtld-prefix): New variable.
13238 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13239 (built-program-cmd): Likewise.
13240
b4b4c296
AJ
132412012-10-22 Andreas Jaeger <aj@suse.de>
13242
13243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13244 __O_RSYNC if it exists, otherwise to O_SYNC.
13245
6fb54a22
JB
132462012-10-22 Jim Blandy <jimb@codesourcery.com>
13247 Joseph Myers <joseph@codesourcery.com>
13248
13249 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13250 /dev/null.
13251 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13252 from /dev/null
13253 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13254 /dev/null.
13255
481b90b9
AJ
132562012-10-22 Andreas Jaeger <aj@suse.de>
13257
2a0e2669
AJ
13258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13259 Define always.
13260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13261
76e38f9a
AJ
13262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13263 bits/fcntl-linux.h.
13264
7cd37b43
AJ
13265 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13266 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13267
481b90b9
AJ
13268 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13269 to __O_LARGEFILE.
13270 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13271 to __O_LARGEFILE.
13272
aba75984
JB
132732012-10-21 Jim Blandy <jimb@codesourcery.com>
13274 Joseph Myers <joseph@codesourcery.com>
13275
13276 * config.make.in (NM): New variable.
13277
88d4247f
AJ
132782012-10-21 Andreas Jaeger <aj@suse.de>
13279
13280 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13281 definitions and declarations that are provided by
13282 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13283
f2eed205
L
132842012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13285
13286 [BZ #14683]
13287 * elf/Makefile (tests-static): Add tst-leaks1-static.
13288 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13289 ($(objpfx)tst-leaks1-static): New rule.
13290 ($(objpfx)tst-leaks1-static-mem): Likewise.
13291 (tst-leaks1-static-ENV): New macro.
13292 * elf/dl-open.c (dl_open_worker): Check the main application
13293 only if SHARED is defined.
13294 * elf/tst-leaks1-static.c: New file.
13295
335e6931
AJ
132962012-10-20 Andreas Jaeger <aj@suse.de>
13297
13298 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13299 generic values for Linux.
13300 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13301 and declarations that are provided by <bits/fcntl-linux.h> and
13302 include <bits/fcntl-linux.h>.
13303 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13305
ac5c94d3
RM
133062012-10-20 Roland McGrath <roland@hack.frob.com>
13307
13308 * io/fcntl.h: Move include of <bits/types.h> to the top and
13309 include it unconditionally.
13310
de54b33a
L
133112012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13312
228cfb01
L
13313 * wcsmbs/Makefile (tests-ifunc): New variable.
13314 (tests): Add $(tests-ifunc).
13315 * wcsmbs/test-wcschr-ifunc.c: New file.
13316 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13317 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13318 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13319 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13320 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13321
69f07e5f
L
13322 * string/Makefile (tests-ifunc): New variable.
13323 (tests): Add $(tests-ifunc).
13324 * string/test-memccpy.c (TEST_NAME): New macro.
13325 * string/test-memchr.c (TEST_NAME): Likewise.
13326 * string/test-memcmp.c (TEST_NAME): Likewise.
13327 * string/test-memcpy.c (TEST_NAME): Likewise.
13328 * string/test-memmem.c (TEST_NAME): Likewise.
13329 * string/test-memmove.c (TEST_NAME): Likewise.
13330 * string/test-memset.c (TEST_NAME): Likewise.
13331 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13332 * string/test-stpcpy.c (TEST_NAME): Likewise.
13333 * string/test-stpncpy.c (TEST_NAME): Likewise.
13334 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13335 * string/test-strcasestr.c (TEST_NAME): Likewise.
13336 * string/test-strcat.c (TEST_NAME): Likewise.
13337 * string/test-strchr.c (TEST_NAME): Likewise.
13338 * string/test-strcmp.c(TEST_NAME): Likewise.
13339 * string/test-strcpy.c (TEST_NAME): Likewise.
13340 * string/test-strcspn.c (TEST_NAME): Likewise.
13341 * string/test-strlen.c (TEST_NAME): Likewise.
13342 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13343 * string/test-strncmp.c (TEST_NAME): Likewise.
13344 * string/test-strncpy.c (TEST_NAME): Likewise.
13345 * string/test-strnlen.c (TEST_NAME): Likewise.
13346 * string/test-strpbrk.c (TEST_NAME): Likewise.
13347 * string/test-strrchr.c (TEST_NAME): Likewise.
13348 * string/test-strspn.c (TEST_NAME): Likewise.
13349 * string/test-strstr.c (TEST_NAME): Likewise.
13350 * string/test-bcopy-ifunc.c: New file.
13351 * string/test-bzero-ifunc.c: Likewise.
13352 * string/test-memccpy-ifunc.c: Likewise.
13353 * string/test-memchr-ifunc.c: Likewise.
13354 * string/test-memcmp-ifunc.c: Likewise.
13355 * string/test-memcpy-ifunc.c: Likewise.
13356 * string/test-memmem-ifunc.c: Likewise.
13357 * string/test-memmove-ifunc.c: Likewise.
13358 * string/test-mempcpy-ifunc.c: Likewise.
13359 * string/test-memset-ifunc.c: Likewise.
13360 * string/test-rawmemchr-ifunc.c: Likewise.
13361 * string/test-stpcpy-ifunc.c: Likewise.
13362 * string/test-stpncpy-ifunc.c: Likewise.
13363 * string/test-strcasecmp-ifunc.c: Likewise.
13364 * string/test-strcasestr-ifunc.c: Likewise.
13365 * string/test-strcat-ifunc.c: Likewise.
13366 * string/test-strchr-ifunc.c: Likewise.
13367 * string/test-strchrnul-ifunc.c: Likewise.
13368 * string/test-strcmp-ifunc.c: Likewise.
13369 * string/test-strcpy-ifunc.c: Likewise.
13370 * string/test-strcspn-ifunc.c: Likewise.
13371 * string/test-strlen-ifunc.c: Likewise.
13372 * string/test-strncasecmp-ifunc.c: Likewise.
13373 * string/test-strncat-ifunc.c: Likewise.
13374 * string/test-strncmp-ifunc.c: Likewise.
13375 * string/test-strncpy-ifunc.c: Likewise.
13376 * string/test-strnlen-ifunc.c: Likewise.
13377 * string/test-strpbrk-ifunc.c: Likewise.
13378 * string/test-strrchr-ifunc.c: Likewise.
13379 * string/test-strspn-ifunc.c: Likewise.
13380 * string/test-strstr-ifunc.c: Likewise.
13381
de54b33a
L
13382 * debug/Makefile (tests-ifunc): New variable.
13383 (tests): Add $(tests-ifunc).
13384 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13385 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13386 * debug/test-stpcpy_chk-ifunc.c: New file.
13387 * debug/test-strcpy_chk-ifunc.c: Likewise.
13388
88481c16
SP
133892012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13390
13391 [BZ #13601]
13392 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13393 header is not read in.
13394
135948bd
JM
133952012-10-19 Joseph Myers <joseph@codesourcery.com>
13396
89f1c388
JM
13397 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13398 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13399 directly. Pass built executable to script as
13400 $(built-program-cmd).
13401 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13402 $testprogram without using LD_LIBRARY_PATH and $ldso.
13403
e40a0d21
JM
13404 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13405 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13406 $(rtld-installed-name).
13407 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13408 (rtld_installed_name): Likewise.
13409 (library_path): Likewise.
13410 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13411 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13412 $(run-program-prefix) to tst-tables.sh.
13413 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13414 it to run tst-table-from and tst-table-to.
13415 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13416 Pass it to tst-table.sh.
13417 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13418 $(run-program-prefix) to tst-gettext.sh.
13419 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13420 tst-translit.sh.
13421 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13422 tst-gettext2.sh.
13423 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13424 to run tst-gettext.
13425 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13426 to run tst-gettext2.
13427 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13428 to run tst-translit.
13429 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13430 $(run-program-prefix) to tst-mtrace.sh.
13431 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13432 to run tst-mtrace.
13433 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13434 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13435 $(rtld-installed-name).
13436 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13437 (rtld_installed_name): Likewise.
13438 (run_program_prefix): New variable. Use it to run wordexp-test.
13439
728e272a
JM
13440 * Makeconfig (ARCH): Remove all definitions.
13441 (machine): Likewise.
13442 [ARCH]: Remove conditional code.
13443 [!objdir]: Give error.
13444 [!objdir] (objpfx): Remove.
13445 [!objdir] (common-objpfx): Likewise.
13446 [!objdir] (common-objdir): Likewise.
13447 * configure.in (config_makefile): Remove. Hardcode Makefile in
13448 AC_CONFIG_FILES call.
13449 * configure: Regenerated.
13450
d528cdcf
JM
13451 [BZ #13888]
13452 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13453 or TMPDIR.
13454 (testout): Likewise.
13455
135948bd
JM
13456 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13457 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13458 $(rtld-installed-name).
13459 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13460 (rtld_installed_name): Likwise.
13461 (runit): Remove function.
13462 (run_getconf): New variable, Use it for running getconf binary.
13463
38c78296
L
134642012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13465
13466 [BZ #14716]
13467 * string/test-memmem.c (check_result): New function.
13468 (do_one_test): Use it.
13469 (check1): New function.
13470 (test_main): Use it.
13471
d077f65f
MT
134722012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13473
13474 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13475
ced52c71
JM
134762012-10-18 Joseph Myers <joseph@codesourcery.com>
13477
13478 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13479 (_G_LSEEK64): Likewise.
13480 (_G_MMAP64): Likewise.
13481 (_G_FSTAT64): Likewise.
13482 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13483 (_G_LSEEK64): Likewise.
13484 (_G_MMAP64): Likewise.
13485 (_G_FSTAT64): Likewise.
13486 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13487 unconditional. Call __mmap64 directly.
13488 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13489 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13490 __lseek64 directly.
13491 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13492 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13493 __mmap64 directly.
13494 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13495 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13496 __lseek64 directly.
13497 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13498 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13499 __lseek64 directly.
13500 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13501 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13502 __lseek64 directly.
13503 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13504 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13505 __fxstat64 directly.
13506 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13507 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13508 unconditional.
13509 (freopen64) [!_G_OPEN64]: Remove conditional code.
13510 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13511 unconditional.
13512 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13513 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13514 unconditional.
13515 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13516 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13517 unconditional.
13518 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13519 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13520 unconditional.
13521 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13522 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13523 unconditional.
13524 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13525 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13526 unconditional.
13527 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13528 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13529 unconditional.
13530 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13531
b741de23
SP
135322012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13533
13534 [BZ #12140]
13535 * manual/memory.texi (Malloc Tunable Parameters): Add note
13536 about free list pointers overwriting some perturb bytes.
13537 Wording suggested by Roland McGrath.
13538
f9b9d9c9
JM
135392012-10-17 Joseph Myers <joseph@codesourcery.com>
13540
13541 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13542 (lgamma_test): Likewise.
13543 (tgamma_test): Likewise.
13544
172a631a
FW
135452012-10-16 Florian Weimer <fweimer@redhat.com>
13546
13547 [BZ #14700]
13548 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13549 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13550
e9f37252
MK
135512012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13552
13553 * NEWS: Mention BZ #14716.
13554 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13555 when removing AVAILABLE1_USES_J macro.
13556
d394eb74
L
135572012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13558
13559 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13560 (__bswap_64): __uint64_t for unsigned 64-bit int.
13561
ca38dc17
AS
135622012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13563
13564 * include/string.h (memmem): Declare libc hidden alias.
13565 * string/memmem.c (memmem): Define libc hidden alias.
13566 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13567 __read, __close instead of open, read, close.
13568
9a387d1f
L
135692012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13570
ac49ecaf
L
13571 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13572 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13573 global and hidden.
13574 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13575 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13576 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13577 Likewise.
13578 (__rawmemchr_sse2): Likewise.
13579 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13580 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13581 (__strchr_sse2): Likewise.
13582 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13583 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13584 (__strcasecmp_sse2): Likewise.
13585 (__strncasecmp_sse2): Likewise.
13586 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13587 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13588 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13589 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13590 (__strrchr_sse2): Likewise.
13591 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13592 ifunc-impl-list.c.
13593 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13594 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13595 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13596 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13597 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13598 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13599 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13600 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13601 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13602 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13603 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13604 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13605 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13606 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13607 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13608 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13609 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13610 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13611 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13612 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13613 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13614 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13615 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13616 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13617 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13618 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13619 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13620 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13621 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13622 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13623
b090e8ea
L
13624 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13625 global and hidden.
13626 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13627 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13628 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13629 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13630 Likewise.
13631 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13632 Likewise.
13633 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13634 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13635 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13636 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13637 ifunc-impl-list.c.
13638 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13639 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13640 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13641 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13642 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13643 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13644 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13645 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13646 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13647 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13648 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13649 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13650 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13651 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13652 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13653 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13654 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13655 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13656 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13657 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13658 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13659 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13660 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13661 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13662 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13663 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13664 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13665 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13666 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13667 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13668 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13669 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13670 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13671 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13672 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13673 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13674 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13675 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13676 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13677 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13678 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13679
11dd4af6
L
13680 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13681 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13682 * include/ifunc-impl-list.h: New file.
13683 * misc/ifunc-impl-list.c: Likewise.
13684 * misc/Makefile (routines): Add ifunc-impl-list.
13685 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13686 * string/test-string.h: Include <ifunc-impl-list.h>.
13687 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13688 impl_array): New variables.
13689 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13690 are defined.
13691 (test_init): Call __libc_ifunc_impl_list to initialize
13692 func_list if TEST_IFUNC and TEST_NAME are defined.
13693
9a387d1f
L
13694 * string/Makefile (strop-tests): Add bcopy and bzero.
13695 * string/test-bcopy.c: New file.
13696 * string/test-bzero.c: Likewise.
13697 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13698 defined.
13699 * string/test-memset.c: Support bzero test if TEST_BZERO is
13700 defined.
13701 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13702 __libc_memmove.
13703 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13704 __libc_memset.
13705 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13706 of memset.
13707
472371b9
JM
137082012-10-10 Joseph Myers <joseph@codesourcery.com>
13709
1e4a9536
JM
13710 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13711 * configure: Regenerated.
13712
d173d12e
JM
13713 * Makeconfig (+link-static-before-libc): Don't include
13714 $(link-static-libc).
13715
472371b9
JM
13716 * libio/libio.h (_IO_pos_t): Remove.
13717
89a3ad0b
AO
137182012-10-10 Alexandre Oliva <aoliva@redhat.com>
13719
13720 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13721 McGrath.
13722
e7451425
AO
137232012-10-10 Alexandre Oliva <aoliva@redhat.com>
13724
13725 * crypt/crypt-entry.c: Include fips-private.h.
13726 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13727 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13728 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13729 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13730
4ba74a35
AO
137312012-10-10 Alexandre Oliva <aoliva@redhat.com>
13732
13733 * crypt/crypt-private.h: Include stdbool.h.
13734 (_ufc_setup_salt_r): Return bool.
13735 * crypt/crypt-entry.c: Include errno.h.
13736 (__crypt_r): Return NULL with EINVAL for bad salt.
13737 * crypt/crypt_util.c (bad_for_salt): New.
13738 (_ufc_setup_salt_r): Check that salt is long enough and within
13739 the specified alphabet.
13740 * crypt/badsalttest.c: New file.
13741 * crypt/Makefile (tests): Add it.
13742 ($(objpfx)badsalttest): New.
13743
f96f1242
MK
137442012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13745
13746 * NEWS: Add entry for BZ #14602.
13747
0e8e0c1c
JM
137482012-10-09 Joseph Myers <joseph@codesourcery.com>
13749
13750 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13751 type-generic.
13752 * math/libm-test.inc: Update comment listing what functions and
13753 macros are tested.
13754 (isgreater_test): New function.
13755 (isgreaterequal_test): Likewise.
13756 (isless_test): Likewise.
13757 (islessequal_test): Likewise.
13758 (islessgreater_test): Likewise.
13759 (isunordered_test): Likewise.
13760 (main): Call the new functions.
13761
273edc5e
RM
137622012-10-09 Roland McGrath <roland@hack.frob.com>
13763
b8493de0
RM
13764 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13765 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13766 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13767 * sysdeps/i386/configure: Regenerated.
13768 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13769 * sysdeps/mach/configure: Regenerated.
13770 * sysdeps/mach/hurd/configure: Regenerated.
13771 * sysdeps/powerpc/configure: Regenerated.
13772 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13773 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13774 * sysdeps/s390/s390-32/configure: Regenerated.
13775 * sysdeps/s390/s390-64/configure: Regenerated.
13776 * sysdeps/sh/configure: Regenerated.
13777 * sysdeps/sparc/configure: Regenerated.
13778 * sysdeps/unix/sysv/linux/configure: Regenerated.
13779 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13780 * sysdeps/x86_64/configure: Regenerated.
13781
273edc5e
RM
13782 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13783 defined. Don't check if MAP is NULL.
13784
c8450f70
JM
137852012-10-09 Joseph Myers <joseph@codesourcery.com>
13786
13787 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13788 (_G_stat64): Likewise.
13789 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13790 (_G_stat64): Likewise.
13791 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13792 instead of struct _G_stat64.
13793 * libio/fileops.c (mmap_remap_check): Likewise.
13794 (decide_maybe_mmap): Likewise.
13795 (_IO_new_file_seekoff): Likewise.
13796 (_IO_file_stat): Likewise.
13797 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13798 _G_off64_t.
13799 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13800 instead of struct _G_stat64.
13801 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13802
57e605ba
MK
138032012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13804
13805 [BZ #14602]
13806 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13807 Replace with ...
13808 (CHECK_EOL): New macro.
13809 (two_way_short_needle): Check beginning of haystack for EOL. Use
13810 CHECK_EOL.
13811 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13812 Replace with CHECK_EOL.
13813 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13814 Replace with CHECK_EOL.
13815
ef1bb361
JM
138162012-10-08 Joseph Myers <joseph@codesourcery.com>
13817
13818 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13819 type-generic.
13820 * math/libm-test.inc: Update comment listing what functions and
13821 macros are tested.
13822 (finite_test): New function.
13823 (isinf_test): Likewise.
13824 (isnan_test): Likewise.
13825 (fpclassify_test): Test subnormal input.
13826 (isfinite_test): Likewise.
13827 (isnormal_test): Likewise.
13828 (main): Call the new functions.
13829
55f11534
JN
138302012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13831
13832 [BZ #14660]
13833 * Makerules (%.dynsym): Force C locale when running
13834 $(OBJDUMP) --dynamic-syms.
13835
1ab29350
AS
138362012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13837
13838 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13839 <stdint.h>.
13840
f1ecb7ef
DM
138412012-10-06 David S. Miller <davem@davemloft.net>
13842
13843 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13844 upper 32-bits of the length value in %o2 since we use branch-on-register
13845 tests which consider the entire 64-bit register.
13846
5d41d91a
L
138472012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13848
13849 * string/test-strstr.c (check2): Add a test for page boundary.
13850
3baddb72
DM
138512012-10-05 David S. Miller <davem@davemloft.net>
13852
13853 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13854 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13855 file.
13856 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13857 sysdep_routines.
13858 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13859 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13860 and bzero when HWCAP_SPARC_CRYPTO is present.
13861
9cee5585
L
138622012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13863
d7e0dab9
L
13864 [BZ #14602]
13865 * string/test-strstr.c (check2): New function.
13866 (test_main): Call check2.
13867
03759f47
L
13868 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13869 and bug-strchr1.
13870 * string/bug-strcasestr1.c (do_test): Moved to ...
13871 * string/test-strcasestr.c (check1): Here. New function.
13872 (do_one_test): Break out result checking code into ...
13873 (check_result): This. New function.
13874 (do_one_test): Call check_result.
13875 (test_main): Call check1.
13876 * string/bug-strchr1.c (do_test): Moved to ...
13877 * string/test-strchr.c (check1): Here. New function.
13878 (do_one_test): Break out result checking code into ...
13879 (check_result): This. New function.
13880 (do_one_test): Call check_result.
13881 (test_main): Call check1.
13882 * string/bug-strstr1.c (main): Moved to ...
046f153e 13883 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13884 (do_one_test): Break out result checking code into ...
13885 (check_result): This. New function.
13886 (do_one_test): Call check_result.
13887 (test_main): Call check1.
13888 * string/bug-strcasestr1.c: Removed.
13889 * string/bug-strchr1.c: Likewise.
13890 * string/bug-strstr1.c: Likewise.
13891
53cea63e
L
13892 * elf/Makefile (dl-routines): Add hwcaps.
13893 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13894 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13895 (_dl_important_hwcaps): Moved to ...
13896 * elf/dl-hwcaps.c: Here. New file.
13897 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13898
9cee5585 13899 [BZ #14557]
bb859b06
L
13900 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13901 if IS_IN_rtld isn't defined.
13902
9cee5585
L
13903 * elf/dl-support.c (_dl_sysinfo_map): New.
13904 Include "get-dynamic-info.h" and "setup-vdso.h".
13905 (_dl_non_dynamic_init): Call setup_vdso.
13906 * elf/dynamic-link.h: Don't include <assert.h>.
13907 (elf_get_dynamic_info): Moved to ...
13908 * elf/get-dynamic-info.h: Here. New file.
13909 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13910 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13911 * elf/setup-vdso.h: Here. New file.
13912 * elf/rtld.c: Include "setup-vdso.h".
13913 (dl_main): Call setup_vdso.
13914
23c31b76
JM
139152012-10-05 Joseph Myers <joseph@codesourcery.com>
13916
28234b07
JM
13917 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13918 creal in comment listing functions tested. List finite, isinf,
13919 isnan, isless, islessequal, isgreater, isgreaterequal,
13920 islessgreater, isunordered, lgamma_r and pow10 as functions and
13921 macros not tested. Mention which functions not tested are aliases
13922 for other functions. Fix typo. Note that signs of NaNs are not
13923 tested.
13924
23c31b76
JM
13925 * scripts/config.guess: Update from config.git.
13926 * scripts/config.sub: Likewise.
13927
9043e228
RM
139282012-10-04 Roland McGrath <roland@hack.frob.com>
13929
13930 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13931 * misc/madvise.c (madvise): Renamed to __madvise.
13932 Make madvise a weak alias.
13933 * include/sys/mman.h: Declare __madvise.
13934 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13935 * sysdeps/unix/syscalls.list
13936 (madvise): Make __madvise the strong name, and madvise a weak alias.
13937 * sysdeps/unix/sysv/linux/syscalls.list
13938 (madvise, mmap): Remove redundant entries.
13939 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13940 * malloc/malloc.c (mtrim): Likewise.
13941 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13942
f57f8055
RM
139432012-10-03 Roland McGrath <roland@hack.frob.com>
13944
13945 * sysdeps/mach/hurd/dl-cache.c: File removed.
13946 * config.h.in (USE_LDCONFIG): New #undef.
13947 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13948 * configure: Regenerated.
13949 * elf/Makefile (dl-routines): Add dl-cache only under
13950 [$(use-ldconfig) = yes].
13951 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13952 cache on [USE_LDCONFIG].
13953 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13954 [USE_LDCONFIG].
13955 * elf/rtld.c (dl_main): Likewise.
13956
5bb0c10a
PT
139572012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13958
13959 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13960 _SC_LEVEL4_CACHE_LINESIZE.
13961
010188c6
RM
139622012-10-03 Roland McGrath <roland@hack.frob.com>
13963
13964 * sysdeps/unix/bsd/confstr.h: File removed.
13965
b6c5ec07
AO
139662012-10-02 Alexandre Oliva <aoliva@redhat.com>
13967
13968 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13969 sys/sdt-config.h.
13970
408223d4
RM
139712012-10-02 Roland McGrath <roland@hack.frob.com>
13972
13973 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13974 Make 'mapoff' field ElfW(Off) rather than off_t.
13975
bb9510dc
DL
139762012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13977
fc997c6e
DL
13978 * nscd/Makefile: Remove nscd-cflags and all its users.
13979 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13980 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13981
bb9510dc
DL
13982 [BZ #10631]
13983 * malloc.c (malloc_printerr): Clarify error message.
13984
05699367
L
139852012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13986
13987 [BZ #14648]
13988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13989 Set bit_FMA_Usable if FMA is supported.
13990 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13991 macro.
13992 (bit_FMA4_Usable): Updated.
13993 (index_FMA_Usable): New macro.
13994 (CPUID_FMA): Likewise
13995 (HAS_FMA): Defined with bit_FMA_Usable.
13996
51367701
RM
139972012-10-01 Roland McGrath <roland@hack.frob.com>
13998
13999 * bits/types.h (__swblk_t): Type removed.
14000 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14001 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14002 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14003 (__SWBLK_T_TYPE): Likewise.
14004 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14005 (__SWBLK_T_TYPE): Likewise.
14006 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14007 (__SWBLK_T_TYPE): Likewise.
14008 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14009 (__SWBLK_T_TYPE): Likewise.
14010
4d57bf63 140112012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 14012 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
14013
14014 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14015 (xdr_mapname): Use YPMAXMAP as maxsize.
14016 (xdr_peername): Use YPMAXPEER as maxsize.
14017 (xdr_keydat): Use YPAXRECORD as maxsize.
14018 (xdr_valdat): Use YPMAXRECORD as maxsize.
14019
93c65d43
RM
140202012-10-01 Roland McGrath <roland@hack.frob.com>
14021
497a03d6
RM
14022 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14023
93c65d43
RM
14024 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14025 * csu/init-first.c: ... here.
14026 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14027 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14028 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14029 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14030 * sysdeps/i386/init-first.c: File removed.
14031 * sysdeps/sh/init-first.c: File removed.
14032
bec749fd
JM
140332012-10-01 Joseph Myers <joseph@codesourcery.com>
14034
14035 [BZ #14645]
14036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14037 if x * y might underflow to zero and z is zero.
14038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14040 * math/libm-test.inc (min_subnorm_value): New variable.
14041 (fma_test): Add more tests.
14042 (fma_test_towardzero): Likewise.
14043 (fma_test_downward): Likewise
14044 (fma_test_upward): Likewise.
14045 (initialize): Set min_subnorm_value.
14046
8ec5b013
JM
140472012-09-29 Joseph Myers <joseph@codesourcery.com>
14048
14049 [BZ #14638]
14050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14051 0 + 0.
14052 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14053 mode for addition resulting in exact zero.
14054 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14055 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14056 exact 0 + 0.
14057 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14058 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14059 * math/libm-test.inc (fma_test): Add more tests.
14060 (fma_test_towardzero): New function.
14061 (fma_test_downward): Likewise.
14062 (fma_test_upward): Likewise.
14063 (main): Call the new functions.
14064
b1fa802e
DM
140652012-09-28 David S. Miller <davem@davemloft.net>
14066
14067 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14068
d3b9fd9e
RM
140692012-09-28 Roland McGrath <roland@hack.frob.com>
14070
ea4d37b3
RM
14071 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14072 instead of SIGALRM.
14073
ac51c949
RM
14074 * sysdeps/gnu/_G_config.h: Moved to ...
14075 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14076 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14077 * sysdeps/generic/_G_config.h: ... here.
14078
28c195f7
RM
14079 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14080
848917f9
RM
14081 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14082
6bacf05b
RM
14083 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14084 Conditionalize target on [libnss_test1.so-version].
14085
91363dbb
RM
14086 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14087
cc87f7d8
RM
14088 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14089 (elfobjdir): Move out of conditionals.
14090
b1c608fe
RM
14091 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14092 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14093 (__nss_lookup_function): Conditionalize label remove_from_tree on
14094 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 14095
1d9a6d96
DM
140962012-09-28 David S. Miller <davem@davemloft.net>
14097
14098 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14099 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14100 file.
14101 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14102 sysdep_routines.
14103 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14104 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14105 when HWCAP_SPARC_CRYPTO is present.
14106
72581615
PT
141072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14108
14109 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14110
715a900c
JL
141112012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14112
14113 [BZ #6530]
14114 * stdio-common/vfprintf.c (process_string_arg): Revert
14115 2000-07-22 change.
14116
141172011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14118
14119 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14120 for testcase.
14121 * stdio-common/tst-sprintf.c: Include <locale.h>
14122 (main): Test sprintf's handling of incomplete multibyte
14123 characters.
14124
9bac1d86
L
141252012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14126
14127 * elf/dl-runtime.c (VERSYMIDX): Removed.
14128 * elf/dl-version.c (VERSYMIDX): Likewise.
14129 * elf/do-rel.h (VERSYMIDX): Likewise.
14130 (VALIDX): Likewise.
14131 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14132 * elf/rtld.c (VALIDX): Likewise.
14133 (ADDRIDX): Likewise.
9bac1d86
L
14134 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14135 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14136 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
14137 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14138 (VALIDX): Likewise.
14139 (ADDRIDX): Likewise.
9bac1d86 14140
b31606c0
PT
141412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14142
14143 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14144
11541177
JL
141452012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14146
14147 [BZ #11438]
14148 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14149 to global scope.
14150 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14151 addresses are in the same scope as 192.0.2/24.
14152 * posix/gai.conf: Document new scope table defaults.
14153
adb26fae
SP
141542012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14155
14156 [BZ #5298]
14157 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14158 for ftell. Compute offsets from write pointers instead.
14159 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14160
4573c6b0
SP
141612012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14162
14163 [BZ #14543]
14164 * libio/Makefile (tests): New test case tst-fseek.
14165 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14166 combination works in wide mode.
14167 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14168 state when the external buffer state changes.
14169
aa9bbfe6
DM
141702012-09-27 David S. Miller <davem@davemloft.net>
14171
14172 [BZ #14376]
14173 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14174 pass reloc->r_addend in as the 'high' argument to
14175 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14176
784421e7
DM
14177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14178
c39bc8b8
PT
141792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14180
14181 * rt/tst-aio2.c: Include <pthread.h>.
14182 * rt/tst-aio3.c: Likewise.
14183
1ccc2399
SE
141842012-09-27 Steve Ellcey <sellcey@mips.com>
14185
14186 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14187
31ed4153
L
141882012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14189
25f5f885
L
14190 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14191 contents on [SHARED].
31ed4153 14192
b7bfe116
MP
141932012-09-26 Marek Polacek <polacek@redhat.com>
14194
14195 [BZ #14530]
14196 [BZ #13741]
14197 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14198 for C++ and GCC <4.3 as well as for non GCC compilers.
14199
43c4edba
MT
142002012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14201
14202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14203
6a1bf82f
RM
142042012-09-25 Roland McGrath <roland@hack.frob.com>
14205
14206 * Makefile.in (all, install): Declare with .PHONY.
14207 Reported by Michael Hope <michael.hope@linaro.org>.
14208
8ad11b9a
TMQMF
142092012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14210
14211 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14212 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14213 system header.
14214 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14215 Likewise.
14216 (sydep_routines): Add the new and the internal functions.
14217 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14218 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14220 (GLIBC_2.17): Add the new function.
14221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14222 (GLIBC_2.17): Likewise.
14223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14224 (GLIBC_2.17): Likewise.
14225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14226 (GLIBC_2.17): Likewise.
14227 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14228
7e2fca8d
AM
142292012-09-25 Alan Modra <amodra@gmail.com>
14230
14231 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14232 Add release barrier before setting once_control to say
14233 initialisation is done. Add hints on lwarx. Use macro in
14234 place of isync.
14235 (clear_once_control): Add release barrier.
14236
b87c4b24
JM
142372012-09-25 Joseph Myers <joseph@codesourcery.com>
14238
d032e0d2
JM
14239 [BZ #13629]
14240 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14241 specially.
14242 * math/s_clog10.c (__clog10): Likewise.
14243 * math/s_clog10f.c (__clog10f): Likewise.
14244 * math/s_clog10l.c (__clog10l): Likewise.
14245 * math/s_clogf.c (__clogf): Likewise.
14246 * math/s_clogl.c (__clogl): Likewise.
14247 * math/Makefile (libm-calls): Add x2y2m1.
14248 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14249 (__x2y2m1): Likewise.
14250 (__x2y2m1l): Likewise.
14251 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14252 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14253 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14254 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14255 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14256 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14257 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14258 * sysdeps/i386/fpu/libm-test-ulps: Update.
14259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14260
b87c4b24
JM
14261 [BZ #14621]
14262 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14263 int as type of variable DEPTH.
14264 (glob): Use size_t instead of int as type of variables NEWCOUNT
14265 and OLD_PATHC.
14266
6d3bf199
LD
142672012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14268
22bf5c17
LD
14269 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14270 Add s_sincosf-sse2.
14271 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14272 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14273 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14274 macros for using routine as __sincosf_ia32.
14275 Use macro for function declaration and weak_alias.
14276 * sysdeps/i386/fpu/libm-test-ulps: Update.
14277
14278 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14280
14281 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
14282 subnormal argument.
14283 * math/s_cexpf.c (__cexpf): Likewise.
14284 * math/s_csinf.c (__csinf): Likewise.
14285 * math/s_csinhf.c (__csinhf): Likewise.
14286 * math/s_ctanf.c (__ctanf): Likewise.
14287 * math/s_ctanhf.c (__ctanhf): Likewise.
14288 * math/s_ccosh.c (__ccoshf): Likewise.
14289 * math/s_cexp.c (__cexpl): Likewise.
14290 * math/s_csin.c (__csin): Likewise.
14291 * math/s_csinh.c (__csinh): Likewise.
14292 * math/s_ctan.c (__ctan): Likewise.
14293 * math/s_ctanh.c (ctanh): Likewise.
14294 * math/s_ccoshl.c (__ccoshl): Likewise.
14295 * math/s_cexpl.c (__cexpl): Likewise.
14296 * math/s_csinl.c (__csinl): Likewise.
14297 * math/s_csinhl.c (__csinhl): Likewise.
14298 * math/s_ctanl.c (__ctanl): Likewise.
14299 * math/s_ctanhl.c (__ctanhl): Likewise.
14300
203e5603
JM
143012012-09-25 Joseph Myers <joseph@codesourcery.com>
14302
14303 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14304 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14305 (_IO_off_t): Define to __off_t, not _G_off_t.
14306 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14307 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14308 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14309 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14310 type of __dummy and __dummy2 fields.
14311 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14312 (_G_ssize_t): Likewise.
14313 (_G_off_t): Likewise.
14314 (_G_pid_t): Likewise.
14315 (_G_uid_t): Likewise.
14316 (_G_wchar_t): Likewise.
14317 (_G_wint_t): Likewise.
14318 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14319 (_G_ssize_t): Likewise.
14320 (_G_off_t): Likewise.
14321 (_G_pid_t): Likewise.
14322 (_G_uid_t): Likewise.
14323 (_G_wchar_t): Likewise.
14324 (_G_wint_t): Likewise.
14325 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14326 (_G_ssize_t): Likewise.
14327 (_G_off_t): Likewise.
14328 (_G_pid_t): Likewise.
14329 (_G_uid_t): Likewise.
14330 (_G_wchar_t): Likewise.
14331 (_G_wint_t): Likewise.
14332
9fab36eb
SP
143332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14334
14335 * malloc/arena.c: Include malloc-sysdep.h.
14336 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14337 is sufficient to shrink the heap or an unmap is needed.
14338 * sysdeps/generic/malloc-sysdep.h: New file. Define
14339 new function check_may_shrink_heap.
14340 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14341 new function check_may_shrink_heap.
14342
2b4f00d1
SP
143432012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14344
14345 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14346 comments.
14347
9a9028b1
DL
143482012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14349
57c69bef
DL
14350 * catgets/test-gencat.sh: Add "set -e".
14351 * elf/tst-pathopt.sh: Likewise.
14352 * grp/tst_fgetgrent.sh: Likewise.
14353 * iconvdata/run-iconv-test.sh: Likewise.
14354 * intl/tst-gettext.sh: Likewise.
14355 * intl/tst-gettext2.sh: Likewise.
14356 * intl/tst-gettext4.sh: Likewise.
14357 * intl/tst-gettext6.sh: Likewise.
14358 * intl/tst-translit.sh: Likewise.
14359 * io/ftwtest-sh: Likewise.
14360 * libio/test-freopen.sh: Likewise.
14361 * malloc/tst-mtrace.sh: Likewise.
14362 * posix/globtest.sh: Likewise.
14363 * posix/tst-getconf.sh: Likewise.
14364 * posix/wordexp-tst.sh: Likewise.
14365 * stdio-common/tst-printf.sh: Likewise.
14366 * stdio-common/tst-unbputc.sh: Likewise.
14367 * stdlib/tst-fmtmsg.sh: Likewise.
14368 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14369 * catgets/Makefile: Do not specify -e option when running
14370 testsuite shell scripts.
14371 * elf/Makefile: Likewise.
14372 * grp/Makefile: Likewise.
14373 * iconvdata/Makefile: Likewise.
14374 * intl/Makefile: Likewise.
14375 * io/Makefile: Likewise.
14376 * libio/Makefile: Likewise.
14377 * malloc/Makefile: Likewise.
14378 * posix/Makefile: Likewise.
14379 * stdio-common/Makefile: Likewise.
14380 * stdlib/Makefile: Likewise.
14381 * sysdeps/x86_64/Makefile: Likewise.
14382
9a9028b1
DL
14383 * io/ftwtest-sh: Add copyright header.
14384 * posix/globtest.sh: Likewise.
14385 * posix/tst-getconf.sh: Likewise.
14386 * posix/wordexp-tst.sh: Likewise.
14387 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14388
ced6f16e
L
143892012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14390
94b32c39
L
14391 [BZ #13679]
14392 * Makeconfig (+link): Defined as $(+link-static) if
14393 $(build-shared) isn't yes.
14394 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14395 isn't yes.
14396 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14397
189e935b
L
14398 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14399
ced6f16e
L
14400 [BZ #14562]
14401 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14402 new chunk size with MALLOC_ALIGN_MASK.
14403
a9f8e53a
JM
144042012-09-24 Joseph Myers <joseph@codesourcery.com>
14405
14406 [BZ #5044]
14407 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14408 <rounding-mode.h>.
14409 (__printf_fphex): Determine rounding using get_rounding_mode and
14410 round_away.
14411 * stdio-common/tst-printf-round.c (struct hex_test): New
14412 structure.
14413 (hex_tests): New variable.
14414 (test_hex_in_one_mode): New function.
14415 (do_test): Also run tests for hex float output.
14416
43153109
JM
144172012-09-21 Joseph Myers <joseph@codesourcery.com>
14418
14419 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14420 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14421 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14422 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14423 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14424 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14425 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14426 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14427
8a26625d
JM
144282012-09-20 Joseph Myers <joseph@codesourcery.com>
14429
14430 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14431 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14432 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14433 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14434
f3fd569c
DL
144352012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14436
14437 [BZ #14579]
14438 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14439 mode only.
14440 * elf/tst-rtld-load-self.sh: New test.
14441 * elf/Makefile: Run it.
14442
63bbedd4
JM
144432012-09-18 Joseph Myers <joseph@codesourcery.com>
14444
14445 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14446 (tst-writev-ENV): Remove.
14447 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14448
626f8b6a
CM
144492012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14450
14451 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14452
b7aaa4d6
JM
144532012-09-17 Joseph Myers <joseph@codesourcery.com>
14454
14455 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14456 unconditional.
14457 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14458 Likewise.
14459 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14460 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14461 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14462 Likewise.
14463
65513990
L
144642012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14465
14466 [BZ #14587]
14467 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14468 * config.make.in (have-cpp-asm-debuginfo): Removed.
14469 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14470 * configure: Regenerated.
14471
784761be
JM
144722012-09-14 Joseph Myers <joseph@codesourcery.com>
14473
14474 [BZ #5044]
14475 * stdio-common/printf_fp.c: Include <stdbool.h> and
14476 <rounding-mode.h>.
14477 (___printf_fp): Determine rounding using get_rounding_mode and
14478 round_away.
14479 * stdio-common/tst-printf-round.c: New file.
14480 * stdio-common/Makefile (tests): Add tst-printf-round.
14481 (link-libm): New variable.
14482 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14483
9503345f
L
144842012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14485
14486 [BZ #14576]
14487 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14488 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14489 Likewise.
14490 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14491 Likewise.
14492
ad35fc00
JM
144932012-09-13 Joseph Myers <joseph@codesourcery.com>
14494
14495 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14496 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14497 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14498 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14499
6c9b0f68
JM
145002012-09-12 Joseph Myers <joseph@codesourcery.com>
14501
14502 [BZ #14518]
14503 * include/rounding-mode.h: New file.
14504 * sysdeps/generic/get-rounding-mode.h: Likewise.
14505 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14506 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14507 (MAX_VALUE): New macro.
14508 (MIN_VALUE): Likewise.
14509 (overflow_value): New function.
14510 (underflow_value): Likewise.
14511 (round_and_return): Use overflow_value and underflow_value to
14512 determine return values in overflow and underflow cases. Use
14513 round_away to determine rounding depending on rounding mode.
14514 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14515 determine return values in overflow and underflow cases.
14516 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14517 (struct test_results): New structure.
14518 (struct test): Use struct test_results to store expected results
14519 for all rounding modes.
14520 (TEST): Include expected results for all rounding modes.
14521 (test_in_one_mode): New function.
14522 (do_test): Use test_in_one_mode to compute and check results.
14523 Check results for all rounding modes.
14524 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14525 $(link-libm).
14526
19fcedd5
AM
145272012-12-09 Allan McRae <allan@archlinux.org>
14528
1e9d84cd 14529 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14530
8bbfd2f1
JM
145312012-09-11 Joseph Myers <joseph@codesourcery.com>
14532
14533 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14534 (_G_int32_t): Likewise.
14535 (_G_uint16_t): Likewise.
14536 (_G_uint32_t): Likewise.
14537 (_G_HAVE_BOOL): Likewise.
14538 (_G_HAVE_ATEXIT): Likewise.
14539 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14540 (_G_HAVE_IO_FILE_OPEN): Likewise.
14541 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14542 (_G_int32_t): Likewise.
14543 (_G_uint16_t): Likewise.
14544 (_G_uint32_t): Likewise.
14545 (_G_HAVE_BOOL): Likewise.
14546 (_G_HAVE_ATEXIT): Likewise.
14547 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14548 (_G_HAVE_IO_FILE_OPEN): Likewise.
14549 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14550 (_G_int32_t): Likewise.
14551 (_G_uint16_t): Likewise.
14552 (_G_uint32_t): Likewise.
14553 (_G_HAVE_BOOL): Likewise.
14554 (_G_HAVE_ATEXIT): Likewise.
14555 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14556 (_G_HAVE_IO_FILE_OPEN): Likewise.
14557
b1dc5912
L
145582012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14559
14560 * csu/libc-tls.c: Update copyright years.
14561
0e886ef9
JM
145622012-09-10 Joseph Myers <joseph@codesourcery.com>
14563
28361c5e
JM
14564 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14565 [!_G_USING_THUNKS]: Remove conditional code.
14566 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14567 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14568
0e886ef9
JM
14569 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14570 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14571 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14572 (_G_VTABLE_LABEL_PREFIX): Likewise.
14573 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14574 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14575 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14576 (_G_VTABLE_LABEL_PREFIX): Likewise.
14577 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14578 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14579 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14580 (_G_VTABLE_LABEL_PREFIX): Likewise.
14581 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14582
bcba7aa2
L
145832012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14584
14585 * libio/Makefile: Include ../Makeconfig before tests.
14586 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14587 only if $(build-shared) is yes.
14588
06585ee8
L
14589 * iconv/gconv_db.c: Update copyright years.
14590
80ccd52c
LD
145912012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14592
14593 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14594 unwind info if defined PIC. Fix special cases description.
14595 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14596
14597 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14598 DP_HI_MASK entry.
14599 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14600
691bc9c1
L
146012012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14602
3d9b46b3
L
14603 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14604
de2139a9
L
14605 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14606 is NULL.
14607
5ca78dd0
L
14608 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14609 (LDLIBS-tst-chk4): This.
14610 (LDFLAGS-tst-chk5): Renamed to ...
14611 (LDLIBS-tst-chk5): This.
14612 (LDFLAGS-tst-chk6): Renamed to ...
14613 (LDLIBS-tst-chk6): This.
14614 (LDFLAGS-tst-lfschk4): Renamed to ...
14615 (LDLIBS-tst-lfschk4): This.
14616 (LDFLAGS-tst-lfschk5): Renamed to ...
14617 (LDLIBS-tst-lfschk5): This.
14618 (LDFLAGS-tst-lfschk6): Renamed to ...
14619 (LDLIBS-tst-lfschk6): This.
14620
691bc9c1
L
14621 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14622 on $(common-objpfx)soversions.mk.
14623
65cafb1c
JM
146242012-09-07 Joseph Myers <joseph@codesourcery.com>
14625
14626 [BZ #10014]
14627 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14628 example host name.
14629
c78ab094
SP
146302012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14631
14632 * malloc/arena.c (arena_get_retry): New function that gets
14633 another arena for the caller to try its request on.
14634 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14635 current arena cannot fulfill the request.
14636 (__libc_memalign): Likewise.
14637 (__libc_memalign): Likewise.
14638 (__libc_pvalloc): Likewise.
14639 (__libc_calloc): Likewise.
14640
01f49f59
JT
146412012-09-05 John Tobey <john.tobey@gmail.com>
14642
14643 [BZ #13542]
14644 * manual/arith.texi (Operations on Complex): Fix description
14645 of carg branch cut.
14646
4c23fed5
JM
146472012-09-06 Joseph Myers <joseph@codesourcery.com>
14648
1d3c8572
JM
14649 [BZ #10014]
14650 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14651 host name.
14652
4c23fed5
JM
14653 [BZ #10038]
14654 * manual/memory.texi (Memory): Make order of menu items match
14655 order of sections.
14656
04570aaa
L
146572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14658
14659 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14660 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14661 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14662
b80af2f4
L
146632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14664
14665 * csu/libc-tls.c (static_dtv): Renamed to ...
14666 (_dl_static_dtv): This. Make it global.
14667 (_dl_initial_dtv): Removed.
14668 (__libc_setup_tls): Updated.
14669 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14670 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14671 DL_INITIAL_DTV.
14672
2abe9f15
PM
146732012-09-06 Petr Machata <pmachata@redhat.com>
14674
14675 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14676 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14677 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14678 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14679
0948c3af
L
146802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14681
14682 [BZ #14545]
14683 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14684 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14685 freeing dtv[-1].
14686
a5055ad1
L
146872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14688
14689 [BZ #14544]
14690 * Makeconfig (link-static-before-libc): Replace $(+prector)
14691 with $(+prectorT).
14692 (link-static-after-libc): Replace $(+postctor) with
14693 $(+postctorT).
14694 (link-bounded): Replace $(+prector)/$(+postctor) with
14695 $(+prectorT)/$(+postctorT).
14696 (+prectorT): New macro.
14697 (+postctorT): Likewise.
14698
ed8c2ecd
JM
146992012-09-06 Joseph Myers <joseph@codesourcery.com>
14700
14701 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14702 (round_str): Handle values above the maximum for IBM long double
14703 as inexact.
14704 * stdlib/tst-strtod-round.c (tests): Regenerated.
14705
14c996c8
AK
147062012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14707
14708 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14709 assembler flag.
14710 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14711 zarch_nohighgprs around the zarch optimized routines.
14712 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14713 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14714 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14715 for zarch.
14716
430d6ce6
DM
147172012-09-05 David S. Miller <davem@davemloft.net>
14718
14719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14720
ff04dda4
DM
14721 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14722 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14723 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14724 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14725 entries.
14726
24d4e01b
AO
147272012-09-05 Alexandre Oliva <aoliva@redhat.com>
14728
14729 * malloc/arena.c: Fold copyright years.
14730 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14731
61d58174
AO
147322012-09-05 Alexandre Oliva <aoliva@redhat.com>
14733
14734 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14735
20196a5e
AO
147362012-09-05 Alexandre Oliva <aoliva@redhat.com>
14737
14738 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14739
5c447383
AO
147402012-09-05 Alexandre Oliva <aoliva@redhat.com>
14741
14742 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14743 change internal state upon failure.
14744
fad64255
AO
147452012-09-05 Alexandre Oliva <aoliva@redhat.com>
14746
14747 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14748 * malloc/memusage.c (mmap): Likewise.
14749 (mmap64, mremap): Likewise. Adjust name in comment.
14750
1ffb8c90
SP
147512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14752
14753 * libio/fileops.c: Fix typos in comments.
14754 * libio/oldfileops.c: Likewise.
14755 * libio/wfileops.c: Likewise.
14756
6ef9cc37
SP
147572012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14758
14759 [BZ #1349]
14760 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14761 (tst-malloc-usable-ENV): Set environment for test case.
14762 * malloc/hooks.c (malloc_check_get_size): New function to get
14763 requested size.
14764 * malloc/malloc.c (musable): Use malloc_check_get_size.
14765 * malloc/tst-malloc-usable.c: New test case.
14766
4d038ae3
AS
147672012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14768
14769 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14770
c4e85184
AM
147712012-09-05 Allan McRae <allan@archlinux.org>
14772
b9dafc56 14773 [BZ #13966]
c4e85184
AM
14774 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14775 determine header location.
14776 * configure: Regenerated.
14777
e1343020
AS
147782012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14779
14780 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14781 float format.
14782 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14783 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14784 format.
e1343020
AS
14785 (test): Regenerate.
14786
0a9f1987
DM
147872012-09-04 David S. Miller <davem@davemloft.net>
14788
14789 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14790 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14791 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14792
29237804
FW
147932012-09-04 Florian Weimer <fweimer@redhat.com>
14794
14795 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14796 failures.
14797
edb3cb88
FW
14798 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14799
60160d83
JM
148002012-09-04 Joseph Myers <joseph@codesourcery.com>
14801
14802 [BZ #9914]
14803 * libio/iogetdelim.c: Include <limits.h>.
14804 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14805 + len + 1 would overflow.
14806
bcd6c8dc
AJ
148072012-09-03 Andreas Jaeger <aj@suse.de>
14808
14809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14810 * sysdeps/i386/fpu/libm-test-ulps: Update.
14811
4ffffbd2
LD
148122012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14813
14814 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14815 Add s_sinf-sse2, s_conf-sse2.
14816
14817 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14818 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14819 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14820 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14821
14822 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14823 for using routine as __sinf_ia32.
14824 Use macro for function declaration and weak_alias.
14825 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14826 for using routine as __cosf_ia32.
14827 Use macro for function declaration and weak_alias.
14828
14829 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14830 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14831
14832 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14833 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14835
14836 * math/libm-test.inc (cos_test): Add more test cases.
14837 (sin_test): Likewise.
14838 (sincos_test): Likewise.
14839
511fa286
AK
148402012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14841
14842 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14843 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14844 hidden.
14845 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14846
5f30cfec
L
148472012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14848
14849 [BZ #14538]
14850 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14851 first element of the GOT.
14852 (elf_machine_load_address): Return the difference between
14853 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14854
0786794f
AM
148552012-09-01 Allan McRae <allan@archlinux.org>
14856
5f30cfec
L
14857 [BZ #13412]
14858 * configure.in (AWK): Require gawk version 3.0 or later.
14859 * configure: Regenerated.
0786794f 14860
26889eac
JM
148612012-09-01 Joseph Myers <joseph@codesourcery.com>
14862
14863 * sysdeps/unix/sysv/linux/kernel-features.h
14864 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14865 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14866 [__NR_clock_getres]: Make code unconditional.
14867 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14868 (clock_getcpuclockid): Remove code left unreachable by removal of
14869 conditionals.
14870 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14871 code unconditional.
14872 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14873 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14874 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14875 Make code unconditional.
14876 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14877 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14878 * sysdeps/unix/sysv/linux/clock_settime.c
14879 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14880 conditional code.
14881 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14882 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14883
d22e28b0
L
148842012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14885
14886 [BZ #14476]
14887 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14888 scripts/test-installation.pl.
14889
14890 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14891 and $ld_so_version if it is set.
14892
050af9c4
SP
148932012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14894
14895 [BZ #14516]
14896 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14897 failure if reading from procfs failed.
14898 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14899
ad845c0b
JM
149002012-08-27 Joseph Myers <joseph@codesourcery.com>
14901
14902 * sysdeps/unix/sysv/linux/kernel-features.h
14903 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14904 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14905 Remove conditional code.
14906 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14907 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14908 Remove conditional code.
14909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14910 * sysdeps/unix/sysv/linux/i386/fxstat.c
14911 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14913 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14914 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14915 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14916 * sysdeps/unix/sysv/linux/i386/lxstat.c
14917 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14918 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14919 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14920 Remove conditional code.
14921 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14922 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14923 Remove conditional code.
14924 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14925 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14926 <kernel-features.h>.
14927 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14928 Remove.
14929 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14930 Remove conditional code.
14931 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14932 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14933 Remove conditional.
14934
5dbf56af
MF
149352012-08-27 Mike Frysinger <vapier@gentoo.org>
14936
14937 [BZ #5400]
14938 * NEWS: Add fixed bug number.
14939
d6e70f43
JM
149402012-08-27 Joseph Myers <joseph@codesourcery.com>
14941
7efb4737
JM
14942 [BZ #14519]
14943 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14944 underflowing exponent in case of negative sign.
14945 * stdlib/tst-strtod-round-data: Add more tests.
14946 * stdlib/tst-strtod-round.c (tests): Regenerated.
14947
af92131a
JM
14948 [BZ #3479]
14949 * stdlib/strtod_l.c (NDIG): Remove.
14950 (HEXNDIG): Likewise.
14951 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14952 smallest representable value.
14953 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14954 lie within an exact representation of 1/2 ulp of the result.
14955 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14956 unconditionally.
14957 (TENS_P9_IDX): Define unconditionally.
14958 (TENS_P9_SIZE): Likewise.
14959 (TENS_P10_IDX): Likewise.
14960 (TENS_P10_SIZE): Likewise.
14961 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14962 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14963 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14964 entries for 10^2^13 and 10^2^14.
14965 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14966 (TENS_P13_IDX): Define.
14967 (TENS_P13_SIZE): Likewise.
14968 (TENS_P14_IDX): Likewise.
14969 (TENS_P14_SIZE): Likewise.
14970 (_fpioconst_pow10): Change array size to
14971 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14972 unconditional.
14973 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14974 1024]: Add entries for 10^2^13 and 10^2^14.
14975 [LAST_POW10 > _LAST_POW10]: Remove #error.
14976 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14977 (_fpioconst_pow10): Change array size to
14978 FPIOCONST_POW10_ARRAY_SIZE.
14979 * stdlib/gen-fpioconst.c: New file.
14980 * stdlib/gen-tst-strtod-round.c: Likewise.
14981 * stdlib/tst-strtod-round-data: Likewise.
14982 * stdlib/tst-strtod-round.c: Likewise.
14983 * stdlib/Makefile (tests): Add tst-strtod-round.
14984
d6e70f43
JM
14985 [BZ #14459]
14986 * stdlib/strtod_l.c: Include <stdint.h>.
14987 (NDEBUG): Do not define.
14988 (round_and_return): Change EXPONENT parameter to type intmax_t.
14989 Rearrange calculations to avoid internal overflow possibilities.
14990 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14991 Rearrange calculations to avoid internal overflow possibilities.
14992 Assert that number fits inside MPNSIZE limbs.
14993 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14994 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14995 calculations and add assertions to avoid internal overflow
14996 possibilities. Add casts to avoid signed/unsigned operations.
14997 * stdlib/tst-strtod-overflow.c: New file.
14998 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14999
1f529f7d
MP
150002012-08-25 Marek Polacek <polacek@redhat.com>
15001
15002 * time/time.h: Fix some typos in comments.
15003
59a629f1
RM
150042012-08-23 Roland McGrath <roland@hack.frob.com>
15005
15006 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15007 * posix/tst-rfc3484-2.c: Likewise.
15008 * posix/tst-rfc3484-3.c: Likewise.
15009
d3bafbc9
SM
150102012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15011
15012 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15013 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15014
4efcc022
JM
150152012-08-23 Joseph Myers <joseph@codesourcery.com>
15016
15017 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15018 #include of fxstatat64.c.
15019
3cc3ef96
RM
150202012-08-22 Roland McGrath <roland@hack.frob.com>
15021
f04e2132
RM
15022 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15023 * shadow/getspent_r.c: Likewise.
15024 * shadow/getspnam.c: Likewise.
15025 * shadow/getspnam_r.c: Likewise.
15026 * gshadow/getsgent.c: Likewise.
15027 * gshadow/getsgent_r.c: Likewise.
15028 * gshadow/getsgnam.c: Likewise.
15029 * gshadow/getsgnam_r.c: Likewise.
15030 * inet/getnetbyad.c: Likewise.
15031 * inet/getnetbyad_r.c: Likewise.
15032 * inet/getnetbynm.c: Likewise.
15033 * inet/getnetbynm_r.c: Likewise.
15034 * inet/getnetent.c: Likewise.
15035 * inet/getnetent_r.c: Likewise.
15036 * inet/getproto.c: Likewise.
15037 * inet/getproto_r.c: Likewise.
15038 * inet/getprtent.c: Likewise.
15039 * inet/getprtent_r.c: Likewise.
15040 * inet/getprtname.c: Likewise.
15041 * inet/getprtname_r.c: Likewise.
15042 * inet/getrpcbyname.c: Likewise.
15043 * inet/getrpcbyname_r.c: Likewise.
15044 * inet/getrpcbynumber.c: Likewise.
15045 * inet/getrpcbynumber_r.c: Likewise.
15046 * inet/getrpcent.c: Likewise.
15047 * inet/getrpcent_r.c: Likewise.
15048 * inet/getaliasent.c: Likewise.
15049 * inet/getaliasent_r.c: Likewise.
15050 * inet/getaliasname.c: Likewise.
15051 * inet/getaliasname_r.c: Likewise.
15052 * nscd/getgrgid_r.c: Likewise.
15053 * nscd/getgrnam_r.c: Likewise.
15054 * nscd/gethstbyad_r.c: Likewise.
15055 * nscd/gethstbynm3_r.c: Likewise.
15056 * nscd/getpwnam_r.c: Likewise.
15057 * nscd/getpwuid_r.c: Likewise.
15058 * nscd/getsrvbynm_r.c: Likewise.
15059 * nscd/getsrvbypt_r.c: Likewise.
15060 * nscd/gai.c: Likewise.
15061
c53d909c
RM
15062 * configure.in (build_nscd): New substituted variable, set
15063 by --disable-build-nscd and defaults to $use_nscd.
15064 * configure: Regenerated.
15065 * config.make.in (build-nscd): New substituted variable.
15066 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15067 Change conditional to require [$(build-nscd) = yes] as well.
15068 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15069
3cc3ef96
RM
15070 [BZ# 13696]
15071 * configure.in (use_nscd): New substituted variable, set by
15072 --disable-nscd. If enabled, define USE_NSCD.
15073 * configure: Regenerated.
15074 * config.h.in: Add USE_NSCD.
15075 * config.make.in (use-nscd): New substituted variable.
15076 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15077 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15078 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15079 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15080 (CFLAGS-getgrnam_r.c): Likewise.
15081 (CFLAGS-initgroups.c): Likewise.
15082 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15083 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15084 Variables removed.
15085 * inet/getnetgrent_r.c
15086 (nscd_setnetgrent): New function, broken out of ...
15087 (setnetgrent): ... here. Call it.
15088 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15089 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15090 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15091 * nscd/Makefile (routines, aux): Move definitions after include of
15092 Makeconfig. Conditionalize on [$(use-nscd) != no].
15093 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15094 Conditionalize on [USE_NSCD].
15095 (is_nscd, nscd_init_cb): Likewise.
15096 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15097 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15098 * nss/nss_db/db-init.c: Likewise.
15099 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15100 [USE_NSCD].
15101 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15102 (make_request): Use it.
15103 (cache_valid_p): New function.
15104 (__check_pf): Use it.
15105 * NEWS: Add item for --disable-nscd.
15106
07e51550
DL
151072012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15108
15109 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15110 to support sed >= 4.2.1-20-ga9bf076.
15111 * configure: Regenerated.
15112
35a5b08b
RM
151132012-08-22 Roland McGrath <roland@hack.frob.com>
15114
15115 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15116 Conditionalize whole body on [IREL].
15117
8479f23a
JL
151182012-08-22 Jeff Law <law@redhat.com>
15119
15120 [BZ #14505]
15121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15122 if the family is PF_UNSPEC.
15123
48da0b21
MF
151242012-08-22 Mike Frysinger <vapier@gentoo.org>
15125
15126 * Makerules (lib-version): Rename from V.
15127 (install-lib-nosubdir): Change V to lib-version.
15128
15d0da8c
WS
151292012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15130
15131 [BZ #14252]
15132 * powerpc32/power6/wcschr.c: New file.
15133 * powerpc32/power6/wcscpy.c: New file.
15134 * powerpc32/power6/wcsrchr.c: New file.
15135 * powerpc64/power6/wcschr.c: New file.
15136 * powerpc64/power6/wcscpy.c: New file.
15137 * powerpc64/power6/wcsrchr.c: New file.
15138
bcca0895
MK
151392012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15140
15141 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15142 (two_way_short_needle): Use it.
5a4aaa33
RM
15143 * string/strstr.c (AVAILABLE1_USES_J): Define.
15144 * string/strcasestr.c: Likewise.
99677e57
MK
15145
15146 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15147 array references.
15148 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15149
400726de
MK
15150 [BZ #11607]
15151 * NEWS: Add an entry.
15152 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15153 define their defaults.
15154 (two_way_short_needle): Detect end-of-string on-the-fly.
15155 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15156 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15157 * string/bug-strcasestr1.c: New test.
15158 * string/Makefile: Run it.
15159
20a71f2c
MK
151602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15161
15162 [BZ #11607]
15163 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15164 the first character.
15165
21ad0558
RM
151662012-08-21 Roland McGrath <roland@hack.frob.com>
15167
15168 * csu/elf-init.c (__libc_csu_irel): Function removed.
15169 * csu/libc-start.c (apply_irel): New function.
15170 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15171
0e1d9911
JM
151722012-08-21 Joseph Myers <joseph@codesourcery.com>
15173
15174 * sysdeps/unix/sysv/linux/kernel-features.h
15175 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15176 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15177 <kernel-features.h>.
15178 [__NR_fadvise64_64]: Make code unconditional.
15179 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15180 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15181 !__NR_fadvise64_64)]: Likewise.
15182 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15183 !__NR_fadvise64_64))]: Likewise.
15184 [__NR_fadvise64]: Make code unconditional.
15185 [!__NR_fadvise64]: Remove conditional code.
15186 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15187 <kernel-features.h>.
15188 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15189 unconditional.
15190 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15191 conditional code.
15192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15193 not include <kernel-features.h>.
15194 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15195 unconditional.
15196 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15197 conditional code.
15198 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15199 include <kernel-features.h>.
15200 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15201 unconditional.
15202 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15203 conditional code.
15204
14a50c9d
WS
152052012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15206
15207 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15208 slight instruction rearrangements per scrollpipe analysis.
15209 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15210
c0f4faf0
RM
152112012-08-20 Roland McGrath <roland@hack.frob.com>
15212
696da859
RM
15213 * manual/syslog.texi (syslog; vsyslog, closelog):
15214 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15215 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15216
c0f4faf0
RM
15217 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15218 DSOCAPS to match condition on defining it.
15219
348363b2
JM
152202012-08-20 Joseph Myers <joseph@codesourcery.com>
15221
a35cbf28
JM
15222 * sysdeps/unix/sysv/linux/kernel-features.h
15223 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15225 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15226 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15228 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15229 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15231 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15232 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15233
445f7ecd
JM
15234 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15235 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15236
348363b2
JM
15237 * sysdeps/unix/sysv/linux/kernel-features.h
15238 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15239 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15240 unconditional.
15241 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15242 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15243 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15244 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15245 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15246 Make code unconditional.
15247 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15248 (__mmap64) [!__NR_mmap2]: Likewise.
15249 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15250 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15251 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15252 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15253 [__NR_mmap2]: Make code unconditional.
15254 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15255 (__mmap64) [!__NR_mmap2]: Likewise.
15256
bc5bc0e5
AK
152572012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15258
15259 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15260
88d506de
AJ
152612012-08-18 Andreas Jaeger <aj@suse.de>
15262
15263 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15264
493387d2
MF
152652012-08-18 Mike Frysinger <vapier@gentoo.org>
15266
15267 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15268 * include/unistd.h (__have_sock_cloexec): Likewise.
15269 (__have_pipe2): Likewise.
15270 (__have_dup3): Likewise.
15271
a277af22
MF
152722012-08-18 Mike Frysinger <vapier@gentoo.org>
15273
15274 [BZ #9685]
15275 * include/unistd.h (__have_pipe2): Change define into an extern int.
15276 (__have_dup3): Likewise.
15277 * socket/have_sock_cloexec.c: Include fcntl.h.
15278 (__have_pipe2): New variable.
15279 (__have_dup3): Likewise.
15280
fdab8fd3
MF
152812012-08-17 Mike Frysinger <vapier@gentoo.org>
15282
15283 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15284
31035e80
MP
152852012-08-17 Marek Polacek <polacek@redhat.com>
15286
15287 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15288 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15289
3bd9e993
RM
152902012-08-17 Roland McGrath <roland@hack.frob.com>
15291
c91c505f
RM
15292 * configure.in: Add AC_SUBST for sysheaders.
15293 * configure: Regenerated.
15294 * config.make.in (sysheaders): New substituted variable.
15295
7c6f9d53
RM
15296 * sysdeps/unix/mkfifo.c: Moved ...
15297 * sysdeps/posix/mkfifo.c: ... here.
15298 * sysdeps/unix/mkfifoat.c: Moved ...
15299 * sysdeps/posix/mkfifoat.c: ... here.
15300
15301 * sysdeps/unix/utime.c: Moved ...
15302 * sysdeps/posix/utime.c: ... here.
15303
15304 * sysdeps/unix/time.c: Moved ...
15305 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
15306 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15307 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
15308
15309 * sysdeps/unix/nice.c: Moved ...
15310 * sysdeps/posix/nice.c: ... here.
15311
15312 * sysdeps/unix/alarm.c: Moved ...
15313 * sysdeps/posix/alarm.c: ... here.
15314
3bd9e993
RM
15315 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15316
d1f09384
JL
153172012-08-17 Jeff Law <law@redhat.com>
15318
15319 * intl/Makefile (codeset_mo): New variable.
15320 ($(codeset_mo)): New target.
15321 (tst-codeset.out): Depend on that. Remove explicit rule.
15322 (tst-gettext3.out, tst-gettext5.out): Likewise.
15323 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15324 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15325 * intl/tst-codeset.sh: Remove.
15326 * intl/tst-gettext3.sh: Likewise.
15327 * intl/tst-gettext5.sh: Likewise.
15328
2ae1ae5c
RM
153292012-08-17 Roland McGrath <roland@hack.frob.com>
15330
c31fdb83
RM
15331 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15332 * sysdeps/unix/syscalls.list: ... here.
15333
a0844057
RM
15334 * sysdeps/posix/getaddrinfo.c
15335 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15336 (gaiconf_init, gaiconf_reload): Use them.
15337 [!_STATBUF_ST_NSEC]
15338 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15339 Define using time_t rather than struct timespec.
15340
750c1f2a
RM
15341 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15342 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15343 Macros removed.
15344 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15345 [!NO_THREADS].
15346 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15347 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15348 Likewise.
15349
2ae1ae5c
RM
15350 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15351 __libc_cleanup_push argument.
15352
e66a42f5
RM
15353 * bits/param.h: New file.
15354 * misc/sys/param.h: New file.
15355 * include/sys/param.h: New file.
15356 * misc/Makefile (headers): Add bits/param.h.
15357 * sysdeps/generic/sys/param.h: File removed.
15358 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15359 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15360 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15361 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15362
b7c08a66
RM
15363 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15364 last change.
15365
b2e1c562
RM
15366 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15367 [_IO_MTSAFE_IO].
15368 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15369 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15370 New macros.
15371
c75ccd4c
RM
15372 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15373 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15374 rather than -D_IO_MTSAFE_IO conditionally.
15375 * stdio-common/Makefile (CPPFLAGS): Likewise.
15376 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15377 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15378 Use $(libio-mtsafe).
15379 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15380 of -D_IO_MTSAFE_IO.
15381 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15382 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15383 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15384 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15385 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15386 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15387 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15388 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15389 (CFLAGS-fread_u_chk.c): Likewise.
15390 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15391 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15392 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15393 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15394 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15395 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15396 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15397 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15398 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15399
15400 * libio/Makefile: Test [$(libc-reentrant) = yes]
15401 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15402
15403 * Makeconfig
15404 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15405 * sysdeps/pthread/configure: File removed.
15406 * sysdeps/pthread/Makeconfig: New file.
15407 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15408 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15409
d9195db8
GB
154102012-08-16 Gary Benson <gbenson@redhat.com>
15411
15412 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15413 unmapping the first object in a namespace.
15414
86466cd9
RM
154152012-08-16 Roland McGrath <roland@hack.frob.com>
15416
15417 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15418 (__internal_setnetgrent): ... this. Add internal_function to
15419 definition. Add libc_hidden_def.
15420 (setnetgrent): Update caller.
15421 (internal_endnetgrent): Renamed to ...
15422 (__internal_endnetgrent): ... this. Add internal_function to
15423 definition. Add libc_hidden_def.
15424 (endnetgrent): Update caller.
15425 (internal_getnetgrent_r): Renamed to ...
15426 (__internal_getnetgrent_r): ... this. Add internal_function to
15427 definition. Add libc_hidden_def.
15428 (__getnetgrent_r): Update caller.
15429 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15430
c3c8283c
JM
154312012-08-16 Joseph Myers <joseph@codesourcery.com>
15432
15433 * stdlib/longlong.h: Update from GCC.
15434
db1ee0a8
RM
154352012-08-16 Roland McGrath <roland@hack.frob.com>
15436
15437 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15438 on _QL, which is set by umul_ppmm but never used.
15439 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15440 variables, which are set by GMP macros but never used.
15441 * stdio-common/_itowa.c (_itowa): Likewise.
15442 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15443 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15444
30f69637
CD
154452012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15446
15447 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15448 struct La_sh_regs is not constant.
15449 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15450 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15451 and struct La_sparc64_regs are not constant.
15452
93a78ac4
JM
154532012-08-16 Joseph Myers <joseph@codesourcery.com>
15454
15455 * sysdeps/unix/sysv/linux/kernel-features.h
15456 (__ASSUME_POSIX_TIMERS): Remove.
15457 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15458 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15459 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15460 Make code unconditional.
15461 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15462 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15463 Make code unconditional.
15464 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15465 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15466 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15467 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15468 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15469 Make code unconditional.
15470 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15471 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15472 (__libc_missing_posix_timers): Remove.
15473
dd924cd7
RM
154742012-08-15 Roland McGrath <roland@hack.frob.com>
15475
4b4f2771
RM
15476 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15477 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15478
601c888b
RM
15479 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15480
176790a7
RM
15481 * elf/dl-sym.c: Include <stdlib.h>.
15482
329bc018
RM
15483 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15484 constants, which avoids warnings in 32-bit builds.
15485
e04e272d
RM
15486 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15487 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15488
952bf94a
RM
15489 * misc/lseek.c: File moved to ...
15490 * io/lseek.c: ... here.
15491
7c99b50a
RM
15492 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15493
dd924cd7
RM
15494 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15495 shifting LEN more than 31 bits at once.
15496
b3f479a8
LD
154972012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15498
15499 [BZ #14195]
8c4ae0d4
RM
15500 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15501 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15502 * string/test-strncasecmp.c (check1): Renamed to...
15503 (bz12205): ...this.
15504 (bz14195): Add new testcase for two empty input strings and N > 0.
15505 (test_main): Call new testcase, adapt for renamed function.
15506
9c55864e
AJ
155072012-08-15 Andreas Jaeger <aj@suse.de>
15508
15509 [BZ #14090]
15510 * crypt/md5test2.c: New test, based on test supplied by Serge
15511 Belyshev <belyshev@depni.sinp.msu.ru>.
15512 * crypt/Makefile (xtests): Add md5test-giant..
15513 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15514
02dcb6c5
PE
155152012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15516
15517 [BZ #14090]
15518 * crypt/md5.c (md5_process_block): Don't assume the buffer
15519 length is less than 2**32.
15520 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15521 length is less than 2**64.
15522
a3f95dcc
RM
155232012-08-15 Roland McGrath <roland@hack.frob.com>
15524
be75d758
RM
15525 * string/str-two-way.h: Include <sys/param.h>.
15526 (MAX): Macro removed.
15527
7312ca90
RM
15528 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15529 Move #define and #undef of memmove to just before and after
15530 including <string.h>.
15531
9a0a5486
RM
15532 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15533 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15534 and after including <string.h>. Move declarations of
15535 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15536 to before #include "string/memmove.c".
15537
67cc348d
RM
15538 * include/dirent.h: Declare __getdirentries.
15539
a3f95dcc
RM
15540 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15541 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15542
ca98e171
MF
155432012-08-14 Mike Frysinger <vapier@gentoo.org>
15544
15545 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15546 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15547 * sysdeps/i386/configure: Regenerated.
15548 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15549 STABS_CURRENT_FILE, and STABS_FUN.
15550 (END): Remove call to STABS_FUN_END.
15551 (STABS_CURRENT_FILE1): Delete.
15552 (STABS_CURRENT_FILE): Likewise.
15553 (STABS_FUN): Likewise.
15554 (STABS_FUN_END): Likewise.
15555 (STABS_FUN2): Likewise.
15556 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15557 * sysdeps/x86_64/configure: Regenerated.
15558
5908bf46
RM
155592012-08-14 Roland McGrath <roland@hack.frob.com>
15560
15561 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15562 * elf/dl-lookup.c: Likewise.
5908bf46 15563
f2c05b9e
JM
155642012-08-14 Joseph Myers <joseph@codesourcery.com>
15565
15566 * sysdeps/unix/sysv/linux/kernel-features.h
15567 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15568 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15569 unconditionally.
15570 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15571 unconditionally.
15572 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15573 condition on __ASSUME_CLONE_THREAD_FLAGS.
15574
e11f5155
AJ
155752012-08-14 Andreas Jaeger <aj@suse.de>
15576
15577 * sysdeps/i386/fpu/libm-test-ulps: Update.
15578
51a9ba86
MK
155792012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15580
2fdd4f78
AJ
15581 * include/atomic.h (atomic_exchange_and_add): Split into ...
15582 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15583 New atomic macros.
51a9ba86 15584
ba6cba9e
MT
155852012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15586
15587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15588
42443a47
JL
155892012-08-13 Jeff Law <law@redhat.com>
15590
15591 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15592 null byte in the output string.
15593
121dce05
JM
155942012-08-10 Joseph Myers <joseph@codesourcery.com>
15595
15596 * sysdeps/unix/sysv/linux/kernel-features.h
15597 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15598 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15599 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15600 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15601 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15602 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15603 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15604
bf51f568
JL
156052012-08-09 Jeff Law <law@redhat.com>
15606
15607 [BZ #13939]
15608 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15609 When avoid_arena is set, don't retry in the that arena. Pick the
15610 next one, whatever it might be.
15611 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15612 (arena_lock): Pass in new parameter to arena_get2.
15613 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15614 arena_get2.
15615 (__libc_malloc): Unify retrying after main arena failure with
15616 __libc_memalign version.
15617 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15618
f85fa270
L
156192012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15620
15621 [BZ #14166]
15622 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15623 to __redirect_strstr.
15624 (__strstr_sse42): Use typeof __redirect_strstr.
15625 (__strstr_ia32): Likewise.
15626 (__libc_strstr): New prototype.
15627 (strstr): Renamed to ...
15628 (__libc_strstr): This.
15629 (strstr): New strong alias of __libc_strstr.
15630 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15631 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15632 __redirect_time.
15633 Include <time.h>.
15634 (__libc_time): New prototype.
15635 (time_ifunc): Replace time with __libc_time.
15636 (time): New strong alias and hidden definition of __libc_time.
15637 (__GI_time): Remove strong alias.
15638 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15639 Include <stddef.h>.
15640 (memmove): Redefined to __redirect_memmove.
15641 (__memmove_sse2): Use typeof __redirect_memmove.
15642 (__memmove_ssse3): Likewise.
15643 (__memmove_ssse3_back): Likewise.
15644 (__libc_memmove): New prototype.
15645 (memmove): Renamed to ...
15646 (__libc_memmove): This.
15647 (memmove): New strong alias of __libc_memmove.
15648
33b4a91e
MS
156492012-08-08 Mark Salter <msalter@redhat.com>
15650
15651 * elf/elf.h
15652 (R_MN10300_TLS_GD): Define.
15653 (R_MN10300_TLS_LD): Likewise.
15654 (R_MN10300_TLS_LDO): Likewise.
15655 (R_MN10300_TLS_GOTIE): Likewise.
15656 (R_MN10300_TLS_IE): Likewise.
15657 (R_MN10300_TLS_LE): Likewise.
15658 (R_MN10300_TLS_DTPMOD): Likewise.
15659 (R_MN10300_TLS_DTPOFF): Likewise.
15660 (R_MN10300_TLS_TPOFF): Likewise.
15661 (R_MN10300_SYM_DIFF): Likewise.
15662 (R_MN10300_ALIGN): Likewise.
15663 (R_MN10300_NUM): Update.
15664
b36137f1
JM
156652012-08-08 Joseph Myers <joseph@codesourcery.com>
15666
15667 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15668 Remove.
15669
cdd915fd
RM
156702012-08-08 Roland McGrath <roland@hack.frob.com>
15671
a2433aac
RM
15672 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15673
cdd915fd
RM
15674 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15675 sysdeps/unix -> sysdeps/posix move.
15676 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15677
bf9b740a
AM
156782012-08-07 Allan McRae <allan@archlinux.org>
15679
15680 [BZ #14303]
15681 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15682 (SUNOS_CPP): Likewise.
15683 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15684 not found.
15685 (open_input): Call CPP using execvp.
15686
93df14ee
JM
156872012-08-07 Joseph Myers <joseph@codesourcery.com>
15688
15689 * sysdeps/unix/sysv/linux/kernel-features.h
15690 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15691 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15692 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15693 (__ASSUME_WAITID_SYSCALL): Likewise.
15694 * sysdeps/unix/sysv/linux/dl-execstack.c
15695 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15696 code unconditional.
15697 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15698 conditional code.
15699 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15700 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15701 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15702 code.
15703 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15704 unconditional.
15705 [__ASSUME_WAITID_SYSCALL]: Likewise.
15706 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15707
d34689de
RM
157082012-08-07 Roland McGrath <roland@hack.frob.com>
15709
a281decc
RM
15710 * sysdeps/unix/closedir.c: Renamed to ...
15711 * sysdeps/posix/closedir.c: ... here.
15712 * sysdeps/unix/dirfd.c: Renamed to ...
15713 * sysdeps/posix/dirfd.c: ... here.
15714 * sysdeps/unix/dirstream.h: Renamed to ...
15715 * sysdeps/posix/dirstream.h: ... here.
15716 * sysdeps/unix/fdopendir.c: Renamed to ...
15717 * sysdeps/posix/fdopendir.c: ... here.
15718 * sysdeps/unix/opendir.c: Renamed to ...
15719 * sysdeps/posix/opendir.c: ... here.
15720 * sysdeps/unix/readdir.c: Renamed to ...
15721 * sysdeps/posix/readdir.c: ... here.
15722 * sysdeps/unix/readdir_r.c: Renamed to ...
15723 * sysdeps/posix/readdir_r.c: ... here.
15724 * sysdeps/unix/rewinddir.c: Renamed to ...
15725 * sysdeps/posix/rewinddir.c: ... here.
15726 * sysdeps/unix/seekdir.c: Renamed to ...
15727 * sysdeps/posix/seekdir.c: ... here.
15728 * sysdeps/unix/telldir.c: Renamed to ...
15729 * sysdeps/posix/telldir.c: ... here.
15730 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15731 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15732 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15733 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15734
22895b47
RM
15735 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15736 * bits/fcntl.h: ... here.
15737
707a53b6
RM
15738 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15739 not 0.
15740 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15741 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15742 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15743 (struct flock): Move l_start, l_len to the beginning.
15744 Use __pid_t for l_pid.
15745 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15746 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15747 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15748 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15749 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15750 [__USE_LARGEFILE64] (struct flock64): New type.
15751 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15752
f0bd3e25
RM
15753 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15754 * bits/dirent.h: ... here.
15755
d34689de
RM
15756 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15757 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15758
6dad2c06
JM
157592012-08-07 Joseph Myers <joseph@codesourcery.com>
15760
15761 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15762 Change from 2.6.0 to 2.6.16.
15763 * sysdeps/unix/sysv/linux/configure: Regenerated.
15764 * sysdeps/unix/sysv/linux/kernel-features.h
15765 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15766 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15767 version.
15768 (__ASSUME_UTIMES): Likewise.
15769 (__ASSUME_CLONE_STOPPED): Remove.
15770 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15771 architectures, not kernel version.
15772 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15773 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15774 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15775 (__ASSUME_WAITID_SYSCALL): Likewise.
15776 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15777 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15778 * README: State 2.6.16 as minimum Linux kernel version. Do not
15779 refer to older versions.
15780
03af9520
RM
157812012-08-06 Roland McGrath <roland@hack.frob.com>
15782
8e49df1d
RM
15783 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15784 Define alphasort64 as an alias.
15785 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15786 Define versionsort64 as an alias.
15787 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15788 Define scandir64 as an alias.
15789 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15790 Define scandirat64 as an alias.
15791 * dirent/alphasort64.c (alphasort64):
15792 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15793 * dirent/versionsort64.c: Likewise.
15794 * dirent/scandir64.c: Likewise.
15795 * dirent/scandirat64.c: Likewise.
15796 * sysdeps/wordsize-64/alphasort.c: File removed.
15797 * sysdeps/wordsize-64/alphasort64.c: File removed.
15798 * sysdeps/wordsize-64/scandir.c: File removed.
15799 * sysdeps/wordsize-64/scandir64.c: File removed.
15800 * sysdeps/wordsize-64/scandirat.c: File removed.
15801 * sysdeps/wordsize-64/scandirat64.c: File removed.
15802 * sysdeps/wordsize-64/versionsort.c: File removed.
15803 * sysdeps/wordsize-64/versionsort64.c: File removed.
15804 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15805 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15806 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15807 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15808 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15809 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15810 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15811 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15812
15813 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15815 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15816 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15817 [defined __arch64__ || defined __sparcv9]
15818 (__INO_T_MATCHES_INO64_T): New macro.
15819 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15820 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15821 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15822 * sysdeps/unix/sysv/linux/bits/dirent.h
15823 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15824 (_DIRENT_MATCHES_DIRENT64): New macro.
15825
03af9520
RM
15826 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15827 Define lockf64 as an alias.
15828 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15829 Define fseeko64 as an alias.
15830 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15831 Define ftello64 as an alias.
15832 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15833 Define _IO_fgetpos64 and fgetpos64 as aliases.
15834 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15835 Define _IO_fsetpos64 and fsetpos64 as aliases.
15836 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15837 Conditionalize body on this.
15838 * libio/fseeko64.c: Likewise.
15839 * libio/ftello64.c: Likewise.
15840 * libio/iofgetpos64.c: Likewise.
15841 * libio/iofsetpos64.c: Likewise.
15842 * sysdeps/wordsize-64/lockf.c: File removed.
15843 * sysdeps/wordsize-64/lockf64.c: File removed.
15844 * sysdeps/wordsize-64/fseeko.c: File removed.
15845 * sysdeps/wordsize-64/fseeko64.c: File removed.
15846 * sysdeps/wordsize-64/ftello.c: File removed.
15847 * sysdeps/wordsize-64/ftello64.c: File removed.
15848 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15849 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15850 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15851 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15852 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15853 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15854 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15855 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15856 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15857 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15858 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15859 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15860 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15861 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15862
15863 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15865 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15866 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15867 [defined __arch64__ || defined __sparcv9]
15868 (__OFF_T_MATCHES_OFF64_T): New macro.
15869 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15870 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15871 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15872 (__OFF_T_MATCHES_OFF64_T): New macro.
15873
c5757acd
L
158742012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15875
15876 * stdlib/secure-getenv.c (__secure_getenv): Replace
15877 GLIBC_2_16 with GLIBC_2_17.
15878
3a31811e
L
158792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15880
15881 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15882 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15883
faa2bccb
DM
158842012-08-03 David S. Miller <davem@davemloft.net>
15885
15886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15887
85fe1997
JM
158882012-08-03 Joseph Myers <joseph@codesourcery.com>
15889
15890 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15891 Remove.
15892 (__ASSUME_CORRECT_SI_PID): Likewise.
15893 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15894 (__ASSUME_TMPFS_NAME): Likewise.
15895 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15896 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15897 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15898 (HAVE_AUX_SECURE): Make definition unconditional.
15899 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15900 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15901
4f75b7a0
RM
159022012-08-03 Roland McGrath <roland@hack.frob.com>
15903
15904 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15905 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15906 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15907 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15908 __eloop_threshold instead of SYMLOOP_MAX.
15909
15910 * sysdeps/generic/eloop-threshold.h: New file.
15911 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15912 of MAXSYMLINKS.
15913 * elf/chroot_canon.c (chroot_canon): Likewise.
15914
7aab07e4
JM
159152012-08-03 Joseph Myers <joseph@codesourcery.com>
15916
15917 [BZ #13717]
15918 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15919 Change to 2.6.0 everywhere.
15920 * sysdeps/unix/sysv/linux/configure: Regenerated.
15921 * sysdeps/unix/sysv/linux/kernel-features.h
15922 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15923 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15924 kernel versions.
15925 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15926 (__ASSUME_FUTEX_REQUEUE): Remove.
15927 (__ASSUME_STATFS64): Define unconditionally.
15928 (__ASSUME_AT_SECURE): Likewise.
15929 (__ASSUME_CORRECT_SI_PID): Likewise.
15930 (__ASSUME_TGKILL): Define without depending on kernel version for
15931 i386.
15932 (__ASSUME_UTIMES): Likewise.
15933 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15934 kernel version.
15935 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15936 (__ASSUME_TMPFS_NAME): Likewise.
15937 * README: Update reference to Linux kernel versions.
15938
b67e9372
MP
159392012-08-02 Marek Polacek <polacek@redhat.com>
15940
1f529f7d 15941 [BZ# 14150]
b67e9372
MP
15942 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15943 libc_cv_asm_type_prefix with %.
15944 * configure: Regenerated.
d2441631
RM
15945 * include/libc-symbols.h: Remove comment about
15946 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15947 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15948 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15949 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15950 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15951 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15952 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15953 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15954 * elf/tst-unique2mod1.c: Likewise.
15955 * elf/tst-unique1mod2.c: Likewise.
15956 * elf/tst-unique1mod1.c: Likewise.
15957 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15958 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15959 Replace ASM_TYPE_DIRECTIVE with .type.
15960 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15961 * sysdeps/i386/sysdep.h: Likewise.
15962 * sysdeps/x86_64/sysdep.h: Likewise.
15963 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15965 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15966 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15967 * sysdeps/powerpc/powerpc32/sysdep.h:
15968 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15969 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15970 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15971 * sysdeps/i386/fpu/e_powf.S: Likewise.
15972 * sysdeps/i386/fpu/e_expl.S: Likewise.
15973 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15974 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15975 * sysdeps/i386/fpu/e_pow.S: Likewise.
15976 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15977 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15978 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15979 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15980 * sysdeps/i386/fpu/e_log2.S: Likewise.
15981 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15982 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15983 * sysdeps/i386/fpu/e_powl.S: Likewise.
15984 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15985 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15986 * sysdeps/i386/fpu/e_logl.S: Likewise.
15987 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15988 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15989 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15990 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15991 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15992 * sysdeps/i386/fpu/e_log.S: Likewise.
15993 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15994 * sysdeps/i386/fpu/e_logf.S: Likewise.
15995 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15996 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15997 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15998 * sysdeps/i386/fpu/e_log10.S: Likewise.
15999 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16000 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16001 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16002 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16003 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16004 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16005 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16006 * sysdeps/i386/i686/strtok.S: Likewise.
16007 * sysdeps/i386/i386-mcount.S: Likewise.
16008 * sysdeps/i386/strtok.S: Likewise.
16009 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16010 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16011 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16012 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16013 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16014 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16015 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16016 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16017 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16018 * sysdeps/x86_64/_mcount.S: Likewise.
16019 * sysdeps/x86_64/strtok.S: Likewise.
16020 * sysdeps/sh/_mcount.S: Likewise.
16021
2747bf9a
RM
160222012-08-01 Roland McGrath <roland@hack.frob.com>
16023
16024 * libio/iofopen.c: Include <fcntl.h>.
16025 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16026 (_IO_fopen64, fopen64): Define as aliases.
16027 * libio/iofopen64.c: Include <fcntl.h>.
16028 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16029 Conditionalize body on this.
16030 * sysdeps/wordsize-64/iofopen.c: File removed.
16031 * sysdeps/wordsize-64/iofopen64.c: File removed.
16032
3fb791b8
MP
160332012-08-01 Marek Polacek <polacek@redhat.com>
16034
16035 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16036 Use dlfcn directly instead of a variable.
16037 (binfmt-subdir): Do not define.
16038 (dlfcn): Likewise.
16039
a9f1039f
JM
160402012-08-01 Joseph Myers <joseph@codesourcery.com>
16041
23bddc06
JM
16042 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16043 Remove all definitions.
16044 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16045 <kernel-features.h>.
16046 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16047 (miss_F_GETOWN_EX): Remove all definitions.
16048 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16049 macro definition.
16050 [!__ASSUME_FCNTL64]: Remove conditional code.
16051 [__ASSUME_FCNTL64]: Make code unconditional.
16052 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16053 <kernel-features.h>.
16054 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16055 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16056 (lockf64) [__NR_fcntl64]: Make code unconditional.
16057 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16058
a9f1039f
JM
16059 * sysdeps/unix/sysv/linux/kernel-features.h
16060 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16061 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16062 Make code unconditional.
16063 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16064 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16066 [__NR_vfork]: Make code unconditional.
16067 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16068 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16070 [__NR_vfork]: Make code unconditional.
16071 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16072 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16073
09c0ee5f
RM
160742012-08-01 Roland McGrath <roland@hack.frob.com>
16075
48aec5b9
RM
16076 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16077 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16078
cd97c966
RM
16079 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16080 Define mkstemp64 as an alias.
3f55550c
RM
16081 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16082 Define mkstemps64 as an alias.
cd97c966
RM
16083 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16084 Define mkostemp64 as an alias.
b8625cfc
RM
16085 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16086 Define mkostemps64 as an alias.
cd97c966
RM
16087 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16088 Conditionalize body on this.
16089 * misc/mkostemp64.c: Likewise.
b8625cfc 16090 * misc/mkostemps64.c: Likewise.
3f55550c 16091 * misc/mkstemps64.c: Likewise.
cd97c966
RM
16092 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16093 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16094 * sysdeps/wordsize-64/mkostemp.c: File removed.
16095 * sysdeps/wordsize-64/mkstemp.c: File removed.
16096 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16097 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16098 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16099 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16100
09c0ee5f
RM
16101 [BZ #14138]
16102 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16103 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16104 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16105 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16106
16107 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16108 compat_symbol macros from <shlib-compat.h> rather than the underlying
16109 default_symbol_version and symbol_version macros, so that DEFAULT
16110 lines in shlib-versions are respected.
16111 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16112
7e66ee51
FW
161132012-08-01 Florian Weimer <fweimer@redhat.com>
16114
16115 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16116 Declare with warn_unused_result.
16117 (setgid, setregid, setegid, setresgid): Likewise.
16118 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16119 Likewise.
16120 * WUR-REPORT: Remove set*id functions.
16121
d2a54255
PT
161222012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16123
16124 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16125
7ecdb005
RM
161262012-07-31 Roland McGrath <roland@hack.frob.com>
16127
b4180a5e 16128 [BZ #10191]
789bd351
RM
16129 * include/sys/socket.h (__libc_accept, __libc_accept4):
16130 Add attribute_hidden.
16131 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16132
40ce302d
RM
16133 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16134 use of PTR_MANGLE.
16135 * inet/getnetgrent_r.c (setup): Likewise.
16136
7ecdb005
RM
16137 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16138
e2eabb2c
DM
161392012-07-31 David S. Miller <davem@davemloft.net>
16140
16141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16142
d0419dbf
JM
161432012-07-31 Joseph Myers <joseph@codesourcery.com>
16144
16145 [BZ #13629]
16146 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16147 value between 1.0 and 2.0 and smaller part has absolute value less
16148 than 1.0.
16149 * math/s_clog10.c (__clog10): Likewise.
16150 * math/s_clog10f.c (__clog10f): Likewise.
16151 * math/s_clog10l.c (__clog10l): Likewise.
16152 * math/s_clogf.c (__clogf): Likewise.
16153 * math/s_clogl.c (__clogl): Likewise.
16154 * math/libm-test.inc (clog_test): Add more tests.
16155 (clog10_test): Likewise.
16156 * sysdeps/i386/fpu/libm-test-ulps: Update.
16157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16158
2bc13872
FW
161592012-07-31 Florian Weimer <fweimer@redhat.com>
16160
16161 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16162 Exit with zero in case no suitable GID is found, and write a
16163 message to standard error.
16164
bea9b193
RM
161652012-07-30 Roland McGrath <roland@hack.frob.com>
16166
16167 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16168 rather than to 1.
16169 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16170 (MAXPATHLEN): Removed.
16171 (NOGROUP, NODEV): New macros.
16172 (setbit, clrbit, isset, isclr): New macros.
16173 (howmany, roundup, powerof2): New macros.
16174 (DEV_BSIZE): New macro.
16175
16176 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16177 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16178
16179 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16180 definition on [!__NO_LONG_DOUBLE_MATH].
16181
16182 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16183 PTR_MANGLE and PTR_DEMANGLE.
16184
16185 * socket/accept4.c (accept4): Rename to __libc_accept4.
16186 Define accept4 as a weak alias.
16187
16188 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16189 on [_DIRENT_HAVE_D_TYPE].
16190 * io/ftw.c (ftw_dir): Likewise.
16191
16192 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16193
16194 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16195
16196 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16197 Use the BSD numbers rather than the arbitrary ones we had.
16198 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16199 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16200 (SIGXCPU, SIGXFSZ): New macros.
16201 (_NSIG): Now 32.
16202
16203 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16204 initializer on [_LIBC_REENTRANT].
16205
16206 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16207 definitions inside [_POSIX_MAPPED_FILES].
16208
16209 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16210
16211 * dirent/opendir.c: Include <fcntl.h>.
16212
16213 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16214 (__libc_getspecific): Likewise.
16215 (__libc_key_create): Likewise.
16216
16217 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16218 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16219 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16220 (tmpfile64): Define as alias.
16221 * sysdeps/wordsize-64/tmpfile.c: File removed.
16222 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16223 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16224 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16225
16226 * stdio-common/vfscanf.c: Include <stdbool.h>.
16227 * nss/makedb.c: Likewise.
16228 * stdio-common/_i18n_number.h: Likewise.
16229 * argp/argp-help.c: Likewise.
16230 * posix/wordexp.c: Likewise.
16231 * sysdeps/posix/spawni.c: Likewise.
16232 * nss/nss_files/files-initgroups.c: Likewise.
16233 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16234 * nss/nss_files/files-initgroups.c: Likewise.
16235 * nss/nss_db/db-netgrp.c: Likewise.
16236 * nss/nss_db/db-initgroups.c: Likewise.
16237 * io/fchmodat.c: Include <sys/stat.h>.
16238
16239 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16240 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16241
16242 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16243 [HAVE_MMAP].
16244
16245 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16246 Add multiple inclusion protection.
16247
e5abc686
DM
162482012-07-27 David S. Miller <davem@davemloft.net>
16249
16250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16251
815e6fa3
GB
162522012-07-27 Gary Benson <gbenson@redhat.com>
16253
16254 [BZ #14298]
16255 * elf/rtld.c: Include <stap-probe.h>.
16256 (dl_main): Added static probes "init_start" and "init_complete".
16257 * elf/dl-load.c: Include <stap-probe.h>.
16258 (lose): Take new parameter "nsid".
16259 Added static probe "map_failed".
16260 (_dl_map_object_from_fd): Pass namespace id to lose.
16261 Added static probe "map_start".
16262 (open_verify): Pass namespace id to lose.
16263 * elf/dl-open.c: Include <stap-probe.h>.
16264 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16265 and "reloc_complete".
16266 * elf/dl-close.c: Include <stap-probe.h>.
16267 (_dl_close_worker): Added static probes "unmap_start" and
16268 "unmap_complete".
16269 * elf/rtld-debugger-interface.txt: New file documenting the above.
16270
9f98c16c
RM
162712012-07-26 Roland McGrath <roland@hack.frob.com>
16272
16273 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16274 rather than a string variable.
16275 * sunrpc/rpc_main.c (h_output): Likewise.
16276 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16277
f3c22df3
PT
162782012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16279
16280 * inet/check_native.c: New file.
16281
3129cfc6
JM
162822012-07-26 Joseph Myers <joseph@codesourcery.com>
16283
da865e95
JM
16284 [BZ #13629]
16285 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16286 if larger part has absolute value 1.0.
16287 * math/s_clog10.c (__clog10): Likewise.
16288 * math/s_clog10f.c (__clog10f): Likewise.
16289 * math/s_clog10l.c (__clog10l): Likewise.
16290 * math/s_clogf.c (__clogf): Likewise.
16291 * math/s_clogl.c (__clogl): Likewise.
16292 * math/libm-test.inc (clog_test): Add more tests.
16293 (clog10_test): Likewise.
16294 * sysdeps/i386/fpu/libm-test-ulps: Update.
16295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16296
3129cfc6
JM
16297 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16298 (pltexit): Likewise.
16299 (La_regs): Likewise.
16300 (La_retval): Likewise.
16301 (int_retval): Likewise.
16302 Update #error for removed macros to refer only to definitions in
16303 tst-audit.h.
16304 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16305 macro.
16306 (pltexit): Likewise.
16307 (La_regs): Likewise.
16308 (La_retval): Likewise.
16309 (int_retval): Likewise.
16310 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16311 macro.
16312 (pltexit): Likewise.
16313 (La_regs): Likewise.
16314 (La_retval): Likewise.
16315 (int_retval): Likewise.
16316 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16317 macro.
16318 (pltexit): Likewise.
16319 (La_regs): Likewise.
16320 (La_retval): Likewise.
16321 (int_retval): Likewise.
16322 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16323 macro.
16324 (pltexit): Likewise.
16325 (La_regs): Likewise.
16326 (La_retval): Likewise.
16327 (int_retval): Likewise.
16328 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16329 macro.
16330 (pltexit): Likewise.
16331 (La_regs): Likewise.
16332 (La_retval): Likewise.
16333 (int_retval): Likewise.
16334 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16335 macro.
16336 (pltexit): Likewise.
16337 (La_regs): Likewise.
16338 (La_retval): Likewise.
16339 (int_retval): Likewise.
16340 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16341 macro definitions in tst-audit.h.
16342 * sysdeps/i386/tst-audit.h: New file.
16343 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16344 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16345 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16346 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16347 * sysdeps/sh/tst-audit.h: Likewise.
16348 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16349 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16350 * sysdeps/x86_64/tst-audit.h: Likewise.
16351
bfc07087
AJ
163522012-07-26 Andreas Jaeger <aj@suse.de>
16353
b1b2aaf8
AJ
16354 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16355 ptrace.
16356
16357 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16358 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16359 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16360 PTRACE_O_MASK.
16361 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16362 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16363 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16364
bfc07087
AJ
16365 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16366 value.
16367
16368 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16369 _sigsys.
16370 (si_call_addr, si_syscall, si_arch): Define new macro.
16371 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16372 _sigsys.
16373 (si_call_addr, si_syscall, si_arch): Define new marcro.
16374 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16375 _sigsys.
16376 (si_call_addr, si_syscall, si_arch): Define new macro.
16377 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16378 _sigsys.
16379 (si_call_addr, si_syscall, si_arch): Define new macro.
16380
89b4b02f
JM
163812012-07-25 Joseph Myers <joseph@codesourcery.com>
16382
16383 [BZ #13717]
16384 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16385 Change to 2.4.21 where previously 2.4.1.
16386 * sysdeps/unix/sysv/linux/configure: Regenerated.
16387 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16388 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16389 Linux kernel version.
16390 (__ASSUME_STD_AUXV): Remove.
16391 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16392 kernel version.
16393 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16394 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16395 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16396 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16397 (__ASSUME_NETLINK_SUPPORT): Likewise.
16398 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16399 (__no_netlink_support): Remove conditional definition.
16400 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16401 Remove.
16402 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16403 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16404 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16405 (if_nameindex_ioctl): Remove.
16406 (if_nameindex_netlink): Do not handle __no_netlink_support.
16407 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16408 code.
16409 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16410 Remove conditional code.
16411 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16412 code.
16413 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16414 unconditional.
16415 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16416 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16417 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16418 Remove.
16419 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16420 [!__ASSUME_STD_AUXV]: Remove conditional code.
16421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16422 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16423 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16425 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16426 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16427 code.
16428 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16430 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16431 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16432 conditional code.
16433 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16435 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16436 code.
16437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16438 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16439 conditional code.
16440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16441 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16442 code unconditional.
16443 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16444 conditional code.
16445 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16446 unconditional.
16447 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16448 conditional code.
16449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16450 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16451 unconditional.
16452 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16453 conditional code.
16454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16455 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16456 code unconditional.
16457 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16458 conditional code.
16459 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16460 unconditional.
16461 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16462 conditional code.
16463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16464 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16465 code unconditional.
16466 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16467 conditional code.
16468 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16469 unconditional.
16470 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16471 conditional code.
16472
842a39cd
AS
164732012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16474
16475 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16476 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16477 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16478 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16479 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16480 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16481 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16482 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16483 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16484 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16485 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16486 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16487 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16488 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16489 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16490 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16491 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16492 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16493 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16495 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16496 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16497 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16498
84b3fd84
FW
164992012-07-25 Florian Weimer <fweimer@redhat.com>
16500
16501 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16502 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16503 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16504 Introduce __libc_secure_getenv.
0c7936d5
FW
16505 * stdlib/Versions (2.17): Add secure_getenv
16506 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16507 * stdlib/secure-getenv.c: Rename __secure_getenv to
16508 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16509 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16510 * stdlib/tst-secure-getenv.c: New.
16511 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16512 * manual/startup.texi (Environment Access): Document
16513 secure_getenv.
84b3fd84
FW
16514 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16515 __libc_secure_getenv.
16516 * inet/ruserpass.c (ruserpass): Likewise.
16517 * malloc/mtrace.c (mtrace): Likewise.
16518 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16519 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16520 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16521 * sysdeps/posix/tempname.c: Likewise. Evaluate
16522 HAVE_SECURE_GETENV.
16523 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16524 __secure_getenv to __libc_secure_getenv.
84b3fd84 16525 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16527 Likewise.
16528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16529 Likewise.
16530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16532 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16537
56e49b71
JM
165382012-07-25 Joseph Myers <joseph@codesourcery.com>
16539
16540 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16541 (struct La_i86_retval): Likewise.
16542 (struct La_x86_64_regs): Likewise.
16543 (struct La_x86_64_retval): Likewise.
16544 (struct La_x32_regs): Likewise.
16545 (struct La_x32_retval): Likewise.
16546 (struct La_ppc32_regs): Likewise.
16547 (struct La_ppc32_retval): Likewise.
16548 (struct La_ppc64_regs): Likewise.
16549 (struct La_ppc64_retval): Likewise.
16550 (struct La_sh_regs): Likewise.
16551 (struct La_sh_retval): Likewise.
16552 (struct La_s390_32_regs): Likewise.
16553 (struct La_s390_32_retval): Likewise.
16554 (struct La_s390_64_regs): Likewise.
16555 (struct La_s390_64_retval): Likewise.
16556 (struct La_sparc32_regs): Likewise.
16557 (struct La_sparc32_retval): Likewise.
16558 (struct La_sparc64_regs): Likewise.
16559 (struct La_sparc64_retval): Likewise.
16560 (struct audit_ifaces): Remove architecture-specific pltenter and
16561 pltexit members.
16562 * sysdeps/i386/ldsodefs.h: New file.
16563 * sysdeps/powerpc/ldsodefs.h: Likewise.
16564 * sysdeps/s390/ldsodefs.h: Likewise.
16565 * sysdeps/sh/ldsodefs.h: Likewise.
16566 * sysdeps/sparc/ldsodefs.h: Likewise.
16567 * sysdeps/x86_64/ldsodefs.h: Likewise.
16568
354691b7
MP
165692012-07-25 Marek Polacek <polacek@redhat.com>
16570
16571 [BZ #6808]
16572 * math/libm-test.inc (yn_test): Add another test.
16573 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16574 to ERANGE when the result is +-Inf.
16575 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16576 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16577 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16578 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16579
bf9e2071
JM
165802012-07-24 Joseph Myers <joseph@codesourcery.com>
16581
16582 * conform/data/time.h-data (NULL): Use macro-constant. Require
16583 equal to 0.
16584 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16585 clock_t.
16586 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16587
57633811
TS
165882012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16589
16590 * configure.in <sysdeps resolving>: Correct printing
16591 Implies_before.
16592 * configure: Regenerate.
16593
c23c33b0
TS
165942012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16595
16596 * math/w_ilogb.c: Include <limits.h>.
16597 * math/w_ilogbl.c: Likewise.
16598
b5982523
JM
165992012-07-20 Joseph Myers <joseph@codesourcery.com>
16600
16601 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16602 va_copy. Document allowing for unavailable va_copy only as
16603 pre-C99 compatibility.
16604 * manual/string.texi (Copying and Concatenation): Use va_copy
16605 instead of __va_copy in concat example.
16606
ac4ea442
PT
166072012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16608
16609 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16610 (__sendto): Use create_address_port. Initialize APORT and deallocate
16611 it if not null.
16612
f98eafbd
PT
16613 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16614 with O_NOLINK passed to __file_name_lookup.
16615
898c7aab
PT
16616 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16617 with O_NOLINK passed to __file_name_lookup.
16618
0ced335a
PT
16619 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16620 negative N or less than NGIDS.
16621
b3404dbd
PT
16622 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16623 type to string_t. Set ERANGE as errno and return it if NAME is not big
16624 enough. Use memcpy instead of strncpy.
16625
0f48659e
JM
166262012-07-20 Joseph Myers <joseph@codesourcery.com>
16627
16628 * elf/Makefile (check-data): Remove.
16629 (localplt.data): New vpath directive.
16630 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16631 instead of $(check-data).
16632 * scripts/data/localplt-generic.data: Move to ...
16633 * sysdeps/generic/localplt.data: ... here.
16634 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16635 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16636 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16638 ... here.
16639 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16641 ... here.
16642 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16644 ... here.
16645 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16647 ... here.
16648 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16650 ... here.
16651 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16653 ... here.
16654
d37cbdaa
AZ
166552012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16656
16657 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16658 PPC32 and PPC64 files.
16659 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16660 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16661
46f85fc2
AK
166622012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16663
16664 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16665 __makecontext_ret to ...
16666 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16667 ... here and call exit if uc_link is NULL. New file.
16668 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16669 __makecontext_ret.S.
16670 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16671 __makecontext_ret to ...
16672 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16673 ... here and call exit if uc_link is NULL. New file.
16674 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16675 __makecontext_ret.S.
16676
08f43f9b
AK
166772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16678
16679 * elf/elf.h (R_390_IRELATIVE): New definition.
16680 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16681 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16682 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16683 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16684 (elf_machine_lazy_rel): Likewise.
16685 * sysdeps/s390/dl-irel.h: New file.
16686 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16687 * sysdeps/s390/s390-64/memset.S: New asm code.
16688 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16689 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16690 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16691 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16692 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16693 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16694 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16695 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16696 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16697 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16698 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16699 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16700 * sysdeps/s390/s390-32/memset.S: New asm code.
16701 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16702
3b05db33
MP
167032012-07-17 Marek Polacek <polacek@redhat.com>
16704
16705 [BZ #14349]
16706 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16707 * sysdeps/s390/s390-64/configure.in: Likewise.
16708 * sysdeps/sparc/configure.in: Likewise.
16709 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16710 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16711 * sysdeps/i386/configure.in: Likewise.
16712 * sysdeps/x86_64/configure.in: Likewise.
16713 * sysdeps/sh/configure.in: Likewise.
16714 * sysdeps/s390/s390-32/configure: Regenerated.
16715 * sysdeps/s390/s390-64/configure: Likewise.
16716 * sysdeps/x86_64/configure: Likewise.
16717 * sysdeps/sh/configure: Likewise.
16718 * sysdeps/powerpc/powerpc64/configure: Likewise.
16719 * sysdeps/powerpc/powerpc32/configure: Likewise.
16720 * sysdeps/sparc/configure: Likwise.
16721 * sysdeps/i386/configure: Likewise.
16722
a66877c6
MP
16723 * elf/dl-open.c: Comment fixes.
16724
cfc82fd8
JM
167252012-07-17 Joseph Myers <joseph@codesourcery.com>
16726
bd29910a
JM
16727 * Makefile [CXX] (check-data): Remove.
16728 [CXX] (c++-types.data): New vpath directive.
16729 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16730 vpath. Do not allow for C++ type data being missing.
16731 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16732 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16733 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16734 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16735 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16736 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16737 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16739 ... here.
16740 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16742 ... here.
16743 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16745 ... here.
16746 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16748 ... here.
16749 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16751 ... here.
16752 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16754 ... here.
16755 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16757 ... here.
16758 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16760
cfc82fd8
JM
16761 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16762 definitions to architecture-specific files.
16763 (TLS_IE): Likewise.
16764 (TLS_LD): Likewise.
16765 (TLS_GD): Likewise.
16766 * sysdeps/i386/tls-macros.h: New file.
16767 * sysdeps/powerpc/tls-macros.h: Likewise.
16768 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16769 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16770 * sysdeps/sh/tls-macros.h: Likewise.
16771 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16772 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16773 * sysdeps/x86_64/tls-macros.h: Likewise.
16774
f7db3170
TS
167752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16776
07cbfc23
TS
16777 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16778 zero value for regular exit case.
16779
f7db3170
TS
16780 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16781 (__start_context): Preserve zero value for regular exit case.
16782
dc97c227
TS
167832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16784 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16785
16786 * manual/setjmp.texi (setcontext): Clarify normal process
16787 termination when uc_link is the null pointer.
16788 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16789 exit call.
16790
d0cd7d02
AS
167912012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16792
16793 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16794 preprocessor. Test for each exception mask separately.
16795
dd318934
AJ
167962012-07-16 Andreas Jaeger <aj@suse.de>
16797
16798 * po/ru.po: Update from translation team.
16799
8048311a
JM
168002012-07-15 Joseph Myers <joseph@codesourcery.com>
16801
16802 * conform/data/string.h-data (NULL): Use macro-constant. Require
16803 equal to 0.
16804 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16805 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16806 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16807 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16808 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16809
b637d46e
AJ
168102012-07-13 Andreas Jaeger <aj@suse.de>
16811
16812 * po/fr.po: Update from translation team.
16813
541428fe
MP
168142012-07-12 Marek Polacek <polacek@redhat.com>
16815
16816 [BZ #14173]
16817 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16818 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16819 loop condition.
16820
ec332e94
JM
168212012-07-12 Joseph Myers <joseph@codesourcery.com>
16822
16823 [BZ #13717]
16824 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16825 Change to 2.4.1 where previously 2.4.0.
16826 * sysdeps/unix/sysv/linux/configure: Regenerated.
16827 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16828 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16829 version.
16830 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16831 (__ASSUME_AT_CLKTCK): Remove.
16832 (__ASSUME_AT_PAGESIZE): Likewise.
16833 (__ASSUME_AT_XID): Likewise.
16834 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16835 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16836 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16837 unconditionally.
16838 (HAVE_AUX_PAGESIZE): Likewise.
16839 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16840 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16841 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16842
7b6e99be
JB
168432012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16844
16845 [BZ #14307]
16846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16847 the temporary buffer used to invoke __gethostbyname2_r,
16848 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16849 host_data / struct gaih_addrtuple.
16850 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16851 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16852 header file nss/nsswitch.h.
16853 * nss/nsswitch.h (global scope): Add definition of implementation
16854 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16855 resolv/nss_dns/dns-host.c).
16856
608404eb
AJ
168572012-07-11 Andreas Jaeger <aj@suse.de>
16858
16859 * po/fr.po: Update from translation team.
16860
71220aca
AJ
16861 * po/sv.po: Update from translation team
16862 * po/fr.po: Another update from translation team.
16863
28cfe843
AZ
168642012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16865
16866 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16867 for subnormals or multiply small sinh result by itself.
16868 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16870
6b90f981
DM
168712012-07-11 David S. Miller <davem@davemloft.net>
16872
16873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16874
c6825772
AS
168752012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16876
16877 [BZ #14347]
16878 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16879 (INTERNAL_MARK): Shift it here.
16880
7b8e0d49
MP
168812012-07-10 Marek Polacek <polacek@redhat.com>
16882
16883 [BZ #14151]
16884 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16885 libc_cv_asm_global_directive with .globl.
16886 * configure: Regenerated.
16887 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16888 with .globl.
16889 * sysdeps/i386/configure: Regenerated.
16890 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16891 with .globl.
16892 * sysdeps/x86_64/configure: Regenerated.
16893 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16894 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16895 * elf/tst-unique2mod2.c: Likewise.
16896 * elf/tst-unique2mod1.c: Likewise.
16897 * elf/tst-unique1mod2.c: Likewise.
16898 * elf/tst-unique1mod1.c: Likewise.
16899 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16900 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16901 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16902 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16903 * sysdeps/mach/sysdep.h: Likewise.
16904 * sysdeps/i386/sysdep.h: Likewise.
16905 * sysdeps/i386/i386-mcount.S: Likewise.
16906 * sysdeps/x86_64/_mcount.S: Likewise.
16907 * sysdeps/x86_64/sysdep.h: Likewise.
16908 * sysdeps/sh/_mcount.S: Likewise.
16909 * sysdeps/sh/sysdep.h: Likewise.
16910 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16911 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16912 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16913 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16914 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16915 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16916 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16917 * locale/localeinfo.h: Likewise.
16918 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16919 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16920
6c55cda3
RM
169212012-07-09 Roland McGrath <roland@hack.frob.com>
16922
16923 [BZ #14336]
16924 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16925 system".
16926 * manual/message.texi (The Uniforum approach): Likewise.
16927 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16928 (glibc iconv Implementation): Likewise.
16929
638a572e
JM
169302012-07-09 Joseph Myers <joseph@codesourcery.com>
16931
16932 [BZ #14337]
16933 * math/s_clog.c (__clog): Avoid scaling a value down where that
16934 could result in underflow.
16935 * math/s_clog10.c (__clog10): Likewise.
16936 * math/s_clog10f.c (__clog10f): Likewise.
16937 * math/s_clog10l.c (__clog10l): Likewise.
16938 * math/s_clogf.c (__clogf): Likewise.
16939 * math/s_clogl.c (__clogl): Likewise.
16940 * math/libm-test.inc (clog_test): Add more tests.
16941 (clog10_test): Likewise.
16942 * sysdeps/i386/fpu/libm-test-ulps: Update.
16943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16944
261f4859
AS
169452012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16946
0abaf3e4
AS
16947 [BZ #14283]
16948 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16949 by 7 not 8 to examine high bit of fractional part.
16950
261f4859
AS
16951 [BZ #14042]
16952 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16953 for call to __mcount_internal.
16954 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16955 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16956 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16957
f17ac40d
JM
169582012-07-06 Joseph Myers <joseph@codesourcery.com>
16959
9ad63c23
JM
16960 [BZ #14154]
16961 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16962 approximation for values within 0x1p-13f of an odd multiple of
16963 pi/4.
16964 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16965 exception. Add more tests.
16966 * sysdeps/i386/fpu/libm-test-ulps: Update.
16967
f17ac40d
JM
16968 [BZ #6778]
16969 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16970 inputs and return -1 for them. Do not check for +Inf in case not
16971 reachable for +Inf.
16972 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16973 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16974 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16975 and return -1 for them. Do not check for +Inf in case not
16976 reachable for +Inf.
16977 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16978 define.
16979 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16980 and return -1 for them. Do not check for +Inf in case not
16981 reachable for +Inf.
16982 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16983 spurious underflow.
16984 * sysdeps/i386/fpu/libm-test-ulps: Update.
16985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16986
fb21f89b
MF
169872012-07-06 Mike Frysinger <vapier@gentoo.org>
16988
16989 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16990
cdfe2c5e
JM
169912012-07-05 Joseph Myers <joseph@codesourcery.com>
16992
16993 [BZ #14157]
16994 [BZ #14331]
16995 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16996 could result in spurious underflow. Scale down values above
16997 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16998 * math/s_csqrtf.c (__csqrtf): Likewise.
16999 * math/s_csqrtl.c (__csqrtl): Likewise.
17000 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17001 spurious underflow.
17002 * sysdeps/i386/fpu/libm-test-ulps: Update.
17003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17004
70d35b67
AS
170052012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17006
704bc459
AS
17007 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17008 xopen-msg.sed.
17009 * catgets/xopen-msg.awk: New file.
17010 * catgets/xopen-msg.sed: Removed.
17011
70d35b67
AS
17012 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17013 po2text.sed.
17014 * intl/po2test.awk: New file.
17015 * intl/po2test.sed: Removed.
17016
ca61cf32
JM
170172012-07-04 Joseph Myers <joseph@codesourcery.com>
17018
17019 [BZ #14328]
17020 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17021 or multiply small sinh result by itself.
17022 * math/s_ctanf.c (__ctanf): Likewise.
17023 * math/s_ctanh.c (__ctanh): Likewise.
17024 * math/s_ctanhf.c (__ctanhf): Likewise.
17025 * math/s_ctanhl.c (__ctanhl): Likewise.
17026 * math/s_ctanl.c (__ctanl): Likewise.
17027 * math/libm-test.inc (ctan_test_tonearest): New function.
17028 (ctan_test_towardzero): Likewise.
17029 (ctan_test_downward): Likewise.
17030 (ctan_test_upward): Likewise.
17031 (ctanh_test_tonearest): Likewise.
17032 (ctanh_test_towardzero): Likewise.
17033 (ctanh_test_downward): Likewise.
17034 (ctanh_test_upward): Likewise.
17035 (main): Call these new functions.
17036 * sysdeps/i386/fpu/libm-test-ulps: Update.
17037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17038
ca48a46a
MF
170392012-07-03 Mike Frysinger <vapier@gentoo.org>
17040
17041 * .gitignore: Delete /ports entry.
17042
9d63d37d
AJ
170432012-07-03 Andreas Jaeger <aj@suse.de>
17044
17045 * po/bg.po: Update from translation team.
17046 * po/cs.po: Likewise.
17047 * po/de.po: Likewise.
17048 * po/hr.po: Likewise.
17049 * po/nl.pl: Likewise.
17050 * po/pl.po: Likewise.
17051 * po/vi.po: Likewise.
17052
370ca3d2
JM
170532012-07-03 Joseph Myers <joseph@codesourcery.com>
17054
95f5a9a8
JM
17055 * Makeconfig [!+link] (+link-before-libc): New variable.
17056 [!+link] (+link-after-libc): Likewise.
17057 [!+link] (+link-tests): Likewise.
17058 [!+link] (+link): Define in terms of $(+link-before-libc) and
17059 $(+link-after-libc).
17060 [!+link-static] (+link-static-before-libc): New variable.
17061 [!+link-static] (+link-static-after-libc): Likewise.
17062 [!+link-static] (+link-static-tests): Likewise.
17063 [!+link-static] (+link-static): Define in terms of
17064 $(+link-static-before-libc) and $(+link-static-after-libc).
17065 [build-shared] (link-libc-before-gnulib): New variable.
17066 [build-shared] (link-libc-tests): Likewise.
17067 [build-shared] (link-libc): Define in terms of
17068 $(link-libc-before-gnulib).
17069 [!build-shared] (link-libc-tests): New variable.
17070 (link-libc-static-tests): New variable.
17071 [!gnulib] (gnulib-arch): New variable.
17072 [!gnulib] (gnulib-tests): Likewise.
17073 [!gnulib] (static-gnulib-arch): Likewise.
17074 [!gnulib] (static-gnulib-tests): Likewise.
17075 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17076 Define with "=" instead of ":=".
17077 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17078 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17079 * Rules (binaries-all-notests): New variable.
17080 (binaries-all-tests): Likewise.
17081 (binaries-static-notests): Likewise.
17082 (binaries-static-tests): Likewise.
17083 (binaries-all): Define using $(binaries-all-notests) and
17084 $(binaries-all-tests).
17085 (binaries-static): Define using $(binaries-static-notests) and
17086 $(binaries-static-tests).
17087 (binaries-shared-tests): New variable.
17088 (binaries-shared-notests): Likewise.
17089 (binaries-shared): Remove variable.
17090 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17091 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17092 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17093 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17094 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17095 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17096 * elf/Makefile (sln-modules): New variable.
17097 (extra-objs): Add $(sln-modules:=.o).
17098 (ldconfig-modules): Add static-stubs.
17099 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17100 * elf/static-stubs.c: New file.
17101
7a845b2c
JM
17102 [BZ #14283]
17103 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17104 by 7 not 8 to examine high bit of fractional part. Use volatile
17105 variables when splitting into final array of floats if
17106 __FLT_EVAL_METHOD__ != 0.
17107 * math/libm-test.inc (cos_test): Add another test.
17108 (sin_test): Likewise.
17109 * sysdeps/i386/fpu/libm-test-ulps: Update.
17110
e2283f38
JM
17111 [BZ #14273]
17112 * math/libm-test.inc (cosh_test): Add more tests.
17113
370ca3d2
JM
17114 * version.h (RELEASE): Set to "development".
17115 (VERSION): Set to "2.16.90".
17116
ee9247c3
CD
171172012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17118
17119 * NEWS: Update copyright. Remove last-updated date.
17120 Mention math library bug fixes and timezone data changes.
17121 * README: Mention GNU/Hurd, x32, and HPPA support status.
17122
4648c381
TS
171232012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17124
17125 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17126
aac78a43
AJ
171272012-06-27 Andreas Jaeger <aj@suse.de>
17128
17129 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17130
ed3dbfad
AJ
171312012-06-25 Andreas Jaeger <aj@suse.de>
17132
17133 * sysdeps/s390/fpu/libm-test-ulps: Update.
17134
4d0ee855
AS
171352012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17136 Thomas Schwinge <thomas@codesourcery.com>
17137
17138 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17139 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17140 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17141 fanotify_mark.
17142
af1bce34
TS
171432012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17144
a9fa33ba
TS
17145 * sysdeps/mach/start.c: Remove file.
17146 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17147 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17148 * sysdeps/sh/init-first.c: Likewise.
17149
58f902b8
TS
17150 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17151 registers for frame unwinding purposes, add CFI directives.
17152 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17153 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17154 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17155 Likewise.
17156
1518f58b
TS
17157 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17158 __fortify_fail returning.
17159 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17160
db9b5059
TS
17161 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17162 sysdeps/sh/____longjmp_chk.S.
17163 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17164 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17165 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17166 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17167
967705fe
TS
17168 * sysdeps/sh/abort-instr.h: New file.
17169 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17170 process in case exit returns.
17171
a9def8c4
TS
17172 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17173 initialize the GOT register before use.
17174
2a649725
TS
17175 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17176 calculation of ARGC > 4.
17177
af1bce34
TS
17178 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17179 meaningful names to some local labels.
17180
d230f50a
KK
171812012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17182 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17183
17184 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17185 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17186 (__arch_compare_and_exchange_val_16_acq): Likewise.
17187 (__arch_compare_and_exchange_val_32_acq): Likewise.
17188 (atomic_exchange_and_add): Fix gUSA sequence.
17189 (atomic_add): Likewise.
17190 (atomic_add_negative): Likewise.
17191 (atomic_add_zero): Likewise.
17192 (atomic_bit_test_set): Likewise.
17193
0479b305
AS
171942012-06-22 Andreas Schwab <schwab@redhat.com>
17195
17196 [BZ #13579]
17197 * include/link.h (struct link_map): Add l_free_initfini.
17198 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17199 l_initfini.
17200 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17201 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17202 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17203 set.
17204
0e3933b9
CD
172052012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17206
17207 * configure.in: Use AC_LANG_SOURCE.
17208 * configure: Regenerate.
17209
4248b1b1
RM
172102012-06-22 Roland McGrath <roland@hack.frob.com>
17211
17212 * configure.in (libc_cv_localstatedir): New substituted variable.
17213 * configure: Regenerated.
17214 * config.make.in (localstatedir): New variable, substituted from
17215 libc_cv_localstatedir.
17216 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17217 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17218 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17219 * sysdeps/gnu/configure: Regenerated.
17220
006dd861
JL
172212012-06-21 Jeff Law <law@redhat.com>
17222
17223 [BZ #14277]
17224 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17225 free. Simplify list management for _LIBC case.
17226
79662d42
JM
172272012-06-21 Joseph Myers <joseph@codesourcery.com>
17228
b7abb4bf
JM
17229 [BZ #14273]
17230 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17231 Clear sign bit of 64-bit integer value before comparing against
17232 overflow value.
17233
79662d42
JM
17234 * sysdeps/mach/configure: Regenerated.
17235
1f150908
L
172362012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17237
17238 [BZ #14278]
17239 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17240
28363bbf
JL
172412012-06-21 Jeff Law <law@redhat.com>
17242
17243 [BZ #13882]
17244 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17245 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 17246 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
17247 * elf/dl-open.c (dl_open_worker): Likewise.
17248
09615db4
CD
172492012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17250
17251 * scripts/list-sources.sh: Scan PORTS for translations.
17252 * po/libc.pot: Regenerated.
17253
2174c6dd
AJ
172542012-06-21 Andreas Jaeger <aj@suse.de>
17255
17256 [BZ #12194]
17257 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17258 warning.
17259 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17260 * bits/byteswap-16.h (__bswap_16): Likewise.
17261 * bits/byteswap.h (__bswap_constant_16): Likewise.
17262
3ee947b1
L
172632012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17264
17265 [BZ #14117]
a2f34833
L
17266 * sysdeps/i386/fpu_control.h: Removed.
17267 * sysdeps/x86_64/fpu_control.h: Moved to ...
17268 * sysdeps/x86/fpu_control.h: Here.
17269
3ee947b1
L
17270 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17271 (_FPU_SETCW): Likewise.
17272
ed1825f8
L
172732012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17274
25f1282a
L
17275 [BZ #14117]
17276 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17277 * sysdeps/x86/fpu/bits/mathinline.h: This.
17278 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17279
ed1825f8
L
17280 [BZ #14050]
17281 [BZ #14117]
17282 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17283 functions if __x86_64__ is defined.
17284
36d54b74
CLT
172852012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17286
17287 * string/endian.h: Add !__ASSEMBLER__ condition for including
17288 conversion interfaces.
17289
10285c21
JM
172902012-06-15 Joseph Myers <joseph@codesourcery.com>
17291
17292 [BZ #14241]
17293 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17294 of ABS(x) in calculating zero to negative powers other than odd
17295 integers.
17296 * math/libm-test.inc (pow_test): Add more tests.
17297
06c5abbd
AJ
172982012-06-15 Andreas Jaeger <aj@suse.de>
17299
17300 * manual/contrib.texi (Contributors): Update entry of Liubov
17301 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17302 Machado Filho.
17303
a3aeac40
CH
173042012-06-15 Cyril Hrubis <metan@ucw.cz>
17305
17306 * string/string.h: Add __wur to GNU version of strerror_r.
17307
49bdf4c1
L
173082012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17309
17310 [BZ #14229]
17311 * string/Makefile (tests): Add tst-strtok_r.
17312 * string/tst-strtok_r.c: New file.
17313 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17314 RAX_LP/RDX_LP on SAVE_PTR.
17315
834f9b8d
RM
173162012-06-14 Roland McGrath <roland@hack.frob.com>
17317
17318 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17319
75fa1921
JM
173202012-06-14 Joseph Myers <joseph@codesourcery.com>
17321
17322 * libm_test.inc (csqrt_test): Allow more spurious underflow
17323 exceptions.
17324 (j0_test): Likewise.
17325 (j1_test): Likewise.
17326 (y0_test): Likewise.
17327 (y1_test): Likewise.
17328
771766df
CD
173292012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17330
17331 * po/Makefile (libc.pot): Use UTF-8 charset.
17332
ceb9e56b
PP
173332012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17334
17335 [BZ #14210]
17336 Suppress sign-conversion warning from FD_SET.
17337 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17338 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17339 not unsigned long int.
17340 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17341
ddb28975
L
173422012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17343
17344 [BZ #14050]
17345 [BZ #14117]
17346 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17347 __extern_always_inline instead of __extern_inline.
17348 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17349 (__signbit): Likewise.
17350 (__signbitl): Support C++ namespace.
17351 (lrintf): New inline function.
17352 (lrint): Likewise.
17353 (llrintf): Likewise.
17354 (llrint): Likewise.
17355 (fmaxf): Likewise.
17356 (fmax): Likewise.
17357 (fminf): Likewise.
17358 (fmin): Likewise.
17359 (rint): Likewise.
17360 (rintf): Likewise.
17361 (ceil): Likewise.
17362 (ceilf): Likewise.
17363 (floor): Likewise.
17364 (floorf): Likewise.
17365 (nearbyint): Likewise.
17366 (nearbyintf): Likewise.
17367
d7b4fb26
TS
173682012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17369
17370 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17371 non-default versions.
17372
eb55f5c2
RM
173732012-06-11 Roland McGrath <roland@hack.frob.com>
17374
17375 [BZ #14218]
17376 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17377
366af02c
TS
173782012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17379
99ff6e5c
TS
17380 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17381 (FE_UPWARD, FE_DOWNWARD): Don't define.
17382 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17383 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17384
366af02c
TS
17385 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17386 reading it.
17387 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17388 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17389
793ea851
KK
173902012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17391
17392 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17393 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17394 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17395 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17396
a728a38f
L
173972012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17398
17399 [BZ #14117]
c08010c7
L
17400 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17401 * sysdeps/i386/fpu/Implies: New file.
17402 * sysdeps/x86_64/fpu/Implies: Likewise.
17403 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17404 * sysdeps/x86/fpu/bits/fenv.h: This.
17405
a728a38f
L
17406 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17407 __SSE_MATH__.
17408
6e230d11
SP
174092012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17410
17411 [BZ #14134]
17412 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17413 character 0xffff that matches the last element of the
17414 conversion table.
17415
1b671feb
AZ
174162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17417
17418 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17419 fmodl commit.
17420
6043738b
AZ
174212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17422
17423 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17424 values higher than 25.6283.
17425
34ae0b32
AZ
174262012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17427
17428 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17429 subnormal exponent extraction and add some __builtin_expect.
17430 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17431 Fix for subnormal mantissa calculation.
17432
1214ec8f
MF
174332012-06-04 Mike Frysinger <vapier@gentoo.org>
17434
17435 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17436 cpu2 is -1 and errno is not ENOSYS.
17437
f3d1f93c
L
174382012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17439
17440 [BZ #14117]
0e4a3cd7
L
17441 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17442 * sysdeps/x86/bits/string.h: This.
17443 * sysdeps/x86_64/bits/string.h: Removed.
17444
6704c645
L
17445 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17446 if not compiling for x86-64, but compiling for >= i486.
17447
48495318
L
17448 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17449 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17450
14adcbfc
L
17451 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17452 New macro from Linux kernel 3.4.0.
17453 (FP_XSTATE_MAGIC2): Likewise.
17454 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17455 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17456 (struct _fpx_sw_bytes): New struct.
17457 (struct _xsave_hdr): Likewise.
17458 (struct _ymmh_state): Likewise.
17459 (struct _xstate): Likewise.
17460
68e408ab
L
17461 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17462 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17463 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17464 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17465 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17466 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17467
f3d1f93c
L
17468 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17469 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17470 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17471 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17472 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17473 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17474
d9dc34cd
TMQMF
174752012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17476
17477 [BZ #13743]
17478 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17479 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17480 (sysdep_headers): Include sys/platform/ppc.h.
17481 * sysdeps/powerpc/test-gettimebase.c: Test for
17482 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17483 * manual/Makefile (appendices): Include platform.texi.
17484 * manual/contrib.texi (Contributors): Update @node pointers.
17485 * manual/maint.texi (Maintenance): Likewise.
17486 (Platform): New node.
17487 * manual/platform.texi: New file. Document the new features.
17488
4af3879c
SP
174892012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17490 Jakub Jelinek <jakub@redhat.com>
17491
17492 [BZ #14188]
17493 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17494 where __builtin_expect is unavailable.
17495
2fd6ff13
DM
174962012-06-03 David S. Miller <davem@davemloft.net>
17497
17498 * stdlib/longlong.h: Updated from GCC.
17499
173f7220
AS
175002012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17501
17502 [BZ #14042]
17503 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17504 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17505 __mcount_internal.
17506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17507 (GLIBC_2.16): Likewise.
17508
f34a1c6f
L
175092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17510
17511 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17512
88a4576f
JM
175132012-06-01 Joseph Myers <joseph@codesourcery.com>
17514
ea32bcdd
JM
17515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17516 (default-abi): New variable.
17517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17518 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17519 variable.
17520 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17521 Likewise.
17522 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17523 Likewise.
17524 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17525 Likewise.
17526
88a4576f
JM
17527 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17528 definition. Document in comment.
17529
402fe938
DM
175302012-06-01 David S. Miller <davem@davemloft.net>
17531
17532 * stdlib/longlong.h: Updated from GCC.
17533
3553723f
L
175342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17535
17536 [BZ #14117]
3bd872c4
L
17537 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17538 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17539 sys/debugreg.h sys/io.h here.
17540 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17541 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17542 sys/io.h.
17543 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17544 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17545 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17546 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17547 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17548 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17549
3553723f
L
17550 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17551 Define only if __x86_64__ is defined.
17552
4842e4fe
JM
175532012-06-01 Joseph Myers <joseph@codesourcery.com>
17554
c5bfe3d5
JM
17555 [BZ #14048]
17556 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17557 Use int64_t for variable i.
17558 * math/libm-test.inc (fmod_test): Add more tests.
17559
4842e4fe
JM
17560 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17561 z computation is not scheduled after fetestexcept.
17562 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17563 Use math_force_eval instead of asm to ensure calculation scheduled
17564 before exception test.
17565 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17566 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17567
efb73488
AJ
175682012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17569
17570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17571 computation is not scheduled after fetestexcept.
17572
29bcce7c
L
175732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17574
17575 [BZ #14117]
17576 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17577 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17578
73a68f94
AZ
175792012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17580
17581 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17582 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17583
67b6df78
L
175842012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17585
edf2933a 17586 [BZ #14117]
ebc64a18
L
17587 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17588 <bits/wordsize.h>.
17589 (__WCHAR_MIN): Support __WORDSIZE == 64.
17590 (__WCHAR_MAX): Likewise.
17591
edf2933a
L
17592 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17593 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17594
57c6cf40
L
17595 [BZ #14183]
17596 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17597 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17598
67b6df78 17599 [BZ #14117]
8eb6281e
L
17600 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17601 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17602
aac639f4
L
17603 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17604 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17605
67b6df78
L
17606 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17607 Defined to 1 if __x86_64__ isn't defined.
17608 (_STAT_VER_LINUX_OLD): New.
17609 (st_atime): Remove duplicate.
17610 (st_mtime): Likewise.
17611 (st_ctime): Likewise.
17612
1c2cfe81
DM
176132012-05-31 David S. Miller <davem@davemloft.net>
17614
17615 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17616 entries.
17617
5be8418c
AS
176182012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17619
e7725326
AS
17620 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17621 gen-libm-test.pl.
17622
5be8418c
AS
17623 [BZ #14132]
17624 * elf/dl-reloc.c: Include <_itoa.h>.
17625 (_dl_reloc_bad_type): Remove use of INTUSE.
17626 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17627 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17628 * stdio-common/psiginfo.c (psiginfo): Likewise.
17629 * stdio-common/psignal.c (psignal): Likewise.
17630 * string/strsignal.c (strsignal): Likewise.
17631 * include/signal.h (_sys_siglist): Declare hidden proto.
17632 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17633 INTVARDEF with libc_hidden_data_def.
17634 * stdio-common/itoa-udigits.c: Likewise.
17635 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17636 (_itoa_lower_digits_internal): Remove declaration.
17637 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17638 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17639 (_sys_sigabbrev_internal): Remove aliases.
17640 (_sys_siglist): Define hidden alias.
17641
507352f1
MT
176422012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17643
17644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17645 bits/sysctl.h.
17646
42bbb1c3
L
176472012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17648
17649 [BZ #14117]
6bd784b6
L
17650 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17651 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17652
8bca20f0
L
17653 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17654 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17655 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17656 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17657 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17658 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17659
f9e890a9
L
17660 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17661 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17662 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17663
471101a1
L
17664 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17665 with __addr.
17666 (insw): Likewise.
17667 (insl): Likewise.
17668 (outsb): Likewise.
17669 (outsw): Likewise.
17670 (outsl): Likewise.
17671
6451c862
L
17672 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17673 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17674 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17675
a254b8c9
L
17676 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17677 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17678 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17679 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17680 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17681 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17682
b8dfdd92
L
17683 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17684 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17685
578cd270
L
17686 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17687 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17688
de662f5f
L
17689 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17690 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17691 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17692
25653439
L
17693 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17694 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17695 to ...
17696 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17697
6bad24a0
L
17698 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17699 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17700 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17701
42bbb1c3
L
17702 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17703 for x86-64.
17704 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17705
2d10d547
JM
177062012-05-31 Joseph Myers <joseph@codesourcery.com>
17707
17708 * math/math.h (M_El): Use two more decimal places.
17709 (M_LOG2El): Likewise.
17710 (M_LOG10El): Likewise.
17711 (M_LN2l): Likewise.
17712 (M_LN10l): Likewise.
17713 (M_PIl): Likewise.
17714 (M_PI_2l): Likewise.
17715 (M_PI_4l): Likewise.
17716 (M_1_PIl): Likewise.
17717 (M_2_PIl): Likewise.
17718 (M_2_SQRTPIl): Likewise.
17719 (M_SQRT2l): Likewise.
17720 (M_SQRT1_2l): Likewise.
17721
f230c29b
DM
177222012-05-31 David S. Miller <davem@davemloft.net>
17723
17724 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17725 values between float registers.
17726 * sysdeps/sparc/sparc64/memset.S: Likewise.
17727 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17728
fed806c3
MF
177292012-05-31 Mike Frysinger <vapier@gentoo.org>
17730
17731 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17732 -D_FORTIFY_SOURCE=1.
17733 (CPPFLAGS-tst-longjmp_chk.c): Define.
17734 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17735 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17736 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17737 CFLAGS-tst-wchar-h.c.
17738
30917259
MP
177392012-05-31 Marek Polacek <polacek@redhat.com>
17740
17741 [BZ #14132]
17742 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17743 __endmntent_internal): Remove declaration.
17744 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17745 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17746 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17747
1c58d5dc
DM
177482012-05-30 David S. Miller <davem@davemloft.net>
17749
17750 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17751 (___Q_simulate_exceptions): Use real FP ops rather than writing
17752 into the %fsr.
17753 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17754 Likewise.
17755
7dc00e0d
L
177562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17757
17758 [BZ #14117]
0bd53985
L
17759 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17760 * sysdeps/x86/bits/xtitypes.h: This.
17761
3a257e66
L
17762 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17763 * sysdeps/x86/bits/wordsize.h: This.
17764
62f62904
L
17765 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17766 * sysdeps/x86/bits/huge_vall.h: This.
17767
404fe9d9
L
17768 * sysdeps/i386/bits/select.h: Removed.
17769 * sysdeps/x86_64/bits/select.h: Renamed to ...
17770 * sysdeps/x86/bits/select.h: This.
17771
d48d0446
L
17772 * sysdeps/i386/bits/setjmp.h: Removed.
17773 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17774 * sysdeps/x86/bits/setjmp.h: This.
17775
7dc00e0d
L
17776 * sysdeps/i386/bits/mathdef.h: Removed.
17777 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17778 * sysdeps/x86/bits/mathdef.h: This.
17779
03277f8f
AS
177802012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17781
17782 [BZ #14132]
17783 * include/sys/socket.h (__connect_internal)
17784 (__libc_sa_len_internal): Remove declaration.
17785 (__connect, __libc_sa_len): Declare hidden_proto.
17786 (SA_LEN): Remove use of INTUSE.
17787 * socket/connect.c: Add libc_hidden_def.
17788 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17789 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17790 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17791 alias.
17792 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17793 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17794 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17795 of adding _internal alias.
17796
13764867
L
177972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17798
17799 [BZ #14117]
6bd97696
L
17800 * sysdeps/i386/bits/link.h: Removed.
17801 * sysdeps/i386/bits/linkmap.h: Likewise.
17802 * sysdeps/x86_64/bits/link.h: Renamed to ...
17803 * sysdeps/x86/bits/link.h: This.
17804 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17805 * sysdeps/x86/bits/linkmap.h: This.
17806
f726f0bb
L
17807 * sysdeps/i386/bits/endian.h: Removed.
17808 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17809 * sysdeps/x86/bits/endian.h: This.
17810
13764867
L
17811 * sysdeps/i386/bits/byteswap.h: Removed.
17812 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17813 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17814 * sysdeps/x86/bits/byteswap.h: This.
17815 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17816 * sysdeps/x86/bits/byteswap-16.h: This.
17817 * sysdeps/i386/Implies: Add x86.
17818 * sysdeps/x86_64/Implies: Likewise.
17819
ae251b0b
DM
178202012-05-30 David S. Miller <davem@davemloft.net>
17821
17822 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17823 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17824 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17825 (FP_TRAPPING_EXCEPTIONS): Define.
17826 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17827 (FP_TRAPPING_EXCEPTIONS): Define.
17828 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17829 subnormals only when inexact has been signalled or underflow
17830 exceptions are enabled.
17831 (_FP_PACK_CANONICAL): Likewise.
17832
d5c90867
L
178332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17834
17835 [BZ #14183]
17836 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17837 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17838
63f1549e
RH
178392012-05-30 Richard Henderson <rth@twiddle.net>
17840
8d8f2279
RH
17841 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17842 with #ifndef NOT_IN_libc.
17843
63f1549e
RH
17844 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17845 marked to avoid plt entry.
17846
0ab0291b
L
178472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17848
17849 [BZ #14112]
17850 * Makeconfig (default-abi): New macro.
17851 (abi-includes): Likewise.
17852 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17853 $(abi-$(default-abi)-lib-soname) for soname if defined.
17854 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17855 abi-variants.
17856 * Makefile (installed-stubs): Likewise.
17857 * include/stubs-biarch.h: Removed.
17858 * scripts/lib-names.awk: Only handle one library at a time.
17859 * scripts/soversions.awk: Remove WORDSIZE support.
17860 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17861 entries.
17862 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17863 Removed.
17864 (syscall-list-default-condition): Likewise.
17865 (syscall-list-default-condition): Likewise.
17866 (syscall-list-includes): Likewise.
17867 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17868 syscall-list-* with abi-*. Handle undefined abi-variants.
17869 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17870 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17871 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17872 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17873 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17874 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17875 Removed.
17876 (syscall-list-32-options): Likewise.
17877 (syscall-list-32-condition): Likewise.
17878 (syscall-list-64-options): Likewise.
17879 (syscall-list-64-condition): Likewise.
17880 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17881 macro.
17882 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17883 Renamed to ...
17884 (abi-*): This.
17885 (abi-64-ld-soname): New macro.
17886 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17887 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17888 Renamed to ...
17889 (abi-*): This.
17890 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17891 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17892
4da0431d
JM
178932012-05-30 Joseph Myers <joseph@codesourcery.com>
17894
3a85279c
JM
17895 * sysdeps/unix/sysv/linux/kernel-features.h
17896 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17897 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17898 include <kernel-features.h>.
17899 [!__NR_ftruncate64]: Remove conditional code.
17900 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17901 [__NR_ftruncate64]: Make code unconditional.
17902 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17903 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17904 include <kernel-features.h>.
17905 [!__NR_ftruncate64]: Remove conditional code.
17906 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17907 [__NR_ftruncate64]: Make code unconditional.
17908 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17910 include <kernel-features.h>.
17911 [!__NR_ftruncate64]: Remove conditional code.
17912 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17913 [__NR_ftruncate64]: Make code unconditional.
17914 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17916 include <kernel-features.h>.
17917 [!__NR_ftruncate64]: Remove conditional code.
17918 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17919 [__NR_ftruncate64]: Make code unconditional.
17920 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17921
4da0431d
JM
17922 * configure.in (libc_cv_fpie): Weaken to a compile test using
17923 LIBC_TRY_CC_OPTION.
17924 * configure: Regenerated.
17925
11ef492c
AK
179262012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17927
17928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17932 Refreshed.
17933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17939 Refreshed.
17940
d66ef399
DM
179412012-05-27 David S. Miller <davem@davemloft.net>
17942
17943 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17944 (___Q_zero): New.
17945 (__Q_simulate_exceptions): Return void. Change to simulate
17946 exceptions by writing into the %fsr.
17947 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17948 (__Qp_handle_exceptions): Likewise.
17949 (numbers): Delete.
17950 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17951 __Qp_handle_exceptions.
17952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17953 __Qp_handle_exceptions.
17954 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17955 as unused and give dummy FP_RND_NEAREST initializer.
17956 (FP_INHIBIT_RESULTS): Define.
17957 (___Q_simulate_exceptions): Update declaration.
17958 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17959 formatting.
17960 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17961 as unused and give dummy FP_RND_NEAREST initializer.
17962 (__Qp_handle_exceptions): Update declaration.
17963 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17964 formatting.
17965
04fb54b5
TS
179662012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17967
17968 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17969 the temporary FPU control word.
17970 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17971 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17972 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17973 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17974 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17975 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17976 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17977 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17978 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17979 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17980 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17981
3f99608f
KK
179822012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17983
17984 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17985 fields.
17986
65a4de4e
CLT
179872012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17988
17989 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17990 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17991 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17992 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17993 Likewise.
17994 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17995 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17996 Likewise.
17997
15749d40
UD
179982012-05-27 Ulrich Drepper <drepper@gmail.com>
17999
18000 * po/h.po: Update from translation team.
18001
25dbcb27
AS
180022012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18003
3d3f8e55
AS
18004 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18005
25dbcb27
AS
18006 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18007 handling of denormals.
18008 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18009 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18010 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18011 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18012 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18014 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18015 Likewise.
18016
7ad47a80 180172012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
18018
18019 [BZ #14152]
18020 * math/libm-test.inc (fma_test): Don't always expect underflow
18021 exception.
18022
9c6ea9fa
SP
180232012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18024
18025 [BZ #12416]
18026 * elf/tst-execstack.c: Include stackinfo.h.
18027 (do_test): Adjust test case to ensure that pthread_getattr_np
18028 behaviour remains the same after marking stack executable.
18029
a8239222
JM
180302012-05-25 Joseph Myers <joseph@codesourcery.com>
18031
18032 * sysdeps/unix/sysv/linux/kernel-features.h
18033 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18034 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18035 kernel-features.h.
18036 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18037 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18038 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18039 kernel-features.h.
18040 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18041 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18042
918b5606
L
180432012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18044
18045 * configure.in: Define the default includes to being none.
18046 * configure: Regenerated.
18047
3a097cc7
RM
180482012-05-25 Roland McGrath <roland@hack.frob.com>
18049
8422c9a5
RM
18050 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18051 * sysdeps/x86_64/setjmp.S: Likewise.
18052 * sysdeps/i386/bsd-setjmp.S: Likewise.
18053 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18054 * sysdeps/i386/setjmp.S: Likewise.
18055 * sysdeps/i386/__longjmp.S: Likewise.
18056 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18057 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18058
3a097cc7
RM
18059 * include/stap-probe.h: New file.
18060 * configure.in: Handle --enable-systemtap.
18061 * configure: Regenerated.
18062 * config.h.in (USE_STAP_PROBE): New #undef.
18063 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18064 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18065 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18066
21708942
JM
180672012-05-25 Joseph Myers <joseph@codesourcery.com>
18068
18069 [BZ #13717]
18070 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18071 to 2.4.0 where earlier.
18072 * sysdeps/unix/sysv/linux/configure: Regenerated.
18073 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18074 <kernel-features.h>.
18075 [__ASSUME_32BITUIDS]: Make code unconditional.
18076 [!__ASSUME_32BITUIDS]: Remove conditional code.
18077 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18078 <kernel-features.h>.
18079 [__ASSUME_32BITUIDS]: Make code unconditional.
18080 [!__ASSUME_32BITUIDS]: Remove conditional code.
18081 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18082 [__ASSUME_32BITUIDS]: Make code unconditional.
18083 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18084 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18085 <kernel-features.h>.
18086 [__ASSUME_32BITUIDS]: Make code unconditional.
18087 [!__ASSUME_32BITUIDS]: Remove conditional code.
18088 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18089 <kernel-features.h>.
18090 [__ASSUME_32BITUIDS]: Make code unconditional.
18091 [!__ASSUME_32BITUIDS]: Remove conditional code.
18092 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18093 <kernel-features.h>.
18094 [__ASSUME_32BITUIDS]: Make code unconditional.
18095 [!__ASSUME_32BITUIDS]: Remove conditional code.
18096 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18097 <kernel-features.h>.
18098 [__ASSUME_32BITUIDS]: Make code unconditional.
18099 [!__ASSUME_32BITUIDS]: Remove conditional code.
18100 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18101 <kernel-features.h>.
18102 [__ASSUME_32BITUIDS]: Make code unconditional.
18103 [!__ASSUME_32BITUIDS]: Remove conditional code.
18104 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18105 <kernel-features.h>.
18106 [__ASSUME_32BITUIDS]: Make code unconditional.
18107 [!__ASSUME_32BITUIDS]: Remove conditional code.
18108 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18109 <kernel-features.h>.
18110 [__ASSUME_32BITUIDS]: Make code unconditional.
18111 [!__ASSUME_32BITUIDS]: Remove conditional code.
18112 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18113 <kernel-features.h>.
18114 [__ASSUME_32BITUIDS]: Make code unconditional.
18115 [!__ASSUME_32BITUIDS]: Remove conditional code.
18116 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18117 <kernel-features.h>.
18118 [__ASSUME_32BITUIDS]: Make code unconditional.
18119 [!__ASSUME_32BITUIDS]: Remove conditional code.
18120 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18121 <kernel-features.h>.
18122 [__ASSUME_32BITUIDS]: Make code unconditional.
18123 [!__ASSUME_32BITUIDS]: Remove conditional code.
18124 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18125 <kernel-features.h>.
18126 [__NR_setresgid] (__setresgid): Do not declare.
18127 [__ASSUME_32BITUIDS]: Make code unconditional.
18128 [!__ASSUME_32BITUIDS]: Remove conditional code.
18129 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18130 <kernel-features.h>.
18131 [__NR_setresuid] (__setresuid): Do not declare.
18132 [__ASSUME_32BITUIDS]: Make code unconditional.
18133 [!__ASSUME_32BITUIDS]: Remove conditional code.
18134 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18135 <kernel-features.h>.
18136 [__ASSUME_32BITUIDS]: Make code unconditional.
18137 [!__ASSUME_32BITUIDS]: Remove conditional code.
18138 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18139 <kernel-features.h>.
18140 [__ASSUME_32BITUIDS]: Make code unconditional.
18141 [!__ASSUME_32BITUIDS]: Remove conditional code.
18142 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18143 <kernel-features.h>.
18144 [__ASSUME_32BITUIDS]: Make code unconditional.
18145 [!__ASSUME_32BITUIDS]: Remove conditional code.
18146 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18147 <kernel-features.h>.
18148 [__ASSUME_32BITUIDS]: Make code unconditional.
18149 [!__ASSUME_32BITUIDS]: Remove conditional code.
18150 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18151 <kernel-features.h>.
18152 [__ASSUME_32BITUIDS]: Make code unconditional.
18153 [!__ASSUME_32BITUIDS]: Remove conditional code.
18154 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18155 <kernel-features.h>.
18156 [__ASSUME_32BITUIDS]: Make code unconditional.
18157 [!__ASSUME_32BITUIDS]: Remove conditional code.
18158 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18159 <kernel-features.h>.
18160 [__ASSUME_32BITUIDS]: Make code unconditional.
18161 [!__ASSUME_32BITUIDS]: Remove conditional code.
18162 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18163 <kernel-features.h>.
18164 [__ASSUME_32BITUIDS]: Make code unconditional.
18165 [!__ASSUME_32BITUIDS]: Remove conditional code.
18166 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18167 <kernel-features.h>.
18168 [__ASSUME_32BITUIDS]: Make code unconditional.
18169 [!__ASSUME_32BITUIDS]: Remove conditional code.
18170 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18171 <kernel-features.h>.
18172 [__ASSUME_32BITUIDS]: Make code unconditional.
18173 [!__ASSUME_32BITUIDS]: Remove conditional code.
18174 * sysdeps/unix/sysv/linux/kernel-features.h
18175 (__ASSUME_SETRESUID_SYSCALL): Remove.
18176 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18177 (__ASSUME_32BITUIDS): Likewise.
18178 (__ASSUME_LDT_WORKS): Likewise.
18179 (__ASSUME_O_DIRECTORY): Likewise.
18180 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18181 architecture but not kernel version.
18182 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18183 (__ASSUME_MMAP2_SYSCALL): Likewise.
18184 (__ASSUME_STAT64_SYSCALL): Likewise.
18185 (__ASSUME_IPC64): Likewise.
18186 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18187 <kernel-features.h>.
18188 [__ASSUME_32BITUIDS]: Make code unconditional.
18189 [!__ASSUME_32BITUIDS]: Remove conditional code.
18190 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18191 <kernel-features.h>.
18192 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18193 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18194 132096]: Remove conditional code.
18195 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18196 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
18205 <kernel-features.h>.
18206 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18207 unconditional.
18208 (__setresgid): Do not declare.
18209 [__ASSUME_32BITUIDS]: Make code unconditional.
18210 [!__ASSUME_32BITUIDS]: Remove conditional code.
18211 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18212 <kernel-features.h>.
18213 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18214 unconditional.
18215 (__setresuid): Do not declare.
18216 [__ASSUME_32BITUIDS]: Make code unconditional.
18217 [!__ASSUME_32BITUIDS]: Remove conditional code.
18218 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18219 <kernel-features.h>.
18220 [__ASSUME_32BITUIDS]: Make code unconditional.
18221 [!__ASSUME_32BITUIDS]: Remove conditional code.
18222 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18223 <kernel-features.h>.
18224 [__ASSUME_32BITUIDS]: Make code unconditional.
18225 [!__ASSUME_32BITUIDS]: Remove conditional code.
18226
a386f1cc
RH
182272012-05-25 Richard Henderson <rth@twiddle.net>
18228
18229 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18230 dl_hwcap to ifunc resolver.
18231 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18232 elf_ifunc_invoke.
18233 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18234 dl_hwcap to ifunc resolver.
18235 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18236
b6550497
JM
182372012-05-24 Joseph Myers <joseph@codesourcery.com>
18238
18239 [BZ #14153]
18240 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18241 for |x| <= 2**-26, not 2**-57.
18242 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18243 exception.
18244
b0bc23a1
JL
182452012-05-24 Jeff Law <law@redhat.com>
18246
18247 * stdio-common/Makefile (tests): Add bug25.
18248 * stdio-common/bug25.c: New test.
18249
347c92e9
L
182502012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18251
18252 [BZ #13576]
18253 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18254 multiple of MALLOC_ALIGNMENT in size.
18255 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18256
6bcc8b3f
JM
182572012-05-24 Joseph Myers <joseph@codesourcery.com>
18258
18259 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18260 Require >= 256.
18261 (FILENAME_MAX): Use macro-int-constant.
18262 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18263 (_IOFBF): Use macro-int-constant.
18264 (_IOLBF): Likewise.
18265 (_IONBF): Likewise.
18266 (SEEK_CUR): Likewise.
18267 (SEEK_END): Likewise.
18268 (SEEK_SET): Likewise.
18269 (TMP_MAX): Likewise.
18270 (EOF): Use macro-int-constant. Require < 0.
18271 (NULL): Use macro-constant. Require == 0.
18272 (stdin): Require type to be FILE *.
18273 (stdout): Likewise.
18274 (stderr): Likewise.
18275 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18276 macro-int-constant.
18277 (EXIT_SUCCESS): Likewise.
18278 (NULL): Use macro-constant. Require == 0.
18279 (RAND_MAX): Use macro-int-constant.
18280 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18281 [C99-based standards] (strtof): Require function.
18282 [C99-based standards] (strtold): Likewise.
18283 [C99-based standards] (strtoll): Likewise.
18284 [C99-based standards] (strtoull): Likewise.
18285 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18286 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18287 [ISO || ISO99 || ISO11] (math.h): Likewise.
18288 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18289 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18290 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18291
d18ea0c5
AS
182922012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18293
18294 [BZ #14132]
56d25bb8
AS
18295 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18296 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18297 * intl/dgettext.c (DCGETTEXT): Likewise.
18298 * intl/gettext.c (DCGETTEXT): Likewise.
18299 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18300 * posix/regex_internal.h (gettext): Likewise.
18301 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18302 Remove declaration.
18303 * include/argz.h (__argz_count_internal)
18304 (__argz_stringify_internal): Remove declaration.
18305 (__argz_count, __argz_stringify): Declare hidden proto.
18306 * intl/dcgettext.c: Remove use of INTDEF.
18307 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18308 * string/argz-stringify.c: Likewise.
18309 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18310 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18311 Declare hidden proto.
d18ea0c5
AS
18312 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18313 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18314 Declare hidden proto.
18315 * include/stdio.h (__asprintf_internal): Don't declare.
18316 (__asprintf): Don't define as macro. Declare hidden proto.
18317 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18318 (__fsetlocking): Declare hidden proto.
18319 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18320 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18321 hidden proto.
18322 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18323 (_IO_setlinebuf): Remove use of INTUSE.
18324 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18325 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18326 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18327 Remove declaration.
18328 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18329 (_IO_do_flush): Remove use of INTUSE.
18330 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18331 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18332 (_IO_adjust_column, _IO_least_wmarker)
18333 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18334 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18335 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18336 (_IO_default_doallocate, _IO_wdefault_doallocate)
18337 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18338 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18339 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18340 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18341 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18342 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18343 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18344 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18345 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18346 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18347 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18348 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18349 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18350 proto.
18351 (_IO_flush_all_internal, _IO_adjust_column_internal)
18352 (_IO_default_uflow_internal, _IO_default_finish_internal)
18353 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18354 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18355 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18356 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18357 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18358 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18359 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18360 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18361 (_IO_file_close_internal, _IO_file_close_it_internal)
18362 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18363 (_IO_file_init_internal, _IO_file_attach_internal)
18364 (_IO_file_fopen_internal, _IO_file_read_internal)
18365 (_IO_file_sync_internal, _IO_file_seek_internal)
18366 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18367 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18368 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18369 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18370 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18371 (_IO_list_all_internal, _IO_link_in_internal)
18372 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18373 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18374 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18375 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18376 (_IO_do_write_internal, _IO_padn_internal)
18377 (_IO_getline_info_internal, _IO_getline_internal)
18378 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18379 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18380 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18381 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18382 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18383 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18384 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18385 with libc_hidden_ver, remove use of INTUSE.
18386 * libio/genops.c: Likewise.
18387 * libio/freopen.c: Likewise.
18388 * libio/freopen64.c: Likewise.
18389 * libio/iofclose.c: Likewise.
18390 * libio/iofdopen.c: Likewise.
18391 * libio/iofflush.c: Likewise.
18392 * libio/iofflush_u.c: Likewise.
18393 * libio/iofgets.c: Likewise.
18394 * libio/iofgets_u.c: Likewise.
18395 * libio/iofopen.c: Likewise.
18396 * libio/iofopncook.c: Likewise.
18397 * libio/iofread.c: Likewise.
18398 * libio/iofread_u.c: Likewise.
18399 * libio/ioftell.c: Likewise.
18400 * libio/iofwrite.c: Likewise.
18401 * libio/iogetline.c: Likewise.
18402 * libio/iogets.c: Likewise.
18403 * libio/iogetwline.c: Likewise.
18404 * libio/iopadn.c: Likewise.
18405 * libio/iopopen.c: Likewise.
18406 * libio/ioseekoff.c: Likewise.
18407 * libio/ioseekpos.c: Likewise.
18408 * libio/iosetbuffer.c: Likewise.
18409 * libio/iosetvbuf.c: Likewise.
18410 * libio/ioungetc.c: Likewise.
18411 * libio/ioungetwc.c: Likewise.
18412 * libio/iovdprintf.c: Likewise.
18413 * libio/iovsprintf.c: Likewise.
18414 * libio/iovsscanf.c: Likewise.
18415 * libio/memstream.c: Likewise.
18416 * libio/obprintf.c: Likewise.
18417 * libio/oldfileops.c: Likewise.
18418 * libio/oldiofclose.c: Likewise.
18419 * libio/oldiofdopen.c: Likewise.
18420 * libio/oldiofopen.c: Likewise.
18421 * libio/oldiopopen.c: Likewise.
18422 * libio/oldstdfiles.c: Likewise.
18423 * libio/putc.c: Likewise.
18424 * libio/setbuf.c: Likewise.
18425 * libio/setlinebuf.c: Likewise.
18426 * libio/stdfiles.c: Likewise.
18427 * libio/strops.c: Likewise.
18428 * libio/vasprintf.c: Likewise.
18429 * libio/vscanf.c: Likewise.
18430 * libio/vsnprintf.c: Likewise.
18431 * libio/vswprintf.c: Likewise.
18432 * libio/wfiledoalloc.c: Likewise.
18433 * libio/wfileops.c: Likewise.
18434 * libio/wgenops.c: Likewise.
18435 * libio/wmemstream.c: Likewise.
18436 * libio/wstrops.c: Likewise.
18437 * libio/__fpurge.c: Likewise.
18438 * libio/__fsetlocking.c: Likewise.
18439 * assert/assert.c: Likewise.
18440 * debug/fgets_chk.c: Likewise.
18441 * debug/fgets_u_chk.c: Likewise.
18442 * debug/fread_chk.c: Likewise.
18443 * debug/fread_u_chk.c: Likewise.
18444 * debug/gets_chk.c: Likewise.
18445 * debug/obprintf_chk.c: Likewise.
18446 * debug/vasprintf_chk.c: Likewise.
18447 * debug/vdprintf_chk.c: Likewise.
18448 * debug/vsnprintf_chk.c: Likewise.
18449 * debug/vsprintf_chk.c: Likewise.
18450 * malloc/mtrace.c: Likewise.
18451 * misc/error.c: Likewise.
18452 * misc/syslog.c: Likewise.
18453 * stdio-common/asprintf.c: Likewise.
18454 * stdio-common/fxprintf.c: Likewise.
18455 * stdio-common/getw.c: Likewise.
18456 * stdio-common/isoc99_fscanf.c: Likewise.
18457 * stdio-common/isoc99_scanf.c: Likewise.
18458 * stdio-common/isoc99_vfscanf.c: Likewise.
18459 * stdio-common/isoc99_vscanf.c: Likewise.
18460 * stdio-common/isoc99_vsscanf.c: Likewise.
18461 * stdio-common/printf-prs.c: Likewise.
18462 * stdio-common/printf_fp.c: Likewise.
18463 * stdio-common/printf_fphex.c: Likewise.
18464 * stdio-common/printf_size.c: Likewise.
18465 * stdio-common/putw.c: Likewise.
18466 * stdio-common/scanf.c: Likewise.
18467 * stdio-common/sprintf.c: Likewise.
18468 * stdio-common/tmpfile.c: Likewise.
18469 * stdio-common/vfprintf.c: Likewise.
18470 * stdio-common/vfscanf.c: Likewise.
18471 * stdlib/strfmon_l.c: Likewise.
18472 * sunrpc/openchild.c: Likewise.
18473 * sunrpc/xdr_stdio.c: Likewise.
18474 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18475 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18476
d6c33fda
RM
184772012-05-24 Roland McGrath <roland@hack.frob.com>
18478
c1487492
RM
18479 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18480
18481 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18482 in the third column, to generate for the shared library an IFUNC
18483 that uses _dl_vdso_vsym.
18484 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18485 * Makeconfig (object-suffixes-noshared): New variable.
18486
18487 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18488 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18489 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18490 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18491
d6c33fda
RM
18492 [BZ #14132]
18493 * include/sys/time.h (__gettimeofday): Remove macro.
18494 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18495 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18496 Remove INTDEF.
18497 (__gettimeofday): Add libc_hidden_def.
18498 (gettimeofday): Add libc_hidden_weak.
18499 * sysdeps/mach/gettimeofday.c: Likewise.
18500 * sysdeps/posix/gettimeofday.c: Likewise.
18501 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18502 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18503 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18504 (__gettimeofday_internal): Remove strong_alias.
18505 (__gettimeofday): Add libc_hidden_def.
18506 (gettimeofday): Add libc_hidden_weak.
18507 * sysdeps/unix/syscalls.list (gettimeofday):
18508 Remove __gettimeofday_internal alias.
18509
b5a2bbe6
L
185102012-05-24 Daniel Jacobowitz <drow@false.org>
18511 H.J. Lu <hongjiu.lu@intel.com>
18512
18513 [BZ #12495]
18514 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18515 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18516 (largebin_index_32_big): New.
18517 (largebin_index): Use it for 16-byte alignment.
18518 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18519 correction with front_misalign.
18520
cfba4fda
L
185212012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18522
7f907421
L
18523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18525 Likewise.
18526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18527 Likewise.
18528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18529 Likewise.
18530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18531 Likewise.
18532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18533 Likewise.
18534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18535 Likewise.
18536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18537 Likewise.
18538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18539 Likewise.
18540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18541 Likewise.
18542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18543 Likewise.
18544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18545 Likewise.
18546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18547 Likewise.
18548
cfba4fda
L
18549 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18550 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18551
80bad0cc
JM
185522012-05-24 Joseph Myers <joseph@codesourcery.com>
18553
7a25eb06
JM
18554 [BZ #10846]
18555 [BZ #14036]
18556 * math/libm-test.inc (exp_test): Add test from bug 14036.
18557 (pow_test): Add test from bug 10846.
18558
795405f9
JM
18559 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18560 and other flags.
18561 (special_function): Do not include flags in test name.
18562 (parse_args): Likewise.
18563 * sysdeps/i386/fpu/libm-test-ulps: Update.
18564 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18565 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18566 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18568
80bad0cc
JM
18569 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18570 exceptions.
18571 * math/libm-test.inc ("Philosophy"): Update comment about
18572 exception testing.
18573 (UNDERFLOW_EXCEPTION): New macro.
18574 (UNDERFLOW_EXCEPTION_OK): Likewise.
18575 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18576 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18577 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18578 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18579 (INVALID_EXCEPTION_OK): Update value.
18580 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18581 (OVERFLOW_EXCEPTION_OK): Likewise.
18582 (IGNORE_ZERO_INF_SIGN): Likewise.
18583 (test_exceptions): Handle underflow exceptions.
18584 (acos_test): Update for underflow exception expectations.
18585 (cexp_test): Likewise.
18586 (clog_test): Likewise.
18587 (clog10_test): Likewise.
18588 (csqrt_test): Likewise.
18589 (ctan_test): Likewise.
18590 (ctanh_test): Likewise.
18591 (exp_test): Likewise.
18592 (exp10_test): Likewise.
18593 (exp2_test): Likewise.
18594 (expm1_test): Likewise.
18595 (fma_test): Likewise.
18596 (j0_test): Likewise.
18597 (jn_test): Likewise.
18598 (nexttoward_test): Likewise.
18599 (pow_test): Likewise.
18600 (scalbn_test): Likewise.
18601 (scalbln_test): Likewise.
18602 (tan_test): Likewise.
18603 (y1_test): Likewise.
18604 * sysdeps/i386/fpu/libm-test-ulps: Update.
18605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18606
9e0e3d0b
DM
186072012-05-23 David S. Miller <davem@davemloft.net>
18608
18609 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18610 (__libc_sigaction): Remove unused local variables.
18611
ccd0a08f
L
186122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18613
18614 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18615
62bdf9a6
PE
186162012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18617
f8591f80
PE
18618 mktime: avoid signed integer overflow
18619 * time/mktime.c (__mktime_internal): Do not mishandle the case
18620 where diff == INT_MIN.
18621
94c7d826
PE
18622 mktime: simplify computation of average
18623 * time/mktime.c (ranged_convert): Use new time_t_avg function
18624 instead of rolling our own (probably-slower) code.
18625
ce73d683
PE
18626 mktime: do not assume signed right shift propagates sign bit
18627 * time/mktime.c (isdst_differ): New static function.
18628 (__mktime_internal): No need to normalize tm_isdst now.
18629 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18630 tm_isdst values.
18631
72a22e59
PE
18632 mktime: merge another wrapv change from gnulib
18633 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18634 from some compilers.
18635
68605433
PE
18636 mktime: remove incorrect attempt at unusual arithmetics
18637 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18638 The code didn't really work on such machines anyway.
18639 (TYPE_MINIMUM): Assume two's complement.
18640 (twos_complement_arithmetic): Verify that long_int and time_t
18641 are two's complement (or unsigned, in the latter case).
18642
03cf7fe3
PE
18643 mktime: check signed shifts on long_int and time_t, too
18644 * time/mktime.c (SHR): Check that shifts work as desired
18645 on the types long_int and time_t too, as SHR is used on
18646 such types.
18647
f04dfbc2
PE
18648 mktime: do not assume 'long' is wide enough
18649 * time/mktime.c (verify): Move decl up.
18650 (long_int): New type.
18651 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18652 to remove assumption in the code that 'long' is wide enough to
18653 store year values. This assumption is not true on x32 and on
18654 some non-glibc platforms.
18655
62bdf9a6
PE
18656 mktime: merge wrapv change from gnulib
18657 * time/mktime.c (WRAPV): New macro.
18658 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18659 (guess_time_tm, __mktime_internal): Do not assume that signed
18660 integer overflow wraps around; modern compilers generate code
18661 where this assumption is no longer valid.
18662
5e292e4f
L
186632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18664
18665 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18666 Replace "jmp L(pseudo_end)" with "ret".
18667 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18668 Likewise.
18669
8caf8c87
AJ
186702012-05-23 Andreas Jaeger <aj@suse.de>
18671
18672 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18673 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18674
1a09dc56
AJ
186752012-05-23 Andreas Jaeger <aj@suse.de>
18676 Maximilian Attems <max@stro.at>
18677
18678 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18679 New macros.
18680
1c87aba0
L
186812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18682
18683 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18684 code so that pseudo_end is just ret and the stack pointer is
18685 correct also for static library in error case.
18686
40e45bd5
JM
186872012-05-23 Joseph Myers <joseph@codesourcery.com>
18688
c2670533
JM
18689 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18690 move to syscalls.list.
18691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18695
40e45bd5
JM
18696 * manual/install.texi (Running make install): Do not mention Linux
18697 kernel version for which pt_chown is not needed.
18698 (Linux): Do not mention problems with nscd with 2.0 kernels.
18699 * INSTALL: Regenerated.
18700
be08eda5
AJ
187012012-05-23 Andreas Jaeger <aj@suse.de>
18702
18703 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18704 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18705 macro.
18706 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18707 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18708 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18709 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18710 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18711 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18712 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18713 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18714 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18715 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18716 * sysdeps/unix/sysv/linux/bits/in.h
18717 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18718
a6a056bb
RM
187192012-05-22 Roland McGrath <roland@hack.frob.com>
18720
18721 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18722 (PREPARE_VERSION): Just use assert instead, it will be elided
18723 under [NDEBUG] anyway.
18724
c9009328
L
187252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18726
18727 * sysdeps/unix/sysv/linux/Makefile: Include
18728 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18729 (sysdep_routines): Remove sysctl.
c9009328
L
18730 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18731 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18732 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18733 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18734 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18735
73338355
AJ
187362012-05-22 Andreas Jaeger <aj@suse.de>
18737
18738 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18739 that pseudo_end is just ret and the stack pointer is correct also
18740 for static library in error case.
18741
d44638b0
PP
187422012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18743
18744 [BZ #14122]
18745 * nss/nsswitch.c (defconfig_entries): New variable.
18746 (__nss_database_lookup): Don't leak defconfig entries.
18747 (nss_parse_service_list): Don't leak on error paths.
18748 (free_database_entries): New function.
18749 (free_defconfig): New function.
18750 (free_mem): Move common code to free_database_entries.
18751
31a39bd8
L
187522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18753
da0331a8
L
18754 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18755 Add arch_prctl.
18756 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18757
31a39bd8
L
18758 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18759 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18760 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18761 New macro.
18762 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18763 (INTERNAL_SYSCALL_TYPES): Likewise.
18764 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18765 (LOAD_REGS_TYPES_[1-6]): Likewise.
18766 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18767 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18768
45470df3
AZ
187692012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18770
18771 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18772 copysignl for GLIBC_2_0.
18773 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18774 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18775 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18776 logbl for GLIBC_2_0.
18777 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18778 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18779
98a61bcb
L
187802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18781
a4f6e481
L
18782 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18783 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18784
f63d5db6
L
18785 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18786 Use "neg %eax".
18787
98a61bcb
L
18788 * time/mktime.c: Update copyright years.
18789
95770f14
PE
187902012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18791
6226efbd
PE
18792 mktime: merge comment-quoting-style change from gnulib
18793 * time/mktime.c: Quote 'like this' in comments.
18794 The GNU coding standards suggest that we no longer quote `like this',
18795 as "`" and "'" are typically rendered asymmetrically nowadays.
18796 The typical gnulib style is to quote 'like this' when quoting
18797 code, and "like this" when quoting English.
18798
b99e4f78
PE
18799 * time/mktime.c (compile-command): Add "-I.".
18800
643e01e6
PE
18801 mktime: merge mktime-internal.h change from gnulib
18802 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18803
2554247d
PE
18804 mktime: merge time_r change from gnulib
18805 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18806
826dd0ab
PE
18807 mktime: merge DEBUG change from gnulib
18808 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18809 case system <time.h> has a #define.
18810
bd83aabe
PE
18811 mktime: merge <sys/types.h> change from gnulib
18812 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18813 since <time.t> is now guaranteed to define time_t.
18814
95770f14
PE
18815 mktime: merge HAVE_CONFIG_H change from gnulib
18816 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18817
5e1a27a9
L
188182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18819
0e44a77e
L
18820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18821 Use "neg %eax".
18822
5e1a27a9
L
18823 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18824 __rlim_t cast.
18825 (struct rusage): Use anonymous union to pad each field to
18826 __syscall_slong_t.
18827
46259bec
DM
188282012-05-21 David S. Miller <davem@davemloft.net>
18829
18830 * Makefules (o-iterator): Remove .s cases.
18831 (compile-command.s): Delete.
18832 (COMPILE.s): Delete.
18833 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18834
59f0c22e
JM
188352012-05-21 Joseph Myers <joseph@codesourcery.com>
18836
18837 * configure.in (libc_cv_predef_stack_protector): Only consider
18838 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18839 * configure: Regenerated.
18840
20c07380
L
188412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18842
bbb3154b
L
18843 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18844 New macro. Use R*LP on int and pointer.
18845 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18846 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18847 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18848 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18849
20c07380
L
18850 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18851 [__WORDSIZE_TIME64_COMPAT32] instead of
18852 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18853 (struct utmp): Likewise.
18854 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18855 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18856 Renamed to ...
18857 (__WORDSIZE_TIME64_COMPAT32): This.
18858 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18859 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18860 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18861 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18862 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18863 (__WORDSIZE_TIME64_COMPAT32): New macro.
18864
d8d1017e
AJ
188652012-05-21 Andreas Jaeger <aj@suse.de>
18866
18867 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18868 only if [SHARED]. Add prototype for __wcschr_ia32.
18869
6c7fb145
RM
188702012-05-21 Roland McGrath <roland@hack.frob.com>
18871
18872 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18873 of %rbp unmolested in the jmp_buf while mangling the low bits.
18874 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18875 unmolested high bits of %rbp while demangling the low bits.
18876 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18877
66274218
AJ
188782012-05-21 Andreas Jaeger <aj@suse.de>
18879
07c58f8f
AJ
18880 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18881 * sunrpc/svc_simple.c: Use it for registerrpc.
18882 * sunrpc/xcrypt.c: Use it for passwd2des.
18883
66274218
AJ
18884 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18885
61f65140
L
188862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18887
18888 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18889 Don't define if [__SYSCALL_WORDSIZE != 32].
18890 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18891 New macro.
18892
5fefb436
AJ
188932012-05-21 Bruno Haible <bruno@clisp.org>
18894 Andreas Jaeger <aj@suse.de>
18895
18896 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18897 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18898 inptr and inend for must_buffer_ch.
18899 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18900 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18901 * stdio-common/Makefile (tests): Remove bug15.
18902 (bug15-ENV): Remove macro.
18903 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18904 anymore.
18905
d8e272ab
AJ
189062012-05-19 Andreas Jaeger <aj@suse.de>
18907 Roland McGrath <roland@hack.frob.com>
18908
18909 * manual/contrib.texi: Completely rewritten. It contains now an
18910 alphabetical list of contributors and their contributions.
18911
4a56a162
RH
189122012-05-21 Richard Henderson <rth@twiddle.net>
18913
18914 * misc/getauxval.c (__getauxval): Use unsigned long int.
18915 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18916 (getauxval): Use unsigned long int.
18917
d024d23c
L
189182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18919
18920 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18921
cbc00a03
RM
189222012-05-21 Roland McGrath <roland@hack.frob.com>
18923
18924 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18925 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18926 __alignof__ (long double).
18927
478143fa
AZ
189282012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18929
18930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18931
c7683a6d
RH
189322012-05-20 Richard Henderson <rth@twiddle.net>
18933
18934 * misc/getauxval.c: New file.
18935 * misc/sys/auxv.h: New file.
18936 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18937 (routines): Add getauxval.
18938 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18939 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18940 * elf/dl-sysdep.c (_dl_auxv): Remove.
18941 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18942 * elf/dl-support.c (_dl_auxv): New variable.
18943 (_dl_aux_init): Initialize it.
18944 * manual/startup.texi (Auxiliary Vector): New node.
18945 * sysdeps/generic/bits/hwcap.h: New file.
18946 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18947 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18948 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18949 * sysdeps/sparc/sysdep.h: ... here. Include it.
18950 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18951 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18953 Update.
c7683a6d
RH
18954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18957 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18962
a6f1845d
AZ
189632012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18964
18965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18966
cbcbe830
DM
189672012-05-19 David S. Miller <davem@davemloft.net>
18968
18969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18970
e0b16cc2
JM
189712012-05-19 Joseph Myers <joseph@codesourcery.com>
18972
18973 [BZ #14123]
18974 * math/s_ccosh.c: Include <float.h>
18975 (__ccosh): Avoid internal overflow calculating sinh and cosh
18976 values before multiplying by sin and cos values.
18977 * math/s_ccoshf.c: Likewise.
18978 * math/s_ccoshl.c: Likewise.
18979 * math/s_csin.c: Likewise.
18980 * math/s_csinf.c: Likewise.
18981 * math/s_csinl.c: Likewise.
18982 * math/s_csinh.c: Likewise.
18983 * math/s_csinhf.c: Likewise.
18984 * math/s_csinhl.c: Likewise.
18985 * math/libm-test.inc (ccos_test): Add more tests.
18986 (ccosh_test): Likewise.
18987 (csin_test): Likewise.
18988 (csinh_test): Likewise.
18989 * sysdeps/i386/fpu/libm-test-ulps: Update.
18990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18991
6ad13e08
L
189922012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18993
f66f0ce8
L
18994 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18995 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18996
6ad13e08
L
18997 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18998
b1d072a7
JM
189992012-05-19 Joseph Myers <joseph@codesourcery.com>
19000
19001 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19002 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19003 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19004 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19005 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19006 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19007 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19008 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19009 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19010 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19011 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19012 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19013 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19014 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19015 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19016 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19017 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19018 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19019 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19020 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19021 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19022 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19023 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19024 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19025 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19026 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19027 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19028 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19029 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19030 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19031 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19032
9eae47cb
AJ
190332012-05-18 Andreas Jaeger <aj@suse.de>
19034
19035 * csu/.gitignore: Delete.
19036
bb07f69f
L
190372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19038
19039 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19040 (timex): Use __syscall_slong_t.
19041
e6bdb741
AJ
190422012-05-18 Andreas Jaeger <aj@suse.de>
19043 Carlos O'Donell <carlos_odonell@mentor.com>
19044
19045 * manual/install.texi (Configuring and compiling): Update
19046 description about files modified in the source directory.
d6c33fda 19047 * INSTALL: Regenerated.
e6bdb741 19048
1b74487e
L
190492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19050
19051 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19052 value. Use "or" to set return value to -1.
19053 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19054 negate return value.
19055
a88b64b9
TMQMF
190562012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19057
19058 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19059 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19060 failure if the compiler has Graphite support disabled.
19061 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19062 Likewise.
19063 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19064 CFLAGS-memmove.c): Likewise.
19065 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19066 Likewise.
19067
3707636e
L
190682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19069
610b8622
L
19070 * sysdeps/x86_64/x32/_itoa.h: New file.
19071
7cd195df
L
19072 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19073 getdents system call only if kernel and user dirents have the
19074 same d_ino and d_off.
19075
94b07d20
L
19076 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19077 LLONG_MAX != LONG_MAX.
19078 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19079 (_fitoa_word): Likewise.
19080
18298070
L
19081 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19082 years.
19083 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19084 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19085 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19086
553c7ea4
L
19087 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19088 include <bits/wordsize.h>. Check __x86_64__ instead of
19089 __WORDSIZE.
19090 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19091 if __x86_64__ is defined. Use anonymous union on fpstate.
19092
3707636e
L
19093 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19094 anonymous union.
19095
b53ef01a
AS
190962012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19097
37fb1dc0
AS
19098 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19099 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19100 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19101 Refer to _rtld_local_ro instead of _rtld_global_ro.
19102 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19103 Likewise.
19104 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19105 Likewise.
19106 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19107 Likewise.
19108 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19109 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19110 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19111
b53ef01a
AS
19112 * sysdeps/powerpc/powerpc32/dl-machine.c
19113 (__elf_machine_runtime_setup) [PROF]: Don't reference
19114 _dl_prof_resolve.
19115
7a185db2
AJ
191162012-05-18 Andreas Jaeger <aj@suse.de>
19117
19118 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19119 function only available for GCCs before 3.4 since GCC 3.4
19120 introduced a builtin.
19121 (lrint): Likewise.
19122 (llrintf): Likewise.
19123 (llrint): Likewise.
19124 (fmaxf): Likewise.
19125 (fmax): Likewise.
19126 (fminf): Likewise.
19127 (fmin): Likewise.
19128 (rint): Likewise.
19129 (rintf): Likewise.
19130 (nearbyint): Likewise.
19131 (nearbyintf): Likewise.
19132 (ceil): Likewise.
19133 (ceilf): Likewise.
19134 (floor): Likewise.
19135 (floorf): Likewise.
19136
3e5aef87
L
191372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19138
428bd707
L
19139 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19140 on both fields and cast pointer to __syscall_ulong_t.
19141
3e5aef87
L
19142 * bits/types.h (__fsword_t): New type.
19143 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19144 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19145 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19146 (__FSWORD_T_TYPE): Likewise.
19147 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19148 (__FSWORD_T_TYPE): Likewise.
19149 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19150 (__FSWORD_T_TYPE): Likewise.
19151 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19152 (__FSWORD_T_TYPE): Likewise.
19153 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19154 __SWORD_TYPE with __fsword_t.
19155 (statfs64): Likewise.
19156
1ba7c3dc
DM
191572012-05-17 David S. Miller <davem@davemloft.net>
19158
19159 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19160
59910343
AJ
191612012-05-17 Andreas Jaeger <aj@suse.de>
19162
19163 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19164 warning.
19165
2e4c1e9e
L
191662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19167
19168 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19169
de7f5ce7
AJ
191702012-05-17 Andreas Jaeger <aj@suse.de>
19171
19172 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19173 when it is used.
19174
286abc3d
CM
191752012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19176
19177 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19178
477cc68e
L
191792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19180
19181 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19182 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19183
1a0994f5
CD
191842012-05-17 Andreas Jaeger <aj@suse.de>
19185 Carlos O'Donell <carlos_odonell@mentor.com>
19186
19187 [BZ #14059]
19188 * sysdeps/x86_64/multiarch/init-arch.h
19189 (bit_YMM_Usable): Rename to...
19190 (bit_AVX_Usable): ... this.
19191 (bit_FMA4_Usable): New macro.
19192 (bit_XMM_state): New macro.
19193 (bit_YMM_state): New macro.
19194 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19195 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19196 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19197 (CPUID_OSXSAVE): New macro.
19198 (CPUID_AVX): New macro.
19199 (CPUID_FMA4): New macro.
19200 (index_YMM_Usable): Rename to...
19201 (index_AVX_Usable): ... this.
19202 (HAS_AVX): Use HAS_ARCH_FEATURE.
19203 (HAS_FMA4): Likewise.
19204 (HAS_YMM_USABLE): Remove.
19205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19206 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19207 are present.
19208 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19209 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19210 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19211 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19212 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19213
0af797de
CM
192142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19215
19216 * math/libm-test.c: Support platforms without multiple rounding modes.
19217 * math/bug-nextafter.c: Support platforms without FP exceptions.
19218 * math/bug-nexttoward.c: Likewise.
19219 * math/test-fenv.c: Likewise.
19220 * math/test-misc.c: Likewise.
19221 * stdlib/bug-getcontext.c: Likewise.
19222
e39745ff
AJ
192232012-05-17 Andreas Jaeger <aj@suse.de>
19224
19225 * manual/examples/search.c (critter_cmp): Change signature to
19226 avoid warnings.
19227 * manual/string.texi (Collation Functions): Likewise.
19228
48970aba
L
192292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19230
19231 * bits/types.h: Fold copyright years.
19232 * bits/typesizes.h: Likewise.
19233 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19234 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19235 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19236 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19237 * time/time.h: Likewise.
19238
bedee953
PP
192392012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19240
19241 [BZ #208]
19242 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19243 in instead of returning them. Return void.
19244 (__libc_mallinfo): Accumulate over all arenas.
19245 (__malloc_stats): Adjust for change in int_mallinfo interface.
19246
61653dfb
RM
192472012-05-16 Roland McGrath <roland@hack.frob.com>
19248
30b99d79
RM
19249 [BZ #10375]
19250 * configure.in (NM): Add AC_CHECK_TOOL for it.
19251 (libc_extra_cflags): New substituted variable.
19252 Check for -fstack-protector being used implicitly.
19253 * configure: Regenerated.
19254 * config.make.in (config-extra-cflags): New variable,
19255 gets @libc_extra_cflags@.
19256 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19257
61653dfb
RM
19258 [BZ #10375]
19259 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19260 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19261 * configure: Regenerated.
19262 * config.make.in (CPPUNDEFS): New substituted variable.
19263 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19264 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19265 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19266
661768bb
L
192672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19268
19269 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19270 (mq_attr): Use __syscall_slong_t.
19271
d4261567
L
192722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19273
19274 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19275 Check __x86_64__ instead of __WORDSIZE.
19276 (_STAT_VER_LINUX): Likewise.
19277 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19278 __syscall_ulong_t and __syscall_slong_t.
19279 (stat64): Likewise.
19280
cf3ff365
L
192812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19282
19283 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19284
76cf3e4d
L
192852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19286
19287 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19288
a637753a
L
192892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19290
19291 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19292 __syscall_ulong_t.
19293
d5e05119
L
19294 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19295 include <bits/wordsize.h>. Check __x86_64__ instead of
19296 __WORDSIZE.
19297 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19298 defined.
19299 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19300
f62ee380
L
19301 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19302 include <bits/wordsize.h>. Check __x86_64__ instead of
19303 __WORDSIZE.
19304 (user_regs_struct): Use "__extension__ unsigned long long"
19305 instead of "unsigned long" if __x86_64__ is defined.
19306 (user): Likewise. Pad after pointer field if __ILP32__ is
19307 defined.
19308
4e124ced
JM
193092012-05-16 Joseph Myers <joseph@codesourcery.com>
19310
6a3951a0
JM
19311 * configure.in (makeinfo): Require version 4.5 or later. Allow
19312 versions 5 to 9.
19313 * configure: Regenerated.
19314 * manual/install.texi (texinfo): Increase version requirement to
19315 4.5 or later.
19316 * INSTALL: Regenerated.
19317
4e124ced
JM
19318 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19319
953ca31a
L
193202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19321
19322 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19323
617aca05
L
19324 * sysdeps/x86_64/x32/ffs.c: New file.
19325
5762f7ae
L
19326 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19327 __syscall_ulong_t.
19328 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19329 defined. Use __syscall_ulong_t.
19330 (shminfo): Use __syscall_ulong_t.
19331 (shm_info): Likewise.
19332
a26b6856
L
19333 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19334 __syscall_ulong_t.
19335
cb2b9ef7
L
19336 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19337 <bits/wordsize.h>.
19338 (msgqnum_t): Use __syscall_ulong_t.
19339 (msglen_t): Likewise.
19340 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19341 __syscall_ulong_t.
19342
34683bb0
L
19343 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19344 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19345
84a68786
L
19346 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19347
48baa5f1
L
19348 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19349 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19350
180be88b
L
19351 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19352 __syscall_slong_t.
19353
5e90c8ad
L
19354 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19355 include <bits/wordsize.h>. Check __x86_64__ instead of
19356 __WORDSIZE.
19357
23dfb58b
L
19358 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19359 "unsigned long long int" if __x86_64__ is defined.
19360 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19361
ce5d54b0
L
19362 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19363 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19364 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19365
13dc9eac
L
19366 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19367 <stdint.h>.
19368 (GET_PC): Cast to uintptr_t first.
19369 (GET_FRAME): Likewise.
19370 (GET_STACK): Likewise.
19371
a7895d15
L
19372 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19373 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19374 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19375 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19376 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19377 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19378 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19379 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19380 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19381 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19382 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19383 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19384 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19385 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19386 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19387 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19388 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19389 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19390 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19391 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19392 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19393 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19394 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19395 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19396 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19397 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19398 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19399 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19400 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19401
656416c9
AS
194022012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19403
5bd66283
AS
19404 * Makerules (+depfiles): Also collect depfiles from .oS in
19405 $(extra-objs).
19406 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19407 .oS, $(libnldbl-routines)).
19408
656416c9
AS
19409 * Makerules (native-compile-mkdep-flags): Define.
19410 * sunrpc/Makefile (extra-objs): Add $(addprefix
19411 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19412 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19413 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19414 calling $(make-target-directory).
19415
a46f2169
L
194162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19417
19418 * bits/types.h (__snseconds_t): Removed.
19419 * time/time.h (struct timespec): Replace __snseconds_t with
19420 __syscall_slong_t.
19421 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19422 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19423 Likewise.
19424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19425 (__SNSECONDS_T_TYPE): Likewise.
19426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19427 (__SNSECONDS_T_TYPE): Likewise.
19428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19429 (__SNSECONDS_T_TYPE): Likewise.
19430
6af6528b
L
194312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19432
19433 * sysdeps/mach/hurd/bits/typesizes.h
19434 (__SYSCALL_SLONG_TYPE): New macro.
19435 (__SYSCALL_ULONG_TYPE): Likewise.
19436
de986b56
L
194372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19438
19439 * bits/types.h (__syscall_slong_t): New type.
19440 (__syscall_ulong_t): Likewise.
19441
19442 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19443 (__SYSCALL_ULONG_TYPE): Likewise.
19444 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19445 (__SYSCALL_SLONG_TYPE): Likewise.
19446 (__SYSCALL_ULONG_TYPE): Likewise.
19447 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19448 (__SYSCALL_SLONG_TYPE): Likewise.
19449 (__SYSCALL_ULONG_TYPE): Likewise.
19450 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19451 (__SYSCALL_SLONG_TYPE): Likewise.
19452 (__SYSCALL_ULONG_TYPE): Likewise.
19453
85736dc7
L
194542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19455
19456 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19457 Add sigaltstack-offsets.sym.
19458 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19459 <sigaltstack-offsets.h>.
19460 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19461 longjmp_msg pointer.
19462 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19463 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19464 signal stack.
19465 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19466
cc03b296
JM
194672012-05-15 Joseph Myers <joseph@codesourcery.com>
19468
a9538892
JM
19469 * elf/stackguard-macros.h: Remove file.
19470 * sysdeps/generic/stackguard-macros.h: New file.
19471 * sysdeps/i386/stackguard-macros.h: Likewise.
19472 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19473 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19474 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19475 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19476 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19477 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19478 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19479 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19480 <elf/stackguard-macros.h>.
19481
cc03b296
JM
19482 [BZ #14109]
19483 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19484 __aligned__ in attribute.
19485 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19486 (gregset_t): Likewise.
19487
93171016
L
194882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19489
19490 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19491 * sysdeps/x86_64/64/Implies-after: Here. New file.
19492 * sysdeps/x86_64/x32/Implies-after: New file.
19493
d86813a0
L
194942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19495
19496 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19497 and access return value for _dl_profile_fixup. Use R10_LP to
19498 load frame size.
19499
2953ec75
L
195002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19501
19502 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19503
3b550e9e
L
195042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19505
19506 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19507 * sysdeps/x86_64/x32/sysdep.h: New file.
19508
eda41706
L
195092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19510
19511 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19512 * sysdeps/x86_64/setjmp.S: Likewise.
19513
9ea01d93
AZ
195142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19515
19516 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19517 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19518 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19519 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19520 remove unused global constant.
19521
02a91938
CM
195222012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19523
19524 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19525 include of <not-cancel.h>.
19526
6540185f
RM
195272012-05-15 Roland McGrath <roland@hack.frob.com>
19528
19529 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19530
509072a0
AJ
195312012-05-15 Jeff Law <law@redhat.com>
19532 Andreas Jaeger <aj@suse.de>
19533
19534 [BZ #13594]
19535 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19536 out from...
19537 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19538 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19539 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19540 code changing __hst_map_handle.map.
19541
ba75122d
RM
195422012-05-15 Roland McGrath <roland@hack.frob.com>
19543
19544 * configure.in (sysnames): Look for Implies-before and Implies-after
19545 files.
19546 * configure: Regenerated.
19547
890d8bd8
L
195482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19549
19550 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19551 8-byte data alignment with LP_SIZE alignment.
19552
f6ee6623
L
195532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19554
19555 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19556 into R10_LP.
19557
ea2626f6
L
195582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19559
19560 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19561
085f715e
L
195622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19563
19564 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19565 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19566 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19567 Likewise.
19568 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19569
be8498fc
L
195702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19571
19572 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19573 (stackinfo_sub_sp): Likewise.
19574
70bc83b9
L
195752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19576
19577 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19578 RAX_LP.
19579
9bc0b730
L
195802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19581
19582 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19583 into R*_LP.
19584
6d2850e7
L
195852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19586
19587 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19588 sizes into R*_LP.
19589
3cb84561
L
195902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19591
19592 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19593
54e2ed81
L
195942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19595
19596 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19597 into R11_LP and load __x86_64_shared_cache_size_half into
19598 R8_LP.
19599
8a17f349
L
196002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19601
19602 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19603 R8_LP.
19604
777b1eea
AZ
196052012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19606
19607 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19608 logb for POWER7.
19609 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19610 logbf for POWER7.
19611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19612 logbl for POWER7.
19613 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19614 powerpc32/power7/fpu/s_logb.c via #include.
19615 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19616 powerpc32/power7/fpu/s_logbf.c via #include.
19617 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19618 powerpc32/power7/fpu/s_logbl.c via #include.
19619
d20d4ac2
JM
196202012-05-15 Joseph Myers <joseph@codesourcery.com>
19621
19622 * README.libm: Remove file.
19623
6cdef1ab
L
196242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19625
19626 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19627 count for x32. Use R*_LP and omit operand-size suffix.
19628
0b254d8f
L
196292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19630
19631 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19632 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19633 * sysdeps/x86_64/x32/shlib-versions: New file.
19634
ceb809dc
RM
196352012-05-14 Roland McGrath <roland@hack.frob.com>
19636
19637 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19638 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19639 Use _dl_fatal_printf instead.
19640
37f1abd4
JM
196412012-05-14 Joseph Myers <joseph@codesourcery.com>
19642
19643 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19644 set if not set by the user. Do not allow for being unset.
19645 * sysdeps/unix/sysv/linux/configure: Regenerated.
19646
11de3a33
L
196472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19648
19649 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19650 the `q' suffix from lea and replace .quad with ASM_ADDR.
19651
e02f153a
L
196522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19653
19654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19655 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19656 instead of $17.
19657 (PTR_DEMANGLE): Likewise.
19658
520ae0fd
L
196592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19660
19661 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19662 (LP_OP): Likewise.
19663 (ASM_ADDR): Likewise.
19664 (RAX_LP): Likewise.
19665 (RBP_LP): Likewise.
19666 (RBX_LP): Likewise.
19667 (RCX_LP): Likewise.
19668 (RDI_LP): Likewise.
19669 (RSI_LP): Likewise.
19670 (RSP_LP): Likewise.
19671 (R8_LP): Likewise.
19672 (R9_LP): Likewise.
19673 (R10_LP): Likewise.
19674 (R10_LP): Likewise.
19675 (R11_LP): Likewise.
19676 (R12_LP): Likewise.
19677 (R13_LP): Likewise.
19678 (R14_LP): Likewise.
19679 (R15_LP): Likewise.
19680
b985be81
L
196812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19682
19683 * sysdeps/x86_64/x32/dl-machine.h: New file.
19684
6a4888ff
AJ
196852012-05-14 Andreas Jaeger <aj@suse.de>
19686
19687 * manual/Makefile (subdir): Remove export of subdir.
19688 (all): Remove target.
19689 (.PHONY): Remove all from list.
19690 (mkinstalldirs): Remove.
19691 (.PHONY): Remove installdirs from list.
19692 ($(inst_infodir)/libc.info): Use make-target-directory.
19693 (installdirs): Remove.
19694 (subdir_%): Remove.
19695 (glibc-targets): Remove.
19696 (lib): Remove.
19697 (stubs): Remove.
19698 ($(objpfx)stubs ../po/manual.pot): Remove.
19699 ($(objpfx)stamp%): Remove.
19700 (make-target-directory): Remove.
19701 (subdir_install): Remove.
19702 (routines): Remove.
19703 (aux): Remove.
19704 (sources): Remove.
19705 (objects): Remove.
19706 (headers): Remove.
19707
19708 [BZ #13750]
19709 * manual/.gitignore: Remove, it's not needed anymore.
19710 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19711 all files in it.
19712 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19713 directory.
19714 (texis): Renamed to $(objpfx)texis.
19715 (texis-path): New, contains path to generated files.
19716 (chapters.%): Use texis-path for complete path, add extra argument
19717 libc-texinfo.sh.
19718 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19719 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19720 (summary,texi, stamp-summary): Use complete path of
19721 files. Generate files in build dir.
19722 (dir-add.texi): Build in build dir.
19723 (libm-err.texi,stamp-libm-err): Likewise.
19724 (version.texi, stamp-version): Likewise.
19725 (.%c.texi): Likewise.
19726 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19727 (mostlyclean): Remove target.
19728 (realclean): Remove target.
19729 (generated): Add new variable with contents from mostlyclean and
19730 realclean, remove entries duplicated in common-mostlyclean, add
19731 stamp-libm-err and stamp-version.
19732 (generated-dirs): Add libc directory.
19733 ($(inst_infodir)/libc.info): Install files from build dir.
19734
19735 * manual/install.texi (Configuring and compiling): Adjust since
19736 the info files are not part of the tar ball anymore.
19737
7ac77294
AJ
197382012-05-14 Andreas Jaeger <aj@suse.de>
19739
19740 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19741 variable.
19742
ffb7875d
JM
197432012-05-14 Joseph Myers <joseph@codesourcery.com>
19744
19745 [BZ #13717]
19746 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19747 to 2.2.0 where earlier.
19748 * sysdeps/unix/sysv/linux/configure: Regenerated.
19749 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19750 Remove conditional code.
19751 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19752 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19753 Remove conditional code.
19754 [!__NR_lchown]: Likewise.
19755 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19756 [__NR_lchown]: Likewise.
19757 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19758 comment referencing __ASSUME_LCHOWN_SYSCALL.
19759 * sysdeps/unix/sysv/linux/i386/sigaction.c
19760 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19761 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19762 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19763 Remove conditional code.
19764 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19765 (__protocol_available): Remove #if 0 code.
19766 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19767 conditional code.
19768 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19769 * sysdeps/unix/sysv/linux/kernel-features.h
19770 (__ASSUME_GETCWD_SYSCALL): Don't define.
19771 (__ASSUME_REALTIME_SIGNALS): Likewise.
19772 (__ASSUME_PREAD_SYSCALL): Likewise.
19773 (__ASSUME_PWRITE_SYSCALL): Likewise.
19774 (__ASSUME_POLL_SYSCALL): Likewise.
19775 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19776 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19777 non-SPARC.
19778 (__ASSUME_SIOCGIFNAME): Don't define.
19779 (__ASSUME_MSG_NOSIGNAL): Likewise.
19780 (__ASSUME_SENDFILE): Define unconditionally.
19781 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19782 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19783 conditional code.
19784 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19785 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19786 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19787 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19788 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19789 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19790 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19792 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19795 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19796 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19798 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19801 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19802 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19804 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19807 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19808 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19810 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19813 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19814 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19815 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19816 Remove conditional code.
19817 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19818 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19819 Remove conditional code.
19820 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19821 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19822 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19823 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19824 Remove conditional code.
19825 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19826 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19827 Remove conditional code.
19828 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19829 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19830 Remove conditional code.
19831 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19832 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19833 Remove conditional code.
19834 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19835 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19836 Remove conditional code.
19837 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19838 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19839 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19840 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19841 * sysdeps/unix/sysv/linux/sigaction.c
19842 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19843 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19844 * sysdeps/unix/sysv/linux/sigpending.c
19845 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19846 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19847 * sysdeps/unix/sysv/linux/sigprocmask.c
19848 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19849 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19850 * sysdeps/unix/sysv/linux/sigsuspend.c
19851 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19852 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19853 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19854 (__libc_missing_rt_sigs): Remove.
19855 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19856 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19857 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19858 Remove conditional code.
19859 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19860 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19861 return 1.
19862 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19863 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19864 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19865 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19866
1bfb7291
AJ
198672012-05-14 Andreas Jaeger <aj@suse.de>
19868
caae5a81
AJ
19869 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19870 it's not used in glibc.
19871 (__coshm1): Likewise.
19872 (__acosh1p): Likewise.
19873 (__sgn): Likewise.
19874
1bfb7291
AJ
19875 * manual/string.texi (Copying and Concatenation): Add missing
19876 variable in concat example.
19877 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19878
c044d724
L
198792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19880
144c5467 19881 [BZ #14103]
c044d724
L
19882 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19883 __builtin_clzl with __builtin_clzll.
19884
2523c62b
L
198852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19886
19887 [BZ #14104]
19888 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19889 libc_freeres_ptr.
19890
d7bb4c42
LD
198912012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19892
19893 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19894 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19895 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19896 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19897
9dc4e1fb
MF
198982012-05-14 Mike Frysinger <vapier@gentoo.org>
19899
19900 * NEWS: Update ia64 info.
19901
c7df0112
AS
199022012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19903
19904 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19905 used as bcopy.
19906
dc70356c
TS
199072012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19908
19909 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19910 * sysdeps/unix/syscalls.list (dup3): Likewise.
19911 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19912 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19913
9fb1a21f
L
199142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19915
19916 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19917 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19918
4822a2a5
L
199192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19920
19921 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19922 thread pointer.
19923 (TLS_IE): Use mov/add instead of movq/addq to load thread
19924 pointer.
19925 (TLS_GD_PREFIX): New.
19926 (TLS_GD): Use it.
19927
842b81d6
DM
199282012-05-11 David S. Miller <davem@davemloft.net>
19929
19930 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19931 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19932 (_FPU_SETCW): Likewise.
19933
1cf463cd
L
199342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19935
19936 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19937 is 32-byte aligned.
19938
60cc4a18
AS
199392012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19940
19941 [BZ #11837]
19942 * iconvdata/gb18030.c: Update tables.
19943 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19944 characters specially.
19945 (BODY for TO_LOOP): Add encoding of missing ranges.
19946
febb44a4
TS
199472012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19948
19949 [BZ #13673]
19950 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19951 * sysdeps/mach/hurd/dup3.c: Likewise.
19952 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19953 * sysdeps/powerpc/memmove.c:: Likewise.
19954
0a10fb9e
L
199552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19956
19957 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19958 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19959
df8a552f
L
199602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19961
19962 * elf/elf.h (R_X86_64_RELATIVE64): New.
19963 (R_X86_64_NUM): Updated.
19964 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19965 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19966 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19967 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19968 tst-quad1pie tst-quad2pie
19969 (modules-names): Add tst-quadmod1 tst-quadmod2.
19970 ($(objpfx)tst-quad1): New dependency.
19971 ($(objpfx)tst-quad2): Likewise.
19972 ($(objpfx)tst-quad1pie): Likewise.
19973 ($(objpfx)tst-quad2pie): Likewise.
19974 * sysdeps/x86_64/tst-quad1.c: New file.
19975 * sysdeps/x86_64/tst-quad1pie.c: New file.
19976 * sysdeps/x86_64/tst-quad2.c: Likewise.
19977 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19978 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19979 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19980 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19981 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19982
f34d6f84
ST
199832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19984
f42d41d1
ST
19985 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19986 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19987 * streams/stropts.h (t_scalar_t): Define type.
19988
3c3571fc
ST
19989 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19990 (_PATH_PRESERVE): Set to "/var/lib".
19991 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19992
61f06bd3
ST
19993 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19994 instead of int.
19995
918d4d71
ST
19996 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19997 if __dir_mkfile succeeded.
19998
f34d6f84
ST
19999 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20000 checking for _hurd_dtablesize. Unlock it right after having
20001 finished _hurd_dtable allocation.
20002
10589b4a
TS
200032012-05-10 Thomas Schwinge <thomas@schwinge.name>
20004
674cdbc7
TS
20005 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20006 * sysdeps/mach/hurd/configure: Regenerated.
20007 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20008 special-casing to...
20009 * sysdeps/gnu/configure.in: ... this new file.
20010 * sysdeps/unix/sysv/linux/configure: Regenerated.
20011 * sysdeps/gnu/configure: New generated file.
20012
8e41b99f
TS
20013 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20014 for Linux: use nsec instead of usec, as well as:
20015 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20016 members of type struct timespec.
20017 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20018 New macros.
20019 (struct stat64): Likewise.
20020 (_STATBUF_ST_NSEC): New macro.
20021 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20022
10589b4a
TS
20023 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20024 __strtoul_internal rather than strtoul.
20025
63643c85
PT
200262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20027
20028 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20029 and reject them.
20030
3faebe6a
ST
200312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20032
20033 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20034 which preserves existing values.
20035 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20036
c6474b07
PT
200372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20038
20039 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20040 TIMEOUT values. Return EINVAL for NFDS values either negative or
20041 greater than FD_SETSIZE.
20042
1043890b
ST
200432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20044
20045 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20046 allocated, call __vm_protect to finish enabling the existing space, and
20047 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20048 allocate the remainder.
20049
37ed8b9b
PT
200502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20051
20052 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20053 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20054
db653660
ST
200552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20056
37ed8b9b
PT
20057 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20058 sysdeps/mach/hurd/readlink.c.
b29d4053 20059
db653660
ST
20060 * posix/tst-sysconf.c (posix_options): Only use
20061 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20062 _POSIX_SYNCHRONIZED_IO when they are defined
20063 * sysdeps/mach/hurd/bits/posix_opt.h:
20064 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20065 (_XOPEN_REALTIME): Undefine macro.
20066 (_XOPEN_REALTIME_THREADS): Undefine macro.
20067 (_XOPEN_SHM): Undefine macro.
20068 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20069 macro to -1.
20070 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20071 macro to -1.
20072 (_POSIX_ASYNC_IO): Undefine macro.
20073 (_POSIX_PRIORITIZED_IO): Undefine macro.
20074 (_POSIX_SPIN_LOCKS): Define macro to -1.
20075
ee16e894
ST
20076 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20077 SA_NODEFER, SA_RESETHAND.
20078 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20079 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20080 F_DUPFD_CLOEXEC.
20081
6103ae3b
TS
200822012-05-10 Thomas Schwinge <thomas@schwinge.name>
20083
20084 * elf/Makefile (pldd-modules): Define unconditionally.
20085
80b4e5f3
TS
200862012-05-10 Thomas Schwinge <thomas@schwinge.name>
20087
20088 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20089
edadcbd6
ST
200902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20091
20092 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20093 Return ENOENT when name is empty.
20094 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20095
80694780
TS
200962012-05-10 Thomas Schwinge <thomas@schwinge.name>
20097
1792c087
TS
20098 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20099
80694780
TS
20100 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20101
6b645f0d
ST
201022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20103
80694780
TS
20104 Fix mlock in all cases except non-readable pages.
20105 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20106 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 20107
6b645f0d
ST
20108 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20109 (__mkdir): When path is `/', just fail with EEXIST.
20110 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20111
e468f8a3
TS
201122012-05-10 Thomas Schwinge <thomas@schwinge.name>
20113
20114 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20115 <sys/uio.h> (for writev).
20116 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20117 and <sys/param.h> (for MIN).
20118
a4186cff
PT
201192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20120
20121 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20122 REQUESTED_TIME. Properly set the remaining time and return EINTR
20123 if interrupted.
20124
510bbf14
TS
201252012-05-10 Thomas Schwinge <thomas@schwinge.name>
20126
20127 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20128 Depend on against $(link-rpcuserlibs).
20129
5d5722e8
ST
201302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20131
a4186cff
PT
20132 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20133 (__libc_stack_end): Do not use attribute_relro.
20134 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20135 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 20136 to libthread-provided value.
a4186cff
PT
20137 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20138 attribute_relro.
5d5722e8 20139
37233df9
TS
201402012-05-10 Thomas Schwinge <thomas@schwinge.name>
20141
be971a2b
TS
20142 [BZ #3748]
20143 * bits/libc-lock.h (__libc_once_get): New macro.
20144 * sysdeps/mach/bits/libc-lock.h: Likewise.
20145 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20147 instead of using implementation details.
20148
37233df9
TS
20149 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20150 * libio/freopen.c: Likewise.
20151 * libio/freopen64.c: Likewise.
20152 * misc/syslog.c: Likewise.
20153 * nscd/connections.c: Likewise.
20154 * nscd/netgroupcache.c: Likewise.
20155 * sysdeps/posix/getcwd.c: Likewise.
20156
38de94a5
RM
201572012-05-10 Roland McGrath <roland@hack.frob.com>
20158
20159 * math/w_ilogbf.c: Add #include <limits.h>.
20160
67530489
ST
201612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20162
a4186cff 20163 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
20164 path instead of returning without unlocking.
20165
67530489
ST
20166 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20167 immediate-write ioctls.
20168 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20169
5aa3a74a
TS
201702012-05-10 Thomas Schwinge <thomas@schwinge.name>
20171
18bad2ae
TS
20172 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20173 __builtin_frame_address instead of making assumptions about the
20174 location of the return address relative to DATA. Force early load of
20175 the return address.
20176 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20177 __builtin_frame_address.
20178
5aa3a74a
TS
20179 dup3 for GNU Hurd.
20180 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20181 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20182 implement dup3 and do some further code clean-ups.
20183 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20184 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20185
ecd0de9a
ST
201862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20187
cd9fa985
ST
20188 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20189
a4186cff
PT
20190 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20191 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20192 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20193 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20194 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20195 d->port.lock.
802ca5a5 20196
a4186cff
PT
20197 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20198 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20199 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 20200
bcf55240
TS
202012012-05-10 Thomas Schwinge <thomas@schwinge.name>
20202
6960eb42
TS
20203 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20204 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20205 definitions.
20206
eb43375f
TS
20207 accept4 for GNU Hurd.
20208 * include/sys/socket.h (__libc_accept4): New prototype.
20209 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20210 to implement __libc_accept4.
20211 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20212 __libc_accept4.
20213 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20214
bcf55240
TS
20215 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20216 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20217 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20218 signal-defines.sym.
20219
6178c55b
ST
202202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20221
a4186cff 20222 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 20223
6f080c2f
TS
202242012-05-10 Thomas Schwinge <thomas@schwinge.name>
20225
20226 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20227 assertion on O_CLOEXEC flag.
20228 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20229 * hurd/intern-fd.c: Likewise.
20230 * hurd/port2fd.c: Likewise.
20231
bcfe3a54
ST
202322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20233
20234 [BZ #3906]
20235 * bits/in.h (IPV6_PKTINFO): Define new macro.
20236 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20237
89c9aa49
AZ
202382012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20239
20240 [BZ #13954]
20241 [BZ #13955]
20242 [BZ #13956]
20243 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20244 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20245 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20246 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20247 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20248 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20249 * math/libm-test.inc (logb_test) : Additional logb tests.
20250
021db4be
AJ
202512012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20252 Andreas Jaeger <aj@suse.de>
20253
20254 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20255 * configure: Regenerated.
20256 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20257 * config.make.in (link-obsolete-rpc): New substituted variable.
20258 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20259 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20260 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20261 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20262 so that libc.a contains the symbols.
20263 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20264 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20265 * sunrpc/auth_none.c: Likewise.
20266 * sunrpc/auth_unix.c: Likewise.
20267 * sunrpc/authdes_prot.c: Likewise.
20268 * sunrpc/authuxprot.c: Likewise.
20269 * sunrpc/clnt_gen.c: Likewise.
20270 * sunrpc/clnt_perr.c: Likewise.
20271 * sunrpc/clnt_raw.c: Likewise.
20272 * sunrpc/clnt_simp.c: Likewise.
20273 * sunrpc/clnt_tcp.c: Likewise.
20274 * sunrpc/clnt_udp.c: Likewise.
20275 * sunrpc/clnt_unix.c: Likewise.
20276 * sunrpc/des_crypt.c: Likewise.
20277 * sunrpc/des_soft.c: Likewise.
20278 * sunrpc/get_myaddr.c: Likewise.
20279 * sunrpc/key_call.c: Likewise.
20280 * sunrpc/key_prot.c: Likewise.
20281 * sunrpc/netname.c: Likewise.
20282 * sunrpc/pm_getmaps.c: Likewise.
20283 * sunrpc/pm_getport.c: Likewise.
20284 * sunrpc/pmap_clnt.c: Likewise.
20285 * sunrpc/pmap_prot.c: Likewise.
20286 * sunrpc/pmap_prot2.c: Likewise.
20287 * sunrpc/pmap_rmt.c: Likewise.
20288 * sunrpc/publickey.c: Likewise.
20289 * sunrpc/rpc_cmsg.c: Likewise.
20290 * sunrpc/rpc_common.c: Likewise.
20291 * sunrpc/rpc_dtable.c: Likewise.
20292 * sunrpc/rpc_prot.c: Likewise.
20293 * sunrpc/rpc_thread.c: Likewise.
20294 * sunrpc/rtime.c: Likewise.
20295 * sunrpc/svc.c: Likewise.
20296 * sunrpc/svc_auth.c: Likewise.
20297 * sunrpc/svc_raw.c: Likewise.
20298 * sunrpc/svc_run.c: Likewise.
20299 * sunrpc/svc_tcp.c: Likewise.
20300 * sunrpc/svc_udp.c: Likewise.
20301 * sunrpc/svc_unix.c: Likewise.
20302 * sunrpc/svcauth_des.c: Likewise.
20303 * sunrpc/xcrypt.c: Likewise.
20304 * sunrpc/xdr.c: Likewise.
20305 * sunrpc/xdr_array.c: Likewise.
20306 * sunrpc/xdr_float.c: Likewise.
20307 * sunrpc/xdr_intXX_t.c: Likewise.
20308 * sunrpc/xdr_mem.c: Likewise.
20309 * sunrpc/xdr_rec.c: Likewise.
20310 * sunrpc/xdr_ref.c: Likewise.
20311 * sunrpc/xdr_sizeof.c: Likewise.
20312 * sunrpc/xdr_stdio.c: Likewise.
20313
b5c086a2
RM
203142012-05-10 Roland McGrath <roland@hack.frob.com>
20315
20316 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20317 change. Update copyright years.
20318
6d74dd09
JM
203192012-05-10 Joseph Myers <joseph@codesourcery.com>
20320
20321 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20322
28e72501
MK
203232012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20324 Joseph Myers <joseph@codesourcery.com>
20325 Paul Pluzhnikov <ppluzhnikov@google.com>
20326
20327 [BZ #14012]
20328 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20329 requiring rpcgen.
20330 [cross-compiling] (extra-libs): Likewise.
20331 [cross-compiling] (extra-libs-others): Likewise.
20332 [cross-compiling] (librpcsvc-routines): Likewise.
20333 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20334 [cross-compiling] (omit-deps): Likewise.
20335 (sunrpc-CPPFLAGS): New variable.
20336 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20337 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20338 (cross-rpcgen-objs): New variable.
20339 (extra-objs): Append $(cross-rpcgen-objs).
20340 ($(cross-rpcgen-objs)): New rule.
20341 ($(objpfx)cross-rpcgen): Likewise.
20342 (rpcgen-cmd): Define to use $(built-program-file). Expand
20343 comment.
20344 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20345 ($(objpfx)x%.stmp): Likewise.
20346 * sunrpc/proto.h [IS_IN_build] (_): Define.
20347 [IS_IN_build] (_libc_intl_domainname): Likewise.
20348
c8c59454
L
203492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20350
20351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20352 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20353 and R_X86_64_TPOFF64.
20354
6f27cd16
JM
203552012-05-10 Joseph Myers <joseph@codesourcery.com>
20356
20357 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20358 sysdeps/unix/sysv/syscalls.list.
20359 (stime): Likewise.
20360 (utime): Likewise.
20361 * sysdeps/unix/sysv/syscalls.list: Remove file.
20362
02467e1c
PE
203632012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20364
20365 [BZ #3440]
20366 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20367 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20368 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20369 (__LC_IDENTIFICATION): Make these macros useful in #if
20370 expressions, as required by C99.
20371
da392631
AS
203722012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20373
20374 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20375 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20376 after this.
20377
8115f29b
L
203782012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20379
20380 * stdlib/longlong.h: Updated from GCC.
20381
bdd74070
AJ
203822012-05-09 Andreas Jaeger <aj@suse.de>
20383
edfe0dbe
AJ
20384 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20385 default is first entry.
20386 (run_mode): Set type.
20387 (main): Remove informal message about syslog.
20388 (options): Fix typo.
20389
bcfe3a54
ST
20390 [BZ #14053]
20391 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20392 to asm.
bcfe3a54
ST
20393 (lrint): Likewise.
20394 (llrintf): Likewise.
20395 (llrint): Likewise.
20396 (rint): Likewise.
20397 (rintf): Likewise.
20398 (nearbyint): Likewise.
20399 (nearbyintf): Likewise.
bdd74070 20400
91d8d69e
AJ
204012012-05-09 Andreas Jaeger <aj@suse.de>
20402 Pedro Alves <palves@redhat.com>
20403
20404 * nscd/nscd.c (run_mode): Use enum.
20405 (main): Cleanup coding style issue.
20406
bb90b80b
AJ
204072012-05-09 Alexandre Oliva <aoliva@redhat.com>
20408 Andreas Jaeger <aj@suse.de>
20409
bcfe3a54
ST
20410 * nscd/nscd.c (go_background): Replaced with...
20411 (run_mode): ... this.
bb90b80b 20412 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20413 (options): Add -F --foreground.
20414 (main): Implement it.
20415 (parse_opt): Parse it.
bb90b80b 20416
1a4b75a1
AJ
204172012-05-09 Andreas Jaeger <aj@suse.de>
20418
20419 [BZ #14083]
20420 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20421 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20422 -Wconversion warning.
20423 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20424 Likewise.
20425
b1cc2472
JM
204262012-05-09 Joseph Myers <joseph@codesourcery.com>
20427
20428 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20429 == 0.
20430 (LC_ALL): Use macro-int-constant.
20431 (LC_COLLATE): Likewise.
20432 (LC_CTYPE): Likewise.
20433 (LC_MESSAGES): Likewise.
20434 (LC_MONETARY): Likewise.
20435 (LC_NUMERIC): Likewise.
20436 (LC_TIME): Likewise.
20437 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20438 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20439 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20440 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20441 Specify type.
20442 [C99-based standards] (float_t): Expect type.
20443 [C99-based standards] (double_t): Expect type.
20444 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20445 type.
20446 [C99-based standards] (HUGE_VALL): Likewise.
20447 [C99-based standards] (INFINITY): Likewise.
20448 [C99-based standards] (NAN): Likewise.
20449 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20450 [C99-based standards] (FP_NAN): Likewise.
20451 [C99-based standards] (FP_NORMAL): Likewise.
20452 [C99-based standards] (FP_SUBNORMAL): Likewise.
20453 [C99-based standards] (FP_ZERO): Likewise.
20454 [C99-based standards] (FP_FAST_FMA): Use
20455 optional-macro-int-constant. Specify type. Require == 1.
20456 [C99-based standards] (FP_FAST_FMAF): Likewise.
20457 [C99-based standards] (FP_FAST_FMAL): Likewise.
20458 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20459 [C99-based standards] (FP_ILOGBNAN): Likewise.
20460 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20461 Specify type.
20462 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20463 [C99-based standards] (math_errhandling): Specify type.
20464 [ISO99 || ISO11] (signgam): Do not allow.
20465 [non-C99-based standards] (copysignf): Do not allow.
20466 [non-C99-based standards] (exp2f): Likewise.
20467 [non-C99-based standards] (log2f): Likewise.
20468 [non-C99-based standards] (modff): Allow.
20469 [non-C99-based standards] (erff): Do not allow.
20470 [non-C99-based standards] (erfcf): Likewise.
20471 [non-C99-based standards] (gammaf): Likewise.
20472 [non-C99-based standards] (hypotf): Likewise.
20473 [non-C99-based standards] (j0f): Likewise.
20474 [non-C99-based standards] (j1f): Likewise.
20475 [non-C99-based standards] (jnf): Likewise.
20476 [non-C99-based standards] (lgammaf): Likewise.
20477 [non-C99-based standards] (tgammaf): Likewise.
20478 [non-C99-based standards] (y0f): Likewise.
20479 [non-C99-based standards] (y1f): Likewise.
20480 [non-C99-based standards] (ynf): Likewise.
20481 [non-C99-based standards] (isnanf): Likewise.
20482 [non-C99-based standards] (acoshf): Likewise.
20483 [non-C99-based standards] (asinhf): Likewise.
20484 [non-C99-based standards] (atanhf): Likewise.
20485 [non-C99-based standards] (cbrtf): Likewise.
20486 [non-C99-based standards] (expm1f): Likewise.
20487 [non-C99-based standards] (ilogbf): Likewise.
20488 [non-C99-based standards] (log1pf): Likewise.
20489 [non-C99-based standards] (logbf): Likewise.
20490 [non-C99-based standards] (nextafterf): Likewise.
20491 [non-C99-based standards] (remainderf): Likewise.
20492 [non-C99-based standards] (rintf): Likewise.
20493 [non-C99-based standards] (scalbf): Likewise.
20494 [non-C99-based standards] (copysignl): Likewise.
20495 [non-C99-based standards] (exp2l): Likewise.
20496 [non-C99-based standards] (log2l): Likewise.
20497 [non-C99-based standards] (modfl): Allow.
20498 [non-C99-based standards] (erfl): Do not allow.
20499 [non-C99-based standards] (erfcl): Likewise.
20500 [non-C99-based standards] (gammal): Likewise.
20501 [non-C99-based standards] (hypotl): Likewise.
20502 [non-C99-based standards] (j0l): Likewise.
20503 [non-C99-based standards] (j1l): Likewise.
20504 [non-C99-based standards] (jnl): Likewise.
20505 [non-C99-based standards] (lgammal): Likewise.
20506 [non-C99-based standards] (tgammal): Likewise.
20507 [non-C99-based standards] (y0l): Likewise.
20508 [non-C99-based standards] (y1l): Likewise.
20509 [non-C99-based standards] (ynl): Likewise.
20510 [non-C99-based standards] (isnanl): Likewise.
20511 [non-C99-based standards] (acoshl): Likewise.
20512 [non-C99-based standards] (asinhl): Likewise.
20513 [non-C99-based standards] (atanhl): Likewise.
20514 [non-C99-based standards] (cbrtl): Likewise.
20515 [non-C99-based standards] (expm1l): Likewise.
20516 [non-C99-based standards] (ilogbl): Likewise.
20517 [non-C99-based standards] (log1pl): Likewise.
20518 [non-C99-based standards] (logbl): Likewise.
20519 [non-C99-based standards] (nextafterl): Likewise.
20520 [non-C99-based standards] (remainderl): Likewise.
20521 [non-C99-based standards] (rintl): Likewise.
20522 [non-C99-based standards] (scalbl): Likewise.
20523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20524 [non-C99-based standards] (FP_*): Do not allow.
20525 [C99-based standards] (FP_*): Change to
20526 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20527 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20528 allow.
20529 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20530 (SIG_ERR): Likewise.
20531 [X/Open-based standards] (SIG_HOLD): Likewise.
20532 (SIG_IGN): Likewise.
20533 (SIGABRT): Use macro-int-constant. Specify type. Require
20534 positive value.
20535 (SIGFPE): Likewise.
20536 (SIGILL): Likewise.
20537 (SIGINT): Likewise.
20538 (SIGSEGV): Likewise.
20539 (SIGTER): Likewise.
20540 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20541 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20542 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20543 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20544 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20545 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20546 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20547 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20548 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20549 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20550 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20551 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20552 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20553 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20554 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20555 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20556 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20557 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20558 [X/Open-based standards] (SIGTRAP): Likewise.
20559 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20560 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20561 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20562 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20563 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20564 allow.
20565
b9f1922d
IW
205662012-05-08 Ian Wienand <ianw@vmware.com>
20567
20568 [BZ #14080]
20569 * time/tzset.c (__tzset_parse_tz): Update default rules for
20570 daylight time changes in the Energy Policy Act of 2005.
20571
1db86e88
AJ
205722012-05-09 Andreas Jaeger <aj@suse.de>
20573
20574 [BZ #13983]
20575 * elf/ldconfig.c (parse_conf): Change string to make clear that
20576 ldconfig only issued a warning if ld.so.conf does not exist.
20577
dee4a4e3
DM
205782012-05-08 David S. Miller <davem@davemloft.net>
20579
ee0db190
DM
20580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20581 movxtod instead of popping the value on the stack.
20582
dee4a4e3
DM
20583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20584
6a43ec98
CD
205852012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20586
20587 * config.h.in: Add HAVE_ARM_PCS_VFP.
20588
05c2c961
RMG
205892012-05-08 Roland Mc Grath <roland@hack.frob.com>
20590
bcfe3a54
ST
20591 [BZ #13979]
20592 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20593 checking but the checks are disabled for any reason.
05c2c961 20594
4b30f61a
L
205952012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20596
20597 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20598 and ELF64_R_TYPE with ELFW(R_TYPE).
20599
eee2bc67
JM
206002012-05-08 Joseph Myers <joseph@codesourcery.com>
20601
7ea5391a
JM
20602 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20603 (ulimit): Likewise.
20604
eee2bc67
JM
20605 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20606 (settimeofday): Likewise.
20607
abb66a67
MF
206082012-05-08 Mike Frysinger <vapier@gentoo.org>
20609
20610 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20611 a struct th_u2 inside the union, and move tu_block/tu_code into
20612 a new th_u3 union of tu_block/tu_code inside of that. Move
20613 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20614 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20615 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20616 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20617 (th_stuff): Change to th_u1.tu_stuff.
20618 (th_data): Define.
20619 (th_msg): Change to th_u1.th_u2.tu_data.
20620
7f18b530
DM
206212012-05-07 David S. Miller <davem@davemloft.net>
20622
05760585
DM
20623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20624
7f18b530
DM
20625 [BZ #14074]
20626 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20627 (SETUP_PIC_REG): Use it.
20628 (SETUP_PIC_REG_LEAF): Use it.
20629
495fd99f
JM
206302012-05-07 Joseph Myers <joseph@codesourcery.com>
20631
20632 [BZ #13885]
20633 [BZ #13923]
20634 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20635 USE_AS_EXPM1L.
20636 (EXPL_FINITE): Likewise.
20637 (FLDLOG): Likewise.
20638 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20639 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20640 e_expl.S.
20641 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20642 USE_AS_EXPM1L.
20643 (EXPL_FINITE): Likewise.
20644 (FLDLOG): Likewise.
20645 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20646 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20647 e_expl.S.
20648 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20649 test of -max_value argument for long double.
20650 * sysdeps/i386/fpu/libm-test-ulps: Update.
20651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20652
6693d694
DM
206532012-05-06 David S. Miller <davem@davemloft.net>
20654
20655 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20656 quad soft-float symbols whose references which are compiler
20657 generated.
20658 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20659
6c23e11c
JM
206602012-05-06 Joseph Myers <joseph@codesourcery.com>
20661
d8b82cad
JM
20662 [BZ #13884]
20663 [BZ #13914]
20664 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20665 USE_AS_EXP10L.
20666 (EXPL_FINITE): Likewise.
20667 (FLDLOG): Likewise.
20668 (c0): Likewise.
20669 (c1): Likewise.
20670 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20671 Adjust comments for base varying.
20672 (__expl_finite): Change alias to EXPL_FINITE.
20673 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20674 e_expl.S.
20675 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20676 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20677 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20678 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20679 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20680 USE_AS_EXP10L.
20681 (EXPL_FINITE): Likewise.
20682 (FLDLOG): Likewise.
20683 (c0): Likewise.
20684 (c1): Likewise.
20685 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20686 Adjust comments for base varying.
20687 (__expl_finite): Change alias to EXPL_FINITE.
20688 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20689 tests for bugs.
20690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20691
6c23e11c
JM
20692 [BZ #14064]
20693 * math/libm-test.inc (check_float_internal): Correct ulp
20694 calculation for subnormal expected results.
20695
29ba805c
AJ
206962012-05-06 Andreas Jaeger <aj@suse.de>
20697
20698 * Makeconfig (+math-flags): New, set to -frounding-math.
20699 (+cflags): Add +math-flags so that all of glibc gets compiled with
20700 it.
20701
20702 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20703
7b17aeda
JM
207042012-05-05 Joseph Myers <joseph@codesourcery.com>
20705
5779f134
JM
20706 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20707 Disable one test.
20708
41498f4d
JM
20709 [BZ #13787]
20710 [BZ #13922]
20711 [BZ #14036]
20712 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20713 (__ieee754_expl): Allow for and saturate large arguments.
20714 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20715 (u_threshold): Likewise.
20716 (__exp): Call __ieee754_exp before checking for overflow and
20717 underflow.
20718 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20719 (u_threshold): Likewise.
20720 (__expf): Call __ieee754_expf before checking for overflow and
20721 underflow.
20722 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20723 (u_threshold): Likewise.
20724 (__expl): Call __ieee754_expl before checking for overflow and
20725 underflow.
20726 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20727 (__ieee754_expl): Allow for and saturate large arguments.
20728 * math/libm-test.inc (exp_test): Add another test. Do not allow
20729 missing overflow exception on overflow.
20730 (expm1_test): Do not allow missing overflow exception on overflow.
20731
6698b8bf
JM
20732 * sysdeps/i386/fpu/e_expl.c: Move to ...
20733 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20734 rather than using inline asm.
20735 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20736 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20737 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20738
7b17aeda
JM
20739 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20740 (nice): Likewise.
20741 (poll): Likewise.
20742 (signal): Likewise.
20743 (time): Likewise.
20744 (times): Likewise.
20745
f7c85819
JM
207462012-05-04 Joseph Myers <joseph@codesourcery.com>
20747
20748 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20749 sysdeps/unix/common/syscalls.list.
20750 (fchmod): Likewise.
20751 (fchown): Likewise.
20752 (ftruncate): Likewise.
20753 (getrusage): Likewise.
20754 (gettimeofday): Likewise.
20755 (setpgid): Likewise.
20756 (setregid): Likewise.
20757 (setreuid): Likewise.
20758 (sigaction): Likewise.
20759 (truncate): Likewise.
20760 (vhangup): Likewise.
20761 * sysdeps/unix/common/syscalls.list: Remove file.
20762 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20763 * sysdeps/unix/sysv/linux/Implies: Likewise.
20764
336270d0
L
207652012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20766
20767 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20769 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20770 Moved to ...
20771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20772 Here.
20773 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20774 to ...
20775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20776 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20777 to ...
20778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20779 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20780 to ...
20781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20782 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20783 to ...
20784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20785 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20786 to ...
20787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20788 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20789 to ...
20790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20791 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20792 to ...
20793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20794 Here.
20795 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20796 to ...
20797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20798 Here.
20799 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20800 to ...
20801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20802 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20803 Moved to ...
20804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20805 Here.
20806 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20807 to ...
20808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20809
d128e450
JM
208102012-05-04 Joseph Myers <joseph@codesourcery.com>
20811
fa8ee516
JM
20812 * sysdeps/unix/common/bits/dirent.h: Remove file.
20813 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20814
d128e450
JM
20815 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20816 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20817 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20818 * sysdeps/unix/bsd/isatty.c: Likewise.
20819 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20820 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20821 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20822
ff8faaf0 208232012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20824
62881be4 20825 [BZ #13563]
31dc8730
AZ
20826 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20827 long double comparison inaccuracies.
20828 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20830
6fef930c
AS
208312012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20832
20833 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20834 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20835
8f203e6c
JM
208362012-05-04 Joseph Myers <joseph@codesourcery.com>
20837
20838 [BZ #14049]
20839 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20840 nonzero digits before rounding a hex value.
20841 * stdlib/tst-strtod.c (tests): Add another test.
20842
5197d9c2
AK
208432012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20844
20845 * sysdeps/s390/fpu/libm-test-ulps: Update.
20846
f0c1dedf
AJ
208472012-05-03 Andreas Jaeger <aj@suse.de>
20848
20849 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20850 does not get optimized out.
20851 (malloc_opt_barrier): New.
20852
a65ef2ae 208532012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20854 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20855
2b942cb7 20856 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20857 intermediate file deletion.
2b942cb7 20858 (generated): Add .symlist files.
a65ef2ae 20859
54b71e02
JM
208602012-05-03 Joseph Myers <joseph@codesourcery.com>
20861
20862 [BZ #13775]
20863 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20864 Redirect under this condition.
20865 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20866 [__USE_GNU] (__dprintf_chk): Not under this condition.
20867 [__USE_GNU] (__vdprintf_chk): Likewise.
20868 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20869 under this condition.
20870 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20871 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20872 [__USE_XOPEN2K8] (vdprintf): Likewise.
20873 [__USE_GNU] (__dprintf_chk): Not under this condition.
20874 [__USE_GNU] (__vdprintf_chk): Likewise.
20875 [__USE_GNU] (dprintf): Likewise.
20876 [__USE_GNU] (vdprintf): Likewise.
20877
d3dfcc41
RM
208782012-05-03 Roland McGrath <roland@hack.frob.com>
20879
20880 * elf/Makefile (common-generated): Set this instead of generated for
20881 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20882 $(all-built-dso)-derived lists.
20883
7ac30cc5
AJ
208842012-05-03 Andreas Jaeger <aj@suse.de>
20885
0c51e550
AJ
20886 * sysdeps/i386/fpu/libm-test-ulps: Update.
20887
7ac30cc5
AJ
20888 * FAQ: Removed.
20889 * FAQ.in: Likewise.
20890 * scripts/gen-FAQ.pl: Likewise.
20891 * manual/install.texi (Installation): Point to online location of
20892 FAQ.
20893 * Makefile (files-for-dist): Remove FAQ.
20894 (FAQ): Remove.
20895
d4c2917f
AM
208962012-05-02 Allan McRae <allan@archlinux.org>
20897
20898 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20899 (LDFLAGS-reldepmod5.so): Likewise.
20900 (LDFLAGS-reldep6mod1.so): Likewise.
20901 (LDFLAGS-reldep6mod4.so): Likewise.
20902 (LDFLAGS-reldep8mod3.so): Likewise.
20903 (LDFLAGS-unload4mod1.so): Likewise.
20904 (LDFLAGS-unload4mod2.so): Likewise.
20905 (LDFLAGS-tst-initorder): Likewise.
20906 (LDFLAGS-tst-initordera2.so): Likewise.
20907 (LDFLAGS-tst-initordera3.so): Likewise.
20908 (LDFLAGS-tst-initordera4.so): Likewise.
20909 (LDFLAGS-tst-initorderb2.so): Likewise.
20910 (LDFLAGS-noload): Likewise.
20911 (LDFLAGS-next): Likewise.
20912 (LDFLAGS-order2mod1.so): Likewise.
20913 (LDFLAGS-order2mod2.so): Likewise.
20914 (LDFLAGS-tst-initorder2): Likewise.
20915 (LDFLAGS-tst-initorder2a.so): Likewise.
20916 (LDFLAGS-tst-initorder2b.so): Likewise.
20917 (LDFLAGS-tst-initorder2c.so): Likewise.
20918 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20919
d77f993f
DM
209202012-05-02 David S. Miller <davem@davemloft.net>
20921
20922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20923
171a70b4
PP
209242012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20925
20926 [BZ #14055]
20927 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20928
0be196ad
AJ
209292012-05-02 Andreas Jaeger <aj@suse.de>
20930
20931 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20932 since we manipulate rounding mode.
20933 (CPPFLAGS-test-idouble.c): Likewise.
20934 (CPPFLAGS-test-ifloat.c): Likewise.
20935 (CFLAGS-test-ldouble.c): Likewise.
20936 (CFLAGS-test-double.c): Likewise.
20937 (CFLAGS-test-float.c): Likewise.
20938 (CFLAGS-test-misc.c): Likewise.
20939 (CFLAGS-test-test-fenv.c): Likewise.
20940
4f9d04aa
AZ
209412012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20942
2b942cb7
RM
20943 [BZ #2550]
20944 [BZ #2570]
20945 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20946 comparisons to determine direction to adjust input.
4f9d04aa 20947
82a79e7d
RM
209482012-05-01 Roland McGrath <roland@hack.frob.com>
20949
f5a01ca9
RM
20950 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20951 output to the target.
20952
90fe4186
RM
20953 * scripts/localplt.awk: New file.
20954 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20955 (check-localplt-CFLAGS): Variable removed.
20956 ($(all-built-dso:=.jmprel)): New static pattern rule.
20957 (generated): Add those targets.
20958 (localplt-built-dso): New variable.
20959 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20960
20961 * elf/check-localplt.c: File removed.
20962
82397ed6
RM
20963 * scripts/check-execstack.awk: New file.
20964 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20965 (check-execstack-CFLAGS): Variable removed.
20966 ($(objpfx)check-execstack.h): Target removed.
20967 ($(objpfx)execstack-default): New target.
20968 (generated): Add that instead of check-execstack.h.
20969 ($(all-built-dso:=.phdr)): New static pattern rule.
20970 (generated): Add those targets.
20971 * elf/check-execstack.c: File removed.
20972
82a79e7d
RM
20973 * scripts/check-textrel.awk: New file.
20974 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20975 (check-textrel-CFLAGS): Variable removed.
20976 (all-built-dso): Use := to define.o
20977 ($(all-built-dso:=.dyn)): New static pattern rule.
20978 (generated): Add those targets.
20979 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20980 * config.make.in (READELF): New substituted variable.
20981 * elf/check-textrel.c: File removed.
20982
62fde54f 209832012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20984
615605c9
JM
20985 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20986 allow.
20987 * conform/data/ctype.h-data [C99-based standards] (isblank):
20988 Expect function.
20989 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20990 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20991 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20992 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20993 Specify type. Require positive value.
20994 (EILSEQ): Likewise.
20995 (ERANGE): Likewise.
20996 [ISO || POSIX] (EILSEQ): Do not expect.
20997 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20998 Specify type. Require positive value.
20999 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21000 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21001 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21002 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21003 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21004 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21005 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21006 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21007 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21008 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21009 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21010 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21011 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21012 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21013 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21014 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21015 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21016 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21017 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21018 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21019 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21020 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21021 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21022 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21023 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21024 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21025 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21026 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21027 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21028 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21029 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21030 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21031 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21032 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21033 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21034 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21035 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21036 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21037 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21038 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21039 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21040 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21041 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21042 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21043 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21044 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21045 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21046 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21047 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21048 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21049 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21050 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21051 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21052 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21053 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21054 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21055 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21056 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21057 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21058 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21059 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21060 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21061 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21062 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21063 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21064 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21065 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21066 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21067 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21068 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21069 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21070 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21071 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21072 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21073 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21074 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21075 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21076 Require >= 2.
21077 (FLT_ROUNDS): Expect as macro, not constant.
21078 (FLT_MANT_DIG): Use macro-int-constant.
21079 (DBL_MANT_DIG): Likewise.
21080 (LDBL_MANT_DIG): Likewise.
21081 (FLT_DIG): Likewise.
21082 (DBL_DIG): Likewise.
21083 (LDBL_DIG): Likewise.
21084 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21085 (DBL_MIN_EXP): Likewise.
21086 (LDBL_MIN_EXP): Likewise.
21087 (FLT_MAX_EXP): Use macro-int-constant.
21088 (DBL_MAX_EXP): Likewise.
21089 (LDBL_MAX_EXP): Likewise.
21090 (FLT_MAX_10_EXP): Likewise.
21091 (DBL_MAX_10_EXP): Likewise.
21092 (LDBL_MAX_10_EXP): Likewise.
21093 (FLT_MAX): Use macro-constant.
21094 (DBL_MAX): Likewise.
21095 (LDBL_MAX): Likewise.
21096 (FLT_EPSILON): Use macro-constant. Give upper bound.
21097 (DBL_EPSILON): Likewise.
21098 (LDBL_EPSILON): Likewise.
21099 (FLT_MIN): Likewise.
21100 (DBL_MIN): Likewise.
21101 (LDBL_MIN): Likewise.
21102 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21103 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21104 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21105 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21106 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21107 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21108 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21109 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21110 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21111 [ISO11] (FLT_TRUE_MIN): Likewise.
21112 [ISO11] (LDBL_TRUE_MIN): Likewise.
21113 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21114 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21115 (SCHAR_MIN): Use macro-int-constant. Specify type.
21116 (SCHAR_MAX): Likewise.
21117 (UCHAR_MAX): Likewise.
21118 (CHAR_MIN): Likewise.
21119 (CHAR_MAX): Likewise.
21120 (MB_LEN_MAX): Use macro-int-constant.
21121 (SHRT_MIN): Use macro-int-constant. Specify type.
21122 (SHRT_MAX): Likewise.
21123 (USHRT_MAX): Likewise.
21124 (INT_MAX): Likewise.
21125 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21126 bound negative.
21127 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21128 bound with "U".
21129 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21130 bound with "L".
21131 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21132 bound negative. Suffix upper bound with "L".
21133 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21134 bound with "UL".
21135 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21136 Specify type.
21137 [C99-based standards] (LLONG_MAX): Likewise.
21138 [C99-based standards] (ULLONG_MAX): Likewise.
21139 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21140 == 0.
21141 [ISO11] (max_align_t): Require type.
21142 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21143
c9140a62
JM
21144 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21145 from $CFLAGS, without defining away __attribute__ calls.
21146 (checknamespace): Use $CFLAGS_namespace.
21147
9af0bf29
JM
21148 * conform/conformtest.pl (@keywords): Only include C99 keywords
21149 for standards based on C99 or C11.
21150
343222a2
JM
21151 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21152 Disable tests.
21153 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21154 UNIX98]: Likewise.
21155
661f8cf0
JM
21156 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21157 usability of symbols in #if.
21158
ee74b9cb
JM
21159 * conform/conformtest.pl: If macro or constant types start
21160 "promoted:", expect the symbol to be of the following type
21161 promoted by the integer promotions.
62fde54f 21162
aafc49b3
JM
21163 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21164 in one place. Also handle "macro-constant".
21165
fefdf574
JM
21166 * conform/conformtest.pl: Only accept expected macro values with
21167 "==". Parse all "macro" lines in one place.
21168 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21169
f2d922fe
JM
21170 * conform/conformtest.pl: Handle braced types on "constant" lines
21171 instead of handling "typed-constant".
21172 * conform/data/signal.h-data: Use "constant" instead of
21173 "typed-constant".
21174
d22956c9
JM
21175 * conform/conformtest.pl: Handle "optional-" at start of lines in
21176 one place rather than duplicating several cases. Handle each
21177 format of "macro" line with initial "optional-".
21178
028e2e38
JM
21179 * conform/conformtest.pl: Only accept expected constant or
21180 optional-constant values with "==". Parse all "constant" lines in
21181 one place. Parse all "optional-constant" lines in one place.
21182 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21183 * conform/data/fmtmsg.h-data: Likewise.
21184 * conform/data/netinet/in.h-data: Likewise.
21185 * conform/data/tar.h-data: Likewise.
21186 * conform/data/limits.h-data: Use "==" form on "constant" and
21187 "optional-constant" lines.
21188
1b8f2850
JM
21189 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21190 Use -std=c99 for XOPEN2K.
21191 (@knownproblems): Remove.
21192 (newtoken): Don't check %isknown.
21193
a05a144b
JM
21194 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21195 Do not expect macro.
21196 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21197 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21198 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21199 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21200 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21201 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21202 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21203 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21204 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21205 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21206 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21207 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21208 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21209 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21210 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21211 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21212 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21213 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21214 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21215 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21216 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21217 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21218 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21219 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21220 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21221 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21222 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21223 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21224 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21225 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21226 [XPG3] (acosh): Likewise.
21227 [XPG3] (asinh): Likewise.
21228 [XPG3] (atanh): Likewise.
21229 [XPG3] (cbrt): Likewise.
21230 [XPG3] (expm1): Likewise.
21231 [XPG3] (ilogb): Likewise.
21232 [XPG3] (log1p): Likewise.
21233 [XPG3] (logb): Likewise.
21234 [XPG3] (nextafter): Likewise.
21235 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21236 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21237 [XPG3] (remainder): Likewise.
21238 [XPG3] (rint): Likewise.
21239 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21240 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21241 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21242 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21243 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21244 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21245 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21246 [UNIX98 || XOPEN2K] (scalb): Expect.
21247 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21248 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21249 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21250 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21251 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21252 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21253 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21254 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21255 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21256 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21257 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21258 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21259 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21260 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21261 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21262 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21263 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21264 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21265 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21266 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21267 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21268 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21269 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21270 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21271 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21272 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21273 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21274 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21275 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21276 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21277 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21278 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21279 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21280 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21281 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21282 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21283 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21284 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21285 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21286 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21287 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21288 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21289 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21290 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21291 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21292 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21293 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21294 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21295 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21296 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21297 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21298 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21299 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21300 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21301 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21302 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21303 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21304 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21305 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21306 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21307 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21308 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21309 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21310 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21311 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21312 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21313 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21314 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21315 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21316 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21317 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21318 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21319 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21320 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21321 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21322 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21323 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21324 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21325 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21326 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21327 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21328 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21329 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21330 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21331 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21332 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21333 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21334 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21335 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21336 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21337 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21338 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21339 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21340 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21341 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21342 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21343 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21344 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21345 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21346 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21347 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21348 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21349 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21350 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21351 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21352 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21353 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21354 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21355 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21356 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21357 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21358 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21359 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21360 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21361 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21362 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21363 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21364 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21365 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21366 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21367 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21368 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21369 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21370 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21371 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21372 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21373 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21374 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21375 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21376 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21377 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21378 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21379 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21380 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21381 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21382 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21383 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21384
73c5ebe3
JM
21385 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21386 _XOPEN_SOURCE_EXTENDED for XPG4.
21387
39c33b6c
JM
21388 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21389
62fde54f
JM
21390 * Makeconfig (localtime): Remove variable.
21391 (inst_localtime-file): Likewise.
21392
0741d64c
AS
213932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21394
21395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21396 Update.
21397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21398 Update.
21399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21400 Update.
21401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21402 Update.
21403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21404 Update.
21405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21406 Update.
21407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21408 Update.
21409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21410 Update.
21411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21412 Update.
21413
7cb029ee
JM
214142012-05-01 Joseph Myers <joseph@codesourcery.com>
21415
21416 [BZ #2550]
21417 [BZ #2570]
21418 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21419 comparisons to determine direction to adjust input.
21420 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21421 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21422 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21423 Likewise.
21424 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21425 Likewise.
21426 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21427 Likewise.
21428 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21429 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21430 Likewise.
21431 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21432 Likewise.
21433 * math/libm-test.inc (nexttoward_test): Add more tests.
21434
412bd966
AS
214352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21436
21437 [BZ #14040]
21438 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21439 in version GLIBC_2.1, not GLIBC_2.0.
21440 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21441 Likewise.
21442
9568c0c2
JM
214432012-04-30 Joseph Myers <joseph@codesourcery.com>
21444
adfbc8ac
JM
21445 [BZ #13942]
21446 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21447 (1 - x) * (1 + x).
21448 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21449 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21450 * math/libm-test.inc (acos_test): Add more tests.
21451 (asin_test): Likewise.
21452 * sysdeps/i386/fpu/libm-test-ulps: Update.
21453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21454
5ba3cc69
JM
21455 [BZ #14034]
21456 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21457 of square root.
21458 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21459 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21460 * math/libm-test.inc (acos_test_tonearest): New function.
21461 (acos_test_towardzero): Likewise.
21462 (acos_test_downward): Likewise.
21463 (acos_test_upward): Likewise.
21464 (asin_test_tonearest): Likewise.
21465 (asin_test_towardzero): Likewise.
21466 (asin_test_downward): Likewise.
21467 (asin_test_upward): Likewise.
21468 (main): Call the new functions.
21469 * sysdeps/i386/fpu/libm-test-ulps: Update.
21470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21471
9568c0c2
JM
21472 [BZ #13884]
21473 [BZ #13924]
21474 * math/e_exp10.c: Include <float.h>.
21475 (__ieee754_exp10): Handle underflow here rather than multiplying
21476 large negative argument by M_LN10.
21477 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21478 of __ieee754_expf.
21479 * math/e_exp10l.c: Include <float.h>.
21480 (__ieee754_exp10l): Handle underflow here rather than multiplying
21481 large negative argument by M_LN10l.
21482 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21483 spurious overflow exception on underflow.
21484
5ac3ea17
MP
214852012-04-29 Marek Polacek <polacek@redhat.com>
21486
21487 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21488 (__fortify_function): New macro.
21489 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21490 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21491 __extern_always_inline.
21492 * libio/bits/stdio2.h: Likewise.
21493 * libio/bits/stdio.h: Likewise.
21494 * string/string.h: Likewise.
21495 * string/bits/string3.h: Likewise.
21496 * include/stdio.h: Likewise.
21497 * stdlib/bits/stdlib.h: Likewise.
21498 * stdlib/stdlib.h: Likewise.
21499 * rt/bits/mqueue2.h: Likewise.
21500 * rt/mqueue.h: Likewise.
21501 * posix/bits/unistd.h: Likewise.
21502 * posix/unistd.h: Likewise.
21503 * io/bits/poll2.h: Likewise.
21504 * io/bits/fcntl2.h: Likewise.
21505 * io/fcntl.h: Likewise.
21506 * io/sys/poll.h: Likewise.
21507 * misc/bits/syslog.h: Likewise.
21508 * misc/bits/syslog-ldbl.h: Likewise.
21509 * misc/sys/syslog.h: Likewise.
21510 * socket/bits/socket2.h: Likewise.
21511 * socket/sys/socket.h: Likewise.
21512 * debug/tst-chk1.c: Likewise.
21513 * wcsmbs/bits/wchar2.h: Likewise.
21514 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21515 * wcsmbs/wchar.h: Likewise.
21516
ecf0ebfb
AJ
215172012-04-29 Andreas Jaeger <aj@suse.de>
21518
21519 * Makerules (tests): Remove enable-check-abi protection.
21520 (check-abi-warn): Remove.
21521 (check-abi-%): Remove check-abi-warn usage.
21522
21523 * configure.in: Remove check-abi configure option.
21524 * configure: Regenerated.
21525 * config.make.in (enable-check-abi): Remove.
21526
6d5c57fa
AS
215272012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21528
24c5d07e 21529 [BZ #14033]
ded5180a
AS
21530 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21531 double functions to double *_finite functions.
21532
7e0d315d
AS
21533 [BZ #13941]
21534 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21535 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21536 LDBL_MIN_EXP.
21537 * stdio-common/Makefile (tests): Add tst-sprintf3.
21538 * stdio-common/tst-sprintf3.c: New file.
21539
6d5c57fa
AS
21540 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21541 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21542
0749ff8b
JM
215432012-04-28 Joseph Myers <joseph@codesourcery.com>
21544
21545 * conform/conformtest.pl: Remove duplicate typed-constant
21546 handling.
21547
8dbd5d7b
DM
215482012-04-28 David S. Miller <davem@davemloft.net>
21549
21550 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21551 (check-abi-%): Remove AWK script prerequisite and explicit
21552 abilist directory.
21553 (check-abi): Rewrite to just diff the symlist with the abilist.
21554 (config-tls, config-abi-config): Delete, no longer used.
21555 (update-abi-%): Remove AWK script and explicit abilist directory.
21556 (update-abi): Rewrite to simply compare and conditionally copy the
21557 symlist and the sysdep abilist file. Remove update-abi-config
21558 checks.
21559 * abilist/ld.abilist: Remove.
21560 * abilist/libBrokenLocale.abilist: Remove.
21561 * abilist/libanl.abilist: Remove.
21562 * abilist/libcrypt.abilist: Remove.
21563 * abilist/libdl.abilist: Remove.
21564 * abilist/librt.abilist: Remove.
21565 * abilist/libthread_db.abilist: Remove.
21566 * abilist/libutil.abilist: Remove.
21567 * scripts/extract-abilist.awk: Remove.
21568 * scripts/merge-abilist.awk: Remove.
21569 * sysdeps/generic/libcidn.abilist: New file.
21570 * sysdeps/generic/libnss_compat.abilist: New file.
21571 * sysdeps/generic/libnss_db.abilist: New file.
21572 * sysdeps/generic/libnss_dns.abilist: New file.
21573 * sysdeps/generic/libnss_files.abilist: New file.
21574 * sysdeps/generic/libnss_hesiod.abilist: New file.
21575 * sysdeps/generic/libnss_nis.abilist: New file.
21576 * sysdeps/generic/libnss_nisplus.abilist: New file.
21577 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21578 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21579 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21580 file.
21581 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21582 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21583 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21584 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21585 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21586 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21587 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21588 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21589 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21590 file.
21591 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21592 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21593 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21594 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21595 file.
21596 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21597 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21598 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21599 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21600 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21601 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21602 file.
21603 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21604 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21605 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21606 file.
21607 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21609 New file.
21610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21611 New file.
21612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21613 New file.
21614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21615 New file.
21616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21617 New file.
21618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21619 New file.
21620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21621 New file.
21622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21623 New file.
21624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21625 New file.
21626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21627 New file.
21628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21629 New file.
21630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21631 New file.
21632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21633 New file.
21634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21635 file.
21636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21637 New file.
21638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21639 New file.
21640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21641 file.
21642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21643 New file.
21644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21645 New file.
21646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21647 file.
21648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21649 New file.
21650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21651 New file.
21652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21653 New file.
21654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21655 New file.
21656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21657 New file.
21658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21659 New file.
21660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21662 file.
21663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21664 New file.
21665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21666 file.
21667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21668 file.
21669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21670 file.
21671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21672 file.
21673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21674 file.
21675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21676 New file.
21677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21678 file.
21679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21680 file.
21681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21682 New file.
21683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21684 file.
21685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21687 file.
21688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21689 New file.
21690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21691 file.
21692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21693 file.
21694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21695 file.
21696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21697 file.
21698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21699 file.
21700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21701 New file.
21702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21703 file.
21704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21705 file.
21706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21707 New file.
21708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21709 file.
21710 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21711 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21712 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21713 file.
21714 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21715 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21716 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21717 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21718 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21719 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21720 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21721 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21722 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21723 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21726 file.
21727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21728 New file.
21729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21730 file.
21731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21732 file.
21733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21734 file.
21735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21736 file.
21737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21738 file.
21739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21740 New file.
21741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21742 New file.
21743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21744 file.
21745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21746 New file.
21747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21748 file.
21749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21751 file.
21752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21753 New file.
21754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21755 file.
21756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21757 file.
21758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21759 file.
21760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21761 file.
21762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21763 file.
21764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21765 New file.
21766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21767 New file.
21768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21769 file.
21770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21771 New file.
21772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21773 file.
21774
41d73a1b
JM
217752012-04-28 Joseph Myers <joseph@codesourcery.com>
21776
21777 * conform/conformtest.pl: Fix typo in handling typed-constant from
21778 allow-header.
21779
28aeeda4
JM
217802012-04-27 Joseph Myers <joseph@codesourcery.com>
21781
adae8f5e
JM
21782 * README: Cut down references to pre-2.6 Linux kernels and
21783 Linuxthreads. Update lists of configurations in libc and ports
21784 and sort alphabetically. Say "or newer" with Linux kernel version
21785 requirements.
21786
28aeeda4
JM
21787 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21788
a462cb63
RA
217892012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21790
21791 [BZ #887]
21792 * math/libm-test.inc (logb_test_downward): New test to expose
21793 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21794 rounding mode.
21795
6ad3493e
JM
217962012-04-27 Joseph Myers <joseph@codesourcery.com>
21797
21798 [BZ #14027]
21799 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21800 to be done.
21801 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21802 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21803
2ce4f015
JM
218042012-04-26 Joseph Myers <joseph@codesourcery.com>
21805
5aeb141a
JM
21806 * sysdeps/unix/i386/brk.S: Remove file.
21807 * sysdeps/unix/i386/dl-brk.S: Likewise.
21808 * sysdeps/unix/i386/pipe.S: Likewise.
21809 * sysdeps/unix/i386/sigreturn.S: Likewise.
21810 * sysdeps/unix/i386/syscall.S: Likewise.
21811 * sysdeps/unix/i386/vfork.S: Likewise.
21812 * sysdeps/unix/i386/wait.S: Likewise.
21813
7143acae
JM
21814 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21815 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21816
2ce4f015
JM
21817 * configure.in (arm*-none*): Do not allow without
21818 --enable-hacker-mode.
21819 (netbsd*): Remove case setting base_os.
21820 (386bsd*): Likewise.
21821 (freebsd*): Likewise.
21822 (bsdi*): Likewise.
21823 (osf*): Likewise.
21824 (sunos*): Likewise.
21825 (ultrix*): Likewise.
21826 (newsos*): Likewise.
21827 (dynix*): Likewise.
21828 (*bsd*): Likewise.
21829 (sysv*): Likewise.
21830 (isc*): Likewise.
21831 (esix*): Likewise.
21832 (sco*): Likewise.
21833 (minix*): Likewise.
21834 (irix4*): Likewise.
21835 (irix6*): Likewise.
21836 (solaris[2-9]*): Likewise.
21837 (none): Likewise.
21838 * configure: Regenerated.
21839
0ac229c8
AZ
218402012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21841
21842 [BZ #11521]
21843 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21844 overflow or cancellation in calculating denominator.
21845 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21846 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21847 down expression to avoid unexpected rounding in newer GCCs.
21848 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21849
33f244f4
DM
218502012-04-26 David S. Miller <davem@davemloft.net>
21851
21852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21853 long-double compat symbols.
21854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21867
cfa1f3e8
DM
218682012-04-25 David S. Miller <davem@davemloft.net>
21869
21870 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21871 HWCAP_* values only after the memory barriers have been defined.
21872 (atomic_full_barrier): Define.
21873 (atomic_read_barrier): Define.
21874 (atomic_write_barrier): Define.
21875
6e236b92
SP
218762012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21877
21878 * shlib-versions: Add libgcc_s version information.
21879 * sysdeps/generic/libgcc_s.h: Remove.
21880 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21881 libgcc_s.h.
21882 * sysdeps/gnu/unwind-resume.c: Likewise.
21883 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21884
aab39a09
DM
218852012-04-25 David S. Miller <davem@davemloft.net>
21886
21887 * sysdeps/unix/sparc/brk.S: Delete.
21888 * sysdeps/unix/sparc/dl-brk.S: Delete.
21889 * sysdeps/unix/sparc/pipe.S: Delete.
21890 * sysdeps/unix/sparc/sysdep.S: Delete.
21891 * sysdeps/unix/sparc/sysdep.h: Delete.
21892 * sysdeps/unix/sparc/vfork.S: Delete.
21893 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21894 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21895 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21896 ret_ERRVAL, r0, r1, MOVE): Define.
21897 (JUMPTARGET): Remove.
21898 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21899 sysdeps/unix/sparc/sysdep.h
21900 (ENTRY, END): Remove.
21901 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21902
a3cc4f48
JM
219032012-04-25 Joseph Myers <joseph@codesourcery.com>
21904
2ed8cda2
JM
21905 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21906 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21907 -DIS_IN_build.
21908
35d76d59
JM
21909 * timezone/README: Update upstream location and email address for
21910 tzcode and tzdata.
21911 * timezone/zdump.c: Update from tzcode 2012b.
21912 * timezone/zic.c: Likewise.
21913
a3cc4f48
JM
21914 * configure.in (libc_cv_as_needed): Remove test.
21915 * configure: Regenerated.
21916 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21917 conditional definition.
21918 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21919 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21920 * config.make.in (have-as-needed): Remove variable.
21921
ceab42c3
SP
219222012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21923 Paul Pluzhnikov <ppluzhnikov@google.com>
21924
21925 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21926 strings correctly.
21927
3ce2865f
CLT
219282012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21929
21930 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21931 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21932 * sysdeps/sh/strlen.S: Likewise.
21933
f37e0d68
JM
219342012-04-24 Joseph Myers <joseph@codesourcery.com>
21935
ae186e9a
JM
21936 * sysdeps/unix/fork.S: Remove file.
21937 * sysdeps/unix/i386/fork.S: Likewise.
21938 * sysdeps/unix/sparc/fork.S: Likewise.
21939
b96914af
JM
21940 * sysdeps/unix/system.c: Remove file.
21941 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21942
f37e0d68
JM
21943 * sysdeps/unix/getegid.S: Remove file.
21944 * sysdeps/unix/geteuid.S: Likewise.
21945
87ef29ca
RM
219462012-04-24 Roland McGrath <roland@hack.frob.com>
21947
83bcd236
RM
21948 * scripts/check-localplt.awk: New file.
21949 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21950 of diff.
21951 * scripts/data/localplt-generic.data: Add a comment.
21952
87ef29ca
RM
21953 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21954 NODE when __dir_mkfile failed.
21955 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21956 Reported by Ludovic Courtès <ludo@gnu.org>.
21957
e5a6e567
AJ
219582012-04-24 Andreas Jaeger <aj@suse.de>
21959
21960 * Makerules (common-clean): Also remove gen-as-const-headers
21961 files.
21962
c1820385
JM
219632012-04-24 Joseph Myers <joseph@codesourcery.com>
21964
21965 * Makerules (native-compile): Do not change working directory for
21966 build. Use $(OUTPUT_OPTION) in command.
21967 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21968
94e02fc4
AZ
219692012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21970
21971 [BZ #13886]
21972 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21973 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21974 * math/libm-test.inc (floor_test): Add more tests.
21975 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21976
3a533ca3
JM
219772012-04-24 Joseph Myers <joseph@codesourcery.com>
21978
940ab4b3
JM
21979 * sysdeps/unix/getdents.c: Remove file.
21980 * sysdeps/unix/sysv/getdents.c: Likewise.
21981 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21982
90e037bd
JM
21983 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21984 sysdeps/unix/mman/syscalls.list.
21985 (mmap): Likewise.
21986 (mprotect): Likewise.
21987 (msync): Likewise.
21988 (munmap): Likewise.
21989 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21990 * sysdeps/unix/mman/syscalls.list: Remove.
21991 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21992
3a533ca3
JM
21993 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21994 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21995 * configure: Regenerated.
21996 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21997 $(libgcc_s_suffix).
21998 * config.make.in (libgcc_s_suffix): Remove variable.
21999
1ad743de
JM
220002012-04-23 Joseph Myers <joseph@codesourcery.com>
22001
4ad451e2
JM
22002 * sysdeps/unix/sysv/gethostname.c: Move to ...
22003 * sysdeps/posix/gethostname.c: ... here.
22004
5e37ce39
JM
22005 * sysdeps/unix/execve.S: Remove file.
22006
1ad743de
JM
22007 * sysdeps/unix/_exit.S: Remove file.
22008
4e681b5b
AJ
220092012-04-23 Andreas Jaeger <aj@suse.de>
22010
22011 [BZ #13739]
22012 * manual/Makefile: Remove make dist support, there's no
22013 need for a stand-alone documentation tar ball.
22014 (TEXI2DVI): Define always, it's not in Makeconfig.
22015 (dist): Removed.
22016 (tar-it): Removed.
22017 (edition): Removed.
22018 (glibc-doc-$(edition).tar): Removed
22019 (%.Z): Removed.
22020 (%.gz): Removed.
22021 (%.uu): Removed.
22022 (ETAGS): Remove, it's in Makeconfig.
22023 (move-if-change): Remove, it's in Makeconfig.
22024
38686a03 220252012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
22026
22027 [BZ #13970]
22028 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22029 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22030 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22031 (strtod_l, strtof_l, strtold_l): Remove __wur.
22032 It is not necessarily an error to ignore strtol's return value.
22033 One can reliably look at the stored endptr to decide whether
22034 the number had valid syntax.
22035
7c0616fa
AJ
220362012-04-21 Andreas Jaeger <aj@suse.de>
22037
803cb6b7 22038 [BZ #13739]
7c0616fa
AJ
22039 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22040
b0fe253f
JM
220412012-04-21 Joseph Myers <joseph@codesourcery.com>
22042
22043 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22044 * sysdeps/unix/sysv/Versions: Remove file.
22045
8280f22d
MT
220462012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22047
22048 [BZ #13927]
22049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22050
75ce411f 220512012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
22052
22053 [BZ #7064]
22054 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22055 version from __vm86.
22056
097d59fa
JM
220572012-04-20 Joseph Myers <joseph@codesourcery.com>
22058
a90f3bcb
JM
22059 * sysdeps/unix/common/lxstat.c: Remove file.
22060 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22061
edc7ea78
JM
22062 * sysdeps/unix/sysv/Makefile: Remove file.
22063
cb78c221
JM
22064 * sysdeps/unix/sysv/direct.h: Remove file.
22065
efa6a45f
JM
22066 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22067 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22068 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22069 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22070 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22071 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22072 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22073
9c9f2d0c
JM
22074 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22075
4541c83b
JM
22076 * sysdeps/unix/xmknod.c: Remove file.
22077 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22078
f5d153a0
JM
22079 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22080
aa746595
JM
22081 * sysdeps/unix/sysv/i386/time.S: Remove file.
22082
cce5905e
JM
22083 * sysdeps/unix/fxstat.c: Remove file.
22084 * sysdeps/unix/xstat.c: Likewise.
22085 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22086
37fa3841
JM
22087 * sysdeps/unix/sysv/sigaction.c: Remove file.
22088
ff1962a3
JM
22089 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22090 (sysdep_headers): Remove variable.
22091 [termio.h not in sysdep_headers] (generated): Likewise.
22092 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22093 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22094 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22095 * sysdeps/unix/sysv/tcflow.c: Likewise.
22096 * sysdeps/unix/sysv/tcflush.c: Likewise.
22097 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22098 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22099 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22100 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22101 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22102
e7740d31
JM
22103 * sysdeps/unix/siglist.c: Remove file.
22104
ee06f18b
JM
22105 * sysdeps/unix/getppid.S: Remove file.
22106
097d59fa
JM
22107 * sysdeps/unix/mkdir.c: Remove file.
22108 * sysdeps/unix/rmdir.c: Likewise.
22109
ff3d51ec
AS
221102012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22111
22112 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22113 ERR_MAX value.
22114 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22115 errlist-compat value.
22116
50f81fd7
DM
221172012-04-18 David S. Miller <davem@davemloft.net>
22118
22119 * sysdeps/generic/memcopy.h (reg_char): Delete.
22120 * debug/strcat_chk.c: Use char, not reg_char.
22121 * debug/strcpy_chk.c: Likewise.
22122 * debug/strncat_chk.c: Likewise.
22123 * debug/strncpy_chk.c: Likewise.
22124 * string/memchr.c: Likewise.
22125 * string/memrchr.c: Likewise.
22126 * string/rawmemchr.c: Likewise.
22127 * string/strcat.c: Likewise.
22128 * string/strchr.c: Likewise.
22129 * string/strchrnul.c: Likewise.
22130 * string/strcmp.c: Likewise.
22131 * string/strcpy.c: Likewise.
22132 * string/strncat.c: Likewise.
22133 * string/strncmp.c: Likewise.
22134 * string/strncpy.c: Likewise.
22135
8ff41c46
WS
221362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22137
22138 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22139 __builtin_memcopy is called when src and dest ranges are known to not
22140 overlap.
22141
6b652f46
WS
221422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22143
22144 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22145 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22146 fwd_align_merge macro call.
22147 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22148 bwd_align_merge macro call.
22149 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22150
b282631e
WS
221512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22152
22153 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22154 bwd_align_merge macros.
22155 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22156 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22157 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22158
95aa737c
DM
221592012-04-18 David S. Miller <davem@davemloft.net>
22160
22161 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22162
7a99a614
AJ
221632012-04-18 Andreas Jaeger <aj@suse.de>
22164
22165 [BZ# 6794]
22166 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22167 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22168 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22169
22170 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22171 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22172 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22173
22174 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22175 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22176 Adjust for changed ldbl-128 files.
22177
22178 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22179 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22180 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22181
e5270c23
DM
221822012-04-17 David S. Miller <davem@davemloft.net>
22183
22184 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22185
fb5e92c9
AS
221862012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22187
22188 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22189 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22190 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22191 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22192 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22193 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22194
76da7265
AZ
221952012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22196
22197 [BZ #6794]
22198 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22199 * math/libm-test.inc: Add ilogb errno and exception tests.
22200 * math/w_ilogb.c: New file: ilogb wrapper.
22201 * math/w_ilogbf.c: New file: ilogbf wrapper.
22202 * math/w_ilogbl.c: New file: ilogbl wrapper.
22203 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22204 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22205 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22206 exception being thrown with 0.0 as argument.
22207 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22208 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22209 exception being thrown with 0.0 as argument.
22210 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22211 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22212 exception being thrown with 0.0 as argument.
22213 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22214 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22215 exception being thrown with 0.0 as argument.
22216 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22217 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 22218 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
22219 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22220 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22221 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22222 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22223 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22224 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22225
0396e69d
PB
222262012-04-17 Petr Baudis <pasky@ucw.cz>
22227
22228 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22229 with altivec.
22230
750b5926
MP
222312012-04-16 Marek Polacek <polacek@redhat.com>
22232
22233 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22234
751728a1
MP
222352012-04-16 Marek Polacek <polacek@redhat.com>
22236
22237 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22238 operands of fdivp instruction.
22239
34a27407
L
222402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22241
22242 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22243 * elf/tst-auditmod3b.c: Likewise.
22244 * elf/tst-auditmod4b.c: Likewise.
22245 * elf/tst-auditmod5b.c: Likewise.
22246 * elf/tst-auditmod6b.c: Likewise.
22247 * elf/tst-auditmod6c.c: Likewise.
22248 * elf/tst-auditmod7b.c: Likewise.
22249 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22250 * sysdeps/x86_64/preconfigure.in: Likewise.
22251 * sysdeps/x86_64/preconfigure: Regenerated.
22252
7e73e17d
L
222532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22254
22255 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22256 __ILP32__.
22257
c7a6ab72
AB
222582012-04-13 Antoine Balestrat <merkil33@gmail.com>
22259
22260 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22261 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22262
a9e8e0e0
CL
222632012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22264
22265 [BZ #13973]
22266 * locale/iso-639.def: Fix gl language name. Spotted by
22267 Yaron Shahrabani.
22268
ec98af7d
RM
222692012-04-12 Roland McGrath <roland@hack.frob.com>
22270
22271 [BZ #2074]
22272 * libio/libio.h (__io_write_fn): Update comment.
22273
247c3ede
PB
222742012-04-12 Petr Baudis <pasky@ucw.cz>
22275
22276 [BZ #2074]
22277 * stdio.texi (Hook Functions): The user provided writer function
22278 is not allowed to return -1.
22279
55939d6d
DM
222802012-04-11 David S. Miller <davem@davemloft.net>
22281
22282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22283
90020f5a
MF
222842012-04-11 Mike Frysinger <vapier@gentoo.org>
22285
22286 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22287 Add a leading slash to rtkaio.
22288
288f9098
JM
222892012-04-11 Jim Meyering <meyering@redhat.com>
22290
90020f5a
MF
22291 [BZ #11959]
22292 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22293 It is not necessarily an error to ignore fwrite's return
22294 value. One can reliably use ferror to test for errors after
22295 the fact.
288f9098 22296
4be2b570
L
222972012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22298
22299 * bits/types.h (__snseconds_t): New type.
22300 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22301
22302 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22304 (__SNSECONDS_T_TYPE): Likewise.
22305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22306 (__SNSECONDS_T_TYPE): Likewise.
22307 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22308 (__SNSECONDS_T_TYPE): Likewise.
22309
288f9098 223102012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22311
22312 [BZ #2636]
22313 * manual/time.texi (Processor Time): Return type of times is
22314 elapsed real time since an arbitrary point in the past.
22315 (CPU Time): Move CLK_TCK from here...
22316 (Processor Time): ...to here. Correct description.
22317 * manual/conf.texi (Constants for Sysconf): Correct description of
22318 _SC_CLK_TCK.
22319
d7dd4413
DM
223202012-04-10 David S. Miller <davem@davemloft.net>
22321
22322 [BZ #13967]
22323 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22324 where the is a gap between DT_REL(A) and DT_JMPREL.
22325
b46068fc
L
223262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22327
22328 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22329 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22330 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22331
73d65cc3
SP
223322012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22333
22334 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22335 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22336 (dl_main): Handle --inhibit-cache.
22337 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22338 _dl_inhibit_cache.
22339 * elf/dl-load.c (_dl_map_object): Use it.
22340 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22341
bcc8d661
JM
223422012-04-09 Joseph Myers <joseph@codesourcery.com>
22343
8f9a2fae
JM
22344 [BZ #13872]
22345 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22346 (__ieee754_powl): Saturate large exponents rather than testing for
22347 overflow of y*log2(x).
22348 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22349 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22350 exceptions.
22351
bcc8d661
JM
22352 [BZ #11521]
22353 * math/s_ctan.c: Include <float.h>.
22354 (__ctan): Avoid internal overflow or cancellation in calculating
22355 denominator.
22356 * math/s_ctanf.c: Likewise.
22357 * math/s_ctanl.c: Likewise.
22358 * math/s_ctanh.c: Likewise.
22359 * math/s_ctanhf.c: Likewise.
22360 * math/s_ctanhl.c: Likewise.
22361 * math/libm-test.inc (ctan_test): Add more tests.
22362 (ctanh_test): Likewise.
22363 * sysdeps/i386/fpu/libm-test-ulps: Update.
22364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22365
823fbbb4
AJ
223662012-04-09 Andreas Jaeger <aj@suse.de>
22367
03879793
AJ
22368 [BZ #6894]
22369 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22370 is an optional BSD extension.
22371
823fbbb4
AJ
22372 [BZ #10254]
22373 * manual/stdio.texi (Opening Streams): Document additional fopen
22374 parameters.
22375
8de131cb
RM
223762012-04-09 Roland McGrath <roland@hack.frob.com>
22377
22378 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22379 %eax without telling the compiler.
22380
c0ed9d7d
CD
223812012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22382
22383 [BZ # 13963]
22384 * manual/install.texi: Use sourceware.org.
22385
c483f6b4
JM
223862012-04-09 Joseph Myers <joseph@codesourcery.com>
22387
d7dd9453
JM
22388 [BZ #13873]
22389 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22390 (__ieee754_pow): Generate overflow and underflow using huge*huge
22391 and tiny*tiny rather than just returning constant infinity or zero
22392 for large exponents.
22393 * math/libm-test.inc (pow_test): Require overflow exceptions for
22394 applicable cases of large exponents.
22395
c483f6b4
JM
22396 [BZ #706]
22397 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22398 (__ieee754_pow): Use iterative multiplication algorithm only for
22399 integer exponents with absolute value below 1024. Check for odd
22400 integer exponents when using algorithm for real exponents.
22401 * math/libm-test.inc (pow_test): Add more tests.
22402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22403
d2de7579
JM
224042012-04-08 Joseph Myers <joseph@codesourcery.com>
22405
22406 [BZ #13705]
22407 * math/libm-test.inc (exp_test): Do not allow overflow exception
22408 on underflow test.
22409
f77f1232
AJ
224102012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22411
22412 [BZ #13705]
22413 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22414 instead of __kernel_standard_f.
22415
3884932b
MF
224162012-04-08 Mike Frysinger <vapier@gentoo.org>
22417
22418 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22419 * sysdeps/x86_64/memset_chk.S: Likewise.
22420
54472e9c
AJ
224212012-04-08 Andreas Jaeger <aj@suse.de>
22422
6ab0fbfc
AJ
22423 [BZ #10153]
22424 * manual/startup.texi (Environment Access): Describe return value
22425 for putenv and setenv.
22426
61efba8c
AJ
22427 [BZ #6895]
22428 * manual/filesys.texi (Directory Entries): Add description for
22429 DT_LNK.
22430
95c3f29a
AJ
22431 [BZ #6890]
22432 * manual/filesys.texi (Directory Entries): Clarify that it's file
22433 system not operating system in the description of DT_UNKNOWN.
22434
54472e9c
AJ
22435 [BZ #6578]
22436 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22437
624254b1
SC
224382012-04-08 Stephen Compall <s11@member.fsf.org>
22439
22440 [BZ #6649]
22441 * manual/llio.texi (Opening and Closing Files): Add cross
22442 reference to explain mode argument.
22443
1e4920e0
MF
224442012-04-07 Mike Frysinger <vapier@gentoo.org>
22445
22446 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22447 * sysdeps/x86_64/memset_chk.S: Likewise.
22448
5ed848f3
DM
224492012-04-07 David S. Miller <davem@davemloft.net>
22450
22451 * elf/elf.h (R_SPARC_WDISP10): Define.
22452 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22453 R_SPARC_SIZE32.
22454 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22455 R_SPARC_SIZE64 and R_SPARC_H34.
22456
96154cd8
CD
224572012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22458
22459 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22460 conditions and remove no longer applicable assertion.
22461
9904dc47
L
224622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22463
22464 * bits/byteswap.h: Include <features.h>.
22465 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22466 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22467
f8887d0a
L
224682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22469
22470 * bits/byteswap.h (__bswap_16): Removed.
22471 Include <bits/byteswap-16.h> to get __bswap_16.
22472 * sysdeps/i386/bits/byteswap.h: Likewise.
22473 * sysdeps/s390/bits/byteswap.h: Likewise.
22474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22475 * bits/byteswap-16.h: New file.
22476 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22477 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22478 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22479 * string/Makefile (headers): Add bits/byteswap-16.h.
22480
62470f60
PP
224812012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22482
22483 [BZ #13895]
22484 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22485 extra indirection.
22486 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22487 * nss/tst-nss-static.c: New.
22488
4dad7bab
RM
224892012-04-06 Robert Millan <rmh@gnu.org>
22490
22491 [BZ #6486]
22492 * manual/llio.texi (File Position Primitive): lseek
22493 refers to WHENCE when it really means OFFSET.
22494
e9142a17
AJ
224952012-04-06 Andreas Jaeger <aj@suse.de>
22496
2c040eff
AJ
22497 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22498 strncmp declarations.
22499
e9142a17
AJ
22500 * abilist/libc.abilist: Add __poll and __ppoll.
22501
ff9f1c5f
DM
225022012-04-05 David S. Miller <davem@davemloft.net>
22503
dcd2ae90
DM
22504 * scripts/check-local-headers.sh: Accept a host triplet in the
22505 path matched by the exclude regexp.
22506
993eb054
DM
22507 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22508 definition.
22509 * sysdeps/powerpc/powerpc32/dl-machine.h
22510 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22511 * sysdeps/s390/s390-32/dl-machine.h
22512 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22513 * sysdeps/sparc/sparc32/dl-machine.h
22514 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22515 * sysdeps/sparc/sparc64/dl-machine.h
22516 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22517
ff9f1c5f
DM
22518 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22519 lazy binding.
48e2e132 22520 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22521 undefined symbol errors.
22522
48e2e132 22523 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22524 DT_NEEDED entries.
22525
e80d6f94
MM
225262012-04-05 Michael Matz <matz@suse.de>
22527
22528 [BZ #13592]
22529 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22530
349fa79f
AJ
225312012-04-05 Andreas Jaeger <aj@suse.de>
22532
22533 [BZ #13908]
22534 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22535 comment.
22536
f402708f
KK
225372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22538
22539 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22540 which ROUND is no valid rounding mode.
22541
2ecccfc9
KK
225422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22543
22544 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22545 read again.
22546 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22547
8a53f50f
KK
225482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22549
22550 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22551 an exception using FPU order intentionally.
22552
225532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22554
22555 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22556 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22557 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22558 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22559
d653abb7
SJ
225602012-04-05 Simon Josefsson <simon@josefsson.org>
22561
22562 [BZ #12340]
22563 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22564 EINVAL when BUFLEN is too smal.
22565
c3b1bf7d
TS
225662012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22567
22568 [BZ #13553]
22569 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22570 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22571
b1aa60f3
AJ
225722012-04-03 Andreas Jaeger <aj@suse.de>
22573
c3b1bf7d 22574 [BZ #13938]
67f60a26
AJ
22575 * manual/setjmp.texi (System V contexts): Fix sentence.
22576
b1aa60f3
AJ
22577 [BZ #13926]
22578 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22579 New macro for this case.
22580 [!__GNUC__] (__bswap_64): New inline function for this case.
22581 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22582 * bits/byteswap.h: Likewise.
22583 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22584 ull, guard with __GLIBC_HAVE_LONG_LONG.
22585
22586 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22587 __GLIBC_HAVE_LONG_LONG.
22588
22589 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22590 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22591
39c59c35
TMQMF
225922012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22593
22594 [BZ #13691]
22595 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22596 inptr and inend, rather than using last_ch.
22597
135ffda8
DM
225982012-04-02 David S. Miller <davem@davemloft.net>
22599
22600 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22601 * stdio-common/printf-parse.h (read_int): Change return type to
22602 'int', return -1 on INT_MAX overflow.
22603 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22604 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22605 overflows INT_MAX. Check for overflow of in-format-string precision
22606 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22607 SIZE_MAX not INT_MAX for integer overflow test.
22608 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22609 skip the construct in the format string but do not record anything.
22610 * stdio-common/bug22.c: Adjust to test both width/prevision
22611 INT_MAX overflow as well as total length INT_MAX overflow. Check
22612 explicitly for proper errno values.
22613
228c019e
TS
226142012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22615
302cadd3
TS
22616 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22617 CHAR_MAX.
22618 * string/test-strcmp.c [! WIDE]: Likewise.
22619 * time/tst-mktime2.c: Likewise for INT_MAX.
22620 * string/test-string.h: #include <sys/param.h> for MIN.
22621
228c019e
TS
22622 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22623 * sysdeps/i386/init-first.c (init): Likewise.
22624 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22625 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22626 * sysdeps/sh/init-first.c (init): Likewise.
22627
cfa633f5
UD
226282012-04-01 Ulrich Drepper <drepper@gmail.com>
22629
22630 * po/ru.po: Update from translation team.
d1635ef8 22631 * po/vi.po: Likewise.
cfa633f5 22632
6cd0a5ea
SP
226332012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22634
22635 * resolv/nss_dns/dns-host.c: Merge copyright years.
22636
4b43400f
LD
226372012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22638
22639 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22640 Optimize memcpy with prefetch if
22641 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22642 src, dst pointers have unequal 16 byte alignments.
22643
48c41d04
SP
226442012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22645
22646 [BZ #13928]
22647 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22648 from a CNAME entry and return the minimum ttl for the query.
22649 (gaih_getanswer_slice): Likewise.
22650
b8dc394d
JL
226512012-03-30 Jeff Law <law@redhat.com>
22652
22653 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22654 due to long keys.
22655 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22656 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22657
2f5a5ed0
JL
22658 * resolv/nss_dns/dns-host.c: Update copyright year.
22659
1d39e359
UD
226602012-03-30 Ulrich Drepper <drepper@gmail.com>
22661
c030f70c 22662 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22663 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22664
1d39e359
UD
22665 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22666 comments for sendmmsg.
22667
226682012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22669
22670 [BZ #13691]
22671 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22672 with only 1 character between 0x0041 and 0x01b0.
22673 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22674 * wcsmbs/tst-mbsnrtowcs.c: New file.
22675
20fde227
DM
226762012-03-29 David S. Miller <davem@davemloft.net>
22677
22678 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22679 small copies by hand.
22680
984a4237
JL
226812012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22682
22683 [BZ #13761]
22684 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22685 _nss_compat_initgroups_dyn): Fall back to malloc/free
22686 for large group memberships.
22687
18c9d62b
DM
226882012-03-28 David S. Miller <davem@davemloft.net>
22689
88d85d4f
DM
22690 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22691 that branches into memcpy.
22692 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22694 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22695 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22696 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22697 bits.
22698 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22699 implementation too.
22700 * sysdeps/sparc/mempcpy.S: New file.
22701
e5aa83e1
DM
22702 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22703 the IFUNC routine in the libc case.
22704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22705
88570753
DM
22706 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22707 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22708 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22709 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22710 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22711 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22712 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22713 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22714
249d7567
DM
22715 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22716 loop to 256 bytes instead of 64 bytes and fix test signedness.
22717
18c9d62b
DM
22718 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22719 * sysdeps/sparc/sparc32/Makefile: rather than here...
22720 * sysdeps/sparc/sparc64/Makefile: and here.
22721
05f3d1f6
UD
227222012-03-28 Ulrich Drepper <drepper@gmail.com>
22723
22724 * malloc/mallocbug.c: Avoid warnings about unused variables.
22725
86ae07a8
JL
227262012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22727
22728 [BZ #13760]
22729 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22730 in the right place. Discard and retry query if response is
22731 larger than input buffer size.
22732
41bf21a1
JM
227332012-03-28 Joseph Myers <joseph@codesourcery.com>
22734
d6270972
JM
22735 [BZ #369]
22736 [BZ #2678]
22737 [BZ #3866]
22738 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22739 x for large integer exponent.
22740 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22741 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22742 sign of result as needed afterwards.
22743 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22744 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22745 result for underflowing pow the same as for overflow.
22746 (__kernel_standard_l): Handle powl overflow and underflow here
22747 rather than calling __kernel_standard.
22748 * math/libm-test.inc (pow_test): Add more tests.
22749
414fca03 22750 [BZ #3868]
41bf21a1
JM
22751 [BZ #13879]
22752 [BZ #13910]
22753 [BZ #13911]
22754 [BZ #13912]
22755 [BZ #13913]
22756 [BZ #13915]
22757 [BZ #13916]
22758 [BZ #13917]
22759 [BZ #13918]
22760 [BZ #13919]
22761 [BZ #13920]
22762 [BZ #13921]
22763 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22764 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22765 (__kernel_standard_l): New function.
22766 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22767 __kernel_standard.
22768 * math/w_acosl.c (__acosl): Likewise.
22769 * math/w_asinl.c (__asinl): Likewise.
22770 * math/w_atan2l.c (__atan2l): Likewise.
22771 * math/w_atanhl.c (__atanhl): Likewise.
22772 * math/w_coshl.c (__coshl): Likewise.
22773 * math/w_exp10l.c (__exp10l): Likewise.
22774 * math/w_exp2l.c (__exp2l): Likewise.
22775 * math/w_fmodl.c (__fmodl): Likewise.
22776 * math/w_hypotl.c (__hypotl): Likewise.
22777 * math/w_j0l.c (__j0l, __y0l): Likewise.
22778 * math/w_j1l.c (__j1l, __y1l): Likewise.
22779 * math/w_jnl.c (__jnl, __ynl): Likewise.
22780 * math/w_lgammal.c (__lgammal): Likewise.
22781 * math/w_log10l.c (__log10l): Likewise.
22782 * math/w_log2l.c (__log2l): Likewise.
22783 * math/w_logl.c (__logl): Likewise.
22784 * math/w_powl.c (__powl): Likewise.
22785 * math/w_remainderl.c (__remainderl): Likewise.
22786 * math/w_scalbl.c (sysv_scalbl): Likewise.
22787 * math/w_sinhl.c (__sinhl): Likewise.
22788 * math/w_sqrtl.c (__sqrtl): Likewise.
22789 * math/w_tgammal.c (__tgammal): Likewise.
22790 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22791 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22792 * math/libm-test.inc (acos_test): Add more tests.
22793 (acosh_test): Likewise.
22794 (asin_test): Likewise.
22795 (atanh_test): Likewise.
22796 (exp_test): Likewise.
22797 (exp10_test): Likewise.
22798 (exp2_test): Likewise.
22799 (expm1_test): Likewise.
22800 (lgamma_test): Likewise.
22801 (log_test): Likewise.
22802 (log10_test): Likewise.
22803 (log1p_test): Likewise.
22804 (log2_test): Likewise.
22805 (pow_test): Do not allow some spurious overflow exceptions.
22806 (sqrt_test): Add more tests.
22807 (tgamma_test): Likewise.
22808 (y0_test): Likewise.
22809 (y1_test): Likewise.
22810 (yn_test): Likewise.
22811
dd62fda6
AB
228122012-03-27 Anton Blanchard <anton@samba.org>
22813
22814 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22815 MAP_HUGETLB.
22816 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22817 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22818 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22819
1e3cdfda
AJ
228202012-03-27 David S. Miller <davem@davemloft.net>
22821
b855ab85
DM
22822 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22823
1e3cdfda
AJ
22824 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22825 have-as-vis3 check.
22826
228272012-03-27 Andreas Jaeger <aj@suse.de>
22828
22829 * sysdeps/x86_64/elf/configure.in: Moved to ...
22830 * sysdeps/x86_64/configure.in: ... here.
22831 * sysdeps/x86_64/elf/start.S: Moved to ...
22832 * sysdeps/x86_64/start.S: ... here.
22833 * sysdeps/x86_64/elf/configure: Delete.
22834
22835 * sysdeps/x86_64/configure.in: Merge contents from
22836 sysdeps/i386/configure.in (without i686 check).
22837
22838 * sysdeps/i386/elf/Versions: Merge into ...
22839 * sysdeps/i386/Versions: ... this.
22840 * sysdeps/i386/elf/Versions: Delete file.
22841 * sysdeps/i386/elf/start.S: Moved to ...
22842 * sysdeps/i386/start.S: ...here.
22843 * sysdeps/i386/elf/configure.in: Merge into...
22844 * sysdeps/i386/configure.in: ...here.
22845 * sysdeps/i386/elf/configure.in: Delete file.
22846 * sysdeps/i386/elf/configure: Delete file.
22847
22848 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22849 * debug/backtracesyms.c: ... here.
22850 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22851 * debug/backtracesymsfd.c: ... here.
22852 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22853 * sysdeps/generic/ifunc-sel.h: ... here.
22854
22855 * sysdeps/unix/i386/start.c: Delete file.
22856 * sysdeps/unix/sparc/start.c: Delete file.
22857 * sysdeps/unix/start.c: Delete file.
22858
22859 * sysdeps/sh/elf/configure.in: Moved to ...
22860 * sysdeps/sh/configure.in: ... here.
22861 * sysdeps/sh/elf/start.S: Moved to ...
22862 * sysdeps/sh/start.S: ... here.
22863 * sysdeps/sh/elf/configure: Delete file.
22864
22865 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22866 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22867 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22868 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22869 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22870 * sysdeps/powerpc/powerpc64/start.S: here.
22871 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22872 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22873 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22874 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22875 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22876
22877 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22878 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22879 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22880 * sysdeps/powerpc/powerpc32/start.S: ... here.
22881 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22882 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22883 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22884
22885 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22886 * sysdeps/powerpc/ifunc-sel.h: ... here.
22887 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22888 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22889
22890 * sysdeps/sparc/elf/configure.in: Moved to ...
22891 * sysdeps/sparc/configure.in: ... here.
22892 * sysdeps/sparc/elf/configure: Delete file.
22893 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22894 * sysdeps/sparc/sparc32/start.S: ... here.
22895 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22896 * sysdeps/sparc/sparc64/start.S: ... here.
22897 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22898 * sysdeps/sparc/sparc32/Makefile: ... this.
22899 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22900 * sysdeps/sparc/sparc64/Makefile: ... this.
22901
22902 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22903 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22904 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22905 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22906 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22907 * sysdeps/s390/s390-32/setjmp.S: ... here.
22908 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22909 * sysdeps/s390/s390-32/configure.in: ... here.
22910 * sysdeps/s390/s390-32/elf/configure: Delete file.
22911 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22912 * sysdeps/s390/s390-32/start.S: ... here.
22913
22914 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22915 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22916 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22917 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22918 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22919 * sysdeps/s390/s390-64/setjmp.S: ... here.
22920 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22921 * sysdeps/s390/s390-64/configure.in: ... here
22922 * sysdeps/s390/s390-64/elf/configure: Delete file.
22923 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22924 * sysdeps/s390/s390-64/start.S: ... here.
22925 * sysdeps/s390/s390-64/elf/configure: Delete.
22926
22927 * configure.in: Remove support for elf directories in sysdeps.
22928
22929 * configure: Regenerated.
22930 * sysdeps/i386/configure: Regenerated.
22931 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22932 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22933 * sysdeps/s390/s390-32/configure: Regenerated.
22934 * sysdeps/s390/s390-64/configure: Regenerated.
22935 * sysdeps/sh/configure: Regenerated.
22936 * sysdeps/sparc/configure: Regenerated.
22937 * sysdeps/x86_64/configure: Regenerated.
22938
a3f61311
AS
229392012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22940
c876e002
AS
22941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22942
a3f61311
AS
22943 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22944 denormal result into account.
22945
ac4c54f0
RM
229462012-03-25 Roland McGrath <roland@hack.frob.com>
22947
22948 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22949 Reported by Allan McRae <allan@archlinux.org>.
22950
6a9b9c02
JL
229512012-03-23 Jeff Law <law@redhat.com>
22952
22953 * nss/getnssent.c (__nss_getent): Fix typo.
22954
4c42a0c1
DM
229552012-03-23 David S. Miller <davem@davemloft.net>
22956
22957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22958
1532c7ac
L
229592012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22960
22961 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22962 to pad to uint64_t for each field.
22963 (dl_tls_index): Replace unsigned long with uint64_t.
22964
3ff42526
PP
229652012-03-23 Daniel Jacobowitz <dmj@google.com>
22966 Paul Pluzhnikov <ppluzhnikov@google.com>
22967
22968 [BZ #6528]
22969 * grp/Makefile (otherlibs): Don't set it.
22970 * inet/Makefile (otherlibs): Likewise.
22971 * login/Makefile (otherlibs): Likewise.
22972 * nscd/Makefile (otherlibs): Likewise.
22973 * posix/Makefile (otherlibs): Likewise.
22974 * pwd/Makefile (otherlibs): Likewise.
22975 * rt/Makefile (otherlibs): Likewise.
22976 * sunrpc/Makefile (otherlibs): Likewise.
22977 * nss/Makefile (otherlibs): Likewise.
22978 Add libnss_files to routines and static-only-routines.
22979 ($(objpfx)getent): Remove rule.
22980 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22981 static-only-routines.
22982
7c69cd14
JM
229832012-03-22 Joseph Myers <joseph@codesourcery.com>
22984
22985 [BZ #13892]
22986 * math/s_cexp.c: Include <float.h>.
22987 (__cexp): Handle exp result overflowing not necessarily
22988 overflowing both real and imaginary parts of result.
22989 * math/s_cexpf.c: Likewise.
22990 * math/s_cexpl.c: Likewise.
22991 * math/libm-test.inc (cexp_test): Add more tests.
22992 * sysdeps/i386/fpu/libm-test-ulps: Update.
22993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22994
81b035fe
L
229952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22996
22997 * include/link.h (ELFW): New macro.
22998 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22999 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23000
1da7940c
L
230012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23002
23003 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23004 with uint64_t.
23005
b749dbb9
L
230062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23007
23008 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23009 declaration.
23010 (struct La_x32_retval): Likewise.
23011
2ff87f3f
L
230122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23013
23014 * sysdeps/x86_64/preconfigure.in: New file.
23015 * sysdeps/x86_64/preconfigure: New generated file.
23016
c0df8e69
JM
230172012-03-22 Joseph Myers <joseph@codesourcery.com>
23018
48e44791
JM
23019 [BZ #13824]
23020 * math/e_exp2l.c: Include <float.h>.
23021 (__ieee754_exp2l): Handle overflow and underflow cases
23022 separately. Only pass fractional part of argument to
23023 __ieee754_expl.
23024 * math/libm-test.inc (exp2_test): Add more tests.
23025
c0df8e69
JM
23026 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23027 negating x to take absolute value.
23028 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23029 Likewise.
23030 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23031 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23032 Likewise.
23033 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23034 computing low part if x was negated.
23035 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23036
c8e43ba7
L
230372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23038
23039 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23040 la_x32_gnu_pltexit.
23041 (pltexit): Cast int_retval to ptrdiff_t.
23042 * elf/tst-auditmod3b.c: Likewise.
23043 * elf/tst-auditmod4b.c: Likewise.
23044 * elf/tst-auditmod5b.c: Likewise.
23045 * elf/tst-auditmod6b.c: Likewise.
23046 * elf/tst-auditmod6c.c: Likewise.
23047 * elf/tst-auditmod7b.c: Likewise.
23048
23049 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23050 and x32_gnu_pltexit.
23051
23052 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23053 __ELF_NATIVE_CLASS.
23054 (La_x32_regs): New macro.
23055 (La_x32_retval): Likewise.
23056 (la_x32_gnu_pltenter): New function prototype.
23057 (la_x32_gnu_pltexit): Likewise.
23058
7998fa78
AS
230592012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23060
dcb33988
AS
23061 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23062 exponent.
23063
233fc563
AS
23064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23065
7998fa78
AS
23066 * configure.in (libc_cv_cc_nofma): Check for option to disable
23067 generation of FMA instructions.
23068 * configure: Regenerate.
23069 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23070 * sysdeps/ieee754/dbl-64/Makefile: New file.
23071 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23072 Remove brandred-fma4.
23073 (CFLAGS-brandred-fma4.c): Remove.
23074 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23075 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23076 define.
23077 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23078 define.
23079
8e95c99a
L
230802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23081
23082 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23083 LLONG_MAX != LONG_MAX.
23084 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23085 (_fitoa_word): Likewise.
23086 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23087 LLONG_MAX != LONG_MAX.
23088 * stdio-common/_itowa.h: Include <_itoa.h>.
23089 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23090 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23091 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23092 only if not defined.
23093 (_ITOA_WORD_TYPE): Likewise.
23094 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23095 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23096
6f4db457
DM
230972012-03-21 David S. Miller <davem@davemloft.net>
23098
23099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23100
7785fe5a
L
231012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23102
23103 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23104 of x86_64 when setting libc_cv_slibdir, libdir and
23105 libc_cv_localedir.
23106 * sysdeps/unix/sysv/linux/configure: Regenerated.
23107
4535cd55
JM
231082012-03-21 Joseph Myers <joseph@codesourcery.com>
23109
23110 * manual/lang.texi (Old Varargs): Remove section.
23111 (How Variadic): Update menu.
23112 (va_start): Do not mention varargs.h.
23113
17228132
TS
231142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23115 Joseph Myers <joseph@codesourcery.com>
23116
23117 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23118 link test.
23119 * configure: Regenerated.
23120
8149f976
TS
231212012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23122
05f3d1f6
UD
23123 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23124 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23125 conformtest.pl
8149f976 23126
1a4ac776
JM
231272012-03-21 Joseph Myers <joseph@codesourcery.com>
23128
be22ce65
JM
23129 * NOTES: Remove.
23130 * Makefile (files-for-dist): Remove NOTES.
23131 (NOTES): Remove rule.
23132 * README: Don't refer to NOTES.
23133 * manual/creature.texi: Don't include macros.texi.
23134 * manual/intro.texi (creature.texi): Remove comment referring to
23135 NOTES.
23136
40b601fb
JM
23137 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23138 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23139 * configure: Regenerated.
23140 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23141 LIBC_TRY_CC_OPTION.
23142 (libc_cv_as_i686): Likewise.
23143 (libc_cv_cc_avx): Likewise.
23144 (libc_cv_cc_sse2avx): Likewise.
23145 (libc_cv_cc_fma4): Likewise.
23146 (libc_cv_cc_novzeroupper): Likewise.
23147 * sysdeps/i386/configure: Regenerated.
23148
1a4ac776
JM
23149 [BZ #13883]
23150 * sysdeps/i386/fpu/s_cexp.S: Remove.
23151 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23152 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23153 * math/libm-test.inc (cexp_test): Add more tests.
23154 * sysdeps/i386/fpu/libm-test-ulps: Update.
23155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23156
a458e7fe
AM
231572012-03-21 Allan McRae <allan@archlinux.org>
23158
23159 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23160
0cb7efc5
JM
231612012-03-21 Joseph Myers <joseph@codesourcery.com>
23162
23163 [BZ #13871]
23164 * math/w_exp2.c: Do not include <float.h>.
23165 (o_threshold, u_threshold): Remove.
23166 (__exp2): Calculate result before checking finiteness and calling
23167 __kernel_standard.
23168 * math/w_exp2f.c: Likewise.
23169 * math/w_exp2l.c: Likewise.
23170 * math/libm-test.inc (exp2_test): Require overflow exception for
23171 1e6 input.
2460d3aa
JM
23172
23173 [BZ #3866]
23174 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23175 range of signed 64-bit integers before using fistpll. Remove
23176 checks for whether integers fit in mantissa bits.
23177 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23178 the range of signed 32-bit integers before using fistpl. Remove
23179 checks for whether integers fit in mantissa bits.
23180 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23181 (__ieee754_powl): Test for y outside the range of signed 64-bit
23182 integers before using fistpll. Reduce 64-bit values to 63-bit
23183 ones as needed.
23184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23185 divide-by-zero is raised for zero to large negative powers.
23186 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23187 (__ieee754_powl): Test for y outside the range of signed 64-bit
23188 integers before using fistpll. Reduce 64-bit values to 63-bit
23189 ones as needed.
23190 * math/libm-test.inc (pow_test): Add more tests.
23191
eb96ffb0
L
231922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23193
23194 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23195 <stdio-common/_itoa.h>.
23196 * debug/segfault.c: Likewise.
23197 * elf/dl-cache.c: Likewise.
23198 * elf/dl-minimal.c: Likewise.
23199 * elf/dl-misc.c: Likewise.
23200 * elf/dl-sysdep.c: Likewise.
23201 * elf/dl-version.c: Likewise.
23202 * elf/rtld.c: Likewise.
23203 * hurd/hurdsock.c: Likewise.
23204 * hurd/lookup-retry.c: Likewise.
23205 * malloc/malloc.c: Likewise.
23206 * malloc/mtrace.c: Likewise.
23207 * nscd/nscd_getgr_r.c: Likewise.
23208 * nscd/nscd_getpw_r.c: Likewise.
23209 * nscd/nscd_getserv_r.c: Likewise.
23210 * posix/getopt_init.c: Likewise.
23211 * posix/wordexp.c: Likewise.
23212 * stdio-common/_itoa.c: Likewise.
23213 * stdio-common/printf_fphex.c: Likewise.
23214 * stdio-common/vfprintf.c: Likewise.
23215 * string/_strerror.c: Likewise.
23216 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23217 * sysdeps/i386/i686/hp-timing.h: Likewise.
23218 * sysdeps/mach/_strerror.c: Likewise.
23219 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23220 * sysdeps/mach/hurd/sethostid.c: Likewise.
23221 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23222 * sysdeps/mach/xpg-strerror.c: Likewise.
23223 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23224 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23225 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23226 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23227 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23228 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23229 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23230 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23231 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23232 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23233 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23234 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23235 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23236 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23237 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23238 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23239 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23240 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23241 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23242 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23243 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23244
23245 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23246
23247 * stdio-common/_itoa.h: Moved to ...
23248 * sysdeps/generic/_itoa.h: Here.
23249
23250 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23251
23252 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23253 instead of "_itoa.h" and "_itowa.h".
23254 * stdio-common/vfprintf.: Likewise.
23255
d1af992d
L
232562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23257
23258 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23259 <bits/wordsize.h>.
23260 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23261 (__signbit): Likwise.
23262 (llrintf): Likwise.
23263 (llrint): Likwise.
23264
114883e0
L
232652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23266
23267 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23268 __WORDSIZE != 64.
23269
c135cc1b
JM
232702012-03-20 Joseph Myers <joseph@codesourcery.com>
23271
23272 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23273 OVERFLOW_EXCEPTION_OK.
23274 * math/libm-test.inc ("Philosophy"): Update comment about
23275 exception testing.
23276 (OVERFLOW_EXCEPTION): Define.
23277 (OVERFLOW_EXCEPTION_OK): Likewise.
23278 (INVALID_EXCEPTION_OK): Renumber.
23279 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23280 (IGNORE_ZERO_INF_SIGN): Likewise.
23281 (test_exceptions): Handle FE_OVERFLOW.
23282 (exp10_test): Expect overflow exceptions.
23283 (exp2_test): Likewise.
23284 (expm1_test): Likewise.
23285 (nextafter_test): Likewise.
23286 (pow_test): Likewise.
23287 (scalbn_test): Likewise.
23288 (scalbln_test): Likewise.
23289
95443d88
L
232902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23291
23292 * sysdeps/x86_64/bits/atomic.h
23293 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23294 64bit integer.
23295 (atomic_exchange_acq): Likewise.
23296 (__arch_exchange_and_add_body): Likewise.
23297 (__arch_add_body): Likewise.
23298 (atomic_add_negative): Likewise.
23299 (atomic_add_zero): Likewise.
23300
490df6c4
L
233012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23302
c2722551 23303 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
23304 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23305
5e52b189
L
233062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23307
23308 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23309 Check __x86_64__ instead of __WORDSIZE.
23310
a9879d4c
L
233112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23312
23313 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23314
5df98260
DM
233152012-03-19 David S. Miller <davem@davemloft.net>
23316
e1497744
DM
23317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23318
5df98260
DM
23319 * sysdeps/sparc/fpu/fenv_private.h: New file.
23320 * sysdeps/sparc/fpu/math_private.h: Use it.
23321 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23322 Remove.
23323 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23324 (libc_feholdexcept_setroundl): Remove.
23325 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23326 Remove.
23327 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23328 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23329
b4c35121
L
233302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23331
23332 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23333 int64_t instead of long int.
23334 (INSERT_WORDS64): Likwise.
23335
56965fd7
L
233362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23337
23338 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23339 _Unwind_GetCFA return to _Unwind_Ptr first.
23340
83d1aec8
JM
233412012-03-19 Joseph Myers <joseph@codesourcery.com>
23342
1897ad44
JM
23343 [BZ #13629]
23344 * math/s_clog.c: Include <float.h>.
23345 (__clog): Scale large or subnormal inputs.
23346 * math/s_clogf.c: Likewise.
23347 * math/s_clogl.c: Likewise.
23348 * math/s_clog10.c: Include <float.h>.
23349 (M_LOG10_2): Define.
23350 (__clog10): Scale large or subnormal inputs.
23351 * math/s_clog10f.c: Likewise.
23352 * math/s_clog10l.c: Likewise.
23353 * math/libm-test.inc (clog_test): Add more tests.
23354 (clog10_test): Likewise.
23355 * sysdeps/i386/fpu/libm-test-ulps: Update.
23356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23357
7726d6a9
JM
23358 [BZ #11451]
23359 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23360 x and y.
23361 * math/libm-test.inc (atan2_test): Add another test.
23362
83d1aec8
JM
23363 * Makerules (common-objdir-compile): Remove.
23364 * sysdeps/unix/Makefile (config-generated): Do not add
23365 $(unix-generated) to variable.
23366 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23367 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23368 Remove rule.
23369 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23370 Likewise.
23371 [generic bits/local_lim.h] (before-compile): Do not append to
23372 variable.
23373 [generic bits/local_lim.h] (common-generated): Likewise.
23374 [generic sys/param.h] (before-compile): Do not append to variable.
23375 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23376 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23377 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23378 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23379 include.
23380 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23381 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23382 [generic sys/param.h] ($(addprefix
23383 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23384 [generic sys/param.h] (common-generated): Do not append to
23385 variable.
23386 [generic sys/param.h] (sysdep_headers): Likewise.
23387 [generic bits/errno.h] (before-compile): Do not append to
23388 variable.
23389 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23390 rule.
23391 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23392 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23393 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23394 [generic bits/errno.h] (common-generated): Do not append to
23395 variable.
23396 [generic bits/ioctls.h] (before-compile): Do not append to
23397 variable.
23398 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23399 rule.
23400 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23401 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23402 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23403 rule.
23404 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23405 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23406 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23407 [generic bits/ioctls.h] (common-generated): Do not append to
23408 variable.
23409 [generic sys/syscall.h] (syscall.h): Remove variable.
23410 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23411 rule.
23412 [generic sys/syscall.h] (before-compile): Do not append to
23413 variable.
23414 [generic sys/syscall.h] (common-generated): Likewise.
23415 * sysdeps/unix/errnos-tmpl.c: Remove file.
23416 * sysdeps/unix/errnos.awk: Likewise.
23417 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23418 * sysdeps/unix/ioctls.awk: Likewise.
23419 * sysdeps/unix/mk-local_lim.c: Likewise.
23420 * sysdeps/unix/snarf-ioctls: Likewise.
23421
4851a949
RH
234222012-03-19 Richard Henderson <rth@twiddle.net>
23423
bd37f2ee
RH
23424 * sysdeps/i386/fpu/fenv_private.h: New file.
23425 * sysdeps/i386/fpu/math_private.h: Use it.
23426 (math_opt_barrier, math_force_eval): Remove.
23427 (libc_feholdexcept_setround_53bit): Remove.
23428 (libc_feupdateenv_53bit): Remove.
23429 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23430 (math_opt_barrier, math_force_eval): Remove.
23431 (libc_feholdexcept): Remove.
23432 (libc_feholdexcept_setround): Remove.
23433 (libc_fetestexcept, libc_fesetenv): Remove.
23434 (libc_feupdateenv_test): Remove.
23435 (libc_feupdateenv, libc_feholdsetround): Remove.
23436 (libc_feresetround): Remove.
23437
d0adc922
RH
23438 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23439 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23440
0fe0f1f8
RH
23441 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23442 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23443 (libc_feupdateenv_testl): New.
23444 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23445 (libc_feupdateenv_testf): New.
23446 (libc_feupdateenv): Use libc_feupdateenv_test.
23447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23448 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23449
eb92c487
RH
23450 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23451 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23452 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23453 (libc_feresetround_noex): New.
23454 (libc_feresetround_noexf): New.
23455 (libc_feresetround_noexl): New.
23456 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23457 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23458 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23459 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23460 SET_RESTORE_ROUND.
23461 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23462 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23463 (__cos): Likewise.
23464 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23465 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23466 SET_RESTORE_ROUND_NOEX.
23467 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23468 SET_RESTORE_ROUND_NOEXF.
23469 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23470 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23471 (libc_feholdsetroundf): New.
23472 (libc_feresetround, libc_feresetroundf): New.
23473
7d2e8012
RH
23474 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23475 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23476 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23477
b4dabbb4
RH
23478 * sysdeps/generic/math_private.h: Include <fenv.h>.
23479 (default_libc_feholdexcept): New.
23480 (default_libc_feholdexcept_setround): New.
23481 (default_libc_fesetenv, default_libc_feupdateenv): New.
23482 (libc_feholdexcept): Only define if undefined.
23483 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23484 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23485 (libc_feholdexcept_setroundl): Likewise.
23486 (libc_feholdexcept_setround_53bit): Likewise.
23487 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23488 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23489 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23490 (libc_feupdateenv_53bit): Likewise.
23491 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23492 (libc_feholdexcept): Convert from macro to inline function.
23493 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23494 (libc_fesetenv, libc_feupdateenv): Likewise.
23495
4851a949
RH
23496 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23497 not previously defined.
23498 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23499 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23500 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23501 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23502 * sysdeps/ieee754/flt-32/math_private.h: New file.
23503 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23504 math_private.h below SET_FLOAT_WORD.
23505 (__isnan, __isinf_ns, __finite): Remove.
23506 (__isnanf, __isinf_nsf, __finitef): Remove.
23507
e79d442e
AS
235082012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23509
23510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23511
90b80344
DM
235122012-03-17 David S. Miller <davem@davemloft.net>
23513
23514 [BZ #6471]
23515 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23516 for 2.16.
23517
edc21804
DM
235182012-03-16 David S. Miller <davem@davemloft.net>
23519
77e927af
DM
23520 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23521 warnings.
23522
374976dd
DM
23523 [BZ #6471]
23524 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23525 properly.
23526 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23527 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23528 sysdep_routines when subdir is sysvipc.
23529 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23530 __getshmlba helper.
23531
edc21804
DM
23532 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23533
473c3ef3
L
235342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23535
23536 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23537 [__LP64__].
23538
eb0f39b6
L
235392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23540
23541 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23542 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23543 (__lround): Renamed to ...
23544 (__llround): This. Replace long int with long long int.
23545 Define lround functions as aliases of llround functions.
23546 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23547
6b6cd74b
L
235482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23549
23550 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23551 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23552 adresses to uintptr_t. Replace "long int" and "unsigned long
23553 int" with "greg_t" on va_arg.
23554
f1a77b01
L
235552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23556
23557 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23558 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23559
23560 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23561 Move e_machine check before EI_CLASS check. Handle x32
23562 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23563 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23564 SKIP_EM_IA_64 and include
23565 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23566
23567 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23568 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23569 (add_system_dir): New macro.
23570
23571 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23572 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23573
11b90b9f
JM
235742012-03-16 Joseph Myers <joseph@codesourcery.com>
23575
c36e1d23
JM
23576 [BZ #2551]
23577 [BZ #2552]
23578 [BZ #2553]
23579 [BZ #2554]
23580 [BZ #2562]
23581 [BZ #2563]
23582 [BZ #2565]
23583 [BZ #2566]
23584 [BZ #2576]
23585 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23586 (y0): Likewise.
23587 * math/w_j0f.c (j0f): Likewise.
23588 (y0f): Likewise.
23589 * math/w_j0l.c (__j0l): Likewise.
23590 (__y0l): Likewise.
23591 * math/w_j1.c (j1): Likewise.
23592 (y1): Likewise.
23593 * math/w_j1f.c (j1f): Likewise.
23594 (y1f): Likewise.
23595 * math/w_j1l.c (__j1l): Likewise.
23596 (__y1l): Likewise.
23597 * math/w_jn.c (jn): Likewise.
23598 (yn): Likewise.
23599 * math/w_jnf.c (jnf): Likewise.
23600 (ynf): Likewise.
23601 * math/w_jnl.c (__jnl): Likewise.
23602 (__ynl): Likewise.
23603 * math/libm-test.inc (j0_test): Add more tests.
23604 (j1_test): Likewise.
23605 (jn_test): Likewise. Add trailing semicolon to existing test.
23606 (y0_test): Likewise.
23607 (y1_test): Likewise.
23608 * sysdeps/i386/fpu/libm-test-ulps: Update.
23609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23610
11b90b9f
JM
23611 [BZ #13851]
23612 [BZ #13854]
23613 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23614 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23615 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23616 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23617 (__tanl): Set errno for infinite argument.
23618 * sysdeps/i386/fpu/mptan.c: Remove.
23619 * sysdeps/i386/fpu/s_tan.S: Likewise.
23620 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23621 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23622 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23623 * math/libm-test.inc (tan_test): Add more tests and enable more
23624 tests for double and long double.
23625 * sysdeps/i386/fpu/libm-test-ulps: Update.
23626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23627
6a1bd2a1
JK
236282012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23629
23630 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23631 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23632
10a803e0
RM
236332012-03-16 Roland McGrath <roland@hack.frob.com>
23634
23635 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23636 * configure.in: Use it for both main tree and add-ons.
23637 * configure: Regenerated.
23638
f196c7f7
L
236392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23640
23641 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23642
8848d99d
JM
236432012-03-16 Joseph Myers <joseph@codesourcery.com>
23644
96cbe7f4
JM
23645 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23646 in comment.
23647
8848d99d
JM
23648 [BZ #13851]
23649 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23650 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23651 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23652 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23653 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23654 infinite argument.
23655 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23657 != 0 for prec == 2.
23658 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23659 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23660 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23661 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23662 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23663 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23664 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23665 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23666 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23667 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23668 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23669 * math/libm-test.inc (cos_test): Add more tests and enable more
23670 tests for long double.
23671 (sin_test): Likewise.
23672 (sincos_test): Likewise.
23673 * sysdeps/i386/fpu/libm-test-ulps: Update.
23674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23675
dd7f4703
DM
236762012-03-16 David S. Miller <davem@davemloft.net>
23677
23678 * sysdeps/sparc/fpu/math_private.h: New file.
23679
006f1daa
DM
236802012-03-15 David S. Miller <davem@davemloft.net>
23681
c0c83bc8
DM
23682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23683 file.
e6a62e18 23684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23686 file.
e6a62e18
DM
23687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23693 sysdep routines.
23694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23695
88cb87d9
DM
23696 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23697 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23698
006f1daa 23699 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23701 sparc-ifunc.h
006f1daa 23702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23704 Likewise.
23705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23706 Likewise.
006f1daa
DM
23707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23711 Likewise.
006f1daa
DM
23712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23717 Likewise.
23718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23719 Likewise.
006f1daa
DM
23720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23725 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23727 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23738 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23739 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23741 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23743 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23744
11e0098e
AS
237452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23746
23747 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23748 scaling.
23749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23750
e85b09d0
AJ
237512012-03-15 Andreas Jaeger <aj@suse.de>
23752
23753 [BZ #13852]
23754 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23755 ieee754/flt-32 implementation for sin, cos and sincos.
23756 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23757 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23758 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23759 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23760 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23761 ieee754/flt-32 implementation for tan.
23762
23763 * math/libm-test.inc (cos_test): Enable some large input tests for
23764 float as well
23765 (sin_test): Likewise.
23766 (sincos_test): Likewise.
23767 (tan_test): Add tests for large input.
23768
23769 * sysdeps/i386/fpu/libm-test-ulps: Update.
23770
81c64153
AJ
237712012-03-15 Andreas Jaeger <aj@suse.de>
23772
23773 [BZ #13658]
23774 * math/libm-test.inc (cos_test): Add more test cases.
23775 (sin_test): Likewise.
23776 (sincos_test): Likewise.
23777
7bbfa5c6
AJ
237782012-03-15 Andreas Jaeger <aj@suse.de>
23779
23780 [BZ #13837]
23781 * math/libm-test.inc (cos_test): Add a test case for large input
23782 value.
23783 (sin_test): Likewise.
23784 (sincos_test): Likewise.
23785
237862012-03-15 Andreas Jaeger <aj@suse.de>,
23787 Joseph Myers <joseph@codesourcery.com>
23788
23789 [BZ #13658]
0671f479 23790 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23791 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23792 * sysdeps/i386/fpu/branred.c: Likewise.
23793 * sysdeps/i386/fpu/dosincos.c: Likewise.
23794 * sysdeps/i386/fpu/mpa.c: Likewise.
23795 * sysdeps/i386/fpu/s_cos.S: Likewise.
23796 * sysdeps/i386/fpu/s_sin.S: Likewise.
23797 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23798 * sysdeps/i386/fpu/sincos32.c: Likewise.
23799
23800 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23801 Define.
23802 (libc_feupdateenv_53bit): Define.
23803 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23804 Define.
23805 (libc_feupdateenv_53bit): Define.
23806
23807 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23808 53 bit (without extend i386 double precision).
23809
23810 * math/libm-test.inc (sincos_test): Add tests for large input.
23811 (sin): Likewise.
23812 (cos): Likewise.
23813
23814 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23815
9cad04ea
AS
238162012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23817
23818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23819
f7062b9a
DM
238202012-03-15 David S. Miller <davem@davemloft.net>
23821
23822 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23823 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23824 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23825 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23838 file.
f7062b9a 23839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23841 file.
f7062b9a 23842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23844 file.
f7062b9a 23845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23847 file.
f7062b9a
DM
23848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23850 fmin/fmax sysdep routines.
23851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23852
7bd951ff
DM
238532012-03-14 David S. Miller <davem@davemloft.net>
23854
559398ab
DM
23855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23860 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23861 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23862 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23876 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23877 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23878 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23880 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23881 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23882 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23884 routines.
23885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23886 file.
559398ab 23887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23889 file.
559398ab 23890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23892 file.
559398ab 23893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23895 file.
559398ab 23896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23898 file.
559398ab 23899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23901 file.
23902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23903 file.
23904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23905 file.
23906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23907 file.
23908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23909 New file.
23910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23911 file.
23912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23913 file.
559398ab 23914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23916 file.
559398ab 23917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23919 file.
559398ab 23920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23922 file.
559398ab 23923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23925 VIS3 routines.
559398ab
DM
23926
23927 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23928 New file.
23929
5a1c1e32
DM
23930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23931
eae47a36
DM
23932 * sysdeps/sparc/configure.in: New file.
23933 * sysdeps/sparc/configure: Generate.
23934 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23935 * configure: Regenerate.
23936 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23937 * config.make.in (have-as-vis3): New.
23938 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23939 available use -Av9d instead of -Av9a.
23940 * sysdeps/sparc/sparc64/Makefile: Likewise.
23941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23943 New file.
23944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23945 file.
23946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23947 New file.
23948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23949 file.
eae47a36
DM
23950 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23952 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23953 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23954 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23955
c0c83bc8
DM
23956 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23957 fzeros/fnegs to load 0x80000000 into a float register instead of
23958 using the stack.
7bd951ff
DM
23959 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23960
bd951ccb
JM
239612012-03-14 Joseph Myers <joseph@codesourcery.com>
23962
23963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23964 bits/syscall.h.
23965 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23966 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23967 ($(inst_includedir)/bits/syscall.h): Remove rule.
23968 ($(objpfx)bits/syscall.d): Include instead of
23969 $(objpfx)syscall-list.d.
23970 (generated): Change syscall-list.h and syscall-list.d to
23971 bits/syscall.h and bits/syscall.d.
23972
bb4e6db2
RM
239732012-03-14 Roland McGrath <roland@hack.frob.com>
23974
23975 [BZ #13846]
23976 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23977
aa4a2ae1
JM
239782012-03-14 Joseph Myers <joseph@codesourcery.com>
23979
e456826d
JM
23980 [BZ #13841]
23981 * math/s_csqrt.c: Include <float.h>.
23982 (__csqrt): Scale large or subnormal inputs.
23983 * math/s_csqrtf.c: Likewise.
23984 * math/s_csqrtl.c: Likewise.
23985 * math/libm-test.inc (csqrt_test): Add more tests.
23986 * sysdeps/i386/fpu/libm-test-ulps: Update.
23987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23988
aa4a2ae1
JM
23989 [BZ #13840]
23990 * math/libm-test.inc (hypot_test): Add more tests.
23991
7c10fd35
DM
239922012-03-13 David S. Miller <davem@davemloft.net>
23993
23994 [BZ #13840]
23995 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23996 double-precision for the calculation instead of scaling.
23997
f453b98b
JM
239982012-03-13 Joseph Myers <joseph@codesourcery.com>
23999
24000 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24001 manipulate bits before adding and subtracting TWO52[sx].
24002 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24003 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24004 Likewise.
24005 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24006
09a3453f
DM
240072012-03-13 David S. Miller <davem@davemloft.net>
24008
8e59da90
DM
24009 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24010 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24011 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24012 rtld-global-offsets.h
24013 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24014
2a8ab7f2
DM
24015 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24016 large parameters.
24017
10f62770
DM
24018 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24019
5f0bdb18
DM
24020 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24021 'err' in the ifdef scope in which it is actually used.
24022
09a3453f
DM
24023 * nss/nss_db/db-init.c: Include string.h
24024
b4b2eb5e
DM
240252012-03-12 David S. Miller <davem@davemloft.net>
24026
98bb2f1c
DM
24027 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24028 masking out of the most significant byte of random value used.
24029 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24030 Fix coding style in previous change.
24031
b4b2eb5e
DM
24032 * sysdeps/unix/sysv/linux/kernel-features.h
24033 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24034 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24035 expression.
24036 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24037 later.
24038
6e226b09
DM
240392012-03-11 David S. Miller <davem@davemloft.net>
24040
a1bcbd40
DM
24041 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24042 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24043 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24044 for 'resultvar' otherwise things get truncated on 64-bit.
24045
cb9d6174
DM
24046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24047 Fix masking out of the most significant byte of random value used.
24048
6e226b09
DM
24049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24050
058c132d
AS
240512012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24052
24053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24054
2d2cd515
DM
240552012-03-09 David S. Miller <davem@davemloft.net>
24056
24057 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24058 variables with appropriate CPP guards.
24059 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24060 frame pointer, not the stack pointer. Correct layout comments. Fix test
24061 on resulting framesize and the management of the outregs buffer for pltexit.
24062 Preserve floating point return values across _dl_call_pltexit call.
24063 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24064 framesize and the management of the outregs buffer for pltexit.
24065 Preserve floating point return values across _dl_call_pltexit
24066 call.
24067 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24068 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24069 (print_exit): Fix format string for return register value.
24070
9a07f9d0
JM
240712012-03-10 Joseph Myers <joseph@codesourcery.com>
24072
24073 * sunrpc/Makefile (others): Add rpcgen.
24074 ($(objpfx)rpcgen): Remove special build rule and dependency on
24075 libc.
24076 * sunrpc/rpcgen.c: New file.
24077
547b5e30
PE
240782012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24079
c524201a
PE
24080 [BZ #13673]
24081 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24082 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24083 * sysdeps/i386/crti.S: Likewise.
24084 * sysdeps/i386/crtn.S: Likewise.
24085 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24086 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24087 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24088 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24089 * sysdeps/sh/crti.S: Likewise.
24090 * sysdeps/sh/crtn.S: Likewise.
24091 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24092
7b6235f2
PE
24093 [BZ #13673]
24094 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24095 with URL.
24096 * locale/programs/locfile-kw.gperf: Likewise.
24097 * locale/programs/charmap-kw.h: Regenerated.
24098 * locale/programs/locfile-kw.h: Likewise.
24099
547b5e30
PE
24100 [BZ #13673]
24101 * intl/plural.y: Replace FSF snail mail address with URL.
24102 * intl/plural.c: Regenerated.
24103
5f0a5dae
RH
241042012-03-09 Richard Henderson <rth@twiddle.net>
24105
24106 * include/math_private.h: Remove file.
24107 * math/math_private.h: Move file ...
24108 * sysdeps/generic/math_private.h: ... here.
24109
b8c03620
RH
24110 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24111 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24112 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24113
4e234f5d 24114 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
24115 and <math_private.h>.
24116 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24117 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24118 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24119 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24120 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24121 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24122 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24123 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24124 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24125 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24127 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24128 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24129 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24130 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24131 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24132 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24133 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24134 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24135 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24137 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24138 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24140 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24141 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24142 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24143 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24146 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24147 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24148 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24149 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24150 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24151 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24152 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24153 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24154 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24155 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24156 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24157 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24158 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24159 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24160 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24161 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24162 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24163 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24164 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24165 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24166 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24167 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24168 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24169 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24170 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24171 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24172 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24173 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24174 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24175 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24176 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24177 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24178 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24179 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24180 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24181 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24182 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24183 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24184 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24185 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24186 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24187 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24188 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24189 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24190 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24193 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24194 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24195 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24196 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24197 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24198 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24199 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24200 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24201 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24202 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24203 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24204 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24205 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24206 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24207 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24208 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24209 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24210 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24211 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24212 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24213 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24214 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24215 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24216 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24217 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24218 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24219 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24220 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24221 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24222 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24223 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24224 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24225 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24226 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24227 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24228 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24229 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24230 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24231 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24232 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24233 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24234 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24235 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24236 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24237 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24238 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24239 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24240 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24241 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24242 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24243 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24244 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24245 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24246 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24247 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24248 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24249 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24250 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24251 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24252 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24253 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24254 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24255 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24256 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24257 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24258 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24259 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24260 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24261 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24262 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24263 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24264 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24265 * sysdeps/ieee754/k_standard.c: Likewise.
24266 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24267 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24268 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24269 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24270 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24271 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24272 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24273 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24274 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24275 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24276 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24277 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24278 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24279 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24280 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24281 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24282 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24283 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24284 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24285 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24286 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24287 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24288 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24289 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24290 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24291 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24292 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24293 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24294 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24295 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24296 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24297 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24298 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24299 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24300 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24301 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24302 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24303 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24304 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24305 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24306 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24307 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24308 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24309 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24310 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24311 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24312 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24313 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24314 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24315 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24316 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24317 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24318 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24319 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24320 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24321 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24322 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24323 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24324 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24325 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24326 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24327 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24328 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24329 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24330 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24331 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24332 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24333 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24334 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24335 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24336 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24337 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24338 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24339 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24340 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24341 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24342 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24343 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24344 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24345 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24346 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24347 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24348 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24349 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24350 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24351 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24352 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24353 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24354 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24355 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24356 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24357 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24358 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24359 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24360 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24361 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24362 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24363 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24364 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24365 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24366 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24367 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24368 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24369 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24370 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24371 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24372 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24373 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24374 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24375 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24376 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24377 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24378 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24379 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24380 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24381 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24382 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24383 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24384 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24385 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24386 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24387 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24388 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24389 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24390 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24391 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24392 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24393 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24394 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24395 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24396 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24397 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24398 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24399 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24400 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24401 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24402 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24403 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24404 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24405 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24406 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24407 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24408 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24409 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24410 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24411 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24412 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24413 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24414 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24415 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24416 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24417 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24418 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24419 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24420 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24421 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24422 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24423 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24424 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24425 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24426 * sysdeps/ieee754/s_lib_version.c: Likewise.
24427 * sysdeps/ieee754/s_matherr.c: Likewise.
24428 * sysdeps/ieee754/s_signgam.c: Likewise.
24429 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24430 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24431 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24432 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24433 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24434 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24435 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24436 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24437 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24438 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24439 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24440 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24441 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24442 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24443 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24444 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24445 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24446 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24447 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24448 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24449 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24450
1991fa03
JM
244512012-03-09 Joseph Myers <joseph@codesourcery.com>
24452
24453 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24454 * sunrpc/rpc_main.c: Likewise.
24455 * sunrpc/rpc_svcout.c: Likewise.
24456
60d6f5a6
DM
244572012-03-09 David S. Miller <davem@davemloft.net>
24458
24459 * include/math_private.h: New file.
24460
4962050e
JM
244612012-03-09 Joseph Myers <joseph@codesourcery.com>
24462
02a6f887
JM
24463 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24464 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24465 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24466 from <bits/socket_type.h>.
24467 (enum __socket_type): Don't define here.
24468 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24470 bits/socket_type.h.
24471
c6e013c1
JM
24472 [BZ #13566]
24473 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24474 checking __USE_GNU.
24475
4962050e
JM
24476 * Makerules ($(inst_includedir)/%.h): New rule.
24477 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24478 (install-others): Remove variable setting.
24479 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24480
38842f45
RH
244812012-03-08 Richard Henderson <rth@twiddle.net>
24482
67bb6da6
RH
24483 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24484 from macro to inline function; merge with the
24485 !__LIBC_INTERNAL_MATH_INLINES version.
24486 (__ieee754_sqrtf): Likewise.
24487
15194b4b
RH
24488 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24489 to inline function.
24490 (__rintf, __floor, __floorf): Likewise.
24491
64e21ede
RH
24492 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24493 macro to inline function.
24494 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24495
38842f45
RH
24496 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24497 not <math/math_private.h>.
24498
c64bf5fe
DM
244992012-03-08 David S. Miller <davem@davemloft.net>
24500
24501 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24502 copyright year.
24503 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24504
82d86f28
TS
245052012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24506
24507 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24508 normalization.
24509 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24510 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24511
aea5d727
UD
245122012-03-08 Ulrich Drepper <drepper@gmail.com>
24513
24514 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24515 be defined individually, they must be defined as a block. Define
24516 S for printing a string instead of hidint the different by using a
24517 macro for adding the 'l'.
24518 * stdio-common/tst-fphex-wide.c: Adjust.
24519
70bca0a3
MP
245202012-03-07 Marek Polacek <polacek@redhat.com>
24521
24522 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24523
65b81130
MP
245242012-03-08 Marek Polacek <polacek@redhat.com>
24525
24526 [BZ #13806]
24527 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24528 * stdio-common/tst-fphex.c: Define a few macros to make the
24529 test reusable. Use them.
24530 * stdio-common/tst-fphex-wide.c: New file.
24531
07037eeb
JM
245322012-03-08 Joseph Myers <joseph@codesourcery.com>
24533
a7a93d50
JM
24534 [BZ #6911]
24535 * manual/macros.texi (gnusystems): New macro.
24536 (nongnusystems): Likewise.
24537 (gnulinuxhurdsystems): Likewise.
24538 (gnuhurdsystems): Likewise..
24539 (gnulinuxsystems): Likewise.
24540 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24541 variants of the GNU system, not "GNU system".
24542 * manual/conf.texi: Likewise.
24543 * manual/errno.texi: Likewise. Update example of errno macro
24544 expansion.
24545 * manual/filesys.texi: Likewise.
24546 (getumask): Document as specific to GNU/Hurd.
24547 * manual/install.texi: Likewise. Reword some references to
24548 GNU/Linux.
24549 * manual/intro.texi: Likewise.
24550 * manual/io.texi: Likewise.
24551 (File Name Portability): Detail which constraints are inapplicable
24552 to all GNU systems and which are only inapplicable to GNU/Hurd.
24553 * manual/job.texi: Likewise.
24554 * manual/llio.texi: Likewise.
24555 (O_NOCTTY): Document as present on GNU/Linux.
24556 * manual/maint.texi: Likewise.
24557 * manual/memory.texi: Likewise.
24558 * manual/pattern.texi: Likewise.
24559 * manual/pipe.texi: Likewise.
24560 * manual/process.texi: Likewise.
24561 * manual/resource.texi: Likewise.
24562 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24563 child on GNU/Hurd.
24564 * manual/setjmp.texi: Likewise.
24565 * manual/signal.texi: Likewise.
24566 * manual/startup.texi: Likewise.
24567 * manual/stdio.texi: Likewise.
24568 * manual/terminal.texi: Likewise.
24569 (ONLCR): Document as POSIX.
24570 (OXTABS): Document availability on GNU/Linux as XTABS.
24571 (ONOEOT): Document availability separately from other bits.
24572 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24573 * manual/time.texi: Likewise.
24574 * manual/users.texi: Likewise.
24575 * INSTALL: Regenerated.
24576 * sysdeps/gnu/errlist.c: Regenerated.
24577
07037eeb
JM
24578 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24579 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24580 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24581 puts.
24582 * configure: Regenerated.
24583
d1d3431a
JM
245842012-03-07 Joseph Myers <joseph@codesourcery.com>
24585
af6a1e37
JM
24586 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24587 default includes instead of AC_HEADER_CHECK.
24588 * sysdeps/i386/configure: Regenerated.
24589
d1d3431a
JM
24590 [BZ #10716]
24591 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24592 * math/s_cacoshf.c (__cacoshf): Likewise.
24593 * math/s_cacoshl.c (__cacoshl): Likewise.
24594 * math/s_casinh.c (__casinh): Set signs of result from argument.
24595 * math/s_casinhf.c (__casinhf): Likewise.
24596 * math/s_casinhl.c (__casinhl): Likewise.
24597 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24598 (casinh_test): Add more tests.
24599 * sysdeps/i386/fpu/libm-test-ulps: Update.
24600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24601
482ff4da
UD
246022012-03-07 Ulrich Drepper <drepper@gmail.com>
24603
872fda05
UD
24604 * po/zh_TW.po: Update from translation team.
24605
a4300c7a
UD
24606 * login/Makefile (distribute): Remove variable.
24607 * catgets/Makefile: Likewise.
24608 * mach/Makefile: Likewise.
24609 * malloc/Makefile: Likewise.
24610 * misc/Makefile: Likewise.
24611 * iconv/Makefile: Likewise.
24612 * nscd/Makefile: Likewise.
24613 * hurd/Makefile: Likewise.
24614 * manual/Makefile: Likewise.
24615 * locale/Makefile: Likewise.
24616 * intl/Makefile: Likewise.
24617 * conform/Makefile: Likewise.
24618 * nss/Makefile: Likewise.
24619 * time/Makefile: Likewise.
24620 * soft-fp/Makefile: Likewise.
24621 * dirent/Makefile: Likewise.
24622 * gmon/Makefile: Likewise.
24623 * po/Makefile: Likewise.
24624 * rt/Makefile: Likewise.
24625 * socket/Makefile: Likewise.
24626 * math/Makefile: Likewise.
24627 * signal/Makefile: Likewise.
24628 * debug/Makefile: Likewise.
24629 * elf/Makefile: Likewise.
24630 * timezone/Makefile: Likewise.
24631 * stdlib/Makefile: Likewise.
24632 * iconvdata/Makefile: Likewise.
24633 * sunrpc/Makefile: Likewise.
24634 * io/Makefile: Likewise.
24635 * argp/Makefile: Likewise.
24636 * inet/Makefile: Likewise.
24637 * hesiod/Makefile: Likewise.
24638 * grp/Makefile: Likewise.
24639 * csu/Makefile: Likewise.
24640 * wctype/Makefile: Likewise.
24641 * crypt/Makefile: Likewise.
24642 * libio/Makefile: Likewise.
24643 * string/Makefile: Likewise.
24644 * nis/Makefile: Likewise.
24645 * resolv/Makefile: Likewise.
24646 * stdio-common/Makefile: Likewise.
24647 * wcsmbs/Makefile: Likewise.
24648 * dlfcn/Makefile: Likewise.
24649 * posix/Makefile: Likewise.
24650
3b7c4e74 24651 [BZ #6959]
482ff4da
UD
24652 * timezone/Makefile: Don't install timezone files, just the programs
24653 and scripts.
24654
f72ed77d
UD
246552012-03-06 Ulrich Drepper <drepper@gmail.com>
24656
a000466f
UD
24657 * nss/databases.def: Add missing gshadow entry.
24658
f72ed77d
UD
24659 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24660
a53b7a4e
MP
246612012-03-06 Marek Polacek <polacek@redhat.com>
24662
24663 [BZ #13726]
24664 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24665 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24666 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24667 * stdio-common/tst-long-dbl-fphex.c: New file.
24668
e9258400
DM
246692012-03-06 David S. Miller <davem@davemloft.net>
24670
24671 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24672 (set_obp_int): New function.
24673 (get_obp_int): New function.
24674 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24675 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24676 Avoid unused variable warnings on 'val' and use builtin_expect.
24677 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24678 __builtin_expect.
e9258400
DM
24679 (INLINE_CLONE_SYSCALL): Likewise.
24680
3bd2c723
DM
246812012-03-05 David S. Miller <davem@davemloft.net>
24682
24683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24684
bbb78d03
AS
246852012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24686
884c5db4
AS
24687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24688
bbb78d03
AS
24689 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24690 only for |x| >= 40.
24691 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24692
1c9f702a 246932012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24694
24695 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24696 Replace gettimeofday with __vdso_gettimeofday.
24697
7be16f82
RM
24698 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24699 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24700 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24701
24702 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24703 time with __vdso_time.
24704
ed58a00f
JM
247052012-03-05 Joseph Myers <joseph@codesourcery.com>
24706
24707 * manual/lang.texi (size_t): Note types to which size_t may be
24708 equivalent with the GNU C Library, but do not describe when
24709 differences between them are significant.
24710
30ee4ced
AJ
247112012-03-05 Andreas Jaeger <aj@suse.de>
24712
24713 * sysdeps/i386/fpu/libm-test-ulps: Update.
24714
b7cd39e8
JM
247152012-03-05 Joseph Myers <joseph@codesourcery.com>
24716
24717 [BZ #3976]
24718 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24719 (__ieee754_pow): Save and restore rounding mode and use
24720 round-to-nearest for main computations.
24721 * math/libm-test.inc (pow_test_tonearest): New function.
24722 (pow_test_towardzero): Likewise.
24723 (pow_test_downward): Likewise.
24724 (pow_test_upward): Likewise.
24725 (main): Call the new functions.
24726 * sysdeps/i386/fpu/libm-test-ulps: Update.
24727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24728
24729 [BZ #3976]
24730 * math/libm-test.inc (cosh_test_tonearest): New function.
24731 (cosh_test_towardzero): Likewise.
24732 (cosh_test_downward): Likewise.
24733 (cosh_test_upward): Likewise.
24734 (sinh_test_tonearest): Likewise.
24735 (sinh_test_towardzero): Likewise.
24736 (sinh_test_downward): Likewise.
24737 (sinh_test_upward): Likewise.
24738 (main): Call the new functions.
24739 * sysdeps/i386/fpu/libm-test-ulps: Update.
24740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24741
6c6a98c9
TV
247422012-03-05 Tom de Vries <tom@codesourcery.com>
24743
24744 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24745 default stack guard is set in last bytes.
24746 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24747
21bb2d2e 247482012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24749
21bb2d2e 24750 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24751
21bb2d2e
AJ
24752 [BZ #13656]
24753 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24754 possibly allocate from heap instead of stack.
24755 * stdio-common/bug-vfprintf-nargs.c: New file.
24756 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24757
c6922934
AS
247582012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24759
24760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24761
bc957d53
MP
247622012-03-03 Marek Polacek <polacek@redhat.com>
24763
24764 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24765 * math/math_private.h: Likewise.
24766 * stdlib/tst-strtod.c: Likewise.
24767 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24768 * sysdeps/x86_64/bits/atomic.h: Likewise.
24769
6358490d
DM
247702012-03-02 David S. Miller <davem@davemloft.net>
24771
24772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24776 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24777 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24778 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24779 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24780
01ae168d
RM
247812012-03-02 Roland McGrath <roland@hack.frob.com>
24782
d9a17c07
RM
24783 [BZ #13792]
24784 * manual/examples/README: New file, says the example source files
24785 can be used under GPL>=2.
24786 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24787 line containing just "*/".
24788 * manual/examples/add.c: Add copyright header (GPL>=2).
24789 * manual/examples/argp-ex1.c: Likewise.
24790 * manual/examples/argp-ex2.c: Likewise.
24791 * manual/examples/argp-ex3.c: Likewise.
24792 * manual/examples/argp-ex4.c: Likewise.
24793 * manual/examples/atexit.c: Likewise.
24794 * manual/examples/db.c: Likewise.
24795 * manual/examples/dir.c: Likewise.
24796 * manual/examples/dir2.c: Likewise.
24797 * manual/examples/execinfo.c: Likewise.
24798 * manual/examples/filecli.c: Likewise.
24799 * manual/examples/filesrv.c: Likewise.
24800 * manual/examples/fmtmsgexpl.c: Likewise.
24801 * manual/examples/genpass.c: Likewise.
24802 * manual/examples/inetcli.c: Likewise.
24803 * manual/examples/inetsrv.c: Likewise.
24804 * manual/examples/isockad.c: Likewise.
24805 * manual/examples/longopt.c: Likewise.
24806 * manual/examples/memopen.c: Likewise.
24807 * manual/examples/memstrm.c: Likewise.
24808 * manual/examples/mkfsock.c: Likewise.
24809 * manual/examples/mkisock.c: Likewise.
24810 * manual/examples/mygetpass.c: Likewise.
24811 * manual/examples/pipe.c: Likewise.
24812 * manual/examples/popen.c: Likewise.
24813 * manual/examples/rprintf.c: Likewise.
24814 * manual/examples/search.c: Likewise.
24815 * manual/examples/select.c: Likewise.
24816 * manual/examples/setjmp.c: Likewise.
24817 * manual/examples/sigh1.c: Likewise.
24818 * manual/examples/sigusr.c: Likewise.
24819 * manual/examples/stpcpy.c: Likewise.
24820 * manual/examples/strdupa.c: Likewise.
24821 * manual/examples/strftim.c: Likewise.
24822 * manual/examples/strncat.c: Likewise.
24823 * manual/examples/subopt.c: Likewise.
24824 * manual/examples/swapcontext.c: Likewise.
24825 * manual/examples/termios.c: Likewise.
24826 * manual/examples/testopt.c: Likewise.
24827 * manual/examples/testpass.c: Likewise.
24828 * manual/examples/timeval_subtract.c: Likewise.
24829
01ae168d
RM
24830 [BZ #13792]
24831 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24832 function to ...
24833 * manual/timeval_subtract.c.texi: ... here, new file.
24834
49efa33d
DM
248352012-03-02 David S. Miller <davem@davemloft.net>
24836
24837 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24838
28afd92d
JM
248392012-03-02 Joseph Myers <joseph@codesourcery.com>
24840
804360ed
JM
24841 [BZ #3976]
24842 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24843 (__sin): Save and restore rounding mode and use round-to-nearest
24844 for all computations.
24845 (__cos): Save and restore rounding mode and use round-to-nearest
24846 for all computations.
24847 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24848 <fenv.h>.
24849 (tan): Save and restore rounding mode and use round-to-nearest for
24850 all computations.
24851 * math/libm-test.inc (cos_test_tonearest): New function.
24852 (cos_test_towardzero): Likewise.
24853 (cos_test_downward): Likewise.
24854 (cos_test_upward): Likewise.
24855 (sin_test_tonearest): Likewise.
24856 (sin_test_towardzero): Likewise.
24857 (sin_test_downward): Likewise.
24858 (sin_test_upward): Likewise.
24859 (tan_test_tonearest): Likewise.
24860 (tan_test_towardzero): Likewise.
24861 (tan_test_downward): Likewise.
24862 (tan_test_upward): Likewise.
24863 (main): Call the new functions.
24864 * sysdeps/i386/fpu/libm-test-ulps: Update.
24865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24866
a6d06d7b
JM
24867 [BZ #10135]
24868 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24869 small n, then large n, before computing and testing k+n.
24870 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24871 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24872 Likewise.
24873 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24874 Likewise.
24875 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24876 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24877 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24878 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24879 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24880 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24881 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24882 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24883 * math/libm-test.inc (scalbn_test): Add more tests.
24884 (scalbln_test): Likewise.
24885
07e12bb3
JM
24886 * manual/filesys.texi (mode_t): Describe constraints on size and
24887 signedness, not exact equivalence to a particular type.
24888 (ino_t): Likewise.
24889 (ino64_t): Likewise.
24890 (dev_t): Likewise.
24891 (nlink_t): Likewise.
24892 (blkcnt_t): Likewise.
24893 (blkcnt64_t): Likewise.
24894 * manual/llio.texi (off_t): Likewise.
24895
28afd92d
JM
24896 [BZ #3976]
24897 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24898 (__ieee754_exp): Save and restore rounding mode and use
24899 round-to-nearest for all computations.
24900 * math/libm-test.inc (exp_test_tonearest): New function.
24901 (exp_test_towardzero): Likewise.
24902 (exp_test_downward): Likewise.
24903 (exp_test_upward): Likewise.
24904 (main): Call the new functions.
24905 * sysdeps/i386/fpu/libm-test-ulps: Update.
24906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24907
b1eeb65d
CD
249082012-03-01 Chris Demetriou <cgd@google.com>
24909
24910 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24911 have predictable order.
24912
53362a4b
DM
249132012-03-01 David S. Miller <davem@davemloft.net>
24914
3c969083
DM
24915 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24916
759707de
DM
24917 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24918 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24919 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24920 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24921
dfdb8ff2
DM
24922 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24923 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24924 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24926 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24927 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24928 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24929 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24930 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24931
ead89f96
DM
24932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24933
7f66bd07
DM
24934 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24935 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24936 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24937
53362a4b
DM
24938 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24939 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24940 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24941 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24942 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24944 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24945 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24946 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24947 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24948 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24949 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24950 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24951 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24952 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24953 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24954 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24955 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24956 * sysdeps/sparc/elf/configure: Regenerated.
24957
7b1902cb
JM
249582012-03-01 Joseph Myers <joseph@codesourcery.com>
24959
bec039bc
JM
24960 * configure.in (AS, LD): Require binutils 2.20 or later.
24961 * configure: Regenerated.
24962 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24963 as required minimum version.
24964 * INSTALL: Regenerated.
24965
7b1902cb
JM
24966 [BZ #2541]
24967 [BZ #4108]
24968 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24969 before squaring exponent.
24970 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24971 bottom long double and 27 bits of top long double before squaring
24972 exponent.
24973 * math/libm-test.inc (erfc_test): Add more tests.
24974 * sysdeps/i386/fpu/libm-test-ulps: Update.
24975 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24977
f775c276
KT
249782012-03-01 Kai Tietz <ktietz@redhat.com>
24979
24980 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24981 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24982 containing bit-fields.
24983 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24984 * soft-fp/single.h (_FP_UNION_S): Likewise.
24985 * soft-fp/double.h (_FP_UNION_D): Likewise.
24986
5b8a4d4a
JM
249872012-02-29 Joseph Myers <joseph@codesourcery.com>
24988
0bab47b6
JM
24989 [BZ #13786]
24990 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24991 not include ../strcmp.S.
24992 [USE_AS_STRNCASECMP_L]: Likewise.
24993 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24994 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24995 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24996 (__strncasecmp_l_ia32): Define as alias to
24997 __strncasecmp_l_nonascii.
24998
0fcad3e2
JM
24999 [BZ #5794]
25000 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25001 * sysdeps/i386/fpu/libm-test-ulps: Update.
25002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25003
5b8a4d4a
JM
25004 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25006
8fdceb2e
JL
250072012-02-29 Jeff Law <law@redhat.com>
25008
25009 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25010 out of bounds read.
25011
1f393a11
MP
250122012-02-29 Marek Polacek <polacek@redhat.com>
25013
25014 [BZ #13706]
25015 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25016 * elf/Makefile: Add rules to run tst-unused-dep.out.
25017
8847f037
DM
250182012-02-28 David S. Miller <davem@davemloft.net>
25019
25020 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25021 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25022 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25023 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25024 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25025 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25026
169d7f11
JM
250272012-02-29 Joseph Myers <joseph@codesourcery.com>
25028
25029 * math/libm-test.inc (llround_test): Move one test from
25030 lround_test. Use TEST_f_L in moved test.
25031 (lround_test): Move misplaced test to llround_test. Add testcase
25032 from bug 2561.
25033
39adf059
UD
250342012-02-28 Ulrich Drepper <drepper@gmail.com>
25035
25036 * sysdeps/x86_64/fpu/e_expf.S: New file.
25037 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25038
71b5d1c5
SB
250392012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25040
25041 [BZ #13637]
25042 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25043 of remain_len that may cause incomplete multi-byte character and
25044 false match.
25045 * posix/bug-regex33.c: New file.
25046 * posix/Makefile (tests): Add bug-regex33.
25047
1f77f049
JM
250482012-02-28 Joseph Myers <joseph@codesourcery.com>
25049
25050 * manual/macros.texi: New file.
25051 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25052 * manual/libc.texinfo: Include macros.texi.
25053 * manual/creatute.texi: Likewise.
25054 * manual/install.texi: Likewise.
25055 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25056 @glibcadj{} in references to the GNU C Library.
25057 * manual/charset.texi: Likewise.
25058 * manual/conf.texi: Likewise.
25059 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25060 when not using those macros.
25061 * manual/creature.texi: Likewise.
25062 * manual/crypt.texi: Likewise.
25063 * manual/errno.texi: Likewise.
25064 * manual/filesys.texi: Likewise.
25065 * manual/header.texi: Likewise.
25066 * manual/install.texi: Likewise.
25067 * manual/intro.texi: Likewise.
25068 * manual/io.texi: Likewise.
25069 * manual/job.texi: Likewise.
25070 * manual/lang.texi: Likewise.
25071 * manual/libc.texiinfo: Likewise.
25072 * manual/llio.texi: Likewise.
25073 * manual/locale.texi: Likewise.
25074 * manual/maint.texi: Likewise.
25075 * manual/math.texi: Likewise.
25076 * manual/memory.texi: Likewise.
25077 * manual/message.texi: Likewise.
25078 * manual/nss.texi: Likewise.
25079 * manual/pattern.texi: Likewise.
25080 * manual/process.texi: Likewise.
25081 * manual/resource.texi: Likewise.
25082 * manual/search.texi: Likewise.
25083 * manual/setjmp.texi: Likewise.
25084 * manual/signal.texi: Likewise.
25085 * manual/socket.texi: Likewise.
25086 * manual/startup.texi: Likewise.
25087 * manual/stdio.texi: Likewise.
25088 * manual/string.texi: Likewise.
25089 * manual/sysinfo.texi: Likewise.
25090 * manual/syslog.texi: Likewise.
25091 * manual/terminal.texi: Likewise.
25092 * manual/time.texi: Likewise.
25093 * manual/users.texi: Likewise.
25094 * INSTALL: Regenerated.
25095 * NOTES: Regenerated.
d40c5d54 25096 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 25097
450bf206
AS
250982012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25099
25100 * include/dirent.h: Include <dirstream.h> before
25101 <dirent/dirent.h>.
25102
741a235b
DM
251032012-02-28 David S. Miller <davem@davemloft.net>
25104
25105 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25106 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25107 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25108 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25109
d6b5aa58
DM
251102012-02-27 David S. Miller <davem@davemloft.net>
25111
1aff59a3
DM
25112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25114 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25115 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25116
d6b5aa58
DM
25117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25118 frame pointer instead of stack pointer relative arg slot.
25119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25120 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25121 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25122
433f48bf
CD
251232012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25124
25125 [BZ #3992]
25126 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25127
d674b76d
DM
251282012-02-27 David S. Miller <davem@davemloft.net>
25129
25130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25134 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25135 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25136 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25137 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25138
0e7727f7
JM
251392012-02-27 Joseph Myers <joseph@codesourcery.com>
25140
25141 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25142 later. Allow versions 5-9.
43be4ca2 25143 * configure: Regenerated.
0e7727f7
JM
25144 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25145 required minimum version and 4.6 as recommended version. Do not
25146 mention bugs in GCC 2.7 and 2.8.
43be4ca2 25147 * INSTALL: Regenerated.
0e7727f7 25148
a78bc654
DM
251492012-02-27 David S. Miller <davem@davemloft.net>
25150
428d5830
DM
25151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25155 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25156 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25157 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25158 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25159
a78bc654
DM
25160 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25161 manipulate bits before adding and subtracting TWO112[sx].
25162 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25163
4579f81c
RM
251642012-02-27 Roland McGrath <roland@hack.frob.com>
25165
36c8acb4
RM
25166 [BZ #13775]
25167 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25168 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25169 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25170 being in POSIX, because they are in 1003.1-2008.
25171
84ad622b
RM
25172 * rt/tst-aio.c: Include <fcntl.h>.
25173 * rt/tst-aio7.c: Likewise.
25174 * rt/tst-aio64.c: Likewise.
25175
4579f81c
RM
25176 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25177
abd923db
JM
251782012-02-27 Joseph Myers <joseph@codesourcery.com>
25179
25180 * manual/install.texi (--with-headers): Describe headers as
25181 interface headers, not private headers.
25182 (Specific advice for GNU/Linux systems): Describe use of headers
25183 from "make headers_install", not private headers from older
25184 kernels.
43be4ca2 25185 * INSTALL: Regenerated.
abd923db
JM
25186 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25187 Change to 2.6.19.
25188 * sysdeps/unix/sysv/linux/configure: Regenerated.
25189
6664049b
JM
25190 * manual/llio.texi (fclean): Remove documentation.
25191
bb8b6697
JM
25192 * manual/Makefile (libc-texi-generated): New variable. Include
25193 version.texi.
25194 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25195 $(libc-texi-generated), not duplicated list of files.
25196 (version.texi, stamp-version): New rules.
25197 (realclean): Remove $(libc-texi-generated), not individual files
25198 from that list. Do not remove dir-add.texinfo.
25199 * manual/libc.texinfo: Comment out uses of edition numbers and
25200 references to printed manual. Remove last-updated dates.
25201 (EDITION): Comment out.
25202 (ISBN): Likewise.
25203 (VERSION, UPDATED): Remove.
25204 (version.texi): Include.
25205
12e5c3b9
AS
252062012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25207
25208 * sysdeps/posix/spawni.c: Include <signal.h>.
25209 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25210 * sysdeps/pthread/aio_fsync.c: Likewise.
25211
4efeffc1 252122012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 25213
ba63ba08
UD
25214 * conform/Makefile (tests): Run only when not cross-compiling and
25215 when fast-check is not defined.
25216
d94a4670
UD
25217 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25218 * conform/data/limits.h-data: Fixes for POSIX2008.
25219 * conform/run-conformtest.sh: Run all tests.
25220 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25221 headers.
25222 * include/bits/dlfcn.h: Likewise.
25223 * include/langinfo.h: Likewise.
25224 * include/monetary.h: Likewise.
25225 * include/sys/poll.h: Likewise.
25226
25227 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25228 for __USE_GNU.
25229 * posix/spawn.h: Define __need_sigset_t.
25230 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25231 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25232 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25233 to get sigevent_t only.
25234 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25235 only for __USE_GNU.
25236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25237 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25238 process_vm_writev only for __USE_GNU.
25239 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
25240
25241 * conform/Makefile: For now ignore errors from run-conformtest.
25242 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25243 POSIX to avoid namespace pollution. Don't prepend headers.
25244 * conform/data/aio.h-data: Fixes for POSIX testing.
25245 * conform/data/fcntl.h-data: Likewise.
25246 * conform/data/glob.h-data: Likewise.
25247 * conform/data/grp.h-data: Likewise.
25248 * conform/data/pthread.h-data: Likewise.
25249 * conform/data/pwd.h-data: Likewise.
25250 * conform/data/signal.h-data: Likewise.
25251 * conform/data/spawn.h-data: Likewise.
25252 * conform/data/stdio.h-data: Likewise.
25253 * conform/data/stdlib.h-data: Likewise.
25254 * conform/data/stropts.h-data: Likewise.
25255 * conform/data/sys/mman.h-data: Likewise.
25256 * conform/data/sys/stat.h-data: Likewise.
25257 * conform/data/sys/types.h-data: Likewise.
25258 * conform/data/sys/wait.h-data: Likewise.
25259 * conform/data/time.h-data: Likewise.
25260 * conform/data/unistd.h-data: Likewise.
25261 * conform/data/utime.h-data: Likewise.
25262
25263 * io/sys/stat.h: fchmod was always in POSIX.
25264 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25265 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25266 * rt/aio.h: Define __need_timespec before including <time.h>.
25267 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25268 struct. Add forward declaration of pthread_attr_t and use it in
25269 sigevent.
25270 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25271 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25272 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25273 always remove CLK_TCK definition.
25274
c20105c3
AS
252752012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25276
25277 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25278
7a270350
UD
252792012-02-25 Ulrich Drepper <drepper@gmail.com>
25280
31341567
UD
25281 * conform/run-conformtest.sh: New file.
25282 * conform/Makefile: Run run-conformtest for tests.
25283 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25284 support.
25285
25286 * conform/data/uchar.h-data: New file.
25287 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25288 * conform/data/arpa/inet.h-data: Likewise.
25289 * conform/data/assert.h-data: Likewise.
25290 * conform/data/complex.h-data: Likewise.
25291 * conform/data/cpio.h-data: Likewise.
25292 * conform/data/ctype.h-data: Likewise.
25293 * conform/data/dirent.h-data: Likewise.
25294 * conform/data/dlfcn.h-data: Likewise.
25295 * conform/data/errno.h-data: Likewise.
25296 * conform/data/fcntl.h-data: Likewise.
25297 * conform/data/float.h-data: Likewise.
25298 * conform/data/fmtmsg.h-data: Likewise.
25299 * conform/data/fnmatch.h-data: Likewise.
25300 * conform/data/ftw.h-data: Likewise.
25301 * conform/data/glob.h-data: Likewise.
25302 * conform/data/grp.h-data: Likewise.
25303 * conform/data/iconv.h-data: Likewise.
25304 * conform/data/inttypes.h-data: Likewise.
25305 * conform/data/langinfo.h-data: Likewise.
25306 * conform/data/libgen.h-data: Likewise.
25307 * conform/data/limits.h-data: Likewise.
25308 * conform/data/locale.h-data: Likewise.
25309 * conform/data/math.h-data: Likewise.
25310 * conform/data/monetary.h-data: Likewise.
25311 * conform/data/mqueue.h-data: Likewise.
25312 * conform/data/ndbm.h-data: Likewise.
25313 * conform/data/net/if.h-data: Likewise.
25314 * conform/data/netdb.h-data: Likewise.
25315 * conform/data/netinet/in.h-data: Likewise.
25316 * conform/data/nl_types.h-data: Likewise.
25317 * conform/data/poll.h-data: Likewise.
25318 * conform/data/pthread.h-data: Likewise.
25319 * conform/data/pwd.h-data: Likewise.
25320 * conform/data/regex.h-data: Likewise.
25321 * conform/data/sched.h-data: Likewise.
25322 * conform/data/search.h-data: Likewise.
25323 * conform/data/semaphore.h-data: Likewise.
25324 * conform/data/setjmp.h-data: Likewise.
25325 * conform/data/signal.h-data: Likewise.
25326 * conform/data/spawn.h-data: Likewise.
25327 * conform/data/stdarg.h-data: Likewise.
25328 * conform/data/stdio.h-data: Likewise.
25329 * conform/data/stdlib.h-data: Likewise.
25330 * conform/data/string.h-data: Likewise.
25331 * conform/data/strings.h-data: Likewise.
25332 * conform/data/stropts.h-data: Likewise.
25333 * conform/data/sys/ipc.h-data: Likewise.
25334 * conform/data/sys/mman.h-data: Likewise.
25335 * conform/data/sys/msg.h-data: Likewise.
25336 * conform/data/sys/resource.h-data: Likewise.
25337 * conform/data/sys/select.h-data: Likewise.
25338 * conform/data/sys/sem.h-data: Likewise.
25339 * conform/data/sys/shm.h-data: Likewise.
25340 * conform/data/sys/socket.h-data: Likewise.
25341 * conform/data/sys/stat.h-data: Likewise.
25342 * conform/data/sys/statvfs.h-data: Likewise.
25343 * conform/data/sys/time.h-data: Likewise.
25344 * conform/data/sys/timeb.h-data: Likewise.
25345 * conform/data/sys/times.h-data: Likewise.
25346 * conform/data/sys/types.h-data: Likewise.
25347 * conform/data/sys/uio.h-data: Likewise.
25348 * conform/data/sys/un.h-data: Likewise.
25349 * conform/data/sys/utsname.h-data: Likewise.
25350 * conform/data/sys/wait.h-data: Likewise.
25351 * conform/data/syslog.h-data: Likewise.
25352 * conform/data/tar.h-data: Likewise.
25353 * conform/data/termios.h-data: Likewise.
25354 * conform/data/utime.h-data: Likewise.
25355 * conform/data/utmpx.h-data: Likewise.
25356 * conform/data/varargs.h-data: Likewise.
25357 * conform/data/wchar.h-data: Likewise.
25358 * conform/data/wctype.h-data: Likewise.
25359 * conform/data/wordexp.h-data: Likewise.
25360
25361 * include/stropts.h: New file.
25362 * include/uchar.h: New file.
25363 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25364 * include/assert.h: Likewise.
25365 * include/ctype.h: Likewise.
25366 * include/dirent.h: Likewise.
25367 * include/dlfcn.h: Likewise.
25368 * include/fcntl.h: Likewise.
25369 * include/fnmatch.h: Likewise.
25370 * include/glob.h: Likewise.
25371 * include/grp.h: Likewise.
25372 * include/libio.h: Likewise.
25373 * include/locale.h: Likewise.
25374 * include/math.h: Likewise.
25375 * include/net/if.h: Likewise.
25376 * include/netdb.h: Likewise.
25377 * include/netinet/in.h: Likewise.
25378 * include/pthread.h: Likewise.
25379 * include/pwd.h: Likewise.
25380 * include/regex.h: Likewise.
25381 * include/sched.h: Likewise.
25382 * include/search.h: Likewise.
25383 * include/setjmp.h: Likewise.
25384 * include/signal.h: Likewise.
25385 * include/stdio.h: Likewise.
25386 * include/stdlib.h: Likewise.
25387 * include/string.h: Likewise.
25388 * include/sys/cdefs.h: Likewise.
25389 * include/sys/mman.h: Likewise.
25390 * include/sys/msg.h: Likewise.
25391 * include/sys/resource.h: Likewise.
25392 * include/sys/select.h: Likewise.
25393 * include/sys/socket.h: Likewise.
25394 * include/sys/stat.h: Likewise.
25395 * include/sys/statvfs.h: Likewise.
25396 * include/sys/time.h: Likewise.
25397 * include/sys/times.h: Likewise.
25398 * include/sys/uio.h: Likewise.
25399 * include/sys/utsname.h: Likewise.
25400 * include/sys/wait.h: Likewise.
25401 * include/termios.h: Likewise.
25402 * include/time.h: Likewise.
25403 * include/ulimit.h: Likewise.
25404 * include/unistd.h: Likewise.
25405 * include/utime.h: Likewise.
25406 * include/wchar.h: Likewise.
25407 * include/wctype.h: Likewise.
25408 * include/wordexp.h: Likewise.
25409
25410 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25411
7a270350
UD
25412 * time/time.h: TIME_UTC must be a macro.
25413 Make timespec_get available for ISO C11 only as well.
25414
7724defc
UD
254152012-02-24 Ulrich Drepper <drepper@gmail.com>
25416
25417 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25418 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25419
6b1d1d46
JM
254202012-02-24 Joseph Myers <joseph@codesourcery.com>
25421
25422 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25423
0f8bbd69
JM
254242012-02-24 Joseph Myers <joseph@codesourcery.com>
25425
25426 * manual/texinfo.tex: Update to version 2012-01-19.16.
25427
66ab80bc
JM
254282012-02-24 Joseph Myers <joseph@codesourcery.com>
25429
25430 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25431
74981cc5
RM
254322012-02-24 Roland McGrath <roland@hack.frob.com>
25433
ee968201
RM
25434 [BZ #13738]
25435 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25436 * manual/fdl-1.3.texi: New file.
25437 * manual/fdl-1.1.texi: File removed.
25438
74981cc5
RM
25439 [BZ #13738]
25440 * manual/libc.texinfo (FDL_VERSION): New @set.
25441 Use it for mention of FDL in cover text.
25442 (Documentation License): Use it in @include file name.
25443
7bb764bc
JM
254442012-02-22 Joseph Myers <joseph@codesourcery.com>
25445 Roland McGrath <roland@hack.frob.com>
25446
25447 [BZ #5461]
25448 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25449 not LONG_LONG_MAX and LONG_LONG_MIN.
25450 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25451 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25452 name.
25453 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25454
6cbeae47
JM
254552012-02-22 Joseph Myers <joseph@codesourcery.com>
25456
25457 [BZ #2547]
25458 [BZ #11365]
25459 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25460 manipulate bits before adding and subtracting TWO23[sx].
25461 * math/libm-test.inc (nearbyint_test): Add more tests.
25462
fe45ce09
JM
254632012-02-22 Joseph Myers <joseph@codesourcery.com>
25464
25465 [BZ #2548]
25466 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25467 bits before adding and subtracting TWO23[sx].
25468 * math/libm-test.inc (rint_test): Add more tests.
25469 (rint_test_tonearest): Likewise.
25470 (rint_test_towardzero): Likewise.
25471 (rint_test_downward): Likewise.
25472 (rint_test_upward: Likewise.
25473
ff3b3d82
JM
254742012-02-22 Joseph Myers <joseph@codesourcery.com>
25475
25476 [BZ #10110]
25477 * include/stdc-predef.h: New file. Extracted from features.h.
25478 * include/features.h: Include stdc-predef.h.
25479 * Makefile (headers): Add stdc-predef.h.
25480 * CONFORMANCE (Compiler limitations): Update.
25481
ef0aab35
JM
254822012-02-22 Joseph Myers <joseph@codesourcery.com>
25483
25484 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25485
58639409
DM
254862012-02-21 David S. Miller <davem@davemloft.net>
25487
25488 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25489 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25490
c0e70b25
DM
254912012-02-20 David S. Miller <davem@davemloft.net>
25492
25493 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25494 using a normal save/restore sequence, rather than allocating a
25495 dummy stack frame just to store a frame pointer and restore.
25496 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25497
fb06851d
JM
254982012-02-21 Joseph Myers <joseph@codesourcery.com>
25499
25500 * manual/install.texi: Fix stray word in line-wrapped comment.
25501
7a8b71c3
DM
255022012-02-20 David S. Miller <davem@davemloft.net>
25503
d510c123
DM
25504 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25505 both binutils and gcc support GOTDATA.
25506
0722d7c2
DM
25507 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25508 "rd %pc" in the PIC register setup sequences.
25509
3d2b3019
DM
25510 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25511 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25512 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25513 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25514 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25515 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25516 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25517 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25519 (SYSCALL_ERROR_HANDLER): Likewise.
25520 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25521 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25522 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25523 (SYSCALL_ERROR_HANDLER): Likewise.
25524
c80098a9
DM
25525 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25526 (HAVE_GCC_GOTDATA): New.
25527 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25528 relocation support in both binutils and gcc.
25529 * sysdeps/sparc/elf/configure: Regenerate.
25530
3a2545a0
DM
25531 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25532 * sysdeps/sparc/sparc32/elf/configure: Delete.
25533 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25534 * sysdeps/sparc/sparc64/elf/configure: Delete.
25535 * sysdeps/sparc/elf/configure.in: New file.
25536 * sysdeps/sparc/elf/configure: Generate.
25537
7a8b71c3
DM
25538 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25539 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25540 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25541 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25542 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25543
f1e86fca
JM
255442012-02-21 Joseph Myers <joseph@codesourcery.com>
25545
25546 * manual/install.texi: Do not mention specific glibc version
25547 numbers.
25548 * manual/libc.texinfo (VERSION, UPDATED): Update.
25549 (@copying): Use @copyright{} and range of years.
25550
0e7dfaef
JM
255512012-02-21 Joseph Myers <joseph@codesourcery.com>
25552
25553 [BZ #13695]
25554 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25555 [crti.S not in sysdirs] (generated): Do not append.
25556 [crti.S not in sysdirs] (omit-deps): Likewise.
25557 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25558 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25559 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25560 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25561 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25562 Likewise.
25563 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25564 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25565 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25566 * csu/defs.awk: Remove file.
25567 * sysdeps/generic/initfini.c: Likewise.
25568 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25569 variable.
25570 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25571 Likewise.
25572
599af3ca
JM
255732012-02-20 Joseph Myers <joseph@codesourcery.com>
25574
25575 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25576 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25577 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25578 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25579 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25580 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25581 <bits/epoll.h>.
25582 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25583 (__EPOLL_PACKED): Define to empty if not defined by
25584 <bits/epoll.h>.
25585 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25586 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25587 bits/epoll.h.
25588
0e499750
JM
255892012-02-20 Joseph Myers <joseph@codesourcery.com>
25590
25591 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25592 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25593 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25594 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25595 <bits/timerfd.h>.
25596 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25598 bits/timerfd.h.
25599
5ad91f6e
JM
256002012-02-20 Joseph Myers <joseph@codesourcery.com>
25601
25602 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25603 in C locale.
25604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25605 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25606 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25608
06b99b02
AJ
256092012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25610
25611 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25612 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25613
7638c0fd
AS
256142012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25615
25616 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25617 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25618 defined.
25619 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25620 Likewise.
25621 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25622 entry for 2.16.
25623
92221550
AJ
256242012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25625
25626 * math/w_acos.c: Use non-signaling floating-point comparisons.
25627 * math/w_acosf.c: Likewise.
25628 * math/w_acosh.c: Likewise.
25629 * math/w_acoshf.c: Likewise.
25630 * math/w_acoshl.c: Likewise.
25631 * math/w_acosl.c: Likewise.
25632 * math/w_asin.c: Likewise.
25633 * math/w_asinf.c: Likewise.
25634 * math/w_asinl.c: Likewise.
25635 * math/w_atanh.c: Likewise.
25636 * math/w_atanhf.c: Likewise.
25637 * math/w_atanhl.c: Likewise.
25638 * math/w_exp2.c: Likewise.
25639 * math/w_exp2f.c: Likewise.
25640 * math/w_exp2l.c: Likewise.
25641 * math/w_j0.c: Likewise.
25642 * math/w_j0f.c: Likewise.
25643 * math/w_j0l.c: Likewise.
25644 * math/w_j1.c: Likewise.
25645 * math/w_j1f.c: Likewise.
25646 * math/w_j1l.c: Likewise.
25647 * math/w_jn.c: Likewise.
25648 * math/w_jnf.c: Likewise.
25649 * math/w_log.c: Likewise.
25650 * math/w_log10.c: Likewise.
25651 * math/w_log10f.c: Likewise.
25652 * math/w_log10l.c: Likewise.
25653 * math/w_log2.c: Likewise.
25654 * math/w_log2f.c: Likewise.
25655 * math/w_log2l.c: Likewise.
25656 * math/w_logf.c: Likewise.
25657 * math/w_logl.c: Likewise.
25658 * math/w_sqrt.c: Likewise.
25659 * math/w_sqrtf.c: Likewise.
25660 * math/w_sqrtl.c: Likewise.
25661 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25662 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25663 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25664 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25665 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25666
ebaf36eb
JM
256672012-02-19 Joseph Myers <joseph@codesourcery.com>
25668
25669 [BZ #9739]
25670 * manual/string.texi (strnlen): Use correct parameter name in
25671 equivalent expression.
25672
71c254a6
JM
256732012-02-19 Joseph Myers <joseph@codesourcery.com>
25674
25675 [BZ #11174]
25676 * manual/users.texi (seteuid): Consistently use neweuid for
25677 argument name.
25678
16d2c631
JM
256792012-02-19 Joseph Myers <joseph@codesourcery.com>
25680
25681 [BZ #13704]
25682 * manual/nss.texi (Services in the NSS configuration): Correct
25683 list of services in example configuration file.
25684
cd837b09
NB
256852012-02-19 Nick Bowler <nbowler@draconx.ca>
25686
25687 [BZ #11322]
25688 * manual/arith.texi: Remove statements about negative zero
25689 behaving identically to zero.
25690
02c4bbad
JM
256912012-02-18 Joseph Myers <joseph@codesourcery.com>
25692
25693 [BZ #5993]
25694 * manual/install.texi: Do not document upgrading from libc5.
25695
366842e7
JM
256962012-02-18 Joseph Myers <joseph@codesourcery.com>
25697
25698 [BZ #4596]
25699 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25700
dd54084d
DM
257012012-02-18 David S. Miller <davem@davemloft.net>
25702
25703 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25704 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25705 %o7 across the call.
25706 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25707 instead.
25708 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25709 SETUP_PIC_REG_LEAF.
25710 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25711 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25712 * sysdeps/sparc/crtn.S: Likewise.
25713
2bcc53a3
UD
257142012-02-17 Ulrich Drepper <drepper@gmail.com>
25715
25716 * aout/Makefile: Remove.
25717
09c093b5
RK
257182012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25719
25720 [BZ #13058]
25721 * manual/examples/argp-ex1.c (main): Format definition in GNU
25722 style.
25723 * manual/examples/argp-ex2.c (main): Likewise.
25724 * manual/examples/argp-ex3.c (main): Likewise.
25725 * manual/examples/argp-ex4.c (main): Likewise.
25726 * manual/examples/longopt.c (main): Use new-style prototype
25727 definition.
25728 * manual/examples/strncat.c (main): Specify return type and use
25729 (void) for arguments.
25730 * manual/examples/subopt.c (main): Use char **argv argument.
25731
2ee633a2
JM
257322012-02-17 Joseph Myers <joseph@codesourcery.com>
25733
25734 [BZ #5077]
25735 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25736 rounding modes.
25737
0520adde
FB
257382012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25739
25740 [BZ #6907]
25741 * manual/string.texi (strchr): Change when strchrnul is
25742 recommended.
25743
3f4081cd
DGM
257442012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25745
25746 [BZ #174]
25747 * manual/locale.texi (setlocale): Document LOCPATH.
25748
d1b10e78
JM
257492012-02-17 Joseph Myers <joseph@codesourcery.com>
25750
25751 [BZ #10210]
25752 * manual/process.texi (execle): Move @dots{} before last argument.
25753
79c6869c
PB
257542012-02-17 Paul Bolle <pebolle@tiscali.nl>
25755
25756 [BZ #12047]
25757 * manual/charset.texi (Generic Charset Conversion): Fix typo
25758 (LC_TYPE -> LC_CTYPE).
25759
cc6e48bc
NB
257602012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25761
25762 [BZ #5805]
25763 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25764 (scalbnf): Likewise.
25765 (scalbnl): Likewise.
25766 (scalbln): Likewise.
25767 (scalblnf): Likewise.
25768 (scalblnl): Likewise.
25769 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25770 (vwarnx): Likewise.
25771 (verr): Likewise.
25772 (verrx): Likewise.
25773 * manual/filesys.texi (telldir): Use braces around return type.
25774 * manual/llio.texi (mmap): Add space after comma.
25775 (mmap64): Likewise.
25776 * manual/math.texi (jn): Use @var{} on parameter names.
25777 (jnf): Likewise.
25778 (jnl): Likewise.
25779 (yn): Likewise.
25780 (ynf): Likewise.
25781 (ynl): Likewise.
25782 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25783 line.
25784 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25785 "...".
25786 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25787 (sched_get_priority_max): Likewise.
25788 * manual/signal.texi (sigvec): Add space after comma.
25789 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25790 names.
25791 (if_indextoname): Likewise.
25792 (if_freenameindex): Likewise.
25793 (sendto): Use ',' instead of '.' in prototype.
25794 * manual/startup.texi (syscall): Use @dots{} instead of literal
25795 "...".
25796 * manual/stdio.texi (__fpending): Separate initial words of
25797 paragraph from @deftypefun line.
25798 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25799 "...".
25800 (vsyslog): Use @var{} on parameter names.
25801 * manual/terminal.texi (stty): Use @var{} on parameter names.
25802 * manual/users.texi (getutmp): Use @var{} on parameter names.
25803 (getutmpx): Likewise.
25804
5b23062f
JM
258052012-02-17 Joseph Myers <joseph@codesourcery.com>
25806
25807 [BZ #6884]
25808 * manual/stdio.texi (fopen): Fix typos in description of
25809 ",ccs=STRING".
25810
8dee4833
AJ
258112012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25812
25813 [BZ #4026]
25814 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25815 get clock_id definition.
25816
9078ce93
TS
258172012-02-17 Thomas Schwinge <thomas@schwinge.name>
25818
25819 [BZ #4822]
25820 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25821 (madvise): Cast every argument to void on its own.
25822
3835c55f
JM
258232012-02-17 Joseph Myers <joseph@codesourcery.com>
25824
25825 [BZ #9902]
25826 * manual/startup.texi (Exit Status): Fix typo.
25827
35c47e37
JM
258282012-02-17 Joseph Myers <joseph@codesourcery.com>
25829
25830 [BZ #10140]
25831 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25832 * manual/examples/argp-ex2.c: Likewise.
25833 * manual/examples/argp-ex3.c: Likewise.
25834
e3b69ca7
RH
258352012-02-16 Richard Henderson <rth@redhat.com>
25836
25837 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25838 * sysdeps/s390/s390-32/initfini.c: Remove.
25839 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25840 * sysdeps/s390/s390-64/initfini.c: Remove.
25841
df83af67
KK
258422012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25843
25844 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25845 compiler output for sysdeps/generic/initfini.c.
25846 * sysdeps/sh/elf/initfini.c: Remove file.
25847
f63f3380
DM
258482012-02-16 David S. Miller <davem@davemloft.net>
25849
fb59b3a4
DM
25850 [BZ #11494]
25851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25852
f63f3380
DM
25853 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25854 * sysdeps/sparc/crti.S: New file.
25855 * sysdeps/sparc/crtn.S: New file.
25856 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25857 * sysdeps/sparc/sparc64/Makefile: Likewise.
25858
df6a4a4a
MF
258592012-02-15 Mike Frysinger <vapier@gentoo.org>
25860
6dd8f3dc 25861 [BZ #3335]
df6a4a4a
MF
25862 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25863
1cac7236
RM
258642012-02-15 Roland McGrath <roland@hack.frob.com>
25865
d2c736f8
RM
25866 [BZ #4822]
25867 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25868
1cac7236
RM
25869 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25870 (write, read, close): Likewise.
25871 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25872
8e475601
JM
258732012-02-15 Joseph Myers <joseph@codesourcery.com>
25874
25875 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25876 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25877 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25878 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25879 <bits/signalfd.h>.
25880 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25882 bits/signalfd.h.
25883
ed656b40
MP
258842012-02-14 Marek Polacek <polacek@redhat.com>
25885
25886 * sysdeps/x86_64/crti.S: New file.
25887 * sysdeps/x86_64/crtn.S: New file.
25888 * sysdeps/x86_64/elf/initfini.c: Remove file.
25889
2a979d3a
JM
258902012-02-13 Joseph Myers <joseph@codesourcery.com>
25891
25892 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25893 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25894 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25895 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25896 <bits/inotify.h>.
25897 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25899 bits/inotify.h.
25900
2a418ac3
JM
259012012-02-13 Joseph Myers <joseph@codesourcery.com>
25902
25903 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25904 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25905 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25906 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25907 <bits/eventfd.h>.
25908 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25910 bits/eventfd.h.
25911
fb779be7
TS
259122012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25913
e19e83c5
RM
25914 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25915 __feraiseexcept instead of feraiseexcept.
7c35ffed 25916
fb779be7
TS
25917 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25918 nanosleep invocations.
25919 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25920 strings, and add error checking for a nanosleep invocations.
25921
59ba27a6
PE
259222012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25923
25924 Replace FSF snail mail address with URLs, as per GNU coding standards.
25925 Most of the snail mail addresses were wrong anyway, and omitting
25926 them makes the source code easier to maintain. Almost all of the
25927 changes are to license notices and to locale LC_IDENTIFICATION
25928 addresses, except for this one:
25929 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25930 not its snail mail address.
25931
57b957eb
RH
259322012-02-09 Richard Henderson <rth@twiddle.net>
25933
af850b1c
RH
25934 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25935 of kernel-features.h.
25936
57b957eb
RH
25937 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25938
6b73181a
MP
259392012-02-08 Marek Polacek <polacek@redhat.com>
25940
25941 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25942 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25943 * sysdeps/gnu/_G_config.h: Likewise.
25944 * sysdeps/generic/_G_config.h: Likewise.
25945
26ecc33a
AS
259462012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25947
6c6dbc63
AS
25948 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25949 tests.
25950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25951
e216c012
AS
25952 * sysdeps/powerpc/powerpc32/crti.S: New file.
25953 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25954 * sysdeps/powerpc/powerpc64/crti.S: New file.
25955 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25956
26ecc33a
AS
25957 * Makeconfig (have-initfini): Don't set.
25958 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25959 * configure.in (nopic_initfini): Don't substitute.
25960 * config.h.in (HAVE_INITFINI): Don't #undef.
25961 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25962 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25963
3add8e13
JM
259642012-02-08 Joseph Myers <joseph@codesourcery.com>
25965
25966 Support crti.S and crtn.S provided directly by architectures.
25967 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25968 [crti.S in sysdirs] (omit-deps): Likewise.
25969 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25970 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25971 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25972 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25973 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25974 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25975 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25976 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25977 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25978 compiler output for sysdeps/generic/initfini.c.
25979 * sysdeps/i386/elf/Makefile: Remove file.
25980 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25981
a22f12b4
MP
259822012-02-07 Marek Polacek <polacek@redhat.com>
25983
25984 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25985 * sysdeps/gnu/_G_config.h: Likewise.
25986 * sysdeps/mach/hurd/_G_config.h: Likewise.
25987
148cf100
MP
259882012-02-07 Marek Polacek <polacek@redhat.com>
25989
25990 * math/Makefile (tests): Add tst-CMPLX2.
25991 * math/tst-CMPLX2.c: New file.
25992
cfdc0dd7
AS
259932012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25994
84ba42c4
AS
25995 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25996
cfdc0dd7
AS
25997 * math/libm-test.inc (jn_test): Add missing L suffix.
25998
622c86f4
MP
259992012-02-06 Marek Polacek <polacek@redhat.com>
26000
26001 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26002 * sysdeps/i386/fpu/e_powf.S: Likewise.
26003 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26004 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26005 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26006 * sysdeps/i386/fpu/e_pow.S: Likewise.
26007 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26008 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26009 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26010 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26011 * sysdeps/i386/fpu/e_log2.S: Likewise.
26012 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26013 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26014 * sysdeps/i386/fpu/e_powl.S: Likewise.
26015 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26016 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26017 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26018 * sysdeps/i386/fpu/e_logl.S: Likewise.
26019 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26020 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26021 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26022 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26023 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26024 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26025 * sysdeps/i386/fpu/e_log.S: Likewise.
26026 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26027 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26028 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26029 * sysdeps/i386/fpu/e_logf.S: Likewise.
26030 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26031 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26032 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26033 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26034 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26035 * sysdeps/i386/fpu/e_log10.S: Likewise.
26036 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26037 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26038 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26039 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26040 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26041 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26042 * sysdeps/i386/asm-syntax.h: Likewise.
26043 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26044 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26045 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26046 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26047 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26048 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26049 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26050 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26051 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26052 * sysdeps/powerpc/sysdep.h: Likewise.
26053 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26054 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26055
d4a54ac6
JM
260562012-02-06 Joseph Myers <joseph@codesourcery.com>
26057
26058 [BZ #411]
26059 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26060
314054ea
JM
260612012-02-06 Joseph Myers <joseph@codesourcery.com>
26062
26063 * sysdeps/i386/sysdep.h: Include <features.h>.
26064 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26065 version.
26066
d8e0ca50
JM
260672012-02-05 Joseph Myers <joseph@codesourcery.com>
26068
26069 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26070 Define.
26071 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26072 LOAD_PIC_REG_STR.
26073
b1da7dd9
JM
260742012-02-03 Joseph Myers <joseph@codesourcery.com>
26075
26076 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26077 (SETUP_PIC_REG): Use GET_PC_THUNK.
26078 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26079 macro.
26080
9a1d9254
JM
260812012-02-03 Joseph Myers <joseph@codesourcery.com>
26082
26083 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26084 for non-PIC compilation.
26085 (SETUP_PIC_REG): Add .p2align directive.
26086 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26087 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26088 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26089 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26090 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26091 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26092 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26093 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26094 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26095 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26096 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26097 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26098 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26099 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26100 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26101 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26102 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26103 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26104 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26105 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26106 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26107 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26108 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26109 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26110 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26111 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26112 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26113 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26114 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26115 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26116 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26117 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26118 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26119 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26120 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26121 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26122 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26123 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26124 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26125 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26126 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26127
65dc3b75
JM
261282012-02-03 Joseph Myers <joseph@codesourcery.com>
26129
26130 * math/tst-CMPLX.c: Include <stdio.h>.
26131
d55bf177
JM
261322012-01-31 Joseph Myers <joseph@codesourcery.com>
26133
26134 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26135 float.
26136 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26137 * sysdeps/sparc/bits/mathdef.h: Likewise.
26138
69db4f8f
MP
261392012-01-31 Marek Polacek <polacek@redhat.com>
26140
26141 * libio/libio.h: Don't define _PARAMS.
26142 * locale/programs/config.h: Don't define PARAMS.
26143 * stdlib/strtol_l.c: Likewise.
26144 (__strtol_l): Remove PARAMS from the prototype.
26145
41b81892
UD
261462012-01-31 Ulrich Drepper <drepper@gmail.com>
26147
3b49edc0
UD
26148 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26149 names. Just use the correct names. Remove unnecessary wrapper
26150 functions.
26151 * malloc/arena.c: Likewise.
26152 * malloc/hooks.c: Likewise.
26153
41b81892
UD
26154 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26155 ARENA_TEST says not to. Simplify test for creation of a new arena.
26156 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26157
27a25b6e
UD
261582012-01-30 Ulrich Drepper <drepper@gmail.com>
26159
26160 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26161 into tail calls.
26162 (update_get_addr): New function.
26163 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26164 GET_ADDR_MODULE parameter.
26165
c8a89e7d
JM
261662012-01-30 Joseph Myers <joseph@codesourcery.com>
26167
26168 * crypt/cert.c: Remove __STDC__ conditionals.
26169 * crypt/crypt-entry.c: Likewise.
26170 * crypt/crypt_util.c: Likewise.
26171 * libio/filedoalloc.c: Likewise.
26172 * libio/fileops.c: Likewise.
26173 * libio/genops.c: Likewise.
26174 * libio/iofclose.c: Likewise.
26175 * libio/iofdopen.c: Likewise.
26176 * libio/iofopen.c: Likewise.
26177 * libio/iofopen64.c: Likewise.
26178 * libio/iogetdelim.c: Likewise.
26179 * libio/iopopen.c: Likewise.
26180 * libio/obprintf.c: Likewise.
26181 * libio/oldfileops.c: Likewise.
26182 * libio/oldiofclose.c: Likewise.
26183 * libio/oldiofdopen.c: Likewise.
26184 * libio/oldiofopen.c: Likewise.
26185 * libio/oldiopopen.c: Likewise.
26186 * libio/wfiledoalloc.c: Likewise.
26187 * libio/wgenops.c: Likewise.
26188 * locale/programs/xmalloc.c: Likewise.
26189 * misc/syslog.c: Likewise.
26190 * stdio-common/xbug.c: Likewise.
26191 * string/memchr.c: Likewise.
26192 * string/memcmp.c: Likewise.
26193 * string/memrchr.c: Likewise.
26194 * string/rawmemchr.c: Likewise.
26195 * sysdeps/posix/getcwd.c: Likewise.
26196 * time/strftime_l.c: Likewise.
26197
3b100462
JM
261982012-01-30 Joseph Myers <joseph@codesourcery.com>
26199
26200 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
26201 * config.make.in (config-cflags-sse2avx): Define.
26202 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26203 Fix typo.
26204
607998af
CM
262052012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26206
26207 * scripts/config.guess: Update from upstream config git repository.
26208 * scripts/config.sub: Likewise.
26209
3601428f
CM
262102012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26211
3ac8b282
CM
26212 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26213 (EM_NUM): Update.
26214 (R_TILEPRO_*, R_TILEGX_*): New macros.
26215
e034841e
CM
26216 * scripts/firstversions.awk: Fix bug in version range handling.
26217
540d7568
CM
26218 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26219
3601428f
CM
26220 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26221
463de862
CM
26222 * include/sys/epoll.h: New file.
26223 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26224 libc_hidden_def.
26225
73139a76
UD
262262012-01-28 Ulrich Drepper <drepper@gmail.com>
26227
96bc5b45
UD
26228 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26229 Avoid unnecessary __WORDSIZE == 64 test.
26230 (fmaxf): Use VEX format if possible.
26231 (fmax): Likewise.
26232 (fminf): Likewise.
26233 (fmin): Likewise.
26234
56f6f6a2
UD
26235 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26236 * math/math_private.h: Remove libc_fegetround* and
26237 libc_fesetround*.
26238 * sysdeps/i386/configure.in: Check for -msse2avx.
26239 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26240 also if SSE2AVX is defined.
26241 Remove libc_fegetround* and libc_fesetround*.
26242 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26243 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26244 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26245 of HAS_YMM_USABLE.
26246 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26247 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26248 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26249 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26250 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26251
73139a76
UD
26252 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26253
d73f93a4
AZ
262542012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26255
26256 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26257 size is not set.
26258 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26259
6ee65ed6
UD
262602012-01-27 Ulrich Drepper <drepper@gmail.com>
26261
26262 [BZ #13618]
26263 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26264 relocation.
26265 * Makeconfig (libm): Define.
26266 * elf/Makefile: Add rules to build and run tst-relsort1.
26267 * elf/tst-relsort1.c: New file.
26268 * elf/tst-relsort1mod1.c: New file.
26269 * elf/tst-relsort1mod2.c: New file.
26270
8db21882
JM
262712012-01-27 Joseph Myers <joseph@codesourcery.com>
26272
26273 * math/s_ldexp.c: Remove __STDC__ conditionals.
26274 * math/s_ldexpf.c: Likewise.
26275 * math/s_ldexpl.c: Likewise.
26276 * math/s_nextafter.c: Likewise.
26277 * math/s_nexttowardf.c: Likewise.
26278 * math/s_significand.c: Likewise.
26279 * math/s_significandf.c: Likewise.
26280 * math/s_significandl.c: Likewise.
26281 * math/w_jnl.c: Likewise.
26282 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26283 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26284 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26285 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26286 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26287 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26288 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26289 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26290 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26291 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26292 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26293 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26294 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26295 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26296 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26297 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26298 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26299 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26300 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26301 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26302 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26303 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26304 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26305 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26306 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26307 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26308 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26309 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26310 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26311 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26312 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26313 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26314 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26315 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26316 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26317 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26318 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26319 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26320 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26321 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26322 * sysdeps/ieee754/k_standard.c: Likewise.
26323 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26324 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26325 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26326 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26327 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26328 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26329 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26330 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26331 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26332 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26333 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26334 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26335 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26336 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26337 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26338 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26339 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26340 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26341 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26342 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26344 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26346 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26348 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26349 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26350 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26351 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26352 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26353 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26354 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26355 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26356 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26357 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26358 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26359 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26360 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26361 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26362 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26363 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26364 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26365 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26366 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26367 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26368 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26369 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26370 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26371 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26372 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26373 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26374 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26375 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26376 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26377 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26378 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26379 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26380 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26381 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26382 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26383 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26384 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26385 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26386 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26387 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26388 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26389 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26390 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26391 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26392 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26393 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26394 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26395 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26396 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26397 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26398 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26399 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26400 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26401 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26402 * sysdeps/ieee754/s_matherr.c: Likewise.
26403 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26404 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26405 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26406 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26407
965a54a4
JM
264082012-01-26 Joseph Myers <joseph@codesourcery.com>
26409
26410 * crypt/md5.h: Remove __STDC__ conditionals.
26411 * libio/libioP.h: Likewise.
26412 * locale/programs/config.h: Likewise.
26413 * sysdeps/generic/sysdep.h: Likewise.
26414 * sysdeps/i386/asm-syntax.h: Likewise.
26415 * sysdeps/s390/asm-syntax.h: Likewise.
26416 * sysdeps/unix/sysdep.h: Likewise.
26417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26419
7071ad79
JM
264202012-01-26 Joseph Myers <joseph@codesourcery.com>
26421
26422 * libio/libio.h: Remove __STDC__ conditionals.
26423 * malloc/obstack.h: Likewise.
26424 * math/complex.h: Likewise.
26425 * math/math.h: Likewise.
26426 * sysdeps/generic/_G_config.h: Likewise.
26427 * sysdeps/gnu/_G_config.h: Likewise.
26428 * sysdeps/mach/hurd/_G_config.h: Likewise.
26429 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26430 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26431 * sysdeps/sparc/bits/mathdef.h: Likewise.
26432
afc5ed09
UD
264332012-01-26 Ulrich Drepper <drepper@gmail.com>
26434
26435 [BZ #13583]
26436 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26437 Clean up HAS_* macros.
afc5ed09 26438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26439 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26440 possible.
26441 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26442 HAS_AVX.
26443 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26444 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26445 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26446 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26447 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26448
bdb6de1d
JM
264492012-01-25 Joseph Myers <joseph@codesourcery.com>
26450
26451 * elf/tst-unique3.cc (gets): Remove declaration.
26452 * elf/tst-unique3lib.cc (gets): Likewise.
26453 * elf/tst-unique3lib2.cc (gets): Likewise.
26454 * elf/tst-unique4.cc (gets): Likewise.
26455
b15549e6
UD
264562012-01-24 Ulrich Drepper <drepper@gmail.com>
26457
26458 * include/stdio.h: Add C++ protection. Add gets declarations and
26459 definitions.
26460 * debug/tst-chk1.c: Don't declare gets here.
26461 * stdio-common/tst-gets.c: Likewise.
26462
a037381f
JM
264632012-01-24 Joseph Myers <joseph@codesourcery.com>
26464
26465 * posix/glob: Remove directory.
26466
f1d4aa75
JM
264672012-01-24 Joseph Myers <joseph@codesourcery.com>
26468
26469 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26470
81c0c964
PT
264712012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26472
26473 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26474 of the non-standard EPFNOSUPPORT.
26475
0ea698ae
ST
264762011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26477
26478 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26479 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26480 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26481
d220b117
UD
264822012-01-21 Ulrich Drepper <drepper@gmail.com>
26483
26484 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26485
3e1aa84e
UD
264862012-01-20 Ulrich Drepper <drepper@gmail.com>
26487
26488 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26489 transient errors.
26490 * nscd/grpcache.c (cache_addgr): Likewise.
26491 * nscd/hstcache.c (cache_addhst): Likewise.
26492 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26493 * nscd/pwdcache.c (cache_addpw): Likewise.
26494 * nscd/servicescache.c (cache_addserv): Likewise.
26495
400aa020
UD
264962012-01-16 Ulrich Drepper <drepper@gmail.com>
26497
d77e7869
UD
26498 * malloc/malloc.c: Various cleanups.
26499 * malloc/hooks.c: Likewise.
26500
400aa020
UD
26501 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26502 * stdlib/bug-fmtmsg1.c: New file.
26503
26504 * stdlib/fmtmsg.c (init): Add missing unlock.
26505 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26506
e0a309cf
MP
265072012-01-12 Marek Polacek <polacek@redhat.com>
26508
26509 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26510 and _GNU_SOURCE.
26511
929d11c7
WS
265122012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26513
26514 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26515 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26516 macro to ensure uniqueness of label name.
26517 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26518 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26519
41d0e869
UD
265202012-01-11 Ulrich Drepper <drepper@gmail.com>
26521
0cc5ed3b
UD
26522 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26523
41d0e869
UD
26524 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26525 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26526 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26527 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26528
a47a831a
UD
265292012-01-10 Ulrich Drepper <drepper@gmail.com>
26530
daa891c0
UD
26531 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26532
26533 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26534 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26535 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26536
e58ef0f2
UD
26537 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26538
a47a831a 26539 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26540 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26541 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26542 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26543
26544 * math/bits/math-finite.h: Add ldexp support.
26545
a0bfc9c7
MP
265462012-01-10 Marek Polacek <polacek@redhat.com>
26547
26548 * locale/programs/localedef.h (show_archive_content): Add noreturn
26549 attribute.
26550
d6e97a1d
UD
265512012-01-09 Ulrich Drepper <drepper@gmail.com>
26552
26553 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26554
d5835c26
UD
265552012-01-08 Ulrich Drepper <drepper@gmail.com>
26556
e5f484c6
UD
26557 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26558
d5835c26
UD
26559 * io/Makefile (headers): Add bits/poll2.h.
26560
d1f741e9
WS
265612011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26562
26563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26564 typo #include statement.
26565
ec09c1c4
UD
265662012-01-08 Ulrich Drepper <drepper@gmail.com>
26567
26568 * include/sys/cdefs.h: Define __attribute_alloc_size.
26569 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26570 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26571 * elf/pldd.c: Likewise.
26572 * iconv/iconv_charmap.c: Likewise.
26573 * iconv/iconvconfig.c: Likewise.
26574 * iconv/strtab.c: Likewise.
26575 * locale/programs/locale.c: Likewise.
26576 * locale/programs/localedef.h: Likewise.
26577 * locale/programs/simple-hash.c: Likewise.
26578 * nscd/nscd.h: Likewise.
26579 * nss/makedb.c: Likewise.
26580 * sysdeps/generic/ldconfig.h: Likewise.
26581 * locale/programs/localedef.c: Remove xmalloc prototype.
26582 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26583
20b38e03
PP
265842012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26585
26586 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26587 appropriate.
26588
a0da5fe1
UD
265892012-01-08 Ulrich Drepper <drepper@gmail.com>
26590
1d5a644a 26591 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26592 * math/tst-CMPLX.c: New file.
1d5a644a 26593
8784a6db
UD
26594 * math/complex.h (CMPLXL): Fix typo.
26595
d9a216c0
UD
26596 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26597 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26598 GLIBC_2.16.
26599 * debug/tst-chk1.c: Add poll and ppoll tests.
26600 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26601 * include/sys/poll.h: Add hidden proto for ppoll.
26602 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26603 * sysdeps/mach/hurd/ppoll.c: Likewise.
26604 * io/ppoll.c: Likewise.
26605 * debug/poll_chk.c: New file.
26606 * debug/ppoll_chk.c: New file.
26607 * include/bits/poll2.h: New file.
26608 * io/bits/poll2.h: New file.
26609
ac097f5c
UD
26610 [BZ #1350]
26611 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26612
2119dcfa
UD
26613 * configure.in: static is always set to yes. Remove.
26614 * config.make.in: Don't set build-static.
26615 * Makeconfig: Remove use of build-static.
26616 * dlfcn/Makefile: Likewise.
26617 * elf/Makefile: Likewise.
26618 * math/Makefile: Likewise.
26619 * misc/Makefile: Likewise.
26620 * nptl/Makefile: Likewise.
26621 * sysdeps/mach/hurd/Makefile: Likewise.
26622
121766a9
UD
26623 * configure.in: PWD_P is not used anymore.
26624 * config.make.in: Remove PWD_P entry.
26625
51a1d39c 26626 * configure.in: Remove last remnants of RANLIB.
8720d066 26627 No need to check for signed size_t anymore.
215f4bdc
UD
26628 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26629 and IA-64.
3857022a 26630 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26631 * aclocal.m4: Likewise.
26632
d3ed7225
UD
26633 * wcsmbs/mbrtoc16.c: Implement using towc function.
26634 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26635 * wcsmbs/wcsmbsload.c: Likewise.
26636 * iconv/gconv_simple.c: Likewise.
26637 * iconv/gconv_int.h: Likewise.
26638 * iconv/gconv_builtin.h: Likewise.
26639 * iconv/iconv_prog.c: Remove CHAR16 handling.
26640
26641 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26642
26643 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26644
a0da5fe1
UD
26645 * configure.in: Remove --with-elf and --enable-bounded options.
26646 Dont set base_machine for ia64. More non-ELF conditions removed.
26647 Remove testing and setting of leading underscore information.
26648 * config.make.in (build-bounded): Set to no.
26649 * config.h.in: Remove NO_UNDERSCORES entry.
26650 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26651 them.
26652 * csu/start.c: Remove !NO_UNDERSCORE code.
26653 * locale/localeinfo.h: Likewise.
26654 * sysdeps/generic/machine-gmon.h: Likewise.
26655 * sysdeps/generic/sysdep.h: Likewise.
26656 * sysdeps/i386/sysdep.h: Likewise.
26657 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26658 * sysdeps/mach/sysdep.h: Likewise.
26659 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26660 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26661 * sysdeps/sh/sysdep.h: Likewise.
26662 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26663 * sysdeps/unix/i386/sysdep.S: Likewise.
26664 * sysdeps/unix/sparc/start.c: Likewise.
26665 * sysdeps/unix/sparc/sysdep.S: Likewise.
26666 * sysdeps/unix/sparc/sysdep.h: Likewise.
26667 * sysdeps/unix/start.c: Likewise.
26668 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26669 * sysdeps/x86_64/sysdep.h: Likewise.
26670
df78418a
UD
266712012-01-07 Ulrich Drepper <drepper@gmail.com>
26672
a784e502
UD
26673 [BZ #13553]
26674 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26675 for non-gcc.
26676 * argp/argp-fmtstream.h: Use const instead __const.
26677 * argp/argp.h: Likewise.
26678 * assert/assert.h: Likewise.
26679 * bits/fenv.h: Likewise.
26680 * bits/sched.h: Likewise.
26681 * bits/sigset.h: Likewise.
26682 * bits/sigthread.h: Likewise.
26683 * catgets/nl_types.h: Likewise.
26684 * conform/data/pthread.h-data: Likewise.
26685 * crypt/crypt-private.h: Likewise.
26686 * crypt/crypt.h: Likewise.
26687 * crypt/crypt_util.c: Likewise.
26688 * ctype/ctype.h: Likewise.
26689 * debug/execinfo.h: Likewise.
26690 * debug/mbsnrtowcs_chk.c: Likewise.
26691 * debug/mbsrtowcs_chk.c: Likewise.
26692 * debug/wcsnrtombs_chk.c: Likewise.
26693 * debug/wcsrtombs_chk.c: Likewise.
26694 * debug/wcstombs_chk.c: Likewise.
26695 * dirent/dirent.h: Likewise.
26696 * dlfcn/dlfcn.h: Likewise.
26697 * elf/neededtest4.c: Likewise.
26698 * grp/grp.h: Likewise.
26699 * gshadow/gshadow.h: Likewise.
26700 * iconv/gconv.h: Likewise.
26701 * iconv/gconv_int.h: Likewise.
26702 * iconv/gconv_simple.c: Likewise.
26703 * iconv/iconv.h: Likewise.
26704 * iconv/loop.c: Likewise.
26705 * iconv/skeleton.c: Likewise.
26706 * include/aio.h: Likewise.
26707 * include/aliases.h: Likewise.
26708 * include/argz.h: Likewise.
26709 * include/arpa/inet.h: Likewise.
26710 * include/assert.h: Likewise.
26711 * include/dirent.h: Likewise.
26712 * include/dlfcn.h: Likewise.
26713 * include/execinfo.h: Likewise.
26714 * include/fcntl.h: Likewise.
26715 * include/fenv.h: Likewise.
26716 * include/glob.h: Likewise.
26717 * include/grp.h: Likewise.
26718 * include/libintl.h: Likewise.
26719 * include/mntent.h: Likewise.
26720 * include/netdb.h: Likewise.
26721 * include/pwd.h: Likewise.
26722 * include/rpc/netdb.h: Likewise.
26723 * include/sched.h: Likewise.
26724 * include/search.h: Likewise.
26725 * include/shadow.h: Likewise.
26726 * include/signal.h: Likewise.
26727 * include/stdio.h: Likewise.
26728 * include/stdlib.h: Likewise.
26729 * include/string.h: Likewise.
26730 * include/sys/socket.h: Likewise.
26731 * include/sys/stat.h: Likewise.
26732 * include/sys/statfs.h: Likewise.
26733 * include/sys/statvfs.h: Likewise.
26734 * include/sys/syslog.h: Likewise.
26735 * include/sys/time.h: Likewise.
26736 * include/sys/uio.h: Likewise.
26737 * include/time.h: Likewise.
26738 * include/unistd.h: Likewise.
26739 * include/utmp.h: Likewise.
26740 * include/wchar.h: Likewise.
26741 * include/wctype.h: Likewise.
26742 * inet/aliases.h: Likewise.
26743 * inet/arpa/inet.h: Likewise.
26744 * inet/netinet/ether.h: Likewise.
26745 * inet/netinet/in.h: Likewise.
26746 * intl/libintl.h: Likewise.
26747 * io/bits/fcntl2.h: Likewise.
26748 * io/fcntl.h: Likewise.
26749 * io/ftw.h: Likewise.
26750 * io/sys/poll.h: Likewise.
26751 * io/sys/stat.h: Likewise.
26752 * io/sys/statfs.h: Likewise.
26753 * io/sys/statvfs.h: Likewise.
26754 * io/utime.h: Likewise.
26755 * libio/bits/stdio.h: Likewise.
26756 * libio/bits/stdio2.h: Likewise.
26757 * libio/libio.h: Likewise.
26758 * libio/libioP.h: Likewise.
26759 * libio/stdio.h: Likewise.
26760 * locale/lc-ctype.c: Likewise.
26761 * locale/locale.h: Likewise.
26762 * login/utmp.h: Likewise.
26763 * malloc/arena.c: Likewise.
26764 * malloc/malloc.c: Likewise.
26765 * malloc/malloc.h: Likewise.
26766 * malloc/mcheck.c: Likewise.
26767 * malloc/mtrace.c: Likewise.
26768 * math/bits/mathcalls.h: Likewise.
26769 * math/fenv.h: Likewise.
26770 * math/math_private.h: Likewise.
26771 * misc/bits/error.h: Likewise.
26772 * misc/bits/syslog.h: Likewise.
26773 * misc/err.h: Likewise.
26774 * misc/error.h: Likewise.
26775 * misc/fstab.h: Likewise.
26776 * misc/mntent.h: Likewise.
26777 * misc/regexp.h: Likewise.
26778 * misc/search.h: Likewise.
26779 * misc/sgtty.h: Likewise.
26780 * misc/sys/mman.h: Likewise.
26781 * misc/sys/syslog.h: Likewise.
26782 * misc/sys/uio.h: Likewise.
26783 * misc/sys/xattr.h: Likewise.
26784 * misc/ttyent.h: Likewise.
26785 * nis/rpcsvc/ypclnt.h: Likewise.
26786 * nss/nss.h: Likewise.
26787 * posix/bits/unistd.h: Likewise.
26788 * posix/fnmatch.h: Likewise.
26789 * posix/glob.h: Likewise.
26790 * posix/sched.h: Likewise.
26791 * posix/spawn.h: Likewise.
26792 * posix/sys/wait.h: Likewise.
26793 * posix/unistd.h: Likewise.
26794 * posix/wordexp.h: Likewise.
26795 * pwd/pwd.h: Likewise.
26796 * resolv/netdb.h: Likewise.
26797 * resource/sys/resource.h: Likewise.
26798 * rt/aio.h: Likewise.
26799 * rt/bits/mqueue2.h: Likewise.
26800 * rt/mqueue.h: Likewise.
26801 * shadow/shadow.h: Likewise.
26802 * signal/signal.h: Likewise.
26803 * socket/send.c: Likewise.
26804 * socket/sendto.c: Likewise.
26805 * socket/sys/socket.h: Likewise.
26806 * stdio-common/printf.h: Likewise.
26807 * stdlib/bits/stdlib.h: Likewise.
26808 * stdlib/fmtmsg.h: Likewise.
26809 * stdlib/monetary.h: Likewise.
26810 * stdlib/stdlib.h: Likewise.
26811 * stdlib/ucontext.h: Likewise.
26812 * streams/stropts.h: Likewise.
26813 * string/argz.h: Likewise.
26814 * string/bits/string2.h: Likewise.
26815 * string/string.h: Likewise.
26816 * string/strings.h: Likewise.
26817 * sunrpc/rpc/auth.h: Likewise.
26818 * sunrpc/rpc/auth_des.h: Likewise.
26819 * sunrpc/rpc/clnt.h: Likewise.
26820 * sunrpc/rpc/netdb.h: Likewise.
26821 * sunrpc/rpc/pmap_clnt.h: Likewise.
26822 * sunrpc/rpc/xdr.h: Likewise.
26823 * sysdeps/generic/inttypes.h: Likewise.
26824 * sysdeps/generic/net/if.h: Likewise.
26825 * sysdeps/generic/sys/swap.h: Likewise.
26826 * sysdeps/gnu/net/if.h: Likewise.
26827 * sysdeps/gnu/utmpx.h: Likewise.
26828 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26829 * sysdeps/i386/i486/bits/string.h: Likewise.
26830 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26831 * sysdeps/s390/bits/string.h: Likewise.
26832 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26833 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26834 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26835 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26836 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26837 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26838 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26839 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26840 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26841 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26842 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26843 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26844 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26845 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26846 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26847 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26848 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26850 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26851 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26852 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26853 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26854 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26855 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26856 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26857 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26858 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26859 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26860 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26861 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26862 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26863 * sysvipc/sys/ipc.h: Likewise.
26864 * sysvipc/sys/msg.h: Likewise.
26865 * sysvipc/sys/sem.h: Likewise.
26866 * sysvipc/sys/shm.h: Likewise.
26867 * termios/termios.h: Likewise.
26868 * time/sys/time.h: Likewise.
26869 * time/time.h: Likewise.
26870 * wcsmbs/bits/wchar2.h: Likewise.
26871 * wcsmbs/uchar.h: Likewise.
26872 * wcsmbs/wchar.h: Likewise.
26873 * wctype/wctype.h: Likewise.
26874
0269750c
UD
26875 [BZ #13551]
26876 * Makeconfig: Remove all but ELF support including AIX support.
26877 * Makerules: Likewise.
26878 * config.h.in: Likewise.
26879 * config.make.in: Likewise.
26880 * configure: Likewise.
26881 * configure.in: Likewise.
26882 * csu/Makefile: Likewise.
26883 * csu/version.c: Likewise.
26884 * debug/Makefile: Likewise.
26885 * dlfcn/Makefile: Likewise.
26886 * elf/Makefile: Likewise.
26887 * extra-lib.mk: Likewise.
26888 * iconv/Makefile: Likewise.
26889 * include/libc-symbols.h: Likewise.
26890 * include/shlib-compat.h: Likewise.
26891 * resolv/Makefile: Likewise.
26892 * resolv/res_libc.c: Likewise.
26893 * rt/Makefile: Likewise.
26894 * sysdeps/i386/asm-syntax.h: Likewise.
26895 * sysdeps/i386/sysdep.h: Likewise.
26896 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26897 * sysdeps/mach/sysdep.h: Likewise.
26898 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26899 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26900 * sysdeps/s390/asm-syntax.h: Likewise.
26901 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26902 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26903 * sysdeps/sh/sysdep.h: Likewise.
26904 * sysdeps/unix/sparc/sysdep.h: Likewise.
26905 * sysdeps/wordsize-32/divdi3.c: Likewise.
26906 * sysdeps/x86_64/sysdep.h: Likewise.
26907
00bbd29b
UD
26908 * argp/Versions: Remove _argp_unlock_xxx.
26909
26910 [BZ #13559]
26911 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26912 * abilist/libBrokenLocale.abilist: Likewise.
26913 * abilist/libanl.abilist: Likewise.
26914 * abilist/libc.abilist: Likewise.
26915 * abilist/libcrypt.abilist: Likewise.
26916 * abilist/libdl.abilist: Likewise.
26917 * abilist/libm.abilist: Likewise.
26918 * abilist/libnsl.abilist: Likewise.
26919 * abilist/libpthread.abilist: Likewise.
26920 * abilist/libresolv.abilist: Likewise.
26921 * abilist/librt.abilist: Likewise.
26922 * abilist/libthread_db.abilist: Likewise.
26923 * abilist/libutil.abilist: Likewise.
26924 * abilist/libnss_db.abilist: New file.
26925
26926 * scripts/abilist.awk: Add support for indirect functions.
26927
a2693a0e
UD
26928 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26929
3f05895f
UD
26930 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26931
ecb6fb48
UD
26932 * shlib-versions: Remove entries for ports architectures.
26933
664f8cb9
UD
26934 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26935 files in ports.
26936 * elf/stackguard-macros.h: Remove support for IA-64.
26937 * elf/tst-auditmod1.c: Likewise.
26938 * sysdeps/generic/ldsodefs.h: Likewise.
26939
7ae81d88
UD
26940 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26941 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26942 configure files.
26943
bdeba135
UD
26944 [BZ #13552]
26945 * configure.in: Remove --enable-omitfp support.
26946 * FAQ.in: Adjust.
26947 * config.make.in: Likewise.
26948 * Makeconfig: Likewise.
26949 * manual/install.texi: Likewise.
26950
d75a0a62
UD
26951 In case anyone cares, the IA-64 architecture could move to ports.
26952 * sysdeps/ia64/*: Removed.
26953 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26954 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26955
dcc9756b
UD
26956 [BZ #13555]
26957 * configure.in: Remove entries for unsupported architectures.
26958
d3761ebc 26959 [BZ #13533]
9954432e
UD
26960 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26961 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26962 routines.
26963 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26964 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26965 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26966 fall back to using wcrtomb.
26967 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26968 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26969 renaming.
26970 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26971 * wcsmbs/tst-c16c32-1.c: New file.
26972
26973 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26974 local variable.
26975
c3a87236
UD
26976 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26977
28926a1b
UD
26978 * elf/tst-unique3.cc: Add explicit declaration of gets.
26979 * elf/tst-unique3lib.cc: Likewise.
26980 * elf/tst-unique3lib2.cc: Likewise.
26981 * elf/tst-unique4.cc: Likewise.
26982
df78418a
UD
26983 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26984
8ecd6b2a
JM
269852012-01-06 Joseph Myers <joseph@codesourcery.com>
26986
26987 [BZ #13566]
26988 * assert/assert.h (static_assert): Don't define for C++.
26989 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26990 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26991
9f115170
UD
269922012-01-03 Ulrich Drepper <drepper@gmail.com>
26993
5e0d0300
UD
26994 * iconv/loop.c (single loop): Fix assertion in storing of
26995 remaining bytes.
26996
9f115170
UD
26997 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26998
81fb02b0
UD
269992012-01-01 Ulrich Drepper <drepper@gmail.com>
27000
27001 * posix/getconf.c: Update copyright year.
27002 * nss/getent.c: Likewise.
a316c1f6 27003 * nss/makedb.c: Likewise.
81fb02b0
UD
27004 * iconv/iconvconfig.c: Likewise.
27005 * iconv/iconv_prog.c: Likewise.
27006 * elf/ldconfig.c: Likewise.
a316c1f6
UD
27007 * elf/pldd.c: Likewise.
27008 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
27009 * catgets/gencat.c: Likewise.
27010 * csu/version.c: Likewise.
27011 * elf/ldd.bash.in: Likewise.
27012 * elf/sprof.c (print_version): Likewise.
27013 * locale/programs/locale.c: Likewise.
27014 * locale/programs/localedef.c: Likewise.
a316c1f6 27015 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
27016 * nscd/nscd.c (print_version): Likewise.
27017 * debug/xtrace.sh: Likewise.
27018 * malloc/memusage.sh: Likewise.
27019 * malloc/mtrace.pl: Likewise.
27020 * debug/catchsegv.sh: Likewise.
27021
2ba92745
JJ
270222011-12-30 Jakub Jelinek <jakub@redhat.com>
27023
27024 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27025 pure attribute.
27026
dadebdae
UD
270272011-12-24 Ulrich Drepper <drepper@gmail.com>
27028
d3761ebc 27029 [BZ #13533]
db6af3eb
UD
27030 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27031 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27032 transformations.
27033 * iconv/gconv_int.h: Likewise.
27034 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27035 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27036 from libc for GLIBC_2.16.
27037 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27038 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27039 * wcsmbs/uchar.h: Really define mbstate_t.
27040 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27041 * wcsmbs/c16rtomb.c: New file.
27042 * wcsmbs/mbrtoc16.c: New file.
27043 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27044 for C/POSIX locale.
27045 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27046 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27047
dadebdae
UD
27048 * wcsmbs/wchar.h: Add missing __restrict.
27049
67371b56
UD
270502011-12-23 Ulrich Drepper <drepper@gmail.com>
27051
74033a25
UD
27052 [BZ #13532]
27053 * time/Makefile (routines): Add timespec_get.
27054 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27055 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27056 timespec for ISO C11.
27057 * time/timespec_get.c: New file.
27058 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27059 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27060
380d7e87
UD
27061 [BZ #13531]
27062 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27063 * stdlib/stdlib.h: Declare aligned_alloc.
27064 * Versions.def: Add GLIBC_2.16 for libc.
27065 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27066
4e9e7a35
UD
27067 [BZ 13527]
27068 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27069 ISO C11.
27070
380d7e87 27071 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
27072 code.
27073
03a71829
UD
27074 [BZ #13528]
27075 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27076
839e283e
UD
27077 [BZ #13529]
27078 * assert/assert.h (static_assert): Define.
27079
ce5294e2 27080 * version.h: Update for 2.16 development version.
90fa7312 27081
8d44e150 27082 [BZ #13526]
d7809905
UD
27083 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27084 _ISOC11_SOURCE.
27085
c0da14cd
UD
27086 * version.h (RELEASE): Bump for 2.15 release.
27087 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27088
530a3249
MP
27089 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27090 Patch by Marek Polacek <mpolacek@redhat.com>.
27091
67371b56
UD
27092 * bits/byteswap.h: Protect long long constants with __extension__.
27093 * sysdeps/i386/bits/byteswap.h: Likewise.
27094 * sysdeps/ia64/bits/byteswap.h: Likewise.
27095 * sysdeps/s390/bits/byteswap.h: Likewise.
27096 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27097
15db4de1
LD
270982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27099
27100 [BZ #13540]
bbe315ea
LD
27101 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27102 destination buffer.
15db4de1
LD
27103 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27104
2b2596b1
MP
271052011-12-23 Marek Polacek <polacek@redhat.com>
27106
27107 * elf/dl-addr.c (determine_info): Add inline keyword.
27108 * elf/tst-auditmod4b.c (check_avx): Likewise.
27109 * elf/tst-auditmod6b.c (check_avx): Likewise.
27110 * elf/tst-auditmod6c.c (check_avx): Likewise.
27111 * elf/tst-auditmod7b.c (check_avx): Likewise.
27112
70c6c246
UD
271132011-12-23 Ulrich Drepper <drepper@gmail.com>
27114
27115 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27116 !__SSE_MATH__.
27117
c044cf14
LD
271182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27119
15db4de1 27120 [BZ #13540]
c044cf14
LD
27121 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27122 processing for last bytes.
27123
6b13d9d9
BH
271242011-08-06 Bruno Haible <bruno@clisp.org>
27125
d455f537
BH
27126 [BZ #13061]
27127 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27128 U+0385, not to U+1FEE.
27129
6b13d9d9
BH
27130 [BZ #13062]
27131 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27132 entry for U+00A5 U+0301.
27133
db910efd
UD
271342011-12-22 Ulrich Drepper <drepper@gmail.com>
27135
27deeafc
UD
27136 [BZ #13166]
27137 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27138 buffer for the output is too small.
27139
aed9d171
UD
27140 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27141 optimization.
27142
db910efd
UD
27143 [BZ #13185]
27144 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27145 SSE flags if possible.
27146
2bd779ae
LD
271472011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27148
e7f9dac3 27149 [BZ #13540]
2bd779ae
LD
27150 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27151 processing for last bytes.
27152
154bfc16
JM
271532011-12-22 Joseph Myers <joseph@codesourcery.com>
27154
27155 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27156 (syscall-list-default-options, syscall-list-default-condition)
27157 (syscall-list-includes): Define.
27158 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27159 list of ABIs and options and #if conditions for each ABI. Do not
27160 handle common syscalls between ABIs specially.
27161 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27162 Remove.
27163 (syscall-list-variants, syscall-list-32bit-options)
27164 (syscall-list-32bit-condition, syscall-list-64bit-options)
27165 (syscall-list-64bit-condition): Define.
27166 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27167 (syscall-list-variants, syscall-list-32bit-options)
27168 (syscall-list-32bit-condition, syscall-list-64bit-options)
27169 (syscall-list-64bit-condition): Define.
27170 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27171 Remove.
27172 (syscall-list-variants, syscall-list-32bit-options)
27173 (syscall-list-32bit-condition, syscall-list-64bit-options)
27174 (syscall-list-64bit-condition): Define.
27175 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27176 Remove.
27177 (syscall-list-variants, syscall-list-32bit-options)
27178 (syscall-list-32bit-condition, syscall-list-64bit-options)
27179 (syscall-list-64bit-condition): Define.
27180
21eaf3a5
UD
271812011-12-22 Ulrich Drepper <drepper@gmail.com>
27182
16c6f992
UD
27183 * locale/iso-639.def: Add brx entry.
27184
41043168
UD
27185 [BZ #13328]
27186 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27187 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27188
21eaf3a5
UD
27189 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27190 __feraiseexcept_renamed.
27191
e3a851a2
UD
271922011-12-21 Ulrich Drepper <drepper@gmail.com>
27193
4920765e
UD
27194 [BZ #13538]
27195 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27196 EPOLLET with unsigned values.
27197 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27198 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27199
e3a851a2
UD
27200 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27201 to large cancellation.
27202 * math/s_cacoshf.c: Likewise.
27203 * math/s_cacoshl.c: Likewise.
27204
b27e24b8
RK
272052011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27206
27207 [BZ #13305]
aebefeee 27208 [BZ #12786]
b27e24b8
RK
27209 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27210 * math/s_cacoshf.c: Likewise.
27211 * math/s_cacoshl.c: Likewise.
27212
ee190f67
UD
272132011-12-21 Ulrich Drepper <drepper@gmail.com>
27214
27215 [BZ #13439]
27216 * iconv/gconv.h: Define __GCONV_SWAP.
27217 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27218 * iconvdata/utf-16.c: Likewise.
27219 * iconvdata/utf-32.c: Likewise.
27220
707f25df
AS
272212011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27222
27223 [BZ #13524]
27224 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27225 numerator after shifting it by one limb.
27226
d2daaa1e
RÁE
272272011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27228
27229 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27230 under [__USE_EXTERN_INLINES].
27231
a4647e72
UD
272322011-12-17 Ulrich Drepper <drepper@gmail.com>
27233
27234 [BZ #13446]
27235 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27236
f0b264f1
AZ
272372011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27238
27239 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27240 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27241 optimized code.
27242 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27243 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27244 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27245 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27246 for strncasecmp/strncasecmp_l compilation.
27247 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27248 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27249
8ef4f244
MP
272502011-12-08 Marek Polacek <mpolacek@redhat.com>
27251
27252 [BZ #13484]
27253 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27254 of __asm__.
27255
97ac2654
UD
272562011-12-17 Ulrich Drepper <drepper@gmail.com>
27257
27258 [BZ #13506]
27259 * time/tzfile.c (__tzfile_read): Check values from file header.
27260
91d2a845
WS
272612011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27262
27263 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27264 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27265 * powerpc/powerpc32/dl-start.S: Likewise.
27266 * powerpc/powerpc32/elf/start.S: Likewise.
27267 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27268 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27269 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27270 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27271 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27272 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27273 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27274 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27275 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27276 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27277 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27278 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27279 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27280 * powerpc/powerpc32/memset.S: Likewise.
27281 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27282 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27283 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27284 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27285 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27286 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27287 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27288 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27289 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27290 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27291 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27292 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27293 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27294
a1267ba1
AZ
272952011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27296
27297 * math/libm-test.inc: Added more nearbyint tests.
27298 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27299 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27301 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27302
ad8ac1bd
RL
273032011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27304
27305 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27306 FD_CLOEXEC.
27307
1d3e4b61
UD
273082011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27309
27310 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27311 Add wcscpy-ssse3 wcscpy-c.
27312 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27313 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27314 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27315 * sysdeps/x86_64/wcschr.S: New file.
27316 * sysdeps/x86_64/wcsrchr.S: New file.
27317 * string/test-strcmp.c: Remove checking of wcscmp function for
27318 wrong alignments.
27319 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27320 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27321 wcsrchr-sse2 wcsrchr-c.
27322 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27323 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27324 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27325 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27326 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27327 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27328 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27329 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27330 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27331 * wcsmbc/wcschr.c (WCSCHR): New macro.
27332
5b330a2d
UD
273332011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27334
27335 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27336 * wcsmbs/test-wcsrchr.c: New file.
27337 * string/test-strrchr.c: Add wcsrchr support.
27338 (WIDE): New macro.
27339 * wcsmbs/test-wcscpy.c: New file.
27340 * string/test-strcpy.c: Add wcscpy support.
27341 (WIDE): New macro.
26428b7c 27342
f039c043
UD
273432011-12-10 Ulrich Drepper <drepper@gmail.com>
27344
27345 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27346 the inner loop.
27347
850fb039
AS
273482011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27349
27350 [BZ #13472]
27351 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27352
4efbd5cb
UD
273532011-12-04 Ulrich Drepper <drepper@gmail.com>
27354
52ff5dd0 27355 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27356 Minor optimizations.
52ff5dd0 27357
4efbd5cb
UD
27358 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27359 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27360 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27361
8a426e12
UD
273622011-12-03 Ulrich Drepper <drepper@gmail.com>
27363
aff2453d
UD
27364 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27365 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27366 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27367 for gcc to avoid warnings.
27368 * inet/Makefile (tests): Add tst-checks.
27369 * inet/tst-checks.c: New file.
27370
27371 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27372 warning.
27373
27374 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27375 __wmemcmp_sse2.
27376
27377 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27378 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27379
8a426e12
UD
27380 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27381
9bea3473
UD
273822011-12-02 Ulrich Drepper <drepper@gmail.com>
27383
3a965496
UD
27384 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27385 problem.
27386
9bea3473
UD
27387 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27388
f101631b
UD
273892011-11-29 Joseph Myers <joseph@codesourcery.com>
27390
27391 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27392 conditional on GCC version.
27393 (__arch_compare_and_exchange_val_8_acq)
27394 (__arch_compare_and_exchange_val_16_acq)
27395 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27396 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27397 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27398
a98275aa
UD
273992011-12-02 Joseph Myers <joseph@codesourcery.com>
27400
27401 * sysdeps/sh/backtrace.c: New file.
27402
d4cc29a2
AS
274032011-12-02 Andreas Schwab <schwab@redhat.com>
27404
27405 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27406 parenthesis.
27407
6257af2d
AS
274082011-12-01 Andreas Schwab <schwab@redhat.com>
27409
27410 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27411 falling back to utime.
27412
b5f44c1a
AS
274132011-11-30 Andreas Schwab <schwab@redhat.com>
27414
27415 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27416 expectations for float.
27417
f3a6cc0a
AS
274182011-11-29 Andreas Schwab <schwab@redhat.com>
27419
27420 * locale/weight.h (findidx): Add parameter len.
27421 * locale/weightwc.h (findidx): Likewise.
27422 * posix/fnmatch_loop.c (FCT): Adjust caller.
27423 * posix/regcomp.c (build_equiv_class): Likewise.
27424 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27425 * posix/regexec.c (check_node_accept_bytes): Likewise.
27426 * string/strcoll_l.c (STRCOLL): Likewise.
27427 * string/strxfrm_l.c (STRXFRM): Likewise.
27428
9d65ea3a
UD
274292011-11-17 Ulrich Drepper <drepper@gmail.com>
27430
27431 * Makefile.in: Remove CVSOPT handling.
27432 * configure.in: Remove use of AC_REVISION.
27433 * iconvdata/Makefile (distribute): No need to filter out CVS.
27434 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27435 handling.
27436
5583a086
AS
274372011-11-16 Andreas Schwab <schwab@redhat.com>
27438
27439 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27440 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27441 [USE_AS_STRNCASECMP_L]: Likewise.
27442 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27443 NO_TLS_DIRECT_SEG_REFS.
27444 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27445 Fix argument offsets for non-PIC.
27446 [USE_AS_STRNCASECMP_L]: Likewise.
27447 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27448 NO_TLS_DIRECT_SEG_REFS.
27449
d62a8200
UD
274502011-11-15 Ulrich Drepper <drepper@gmail.com>
27451
9d65ea3a 27452 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27453 O_CLOEXEC.
27454 * locale/loadlocale.c (_nl_load_locale): Likewise.
27455
09f93bd3
AS
274562011-11-15 Andreas Schwab <schwab@redhat.com>
27457
446514f9
AS
27458 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27459 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27460 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27461 (SYSCALL_GETTIME): Set errno on error.
27462
09f93bd3
AS
27463 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27464 count references to noai6ai_cached.
27465
312be3f9
UD
274662011-11-15 Ulrich Drepper <drepper@gmail.com>
27467
27468 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27469
27470 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27471 FD_CLOEXEC for /proc/self/maps.
27472
27473 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27474 FD_CLOEXEC for /proc/meminfo.
27475
27476 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27477 gai.conf.
27478
27479 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27480 FD_CLOEXEC for given file.
27481
27482 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27483
27484 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27485 FD_CLOEXEC for /etc/hosts.
27486 (_gethtent): Likewise.
27487
27488 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27489
27490 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27491 cancellation and set FD_CLOEXEC for /etc/netgroup.
27492
27493 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27494 reading /etc/publickey.
27495
27496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27497 allow cancellation when reading /etc/group.
27498
27499 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27500 cancellation.
27501 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27502
27503 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27504 when using data file.
27505
27506 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27507
27508 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27509 (write_nis_obj): Use "c" and "e" in fopen.
27510
27511 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27512
27513 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27514
27515 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27516
27517 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27518
27519 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27520 locale.alias.
27521
27522 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27523
27524 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27525
27526 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27527
27528 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27529 file parsing and set FD_CLOEXEC.
27530
82af0fa8
UD
275312011-11-14 Ulrich Drepper <drepper@gmail.com>
27532
27533 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27534
a5fb313c
AS
275352011-11-14 Andreas Schwab <schwab@redhat.com>
27536
27537 * malloc/arena.c (arena_get2): Don't call reused_arena when
27538 _int_new_arena failed.
27539
6abf3465
UD
275402011-11-14 Ulrich Drepper <drepper@gmail.com>
27541
27542 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27543 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27544 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27545 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27546 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27547 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27548 to compile strcasecmp and strncasecmp.
27549 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27550 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27551
27552 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27553
76e3966e
UD
275542011-11-13 Ulrich Drepper <drepper@gmail.com>
27555
27556 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27557 locale-defines.sym to gen-as-const-headers.
27558 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27559 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27560 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27561 to compile strcasecmp and strncasecmp.
27562 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27563 strcasecmp_l and strncasecmp_l.
27564 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27565 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27566 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27567 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27568 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27569 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27570 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27571 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27572 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27573 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27574 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27575
ab26144e
UD
275762011-11-12 Ulrich Drepper <drepper@gmail.com>
27577
7edb22ef
UD
27578 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27579 result of SYSDEP_GETTIME_CPU to retval.
27580 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27581 parameter list to macro. Remove trailing semicolon. Adjust users.
27582
9694fc44
UD
27583 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27584 variable.
27585
8ad89ef8
UD
27586 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27587 mantissa words.
27588 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27589
0c822ef9
UD
27590 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27591 from unused variable.
27592
874e0564
UD
27593 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27594 DWARF definitions.
27595 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27596 for assembling.
27597
3a2edc79
UD
27598 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27599 over namespaces.
27600
f3c2577f
UD
27601 * sunrpc/rpc_prot.c (rejected): Fix case value.
27602
294ce126
UD
27603 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27604 unsigned long long int to avoid warnings in shift.
27605
5e2b63c6
UD
27606 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27607 of use of trans.
27608 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27609 variable tmp.
27610
e7f4b08e
UD
27611 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27612 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27613 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27614
ab26144e
UD
27615 * nis/nis_table.c (nis_list): Use variable of correct type for
27616 result of __follow_path call.
27617
8a6d5255
AZ
276182011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27619
27620 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27621 of math functions ceil, trunc, floor, round, and sqrt, when
27622 avaliable on the platform.
27623 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27624 name clash.
27625 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27626 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27627 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27628
aaddc98c
MP
276292011-10-30 Marek Polacek <mpolacek@redhat.com>
27630
27631 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27632 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27633
95b7042b
RM
276342011-11-11 Roland McGrath <roland@hack.frob.com>
27635
27636 * include/unistd.h: Fix __readlink return type.
27637 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27638
57769839
UD
276392011-11-11 Ulrich Drepper <drepper@gmail.com>
27640
27641 * stdlib/ucontext.h: Undo last change for makecontext.
27642
edc5984d
AS
276432011-11-11 Andreas Schwab <schwab@redhat.com>
27644
98591e58
AS
27645 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27646
edc5984d
AS
27647 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27648 * setjmp/setjmp.h: Mark functions as non-leaf.
27649 * setjmp/bits/setjmp2.h: Likewise.
27650 * stdlib/ucontext.h: Likewise.
27651
77cdc054
AS
276522011-11-10 Andreas Schwab <schwab@redhat.com>
27653
27654 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27655 (reused_arena): Don't check arena limit.
27656 (arena_get2): Atomically check arena limit.
27657
fe72eebd
UD
276582011-11-08 Ulrich Drepper <drepper@gmail.com>
27659
5f078c32
UD
27660 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27661 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27662
fe72eebd
UD
27663 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27664 instructions.
27665
ae1bc2fa
AS
276662011-11-07 Andreas Schwab <schwab@redhat.com>
27667
7583a88d
AS
27668 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27669 handler when locking.
27670
ae1bc2fa
AS
27671 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27672 Fix size of allocated buffer.
27673
10fb0bfa
AS
276742011-11-04 Andreas Schwab <schwab@redhat.com>
27675
998832a4
AS
27676 [BZ #10103]
27677 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27678 declarations for long double functions.
27679 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27680
10fb0bfa
AS
27681 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27682
3d7ba52b
AS
276832011-11-03 Andreas Schwab <schwab@redhat.com>
27684
a9ae54a1
AS
27685 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27686 installed.
27687
3d7ba52b
AS
27688 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27689 is disabled.
27690
bc8db248
ST
276912011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27692
27693 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27694
45b96dd6
AS
276952011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27696
647776f6
AS
27697 * include/alloca.h (stackinfo_alloca_round): Define.
27698 (extend_alloca): Use it.
27699 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27700 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27701 here.
27702
d91a8b93
AS
27703 * scripts/check-local-headers.sh: Ignore libaudit.h.
27704
45b96dd6
AS
27705 * nscd/Makefile (extra-objs): Make recursively expanded.
27706
432d41ce
UD
277072011-11-01 Ulrich Drepper <drepper@gmail.com>
27708
34372fc6
UD
27709 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27710 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27711
fadb59f8
UD
27712 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27713 * posix/tst-rfc3484-2.c: Likewise.
27714 * posix/tst-rfc3484-3.c: Likewise.
27715
78239589
UD
27716 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27717 process_vm_writev.
27718 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27719 process_vm_writev.
27720 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27721 process_vm_writev from libc using GLIBC_2.15 version.
27722
432d41ce
UD
27723 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27724
02f9c6cf
PP
277252011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27726
27727 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27728 stack usage.
27729
3a2c0242
UD
277302011-10-31 Ulrich Drepper <drepper@gmail.com>
27731
f4ec4833
UD
27732 [BZ #13367]
27733 * nss/getent.c (initgroups_keys): Show error message in case no group
27734 names are given.
27735
3a2c0242
UD
27736 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27737 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27738 __bump_nl_timestamp.
27739 * nscd/connections (nscd_init): When host database is served open
27740 netlink socket and request notification about configuration changes.
27741 (main_loop_poll): Track netlink file descriptor and bump timestamp
27742 in case data becomes available.
27743 (main_loop_epoll): Likewise.
27744 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27745 (database_pers_head): Add extra_data fileds.
27746 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27747 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27748 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27749 Adjust caller.
27750 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27751 in6ai data, call __free_in6ai.
27752 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27753 Add -DHAVE_NETLINK.
27754 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27755 interface information. Reuse previous data if netlink timestamp
27756 is not changed.
27757 (__bump_nl_timestamp): New function.
27758 (__free_in6ai): New function.
27759
636064eb
UD
277602011-10-30 Ulrich Drepper <drepper@gmail.com>
27761
27762 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27763 close_not_cancel_no_status here.
27764 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27765
9beb2334
UD
277662011-10-29 Ulrich Drepper <drepper@gmail.com>
27767
6ef76f3b
UD
27768 [BZ #13276]
27769 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27770 return value.
27771
0ffc4f3e 27772 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27773 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27774 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27775
cb95113e
UD
277762011-07-03 Andreas Jaeger <aj@suse.de>
27777
27778 [BZ #10709]
27779 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27780 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27781 * math/libm-test.inc (sin_test): Add test case.
27782
a1b560ff
UD
277832011-10-29 Ulrich Drepper <drepper@gmail.com>
27784
c9aaface
UD
27785 [BZ #13337]
27786 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27787 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27788
d272e7f1
UD
27789 * elf/chroot_canon.c (chroot_canon): Cleanups.
27790
1bc33071
UD
27791 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27792
1760874d
TJ
27793 [BZ #13335]
27794 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27795 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27796
51d91b18
UD
27797 * string/test-strchr.c: Make usable for strchrnul testing.
27798 * string/test-strchrnul.c: New file.
27799 * string/Makefile (strop-tests): Add strchrnul.
27800
a1b560ff 27801 * po/it.po: Update from translation team.
b611fb81 27802 * po/es.po: Likewise.
a1b560ff 27803
a5b81e1f
UD
278042011-10-28 Ulrich Drepper <drepper@gmail.com>
27805
fd52bc6d
UD
27806 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27807 the three constants needed as parameters. Drop the others.
27808 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27809 __m128i_strloadu_tolower.
52e4b9eb
UD
27810 Create and initialize variable zero and use it in all the places
27811 where _mm_setzero_si128 was used.
fd52bc6d 27812
a5b81e1f
UD
27813 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27814 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27815 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27816 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27817 anymore.
27818 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27819 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27820 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27821 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27822 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27823 __mpranred, __mptan.
27824 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27825 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27826 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27827 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27828 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27829 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27830 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27831 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27832 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27833
b4343346
AS
278342011-10-28 Andreas Schwab <schwab@redhat.com>
27835
0c92d8a8
AS
27836 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27837 redefine if SHARED.
27838 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27839
b4343346
AS
27840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27841 wide char related routines to wcsmbs subdir.
27842
3871f58f
AS
278432011-10-27 Andreas Schwab <schwab@redhat.com>
27844
27845 [BZ #13344]
27846 * misc/sys/cdefs.h (__THROWNL): Define.
27847 * posix/unistd.h: Use __THREADNL instead of __THREAD
27848 for memory synchronization functions.
27849
94d44d9f
RM
278502011-10-26 Roland McGrath <roland@hack.frob.com>
27851
21b64b15 27852 [BZ #13349]
94d44d9f
RM
27853 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27854 doesn't exist.
27855 * manual/stdio.texi (Obstack Streams): Node removed.
27856
f6ce9294
AS
278572011-10-26 Andreas Schwab <schwab@redhat.com>
27858
80479147
AS
27859 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27860 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27861 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27862
f6ce9294
AS
27863 * math/math_private.h (math_force_eval): Allow non-addressable
27864 arguments.
27865 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27866
618280a1
UD
278672011-10-25 Ulrich Drepper <drepper@gmail.com>
27868
e0016b11
UD
27869 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27870 file is not needed.
27871
27872 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27873 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27874 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27875 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27876 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27877 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27878 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27879 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27880 Add AVX variants.
27881 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27882 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27883 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27884 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27885 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27886 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27887 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27888 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27889 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27890 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27891 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27892 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27893 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27894 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27895 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27896 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27897 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27898 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27899 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27900
27901 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27902 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27903
618280a1
UD
27904 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27905 place. Use VEX encoding when compiling for AVX.
27906
37822576
AS
279072011-10-25 Andreas Schwab <schwab@redhat.com>
27908
1f1e1947
AS
27909 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27910 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27911
37822576
AS
27912 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27913
31ea014d
UD
279142011-10-25 Ulrich Drepper <drepper@gmail.com>
27915
d7826aa1 27916 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27917 useless if() expression.
d7826aa1
UD
27918 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27919 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27920 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27921 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27922 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27923 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27924 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27925 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27926 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27927 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27928 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27929 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27930 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27931 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27932 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27933 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27934 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27935 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27936 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27937
31ea014d
UD
27938 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27939
16437fec
AS
279402011-10-25 Andreas Schwab <schwab@redhat.com>
27941
27942 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27943 condition.
27944 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27945
31d3cc00
UD
279462011-10-25 Ulrich Drepper <drepper@gmail.com>
27947
27948 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27949 .text section. Avoid duplicate constants.
27950 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27952 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27953 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27954 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27956 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27957 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27958 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27959 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27960 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27961 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27962 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27963 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27964 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27965 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27966 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27967 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27968 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27969 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27970 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27971 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27972 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27973 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27974 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27975 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27976 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27977 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27978 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27979 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27980 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27981 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27982 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27983 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27984 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27985 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27986 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27987 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27988 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27989 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27990 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27991 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27992 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27993 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27994 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27995
58985aa9
UD
279962011-10-24 Ulrich Drepper <drepper@gmail.com>
27997
202c9deb
UD
27998 * sysdeps/x86_64/dla.h: Move to ...
27999 * sysdeps/x86_64/fpu/dla.h: ...here.
28000 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28001 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 28002
af968f62
UD
28003 * config.make.in: Add have-mfma4 entry.
28004 * configure.in: Substitute libc_cv_cc_fma4.
28005 * math/Makefile (dbl-only-routines): Add sincostab.
28006 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28007 Use __sincostab not sincos.
28008 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28009 name is a macro.
28010 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28012 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28013 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28014 using __copysign.
28015 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28016 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28017 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28018 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28019 and __inv.
28020 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28021 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28022 __copysign.
28023 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28024 define aliases when function name is a macro.
28025 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28026 sysdeps/ieee754/dbl-64/sincos.tbl.
28027 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28028 fma4-enabled routines.
28029 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28030 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28031 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28032 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28033 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28034 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28035 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28036 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28037 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28038 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28039 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28040 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28041 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28042 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28043 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28044 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28045 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28046 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28047 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28048 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28049 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28050 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28051 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28052 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28053 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28054 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28055 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28056 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28057 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28058 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28059
58985aa9
UD
28060 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28061 rename.
28062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28063 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28064 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28065 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28066 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28067 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28068 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28069 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28070
a201fbcf
AS
280712011-10-24 Andreas Schwab <schwab@redhat.com>
28072
28073 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28074
fc2ee42a
LD
280752011-10-23 Ulrich Drepper <drepper@gmail.com>
28076
bb3129bd
UD
28077 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28078
0275fff8
UD
28079 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28080 prediction.
28081 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28082
2fa2ae85
UD
28083 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28084 Remove unused variable magic_bits.
28085 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28086
fc2ee42a
LD
28087 * string/strnlen.c: Define and use STRNLEN macro.
28088 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28089 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28090 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28091 * wcsmbs/wcslen.c: Define and use WCSLEN.
28092 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28093 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28094 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28095 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28096 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28097 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28098 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28099
ce7dd29f
LD
281002011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28101
28102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28103 strnlen-sse2-no-bsf.
28104 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28105 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28106 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28107 Add strnlen support.
28108 (USE_AS_STRNLEN): New macro.
28109 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28110 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28111 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28112 * sysdeps/x86_64/wcslen.S: New file.
28113
979c70a3
MZ
281142011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28115
28116 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28117 XMM-moves are used for copying on small sizes.
28118
2d09f82f
LD
281192011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28120
28121 * wcsmbs/Makefile (strop-tests): Add wcschr.
28122 * wcsmbs/test-wcschr.c: New file.
28123 * string/test-strchr.c: Update.
28124 Add wcschr support.
28125 (WIDE): New macro.
28126
619fccca
LD
281272011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28128
2d09f82f 28129 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
28130 * wcsmbs/test-wcslen.c: New file.
28131 * string/test-strlen.c: Update.
28132 Add wcslen support.
28133 (WIDE): New macro.
28134
09f699ea
UD
281352011-10-23 Ulrich Drepper <drepper@gmail.com>
28136
28137 * po/it.po: Update from translation team.
28138
95584d3b
LD
281392011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28140
28141 * sysdeps/x86_64/wcscmp.S: Update.
28142 Fix wrong comparison semantics.
28143 wcscmp shall use signed comparison not unsigned.
28144 Don't use substraction to avoid overflow bug.
28145 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28146 * wcsmbc/wcscmp.c: Likewise.
28147 * string/test-strcmp.c: Likewise.
28148 Add new tests to check cases with negative values.
28149
c8b3296b
UD
281502011-10-23 Ulrich Drepper <drepper@gmail.com>
28151
28152 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28153 * sysdeps/x86_64/dla.h: ...here. New file.
28154 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28155 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28156 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28157 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28158 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28159 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28161 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28162 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28163
246ad57a
AS
281642011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28165
28166 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28167 __ynl_finite aliases.
28168
a1a87169
UD
281692011-10-22 Ulrich Drepper <drepper@gmail.com>
28170
0d355eb7
UD
28171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28172
a1a87169
UD
28173 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28174 define DLA_FMA.
28175 [DLA_FMA] (EMULV): Use DLA_FMA.
28176 [DLA_FMA] (MUL12): Use EMULV.
28177 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28178 that are not needed.
28179 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28180 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28181 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28182 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28183 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28184 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28185 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28186
ee2aafe0
AS
281872011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28188
28189 * math/s_nan.c: Undef __nan.
28190 * math/s_nanf.c: Undef __nanf.
28191 * math/s_nanl.c: Undef __nanl.
28192 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28193 "math_private.h".
28194
bc62c2fb
UD
281952011-10-22 Ulrich Drepper <drepper@gmail.com>
28196
77425c63
UD
28197 * math/s_catan.c: Add branch predictions.
28198 * math/s_catanf.c: Likewise.
28199 * math/s_catanh.c: Likewise.
28200 * math/s_catanhf.c: Likewise.
28201 * math/s_catanhl.c: Likewise.
28202 * math/s_catanl.c: Likewise.
28203 * math/s_cexp.c: Likewise.
28204 * math/s_cexpf.c: Likewise.
28205 * math/s_cexpl.c: Likewise.
28206 * math/s_clog.c: Likewise.
28207 * math/s_clog10.c: Likewise.
28208 * math/s_clog10f.c: Likewise.
28209 * math/s_clog10l.c: Likewise.
28210 * math/s_clogf.c: Likewise.
28211 * math/s_clogl.c: Likewise.
28212 * math/s_csqrt.c: Likewise.
28213 * math/s_csqrtf.c: Likewise.
28214 * math/s_csqrtl.c: Likewise.
28215 * math/s_ctanf.c: Likewise.
28216 * math/s_ctanh.c: Likewise.
28217 * math/s_ctanhf.c: Likewise.
28218 * math/s_ctanhl.c: Likewise.
28219 * math/s_ctanl.c: Likewise.
28220
bc62c2fb
UD
28221 * math/math_private.h: Define __nan, __nanf, __nanl.
28222 * math/s_cacosh.c: Include <math_private.h>.
28223 * math/s_cacoshl.c: Likewise.
28224 * math/s_casinh.c: Likewise.
28225 * math/s_casinhf.c: Likewise.
28226 * math/s_casinhl.c: Likewise.
28227 * math/s_ccos.c: Rely entire on ccosh.
28228 * math/s_ccosf.c: Rely entire on ccoshf.
28229 * math/s_ccosl.c: Rely entirely on ccoshl.
28230 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28231 Remove tests for FE_INVALID.
28232 * math/s_ccoshf.c: Likewise.
28233 * math/s_ccoshl.c: Likewise.
28234 * math/s_csin.c: Likewise.
28235 * math/s_csinf.c: Likewise.
28236 * math/s_csinh.c Likewise.
28237 * math/s_csinhf.c: Likewise.
28238 * math/s_csinhl.c: Likewise.
28239 * math/s_csinl.c: Likewise.
28240 * math/s_ctan.c: Likewise.
28241 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28242 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28243 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28244
8ec250a4
UD
282452011-10-21 Ulrich Drepper <drepper@gmail.com>
28246
c196fed8
UD
28247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28248 compilation problems.
28249
8ec250a4
UD
28250 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28251 __builtin_expect.
28252
8d4f46c6
UD
282532011-10-20 Ulrich Drepper <drepper@gmail.com>
28254
ed72b654
UD
28255 * sysdeps/i386/configure.in: Test for -mfma4 option.
28256 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28257 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28258 COMMON_CPUID_INDEX_80000001.
28259 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28260 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28261 use it if FMA3 is not supported.
28262 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28263
8d4f46c6
UD
28264 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28265 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28266
d45c60c2
AS
282672011-10-20 Andreas Schwab <schwab@redhat.com>
28268
28269 [BZ #12892]
28270 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28271 it would create a cycle with a link time dependency.
28272
d9a4d2ab
UD
282732011-10-19 Ulrich Drepper <drepper@gmail.com>
28274
855d1560
UD
28275 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28276 instruction.
28277 * string/Makefile (strop-tests): Add rawmemchr.
28278 * string/test-rawmemchr.c: New file.
28279
d9a4d2ab
UD
28280 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28281 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28282 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28283 when compiling str{,n}casecmp and when AVX is available. Hook up
28284 new optimized code in initializers.
28285
8f3b1ffe
AS
282862011-10-19 Andreas Schwab <schwab@redhat.com>
28287
28288 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28289 __feraiseexcept instead of feraiseexcept.
28290
d38f1dba
UD
282912011-10-18 Ulrich Drepper <drepper@gmail.com>
28292
d9a8d0ab
UD
28293 * math/math_private.h: Define defaults for libc_fetestexcept and
28294 libc_feupdateenv.
28295 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28296 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28297 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28298 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28299 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28300 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28301 libc_fetestexcept and libc_feupdateenv.
28302
4855e3dd
UD
28303 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28304 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28305 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28306 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28307 libc_feholdexcept_setround.
28308
581d30e3
UD
28309 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28310 Add s_nearbyint-c and s_nearbyintf-c.
28311 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28312 nearbyintf inlines.
28313 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28314 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28315 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28316 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28317
d38f1dba
UD
28318 * math/math_private.h: Define defaults for libc_fegetround,
28319 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28320 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28321 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28322 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28323 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28324 standard functions.
28325 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28326 Remove comments and hacks for old compiler versions.
28327 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28328 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28329 libc_feholdexceptl.
28330
caa6c9d8
AS
283312011-10-18 Andreas Schwab <schwab@redhat.com>
28332
28333 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28334 (__feraiseexcept_renamed): Add __NTH.
28335 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28336 namespace violations.
28337
97c066e6
UD
283382011-10-17 Ulrich Drepper <drepper@gmail.com>
28339
99ce7b04
UD
28340 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28341
1004d182
UD
28342 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28343
228a984d
UD
28344 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28345 recently added interfaces.
28346 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28347
c8553a6a
UD
28348 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28349 about macro parameter expansion.
28350
ed22dcf6
UD
28351 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28352 __NO_MATH_INLINES is defined. Cleanups.
28353
28354 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28355 and __floorf is target has SSE4.1.
28356 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28357 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28358 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28359 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28360
b171c137
UD
28361 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28362 name.
28363 (floorf): Likewise.
28364
97c066e6
UD
28365 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28366
629f62ef
AS
283672011-10-17 Andreas Schwab <schwab@redhat.com>
28368
49a43d80
AS
28369 * misc/sys/cdefs.h: Fix last change.
28370
629f62ef
AS
28371 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28372 database lookup.
28373
e453f6cd
UD
283742011-10-16 Ulrich Drepper <drepper@gmail.com>
28375
aa78043a
UD
28376 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28377
ad0f5cad
UD
28378 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28379 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28380 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28381 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28382 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28383 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28384 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28385 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28386 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28387 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28388 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28389 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28390 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28391 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28392 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28393 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28394 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28395 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28396 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28397 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28398 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28399 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28400
28401 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28402 ceil, ceilf, floor, floorf.
28403
28404 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28405 Perform IRELATIVE relocations last.
28406
e453f6cd
UD
28407 * elf/do-rel.h: Add another parameter nrelative, replacing the
28408 local variable with the same name. Change name of the function
28409 to end in Rel or Rela (uppercase).
28410 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28411 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28412 elf_dynamic_do_##reloc function.
28413
fd5bdc09
UD
284142011-10-15 Ulrich Drepper <drepper@gmail.com>
28415
79b195b5
UD
28416 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28417 is sufficient, at least on modern CPUs.
28418
d4a28569
UD
28419 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28420
b61099b5
UD
28421 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28422 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28423
bcf01e6d
UD
28424 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28425 __expl_finite.
28426 * math/bits/math-finite.h: Add entries for exp.
28427 * math/e_expl.c: Add __*_finite alias.
28428 * sysdeps/i386/fpu/e_exp.S: Likewise.
28429 * sysdeps/i386/fpu/e_expf.S: Likewise.
28430 * sysdeps/i386/fpu/e_expl.c: Likewise.
28431 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28432 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28433 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28434 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28435 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28436 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28437 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28438
ba1a0d59
UD
28439 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28440 is sufficient, at least on modern CPUs.
28441
fd5bdc09
UD
28442 * ctype/ctype-info.c (__ctype_init): Define.
28443 * include/ctype.h (__ctype_init): Declare.
28444 (__ctype_b_loc): The variable is always initialized.
28445 (__ctype_toupper_loc): Likewise.
28446 (__ctype_tolower_loc): Likewise.
28447 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28448 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28449
7872cfb0
AS
284502011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28451
b468825a
AS
28452 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28453
7872cfb0
AS
28454 * configure.in: Also look in $cxxmachine/include for C++ system
28455 headers.
28456
be13f7bf
LD
284572011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28458
28459 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28460 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28461 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28462 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28463 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28464 (USE_AS_WMEMCMP): New macro.
28465 Fixing indents.
28466 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28467 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28468 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28469 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28471 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28472 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28473 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28474 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28475 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28476 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28477 (USE_AS_WMEMCMP): New macro.
28478 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28479 * sysdeps/string/test-memcmp.c: Update.
28480 Fix simple_wmemcmp.
28481 Add new tests.
28482 * wcsmbs/wmemcmp.c: Update.
28483 (WMEMCMP): New macro.
28484 Fix overflow bug.
28485
556a2007
AJ
284862011-10-12 Andreas Jaeger <aj@suse.de>
28487
28488 [BZ #13268]
28489 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28490
538faaa7
UD
284912011-10-15 Ulrich Drepper <drepper@gmail.com>
28492
ab6737ff
UD
28493 * libio/iofwide.c (do_length): Avoid warning.
28494
538faaa7
UD
28495 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28496
396a21b1
UD
284972011-10-14 Ulrich Drepper <drepper@gmail.com>
28498
cdf2901f
UD
28499 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28500
38ad40ce
UD
28501 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28502 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28503 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28504 * sysdeps/i386/i686/fpu/e_log.S: New file.
28505 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28506 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28507
396a21b1
UD
28508 * ctype/ctype.h: Add support for inlined isXXX functions when
28509 compiling C++ code.
28510
6b1f68c9
AS
285112011-10-14 Andreas Schwab <schwab@redhat.com>
28512
349290c0
AS
28513 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28514
6b1f68c9
AS
28515 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28516
f2282d42
RM
285172011-10-13 Roland McGrath <roland@hack.frob.com>
28518
28519 [BZ #13291]
28520 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28521
5298ffa8
AS
285222011-10-13 Andreas Schwab <schwab@redhat.com>
28523
714fad23
AS
28524 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28525 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28526 feraiseexcept.
28527
81dcc7fb
AS
28528 * sysdeps/x86_64/memrchr.S: Check for zero size.
28529
5298ffa8
AS
28530 * string/stratcliff.c: Add memrchr tests.
28531
951fbcec
LD
285322011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28533
28534 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28535 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28536 rawmemchr-sse2 rawmemchr-sse2-bsf.
28537 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28538 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28539 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28540 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28541 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28542 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28543 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28544 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28545 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28546 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28547 * string/memrchr.c (MEMRCHR): New macro.
28548
0ac5ae23
UD
285492011-10-12 Ulrich Drepper <drepper@gmail.com>
28550
28551 Add integration with gcc's -ffinite-math-only and optimize wrapper
28552 functions in libm.
28553 * Versions.def: Define GLIBC_2.15 version for libm.
28554 * math/Makefile (headers): Add bits/math-finite.h.
28555 * math/bits/math-finite.h: New file.
28556 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28557 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28558 * math/e_acoshl.c: Add __*_finite alias.
28559 * math/e_acosl.c: Likewise.
28560 * math/e_asinl.c: Likewise.
28561 * math/e_atan2l.c: Likewise.
28562 * math/e_atanhl.c: Likewise.
28563 * math/e_coshl.c: Likewise.
28564 * math/e_exp10.c: Likewise.
28565 * math/e_exp10f.c: Likewise.
28566 * math/e_exp10l.c: Likewise.
28567 * math/e_exp2l.c: Likewise.
28568 * math/e_fmodl.c: Likewise.
28569 * math/e_gammal_r.c: Likewise.
28570 * math/e_hypotl.c: Likewise.
28571 * math/e_j0l.c: Likewise.
28572 * math/e_j1l.c: Likewise.
28573 * math/e_jnl.c: Likewise.
28574 * math/e_lgammal_r.c: Likewise.
28575 * math/e_log10l.c: Likewise.
28576 * math/e_log2l.c: Likewise.
28577 * math/e_logl.c: Likewise.
28578 * math/e_powl.c: Likewise.
28579 * math/e_sinhl.c: Likewise.
28580 * math/e_sqrtl.c: Likewise.
28581 * math/e_scalb.c: Completely rewritten and optimized.
28582 * math/e_scalbf.c: Likewise.
28583 * math/e_scalbl.c: Likewise.
28584 * math/w_acos.c: Likewise.
28585 * math/w_acosf.c: Likewise.
28586 * math/w_acosl.c: Likewise.
28587 * math/w_acosh.c: Likewise.
28588 * math/w_acoshf.c: Likewise.
28589 * math/w_acoshl.c: Likewise.
28590 * math/w_asin.c: Likewise.
28591 * math/w_asinf.c: Likewise.
28592 * math/w_asinl.c: Likewise.
28593 * math/w_atan2.c: Likewise.
28594 * math/w_atan2f.c: Likewise.
28595 * math/w_atan2l.c: Likewise.
28596 * math/w_atanh.c: Likewise.
28597 * math/w_atanhf.c: Likewise.
28598 * math/w_atanhl.c: Likewise.
28599 * math/w_exp10.c: Likewise.
28600 * math/w_exp10f.c: Likewise.
28601 * math/w_exp10l.c: Likewise.
28602 * math/w_fmod.c: Likewise.
28603 * math/w_fmodf.c: Likewise.
28604 * math/w_fmodl.c: Likewise.
28605 * math/w_j0.c: Likewise.
28606 * math/w_j0f.c: Likewise.
28607 * math/w_j0l.c: Likewise.
28608 * math/w_j1.c: Likewise.
28609 * math/w_j1f.c: Likewise.
28610 * math/w_j1l.c: Likewise.
28611 * math/w_jn.c: Likewise.
28612 * math/w_jnf.c: Likewise.
28613 * math/w_log.c: Likewise.
28614 * math/w_logf.c: Likewise.
28615 * math/w_logl.c: Likewise.
28616 * math/w_log10.c: Likewise.
28617 * math/w_log10f.c: Likewise.
28618 * math/w_log10l.c: Likewise.
28619 * math/w_log2.c: Likewise.
28620 * math/w_log2f.c: Likewise.
28621 * math/w_log2l.c: Likewise.
28622 * math/w_pow.c: Likewise.
28623 * math/w_powf.c: Likewise.
28624 * math/w_powl.c: Likewise.
28625 * math/w_remainder.c: Likewise.
28626 * math/w_remainderf.c: Likewise.
28627 * math/w_remainderl.c: Likewise.
28628 * math/w_scalb.c: Likewise.
28629 * math/w_scalbf.c: Likewise.
28630 * math/w_scalbl.c: Likewise.
28631 * math/w_sqrt.c: Likewise.
28632 * math/w_sqrtf.c: Likewise.
28633 * math/w_sqrtl.c: Likewise.
28634 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28635 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28636 used.
28637 * math/math_private.h: Declare __kernel_standard_f.
28638 * math/w_cosh.c: Remove cruft and optimize a bit.
28639 * math/w_coshf.c: Likewise.
28640 * math/w_coshl.c: Likewise.
28641 * math/w_exp2.c: Likewise.
28642 * math/w_exp2f.c: Likewise.
28643 * math/w_exp2l.c: Likewise.
28644 * math/w_hypot.c: Likewise.
28645 * math/w_hypotf.c: Likewise.
28646 * math/w_hypotl.c: Likewise.
28647 * math/w_lgamma.c: Likewise.
28648 * math/w_lgamma_r.c: Likewise.
28649 * math/w_lgammaf.c: Likewise.
28650 * math/w_lgammaf_r.c: Likewise.
28651 * math/w_lgammal.c: Likewise.
28652 * math/w_lgammal_r.c: Likewise.
28653 * math/w_sinh.c: Likewise.
28654 * math/w_sinhf.c: Likewise.
28655 * math/w_sinhl.c: Likewise.
28656 * math/w_tgamma.c: Likewise.
28657 * math/w_tgammaf.c: Likewise.
28658 * math/w_tgammal.c: Likewise.
28659 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28660 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28661 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28662 Minor optimizations. Pretty printing. Remove cruft.
28663 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28664 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28665 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28666 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28667 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28668 * sysdeps/i386/fpu/e_asin.S: Likewise.
28669 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28670 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28671 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28672 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28673 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28674 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28675 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28676 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28677 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28678 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28679 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28680 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28681 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28682 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28683 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28684 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28685 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28686 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28687 * sysdeps/i386/fpu/e_log.S: Likewise.
28688 * sysdeps/i386/fpu/e_log10.S: Likewise.
28689 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28690 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28691 * sysdeps/i386/fpu/e_log2.S: Likewise.
28692 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28693 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28694 * sysdeps/i386/fpu/e_logf.S: Likewise.
28695 * sysdeps/i386/fpu/e_logl.S: Likewise.
28696 * sysdeps/i386/fpu/e_pow.S: Likewise.
28697 * sysdeps/i386/fpu/e_powf.S: Likewise.
28698 * sysdeps/i386/fpu/e_powl.S: Likewise.
28699 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28700 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28701 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28702 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28703 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28704 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28705 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28706 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28707 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28708 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28709 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28710 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28711 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28712 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28713 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28714 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28715 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28716 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28717 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28718 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28719 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28721 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28722 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28724 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28725 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28726 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28727 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28728 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28729 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28730 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28731 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28732 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28733 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28734 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28735 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28736 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28737 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28738 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28739 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28740 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28741 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28742 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28743 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28744 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28745 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28746 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28747 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28748 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28749 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28750 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28751 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28754 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28760 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28761 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28762 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28763 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28764 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28765 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28767 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28773 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28775 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28776 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28777 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28778 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28779 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28781 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28782 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28783 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28784 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28785 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28786 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28787 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28788 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28789 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28790 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28791 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28792 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28793 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28794 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28795 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28796 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28797 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28798 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28799 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28800 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28801 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28802 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28803 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28804 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28805 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28806 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28807 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28808 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28809 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28810 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28811 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28812 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28813 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28814 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28815 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28816 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28817 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28818 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28819 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28820 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28821 (__isnanf): Likewise.
28822 (__isinf_ns): Likewise.
28823 (__isinf_nsf): Likewise.
28824 (__finite): Likewise.
28825 (__finitef): Likewise.
28826 (__ieee754_sqrt): Define as macro.
28827 (__ieee754_sqrtf): Define as macro.
28828 (__ieee754_sqrtl): Define as macro.
28829 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28830 inlined copy.
28831 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28832 __FINITE_MATH_ONLY__ consistent.
28833 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28834
12cc2fcd
AS
288352011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28836
a843a204
AS
28837 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28838 of rawmemchr.
28839
12cc2fcd
AS
28840 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28841
c853acd5
UD
288422011-10-09 Ulrich Drepper <drepper@gmail.com>
28843
28844 * po/ja.po: Update from translation team.
28845
c658d255
RM
288462011-10-08 Roland McGrath <roland@hack.frob.com>
28847
110946e4
RM
28848 * locale/programs/locarchive.c (prepare_address_space): New function.
28849 (create_archive, enlarge_archive, open_archive): Use it.
28850
50604220
RM
28851 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28852 inside [SHARED], where it is used.
28853
c658d255
RM
28854 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28855
28856 * nss/getent.c (netgroup_keys): Remove unused variable.
28857 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28858
6a621eb7
UD
288592011-10-08 Ulrich Drepper <drepper@gmail.com>
28860
7edb55ce
UD
28861 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28862 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28863 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28864 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28865 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28866 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28867 * math/Makefile (libm-calls): Add s_isinf_ns.
28868 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28869 * math/multc3.c: Likewise.
28870 * math/s_casin.c: Likewise.
28871 * math/s_casinf.c: Likewise.
28872 * math/s_casinl.c: Likewise.
28873 * math/s_ccos.c: Likewise.
28874 * math/s_ccosf.c: Likewise.
28875 * math/s_ccosl.c: Likewise.
28876 * math/s_ctan.c: Likewise.
28877 * math/s_ctanf.c: Likewise.
28878 * math/s_ctanh.c: Likewise.
28879 * math/s_ctanhf.c: Likewise.
28880 * math/s_ctanhl.c: Likewise.
28881 * math/s_ctanl.c: Likewise.
28882 * math/w_fmod.c: Likewise.
28883 * math/w_fmodf.c: Likewise.
28884 * math/w_fmodl.c: Likewise.
28885 * math/w_remainder.c: Likewise.
28886 * math/w_remainderf.c: Likewise.
28887 * math/w_remainderl.c: Likewise.
28888 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28889 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28890 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28891 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28892 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28893 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28894 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28895 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28896
187da0ae
UD
28897 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28898 of the number.
28899 * stdio-common/printf_fphex.c: Likewise.
28900 * stdio-common/printf_size.c: Likewise.
28901
9277c064
UD
28902 * math/e_exp10.c: Include math_private.h using <...> not "...".
28903 * math/e_exp10f.c: Likewise.
28904 * math/e_exp10l.c: Likewise.
28905 * math/e_exp2l.c: Likewise.
28906 * math/e_j0l.c: Likewise.
28907 * math/e_j1l.c: Likewise.
28908 * math/e_jnl.c: Likewise.
28909 * math/e_lgammal_r.c: Likewise.
28910 * math/e_rem_pio2l.c: Likewise.
28911 * math/e_scalb.c: Likewise.
28912 * math/e_scalbf.c: Likewise.
28913 * math/e_scalbl.c: Likewise.
28914 * math/k_cosl.c: Likewise.
28915 * math/k_sinl.c: Likewise.
28916 * math/k_tanl.c: Likewise.
28917 * math/s_cacoshf.c: Likewise.
28918 * math/s_catan.c: Likewise.
28919 * math/s_catanf.c: Likewise.
28920 * math/s_catanh.c: Likewise.
28921 * math/s_catanhf.c: Likewise.
28922 * math/s_catanhl.c: Likewise.
28923 * math/s_catanl.c: Likewise.
28924 * math/s_ccosh.c: Likewise.
28925 * math/s_ccoshf.c: Likewise.
28926 * math/s_ccoshl.c: Likewise.
28927 * math/s_cexp.c: Likewise.
28928 * math/s_cexpf.c: Likewise.
28929 * math/s_cexpl.c: Likewise.
28930 * math/s_clog.c: Likewise.
28931 * math/s_clog10.c: Likewise.
28932 * math/s_clog10f.c: Likewise.
28933 * math/s_clog10l.c: Likewise.
28934 * math/s_clogf.c: Likewise.
28935 * math/s_clogl.c: Likewise.
28936 * math/s_csin.c: Likewise.
28937 * math/s_csinf.c: Likewise.
28938 * math/s_csinh.c: Likewise.
28939 * math/s_csinhf.c: Likewise.
28940 * math/s_csinhl.c: Likewise.
28941 * math/s_csinl.c: Likewise.
28942 * math/s_csqrt.c: Likewise.
28943 * math/s_csqrtf.c: Likewise.
28944 * math/s_csqrtl.c: Likewise.
28945 * math/s_ctan.c: Likewise.
28946 * math/s_ctanf.c: Likewise.
28947 * math/s_ctanh.c: Likewise.
28948 * math/s_ctanhf.c: Likewise.
28949 * math/s_ctanhl.c: Likewise.
28950 * math/s_ctanl.c: Likewise.
28951 * math/s_ldexp.c: Likewise.
28952 * math/s_ldexpf.c: Likewise.
28953 * math/s_ldexpl.c: Likewise.
28954 * math/s_significand.c: Likewise.
28955 * math/s_significandf.c: Likewise.
28956 * math/s_significandl.c: Likewise.
28957 * math/w_acos.c: Likewise.
28958 * math/w_acosf.c: Likewise.
28959 * math/w_acosh.c: Likewise.
28960 * math/w_acoshf.c: Likewise.
28961 * math/w_acoshl.c: Likewise.
28962 * math/w_acosl.c: Likewise.
28963 * math/w_asin.c: Likewise.
28964 * math/w_asinf.c: Likewise.
28965 * math/w_asinl.c: Likewise.
28966 * math/w_atan2.c: Likewise.
28967 * math/w_atan2f.c: Likewise.
28968 * math/w_atan2l.c: Likewise.
28969 * math/w_atanh.c: Likewise.
28970 * math/w_atanhf.c: Likewise.
28971 * math/w_atanhl.c: Likewise.
28972 * math/w_cosh.c: Likewise.
28973 * math/w_coshf.c: Likewise.
28974 * math/w_coshl.c: Likewise.
28975 * math/w_dremf.c: Likewise.
28976 * math/w_exp10.c: Likewise.
28977 * math/w_exp10f.c: Likewise.
28978 * math/w_exp10l.c: Likewise.
28979 * math/w_exp2.c: Likewise.
28980 * math/w_exp2f.c: Likewise.
28981 * math/w_fmod.c: Likewise.
28982 * math/w_fmodf.c: Likewise.
28983 * math/w_fmodl.c: Likewise.
28984 * math/w_hypot.c: Likewise.
28985 * math/w_hypotf.c: Likewise.
28986 * math/w_hypotl.c: Likewise.
28987 * math/w_j0.c: Likewise.
28988 * math/w_j0f.c: Likewise.
28989 * math/w_j0l.c: Likewise.
28990 * math/w_j1.c: Likewise.
28991 * math/w_j1f.c: Likewise.
28992 * math/w_j1l.c: Likewise.
28993 * math/w_jn.c: Likewise.
28994 * math/w_jnf.c: Likewise.
28995 * math/w_jnl.c: Likewise.
28996 * math/w_lgamma.c: Likewise.
28997 * math/w_lgamma_r.c: Likewise.
28998 * math/w_lgammaf.c: Likewise.
28999 * math/w_lgammaf_r.c: Likewise.
29000 * math/w_lgammal.c: Likewise.
29001 * math/w_lgammal_r.c: Likewise.
29002 * math/w_log.c: Likewise.
29003 * math/w_log10.c: Likewise.
29004 * math/w_log10f.c: Likewise.
29005 * math/w_log10l.c: Likewise.
29006 * math/w_log2.c: Likewise.
29007 * math/w_log2f.c: Likewise.
29008 * math/w_log2l.c: Likewise.
29009 * math/w_logf.c: Likewise.
29010 * math/w_logl.c: Likewise.
29011 * math/w_pow.c: Likewise.
29012 * math/w_powf.c: Likewise.
29013 * math/w_powl.c: Likewise.
29014 * math/w_remainder.c: Likewise.
29015 * math/w_remainderf.c: Likewise.
29016 * math/w_remainderl.c: Likewise.
29017 * math/w_scalb.c: Likewise.
29018 * math/w_scalbf.c: Likewise.
29019 * math/w_scalbl.c: Likewise.
29020 * math/w_sinh.c: Likewise.
29021 * math/w_sinhf.c: Likewise.
29022 * math/w_sinhl.c: Likewise.
29023 * math/w_sqrt.c: Likewise.
29024 * math/w_sqrtf.c: Likewise.
29025 * math/w_sqrtl.c: Likewise.
29026 * math/w_tgamma.c: Likewise.
29027 * math/w_tgammaf.c: Likewise.
29028 * math/w_tgammal.c: Likewise.
29029
6a621eb7
UD
29030 * po/ja.po: Update from translation team.
29031
bf582445
AJ
290322011-09-29 Andreas Jaeger <aj@suse.de>
29033
f9efbf3a
AJ
29034 [BZ #13179]
29035 * sunrpc/netname.c (netname2host): Fix logic.
29036
bf582445
AJ
29037 [BZ #6779]
29038 [BZ #6783]
29039 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29040 correctly.
29041 * math/w_remainder.c (__remainder): Likewise.
29042 * math/w_remainderf.c (__remainderf): Likewise.
29043 * math/libm-test.inc (remainder_test): Add test cases.
29044
48693bea
AK
290452011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29046
29047 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29048 sdiv_qrnnd.
29049
42622229
LD
290502011-10-07 Ulrich Drepper <drepper@gmail.com>
29051
29052 * string/test-memcmp.c: Avoid unncessary #defines.
29053 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29054
093ecf92
LD
290552011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29056
29057 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29058 Use new sse2 version for core i3 - i7 as it's faster
29059 than sse42 version.
29060 (bit_Prefer_PMINUB_for_stringop): New.
29061 * sysdeps/x86_64/rawmemchr.S: Update.
29062 Replace with faster SSE2 version.
29063 * sysdeps/x86_64/memrchr.S: New file.
29064 * sysdeps/x86_64/memchr.S: Update.
29065 Replace with faster SSE2 version.
29066
fde56e5c
MP
290672011-09-12 Marek Polacek <mpolacek@redhat.com>
29068
29069 * elf/dl-load.c (lose): Add cast to avoid warning.
29070
21fd49a9
UD
290712011-10-07 Ulrich Drepper <drepper@gmail.com>
29072
5a06e643
UD
29073 * po/ca.po: Update from translation team.
29074
684ae515
UD
29075 * inet/getnetgrent_r.c: Hook up nscd.
29076 * nscd/Makefile (routines): Add nscd_netgroup.
29077 (nscd-modules): Add netgroupcache.
29078 (CFLAGS-netgroupcache.c): Define.
29079 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29080 (cache_search): Add const to second parameter.
29081 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29082 INNETGR.
29083 (dbs): Add netgrdb entry.
29084 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29085 (verify_persistent_db): Handle netgrdb.
29086 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29087 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29088 GETFDNETGR.
29089 (netgroup_response_header): Define.
29090 (innetgroup_response_header): Define.
29091 (datahead): Add netgroup_response_header and innetgroup_response_header
29092 elements.
29093 * nscd/nscd.conf: Add entries for netgroup cache.
29094 * nscd/nscd.h (dbtype): Add netgrdb.
29095 (_PATH_NSCD_NETGROUP_DB): Define.
29096 (netgroup_iov_disabled): Declare.
29097 (xmalloc, xcalloc, xrealloc): Move declarations here.
29098 (cache_search): Adjust prototype.
29099 Add netgroup-related prototypes.
29100 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29101 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29102 (__nscd_innetgr): Declare.
29103 * nscd/selinux.c (perms): Use access_vector_t as element type and
29104 add netgroup-related initializers.
29105 * nscd/netgroupcache.c: New file.
29106 * nscd/nscd_netgroup.c: New file.
29107 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29108 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29109 For four parameters use innetgr.
29110 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29111 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29112 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29113 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29114
21fd49a9
UD
29115 * nscd/connections.c (register_traced_file): Don't register file
29116 for disabled databases.
29117
054c0457
UD
291182011-10-06 Ulrich Drepper <drepper@gmail.com>
29119
32b63198
UD
29120 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29121
054c0457
UD
29122 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29123 from tree and freeing node.
29124
64031225
JO
291252011-09-25 Jiri Olsa <jolsa@redhat.com>
29126
29127 * nss/nsswitch.c (__nss_database_lookup): Handle
29128 nss_parse_service_list out of memory case.
29129
0490345c
JO
291302011-09-15 Jiri Olsa <jolsa@redhat.com>
29131
29132 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29133 out of memory case.
29134
3a62d00d
AS
291352011-10-04 Andreas Schwab <schwab@redhat.com>
29136
29137 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29138 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29139 pass it down.
29140 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29141 elf_machine_rela, elf_machine_lazy_rel.
29142 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29143 (ELF_DYNAMIC_DO_REL): Likewise.
29144 (ELF_DYNAMIC_DO_RELA): Likewise.
29145 (ELF_DYNAMIC_RELOCATE): Likewise.
29146 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29147 to ELF_DYNAMIC_DO_REL.
29148 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29149 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29150 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29151 elf_machine_rela.
29152 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29153 skip_ifunc, don't call ifunc function if non-zero.
29154 (elf_machine_rela): Likewise.
29155 (elf_machine_lazy_rel): Likewise.
29156 (elf_machine_lazy_rela): Likewise.
29157 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29158 (elf_machine_lazy_rel): Likewise.
29159 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29160 Likewise.
29161 (elf_machine_lazy_rel): Likewise.
29162 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29163 Likewise.
29164 (elf_machine_lazy_rel): Likewise.
29165 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29166 (elf_machine_lazy_rel): Likewise.
29167 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29168 (elf_machine_lazy_rel): Likewise.
29169 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29170 (elf_machine_lazy_rel): Likewise.
29171 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29172 (elf_machine_lazy_rel): Likewise.
29173 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29174 (elf_machine_lazy_rel): Likewise.
29175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29176 (elf_machine_lazy_rel): Likewise.
29177
68577918
UD
291782011-09-28 Ulrich Drepper <drepper@gmail.com>
29179
29180 * nss/nss_files/files-init.c (_nss_files_init): Use static
29181 initialization for all the *_traced_file variables.
29182
68822d74
AS
291832011-09-28 Andreas Schwab <schwab@redhat.com>
29184
29185 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29186
2056100b
RM
291872011-09-27 Roland McGrath <roland@hack.frob.com>
29188
29189 [BZ #13226]
29190 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29191
32c76b63
AS
291922011-09-27 Andreas Schwab <schwab@redhat.com>
29193
29194 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29195 Reread the line before reparsing it.
29196
bf972c9d
AS
291972011-09-26 Andreas Schwab <schwab@redhat.com>
29198
29199 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29200
e057a1b5
JM
292012011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29202 Maxim Kuvyrkov <maxim@codesourcery.com>
29203 Joseph Myers <joseph@codesourcery.com>
29204
29205 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29206 if needed for __stack_chk_guard.
29207
bc7e1c36
RM
292082011-09-19 Roland McGrath <roland@hack.frob.com>
29209
ecb1482f
RM
29210 * sysdeps/posix/spawni.c (script_execute): Always define it.
29211 It will be optimized away if unused.
29212 (maybe_script_execute): New function.
29213 (__spawni): Call it.
29214
bc7e1c36
RM
29215 * Makerules: Don't include tls.make.
29216 (config-tls): Always set to thread.
29217 * tls.make.c: File removed.
29218
1c3b002b
MF
292192011-09-19 Mike Frysinger <vapier@gentoo.org>
29220
29221 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29222 * config.make.in (CPPFLAGS-config): New substituted variable.
29223
2840865d
UD
292242011-09-15 Ulrich Drepper <drepper@gmail.com>
29225
88738eb6
UD
29226 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29227
cbf645a6 29228 [BZ #13192]
2840865d
UD
29229 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29230 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29231
b402e91a
RM
292322011-09-15 Roland McGrath <roland@hack.frob.com>
29233
29234 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29235 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29236 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29237 (CALL_FAIL): Likewise.
29238 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29239 (CALL_FAIL): Macro removed.
29240 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29241
4c1a1f71
UD
292422011-09-15 Ulrich Drepper <drepper@gmail.com>
29243
29244 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29245 for __FINITE_MATH_ONLY__ == 1.
29246
edc121be
AS
292472011-09-15 Andreas Schwab <schwab@redhat.com>
29248
29249 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29250 __ieee754_sqrt instead of sqrt.
29251 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29252 __ieee754_sqrtf instead of sqrtf.
29253 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29254 __floorf instead of floorf.
29255 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29256 __floorf, __truncf instead of floorf, truncf.
29257
cd205654
UD
292582011-09-14 Ulrich Drepper <drepper@gmail.com>
29259
ee4d0315
UD
29260 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29261
cd205654
UD
29262 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29263 __extern_always_inline.
29264 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29265 32-bit.
29266
48b67d71
AS
292672011-09-14 Andreas Schwab <schwab@redhat.com>
29268
29269 * elf/rtld.c (dl_main): Also relocate in dependency order when
29270 doing symbol dependency testing.
29271
1ae12c75
AS
292722011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29273
29274 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29275 Always define `refsym'.
29276
995a80df
AS
292772011-09-13 Andreas Schwab <schwab@redhat.com>
29278
e529793b
AS
29279 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29280 (__FD_ELT): Renamed from __FDELT.
29281 * misc/bits/select2.h (__FD_ELT): Likewise.
29282 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29283 __FD_MASK instead of __FDELT, __FDMASK.
29284 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29285 Likewise.
29286 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29287 Likewise.
29288
52d4fef8
AS
29289 * elf/Makefile (gen-ldd): Fix pattern.
29290
995a80df
AS
29291 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29292 (init_tls): Likewise.
29293
8682f8b0
UD
292942011-09-12 Ulrich Drepper <drepper@gmail.com>
29295
29296 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29297
de82006d
AS
292982011-09-12 Andreas Schwab <schwab@redhat.com>
29299
a7c8e6a1
AS
29300 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29301 `struct cmsghdr *' instead of `void *'.
29302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29303 Likewise.
29304
0f31fe77
AS
293052011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29306
29307 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29308 if non-absolute.
29309 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29310 ldd_rewrite_script.
0f31fe77 29311
32b4c839
UD
293122011-09-11 Ulrich Drepper <drepper@gmail.com>
29313
83cd1420
UD
29314 * configure.in: Remove --with-tls option.
29315 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29316 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29317 out in case it is missing.
29318 * sysdeps/ia64/elf/configure.in: Likewise.
29319 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29320 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29321 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29322 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29323 * sysdeps/sh/elf/configure.in: Likewise.
29324 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29325 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29326 * sysdeps/x86_64/elf/configure.in: Likewise.
29327 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29328 * sysdeps/mach/hurd/tls.h: Likewise.
29329
633f745d
UD
29330 [BZ #13067]
29331 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29332
f318beb8
UD
29333 [BZ #13090]
29334 * configure.in: Fix use of AC_INIT.
29335
32b4c839
UD
29336 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29337
3ce1f295
UD
293382011-09-10 Ulrich Drepper <drepper@gmail.com>
29339
bb016596
UD
29340 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29341 __set_errno.
8e58439c
UD
29342 * malloc/hooks.c: Likewise.
29343
aebae053 29344 [BZ #11929]
02d46fc4
UD
29345 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29346 variables statically.
29347 (narenas): Initialize.
29348 (list_lock): Initialize.
bb016596
UD
29349 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29350 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29351 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29352 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29353 Add initializers to main_arena and mp_.
29354 (malloc_state): Remove pagesize member. Change all users to use
29355 GLRO(dl_pagesize).
29356
29357 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29358 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29359 is always initialized.
29360
22a89187
UD
29361 * malloc/malloc.c: Removed unused configurations and dead code.
29362 * malloc/arena.c: Likewise.
29363 * malloc/hooks.c: Likewise.
02d46fc4 29364 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29365
d063d164
UD
29366 * include/tls.h: Removed. USE___THREAD must always be defined.
29367 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29368 * elf/dl-libc.c: Likewise.
29369 * elf/dl-tsd.c: Likewise.
29370 * include/errno.h: Likewise.
29371 * include/netdb.h: Likewise.
29372 * include/resolv.h: Likewise.
29373 * inet/herrno-loc.c: Likewise.
29374 * inet/herrno.c: Likewise.
29375 * malloc/arena.c: Likewise.
29376 * malloc/hooks.c: Likewise.
29377 * malloc/malloc.c: Likewise.
29378 * resolv/res-state.c: Likewise.
29379 * resolv/res_libc.c: Likewise.
29380 * sysdeps/i386/dl-machine.h: Likewise.
29381 * sysdeps/ia64/dl-machine.h: Likewise.
29382 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29383 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29384 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29385 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29386 * sysdeps/sh/dl-machine.h: Likewise.
29387 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29388 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29389 * sysdeps/unix/i386/sysdep.S: Likewise.
29390 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29391 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29393 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29394 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29395 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29396 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29397 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29398 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29399 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29400 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29401 * sysdeps/x86_64/dl-machine.h: Likewise.
29402 * tls.make.c: Likewise.
29403
3ce1f295
UD
29404 * configure.in: Remove --with-__thread option. Make tests for
29405 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29406 tls_model attribute fail if no support is available. Remove
29407 USE_IN_LIBIO.
29408 * Makeconfig: Adjust for dropped configure option. All features are
29409 now mandatory.
29410 * Makerules: Likewise.
29411 * Versions.def: Likewise.
29412 * argp/argp-fmtstream.c: Likewise.
29413 * argp/argp-fmtstream.h: Likewise.
29414 * argp/argp-help.c: Likewise.
29415 * assert/assert.c: Likewise.
29416 * config.h.in: Likewise.
29417 * config.make.in: Likewise.
29418 * configure: Likewise.
29419 * configure.in: Likewise.
29420 * csu/Versions: Likewise.
29421 * csu/init.c: Likewise.
29422 * elf/tst-audit2.c: Likewise.
29423 * elf/tst-tls10.c: Likewise.
29424 * elf/tst-tls10.h: Likewise.
29425 * elf/tst-tls11.c: Likewise.
29426 * elf/tst-tls12.c: Likewise.
29427 * elf/tst-tls14.c: Likewise.
29428 * elf/tst-tlsmod11.c: Likewise.
29429 * elf/tst-tlsmod12.c: Likewise.
29430 * elf/tst-tlsmod13.c: Likewise.
29431 * elf/tst-tlsmod13a.c: Likewise.
29432 * elf/tst-tlsmod14a.c: Likewise.
29433 * elf/tst-tlsmod15b.c: Likewise.
29434 * elf/tst-tlsmod16a.c: Likewise.
29435 * elf/tst-tlsmod16b.c: Likewise.
29436 * elf/tst-tlsmod7.c: Likewise.
29437 * elf/tst-tlsmod8.c: Likewise.
29438 * elf/tst-tlsmod9.c: Likewise.
29439 * gmon/gmon.c: Likewise.
29440 * grp/fgetgrent_r.c: Likewise.
29441 * grp/putgrent.c: Likewise.
29442 * hurd/fopenport.c: Likewise.
29443 * include/libc-symbols.h: Likewise.
29444 * include/tls.h: Likewise.
29445 * intl/gettextP.h: Likewise.
29446 * intl/loadinfo.h: Likewise.
29447 * locale/global-locale.c: Likewise.
29448 * locale/localeinfo.h: Likewise.
29449 * mach/devstream.c: Likewise.
29450 * malloc/arena.c: Likewise.
29451 * malloc/set-freeres.c: Likewise.
29452 * misc/err.c: Likewise.
29453 * misc/getttyent.c: Likewise.
29454 * misc/mntent_r.c: Likewise.
29455 * posix/getopt.c: Likewise.
29456 * posix/wordexp.c: Likewise.
29457 * pwd/fgetpwent_r.c: Likewise.
29458 * resolv/Versions: Likewise.
29459 * resolv/res_hconf.c: Likewise.
29460 * shadow/fgetspent_r.c: Likewise.
29461 * shadow/putspent.c: Likewise.
29462 * stdio-common/printf_fphex.c: Likewise.
29463 * stdio-common/tmpfile.c: Likewise.
29464 * stdlib/abort.c: Likewise.
29465 * stdlib/fmtmsg.c: Likewise.
29466 * sunrpc/auth_unix.c: Likewise.
29467 * sunrpc/clnt_perr.c: Likewise.
29468 * sunrpc/clnt_tcp.c: Likewise.
29469 * sunrpc/clnt_udp.c: Likewise.
29470 * sunrpc/clnt_unix.c: Likewise.
29471 * sunrpc/openchild.c: Likewise.
29472 * sunrpc/svc_simple.c: Likewise.
29473 * sunrpc/svc_tcp.c: Likewise.
29474 * sunrpc/svc_udp.c: Likewise.
29475 * sunrpc/svc_unix.c: Likewise.
29476 * sunrpc/xdr.c: Likewise.
29477 * sunrpc/xdr_array.c: Likewise.
29478 * sunrpc/xdr_rec.c: Likewise.
29479 * sunrpc/xdr_ref.c: Likewise.
29480 * sunrpc/xdr_stdio.c: Likewise.
29481
1248c1c4
PB
294822011-09-09 Ulrich Drepper <drepper@gmail.com>
29483
29484 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29485
294862011-07-03 Andreas Jaeger <aj@suse.de>
29487
29488 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29489 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29490 regenerate with gen-libm-tests.pl.
29491
294922010-05-12 Petr Baudis <pasky@suse.cz>
29493
29494 [BZ #11589]
29495 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29496 around j0() zero points by switching to j1().
29497 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29498 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29500 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29501
f22e1074
UD
295022011-09-09 Ulrich Drepper <drepper@gmail.com>
29503
f19009c1
UD
29504 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29505 instead of 0.
29506 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29507 instead of 0.
f19009c1
UD
29508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29509 Patch in part by Pavel Roskin <proski@gnu.org>.
29510
3f8cc204
UD
29511 [BZ #13138]
29512 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29513 realloc.
29514 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29515 Free memory block if necessary.
29516
f22e1074
UD
29517 [BZ #12847]
29518 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29519 be NULL. Don't lock in this case.
29520
0a2349f9
RM
295212011-09-09 Roland McGrath <roland@hack.frob.com>
29522
29523 * elf/elf.h (ELFOSABI_GNU): New macro.
29524 (ELFOSABI_LINUX): Define to that.
29525
f3cdd467
DZ
295262011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29527
29528 * string/strncat.c (strncat): Undef the symbol in case it has been
29529 defined in bits/string.h.
29530
74718d13
UD
295312011-09-09 Ulrich Drepper <drepper@gmail.com>
29532
633e9e0f
UD
29533 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29534
0a2349f9 29535 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29536 link map.
29537
f9924780
AJ
295382011-08-17 Andreas Jaeger <aj@suse.de>
29539
29540 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29541
7f5517aa
PP
295422011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29543 Ian Lance Taylor <iant@google.com>
29544
29545 * math/libm-test.inc (lround_test): New testcase.
29546 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29547
762011fe
UD
295482011-09-08 Ulrich Drepper <drepper@gmail.com>
29549
92963737
UD
29550 * Makefile: Remove support for automatic cvs check-ins.
29551 * Makerules: Likewise.
29552 * config.make.in: Likewise.
29553 * configure.in: Likewise.
29554 * intl/Makefile: Likewise.
29555 * locale/Makefile: Likewise.
29556 * po/Makefile: Likewise.
29557 * posix/Makefile: Likewise.
29558 * sysdeps/gnu/Makefile: Likewise.
29559 * sysdeps/mach/hurd/Makefile: Likewise.
29560 * sysdeps/sparc/sparc32/Makefile: Likewise.
29561
b0727fd8
JS
29562 [BZ #13118]
29563 * posix/Makefile (bug-regex32-ENV): Define.
29564 Patch by John Stanley <jpsinthemix@verizon.net>.
29565
a0f33f99
UD
29566 * misc/Makefile (headers): Add bits/select2.h.
29567 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29568 * misc/bits/select2.h: New file.
29569 * include/bits/select2.h: New file.
29570 * debug/Makefile (routines): Add fdelt_chk.
29571 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29572 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29573 FD_ISSET.
29574 * debug/fdelt_chk.c: New file.
29575
762011fe
UD
29576 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29577 * wcsmbs/test-wmemcmp.c: Likewise.
29578 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29579 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29580
295812011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29582
29583 * string/Makefile (strop-tests): Add memcmp.
29584 * string/test-wmemcmp.c: New file.
29585 * string/test-memcmp.c: Add wmemcmp support.
29586
7f513ec8
RM
295872011-09-08 Roland McGrath <roland@hack.frob.com>
29588
0442afb4
RM
29589 [BZ #13153]
29590 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29591 2011-07-19 change.
29592
7f513ec8
RM
29593 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29594 garbage value in a __mach_port_mod_refs call in the cases of the
29595 task-self and thread-self ports.
29596
a12b2239
ST
295972011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29598
29599 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29600
610f9ab4
AS
296012011-09-08 Andreas Schwab <schwab@redhat.com>
29602
7f513ec8 29603 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29604
48882a1a
LD
296052011-09-07 Ulrich Drepper <drepper@gmail.com>
29606
b49865be
UD
29607 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29608
fdc86bc9
UD
29609 * elf/dl-libc.c (dlerror_run): Pass back error code from
29610 dl_catch_error.
29611
c966526a
UD
29612 [BZ #13123]
29613 * elf/dl-load.c (lose): Free l_origin if it is valid.
29614
48882a1a
LD
29615 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29616 names.
29617 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29618 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29619 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29620 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29621 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29622 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29623
77a2a8b4
AZ
296242011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29625
29626 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29627 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29628 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29629 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29630 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29631 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29632 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29633 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29634 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29635 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29636
24f579d8
AM
296372011-08-15 Alan Modra <amodra@gmail.com>
29638
29639 [BZ #13092]
29640 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29641 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29642 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29643 ppc_mcount to static-only-routines.
29644 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29645 __mcount_internal.
29646 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29647 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29648
3d4837df
UD
296492011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29650
29651 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29652 for finite and infinity parameters.
29653
22700377
WS
296542011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29655
29656 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29657 and add nop instructions for throughput optimization.
29658 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29659
5025581e
WS
296602011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29661
29662 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29663 aligned copy for power7 with vector-scalar instructions.
29664 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29665
08a300c9
L
296662011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29667
29668 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29669 AVX check.
29670
59178ef9
AS
296712011-09-07 Andreas Schwab <schwab@redhat.com>
29672
29673 [BZ #13144]
29674 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29675 last change.
29676
e38ba7ab
UD
296772011-09-07 Ulrich Drepper <drepper@gmail.com>
29678
29679 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29680 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29681 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29682 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29683 clock_gettime.
29684
d53a73ac
UD
296852011-09-06 Ulrich Drepper <drepper@gmail.com>
29686
fc8bffcc
UD
29687 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29688 Forgot to demangle the pointer.
29689
ceaa0c5d
UD
29690 * sysdeps/i386/sysdep.h: Define atom_text_section.
29691 * sysdeps/x86_64/sysdep.h: Likewise.
29692 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29693 section with atom_text_section.
29694 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29695 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29696 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29697 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29698 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29699
a77d3c17
UD
29700 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29701 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29702 already be defined. Change to take two parameters and don't assign
29703 result to variable. Adjust all users.
29704 Define INTERNAL_GETTIME if not already defined.
29705 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29706 call.
29707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29708 HAVE_CLOCK_GETTIME_VSYSCALL.
29709 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29710
d53a73ac
UD
29711 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29712 gettimeofday vsyscall, just use time.
29713
a8f84144
AS
297142011-09-06 Andreas Schwab <schwab@redhat.com>
29715
29716 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29717 <errno.h>.
29718
ef606249
UD
297192011-09-06 Ulrich Drepper <drepper@gmail.com>
29720
29721 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29722 syscall on x86-64.
29723 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29724 syscall.
29725 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29726 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29727 syscall if possible.
29728
6585cb60
UD
297292011-09-05 Ulrich Drepper <drepper@gmail.com>
29730
29731 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29732 e_ident. Don't pass to find_mapsXX.
29733 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29734
a5f524e4
LD
297352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29736
29737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29738 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29739 * sysdeps/x86_64/multiarch/strchr.S: Update.
29740 Check bit_slow_BSF bit.
29741 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29742 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29743 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29744
554881ef
UD
297452011-09-05 Ulrich Drepper <drepper@gmail.com>
29746
d96de963
UD
29747 [BZ #13134]
29748 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29749 before glibc 2.15.
29750 (tryshell): Define.
29751 (__spawni): Change last parameter to be flag. Test
29752 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29753 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29754 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29755 * posix/spawni.c: Likewise.
29756 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29757 * posix/spawnp.c: Likewise. Change normal version to use
29758 SPAWN_XFLAGS_USE_PATH.
29759 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29760 SPAWN_XFLAGS_TRY_SHELL.
29761
d48e5868
UD
29762 [BZ #13150]
29763 * posix/glob.h: Remove gcc 1.x support.
29764
554881ef
UD
29765 [BZ #13068]
29766 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29767
693fb948
LD
297682011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29769
29770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29771 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29772 strrchr-sse2-bsf
29773 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29774 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29775 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29776 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29777 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29778 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29779
1b48c537
UD
297802011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29781
49d42c37
UD
29782 * sysdeps/x86_64/wcscmp.S: New file.
29783
1b48c537
UD
29784 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29785 wcscmp-c wcscmp-sse2
29786 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29787 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29788 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29789 * wcsmbs/wcscmp.c: Allow renaming.
29790
15c95c5d
DM
297912011-09-05 David S. Miller <davem@davemloft.net>
29792
29793 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29794 stack slot, rather than the struct return pointer slot.
29795 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29796 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29798 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29799
2f0ad8f3
UD
298002011-09-05 Ulrich Drepper <drepper@gmail.com>
29801
d88ae418
UD
29802 * po/ja.po: Update from translation team.
29803
2f0ad8f3
UD
29804 [BZ #13144]
29805 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29806 kernel in 64-bit binaries.
29807
5f4318d1
DM
298082011-09-01 David S. Miller <davem@davemloft.net>
29809
29810 * elf/elf.h (HWCAP_SPARC_*): Move to..
29811 * sysdeps/sparc/sysdep.h: this new file and add new values.
29812 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29813 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29814 _DL_HWCAP_COUNT to 24.
29815 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29816 entries.
29817 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29818 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29819 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29820 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29821 instead of magic constants.
29822 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29823
3ba57516
DM
298242011-08-31 David S. Miller <davem@davemloft.net>
29825
29826 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29827 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29828 Reimplement to do errno handling inline.
29829 (SYSCALL_ERROR_HANDLER): New macro.
29830 (__SYSCALL_STRING): Do not do errno handling in asm.
29831 (__CLONE_SYSCALL_STRING): Delete.
29832 (__INTERNAL_SYSCALL_STRING): Delete.
29833 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29834 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29835 (PSEUDO): Reimplement to do errno handling inline.
29836 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29837 (SYSCALL_ERROR_HANDLER): New macro.
29838 (__SYSCALL_STRING): Do not do errno handling in asm.
29839 (__CLONE_SYSCALL_STRING): Delete.
29840 (__INTERNAL_SYSCALL_STRING): Delete.
29841 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29842 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29843 i386.
29844 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29845 (inline_syscall*): Add 'err' argument.
29846 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29847 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29848 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29849 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29850
29851 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29852 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29853
2bc17433
AS
298542011-08-30 Andreas Schwab <schwab@redhat.com>
29855
29856 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29857
fbeb5f4d
JO
298582011-08-29 Jiri Olsa <jolsa@redhat.com>
29859
29860 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29861 directive.
29862
ad69cc26
DM
298632011-08-24 David S. Miller <davem@davemloft.net>
29864
29865 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29866
39dd69df
AS
298672011-08-24 Andreas Schwab <schwab@redhat.com>
29868
29869 * elf/Makefile: Add rules to build and run unload8 test.
29870 * elf/unload8.c: New file.
29871 * elf/unload8mod1.c: New file.
29872 * elf/unload8mod1x.c: New file.
29873 * elf/unload8mod2.c: New file.
29874 * elf/unload8mod3.c: New file.
29875
29876 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29877 it wasn't used.
29878
2c0b250a
DM
298792011-08-23 David S. Miller <davem@davemloft.net>
29880
29881 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29882 subtract stack bias.
29883 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29884 %sp not %fp in calculations.
29885 (_JMPBUF_UNWINDS_ADJ): Likewise.
29886
22044b48
DM
29887 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29888 (aio_suspend): Call it to force an exception region around the
29889 AIO_MISC_WAIT() invocation.
29890
2cae4995
AS
298912011-08-23 Andreas Schwab <schwab@redhat.com>
29892
29893 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29894 backslash.
29895
873a772e
AJ
298962011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29897
29898 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29899 protection macro.
29900 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29901 and <dl-machine.h>.
29902 (Elf64_FuncDesc): Remove.
29903
25ad0df1
DM
299042011-08-22 David S. Miller <davem@davemloft.net>
29905
29906 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29907 sigaltstack check, add missing cfi directives.
29908 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29909 missing cfi directives, and sigaltstack handling.
29910
e888bcbe
AS
299112011-08-16 Andreas Schwab <schwab@redhat.com>
29912
29913 [BZ #11724]
29914 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29915 object is seen twice.
29916 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29917
29918 * elf/Makefile (distribute): Add tst-initorder2.c.
29919 (tests): Add tst-initorder2.
29920 (modules-names): Add tst-initorder2a tst-initorder2b
29921 tst-initorder2c tst-initorder2d. Add rules to build them.
29922 ($(objpfx)tst-initorder2.out): New rule.
29923 * elf/tst-initorder2.c: New file.
29924 * elf/tst-initorder2.exp: New file.
29925
87162f46
AS
299262011-08-22 Andreas Schwab <schwab@redhat.com>
29927
70538b7f
AS
29928 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29929
f55ffe58
AS
29930 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29931 dependencies back to end of function.
29932
87162f46
AS
29933 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29934 $(elfobjdir)/ld.so.
29935
91b392a4
UD
299362011-08-21 Ulrich Drepper <drepper@gmail.com>
29937
29938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29939 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29940 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29941 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29942 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29943 of __vdso_gettimeofday.
29944 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29945 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29946 attribute_hidden.
29947 (_libc_vdso_platform_setup): Remove initialization of
29948 __vdso_gettimeofday and __vdso_time.
29949
5c43483f
UD
299502011-08-20 Ulrich Drepper <drepper@gmail.com>
29951
775a77e7
UD
29952 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29953 and fgetc_unlocked.
29954 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29955 getc_unlocked.
89f447ed 29956
49c74ba9
UD
29957 * elf/dl-open.c (add_to_global): Report additions to the global scope
29958 for LD_DEBUG=scopes.
29959 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29960 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29961
5c43483f
UD
29962 [BZ #13114]
29963 * stdio-common/Makefile (tests): Add bug24.
29964 * stdio-common/bug24.c: New file.
29965
a101b025
AJ
299662011-08-19 Andreas Jaeger <aj@suse.de>
29967
29968 [BZ #13114]
29969 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29970 non-existant file when using close-on-exec mode.
29971
c88f1766
UD
299722011-08-20 Ulrich Drepper <drepper@gmail.com>
29973
0276a718
UD
29974 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29975 the very first instruction.
29976
c88f1766
UD
29977 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29978 the CFI state in the end.
29979 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29980 inclusion of dl-trampoline.h.
29981 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29982
51ccffa0
AS
299832011-08-19 Andreas Schwab <schwab@redhat.com>
29984
94d7165f
AS
29985 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29986 expectations for long double.
29987
51ccffa0
AS
29988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29989 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29990
fd708658 299912011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29992
29993 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29994 artificual limit depends upon the system page size.
29995
44f0a71e
UD
299962011-08-17 Ulrich Drepper <drepper@gmail.com>
29997
29998 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29999 * resolv/Makefile: Define CFLAGS-libresolv.
30000
8de79a24
AS
300012011-08-17 Andreas Schwab <schwab@redhat.com>
30002
30003 * nss/makedb.c (compute_tables): Make variables used in nested
30004 function static.
30005
27724598
UD
300062011-08-17 Ulrich Drepper <drepper@gmail.com>
30007
c5305d88
UD
30008 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30009 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30010 if buffer was too small.
30011
27724598
UD
30012 * elf/pldd.c (main): Attach to all threads in the process.
30013 Rewrite /proc handling to use *at functions.
30014
076fe015
UD
300152011-08-16 Ulrich Drepper <drepper@gmail.com>
30016
174baab3
UD
30017 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30018 specifies first scope to show.
30019 (dl_open_worker): Update callers. Move printing scope of new
30020 object to before the relocation.
44f0a71e 30021 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
30022 * sysdeps/generic/ldsodefs.h: Update declaration.
30023
076fe015
UD
30024 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30025 string for the scope number.
30026
a60df2c3
UD
300272011-08-14 Ulrich Drepper <drepper@gmail.com>
30028
30029 * nscd/servicescache.c (cache_addserv): Make sure written is always
30030 initialized.
30031
5e4287d1
RM
300322011-08-14 Roland McGrath <roland@hack.frob.com>
30033
85ae0589
RM
30034 * sysdeps/i386/i486/bits/atomic.h
30035 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30036 statement expression, so as to suppress "set but not used" warning.
30037 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30038
69f63097
RM
30039 * string/strncat.c (STRNCAT): Use prototype definition.
30040
675456ef
RM
30041 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30042 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30043 -Iprograms here.
30044 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30045 (localedef-modules): Add localedef.
30046 (locale-modules): Add locale.
30047
5e4287d1
RM
30048 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30049 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30050 to avoid a warning.
30051
9c96ff23
DM
300522011-08-14 David S. Miller <davem@davemloft.net>
30053
30054 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30055 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30056
f9ddf089
UD
300572011-08-13 Ulrich Drepper <drepper@gmail.com>
30058
44f0a71e 30059 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
30060 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30061 * elf/rtld.c (dl_main): Set l_name of vDSO.
30062 Call _dl_show_scope when DL_DEBUG_SCOPES.
30063 (process_dl_debug): Recognize scopes flag and also set it for all.
30064 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30065 Declare _dl_show_scope.
30066
1dc27704
UD
30067 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30068 (do_dlopen): Pass caller_dlopen to dl_open.
30069 (__libc_dlopen_mode): Initialize caller_dlopen.
30070
f9ddf089
UD
30071 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30072 of libc. Make tolower call locale-independent. Optimize a bit by
30073 using isdigit instead of isalnum.
30074 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30075
9ac533d3
UD
300762011-08-12 Ulrich Drepper <drepper@gmail.com>
30077
30078 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30079 was a dependency or dynamically loaded.
30080
89edf2e9
UD
300812011-08-11 Ulrich Drepper <drepper@gmail.com>
30082
8e999d29
UD
30083 * intl/l10nflist.c: Allow architecture-specific pop function.
30084 * sysdeps/x86_64/l10nflist.c: New file.
30085
89edf2e9
UD
30086 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30087 classification.
30088
14d96785
AS
300892011-08-10 Andreas Schwab <schwab@redhat.com>
30090
30091 * include/dirent.h: Add libc_hidden_proto for scandirat and
30092 scandirat64. Don't declare __scandirat64.
30093 * dirent/scandirat.c: Add libc_hidden_def.
30094 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30095 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30096
6761ac04
DM
300972011-08-10 David S. Miller <davem@davemloft.net>
30098
30099 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30100 enum.
30101 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30102 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30103 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30104
c55fbd1e
UD
301052011-08-09 Ulrich Drepper <drepper@gmail.com>
30106
30107 * Versions.def [libc]: Add GLIBC_2.15.
30108 * dirent/Makefile (routines): Add scandirat and scandirat64.
30109 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30110 GLIBC_2.15.
30111 * dirent/dirent.h: Declare scandirat and scandirat64.
30112 * dirent/scandirat.c: New file.
30113 * dirent/scandirat64.c: New file.
30114 * sysdeps/wordsize-64/scandirat.c: New file.
30115 * sysdeps/wordsize-64/scandirat64.c: New file.
30116 * dirent/opendir.c: Define opendirat.
30117 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30118 using scandirat.
30119 * dirent/scandir64.c: Adjust for scandir.c change.
30120 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30121 __scandirat64, and __scandir_cancel_handler.
30122 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30123 additional parameter and use openat instead of open (outside of ld.so).
30124 Add new __opendir as wrapper around __opendirat.
30125 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30126 here without requiring old scandirat implementation.
30127
879165f2
UD
301282011-08-08 Ulrich Drepper <drepper@gmail.com>
30129
30130 * dirent/scandir.c (cancel_handler): Renamed to
30131 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30132 defined. Adjust users.
30133 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30134 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30135
cb7e923b
UD
301362011-08-04 Ulrich Drepper <drepper@gmail.com>
30137
16292edd
UD
30138 * string/test-string.h (IMPL): Use __STRING to expand name and then
30139 stringify it.
30140
cb7e923b
UD
30141 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30142 of cleanups.
30143
cff82933
LD
301442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30145
30146 * string/Makefile: Update.
30147 (strop-tests): Append strncat.
30148 * string/test-wcscmp.c: New file.
30149 New comprehensive test for wcscmp.
30150 * string/test-strcmp.c: Update.
30151 (WIDE): New define.
30152
9be9bfcc
AS
301532011-07-22 Andreas Schwab <schwab@redhat.com>
30154
30155 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30156 line.
30157
2e96f1c7
AS
301582011-07-26 Andreas Schwab <schwab@redhat.com>
30159
30160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30161 encoding to ACE if AI_IDN.
30162
85188888
JJ
301632011-08-01 Jakub Jelinek <jakub@redhat.com>
30164
30165 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30166 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30167
5fa16e9b
LD
301682011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30169
30170 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30171 Fix overflow bug in strncat.
30172 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30173
30174 * string/test-strncat.c: Update.
30175 Add new tests for checking overflow bugs.
30176
301772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30178
30179 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30180 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30181 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30182 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30183 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30184 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30185 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30186 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30187 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30188
30189 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30190 (USE_AS_STRCAT): Define.
30191 Add strcat and strncat support.
30192 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30193
8c1a459f
AS
301942011-07-25 Andreas Schwab <schwab@redhat.com>
30195
30196 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30197 __n bigger than INT_MAX+1.
30198 (__strncmp_g): Likewise.
30199
bba33c28
UD
302002011-07-23 Ulrich Drepper <drepper@gmail.com>
30201
798be72d
UD
30202 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30203 * libio/stido.h: Likewise.
30204
8accd4dc
UD
30205 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30206 (AF_NFC): Define.
30207 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30208 (AF_NFC): Define.
30209
cbff0d96
UD
30210 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30211 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30212 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30213 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30214 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30215
9191c04a
UD
30216 [BZ #13021]
30217 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30218 installed.
30219
bba33c28
UD
30220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30221 typo.
30222 (_dl_x86_64_save_sse): Likewise.
30223
90f139dd
UD
302242011-07-22 Ulrich Drepper <drepper@gmail.com>
30225
1aae088a
UD
30226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30227 OSXSAVE.
30228 (_dl_x86_64_save_sse): Likewise.
30229
8e2045f5
UD
30230 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30231
90f139dd
UD
30232 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30233
1d002f25
AS
302342011-07-21 Andreas Schwab <schwab@redhat.com>
30235
30236 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30237 change.
30238 (_dl_x86_64_save_sse): Use correct AVX check.
30239
21137f89
UD
302402011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30241
30242 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30243 bug in strncpy/strncat.
30244 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30245
a65c0b7a
UD
302462011-07-21 Ulrich Drepper <drepper@gmail.com>
30247
30248 * string/tester.c (test_strcat): Add tests for different alignments
30249 of source and destination.
30250 (test_strncat): Likewise.
30251
6986b98a
UD
302522011-07-20 Ulrich Drepper <drepper@gmail.com>
30253
90bb2039
UD
30254 [BZ #12852]
30255 * posix/glob.c (glob): Check passed in values before using them in
30256 expressions to avoid some overflows.
30257 (glob_in_dir): Likewise.
30258
5644ef54
UD
30259 [BZ #13007]
30260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30261 check for AVX enablement so that we don't crash with old kernels and
30262 new hardware.
30263 * elf/tst-audit4.c: Add same checks here.
30264 * elf/tst-audit6.c: Likewise.
30265
30266 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 30267
bfc9dc9b
AS
302682011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30269
30270 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30271
702e64bb
UD
302722011-07-20 Ulrich Drepper <drepper@gmail.com>
30273
30274 * po/cs.po: Update from translation team.
30275 * po/bg.po: Likewise.
30276
295e904f
MP
302772011-07-12 Marek Polacek <mpolacek@redhat.com>
30278
30279 * misc/sys/cdefs.h: Add support for const attribute.
30280 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30281 to gnu_dev_{major,minor,makedev} functions.
30282
3ff94596
MP
302832011-07-20 Marek Polacek <mpolacek@redhat.com>
30284
30285 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30286
28b59fca
AS
302872011-07-20 Andreas Schwab <schwab@redhat.com>
30288
30289 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30290 strlen results.
30291
19df733e
AK
302922011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30293
30294 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30295 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30296 register in order to avoid conflicts with the soft frame pointer
30297 being held in r11 when necessary.
30298 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30299 (INTERNAL_VSYSCALL_NCS): Likewise.
30300
c8835729
MP
303012011-07-14 Marek Polacek <mpolacek@redhat.com>
30302
30303 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30304 * elf/dl-fini.c (_dl_fini): Adjust caller.
30305 * elf/dl-close.c (_dl_close_worker): Likewise.
30306 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30307
b902330c
MP
303082011-07-15 Marek Polacek <mpolacek@redhat.com>
30309
8991e135
MP
30310 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30311 "aux_cache->nlibs < 0".
30312
b902330c
MP
30313 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30314 in the reload-count case.
30315
99710781
LD
303162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30317
30318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30319 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30320 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30321 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30322 * sysdeps/x86_64/multiarch/strcat.S: New file.
30323 * sysdeps/x86_64/multiarch/strncat.S: New file.
30324 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30325 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30326 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30327 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30328 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30329 (USE_AS_STRCAT): Define.
30330 Add strcat and strncat support.
30331 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30332 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30333 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30334 * string/strncat.c: Update.
30335 (USE_AS_STRNCAT): Define.
30336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30337 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30338 and i7.
30339 * sysdeps/x86_64/multiarch/init-arch.h
30340 (bit_Prefer_PMINUB_for_stringop): New.
30341 (index_Prefer_PMINUB_for_stringop): Likewise.
30342 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30343 bit_Prefer_PMINUB_for_stringop.
30344
7dc6bd90
UD
303452011-07-19 Ulrich Drepper <drepper@gmail.com>
30346
30347 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30348 buffer64.
30349 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30350 of casting of buffer.
30351 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30352 buffer32 and buffer64.
30353 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30354 writes instead of casting of buffer.
30355 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30356 buffer32.
30357 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30358 casting of buffer.
30359
e0e72284
AS
303602011-07-19 Andreas Schwab <schwab@redhat.com>
30361
30362 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30363
feb1eb0b
UD
303642011-07-19 Ulrich Drepper <drepper@gmail.com>
30365
30366 * nscd/nscd.c (termination_handler): Don't do anything for a database
30367 if it has not yet been initialized.
30368
298711ff
UD
303692011-07-18 Ulrich Drepper <drepper@gmail.com>
30370
30371 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30372
303732011-07-15 Marek Polacek <mpolacek@redhat.com>
30374
30375 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30376
f9d68389
UD
303772011-07-18 Ulrich Drepper <drepper@gmail.com>
30378
30379 * po/nl.po: Update from translation team.
30380 * po/sv.po: Likewise.
30381
db290cf5
RM
303822011-07-16 Roland McGrath <roland@hack.frob.com>
30383
30384 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30385 now disallowed by GCC.
5c550700 30386
fd5e21c7
RM
30387 * configure.in (use-default-link): Default to yes if a test -shared
30388 link meets our qualifications.
30389 * configure: Regenerated.
30390
5c550700
RM
30391 * config.make.in (output-format): New variable.
30392 * configure.in: Check for ld --print-output-format support.
30393 * configure: Regenerated.
30394 * Makerules ($(common-objpfx)format.lds)
30395 [$(output-format) != unknown]: Just use $(output-format),
30396 instead of the linker-script munging.
30397
9fa2c032
RM
303982011-07-14 Roland McGrath <roland@hack.frob.com>
30399
a6928d51
RM
30400 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30401 of $(common-objpfx)shlib.lds.
30402 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30403
661607b3
RM
30404 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30405 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30406
9fa2c032
RM
30407 * configure.in (-z relro check): Adjust test code to add a large
30408 writable data section after it.
30409 * configure: Regenerated.
30410
defe9061
RM
304112011-07-11 Roland McGrath <roland@hack.frob.com>
30412
30413 * configure.in (-z relro check): Fix test code to make the variable
30414 truly const.
30415 * configure: Regenerated.
30416
319b9ad4
UD
304172011-07-11 Ulrich Drepper <drepper@gmail.com>
30418
30419 * nscd/nscd.h (struct traced_file): Define.
30420 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30421 elements. Add traced_files.
30422 (inotify_fd): Declare.
30423 (register_traced_file): Declare.
30424 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30425 (inotify_fd): Export.
30426 (resolv_conf_descr): Remove.
30427 (nscd_init): Move inotify descriptor creation to main.
30428 Don't register files for notification here.
30429 (register_traced_file): New function.
30430 (invalidate_cache): Don't use reset_res to determine whether to call
30431 res_init, go through the list of registered files.
30432 (main_loop_poll): The inotify descriptors are now stored in the
30433 structures for the traced files.
30434 (main_loop_epoll): Likewise
30435 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30436 to __nss_disable_nscd.
30437 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30438 for a database anymore. Check the records for all the registered
30439 files instead.
30440 * nss/Makefile (libnss_files-routines): Add files-init.
30441 (libnss_db-routines): Add db-init.
30442 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30443 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30444 * nss/nss_db/db-init.c: New file.
30445 * nss/nss_files/files-init.c: New file.
30446 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30447 __nss_lookup_function.
30448 (__nss_lookup_function): Call nss_load_library.
30449 (nss_load_all_libraries): New function.
30450 (__nss_disable_nscd): Take parameter with callback function for files
30451 to register. Set is_nscd. Load all the DSOs for the NSS modules
30452 used for the cached services.
30453 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30454 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30455 options for features to all the files in nscd.
30456
30457 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30458
23bee3e8
RM
304592011-07-10 Roland McGrath <roland@hack.frob.com>
30460
30461 * csu/elf-init.c (__libc_csu_init): Comment typo.
30462
46a5b7f0
UD
304632011-07-09 Ulrich Drepper <drepper@gmail.com>
30464
30465 * po/pl.po: Update from translation team.
30466 * po/ja.po: Likewise.
30467 * po/ru.po: Likewise.
30468 * po/ko.po: Likewise.
30469 * po/fr.po: Likewise.
30470
d30cf5bb
RM
304712011-07-09 Roland McGrath <roland@hack.frob.com>
30472
113ddea4
RM
30473 * configure.in (.ctors/.dtors header and trailer check):
30474 Use an empirical test on a built program.
30475 * configure: Regenerated.
30476
574920b4
RM
30477 * configure.in (-z relro check): Use an empirical test on a built DSO.
30478 Detect, but do not require, on ia64.
30479 * configure: Regenerated.
30480
d30cf5bb
RM
30481 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30482 Update tests that use readelf to use $READELF instead.
30483 * configure: Regenerated.
30484
8538fdb3
UD
304852011-07-08 Ulrich Drepper <drepper@gmail.com>
30486
30487 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30488 if the result is not used.
30489
04d08991
AJ
304902011-07-05 Andreas Jaeger <aj@suse.de>
30491
30492 [BZ#9696]
30493 * stdlib/tst-strtod.c: Add testcase.
30494
de283087
AD
304952011-07-07 Ulrich Drepper <drepper@gmail.com>
30496
4e5f31c8 30497 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30498 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30499 The latter has a higher limit. Take additional parameter to pass to
30500 the new function.
30501 (__pathconf): Pass file to __statfs_link_max.
30502 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30503 __statfs_link_max.
30504 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30505 __statfs_link_max.
30506
de283087
AD
30507 [BZ #12868]
30508 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30509 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30510 Handle Lustre.
30511 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30512 (__statfs_filesize_max): Likewise.
30513 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30514
c75fa153
AJ
305152011-07-05 Andreas Jaeger <aj@suse.de>
30516
30517 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30518
1a544854
UD
305192011-07-06 Marek Polacek <mpolacek@redhat.com>
30520
30521 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30522 `status' variable.
30523 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30524 Likewise.
30525
6f0eec67
UD
305262011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30527
30528 * Makefile (strop-tests): Add strncat.
30529 * string/test-strncat.c: New file.
30530
aae30307
UD
305312011-06-30 Marek Polacek <mpolacek@redhat.com>
30532
30533 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30534
c0cfb5eb
UD
305352011-06-21 Andreas Jaeger <aj@suse.de>
30536
30537 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30538 Copy rule from iconvdata/Makefile.
30539
01636b21
UD
305402011-07-06 Ulrich Drepper <drepper@gmail.com>
30541
30542 [BZ #12922]
30543 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30544 but no long options are defined, just return 'W'.
30545
9895c8bc
UD
305462011-06-22 Marek Polacek <mpolacek@redhat.com>
30547
30548 [BZ #9696]
30549 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30550
5d4cf042
UD
305512011-07-06 Ulrich Drepper <drepper@gmail.com>
30552
30553 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30554 netgroups to read.
960e5535 30555 (innetgr): Likewise.
5d4cf042 30556
751eb97e
RM
305572011-07-05 Roland McGrath <roland@hack.frob.com>
30558
30559 * config.make.in (install_root): Default to $(DESTDIR).
30560
f15f1e45
UD
305612011-07-05 Ulrich Drepper <drepper@gmail.com>
30562
30563 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30564
4e34ac6a
RM
305652011-07-02 Roland McGrath <roland@hack.frob.com>
30566
5e9b6af4
RM
30567 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30568
84f9ea0f
RM
30569 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30570 containing directory rather than embedding absolute directory names.
30571
ea5ee9f7
RM
30572 * scripts/check-local-headers.sh: Rewritten using awk.
30573 Match by word, not by line. Print error messages for matches.
30574 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30575
1b74661a
RM
30576 * Makerules [shlib-lds-flags empty]:
30577 ($(common-objpfx)libc_pic.opts): New target.
30578 ($(common-objpfx)libc_pic.os.clean): New target.
30579 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30580
30581 * config.make.in (OBJCOPY): New variable.
30582 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30583 * configure: Regenerated.
30584
f781ef40
RM
30585 * config.make.in (use-default-link): New variable.
30586 * configure.in (use_default_link): Grok --with-default-link to set it.
30587 * configure: Regenerated.
30588 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30589 (shlib-lds, shlib-lds-flags): Define to empty.
30590
2d4fa81e
RM
30591 * Makerules (shlib-lds): New variable.
30592 (shlib-lds-flags): New variable.
30593 (build-shlib, build-moduile, build-module-asneeded): Use it.
30594 ($(common-objpfx)libc.so): Use $(shlib-lds).
30595 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30596 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30597
31fffa6b
RM
30598 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30599 DT_FLAGS/DT_FLAGS_1 with zero flags.
30600
4e34ac6a
RM
30601 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30602 linker script munging.
30603
fcfc776b
UD
306042011-07-02 Ulrich Drepper <drepper@gmail.com>
30605
30606 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30607 as 128-bit value.
30608 * crypt/sha512.c (sha512_process_block): Perform total addition using
30609 128-bit if possible.
30610 (__sha512_finish_ctx): Likewise.
30611 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30612 as 64-bit value.
30613 * crypt/sha256.c (SWAP64): Define.
30614 (sha256_process_block): Perform total addition using 64-bit if
30615 possible.
30616 (__sha256_finish_ctx): Likewise.
30617
99231d9a
UD
306182011-07-01 Ulrich Drepper <drepper@gmail.com>
30619
30620 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30621 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30622 * nscd/hstcache.c (cache_addhst): Likewise.
30623 * nscd/grpcache.c (cache_addgr): Likewise.
30624 * nscd/aicache.c (addhstaiX): Likewise
30625 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30626
445b4a53
TK
306272011-07-01 Thorsten Kukuk <kukuk@suse.de>
30628
30629 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30630 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30631 * nscd/hstcache.c (cache_addhst): Likewise.
30632 * nscd/grpcache.c (cache_addgr): Likewise.
30633 * nscd/aicache.c (addhstaiX): Likewise
30634
6d4d8e8e
AS
306352011-07-01 Andreas Schwab <schwab@redhat.com>
30636
30637 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30638 domain only when needed.
30639
89f654c5
AS
306402011-06-30 Andreas Schwab <schwab@redhat.com>
30641
30642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30643 is always restored.
30644
cf3b23ff
UD
306452011-06-29 Ulrich Drepper <drepper@gmail.com>
30646
30647 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30648 are re-adding the entry.
30649 * nscd/servicescache.c (cache_addserv): Likewise.
30650
751626f9
AJ
306512011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30652
30653 * sysdeps/generic/dl-irel.h: fix protection against multiple
30654 inclusions.
30655 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30656
9113ea1f
UD
306572011-06-28 Ulrich Drepper <drepper@gmail.com>
30658
5c0b8d90
UD
30659 [BZ #12935]
30660 * malloc/memusage.sh: Fix quoting in message.
30661 * debug/xtrace.sh: Likewise.
30662
9113ea1f
UD
30663 * configure.in: Remove support for --experimental-malloc option, make
30664 it the default.
30665 * config.make.in: Likewise.
30666 * malloc/Makefile: Likewise.
30667
a4172181
AS
306682011-06-27 Andreas Schwab <schwab@redhat.com>
30669
30670 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30671 two-byte characters.
30672
78a7eee7
RM
306732011-06-27 Roland McGrath <roland@hack.frob.com>
30674
62bede13
RM
30675 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30676 AC_CACHE_CHECK invocation.
30677 * configure: Regenerated.
30678
78a7eee7
RM
30679 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30680
5ce33a62
UD
306812011-06-27 Ulrich Drepper <drepper@gmail.com>
30682
034807a9
UD
30683 [BZ #12350]
30684 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30685 bit from old_res_options.
30686
4902da17
UD
30687 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30688
5ce33a62
UD
30689 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30690 value type for setfct.
30691
c2344f56
L
306922011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30693
30694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30695 __gettimeofday instead of gettimeofday.
30696
68468076
UD
306972011-06-26 Ulrich Drepper <drepper@gmail.com>
30698
30699 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30700
acb0d739
L
307012011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30702
30703 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30704
30705 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30706 info.
30707
8912479f
L
307082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30709
30710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30711 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30712 strcpy-sse2-unaligned strncpy-sse2-unaligned
30713 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30714 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30715 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30716 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30717 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30718 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30719 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30720 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30721 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30722 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30723 (STRCPY): Support SSE2 and SSSE3 versions.
30724
d5495a11
UD
307252011-06-24 Ulrich Drepper <drepper@gmail.com>
30726
30727 [BZ #12874]
30728 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30729 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30730 kernels which artificially limit size of requests.
30731
0b1cbaae
L
307322011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30733
30734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30735 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30736 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30737 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30738 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30739 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30740 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30741 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30742 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30743 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30744 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30745 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30746 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30747 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30748 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30750 Enable unaligned load optimization for Intel Core i3, i5 and i7
30751 processors.
30752 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30753 Define.
30754 (index_Fast_Unaligned_Load): Define.
30755 (HAS_FAST_UNALIGNED_LOAD): Define.
30756
07f494a0
MP
307572011-06-23 Marek Polacek <mpolacek@redhat.com>
30758
30759 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30760
fa3fc0fe
UD
307612011-06-22 Ulrich Drepper <drepper@gmail.com>
30762
30763 [BZ #12907]
30764 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30765 until it is clear that the information is realy needed.
30766 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30767
e12df166
AS
307682011-06-22 Andreas Schwab <schwab@redhat.com>
30769
30770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30771
852eb34d
UD
307722011-06-22 Ulrich Drepper <drepper@gmail.com>
30773
84e2a551
UD
30774 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30775 /sys/devices/system/cpu/online if it is usable.
30776
852eb34d
UD
30777 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30778 reading the information from the /proc filesystem to once a second.
30779
6e502e19
UD
307802011-06-21 Andreas Jaeger <aj@suse.de>
30781
30782 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30783 NULL after inclusion of kernel headers.
30784
75d39ff2
UD
307852011-06-21 Ulrich Drepper <drepper@gmail.com>
30786
51f9aa6a
UD
30787 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30788 calls to internal_setent.
30789
c0244a9d
UD
30790 [BZ #12885]
30791 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30792 addresses using gethostbyname4_r ignore IPv4 addresses.
30793
c5e3c2ae
UD
30794 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30795 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30796
75d39ff2
UD
30797 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30798
42675c6f
DM
307992011-06-20 David S. Miller <davem@davemloft.net>
30800
30801 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30802 inclusions.
30803 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30804
30805 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30806 (elf_irel): Use it.
30807 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30808 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30809 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30810 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30811 * sysdeps/x86_64/dl-irel.h: Likewise.
30812
30813 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30814 * elf/dl-sym.c: Likewise.
30815
57912a71
UD
308162011-06-15 Ulrich Drepper <drepper@gmail.com>
30817
30818 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30819 need to dereference resplen2.
30820
ee22793d
AS
308212011-06-14 Andreas Schwab <schwab@redhat.com>
30822
30823 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30824
a9e836b0
UD
308252011-06-15 Ulrich Drepper <drepper@gmail.com>
30826
77fb9117
UD
30827 * Makeconfig: Define vardbdir and inst_vardbdir.
30828 * nss/Makefile: Add rules to install db-Makefile.
30829
40c1b22c
UD
30830 * nss/nss_db/db-XXX.c: Cleanup.
30831
9f2da732
UD
30832 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30833 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30834 GLIBC_PRIVATE.
30835 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30836 * nss/makedb.c: Implement -g option to specify that value strings
30837 are generated and should not be added to table iterated over for
30838 get*ent calls.
30839 * nss/nss_db/db-initgroups.c: New file.
30840
82e9a1f7
UD
30841 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30842 interface.
30843
c41af17e
UD
30844 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30845 (internal_getgrouplist): Adjust to name change.
30846 Update use_initgroups_entry if this is not the first call.
30847 * nss/databases.def: Add initgroups entry.
30848
a9e836b0
UD
30849 * nss/makedb.c (compute_tables): Check result of multiple hash table
30850 sizes to minimize maximum chain length.
30851
2666d441
UD
308522011-06-14 Ulrich Drepper <drepper@gmail.com>
30853
30854 * Versions.def: Add entry for libnss_db.
30855 * shlib-versions: Likewise.
30856 * nss/Makefile: Add rules to build libnss_db.
30857 * nss/Versions: Add libnss_db information. Organize libnss_files
30858 entries better.
30859 * nss/db-Makefile: Add gshadow support. Change rules for the new
30860 makedb progra. Some minor improvements to generate smaller files.
30861 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30862 here from...
30863 * nss/makedb.c: ...here.
30864 Improve database format to be smaller and require less memory at
30865 runtime.
30866 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30867 db anymore.
30868 * nss/nss_db/db-netgrp.c: Likewise.
30869 * nss/nss_db/db-open.c: Likewise.
30870 * nss/nss_files/flies-XXX.x: Adjust comments.
30871 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30872 * nss/nss_files/files-grp.c: Likewise.
30873 * nss/nss_files/files-hosts.c: Likewise.
30874 * nss/nss_files/files-network.c: Likewise.
30875 * nss/nss_files/files-proto.c: Likewise.
30876 * nss/nss_files/files-pwd.c: Likewise.
30877 * nss/nss_files/files-rpc.c: Likewise.
30878 * nss/nss_files/files-service.c: Likewise.
30879 * nss/nss_files/files-sgrp.c: Likewise.
30880 * nss/nss_files/files-spwd.c: Likewise.
30881 * nss/nss_db/db-alias.c: Removed.
30882 * nss/nss_db/dummy-db.h: Removed.
30883
9ee76b5a
UD
308842011-06-02 Ulrich Drepper <drepper@gmail.com>
30885
30886 * nss/makedb.c: Rewritten to not use database library.
30887 * nss/Makefile: Update to build new makedb program.
30888
c71ca1f8
AJ
308892011-06-14 Andreas Jaeger <aj@suse.de>
30890
30891 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30892 memset declaration.
30893
3154bfb8
UD
308942011-06-10 Andreas Schwab <schwab@redhat.com>
30895
30896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30897 tmpbuf.
30898
b350afab
RM
308992011-06-10 Roland McGrath <roland@hack.frob.com>
30900
decd4e50
RM
30901 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30902 * elf/Makefile ($(objpfx)ld.so): Likewise.
30903
5615eaf2
RM
30904 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30905 Don't list ld.so twice in dependencies.
30906
30907 * posix/bug-regex31.c: Include <stdlib.h>.
30908
30909 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30910
30911 * nis/nss_compat/compat-spwd.c
30912 (getspent_next_nss_netgr): Remove unused variable.
30913 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30914
30915 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30916 nonmembers" output to use the right array.
30917
30918 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30919
30920 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30921
30922 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30923 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30924 * catgets/gencat.c (read_input_file): Likewise.
30925 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30926
30927 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30928 variable definition inside #if's controlling its use.
30929
30930 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30931
30932 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30933
30934 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30935
30936 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30937 unreachable code.
30938
30939 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30940
b68e08db
RM
30941 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30942 * configure: Regenerated.
30943
b350afab
RM
30944 * Makerules: Revert last change.
30945 * elf/Makefile: Likewise.
30946
28368601
RM
309472011-06-09 Roland McGrath <roland@hack.frob.com>
30948
30949 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30950 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30951 (reloc-link): Likewise.
30952
11988f8f
UD
309532011-06-09 Ulrich Drepper <drepper@gmail.com>
30954
30955 * elf/Makefile: Add rules to build pldd.
30956 * elf/pldd.c: New file.
30957 * elf/pldd-xx.c: New file.
30958
e80fab37
UD
309592011-06-07 Ulrich Drepper <drepper@gmail.com>
30960
30961 * version.h: Update for 2.15 development version.
30962
9b849836
DM
309632011-06-07 David S. Miller <davem@davemloft.net>
30964
30965 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30966 ifuncs.
30967 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30968 elf_machine_lazy_rel): Likewise.
30969 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30970 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30971 elf_machine_lazy_rel): Likewise.
30972 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30973 dl_hwcap via passed in argument.
30974 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30975 Likewise.
30976
5a31b283
AK
309772011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30978
30979 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30980
069e52f8
RM
309812011-06-06 Roland McGrath <roland@hack.frob.com>
30982
30983 [BZ #12849]
30984 * manual/fdl-1.1.texi: New file, verbatim from:
30985 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30986 * manual/lgpl-2.1.texi: New file, verbatim from:
30987 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30988 * manual/Makefile (licenses): New variable, list those new file names.
30989 (texis): Use it.
30990 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30991
30992 * manual/fdl.texi: File removed.
30993 * manual/lesser.texi: File removed.
30994 * manual/libc.texinfo (Copying, Documentation License):
30995 Use new @include file names, put @appendix directive before @include.
30996
f16846a5
JJ
309972011-06-04 Jakub Jelinek <jakub@redhat.com>
30998
30999 [BZ #12841]
31000 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31001 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31002 (mq_open): Add __NTH.
31003
3d29045b
L
310042011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31005
31006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31007 Assume Intel Core i3/i5/i7 processor if AVX is available.
31008
8c297311
UD
310092011-05-31 Ulrich Drepper <drepper@gmail.com>
31010
31011 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31012 typo.
31013
c8fc0c91
UD
310142011-05-31 Andreas Schwab <schwab@redhat.com>
31015
31016 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31017 memory. Use alloca_account. Fix memory leak when retrying.
31018
5b27a807
UD
310192011-05-31 Ulrich Drepper <drepper@gmail.com>
31020
356f8bc6
UD
31021 * version.h (RELEASE): Bump for 2.14 release.
31022 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31023
5b27a807
UD
31024 * config.make.in (RANLIB): Remove entry.
31025
01f16ab0
UD
310262011-05-30 Ulrich Drepper <drepper@gmail.com>
31027
41fce8bd
UD
31028 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31029 (libc.pot): Work around missing support for .ksh extension in xgettext.
31030
4769ae77
UD
31031 [BZ #12684]
31032 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31033 if both request failed.
31034 (send_dg): In case of server errors clear resplen or *resplen2.
31035
6b1e7d19
UD
31036 [BZ #12454]
31037 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31038 when there are multiple maps.
31039 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31040 (_dl_fini): Remove test here.
31041
01f16ab0
UD
31042 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31043
b1ebd700
UD
310442011-05-29 Ulrich Drepper <drepper@gmail.com>
31045
7ae22829
UD
31046 [BZ #12350]
31047 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31048 bit from old_res_options.
31049 (gaih_inet): Likewise.
31050
553149f6 31051 [BZ #11099]
18a84741 31052 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
31053 as signed.
31054
652ffab1
UD
31055 * resolv/res_init.c (res_setoptions): Make the code more compact.
31056
16985fd0
UD
31057 [BZ #11558]
31058 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31059 set RES_USEVC.
31060
0464f746
UD
31061 [BZ #11634]
31062 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31063
7d17596c
UD
31064 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31065
cf6bbbd7
UD
31066 [BZ #11781]
31067 * malloc/malloc.h: Declare malloc hook variables as volatile.
31068
13f1ab36
UD
31069 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31070 in last patch.
31071
b1ebd700
UD
31072 [BZ #11799]
31073 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 31074 raise in the comment.
80e2212d
UD
31075 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31076 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31077 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 31078
ce67228d
UD
310792011-05-28 Ulrich Drepper <drepper@gmail.com>
31080
8887a920
UD
31081 [BZ #12811]
31082 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31083 grow the buffers more if it already has to be sufficient.
31084 (build_wcs_upper_buffer): Likewise.
31085 * posix/regexec.c (check_matching): Likewise.
31086 (clean_state_log_if_needed): Likewise.
31087 (extend_buffers): Don't enlarge buffers beyond size of the input
31088 buffer.
31089 Patches mostly by Emil Wojak <emil@wojak.eu>.
31090 * posix/bug-regex32.c: New file.
31091 * posix/Makefile (tests): Add bug-regex32.
31092
4f031072
UD
31093 * locale/findlocale.c (_nl_find_locale): Return right away if
31094 _nl_explode_name failed.
31095 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31096
d0478f0c
UD
31097 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31098
de81b246
UD
31099 * debug/xtrace.sh: Unify messages.
31100 * malloc/memusage.sh: Likewise.
31101
c738465a
UD
31102 [BZ #12813]
31103 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31104 time symbol from vDSO. Substitute with vsyscall if not available.
31105 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31106 __vdso_time.
31107
f1f929d7
UD
31108 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31109 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31110 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31111 Add sendmmsg and internal_sendmmsg.
31112 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31113 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31114 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31115
ce67228d
UD
31116 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31117 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31118 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31119
e57420c6
UD
311202011-05-27 Ulrich Drepper <drepper@gmail.com>
31121
a8509ca5
UD
31122 [BZ #12813]
31123 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31124 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31125 available.
31126 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31127 __vdso_getcpu.
31128
e57420c6
UD
31129 [BZ #12814]
31130 * iconvdata/Makefile (tests): Add bug-iconv9.
31131 * iconvdata/bug-iconv9.c: New file.
31132
4d07db15
AS
311332011-05-27 Andreas Schwab <schwab@redhat.com>
31134
31135 [BZ #12814]
31136 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31137
ea486f69
JJ
311382011-05-25 Jakub Jelinek <jakub@redhat.com>
31139
31140 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31141 (struct user_regs_struct): Change intcs field back to cs.
31142
6f038433
UD
311432011-05-25 Ulrich Drepper <drepper@gmail.com>
31144
31145 * po/ja.po: Update from translation team.
31146
67f86a25
UD
311472011-05-23 Ulrich Drepper <drepper@gmail.com>
31148
31149 [BZ #12795]
31150 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31151 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31152
def7fbd6
AS
311532011-05-20 Andreas Schwab <schwab@redhat.com>
31154
31155 * stdlib/longlong.h: Update from GCC.
31156
f50ef8f1
AS
311572011-05-23 Andreas Schwab <schwab@redhat.com>
31158
31159 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31160 parameter name.
31161 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31162 Add parameter name.
31163 (__sysconf): Pass it down.
31164
de7ce8f1
UD
311652011-05-22 Ulrich Drepper <drepper@gmail.com>
31166
f2962a71
UD
31167 [BZ #12671]
31168 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31169 some situations.
31170 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31171 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31172 add in in __libc_use_alloca calls. Adjust callers.
31173 (glob): Use malloc in some situations.
31174
de7ce8f1
UD
31175 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31176 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31177 pltexit.
31178
aec84f53
UD
311792011-05-21 Ulrich Drepper <drepper@gmail.com>
31180
05bb4a68
UD
31181 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31182 and CLOCK_BOOTTIME_ALARM.
31183
7ea72f99
UD
31184 [BZ #12782]
31185 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31186 is returned.
31187
7e4afad5
UD
31188 * string/_strerror.c (__strerror_r): Print negative errors as signed
31189 numbers.
31190
8e211fec
UD
31191 [BZ #12777]
31192 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31193 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31194 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31195
f7d82dc9
UD
31196 * configure.in: Fix typo in redirection and correct removal of test
31197 files in two cases.
31198
cc9e536d
UD
31199 [BZ #12788]
31200 * locale/setlocale.c (new_composite_name): Fix test to check for
31201 identical name of all categories.
31202
aec84f53
UD
31203 [BZ #12792]
31204 * libio/filedoalloc.c (local_isatty): New function.
31205 (_IO_file_doallocate): Use local_isatty.
31206 * stdio-common/perror.c (perror): In case a new stream is used
31207 forward the stream error.
31208 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31209 error flag.
31210
78e64fdc
RT
312112011-05-20 Ulrich Drepper <drepper@gmail.com>
31212
34a9094f
UD
31213 [BZ #11869]
31214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31215 alloca.
31216 * include/alloca.h (extend_alloca_account): Define.
31217
78e64fdc
RT
31218 [BZ #11857]
31219 * posix/regex.h: Fix comments with documentation of user-accessible
31220 fields after compilation and describe correct free'ing of pattern
31221 after re_compile_pattern.
31222 Patch by Reuben Thomas <rrt@sc3d.org>.
31223
457bddfc
RA
312242011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31225
31226 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31227 and -mno-altivec to prevent the compiler from using Altivec and/or
31228 VSX instructions when the corresponding registers are not available.
31229
a4527b51
AS
312302011-05-19 Andreas Schwab <schwab@redhat.com>
31231
31232 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31233
ed690b2f
UD
312342011-05-19 Ulrich Drepper <drepper@gmail.com>
31235
31236 * libio/freopen.c (freopen): Use __dup2, not dup2.
31237 * libio/freopen64.c (freopen64): Likewise.
31238
8db73634
L
312392011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31240
31241 [BZ #12775]
31242 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31243 * math/Makefile (tests): Add test-powl.
31244 (CFLAGS-test-powl.c): Define.
31245 * math/test-powl.c: New file.
31246
0a197a9d
L
312472011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31248
31249 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31250
ee30c380
UD
312512011-05-17 Ulrich Drepper <drepper@gmail.com>
31252
31253 [BZ #11837]
31254 * iconvdata/gb18030.c: Update to GB18020-2005.
31255
6ce75379
UD
312562011-05-16 Ulrich Drepper <drepper@gmail.com>
31257
a4b89fd8
AR
31258 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31259 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31260 Patch by Aharon Robbins <arnold@skeeve.com>.
31261
ea389b12
UD
31262 [BZ #11892]
31263 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31264 on the stack.
31265
68a3f91f
UD
31266 [BZ #11895]
31267 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31268 through underflows.
31269
15cc7dd1
UD
31270 [BZ #12766]
31271 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31272 point to strings before performing equality test for error_one_per_line
31273 mode.
31274
f3799213
UD
31275 [BZ #11697]
31276 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31277
d79a9c94
UD
31278 [BZ #11820]
31279 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31280 (struct user_fpregs_struct): Avoid __uint*_t types.
31281
56e5eb46
UD
31282 [BZ #6420]
31283 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31284 symbol info. Use it instead of calling _dl_addr locally.
31285 (lock_and_info): New function.
31286 (tr_freehook): Call lock_and_info and pass symbol info as additional
31287 parameter to tr_where.
31288 (tr_mallochook): Likewise.
31289 (tr_reallochook): Likewise.
31290 (tr_memalignhook): Likewise.
31291
6ce75379
UD
31292 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31293 used and couldn't be at all thread-safe.
31294
f8a3b5bf
UD
312952011-05-15 Ulrich Drepper <drepper@gmail.com>
31296
94b7cc37
UD
31297 * libio/freopen.c (freopen): Don't close old file descriptor
31298 before the new one is opened. Instead dup the new file descriptor
31299 to the old one after the new stream is created.
31300 * libio/freopen64.c (freopen64): Likewise.
31301 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31302 * libio/fileops.c (_IO_new_file_close_it): Handle new
31303 _IO_FLAGS2_NOCLOSE flag.
31304 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31305 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31306 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31307 _IO_FLAGS2_NOCLOSE flag.
31308 * include/unistd.h: Add hidden_proto for dup3.
31309 Define __have_dup3.
31310 * io/dup3.c: Define hidden symbol.
31311 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31312
bd25564e
UD
31313 [BZ #7101]
31314 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31315 when an incomplete long option is used.
31316 * posix/tst-getopt_long1.c: New file.
31317 * posix/Makefile (tests): Add tst-getopt_long1.
31318
c84cfef4
UD
31319 [BZ #10138]
31320 * scripts/config.guess: Update from autoconf-2.68.
31321 * scripts/config.sub: Likewise.
31322
3b85df27
UD
31323 [BZ #10157]
31324 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31325 tests into ...
31326 (has_cpuclock): ...this. New function.
31327 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31328 macro here based on has_cpuclock code.
31329
15a856b1
UD
31330 [BZ #10149]
31331 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31332 First byte (not low byte) is now always NUL.
31333 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31334
05f399e6
UD
31335 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31336 Use non-cancelable interfaces.
31337
10a52685 31338 [BZ #9809]
94ecc67d
UD
31339 * locale/iso-639.def: Add entry for Sorani.
31340
f8a3b5bf
UD
31341 [BZ #11901]
31342 * include/stdlib.h: Move include protection to the right place.
31343 Define abort_msg_s. Declare __abort_msg with it.
31344 * stdlib/abort.c (__abort_msg): Adjust type.
31345 * assert/assert.c (__assert_fail_base): New function. Majority
31346 of code from __assert_fail. Allocate memory for __abort_msg with
31347 mmap.
31348 (__assert_fail): Now call __assert_fail_base.
31349 * assert/assert-perr.c: Remove bulk of implementation. Use
31350 __assert_fail_base.
31351 * include/assert.hL Declare __assert_fail_base.
31352 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31353 mmap.
31354 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31355
1af4e298
UD
313562011-05-14 Ulrich Drepper <drepper@gmail.com>
31357
f8a3b5bf 31358 [BZ #11952]
d26dfc60
MG
31359 [BZ #12453]
31360 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31361 until all modules are registered in the DTV.
31362 * elf/Makefile: Add rules to build and run tst-tls19.
31363 * elf/tst-tls19.c: New file.
31364 * elf/tst-tls19mod1.c: New file.
31365 * elf/tst-tls19mod2.c: New file.
31366 * elf/tst-tls19mod3.c: New file.
31367 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31368
2fc54d6f
UD
31369 [BZ #12083]
31370 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31371 correctly.
31372
98d76b46
UD
31373 [BZ #12601]
31374 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31375 two-byte sequence errors.
31376 * iconvdata/Makefile (tests): Add bug-iconv8.
31377 * iconvdata/bug-iconv8.c: New file.
31378
da3c19ef
UD
31379 [BZ #12626]
31380 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31381 buf2 definition.
31382
ca408c15
UD
31383 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31384
d6f67f7d
UD
31385 [BZ #12432]
31386 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31387 (dummy_getcfa): New function.
31388 (init): Get _Unwind_GetCFA address, use dummy if not found.
31389 (backtrace_helper): In recursion check, also check whether CFA changes.
31390 (__backtrace): Completely initialize arg.
31391
1af4e298 31392 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31393 storing incomplete byte sequence in state object. Avoid testing for
31394 guaranteed too small input if we know there is enough data available.
1af4e298 31395
da62f81b
AS
313962011-05-11 Andreas Schwab <schwab@redhat.com>
31397
31398 * Makeconfig (+link-pie): Indent.
31399 * Rules (binaries-pie): Define if $(have-fpie) and
31400 $(build-shared).
31401 (binaries-shared): Also filter out $(binaries-pie).
31402 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31403 * nscd/Makefile (others-pie): Add nscd.
31404 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31405 ($(objpfx)nscd): Remove command override.
31406 * login/Makefile (others-pie): Add pt_chown.
31407 ($(objpfx)pt_chown): Remove command override.
31408 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31409 remove command overrides.
31410
fcabc0f8
UD
314112011-05-13 Ulrich Drepper <drepper@gmail.com>
31412
20030ae6
UD
31413 * libio/tst_putwc.c: Fix error messages.
31414
fcabc0f8
UD
31415 [BZ #12724]
31416 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31417 currently writing and seek to current position when not.
31418 * libio/Makefile (tests): Add bug-fclose1.
31419 * libio/bug-fclose1.c: New file.
31420
320a5dc0
PB
314212011-05-12 Ulrich Drepper <drepper@gmail.com>
31422
31423 [BZ #12511]
31424 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31425 don't set DF_1_NODELETE here.
31426 (do_lookup_x): When entering new entry test for copy relocation
31427 and if necessary set DF_1_NODELETE flag.
31428 * elf/tst-unique4.cc: New file.
31429 * elf/tst-unique4.h: New file.
31430 * elf/tst-unique4lib.cc: New file.
31431 * elf/Makefile: Add rules to build and run tst-unique4.
31432 Patch by Piotr Bury <pbury@goahead.com>.
31433
22836f52
UD
314342011-05-11 Ulrich Drepper <drepper@gmail.com>
31435
f574184a
UD
31436 [BZ #12052]
31437 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31438
e1fb097f
UD
31439 [BZ #12625]
31440 * misc/mntent_r.c (addmntent): Flush the stream after the output
31441
22836f52
UD
31442 [BZ #12393]
31443 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31444 (is_trusted_path_normalize): Skip initial colon. Append slash
31445 to empty buffer. Duplicate is_trusted_path code but allow
31446 constructed patch to be prefix.
31447 (is_dst): Allow $ORIGIN followed by /.
31448 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31449 Correct testing of result of is_trusted_path_normalize
31450 (decompose_rpath): Fix warning.
31451
7b3b0b2a
UD
314522011-05-10 Ulrich Drepper <drepper@gmail.com>
31453
31454 [BZ #11257]
31455 * grp/initgroups.c (internal_getgrouplist): When we found the service
31456 list through the initgroups entry in nsswitch.conf do not always
31457 continue on a successful lookup. Don't always use the
eac80ce2 31458 __nss_group_database value if it is set.
7b3b0b2a
UD
31459 * nss/nsswitch.conf (initgroups): Change action for successful db
31460 lookup to continue for compatibility.
31461
2a81eaa5
UD
314622011-05-09 Ulrich Drepper <drepper@gmail.com>
31463
be97a69e
UD
31464 [BZ #11532]
31465 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31466 and CP774 modules.
31467 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31468 and CP774 modules.
31469 * iconvdata/tst-tables.sh: Likewise.
31470 * iconvdata/cp770.c: New file.
31471 * iconvdata/cp771.c: New file.
31472 * iconvdata/cp772.c: New file.
31473 * iconvdata/cp773.c: New file.
31474 * iconvdata/cp774.c: New file.
31475 * iconvdata/testdata/CP770: New file.
31476 * iconvdata/testdata/CP770..UTF8: New file.
31477 * iconvdata/testdata/CP771: New file.
31478 * iconvdata/testdata/CP771..UTF8: New file.
31479 * iconvdata/testdata/CP772: New file.
31480 * iconvdata/testdata/CP772..UTF8: New file.
31481 * iconvdata/testdata/CP773: New file.
31482 * iconvdata/testdata/CP773..UTF8: New file.
31483 * iconvdata/testdata/CP774: New file.
31484 * iconvdata/testdata/CP774..UTF8: New file.
31485
31486 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31487 END CHARMAP line.
31488 * iconvdata/gen-8bit-gap.sh: Likewise.
31489 * iconvdata/gen-8bit.sh: Likewise.
31490
c1e9e399
UD
31491 * locale/iso-639.def: Add ary entry.
31492
24c55fb3 31493 [BZ #11258]
96b4b1b0
UD
31494 * locale/C-translit.h.in: Add U20A1 transliteration.
31495
bdc2f971
KB
31496 [BZ #12178]
31497 * locale/iso-639.def: Add wae entry.
31498 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31499
2952b117
UD
31500 [BZ #12545]
31501 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31502 for n.
31503
2a81eaa5
UD
31504 [BZ #12711]
31505 * locale/C-translit.h.in: Add entry for U20B9.
31506 Patch by pravin.d.s@gmail.com.
31507
28377d1b
UD
315082011-05-08 Ulrich Drepper <drepper@gmail.com>
31509
7fb90fb8
UD
31510 [BZ #12713]
31511 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31512 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31513 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31514 in rtld. Use *stat64.
7fb90fb8 31515 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31516 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31517 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31518 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31519 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31520 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31521 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31522 __fstatat64 macros.
7fb90fb8
UD
31523 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31524 * dirent/rewinddir.c: Add libc_hidden_def.
31525 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31526 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31527
28377d1b
UD
31528 * include/dirent.h (__alloc_dir): Add flags parameter.
31529 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31530 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31531 __alloc_dir.
31532 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31533 from fdopendir if O_CLOEXEC is already set.
31534
66bdbaa4
AM
315352011-03-15 Alan Modra <amodra@gmail.com>
31536
31537 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31538 l_tls_firstbyte_offset non-zero. Save padding offset in
31539 l_tls_firstbyte_offset for later use.
31540 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31541 freeing static tls block.
31542
95721191
JN
315432011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31544
31545 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31546 where #ifdef was intended. The intent is to prevent ARG_MAX from
31547 being defined by the kernel headers.
31548
f87dfb1f
UD
315492011-05-07 Ulrich Drepper <drepper@gmail.com>
31550
31551 [BZ #12734]
31552 * resolv/resolv.h: Define RES_NOTLDQUERY.
31553 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31554 no-tld-query and set RES_NOTLDQUERY.
31555 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31556 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31557 modern BIND to search name as TLD unless forbidden.
31558
47c3cd7a
UD
315592011-05-07 Petr Baudis <pasky@suse.cz>
31560 Ulrich Drepper <drepper@gmail.com>
31561
31562 [BZ #12393]
31563 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31564 (is_trusted_path): ...to here.
c1e9ea35 31565 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31566 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31567 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31568
8a35c912
PP
315692011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31570
31571 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31572 __BEGIN/__END_DECLS.
31573
acd41f47
UD
315742011-05-06 Ulrich Drepper <drepper@gmail.com>
31575
31576 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31577 NSS_STATUS_NOTFOUND if no record was found.
31578
597df647
AS
315792011-05-05 Andreas Schwab <schwab@redhat.com>
31580
31581 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31582 (headers-not-in-tirpc): Remove rpc/netdb.h
31583 * resolv/netdb.h: Revert last change.
31584
b9af1301
PP
315852011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31586
31587 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31588 circular dependency between libgcc.a and libc.a.
31589
4e34d5f5
AS
315902011-05-05 Andreas Schwab <schwab@redhat.com>
31591
31592 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31593 * nis/Makefile: Don't install rpcsvc/*.
31594 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31595 instead of <rpc/types.h>.
31596 (MAXHOSTNAMELEN): Define.
31597
00ee369c
AS
315982011-05-03 Andreas Schwab <schwab@redhat.com>
31599
31600 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31601
0b592a30
MB
316022011-04-28 Maciej Babinski <mbabinski@google.com>
31603
31604 [BZ #12714]
31605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31606 gethostbyname4_r when IPv6 results are possible.
31607
6e04cbbe
UD
316082011-05-02 Ulrich Drepper <drepper@gmail.com>
31609
31610 [BZ #12723]
31611 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31612 _PC_PIPE_BUF handling.
31613
e4ecafe0
BH
316142011-04-30 Bruno Haible <bruno@clisp.org>
31615
31616 [BZ #12717]
31617 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31618 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31619 to 'int'.
31620 * inet/getnameinfo.c (getnameinfo): Likewise.
31621
125ee683
UD
316222011-04-29 Ulrich Drepper <drepper@gmail.com>
31623
31624 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31625 to groups setting in database lookup.
31626 * nss/nsswitch.conf: Add initgroups entry.
31627
b722481a
EB
316282011-04-22 Ulrich Drepper <drepper@gmail.com>
31629
31630 [BZ #12685]
31631 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31632 mode string.
31633 Patch by Eric Blake <eblake@redhat.com>.
31634
4df46dbd
L
316352011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31636
31637 * sunrpc/Makefile (need-export-routines): Add svc_run.
31638 (routines): Remove svc_run.
31639 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31640 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31641 * sunrpc/svc_run.c (svc_run): Likewise.
31642 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31643
e84142d2
UD
316442011-04-21 Ulrich Drepper <drepper@gmail.com>
31645
31646 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31647 problem in reallocation in last patch.
31648
877175d8
UD
316492011-04-20 Ulrich Drepper <drepper@gmail.com>
31650
31651 * sunrpc/Makefile: Move inclusion of Rules.
31652
ab8eed78
UD
316532011-04-19 Ulrich Drepper <drepper@gmail.com>
31654
31655 * nss/nss_files/files-initgroups.c: New file.
31656 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31657 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31658 _nss_files_initgroups_dyn.
31659
e3d8f584
RS
316602011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31661
31662 * elf/elf.h (R_ARM_IRELATIVE): Define.
31663
af190f45
UD
316642011-04-19 Ulrich Drepper <drepper@gmail.com>
31665
31666 * po/ru.po: Update from translation team.
31667
53cf59ef
UD
316682011-04-17 Ulrich Drepper <drepper@gmail.com>
31669
31670 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31671 dependencies.
31672
4c559bcd
MF
316732011-02-06 Mike Frysinger <vapier@gentoo.org>
31674
31675 [BZ #12653]
31676 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31677 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31678 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31679 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31680 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31681
4420675c
AS
316822011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31683
31684 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31685 differing bytes.
31686 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31687 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31688 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31689
75ea32ab
UD
316902011-04-17 Ulrich Drepper <drepper@gmail.com>
31691
31692 [BZ #12420]
31693 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31694 storing it.
31695 * stdlib/bug-getcontext.c: New file.
31696 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31697
27390476
AK
316982011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31699
31700 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31701 instructions into .machine "z9-109".
31702 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31703 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31704
10442705
AK
317052011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31706
31707 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31708 between environment variables and auxiliary vector.
31709
7b57bfe5
UD
317102011-04-16 Ulrich Drepper <drepper@gmail.com>
31711
31712 * Makefile: Add rules to build linkobj/libc.so.
31713 * include/libc-symbols.h: Define libc_hidden_nolink.
31714 * include/rpc/auth.h: Mark functions which are to be hidden.
31715 * include/rpc/auth_des.h: Likewise.
31716 * include/rpc/auth_unix.h: Likewise.
31717 * include/rpc/clnt.h: Likewise.
31718 * include/rpc/des_crypt.h: Likewise.
31719 * include/rpc/key_prot.h: Likewise.
31720 * include/rpc/pmap_clnt.h: Likewise.
31721 * include/rpc/pmap_prot.h: Likewise.
31722 * include/rpc/pmap_rmt.h: Likewise.
31723 * include/rpc/rpc_msg.h: Likewise.
31724 * include/rpc/svc.h: Likewise.
31725 * include/rpc/svc_auth.h: Likewise.
31726 * include/rpc/xdr.h: Likewise.
31727 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31728 * nss/Makefile: Likewise.
31729 * sunrpc/Makefile: Don't install headers. Build library with normal
31730 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31731 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31732 for the compat linking library. Remove use of INTDEF/INTUSE.
31733 * sunrpc/auth_none.c: Likewise.
31734 * sunrpc/auth_unix.c: Likewise.
31735 * sunrpc/authdes_prot.c: Likewise.
31736 * sunrpc/authuxprot.c: Likewise.
31737 * sunrpc/clnt_gen.c: Likewise.
31738 * sunrpc/clnt_perr.c: Likewise.
31739 * sunrpc/clnt_raw.c: Likewise.
31740 * sunrpc/clnt_simp.c: Likewise.
31741 * sunrpc/clnt_tcp.c: Likewise.
31742 * sunrpc/clnt_udp.c: Likewise.
31743 * sunrpc/clnt_unix.c: Likewise.
31744 * sunrpc/des_crypt.c: Likewise.
31745 * sunrpc/des_soft.c: Likewise.
31746 * sunrpc/get_myaddr.c: Likewise.
31747 * sunrpc/key_call.c: Likewise.
31748 * sunrpc/key_prot.c: Likewise.
31749 * sunrpc/netname.c: Likewise.
31750 * sunrpc/pm_getmaps.c: Likewise.
31751 * sunrpc/pm_getport.c: Likewise.
31752 * sunrpc/pmap_clnt.c: Likewise.
31753 * sunrpc/pmap_prot.c: Likewise.
31754 * sunrpc/pmap_prot2.c: Likewise.
31755 * sunrpc/pmap_rmt.c: Likewise.
31756 * sunrpc/publickey.c: Likewise.
31757 * sunrpc/rpc_cmsg.c: Likewise.
31758 * sunrpc/rpc_common.c: Likewise.
31759 * sunrpc/rpc_dtable.c: Likewise.
31760 * sunrpc/rpc_prot.c: Likewise.
31761 * sunrpc/rpc_thread.c: Likewise.
31762 * sunrpc/rtime.c: Likewise.
31763 * sunrpc/svc.c: Likewise.
31764 * sunrpc/svc_auth.c: Likewise.
31765 * sunrpc/svc_authux.c: Likewise.
31766 * sunrpc/svc_raw.c: Likewise.
31767 * sunrpc/svc_run.c: Likewise.
31768 * sunrpc/svc_simple.c: Likewise.
31769 * sunrpc/svc_tcp.c: Likewise.
31770 * sunrpc/svc_udp.c: Likewise.
31771 * sunrpc/svc_unix.c: Likewise.
31772 * sunrpc/svcauth_des.c: Likewise.
31773 * sunrpc/xcrypt.c: Likewise.
31774 * sunrpc/xdr.c: Likewise.
31775 * sunrpc/xdr_array.c: Likewise.
31776 * sunrpc/xdr_float.c: Likewise.
31777 * sunrpc/xdr_intXX_t.c: Likewise.
31778 * sunrpc/xdr_mem.c: Likewise.
31779 * sunrpc/xdr_rec.c: Likewise.
31780 * sunrpc/xdr_ref.c: Likewise.
31781 * sunrpc/xdr_sizeof.c: Likewise.
31782 * sunrpc/xdr_stdio.c: Likewise.
31783
e6c61494
UD
317842011-04-10 Ulrich Drepper <drepper@gmail.com>
31785
31786 [BZ #12650]
31787 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31788 * sysdeps/ia64/dl-tls.h: Likewise.
31789 * sysdeps/powerpc/dl-tls.h: Likewise.
31790 * sysdeps/s390/dl-tls.h: Likewise.
31791 * sysdeps/sh/dl-tls.h: Likewise.
31792 * sysdeps/sparc/dl-tls.h: Likewise.
31793 * sysdeps/x86_64/dl-tls.h: Likewise.
31794 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31795
34fe483e
AS
317962011-03-14 Andreas Schwab <schwab@redhat.com>
31797
31798 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31799 rpath element also skip the following colon.
31800 (expand_dynamic_string_token): Add is_path parameter and pass
31801 down to DL_DST_REQUIRED and _dl_dst_substitute.
31802 (decompose_rpath): Call expand_dynamic_string_token with
31803 non-zero is_path. Ignore empty rpaths.
31804 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31805 with zero is_path.
31806
f12a32e6
AS
318072011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31808
31809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31810 Make cancelable.
31811
38a7d692
UD
318122011-04-09 Ulrich Drepper <drepper@gmail.com>
31813
31814 [BZ #12655]
31815 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31816 Patch by Filipe David Manana <fdmanana@apache.org>.
31817
e451d22b
AS
318182011-04-07 Andreas Schwab <schwab@redhat.com>
31819
31820 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31821 Maintain aligned stack.
31822 (CHECK_RSP): Remove unused macro.
31823
dedc7c7b
UD
318242011-04-03 Ulrich Drepper <drepper@gmail.com>
31825
31826 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31827 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31828
94521213
UD
318292011-04-02 Ulrich Drepper <drepper@gmail.com>
31830
31831 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31832
8cb700c0 31833 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31834
0354e355
L
318352011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31836
31837 [BZ #12518]
31838 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31839 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31840 * sysdeps/x86_64/memmove.c: New file.
31841 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31842 (memcpy): Renamed to ...
31843 (__new_memcpy): This.
31844 (memcpy): Provide GLIBC_2_14 memcpy.
31845 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31846 (memcpy): Provide GLIBC_2_2_5 memcpy.
31847
8593482f
UD
318482011-04-01 Ulrich Drepper <drepper@gmail.com>
31849
31850 [BZ #12631]
31851 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31852
81a5726b
AS
318532011-03-30 Andreas Schwab <schwab@redhat.com>
31854
31855 * misc/syncfs.c: New file.
31856 * misc/Makefile (routines): Add syncfs.
31857 * posix/unistd.h: Declare syncfs.
31858 * sysdeps/unix/syscalls.list: Add syncfs.
31859
00e5419f
AS
318602011-04-01 Andreas Schwab <schwab@redhat.com>
31861
31862 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31863 open_by_handle_at.
31864 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31865 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31866 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31867 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31868 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31869 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31870 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31871
748876bf
UD
318722011-04-01 Ulrich Drepper <drepper@gmail.com>
31873
658e451d
UD
31874 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31875 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31876 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31877 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31878 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31880 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31881
748876bf
UD
31882 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31883 sync_file_range.c with -fexceptions.
31884 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31885 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31886 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31887 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31888 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31889 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31890 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31891 sync_file_range as cancellation point
31892 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31893 now a wrapper around __call_sync_file_range with cancellation handling.
31894 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31895 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31896 function name to __call_sync_file_range.
31897 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31898 Add call_sync_file_range.
748876bf 31899
6e63d5e1
AS
319002011-04-01 Andreas Schwab <schwab@redhat.com>
31901
31902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31903 bits/timex.h.
6e63d5e1 31904
46998f74
UD
319052011-04-01 Ulrich Drepper <drepper@gmail.com>
31906
4c1423ed
UD
31907 * iconv/iconv.h: Fix typo in comment.
31908 * io/fcntl.h: Likewise.
31909 * libio/stdio.h: Likewise.
31910 * posix/spawn.h: Likewise.
31911 * posix/unistd.h: Likewise.
31912 * stdlib/stdlib.h: Likewise.
31913 * time/time.h: Likewise.
31914 * wcsmbs/wchar.h: Likewise.
31915
158648c0
UD
31916 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31917 open_by_handle): Add.
31918 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31919 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31920 Augment a few comments.
31921 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31922 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31923 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31925 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31926 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31927 open_by_handle.
31928
46998f74
UD
31929 * io/fcntl.h (AT_EMPTY_PATH): Define.
31930
83fe108b
UD
319312011-03-30 Ulrich Drepper <drepper@gmail.com>
31932
31933 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31934 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31935 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31936 to...
31937 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31938 * Versions.def: Add GLIBC_2.14.
31939 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31940 Export.
83fe108b 31941
bb242059
UD
319422011-03-22 Ulrich Drepper <drepper@gmail.com>
31943
31944 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31945 round counter.
31946 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31947
c97a1282
L
319482011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31949
31950 [BZ #12597]
31951 * string/test-strncmp.c (do_page_test): New function.
31952 (check2): Likewise.
31953 (test_main): Call check2.
31954 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31955
2a115601
UD
319562011-03-20 Ulrich Drepper <drepper@gmail.com>
31957
31958 [BZ #12587]
31959 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31960 Handle cache information in CPU leaf 4.
31961 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31962
8126d904
UD
319632011-03-18 Ulrich Drepper <drepper@gmail.com>
31964
042c49c6 31965 [BZ #12583]
8126d904
UD
31966 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31967 character representation.
31968 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31969
ccfe366e
RA
319702011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31971
31972 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31973 END(__isnan) to END(__isnanf) to match function entry point/label
31974 EALIGN(__isnanf,...).
31975
c6e13027
JJ
319762011-03-10 Jakub Jelinek <jakub@redhat.com>
31977
31978 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31979
33f85a3f
UD
319802011-03-10 Ulrich Drepper <drepper@gmail.com>
31981
028478fa
UD
31982 [BZ #12510]
31983 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31984 copy from the symbol referenced in the relocation to initialize the
31985 used variable.
31986 Patch by Piotr Bury <pbury@goahead.com>.
31987 * elf/Makefile: Add rules to build and tst-unique3.
31988 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31989 * elf/tst-unique3.cc: New file.
31990 * elf/tst-unique3.h: New file.
31991 * elf/tst-unique3lib.cc: New file.
31992 * elf/tst-unique3lib2.cc: New file.
31993
33f85a3f
UD
31994 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31995
03592fc7
MF
319962011-03-10 Mike Frysinger <vapier@gentoo.org>
31997
31998 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31999 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32000 to _start.
03592fc7 32001
6a5ee102
UD
320022011-03-06 Ulrich Drepper <drepper@gmail.com>
32003
32004 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32005 to-be-loaded object along a path to loader is ld.so.
32006
7e4ba49c
HJ
320072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32008 Ulrich Drepper <drepper@gmail.com>
32009
32010 * sysdeps/x86_64/memset.S: After aligning destination, code
32011 branches to different locations depending on the value of
32012 misalignment, when multiarch is enabled. Fix this.
32013
320142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32015
32016 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32017 Set _x86_64_preferred_memory_instruction for AMD processsors.
32018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32019 Set bit_Prefer_SSE_for_memop for AMD processors.
32020
13a804de
UD
320212011-03-04 Ulrich Drepper <drepper@gmail.com>
32022
32023 * libio/fmemopen.c (fmemopen): Optimize a bit.
32024
9d25c392
AS
320252011-03-03 Andreas Schwab <schwab@redhat.com>
32026
32027 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32028
a5543c6a
RM
320292011-03-03 Roland McGrath <roland@redhat.com>
32030
32031 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32032
012d35f7
DM
320332011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32034
7e4ba49c 32035 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
32036 __bzero_ultra1 instead of __memset_ultra1.
32037
4bff6e01
AS
320382011-02-23 Andreas Schwab <schwab@redhat.com>
32039 Ulrich Drepper <drepper@gmail.com>
32040
32041 [BZ #12509]
32042 * include/link.h (struct link_map): Add l_orig_initfini.
32043 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32044 returning unsuccessfully.
32045 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32046 close of a file loaded at startup, restore the original l_initfini
32047 list.
32048 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32049 list, store the pointer.
32050 * elf/Makefile ($(objpfx)noload-mem): New rule.
32051 (noload-ENV): Define.
32052 (tests): Add $(objpfx)noload-mem.
32053 * elf/noload.c: Include <memcheck.h>.
32054 (main): Call mtrace. Close all opened handles.
32055
f2092faf
AS
320562011-02-17 Andreas Schwab <schwab@redhat.com>
32057
32058 [BZ #12454]
32059 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32060 dependencies are missing.
32061
6c8a2e88
ST
320622011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32063
f2092faf 32064 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
32065 Hurd needs munmap.
32066 * sysdeps/mach/hurd/ifreq.h: New file.
32067
84a42118
PB
320682011-01-27 Petr Baudis <pasky@suse.cz>
32069 Ulrich Drepper <drepper@gmail.com>
32070
071f805e 32071 [BZ 12445]#
84a42118
PB
32072 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32073 to extend_alloca().
32074 * stdio-common/bug23.c: New file.
32075 * stdio-common/Makefile (tests): Add bug23.
32076
e23fe25b
AS
320772010-09-28 Andreas Schwab <schwab@redhat.com>
32078 Ulrich Drepper <drepper@gmail.com>
32079
32080 [BZ #12489]
32081 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32082 before performing relro protection. At old place add assertion
32083 to make sure nothing changed.
32084
d3f02e10
NS
320852011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32086 Glauber de Oliveira Costa <glommer@gmail.com>
32087
32088 * elf/elf.h: Add new ARM TLS relocs.
32089
d55fd7a5
RA
320902011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32091
32092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32093 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32094 cast from r3.
32095 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32096 'tests' variable.
32097 * sysdeps/wordsize-64/tst-writev.c: New file.
32098
2206397e
RA
320992011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32100
32101 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32102 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32103 insns in _dl_start to prevent a TOC reference before relocs are
32104 resolved.
32105
e9433893
UD
321062011-02-15 Ulrich Drepper <drepper@gmail.com>
32107
32108 [BZ #12469]
32109 * Makeconfig: Remove RANLIB definition.
32110 * Makerules: Don't use RANLIB.
32111 * aclocal.m4: Remove ranlib test.
32112 * configure.in: No need to check for ranlib.
32113 * elf/rtld-Rules: Don't use RANLIB.
32114
f75286c6
ST
321152011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32116
8e31c82d
ST
32117 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32118 protection macro.
32119 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32120 inclusion protection macro.
32121
f75286c6
ST
32122 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32123 SIGRTMIN and SIGRTMAX and print information in that case only when
32124 SIGRTMIN is defined.
32125
c1d0e639
JJ
321262011-02-11 Jakub Jelinek <jakub@redhat.com>
32127
32128 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32129 arginfo fn returning -1.
32130
32131 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32132 and thousands string is zero terminated.
32133
edf9294e
AS
321342011-02-03 Andreas Schwab <schwab@redhat.com>
32135
32136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32137 sysdeps/unix/sysv/linux/bits/socket.h.
32138
2b7e92df
ST
321392011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32140
edf9294e
AS
32141 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32142 (__CPU_COUNT): Remove old macros.
32143 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32144 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32145 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
32146 (__sched_cpualloc, __sched_cpufree): Add declarations.
32147
a4c7ea7b
UD
321482011-02-05 Ulrich Drepper <drepper@gmail.com>
32149
32150 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32151 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32152 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32153 (readdhstai): Return value of addhstaiX call.
32154 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32155 (addgrbyX): Return value returned by cache_addgr.
32156 (readdgrbyname): Return value returned by addgrbyX.
32157 (readdgrbygid): Likewise.
32158 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32159 (addpwbyX): Return value returned by cache_addpw.
32160 (readdpwbyname): Return value returned by addhstbyX.
32161 (readdpwbyuid): Likewise.
32162 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32163 (addservbyX): Return value returned by cache_addserv.
32164 (readdservbyname): Return value returned by addservbyX:
32165 (readdservbyport): Likewise.
32166 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32167 (addhstbyX): Return value returned by cache_addhst.
32168 (readdhstbyname): Return value returned by addhstbyX.
32169 (readdhstbyaddr): Likewise.
32170 (readdhstbynamev6): Likewise.
32171 (readdhstbyaddrv6): Likewise.
32172 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32173 (readdinitgroups): Return value returned by addinitgroupsX.
32174 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32175 (prune_cache): Keep track of timeout value of re-added entries.
32176 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32177 * nscd/nscd.h: Adjust prototypes of readd* functions.
32178
a0bf67cc
RM
321792011-02-04 Roland McGrath <roland@redhat.com>
32180
32181 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32182 (nis_stats): Likewise.
32183 * nis/nis_modify.c (nis_modify): Likewise.
32184 * nis/nis_remove.c (nis_remove): Likewise.
32185 * nis/nis_add.c (nis_add): Likewise.
32186
32187 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32188
32189 * posix/fnmatch_loop.c: Add some consts.
32190
32191 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32192
435b95eb
L
321932011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32194
32195 [BZ #12460]
32196 * config.make.in (config-cflags-novzeroupper): Define.
32197 * configure.in: Substitute libc_cv_cc_novzeroupper.
32198 * elf/Makefile (AVX-CFLAGS): Define.
32199 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32200 (CFLAGS-tst-auditmod4a.c): Likewise.
32201 (CFLAGS-tst-auditmod4b.c): Likewise.
32202 (CFLAGS-tst-auditmod6b.c): Likewise.
32203 (CFLAGS-tst-auditmod6c.c): Likewise.
32204 (CFLAGS-tst-auditmod7b.c): Likewise.
32205 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32206
8517b15e
UD
322072011-02-02 Ulrich Drepper <drepper@gmail.com>
32208
32209 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32210 function to the callback.
32211 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32212
10a656fe
AS
322132011-02-02 Andreas Schwab <schwab@redhat.com>
32214
32215 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32216 of errno.
32217
968dad0a
UD
322182011-01-19 Ulrich Drepper <drepper@gmail.com>
32219
9f94d2ea 32220 [BZ #11724]
968dad0a
UD
32221 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32222 of constructors.
32223 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32224 of destructors.
32225 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32226
32227 [BZ #11724]
32228 * elf/Makefile: Add rules to build and run new test.
32229 * elf/tst-initorder.c: New file.
32230 * elf/tst-initorder.exp: New file.
32231 * elf/tst-initordera1.c: New file.
32232 * elf/tst-initordera2.c: New file.
32233 * elf/tst-initordera3.c: New file.
32234 * elf/tst-initordera4.c: New file.
32235 * elf/tst-initorderb1.c: New file.
32236 * elf/tst-initorderb2.c: New file.
32237 * elf/tst-order-a1.c: New file.
32238 * elf/tst-order-a2.c: New file.
32239 * elf/tst-order-a3.c: New file.
32240 * elf/tst-order-a4.c: New file.
32241 * elf/tst-order-b1.c: New file.
32242 * elf/tst-order-b2.c: New file.
32243 * elf/tst-order-main.c: New file.
32244 New test case by George Gensure <werkt0@gmail.com>.
32245
86e92359
UD
322462010-10-01 Andreas Schwab <schwab@redhat.com>
32247
32248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32249 decoding ACE if AI_CANONIDN.
32250
5d5732b0
UD
322512011-01-18 Ulrich Drepper <drepper@gmail.com>
32252
32253 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32254
a77e8cbc
UD
322552011-01-17 Ulrich Drepper <drepper@gmail.com>
32256
6392473f
UD
32257 * version.h (RELEASE): Bump for 2.13 release.
32258 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32259
620a0529
UD
32260 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32261
18ba70a5
UD
32262 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32263 MADV_NOHUGEPAGE.
32465c3e
UD
32264 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32265 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32266 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32267 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32268 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32269 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32270
c0dafcf1
UD
32271 * posix/getconf.c: Update copyright year.
32272 * catgets/gencat.c: Likewise.
32273 * csu/version.c: Likewise.
32274 * debug/catchsegv.sh: Likewise.
32275 * debug/xtrace.sh: Likewise.
32276 * elf/ldconfig.c: Likewise.
32277 * elf/ldd.bash.in: Likewise.
32278 * elf/sprof.c (print_version): Likewise.
32279 * iconv/iconv_prog.c: Likewise.
32280 * iconv/iconvconfig.c: Likewise.
32281 * locale/programs/locale.c: Likewise.
32282 * locale/programs/localedef.c: Likewise.
32283 * malloc/memusage.sh: Likewise.
32284 * malloc/mtrace.pl: Likewise.
32285 * nscd/nscd.c (print_version): Likewise.
32286 * nss/getent.c: Likewise.
32287
a77e8cbc
UD
32288 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32289 PF_CAIF, and PF_ALG.
32290 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32291
77e8bddf
AS
322922011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32293
1f20b93a
AS
32294 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32295 (modules-names): Use them.
32296 (ifunc-test-modules, ifunc-pie-tests): Define.
32297 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32298 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32299 (test-extras): Likewise.
32300 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32301 $(compile-command.c).
32302 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32303 (all-built-dso): Define.
32304 (check-textrel.out, check-execstack.out): Depend on it.
32305
77e8bddf
AS
32306 * configure.in: Don't override --enable-multi-arch.
32307
bc425b33
UD
323082011-01-15 Ulrich Drepper <drepper@gmail.com>
32309
32310 [BZ #6812]
32311 * nscd/hstcache.c (tryagain): Define.
32312 (cache_addhst): Return tryagain not notfound for temporary errors.
32313 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32314 failed.
32315
794c3ad3
UD
323162011-01-14 Ulrich Drepper <drepper@gmail.com>
32317
70181fdd
UD
32318 [BZ #10563]
32319 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32320 to make the syscall.
32321 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32322
794c3ad3
UD
32323 [BZ #12378]
32324 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32325 and fall back to matching as normal character if the string ends before
32326 the matching ']' is found. This is what POSIX requires.
32327 * posix/testfnm.c: Adjust test result.
32328 * posix/globtest.sh: Adjust test result. Add new test.
32329 * posix/tst-fnmatch.input: Likewise.
32330 * posix/tst-fnmatch2.c: Add new test.
32331
68dc9497
AS
323322010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32333
32334 * elf/Makefile (check-execstack): Revert last change. Depend on
32335 check-execstack.h.
32336 (check-execstack.h): New target.
32337 (generated): Add check-execstack.h.
32338 * elf/check-execstack.c: Include "check-execstack.h".
32339 (main): Revert last change.
32340 (handle_file): Return zero if GNU_STACK is absent and
32341 DEFAULT_STACK_PERMS doesn't include PF_X.
32342
451f001b
UD
323432011-01-13 Ulrich Drepper <drepper@gmail.com>
32344
cfa28e56
UD
32345 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32346 in child fails because the descriptor is already closed.
8cf8ce17
UD
32347 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32348 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32349 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32350
1086d70d
UD
32351 [BZ #12397]
32352 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32353 syscall.
32354
451f001b
UD
32355 [BZ #10484]
32356 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32357 temporary buffer used to handle multi lookups locally.
a85b5cb4 32358 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32359
08769175
UD
323602011-01-12 Ulrich Drepper <drepper@gmail.com>
32361
32362 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32363 loader is ld.so.
32364
5e49c52e
UD
323652011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32366
32367 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32368 alignment for SSE2.
32369
60522a5f
UD
323702011-01-12 Ulrich Drepper <drepper@gmail.com>
32371
32372 [BZ #12394]
32373 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32374 characters. When rounding increased number of integer digits recompute
32375 number of groups.
32376 * stdio-common/tst-grouping.c: New file.
32377 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32378
f257bbd7
UD
323792011-01-09 Ulrich Drepper <drepper@gmail.com>
32380
32381 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32382 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32383
32384 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32385 void.
32386 * bits/select.h: Likewise.
32387
fa9c15cb
UD
323882011-01-08 Ulrich Drepper <drepper@gmail.com>
32389
32390 * po/ja.po: Update from translation team.
32391
16c2895f
DM
323922011-01-04 David S. Miller <davem@sunset.davemloft.net>
32393
32394 [BZ #11155]
32395 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32396 implementation just like for lxstat, fxstatat, et al.
32397
2543fef2
JM
323982010-12-27 Jim Meyering <meyering@redhat.com>
32399
32400 [BZ #12348]
32401 * posix/regexec.c (build_trtable): Return failure indication upon
32402 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32403
98727dbe
UD
324042010-12-25 Ulrich Drepper <drepper@gmail.com>
32405
5bd6dc5c
UD
32406 [BZ #12201]
32407 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32408 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32409 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32410 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32411
97983464
UD
32412 [BZ #12207]
32413 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32414
98727dbe
UD
32415 [BZ #12204]
32416 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32417 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32418
4a531bb0
L
324192010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32420
32421 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32422 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32423 script has SORT_BY_INIT_PRIORITY.
32424 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32425 NO_CTORS_DTORS_SECTIONS is defined.
32426 * elf/soinit.c: Likewise.
32427 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32428 NO_CTORS_DTORS_SECTIONS is defined.
32429 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32430 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32431 * sysdeps/sh/init-first.c: Likewise.
32432 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32433
07eb4b71
UD
324342010-12-24 Ulrich Drepper <drepper@gmail.com>
32435
32436 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32437 always use the slow path.
32438
30950a5f
RA
324392010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32440
32441 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32442 similar rule which adds the sysdep directories to the header search in
32443 order to pick up the correct platform stackinfo.h.
32444 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32445 perform test if it is, otherwise return successfully without testing.
32446 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32447 DEFAULT_STACK_PERMS define in stackinfo.h.
32448 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32449 defined in stackinfo.h.
32450 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32451 DEFAULT_STACK_PERMS defined in stackinfo.h.
32452 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32453 * sysdeps/ia64/stackinfo.h: Likewise.
32454 * sysdeps/s390/stackinfo.h: Likewise.
32455 * sysdeps/sh/stackinfo.h: Likewise.
32456 * sysdeps/sparc/stackinfo.h: Likewise.
32457 * sysdeps/x86_64/stackinfo.h: Likewise.
32458 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32459 PF_X for powerpc64. Retain PF_X for powerpc32.
32460
db753e2c
UD
324612010-12-19 Ulrich Drepper <drepper@gmail.com>
32462
14b697f7
UD
32463 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32464 accurately.
db753e2c
UD
32465 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32466 GETDENTS_64BIT_ALIGNED.
32467
28300719
UD
324682010-12-14 Ulrich Drepper <dreper@gmail.com>
32469
14b697f7 32470 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32471
4f197237
AS
324722010-12-10 Andreas Schwab <schwab@redhat.com>
32473
dbb0472f
AS
32474 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32475 _GNU_SOURCE.
32476
4f197237
AS
32477 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32478 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32479 Remove __restrict.
32480 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32481 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32482
fb88ac72
UD
324832010-12-09 Ulrich Drepper <drepper@gmail.com>
32484
32485 [BZ #11655]
32486 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32487 are initialized.
32488
42acbb92
JJ
324892010-12-09 Jakub Jelinek <jakub@redhat.com>
32490
32491 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32492
c038d98d
UD
324932010-12-03 Ulrich Drepper <drepper@gmail.com>
32494
32495 * po/it.po: Update from translation team.
32496
3a4a2499
L
324972010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32498
32499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32500 unused codes.
32501
1e24cf6e
UD
325022010-11-30 Ulrich Drepper <drepper@gmail.com>
32503
32504 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32505
a7690819
AS
325062010-11-24 Andreas Schwab <schwab@redhat.com>
32507
32508 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32509 specially.
32510 (gaih_getanswer_slice): Likewise.
32511
3bf8d1b1
JJ
325122010-10-20 Jakub Jelinek <jakub@redhat.com>
32513
32514 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32515
6db52fbb
PB
325162010-05-31 Petr Baudis <pasky@suse.cz>
32517
32518 [BZ #11149]
32519 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32520 silently even in the chroot mode.
32521
eaca7569
UD
325222010-11-22 Ulrich Drepper <drepper@gmail.com>
32523
32524 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32525 last patch a bit. Pretty printing
32526
3056dcdb
UD
325272010-05-31 Petr Baudis <pasky@suse.cz>
32528
32529 [BZ #10085]
32530 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32531 initialization of skip_initgroups_dyn.
32532
cf7c9078
UD
325332010-11-19 Ulrich Drepper <drepper@gmail.com>
32534
32535 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32536 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32537
a1fb5e3e
UD
325382010-11-16 Ulrich Drepper <drepper@gmail.com>
32539
32540 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32541
3540d66b
AS
325422010-11-11 Andreas Schwab <schwab@redhat.com>
32543
32544 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32545 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32546 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32547 ($(objpfx)tst-fnmatch-mem): New rule.
32548 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32549 * posix/tst-fnmatch.c (main): Call mtrace.
32550
13b69574
L
325512010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32552
32553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32554 Support Intel processor model 6 and model 0x2c.
32555
da93d214
LM
325562010-11-10 Luis Machado <luisgpm@br.ibm.com>
32557
32558 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32559 signed comparison.
32560
8ca52c6e
L
325612010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32562
32563 [BZ #12205]
32564 * string/test-strncasecmp.c (check_result): New function.
32565 (do_one_test): Use it.
32566 (check1): New function.
32567 (test_main): Use it.
32568 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32569 Support strcasecmp and strncasecmp.
32570
69da074d
UD
325712010-11-08 Ulrich Drepper <drepper@gmail.com>
32572
32573 [BZ #12194]
32574 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32575 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32576
ff02d528
L
325772010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32578
32579 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32580 IFUNC support.
32581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32582 memset-x86-64.
32583 * sysdeps/x86_64/multiarch/bzero.S: New file.
32584 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32585 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32586 * sysdeps/x86_64/multiarch/memset.S: New file.
32587 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32589 Set bit_Prefer_SSE_for_memop for Intel processors.
32590 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32591 Define.
32592 (index_Prefer_SSE_for_memop): Define.
32593 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32594
344d0b54
LM
325952010-11-04 Luis Machado <luisgpm@br.ibm.com>
32596
32597 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32598 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32599
c0dde15b
UD
326002010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32601
32602 [BZ #12191]
32603 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32604 (__x86_64_raw_data_cache_size_half): Likewise.
32605 (__x86_64_raw_shared_cache_size): Likewise.
32606 (__x86_64_raw_shared_cache_size_half): Likewise.
32607
32608 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32609 (__x86_64_raw_data_cache_size_half): Likewise.
32610 (__x86_64_raw_shared_cache_size): Likewise.
32611 (__x86_64_raw_shared_cache_size_half): Likewise.
32612 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32613 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32614 and __x86_64_raw_shared_cache_size_half. Round
32615 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32616 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32617 to multiple of 256 bytes.
32618
0e516e0e
MS
326192010-11-03 Ulrich Drepper <drepper@gmail.com>
32620
32621 [BZ #12167]
32622 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32623 of inacessible symlinks. Verify result of symlink before returning it.
32624 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32625 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32626
0e012e87
ER
326272010-10-28 Erich Ritz <erichritz@gmail.com>
32628
32629 * math/math.h (isinf): Fix typo in comment.
32630
de0ff7bc
UD
326312010-11-01 Ulrich Drepper <drepper@gmail.com>
32632
32633 * po/da.po: Update from translation team.
32634
fa41c84d
UD
326352010-10-26 Ulrich Drepper <drepper@gmail.com>
32636
32637 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32638 is added to the list.
32639
f0967738
AK
326402010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32641 Ulrich Drepper <drepper@gmail.com>
32642
32643 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32644 the global list here. Move code to...
32645 (_dl_add_to_namespace_list): ...here. New function.
32646 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32647 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32648 * elf/dl-load.c (lose): Don't remove the element from the list.
32649 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32650 (_dl_map_object): Likewise.
32651
326522010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32653
32654 [BZ #12159]
32655 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32656 into all bytes of SSE register.
32657 Patch by Richard Li <richardpku@gmail.com>.
32658
f0967738 326592010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32660
32661 [BZ #12140]
32662 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32663 perturbing.
32664
d0b9e94f
MB
326652010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32666
32667 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32668 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32669 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32670 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32672 submachine.
32673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32674
8e9f92e9
AS
326752010-10-22 Andreas Schwab <schwab@redhat.com>
32676
32677 * include/dlfcn.h (__RTLD_SECURE): Define.
32678 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32679 mode & __RTLD_SECURE instead.
32680 (open_path): Rename preloaded parameter to secure.
32681 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32682 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32683 * elf/dl-deps.c (openaux): Likewise.
32684 * elf/rtld.c (struct map_args): Remove is_preloaded.
32685 (map_doit): Don't use it.
32686 (dl_main): Likewise.
32687 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32688 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32689
bc96fbda
AS
326902010-09-09 Andreas Schwab <schwab@redhat.com>
32691
32692 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32693 (sysd-rules-targets): Remove duplicates.
32694 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32695 rtld-%.$o dependency.
32696
22cd1c9b
AS
326972010-10-18 Andreas Schwab <schwab@redhat.com>
32698
32699 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32700 _dl_map_object do it.
32701
18edac48
UD
327022010-10-19 Ulrich Drepper <drepper@gmail.com>
32703
32704 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32705 fast fma builtins, define the macros in the C99 standard.
32706 (FP_FAST_FMAF): Likewise.
32707 (FP_FAST_FMAL): Likewise.
32708 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32709
32710 * bits/mathdef.h: Update copyright year.
32711 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32712
d2050124
MM
327132010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32714
32715 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32716 builtins, define the macros in the C99 standard.
32717 (FP_FAST_FMAF): Likewise.
32718 (FP_FAST_FMAL): Likewise.
32719 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32720 multiply/add.
32721 (FP_FAST_FMAF): Likewise.
32722
475facd1
JJ
327232010-10-15 Jakub Jelinek <jakub@redhat.com>
32724
32725 [BZ #3268]
32726 * math/libm-test.inc (fma_test): Some new testcases.
32727 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32728 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32729 y and infinite z. Do multiplication by C already in long double.
32730 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32732 y and infinite z. Do bitwise or of inexact bit into u.d.
32733 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32734 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32735 * sysdeps/i386/fpu/s_fma.S: Removed.
32736 * sysdeps/i386/fpu/s_fmal.S: Removed.
32737
7c08a05c
JJ
327382010-10-16 Jakub Jelinek <jakub@redhat.com>
32739
32740 [BZ #3268]
32741 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32743 computation is not scheduled after fetestexcept. Fix value
32744 of minimum denormal long double.
32745
f3f7372d
JJ
327462010-10-14 Jakub Jelinek <jakub@redhat.com>
32747
32748 [BZ #3268]
32749 * math/libm-test.inc (fma_test): Add some more tests.
32750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32751 correctly.
32752
14d43591
AS
327532010-10-15 Andreas Schwab <schwab@redhat.com>
32754
32755 * scripts/data/localplt-s390-linux-gnu.data: New file.
32756 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32757
5e908464
JJ
327582010-10-13 Jakub Jelinek <jakub@redhat.com>
32759
32760 [BZ #3268]
32761 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32762 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32763 instead of dbl-64.
32764 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32765 inlines.
32766 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32768 if one of x and y is very large and the other is subnormal.
32769 * sysdeps/s390/fpu/s_fmaf.c: New file.
32770 * sysdeps/s390/fpu/s_fma.c: New file.
32771 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32772 * sysdeps/powerpc/fpu/s_fma.S: New file.
32773 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32774 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32775 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32776
327772010-10-12 Jakub Jelinek <jakub@redhat.com>
32778
32779 [BZ #3268]
32780 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32781 fma tests.
32782 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32783 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32784 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32785 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32786 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32787 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32788 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32789
b833d51f
UD
327902010-10-12 Ulrich Drepper <drepper@redhat.com>
32791
32792 [BZ #12078]
32793 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32794 * posix/bug-regex31.input: Add test case.
32795
1751705d
UD
327962010-10-11 Ulrich Drepper <drepper@gmail.com>
32797
e9b9cbf5
UD
32798 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32799 * posix/bug-regex31.input: New file.
32800
32801 [BZ #12078]
32802 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32803 (parse_sub_exp): Fix last change, use postorder.
32804
ef06edbe
UD
32805 * posix/bug-regex31.c: New file.
32806 * posix/Makefile: Add rules to build and run bug-regex31.
32807
a129c80d
UD
32808 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32809
32810 [BZ #12078]
32811 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32812
b76b818e
UD
32813 [BZ #12108]
32814 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32815 to have entries in sys_siglist.
32816
1751705d
UD
32817 [BZ #12093]
32818 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32819 be NULL.
32820
9ff8d36f
JJ
328212010-10-07 Jakub Jelinek <jakub@redhat.com>
32822
32823 [BZ #3268]
32824 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32825 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32826 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32827 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32828 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32829 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32830 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32831 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32832 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32833 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32834 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32835 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32836 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32837 * math/ftestexcept.c (fetestexcept): Likewise.
32838 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32839 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32840 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32841 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32842 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32843 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32844 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32845
af325969
UD
328462010-10-11 Ulrich Drepper <drepper@gmail.com>
32847
c579b202 32848 [BZ #12107]
af325969
UD
32849 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32850 newline.
32851
67a67b95
UD
328522010-10-06 Ulrich Drepper <drepper@gmail.com>
32853
32854 * string/bug-strstr1.c: New file.
32855 * string/Makefile: Add rules to build and run bug-strstr1.
32856
5fb308bc
EB
328572010-10-05 Eric Blake <eblake@redhat.com>
32858
32859 [BZ #12092]
32860 * string/str-two-way.h (two_way_long_needle): Always clear memory
32861 when skipping input due to the shift table.
32862
45db99c7
UD
328632010-10-03 Ulrich Drepper <drepper@gmail.com>
32864
3b111893
UD
32865 [BZ #12005]
32866 * malloc/mcheck.c: Handle large requests.
32867
45db99c7
UD
32868 [BZ #12077]
32869 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32870 for strncmp and strncasecmp.
32871 * string/stratcliff.c: Add tests for strcmp and strncmp.
32872 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32873
cf7a1eb8
NI
328742010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32875
32876 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32877 __set_fpscr.
32878
6484ba5e
AJ
328792010-09-30 Andreas Jaeger <aj@suse.de>
32880
32881 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32882 (CGROUP_SUPER_MAGIC): Define.
32883 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32884 Handle btrfs and cgroup file systems.
32885 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32886 Likewise.
32887
91c42559
LM
328882010-09-27 Luis Machado <luisgpm@br.ibm.com>
32889
32890 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32891 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32892
87a97932
AK
328932010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32894
32895 [BZ #12067]
32896 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32897 trying to locate the ELF header.
32898
c21cc9bc
AS
328992010-09-27 Andreas Schwab <schwab@redhat.com>
32900
32901 [BZ #11611]
32902 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32903 Mask out sign-bit copies when constructing f_fsid.
32904
315970f6
PB
329052010-09-24 Petr Baudis <pasky@suse.cz>
32906
32907 * debug/stack_chk_fail_local.c: Add missing licence exception.
32908 * debug/warning-nop.c: Likewise.
32909
1ac7a2c7
JM
329102010-09-15 Joseph Myers <joseph@codesourcery.com>
32911
32912 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32913 implementing getdents64 using getdents syscall, set d_type if
32914 __ASSUME_GETDENTS32_D_TYPE.
32915
56801c50
AS
329162010-09-16 Andreas Schwab <schwab@redhat.com>
32917
32918 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32919 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32920
dda51327
UD
329212010-09-21 Ulrich Drepper <drepper@redhat.com>
32922
32923 [BZ #12037]
32924 * posix/unistd.h: Undo change of feature selection for ftruncate from
32925 2010-01-11.
32926
8ffcee4a
UD
329272010-09-20 Ulrich Drepper <drepper@redhat.com>
32928
a545ecd9 32929 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32930 detection.
32931
e24f0a8b
AS
329322010-09-20 Andreas Schwab <schwab@redhat.com>
32933
32934 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32935 fanotify_mark.
32936 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32937
7291c56f
AS
329382010-09-14 Andreas Schwab <schwab@redhat.com>
32939
32940 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32941 variables after CHECK_SP call.
32942 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32943
bc5fb037
AS
329442010-09-13 Andreas Schwab <schwab@redhat.com>
32945 Ulrich Drepper <drepper@redhat.com>
32946
32947 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32948 re-relocationg ld.so.
32949 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32950 _dl_init_paths call.
32951 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32952 here anymore.
32953
e66e7419
UD
329542010-09-14 Ulrich Drepper <drepper@redhat.com>
32955
32956 * resolv/res_init.c (__res_vinit): Count the default server we added.
32957
c044aa75
CLT
329582010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32959 Ulrich Drepper <drepper@redhat.com>
32960
32961 [BZ #11968]
32962 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32963 (____longjmp_chk): Use %ebx for saving value across system call.
32964 Add unwind info.
32965
32cf4069
AS
329662010-09-06 Andreas Schwab <schwab@redhat.com>
32967
32968 * manual/Makefile: Don't mix pattern rules with normal rules.
32969
817328ee
AS
329702010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32971
32972 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32973 operation.
32974 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32975 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32976 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32977 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32978 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32979 Likewise.
32980
29fddf61
UD
329812010-09-04 Ulrich Drepper <drepper@redhat.com>
32982
32983 [BZ #11979]
32984 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32985 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32986
0959ffc9
UD
329872010-09-02 Ulrich Drepper <drepper@redhat.com>
32988
32989 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32990 * sysdeps/x86_64/addmul_1.S: Likewise.
32991 * sysdeps/x86_64/lshift.S: Likewise.
32992 * sysdeps/x86_64/mul_1.S: Likewise.
32993 * sysdeps/x86_64/rshift.S: Likewise.
32994 * sysdeps/x86_64/sub_n.S: Likewise.
32995 * sysdeps/x86_64/submul_1.S: Likewise.
32996
ece29840
ST
329972010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32998
0959ffc9
UD
32999 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33000 Define __sched_param instead of SCHED_* and sched_param when
ece29840 33001 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 33002 * bits/sched.h [__need_schedparam]
ece29840 33003 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
33004 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33005 (__defined_schedparam): Define to 1.
ece29840
ST
33006 (__sched_param): New structure, identical to sched_param.
33007 (__need_schedparam): Undefine.
33008
e53a31fe
MF
330092010-08-31 Mike Frysinger <vapier@gentoo.org>
33010
fdc0c10d
MF
33011 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33012 (epoll_create1): Declare.
33013
e53a31fe
MF
33014 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33015
a726d796
AS
330162010-08-31 Andreas Schwab <schwab@redhat.com>
33017
33018 [BZ #7066]
33019 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33020 shifting retval into place.
33021
2f3e3dc7
UD
330222010-09-01 Ulrich Drepper <drepper@redhat.com>
33023
f2933da9
UD
33024 * nis/rpcsvc/nis.h: Update copyright notice.
33025 * nis/rpcsvc/nis.x: Likewise.
33026 * nis/rpcsvc/nis_callback.h: Likewise.
33027 * nis/rpcsvc/nis_callback.x: Likewise.
33028 * nis/rpcsvc/nis_object.x: Likewise.
33029 * nis/rpcsvc/nis_tags.h: Likewise.
33030 * nis/rpcsvc/yp.h: Likewise.
33031 * nis/rpcsvc/yp.x: Likewise.
33032 * nis/rpcsvc/ypupd.h: Likewise.
33033 * nis/yp_xdr.c: Likewise.
33034 * nis/ypupdate_xdr.c: Likewise.
33035
2f3e3dc7
UD
33036 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33037 mainly the body of pmap_getport. Add parameters to specify timeouts.
33038 (pmap_getport): Use __libc_rpc_getport.
33039 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33040 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33041 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33042
f3dcc2f9
AS
330432010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33044
33045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33046 fanotify_mark.
33047
6d34eb5b
RM
330482010-08-27 Roland McGrath <roland@redhat.com>
33049
33050 * sysdeps/i386/i686/multiarch/Makefile
33051 (CFLAGS-varshift.c): New variable.
33052
9ea3de11
UD
330532010-08-27 Ulrich Drepper <drepper@redhat.com>
33054
c96d23fc
UD
33055 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33056 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33057
9ea3de11
UD
33058 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33059
33060 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33061
623aac7f
L
330622010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33063
33064 * sysdeps/x86_64/strlen.S: Unroll the loop.
33065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33066 strlen-sse2 strlen-sse2-bsf.
33067 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33068 __strlen_no_bsf if bit_Slow_BSF is set.
33069 (__strlen_sse42): Removed.
33070 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33071 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33072
8b2b7715
RM
330732010-08-25 Roland McGrath <roland@redhat.com>
33074
33075 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33076 * sysdeps/x86_64/multiarch/varshift.c: New file.
33077 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33078 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33079 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33080 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33081
e73015f2
L
330822010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33083
33084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33085 strlen-sse2 strlen-sse2-bsf.
33086 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33087 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33088 (__strlen_sse2): Removed.
33089 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33090 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33092 bit_Slow_BSF for Atom.
33093 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33094 (index_Slow_BSF): Define.
33095 (HAS_SLOW_BSF): Define.
33096
df24a73e
UD
330972010-08-25 Ulrich Drepper <drepper@redhat.com>
33098
33099 [BZ #10851]
33100 * resolv/res_init.c (__res_vinit): When no server address at all
33101 is given default to loopback.
33102
f2ac4868
RM
331032010-08-24 Roland McGrath <roland@redhat.com>
33104
09055553
RM
33105 * configure.in: Remove config-name.h generation.
33106 * configure: Regenerated.
33107 * config-name.in: File removed.
33108 * scripts/config-uname.sh: New file.
33109 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33110 ($(objdir)config-name.h): New target.
33111
f2ac4868
RM
33112 * sunrpc/rpc_parse.h: Avoid nested comment.
33113
73f27d5e
RH
331142010-08-24 Richard Henderson <rth@redhat.com>
33115 Ulrich Drepper <drepper@redhat.com>
33116 H.J. Lu <hongjiu.lu@intel.com>
33117
33118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33119 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33120 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33121 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33122 _mm_alignr_epi8 with _mm_loadu_si128.
33123 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33124 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33125 (__m128i_shift_right): Removed.
33126 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33127 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33128 * sysdeps/x86_64/multiarch/varshift.h: New file.
33129 * sysdeps/x86_64/multiarch/varshift.S: New file.
33130
84b9230c
MF
331312010-08-21 Mike Frysinger <vapier@gentoo.org>
33132
33133 * configure.in: Move assembler checks to before sysdep dir checking.
33134
9bbd0ddc
PB
331352010-08-20 Petr Baudis <pasky@suse.cz>
33136
33137 * LICENSES: Sync the sunrpc license.
33138
9da4bb31
UD
331392010-08-19 Ulrich Drepper <drepper@redhat.com>
33140
a7ab6ec8
UD
33141 * sunrpc/auth_des.c: Update copyright notice once again.
33142 * sunrpc/auth_none.c: Likewise.
33143 * sunrpc/auth_unix.c: Likewise.
33144 * sunrpc/authdes_prot.c: Likewise.
33145 * sunrpc/authuxprot.c: Likewise.
33146 * sunrpc/bindrsvprt.c: Likewise.
33147 * sunrpc/clnt_gen.c: Likewise.
33148 * sunrpc/clnt_perr.c: Likewise.
33149 * sunrpc/clnt_raw.c: Likewise.
33150 * sunrpc/clnt_simp.c: Likewise.
33151 * sunrpc/clnt_tcp.c: Likewise.
33152 * sunrpc/clnt_udp.c: Likewise.
33153 * sunrpc/clnt_unix.c: Likewise.
33154 * sunrpc/des_crypt.c: Likewise.
33155 * sunrpc/des_soft.c: Likewise.
33156 * sunrpc/get_myaddr.c: Likewise.
33157 * sunrpc/getrpcport.c: Likewise.
33158 * sunrpc/key_call.c: Likewise.
33159 * sunrpc/key_prot.c: Likewise.
33160 * sunrpc/openchild.c: Likewise.
33161 * sunrpc/pm_getmaps.c: Likewise.
33162 * sunrpc/pm_getport.c: Likewise.
33163 * sunrpc/pmap_clnt.c: Likewise.
33164 * sunrpc/pmap_prot.c: Likewise.
33165 * sunrpc/pmap_prot2.c: Likewise.
33166 * sunrpc/pmap_rmt.c: Likewise.
33167 * sunrpc/rpc/auth.h: Likewise.
33168 * sunrpc/rpc/auth_unix.h: Likewise.
33169 * sunrpc/rpc/clnt.h: Likewise.
33170 * sunrpc/rpc/des_crypt.h: Likewise.
33171 * sunrpc/rpc/key_prot.h: Likewise.
33172 * sunrpc/rpc/netdb.h: Likewise.
33173 * sunrpc/rpc/pmap_clnt.h: Likewise.
33174 * sunrpc/rpc/pmap_prot.h: Likewise.
33175 * sunrpc/rpc/pmap_rmt.h: Likewise.
33176 * sunrpc/rpc/rpc.h: Likewise.
33177 * sunrpc/rpc/rpc_des.h: Likewise.
33178 * sunrpc/rpc/rpc_msg.h: Likewise.
33179 * sunrpc/rpc/svc.h: Likewise.
33180 * sunrpc/rpc/svc_auth.h: Likewise.
33181 * sunrpc/rpc/types.h: Likewise.
33182 * sunrpc/rpc/xdr.h: Likewise.
33183 * sunrpc/rpc_clntout.c: Likewise.
33184 * sunrpc/rpc_cmsg.c: Likewise.
33185 * sunrpc/rpc_common.c: Likewise.
33186 * sunrpc/rpc_cout.c: Likewise.
33187 * sunrpc/rpc_dtable.c: Likewise.
33188 * sunrpc/rpc_hout.c: Likewise.
33189 * sunrpc/rpc_main.c: Likewise.
33190 * sunrpc/rpc_parse.c: Likewise.
33191 * sunrpc/rpc_parse.h: Likewise.
33192 * sunrpc/rpc_prot.c: Likewise.
33193 * sunrpc/rpc_sample.c: Likewise.
33194 * sunrpc/rpc_scan.c: Likewise.
33195 * sunrpc/rpc_scan.h: Likewise.
33196 * sunrpc/rpc_svcout.c: Likewise.
33197 * sunrpc/rpc_tblout.c: Likewise.
33198 * sunrpc/rpc_util.c: Likewise.
33199 * sunrpc/rpc_util.h: Likewise.
33200 * sunrpc/rpcinfo.c: Likewise.
33201 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33202 * sunrpc/rpcsvc/key_prot.x: Likewise.
33203 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33204 * sunrpc/rpcsvc/mount.x: Likewise.
33205 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33206 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33207 * sunrpc/rpcsvc/rex.x: Likewise.
33208 * sunrpc/rpcsvc/rstat.x: Likewise.
33209 * sunrpc/rpcsvc/rusers.x: Likewise.
33210 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33211 * sunrpc/rpcsvc/spray.x: Likewise.
33212 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33213 * sunrpc/rtime.c: Likewise.
33214 * sunrpc/svc.c: Likewise.
33215 * sunrpc/svc_auth.c: Likewise.
33216 * sunrpc/svc_authux.c: Likewise.
33217 * sunrpc/svc_raw.c: Likewise.
33218 * sunrpc/svc_run.c: Likewise.
33219 * sunrpc/svc_simple.c: Likewise.
33220 * sunrpc/svc_tcp.c: Likewise.
33221 * sunrpc/svc_udp.c: Likewise.
33222 * sunrpc/svc_unix.c: Likewise.
33223 * sunrpc/svcauth_des.c: Likewise.
33224 * sunrpc/xcrypt.c: Likewise.
33225 * sunrpc/xdr.c: Likewise.
33226 * sunrpc/xdr_array.c: Likewise.
33227 * sunrpc/xdr_float.c: Likewise.
33228 * sunrpc/xdr_mem.c: Likewise.
33229 * sunrpc/xdr_rec.c: Likewise.
33230 * sunrpc/xdr_ref.c: Likewise.
33231 * sunrpc/xdr_sizeof.c: Likewise.
33232 * sunrpc/xdr_stdio.c: Likewise.
33233
9da4bb31
UD
33234 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33235 handling.
33236
bdaa77bc
AS
332372010-08-19 Andreas Schwab <schwab@redhat.com>
33238
33239 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33240
fe2f79db
LM
332412010-08-19 Luis Machado <luisgpm@br.ibm.com>
33242
33243 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33244 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33245 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33246 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33247 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33248 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33249 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33250 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33251 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33252 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33253 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33254 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33255 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33256 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33257
b9b42ee0
AB
332582010-07-26 Anton Blanchard <anton@samba.org>
33259
33260 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33261 * malloc/arena.c (heap_trim): Likewise.
33262
1c06ba31
UD
332632010-08-16 Ulrich Drepper <drepper@redhat.com>
33264
33265 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33266 here. Not...
33267 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33268 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33269
f8392f40
L
332702010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33271
33272 * sysdeps/i386/elf/Makefile: New file.
33273
3162f12e
AS
332742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33275
33276 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33277 from fanotify_init.
33278 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33279 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33280
28c90b2c
UD
332812010-08-15 Ulrich Drepper <drepper@redhat.com>
33282
33283 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33284 of strncasecmp_l.
1feccb6c 33285 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 33286
ca6bb004
UD
332872010-08-14 Ulrich Drepper <drepper@redhat.com>
33288
e9f82e0d
UD
33289 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33290 strncase_l-nonascii.
33291 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33292 Add strncase_l-ssse3.
33293 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33294 * sysdeps/x86_64/strcmp.S: Likewise.
33295 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33296 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33297 * sysdeps/x86_64/strncase.S: New file.
33298 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33299 * sysdeps/x86_64/strncase_l.S: New file.
33300 * string/Makefile (strop-tests): Add strncasecmp.
33301 * string/test-strncasecmp.c: New file.
33302
33303 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33304 warning.
33305
ca6bb004
UD
33306 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33307 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33308
052fa7b3
AS
333092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33310
33311 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33312
962dba78
UD
333132010-08-12 Ulrich Drepper <drepper@redhat.com>
33314
33315 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33316 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33317 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33318
bebff237
AM
333192010-05-01 Alan Modra <amodra@gmail.com>
33320
33321 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33322 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33323 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33324 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33325 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33326 tidying. Don't tail-call __sigjmp_save for static lib.
33327 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33328 save location.
33329 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33330 (CALL_MCOUNT): Add eh info, and nop after bl.
33331 (TAIL_CALL_SYSCALL_ERROR): New macro.
33332 (PSEUDO_RET): Use it.
33333 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33334 Correct save location of integer regs and cr.
33335 (_dl_profile_resolve): Correct cr save location. Delete nops
33336 after bl when SHARED. Reduce cfi size a little by better
33337 placement of cfi directives.
33338 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33339 make a stack frame. Instead use parm save area as a temp.
33340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33341 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33343 Don't make a stack frame for parent, use parm save area.
33344 Increase child stack frame to 112 bytes. Don't save unused reg,
33345 and adjust reg usage. Set up cfi on error recovery and
33346 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33348 (__makecontext): Add dummy nop after jump to exit.
33349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33350 Use correct parm save area and cr save, reduce stack frame.
33351 Correct cfi for possible PSEUDO_RET frame setup.
33352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33353 Branch to local label emitted by PSEUDO_RET rather than
33354 __syscall_error.
33355
02637374
AS
333562010-08-12 Andreas Schwab <schwab@redhat.com>
33357
33358 [BZ #11904]
33359 * locale/programs/locale.c (print_assignment): New function.
33360 (show_locale_vars): Use it.
33361
c3e2f19b
UD
333622010-08-11 Ulrich Drepper <drepper@redhat.com>
33363
3cdaa6ad
UD
33364 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33365 field.
33366 (struct statfs64): Likewise.
33367 (_STATFS_F_FLAGS): Define.
33368 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33369 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33370 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33371 (ST_VALID): Define locally.
33372 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33373 __statvfs_getflags, use the provided value.
33374 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33375 __ASSUME_STATFS_F_FLAGS.
33376
754f7da3
UD
33377 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33378
10b3bedc
UD
33379 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33380 Add sys/fanotify.h.
33381 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33382 fanotify_mask for GLIBC_2.13.
33383 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33384 fanotify_init and fanotify_mark.
33385 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33386 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33387
c08fb0d7
UD
33388 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33389 Add prlimit.
33390 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33391 prlimit64 for GLIBC_2.13.
33392 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33393 prlimit64.
33394 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33395 syscall.
33396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33397 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33398 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33399 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33400 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33401 add prlimit alias.
33402 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33403
15bac72b
UD
33404 [BZ #11903]
33405 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33406 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33407
c3e2f19b
UD
33408 * nss/Makefile: Add rules to build and run tst-nss-test1.
33409 * shlib-versions: Add entry for libnss_test1.
33410 * nss/nss_test1.c: New file.
33411 * nss/tst-nss-test1.c: New file.
33412
33413 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33414 (__nss_configure_lookup): Set appropriate entry in
33415 __nss_configure_lookup to true.
33416 * nss/nsswitch.h: Define enum with indeces of databases in
33417 databases and __nss_database_custom arrays. Declare
33418 __nss_database_custom.
33419 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33420 to avoid using nscd when custom rules are installed.
33421 * nss/getXXbyYY_r.c: Likewise.
33422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33423
33424 * nss/nss_files/files-parse.c: Whitespace fixes.
33425
f15ce4d8
UD
334262010-08-09 Ulrich Drepper <drepper@redhat.com>
33427
33428 [BZ #11883]
33429 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33430 * posix/fnmatch_loop.c: Likewise.
33431
d22e4cc9
AK
334322010-07-17 Andi Kleen <ak@linux.intel.com>
33433
33434 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33435 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33436 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33437 * Versions.def [GLIBC_2.13]: Add.
33438
805bc17d
UD
334392010-08-06 Ulrich Drepper <drepper@redhat.com>
33440
33441 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33442 Also fail if tpwd after pwuid call is NULL.
33443
5a42321d
ST
334442010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33445
33446 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33447 when converting to ms.
33448
fd3ebeda
ST
334492010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33450
33451 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33452 EOPNOTSUPP errors with ENOTTY.
33453 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33454 EOPNOTSUPP errors with ENOTTY.
33455
73507d3a
UD
334562010-07-31 Ulrich Drepper <drepper@redhat.com>
33457
33458 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33459 Add strcasecmp_l-ssse3.
33460 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33461 strcasecmp.
33462 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33463 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33464 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33465
fe36dd02
UD
334662010-07-30 Ulrich Drepper <drepper@redhat.com>
33467
66f6765a
UD
33468 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33469
42e08a54
UD
33470 * string/Makefile (strop-tests): Add strcasecmp.
33471 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33472 strcasecmp_l-nonascii.
33473 (gen-as-const-headers): Add locale-defines.sym.
33474 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33475 * sysdeps/x86_64/strcasecmp.S: New file.
33476 * sysdeps/x86_64/strcasecmp_l.S: New file.
33477 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33478 * sysdeps/x86_64/locale-defines.sym: New file.
33479 * string/test-strcasecmp.c: New file.
33480
fe36dd02
UD
33481 * string/test-strcasestr.c: Test both ends of the range of characters.
33482 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33483
48cbc0d6
RM
334842010-07-29 Roland McGrath <roland@redhat.com>
33485
76e6d6bc 33486 [BZ #11856]
48cbc0d6
RM
33487 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33488
880113d9
UD
334892010-07-27 Ulrich Drepper <drepper@redhat.com>
33490
33491 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33492 for ld.so.
33493
deb9cabb
AS
334942010-07-27 Andreas Schwab <schwab@redhat.com>
33495
33496 * manual/memory.texi (Malloc Tunable Parameters): Document
33497 M_PERTURB.
33498
1c7570ff
RM
334992010-07-26 Roland McGrath <roland@redhat.com>
33500
33501 [BZ #11840]
33502 * configure.in (-fgnu89-inline check): Set and substitute
33503 gnu89_inline, not libc_cv_gnu89_inline.
33504 * configure: Regenerated.
33505 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33506
24fb0f88
UD
335072010-07-26 Ulrich Drepper <drepper@redhat.com>
33508
33509 * string/test-strnlen.c: New file.
33510 * string/Makefile (strop-tests): Add strnlen.
33511 * string/tester.c (test_strnlen): Add a few more test cases.
33512 * string/tst-strlen.c: Better error reporting.
33513
33514 * sysdeps/x86_64/strnlen.S: New file.
33515
8e96b93a
UD
335162010-07-24 Ulrich Drepper <drepper@redhat.com>
33517
33518 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33519 lower-latency instructions.
33520
dbc676d4
UD
335212010-07-23 Ulrich Drepper <drepper@redhat.com>
33522
33523 * string/test-strcasestr.c: New file.
33524 * string/test-strstr.c: New file.
33525 * string/Makefile (strop-tests): Add strstr and strcasestr.
33526 * string/str-two-way.h: Don't undefine MAX.
33527 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33528
f6a31e0e
AS
335292010-07-21 Andreas Schwab <schwab@redhat.com>
33530
33531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33532 strcasestr-nonascii.
33533 (CFLAGS-strcasestr-nonascii.c): Define.
33534 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33535 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33536 Remove unused attribute.
33537
5dbc3b6c
RM
335382010-07-20 Roland McGrath <roland@redhat.com>
33539
33540 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33541 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33542 ld.so.cache was broken. With it, there is no way to disable dsocaps
33543 like LD_HWCAP_MASK can disable hwcaps.
33544
23d101d8
EPM
335452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33546
33547 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33548
cc9f2e47
UD
335492010-07-16 Ulrich Drepper <drepper@redhat.com>
33550
33551 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33552 call in strcasestr.
33553 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33554 __strcasestr_sse42_nonascii.
33555 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33556 strcasestr-nonascii.c.
33557 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33558
77c1b069
LM
335592010-06-15 Luis Machado <luisgpm@br.ibm.com>
33560
33561 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33562 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33563 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33564 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33565
440566c3
UD
335662010-07-09 Ulrich Drepper <drepper@redhat.com>
33567
33568 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33569 fcntl.
33570
5be9d05d
AS
335712010-07-06 Andreas Schwab <schwab@redhat.com>
33572
c30b7ee2 33573 [BZ #11577]
5be9d05d
AS
33574 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33575 dl_signal_cerror.
33576
8a492a67
UD
335772010-07-06 Ulrich Drepper <drepper@redhat.com>
33578
33579 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33580 _PC_PIPE_BUF using F_GETPIPE_SZ.
33581
713df3d5
RM
335822010-07-05 Roland McGrath <roland@redhat.com>
33583
33584 * manual/arith.texi (Rounding Functions): Fix rint description
33585 implicit in round description.
33586
702e8f14
UD
335872010-07-02 Ulrich Drepper <drepper@redhat.com>
33588
33589 * elf/Makefile: Fix linking for a few tests to make recent linker
33590 happy.
33591
52ed8be9
AS
335922010-06-30 Andreas Schwab <schwab@redhat.com>
33593
33594 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33595 $(common-objpfx)libc_nonshared.a.
33596
f47c9a11
LM
335972010-06-21 Luis Machado <luisgpm@br.ibm.com>
33598
33599 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33600 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33601 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33602 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33603 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33604 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33605 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33606 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33621 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33622 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33623 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33624 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33625 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33626 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33627 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33628 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33629 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33630 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33631 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33632 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33647
6fb8cbcb
L
336482010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33649
33650 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33651 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33652 * string/memmove.c (memmove): Renamed to ...
33653 (MEMMOVE): ...this. Default to memmove.
33654 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33655 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33656 (END_CHK): Define.
33657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33658 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33659 mempcpy-ssse3-back memmove-ssse3-back.
33660 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33661 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33662 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33663 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33664 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33665 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33666 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33667 * sysdeps/x86_64/multiarch/memmove.c: New file.
33668 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33669 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33670 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33671 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33672 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33673 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33674 Define.
33675 (index_Fast_Copy_Backward): Define.
33676 (HAS_ARCH_FEATURE): Define.
33677 (HAS_FAST_REP_STRING): Define.
33678 (HAS_FAST_COPY_BACKWARD): Define.
33679
4e733bac 336802010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33681
33682 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33683 Restore proper fallback handling.
33684
63c4ed22
UD
336852010-06-19 Ulrich Drepper <drepper@redhat.com>
33686
ac2b484c
UD
33687 [BZ #11701]
33688 * posix/group_member.c (__group_member): Correct checking loop.
33689
63c4ed22
UD
33690 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33691 OOM in getpwuid_r correctly. Return error number when the caller
33692 should return, otherwise -1.
33693 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33694 call returning > 0 value.
33695 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33696
765ade4b
AS
336972010-06-07 Andreas Schwab <schwab@redhat.com>
33698
33699 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33700 libc_nonshared.a from targets in modules-names.
33701
80da2e09
KS
337022010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33703
33704 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33705 requires it.
33706
158db122
LM
337072010-06-10 Luis Machado <luisgpm@br.ibm.com>
33708
33709 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33710 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33711 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33712 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33713
caa78cf8
AS
337142010-06-02 Andreas Schwab <schwab@redhat.com>
33715
33716 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33717
b2ef2c01
UD
337182010-06-14 Ulrich Drepper <drepper@redhat.com>
33719
33720 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33721 and F_GETPIPE_SZ.
33722 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33723 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33724 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33725 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33726 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33727 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33728
fbd643b6
RM
337292010-06-14 Roland McGrath <roland@redhat.com>
33730
33731 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33732
f32f2869
JJ
337332010-06-07 Jakub Jelinek <jakub@redhat.com>
33734
33735 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33736 __REDIRECT followed by __THROW.
33737 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33738 * posix/getopt.h (getopt): Likewise.
33739
2a50c078
EPM
337402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33741
33742 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33743 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33744 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33745 in AT_FLAGS.
33746 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33747 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33748
eb5ad2eb
LM
337492010-05-28 Luis Machado <luisgpm@br.ibm.com>
33750
33751 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33752
3c88fe1e
L
337532010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33754
33755 [BZ #11640]
33756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33757 Properly check family and model.
33758
d2f73151
TY
337592010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33760
33761 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33762
ebd2e13d
LM
337632010-05-24 Luis Machado <luisgpm@br.ibm.com>
33764
33765 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33766
b32b8b45
UD
337672010-05-21 Ulrich Drepper <drepper@redhat.com>
33768
33769 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33770 symbol reference.
33771
9acbe24d
AS
337722010-05-19 Andreas Schwab <schwab@redhat.com>
33773
33774 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33775 symbol reference.
33776
f0ccf6ea
AS
337772010-05-21 Andreas Schwab <schwab@redhat.com>
33778
3d04ff3a
AS
33779 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33780 and internal_recvmmsg.
33781 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33782 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33783 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33784 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33785
f0ccf6ea
AS
33786 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33787 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33788 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33789
5b08ac57
AS
337902010-05-20 Andreas Schwab <schwab@redhat.com>
33791
33792 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33793
4828935d
LM
337942010-05-17 Luis Machado <luisgpm@br.ibm.com>
33795
33796 POWER7 optimizations.
33797 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33798 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33799
373d545e
UD
338002010-05-19 Ulrich Drepper <drepper@redhat.com>
33801
33802 * version.h: Update for 2.13 development version.
33803
21a2b1ae
AS
338042010-05-12 Andrew Stubbs <ams@codesourcery.com>
33805
33806 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33807 exceptions. Return 0.
33808
3f7dcb2b
RM
338092010-05-07 Roland McGrath <roland@redhat.com>
33810
33811 * elf/ldconfig.c (main): Add a const.
33812
5f24d53a 338132010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33814
a160f8d8
UD
33815 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33816 (args_options): Add no-idn option.
33817 (ahosts_keys_int): Add idn_flags to ai_flags.
33818 (parse_option): Handle 'i' option to clear idn_flags.
33819
5f24d53a
UD
33820 * malloc/malloc.c (_int_free): Possible race in the most recently
33821 added check. Only act on the data if no current modification
33822 happened.
265bb1ce
UD
33823
33824See ChangeLog.17 for earlier changes.
This page took 4.370687 seconds and 5 git commands to generate.